From 7e7e678254bd0ae73521601fde73569933e479c5 Mon Sep 17 00:00:00 2001 From: helinfeng <1592544548@qq.com> Date: Mon, 17 Jul 2023 11:23:07 +0800 Subject: [PATCH] 13348 --- 2.bcd018cc.async.js | 2 +- antdesign.842b50ee.async.js | 324 +- color.less | 22 +- index.html | 2 +- ...__Exercise__Rev.40e05e2f.de630b9a.async.js | 376 ++ monaco-editor.53c4406e.async.js | 394 +- p__Course__index.67bb0082.async.js | 282 ++ p__Course__index.e084bfd4.chunk.css | 1127 +++++ umi.a33b2ce1.js | 4392 +++++++++++++++++ vendors.016b51f5.async.js | 2 +- 10 files changed, 6550 insertions(+), 373 deletions(-) create mode 100644 layouts__SimpleLayouts.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Exercise__Rev.40e05e2f.de630b9a.async.js create mode 100644 p__Course__index.67bb0082.async.js create mode 100644 p__Course__index.e084bfd4.chunk.css create mode 100644 umi.a33b2ce1.js diff --git a/2.bcd018cc.async.js b/2.bcd018cc.async.js index 5aad448c25..3fe41ea4e5 100644 --- a/2.bcd018cc.async.js +++ b/2.bcd018cc.async.js @@ -38,7 +38,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/TransBtn.js because of ./node_modules/rc-select/es/OptionList.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/interface/generator.js because of ./node_modules/rc-tree-select/es/TreeSelect.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/commonUtil.js because of ./node_modules/rc-select/es/utils/warningPropsUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/commonUtil.js because of ./node_modules/rc-select/es/Select.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/valueUtil.js because of ./node_modules/rc-select/es/Select.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-trigger/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js */ diff --git a/antdesign.842b50ee.async.js b/antdesign.842b50ee.async.js index c8624698bf..8ad770e03f 100644 --- a/antdesign.842b50ee.async.js +++ b/antdesign.842b50ee.async.js @@ -37,8 +37,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("pVnL"),a=n.n(r),i=n("lSNA"),o=n.n(i),s=n("J4zp"),l=n.n(s),c=n("q1tI"),u=n("V/uB"),d=n.n(u),f=n("0G8d"),h=n.n(f),p=n("xddM"),m=n.n(p),v=n("ESPI"),g=n.n(v),b=n("Z/ur"),y=n.n(b),w=n("J84W"),x=n.n(w),k=n("sKbD"),S=n.n(k),C=n("72Ab"),O=n.n(C),_=n("kbBi"),j=n.n(_),N=n("8XRh"),E=n("TSYQ"),A=n.n(E),P=n("H84U");var L=n("lwsE"),T=n.n(L),M=n("W8MJ"),I=n.n(M),z=n("7W2i"),R=n.n(z),B=n("LQ03"),F=n.n(B),D=function(e){R()(n,e);var t=F()(n);function n(){var e;return T()(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return I()(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,a=this.state,i=a.error,o=a.info,s=o&&o.componentStack?o.componentStack:null,l=void 0===t?(i||"").toString():t,u=void 0===n?s:n;return i?c.createElement(K,{type:"error",message:l,description:c.createElement("pre",null,u)}):r}}]),n}(c.Component),q=n("0n0R"),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var j="button"===p?"".concat(C,"-button"):C;_=h.map((function(e){return"string"==typeof e?s.createElement(w,{ref:t,key:e,prefixCls:j,disabled:v,value:e,checked:f===e},e):s.createElement(w,{ref:t,key:"radio-group-value-options-".concat(e.value),prefixCls:j,disabled:e.disabled||v,value:e.value,checked:f===e.value,style:e.style},e.label)}))}var N=b||o,E=u()(O,"".concat(O,"-").concat(m),(n={},a()(n,"".concat(O,"-").concat(N),N),a()(n,"".concat(O,"-rtl"),"rtl"===i),n),d);return s.createElement("div",{className:E,style:y,onMouseEnter:k,onMouseLeave:S,id:x},_)}())}));O.defaultProps={buttonStyle:"outline"};var _=s.memo(O),j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ar?a>=i?10+e:20+e:a<=i?10+e:e}(e,t),r=k||void 0===b(M)[t];return c.createElement("span",{className:"".concat(z,"-only"),style:{transition:r?"none":void 0,msTransform:"translateY(".concat(100*-n,"%)"),WebkitTransform:"translateY(".concat(100*-n,"%)"),transform:"translateY(".concat(100*-n,"%)")},key:t},function(e,t){for(var n=[],r=0;r<30;r++)n.push(c.createElement("p",{key:r.toString(),className:f()(t,{current:e===r})},r%10));return n}(n,"".concat(z,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(z,"-symbol")},e)},B=l()(l()({},y),{style:a,className:f()(z,r),title:i});return a&&a.borderColor&&(B.style=l()(l()({},a),{boxShadow:"0 0 0 1px ".concat(a.borderColor," inset")})),u?Object(v.a)(u,{className:f()("".concat(z,"-custom-component"),u.props&&u.props.className)}):c.createElement(s,B,_&&Number(_)%1==0?b(_).map((function(e,t){return R(e,t)})).reverse():_)},w=n("09Wf");function x(e){return-1!==w.a.indexOf(e)}var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aS?"".concat(S,"+"):b},D=function(){return!!d||!!p},q=function(){var e=F();return"0"===e||0===e},H=function(){return O&&!q()||D()},U=function(){return H()?"":F()},V=function(){return"rtl"===R?E?l()({left:parseInt(E[0],10),marginTop:E[1]},A):A:E?l()({right:-parseInt(E[0],10),marginTop:E[1]},A):A},W=function(){var e=U();return(null==e||""===e||q()&&!T)&&!H()},K=function(){var e=b;if(e&&"object"===o()(e))return Object(v.a)(e,{style:l()(l()({},V()),e.props&&e.props.style)})},G=f()((t={},a()(t,"".concat(B,"-status-dot"),D()),a()(t,"".concat(B,"-status-").concat(d),!!d),a()(t,"".concat(B,"-status-").concat(p),x(p)),t)),Y={};p&&!x(p)&&(Y.background=p);var J=f()(P,B,(n={},a()(n,"".concat(B,"-status"),D()),a()(n,"".concat(B,"-not-a-wrapper"),!s),a()(n,"".concat(B,"-rtl"),"rtl"===R),n));if(!s&&D()){var X=V(),Q=X&&X.color;return c.createElement("span",l()({},M,{className:J,style:X}),c.createElement("span",{className:G,style:Y}),c.createElement("span",{style:{color:Q},className:"".concat(B,"-status-text")},h))}return c.createElement("span",l()({},M,{className:J}),s,c.createElement(u.a,{component:"",showProp:"data-show",transitionName:s?"".concat(B,"-zoom"):"",transitionAppear:!0},function(){var e,t=z("scroll-number",i),n=U(),r=H(),o=W(),s=f()((e={},a()(e,"".concat(B,"-dot"),r),a()(e,"".concat(B,"-count"),!r),a()(e,"".concat(B,"-count-sm"),"small"===j),a()(e,"".concat(B,"-multiple-words"),!r&&b&&b.toString&&b.toString().length>1),a()(e,"".concat(B,"-status-").concat(d),!!d),a()(e,"".concat(B,"-status-").concat(p),x(p)),e)),l=V();return p&&!x(p)&&((l=l||{}).background=p),o?null:c.createElement(y,{prefixCls:t,"data-show":!o,className:s,count:n,displayComponent:K(),title:N||("string"==typeof b||"number"==typeof b?b:void 0),style:l,key:"scrollNumber"})}()),W()||!h?null:c.createElement("span",{className:"".concat(B,"-status-text")},h))};S.Ribbon=function(e){var t,n=e.className,r=e.prefixCls,i=e.style,o=e.color,s=e.children,u=e.text,d=e.placement,h=void 0===d?"end":d,p=c.useContext(m.b),v=p.getPrefixCls,g=p.direction,b=v("ribbon",r),y=x(o),w=f()(b,n,"".concat(b,"-placement-").concat(h),(t={},a()(t,"".concat(b,"-rtl"),"rtl"===g),a()(t,"".concat(b,"-color-").concat(o),y),t)),k={},S={};return o&&!y&&(k.background=o,S.color=o),c.createElement("div",{className:"".concat(b,"-wrapper")},s,c.createElement("div",{className:w,style:l()(l()({},k),i)},u,c.createElement("div",{className:"".concat(b,"-corner"),style:S})))};t.a=S},KtWR: /*!************************************************************************!*\ @@ -1619,8 +1619,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/motion.js because of ./src/components/Header/components/User/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/motion.js because of ./src/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tree/utils/iconUtil.js because of ./src/pages/virtualSpaces/Lists/Video/components/AddLink.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/debounce.js (<- Module is not an ECMAScript module) */ @@ -1696,10 +1696,10 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/icons/RightOutlined.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/Engineering/Evaluate/Detail/TabList/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/select/index.js because of ./src/pages/Engineering/Norm/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/select/index.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/locale/en_US.js */ @@ -1736,11 +1736,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/pages/Engineering/Norm/List/ThresholdsModal/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/upload/index.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/upload/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js */ @@ -1936,10 +1936,10 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/components/markdown-editor/add-table-panel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/pages/Engineering/Evaluate/List/TabList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/popover/index.js because of ./src/pages/RestFul/components/LeftBar/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */ @@ -1963,7 +1963,7 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-notification/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/message/index.js (referenced with cjs require), ./node_modules/antd/lib/notification/index.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-notification/es/useNotification.js */ @@ -2071,7 +2071,7 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/throttleByAnimationFrame.js because of ./src/pages/HttpStatus/SixActivities.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ @@ -2087,14 +2087,14 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/responsiveObserve.js because of ./src/pages/virtualSpaces/Index/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/virtualSpaces/Index/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/pagination/index.js because of ./src/pages/virtualSpaces/Index/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/spin/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/responsiveObserve.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/pagination/index.js because of ./src/pages/Competitions/Index/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/spin/index.js because of ./src/pages/Competitions/Index/Statistics/Table.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n("RIqP"),a=n.n(r),i=n("pVnL"),o=n.n(i),s=n("lSNA"),l=n.n(s),c=n("J4zp"),u=n.n(c),d=n("cDf5"),f=n.n(d),h=n("q1tI"),p=n("TSYQ"),m=n.n(p),v=n("W9HT"),g=n("5OYt"),b=n("ACnJ"),y=n("H84U"),w=n("NUBc"),x=n("qrJ5"),k=n("/kpp"),S=n("0n0R"),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&h.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},a.map((function(e,t){return h.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==a.length-1&&h.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),w=f?"div":"li",x=h.createElement(w,o()({},u,{className:m()("".concat(g,"-item"),s,l()({},"".concat(g,"-item-no-flex"),!("vertical"===p?i:(h.Children.forEach(r,(function(e){"string"==typeof e&&(t=!0)})),!(t&&h.Children.count(r)>1)))))}),"vertical"===p&&i?[h.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},r,b),h.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},i)]:[r,b,Object(S.a)(i,{key:"extra"})]);return f?h.createElement(k.a,{flex:1,style:c},x):x};O.Meta=function(e){var t=e.prefixCls,n=e.className,r=e.avatar,a=e.title,i=e.description,s=C(e,["prefixCls","className","avatar","title","description"]),l=(0,h.useContext(y.b).getPrefixCls)("list",t),c=m()("".concat(l,"-item-meta"),n),u=h.createElement("div",{className:"".concat(l,"-item-meta-content")},a&&h.createElement("h4",{className:"".concat(l,"-item-meta-title")},a),i&&h.createElement("div",{className:"".concat(l,"-item-meta-description")},i));return h.createElement("div",o()({},s,{className:c}),r&&h.createElement("div",{className:"".concat(l,"-item-meta-avatar")},r),(a||i)&&u)};var _=O,j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ace&&(le.current=ce);var ue=r?h.createElement("div",{className:"".concat(re,"-pagination")},h.createElement(w.a,o()({},le,{onChange:te,onShowSizeChange:ne}))):null,de=a()(A);r&&A.length>(le.current-1)*le.pageSize&&(de=a()(A).splice((le.current-1)*le.pageSize,le.pageSize));var fe=Object(g.a)(),he=h.useMemo((function(){for(var e=0;e0){var ve=de.map((function(e,t){return function(e,t){return R?((n="function"==typeof z?z(e):"string"==typeof z?e[z]:e.key)||(n="list-item-".concat(t)),$[t]=n,R(e,t)):null;var n}(e,t)})),ge=h.Children.map(ve,(function(e,t){return h.createElement("div",{key:$[t],style:pe},e)}));me=_?h.createElement(x.a,{gutter:_.gutter},ge):h.createElement("ul",{className:"".concat(re,"-items")},ve)}else S||ie||(me=function(e,t){return h.createElement("div",{className:"".concat(e,"-empty-text")},B&&B.emptyText||t("List"))}(re,Q));var be=le.position||"bottom";return h.createElement(N.Provider,{value:{grid:_,itemLayout:C}},h.createElement("div",o()({className:se},F),("top"===be||"both"===be)&&ue,L&&h.createElement("div",{className:"".concat(re,"-header")},L),h.createElement(v.a,ae,me,S),T&&h.createElement("div",{className:"".concat(re,"-footer")},T),O||("bottom"===be||"both"===be)&&ue))}E.Item=_;t.b=E},Vl3Y: /*!*********************************************************!*\ @@ -2111,16 +2111,16 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/hooks/useForceUpdate.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/hooks/useForceUpdate.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/isEqual.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ @@ -2191,11 +2191,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-dropdown/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("pVnL"),a=n.n(r),i=n("lSNA"),o=n.n(i),s=n("q1tI"),l=n("eDIo"),c=n("TSYQ"),u=n.n(c),d=n("fEPi"),f=n.n(d),h=n("J4zp"),p=n.n(h),m=n("cCPh"),v=n.n(m),g=n("2/Rp"),b=n("H84U"),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=0?"slide-down":"slide-up"),trigger:E,overlay:function(){return function(t){var n,r=e.overlay;n="function"==typeof r?r():r;var a=(n=s.Children.only("string"==typeof n?s.createElement("span",null,n):n)).props;Object(S.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,o=void 0!==i&&i,l=a.focusable,c=void 0===l||l,u=s.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},s.createElement(f.a,{className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?n:Object(O.a)(n,{mode:"vertical",selectable:o,focusable:c,expandIcon:u})}(C)},placement:function(){var t=e.placement;return void 0!==t?t:"rtl"===p?"bottomRight":"bottomLeft"}()}),j)});_.Button=k,_.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var j=t.a=_},XCrF: @@ -2251,8 +2251,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/createSuper.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g}));var r=n("pVnL"),a=n.n(r),i=n("lwsE"),o=n.n(i),s=n("W8MJ"),l=n.n(s),c=n("7W2i"),u=n.n(c),d=n("LQ03"),f=n.n(d),h=n("q1tI"),p=n("ZvpZ").a,m=n("YlG9"),v=function(e){u()(n,e);var t=f()(n);function n(){return o()(this,n),t.apply(this,arguments)}return l()(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||p[t||"global"],r=this.context,i=t&&r?r[t]:{};return a()(a()({},"function"==typeof n?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?p.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(h.Component);function g(e,t){var n=h.useContext(m.a);return[h.useMemo((function(){var r=t||p[e||"global"],i=e&&n?n[e]:{};return a()(a()({},"function"==typeof r?r():r),i||{})}),[e,t,n])]}v.defaultProps={componentName:"global"},v.contextType=m.a},YNAk: /*!*********************************************************************!*\ !*** ./node_modules/@ant-design/icons/lib/icons/CaretDownFilled.js ***! @@ -2330,8 +2330,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/layout.js because of ./src/components/Header/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/layout.js because of ./src/pages/Messages/Private/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return P})),n.d(t,"b",(function(){return M}));var r,a=n("lSNA"),i=n.n(a),o=n("pVnL"),s=n.n(o),l=n("lwsE"),c=n.n(l),u=n("W8MJ"),d=n.n(u),f=n("7W2i"),h=n.n(f),p=n("LQ03"),m=n.n(p),v=n("q1tI"),g=n("TSYQ"),b=n.n(g),y=n("BGR+"),w=n("T1rO"),x=n.n(w),k=n("fEPi"),S=n.n(k),C=n("DFhj"),O=n.n(C),_=n("PKem"),j=n("H84U"),N=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),T=function(e){h()(n,e);var t=m()(n);function n(e){var r,a,o;return c()(this,n),(r=t.call(this,e)).responsiveHandler=function(e){r.setState({below:e.matches});var t=r.props.onBreakpoint,n=r.state.collapsed;t&&t(e.matches),n!==e.matches&&r.setCollapsed(e.matches,"responsive")},r.setCollapsed=function(e,t){"collapsed"in r.props||r.setState({collapsed:e});var n=r.props.onCollapse;n&&n(e,t)},r.toggle=function(){var e=!r.state.collapsed;r.setCollapsed(e,"clickTrigger")},r.renderSider=function(e){var t,n=e.getPrefixCls,a=r.props,o=a.prefixCls,l=a.className,c=a.theme,u=a.collapsible,d=a.reverseArrow,f=a.trigger,h=a.style,p=a.width,m=a.collapsedWidth,g=a.zeroWidthTriggerStyle,w=a.children,k=E(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),C=r.state,_=C.collapsed,j=C.below,A=n("layout-sider",o),P=Object(y.default)(k,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),L=_?m:p,T=N(L)?"".concat(L,"px"):String(L),M=0===parseFloat(String(m||0))?v.createElement("span",{onClick:r.toggle,className:b()("".concat(A,"-zero-width-trigger"),"".concat(A,"-zero-width-trigger-").concat(d?"right":"left")),style:g},f||v.createElement(x.a,null)):null,I={expanded:d?v.createElement(S.a,null):v.createElement(O.a,null),collapsed:d?v.createElement(O.a,null):v.createElement(S.a,null)}[_?"collapsed":"expanded"],z=null!==f?M||v.createElement("div",{className:"".concat(A,"-trigger"),onClick:r.toggle,style:{width:T}},f||I):null,R=s()(s()({},h),{flex:"0 0 ".concat(T),maxWidth:T,minWidth:T,width:T}),B=b()(l,A,"".concat(A,"-").concat(c),(t={},i()(t,"".concat(A,"-collapsed"),!!_),i()(t,"".concat(A,"-has-trigger"),u&&null!==f&&!M),i()(t,"".concat(A,"-below"),!!j),i()(t,"".concat(A,"-zero-width"),0===parseFloat(T)),t));return v.createElement("aside",s()({className:B},P,{style:R}),v.createElement("div",{className:"".concat(A,"-children")},w),u||j&&M?z:null)},r.uniqueId=L("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in A&&(r.mql=a("(max-width: ".concat(A[e.breakpoint],")"))),o="collapsed"in e?e.collapsed:e.defaultCollapsed,r.state={collapsed:o,below:!1},r}return d()(n,[{key:"componentDidMount",value:function(){var e;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),null===(e=this.props)||void 0===e||e.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var e,t;null===(e=null==this?void 0:this.mql)||void 0===e||e.removeListener(this.responsiveHandler),null===(t=this.props)||void 0===t||t.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return v.createElement(P.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},v.createElement(j.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(v.Component);T.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var M=function(e){h()(n,e);var t=m()(n);function n(){return c()(this,n),t.apply(this,arguments)}return d()(n,[{key:"render",value:function(){var e=this;return v.createElement(_.a.Consumer,null,(function(t){return v.createElement(T,s()({},t,e.props))}))}}]),n}(v.Component)},"Znn+": @@ -2350,8 +2350,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" \************************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/date-picker/locale/en_US.js because of ./src/pages/Shixuns/Detail/Settings/components/Permission/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/time-picker/locale/en_US.js because of ./src/pages/Shixuns/Detail/Settings/components/Permission/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/date-picker/locale/en_US.js because of ./src/pages/Shixuns/Edit/body/Setting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/time-picker/locale/en_US.js because of ./src/pages/Shixuns/Edit/body/Setting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/locale/en_US.js */function(e,t,n){"use strict";var r=n("H4fg"),a=n("61s2"),i=n("RlXo"),o=a.a,s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.a,DatePicker:a.a,TimePicker:i.a,Calendar:o,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click sort by descend",triggerAsc:"Click sort by ascend",cancelSort:"Click to cancel sort"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} at least ${min} characters",max:"${label} up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} minimum value is ${min}",max:"${label} maximum value is ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}};t.a=l},ZxNd: /*!********************************************************************!*\ !*** ./node_modules/@ant-design/icons-svg/lib/asn/EditOutlined.js ***! @@ -2412,11 +2412,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/dropdown.js because of ./src/.umi-production/plugin-locale/SelectLang.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js because of ./src/components/Header/components/User/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("pVnL"),a=n.n(r),i=n("lSNA"),o=n.n(i),s=n("RIqP"),l=n.n(s),c=n("q1tI"),u=n("TSYQ"),d=n.n(u),f=n("Zm9Q"),h=n("HQEm"),p=n.n(h),m=n("XBQK"),v=n("H84U"),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var L=[];t=h.map((function(e){var t,n=j(e.path,w);return n&&L.push(n),e.children&&e.children.length&&(t=c.createElement(k.a,null,e.children.map((function(e){return c.createElement(k.a.Item,{key:e.path||e.breadcrumbName},g(e,w,h,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=l()(e),a=j(t,n);return a&&r.push(a),r}(L,e.path,w)))})))),c.createElement(y,{overlay:t,separator:i,key:n||e.breadcrumbName},g(e,w,h,L))}))}else p&&(t=Object(f.a)(p).map((function(e,t){return e?(Object(S.a)(e.type&&(!0===e.type.__ANT_BREADCRUMB_ITEM||!0===e.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(C.a)(e,{separator:i,key:t})):e})));var T=d()(u,P,o()({},"".concat(P,"-rtl"),"rtl"===A));return c.createElement("div",a()({className:T,style:s},x),t)};N.Item=y,N.Separator=x;var E=N;t.a=E},bKJz: @@ -2466,11 +2466,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! exports used: default */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tabs/index.js because of ./src/pages/Engineering/Norm/List/CalcModal/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tabs/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("lSNA"),a=n.n(r),i=n("pVnL"),o=n.n(i),s=n("q1tI"),l=n("TSYQ"),c=n.n(l),u=n("BGR+"),d=n("H84U"),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&(w=r.getOptions().map((function(e){return g.createElement(L,{prefixCls:m,key:e.value.toString(),disabled:"disabled"in e?e.disabled:s.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(v,"-item"),style:e.style},e.label)})));var x={toggleOption:r.toggleOption,value:r.state.value,disabled:r.props.disabled,name:r.props.name,registerValue:r.registerValue,cancelValue:r.cancelValue},k=y()(v,u,a()({},"".concat(v,"-rtl"),"rtl"===n));return g.createElement("div",o()({className:k,style:d},b),g.createElement(_.Provider,{value:x},w))},r.state={value:e.value||e.defaultValue||[],registeredValues:[]},r}return u()(n,[{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return g.createElement(C.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}]),n}(g.PureComponent);j.defaultProps={options:[]};var N=j,E=n("uaoM"),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&(_=i.createElement(o.FormProvider,{validateMessages:j},s)),i.createElement(x.a,{size:g},i.createElement(w.b.Provider,{value:O},i.createElement(b,{locale:m||r,_ANT_MARK__:"internalMark"},_)))}(n,s)}))}))}},wFql: /*!***************************************************************!*\ @@ -3661,15 +3661,15 @@ e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setProtot /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/raf.js because of ./src/components/HomeModal/components/BeginnerRightTow.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/components/markdown-editor/add-table-panel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/Detail/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/index.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/TextArea.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/pages/Engineering/Norm/List/ThresholdsModal/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/raf.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/index.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/TextArea.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/copy-to-clipboard/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ @@ -3859,12 +3859,12 @@ e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setProtot /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/wave.js because of ./src/components/HomeModal/components/BeginnerRightTow.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Three/Model/AddModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Lists/StudentList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/wave.js because of ./src/pages/Search/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/GraduationIndex/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ diff --git a/color.less b/color.less index 80d1ee048b..f92ac4e2d3 100644 --- a/color.less +++ b/color.less @@ -727,42 +727,42 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon {color: @success-color;} .ant-form-item-has-warning .ant-form-item-explain, .ant-form-item-has-warning .ant-form-item-split {color: @warning-color;} .ant-form-item-has-warning .ant-input, .ant-form-item-has-warning .ant-input-affix-wrapper, .ant-form-item-has-warning .ant-input:hover, .ant-form-item-has-warning .ant-input-affix-wrapper:hover {border-color: @warning-color;} -.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(105, 218, 70, 0.2);} +.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(18, 46, 36, 0.2);} .ant-form-item-has-warning .ant-input:not(.ant-form-item-has-warning .ant-input-disabled) {background-color: #fff;} .ant-form-item-has-warning .ant-input-affix-wrapper:not(.ant-form-item-has-warning .ant-input-affix-wrapper-disabled) {background-color: #fff;} .ant-form-item-has-warning .ant-input-affix-wrapper input:focus {box-shadow: none !important;} -.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(105, 218, 70, 0.2);} +.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(18, 46, 36, 0.2);} .ant-form-item-has-warning .ant-input-prefix {color: @warning-color;} .ant-form-item-has-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;} .ant-form-item-has-warning .has-feedback {color: @warning-color;} .ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon {color: @warning-color;} .ant-form-item-has-warning .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @warning-color !important;} -.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(105, 218, 70, 0.2);} +.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(18, 46, 36, 0.2);} .ant-form-item-has-warning .ant-input-number, .ant-form-item-has-warning .ant-picker {border-color: @warning-color;} -.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(105, 218, 70, 0.2);} +.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(18, 46, 36, 0.2);} .ant-form-item-has-warning .ant-input-number:not([disabled]):hover, .ant-form-item-has-warning .ant-picker:not([disabled]):hover {border-color: @warning-color;} -.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(105, 218, 70, 0.2);} +.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(18, 46, 36, 0.2);} .ant-form-item-has-error .ant-form-item-explain, .ant-form-item-has-error .ant-form-item-split {color: @error-color;} .ant-form-item-has-error .ant-input, .ant-form-item-has-error .ant-input-affix-wrapper, .ant-form-item-has-error .ant-input:hover, .ant-form-item-has-error .ant-input-affix-wrapper:hover {border-color: @error-color;} -.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} +.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} .ant-form-item-has-error .ant-input:not(.ant-form-item-has-error .ant-input-disabled) {background-color: #fff;} .ant-form-item-has-error .ant-input-affix-wrapper:not(.ant-form-item-has-error .ant-input-affix-wrapper-disabled) {background-color: #fff;} .ant-form-item-has-error .ant-input-affix-wrapper input:focus {box-shadow: none !important;} -.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} +.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} .ant-form-item-has-error .ant-input-prefix {color: @error-color;} .ant-form-item-has-error .ant-input-group-addon {color: @error-color;border-color: @error-color;} .ant-form-item-has-error .has-feedback {color: @error-color;} .ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon {color: @error-color;} .ant-form-item-has-error .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @error-color !important;} -.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} +.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} .ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {border: 0;} .ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus {border-color: @error-color;} .ant-form-item-has-error .ant-input-number, .ant-form-item-has-error .ant-picker {border-color: @error-color;} -.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} +.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} .ant-form-item-has-error .ant-input-number:not([disabled]):hover, .ant-form-item-has-error .ant-picker:not([disabled]):hover {border-color: @error-color;} .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {border-color: @error-color;} -.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} -.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(42, 186, 101, 0.2);} +.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} +.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(77, 168, 101, 0.2);} .ant-form-item-has-error .ant-transfer-list {border-color: @error-color;} .ant-form-item-has-error .ant-transfer-list-search:not([disabled]) {border-color: @border-color-base;} .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px !important;} diff --git a/index.html b/index.html index 5522b80d63..5200da8970 100644 --- a/index.html +++ b/index.html @@ -127,6 +127,6 @@ - + diff --git a/layouts__SimpleLayouts.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Exercise__Rev.40e05e2f.de630b9a.async.js b/layouts__SimpleLayouts.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Exercise__Rev.40e05e2f.de630b9a.async.js new file mode 100644 index 0000000000..a97d5b990c --- /dev/null +++ b/layouts__SimpleLayouts.p__Classrooms__Lists__Announcement__index.p__Classrooms__Lists__Exercise__Rev.40e05e2f.de630b9a.async.js @@ -0,0 +1,376 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{BU3w: +/*!***************************************************!*\ + !*** ./node_modules/rc-util/es/Dom/dynamicCSS.js ***! + \***************************************************/ +/*! exports provided: injectCSS, updateCSS */ +/*! exports used: updateCSS */function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var i=r(/*! ./canUseDom */"MNnm");function n(t){return t.attachTo?t.attachTo:document.querySelector("head")||document.body}function s(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(i.a)())return null;var s,a=document.createElement("style");(null===(e=r.csp)||void 0===e?void 0:e.nonce)&&(a.nonce=null===(s=r.csp)||void 0===s?void 0:s.nonce);a.innerHTML=t;var o=n(r),l=o.firstChild;return r.prepend&&o.prepend?o.prepend(a):r.prepend&&l?o.insertBefore(a,l):o.appendChild(a),a}var a=new Map;function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n(r);if(!a.has(i)){var o=s("",r),l=o.parentNode;a.set(i,l),l.removeChild(o)}var u=Array.from(a.get(i).children).find((function(t){return"STYLE"===t.tagName&&t["rc-util-key"]===e}));if(u){var c,d,h;if((null===(c=r.csp)||void 0===c?void 0:c.nonce)&&u.nonce!==(null===(d=r.csp)||void 0===d?void 0:d.nonce))u.nonce=null===(h=r.csp)||void 0===h?void 0:h.nonce;return u.innerHTML!==t&&(u.innerHTML=t),u}var f=s(t,r);return f["rc-util-key"]=e,f}},ulZh: +/*!*****************************************!*\ + !*** ./node_modules/hls.js/dist/hls.js ***! + \*****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(t,e,r){var i;"undefined"!=typeof window&&(i=function(){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/dist/",r(r.s="./src/hls.ts")}({"./node_modules/eventemitter3/index.js": +/*!*********************************************!*\ + !*** ./node_modules/eventemitter3/index.js ***! + \*********************************************/ +/*! no static exports found */function(t,e,r){"use strict";var i=Object.prototype.hasOwnProperty,n="~";function s(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,r,i,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var o=new a(r,i||t,s),l=n?n+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],o]:t._events[l].push(o):(t._events[l]=o,t._eventsCount++),t}function l(t,e){0==--t._eventsCount?t._events=new s:delete t._events[e]}function u(){this._events=new s,this._eventsCount=0}Object.create&&(s.prototype=Object.create(null),(new s).__proto__||(n=!1)),u.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)i.call(t,e)&&r.push(n?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},u.prototype.listeners=function(t){var e=n?n+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,s=r.length,a=new Array(s);i0}),!1)}t.exports=function(t,e){e=e||{};var n={main:r.m},o=e.all?{main:Object.keys(n.main)}:function(t,e){for(var r={main:[e]},i={main:[]},n={main:{}};a(r);)for(var o=Object.keys(r),l=0;l=2*d/f||E<=S)){var b,L=Number.POSITIVE_INFINITY;for(b=t.level-1;b>v&&!((L=d*g[b].maxBitrate/(6.4*y))=E)){var A=this.bwEstimator.getEstimate();u.logger.warn("Fragment "+t.sn+(e?" part "+e.index:"")+" of level "+t.level+" is loading too slowly and will cause an underbuffer; aborting and switching to level "+b+"\n Current BW estimate: "+(Object(i.isFiniteNumber)(A)?(A/1024).toFixed(3):"Unknown")+" Kb/s\n Estimated load time for current fragment: "+E.toFixed(3)+" s\n Estimated load time for the next fragment: "+L.toFixed(3)+" s\n Time to underbuffer: "+S.toFixed(3)+" s"),r.nextLoadLevel=b,this.bwEstimator.sample(h,c.loaded),this.clearTimer(),t.loader&&(this.fragCurrent=this.partCurrent=null,t.loader.abort()),r.trigger(s.Events.FRAG_LOAD_EMERGENCY_ABORTED,{frag:t,part:e,stats:c})}}}}}},h.onFragLoaded=function(t,e){var r=e.frag,n=e.part;if(r.type===l.PlaylistLevelType.MAIN&&Object(i.isFiniteNumber)(r.sn)){var a=n?n.stats:r.stats,o=n?n.duration:r.duration;if(this.clearTimer(),this.lastLoadedFragLevel=r.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var u=this.hls.levels[r.level],c=(u.loaded?u.loaded.bytes:0)+a.loaded,d=(u.loaded?u.loaded.duration:0)+o;u.loaded={bytes:c,duration:d},u.realBitrate=Math.round(8*c/d)}if(r.bitrateTest){var h={stats:a,frag:r,part:n,id:r.type};this.onFragBuffered(s.Events.FRAG_BUFFERED,h),r.bitrateTest=!1}}},h.onFragBuffered=function(t,e){var r=e.frag,i=e.part,n=i?i.stats:r.stats;if(!n.aborted&&r.type===l.PlaylistLevelType.MAIN&&"initSegment"!==r.sn){var s=n.parsing.end-n.loading.start;this.bwEstimator.sample(s,n.loaded),n.bwEstimate=this.bwEstimator.getEstimate(),r.bitrateTest?this.bitrateTestDelay=s/1e3:this.bitrateTestDelay=0}},h.onError=function(t,e){switch(e.details){case o.ErrorDetails.FRAG_LOAD_ERROR:case o.ErrorDetails.FRAG_LOAD_TIMEOUT:this.clearTimer()}},h.clearTimer=function(){self.clearInterval(this.timer),this.timer=void 0},h.getNextABRAutoLevel=function(){var t=this.fragCurrent,e=this.partCurrent,r=this.hls,i=r.maxAutoLevel,n=r.config,s=r.minAutoLevel,o=r.media,l=e?e.duration:t?t.duration:0,c=o?o.currentTime:0,d=o&&0!==o.playbackRate?Math.abs(o.playbackRate):1,h=this.bwEstimator?this.bwEstimator.getEstimate():n.abrEwmaDefaultEstimate,f=(a.BufferHelper.bufferInfo(o,c,n.maxBufferHole).end-c)/d,g=this.findBestLevel(h,s,i,f,n.abrBandWidthFactor,n.abrBandWidthUpFactor);if(g>=0)return g;u.logger.trace((f?"rebuffering expected":"buffer is empty")+", finding optimal quality level");var v=l?Math.min(l,n.maxStarvationDelay):n.maxStarvationDelay,p=n.abrBandWidthFactor,m=n.abrBandWidthUpFactor;if(!f){var y=this.bitrateTestDelay;y&&(v=(l?Math.min(l,n.maxLoadingDelay):n.maxLoadingDelay)-y,u.logger.trace("bitrate test took "+Math.round(1e3*y)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*v)+" ms"),p=m=1)}return g=this.findBestLevel(h,s,i,f+v,p,m),Math.max(g,0)},h.findBestLevel=function(t,e,r,i,n,s){for(var a,o=this.fragCurrent,l=this.partCurrent,c=this.lastLoadedFragLevel,d=this.hls.levels,h=d[c],f=!(null==h||null===(a=h.details)||void 0===a||!a.live),g=null==h?void 0:h.codecSet,v=l?l.duration:o?o.duration:0,p=r;p>=e;p--){var m=d[p];if(m&&(!g||m.codecSet===g)){var y=m.details,E=(l?null==y?void 0:y.partTarget:null==y?void 0:y.averagetargetduration)||v,T=void 0;T=p<=c?n*t:s*t;var S=d[p].maxBitrate,b=S*E/T;if(u.logger.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+p+"/"+Math.round(T)+"/"+S+"/"+E+"/"+i+"/"+b),T>S&&(!b||f&&!this.bitrateTestDelay||b0&&-1===t?(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),this.state=n.State.IDLE):(this.loadedmetadata=!1,this.state=n.State.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()},S.doTick=function(){switch(this.state){case n.State.IDLE:this.doTickIdle();break;case n.State.WAITING_TRACK:var e,r=this.levels,i=this.trackId,s=null==r||null===(e=r[i])||void 0===e?void 0:e.details;if(s){if(this.waitForCdnTuneIn(s))break;this.state=n.State.WAITING_INIT_PTS}break;case n.State.FRAG_LOADING_WAITING_RETRY:var o,l=performance.now(),u=this.retryDate;(!u||l>=u||null!==(o=this.media)&&void 0!==o&&o.seeking)&&(this.log("RetryDate reached, switch back to IDLE state"),this.state=n.State.IDLE);break;case n.State.WAITING_INIT_PTS:var c=this.waitingData;if(c){var d=c.frag,h=c.part,f=c.cache,v=c.complete;if(void 0!==this.initPTS[d.cc]){this.waitingData=null,this.waitingVideoCC=-1,this.state=n.State.FRAG_LOADING;var p={frag:d,part:h,payload:f.flush(),networkDetails:null};this._handleFragmentLoadProgress(p),v&&t.prototype._handleFragmentLoadComplete.call(this,p)}else if(this.videoTrackCC!==this.waitingVideoCC)m.logger.log("Waiting fragment cc ("+d.cc+") cancelled because video is at cc "+this.videoTrackCC),this.clearWaitingFragment();else{var y=this.getLoadPosition(),E=a.BufferHelper.bufferInfo(this.mediaBuffer,y,this.config.maxBufferHole);Object(g.fragmentWithinToleranceTest)(E.end,this.config.maxFragLookUpTolerance,d)<0&&(m.logger.log("Waiting fragment cc ("+d.cc+") @ "+d.start+" cancelled because another fragment at "+E.end+" is needed"),this.clearWaitingFragment())}}else this.state=n.State.IDLE}this.onTickEnd()},S.clearWaitingFragment=function(){var t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=n.State.IDLE)},S.onTickEnd=function(){var t=this.media;if(t&&t.readyState){var e=(this.mediaBuffer?this.mediaBuffer:t).buffered;!this.loadedmetadata&&e.length&&(this.loadedmetadata=!0),this.lastCurrentTime=t.currentTime}},S.doTickIdle=function(){var t,e,r=this.hls,i=this.levels,a=this.media,o=this.trackId,l=r.config;if(i&&i[o]&&(a||!this.startFragRequested&&l.startFragPrefetch)){var d=i[o].details;if(!d||d.live&&this.levelLastLoaded!==o||this.waitForCdnTuneIn(d))this.state=n.State.WAITING_TRACK;else{this.bufferFlushed&&(this.bufferFlushed=!1,this.afterBufferFlushed(this.mediaBuffer?this.mediaBuffer:this.media,c.ElementaryStreamTypes.AUDIO,u.PlaylistLevelType.AUDIO));var h=this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,u.PlaylistLevelType.AUDIO);if(null!==h){var f=h.len,g=this.getMaxBufferLength(),v=this.audioSwitch;if(!(f>=g)||v){if(!v&&this._streamEnded(h,d))return r.trigger(s.Events.BUFFER_EOS,{type:"audio"}),void(this.state=n.State.ENDED);var p=d.fragments[0].start,m=h.end;if(v){var y=this.getLoadPosition();m=y,d.PTSKnown&&yp||h.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),a.currentTime=p+.05)}var E=this.getNextFragment(m,d);E?"identity"!==(null===(t=E.decryptdata)||void 0===t?void 0:t.keyFormat)||null!==(e=E.decryptdata)&&void 0!==e&&e.key?this.loadFragment(E,d,m):this.loadKey(E,d):this.bufferFlushed=!0}}}}},S.getMaxBufferLength=function(){var e=t.prototype.getMaxBufferLength.call(this),r=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,u.PlaylistLevelType.MAIN);return null===r?e:Math.max(e,r.len)},S.onMediaDetaching=function(){this.videoBuffer=null,t.prototype.onMediaDetaching.call(this)},S.onAudioTracksUpdated=function(t,e){var r=e.audioTracks;this.resetTransmuxer(),this.levels=r.map((function(t){return new l.Level(t)}))},S.onAudioTrackSwitching=function(t,e){var r=!!e.url;this.trackId=e.id;var i=this.fragCurrent;null!=i&&i.loader&&i.loader.abort(),this.fragCurrent=null,this.clearWaitingFragment(),r?this.setInterval(100):this.resetTransmuxer(),r?(this.audioSwitch=!0,this.state=n.State.IDLE):this.state=n.State.STOPPED,this.tick()},S.onManifestLoading=function(){this.mainDetails=null,this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=!1},S.onLevelLoaded=function(t,e){this.mainDetails=e.details},S.onAudioTrackLoaded=function(t,e){var r,i=this.levels,s=e.details,a=e.id;if(i){this.log("Track "+a+" loaded ["+s.startSN+","+s.endSN+"],duration:"+s.totalduration);var o=i[a],l=0;if(s.live||null!==(r=o.details)&&void 0!==r&&r.live){var u=this.mainDetails;if(s.fragments[0]||(s.deltaUpdateFailed=!0),s.deltaUpdateFailed||!u)return;!o.details&&s.hasProgramDateTime&&u.hasProgramDateTime?(Object(v.alignMediaPlaylistByPDT)(s,u),l=s.fragments[0].start):l=this.alignPlaylists(s,o.details)}o.details=s,this.levelLastLoaded=a,this.startFragRequested||!this.mainDetails&&s.live||this.setStartPosition(o.details,l),this.state!==n.State.WAITING_TRACK||this.waitForCdnTuneIn(s)||(this.state=n.State.IDLE),this.tick()}else this.warn("Audio tracks were reset while loading level "+a)},S._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,s=t.payload,a=this.config,o=this.trackId,l=this.levels;if(l){var c=l[o];console.assert(c,"Audio track is defined on fragment load progress");var g=c.details;console.assert(g,"Audio track details are defined on fragment load progress");var v=a.defaultAudioCodec||c.audioCodec||"mp4a.40.2",p=this.transmuxer;p||(p=this.transmuxer=new h.default(this.hls,u.PlaylistLevelType.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));var y=this.initPTS[r.cc],E=null===(e=r.initSegment)||void 0===e?void 0:e.data;if(void 0!==y){var T=i?i.index:-1,S=-1!==T,b=new f.ChunkMetadata(r.level,r.sn,r.stats.chunkCount,s.byteLength,T,S);p.push(s,E,v,"",r,i,g.totalduration,!1,b,y)}else m.logger.log("Unknown video PTS for cc "+r.cc+", waiting for video PTS before demuxing audio frag "+r.sn+" of ["+g.startSN+" ,"+g.endSN+"],track "+o),(this.waitingData=this.waitingData||{frag:r,part:i,cache:new d.default,complete:!1}).cache.push(new Uint8Array(s)),this.waitingVideoCC=this.videoTrackCC,this.state=n.State.WAITING_INIT_PTS}else this.warn("Audio tracks were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},S._handleFragmentLoadComplete=function(e){this.waitingData?this.waitingData.complete=!0:t.prototype._handleFragmentLoadComplete.call(this,e)},S.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},S.onBufferCreated=function(t,e){var r=e.tracks.audio;r&&(this.mediaBuffer=r.buffer),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer)},S.onFragBuffered=function(t,e){var r=e.frag,i=e.part;r.type===u.PlaylistLevelType.AUDIO&&(this.fragContextChanged(r)?this.warn("Fragment "+r.sn+(i?" p: "+i.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state+", audioSwitch: "+this.audioSwitch):("initSegment"!==r.sn&&(this.fragPrevious=r,this.audioSwitch&&(this.audioSwitch=!1,this.hls.trigger(s.Events.AUDIO_TRACK_SWITCHED,{id:this.trackId}))),this.fragBufferedComplete(r,i)))},S.onError=function(e,r){switch(r.details){case p.ErrorDetails.FRAG_LOAD_ERROR:case p.ErrorDetails.FRAG_LOAD_TIMEOUT:case p.ErrorDetails.KEY_LOAD_ERROR:case p.ErrorDetails.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.PlaylistLevelType.AUDIO,r);break;case p.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case p.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:this.state!==n.State.ERROR&&this.state!==n.State.STOPPED&&(this.state=r.fatal?n.State.ERROR:n.State.IDLE,this.warn(r.details+" while loading frag, switching to "+this.state+" state"));break;case p.ErrorDetails.BUFFER_FULL_ERROR:if("audio"===r.parent&&(this.state===n.State.PARSING||this.state===n.State.PARSED)){var i=!0,s=this.getFwdBufferInfo(this.mediaBuffer,u.PlaylistLevelType.AUDIO);s&&s.len>.5&&(i=!this.reduceMaxBufferLength(s.len)),i&&(this.warn("Buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio")),this.resetLoadingState()}}},S.onBufferFlushed=function(t,e){e.type===c.ElementaryStreamTypes.AUDIO&&(this.bufferFlushed=!0)},S._handleTransmuxComplete=function(t){var e,r="audio",i=this.hls,a=t.remuxResult,o=t.chunkMeta,l=this.getCurrentContext(o);if(!l)return this.warn("The loading context changed while buffering fragment "+o.sn+" of level "+o.level+". This chunk will not be buffered."),void this.resetLiveStartWhenNotLoaded(o.level);var u=l.frag,d=l.part,h=a.audio,f=a.text,g=a.id3,v=a.initSegment;if(!this.fragContextChanged(u)){if(this.state=n.State.PARSING,this.audioSwitch&&h&&this.completeAudioSwitch(),null!=v&&v.tracks&&(this._bufferInitSegment(v.tracks,u,o),i.trigger(s.Events.FRAG_PARSING_INIT_SEGMENT,{frag:u,id:r,tracks:v.tracks})),h){var p=h.startPTS,m=h.endPTS,E=h.startDTS,T=h.endDTS;d&&(d.elementaryStreams[c.ElementaryStreamTypes.AUDIO]={startPTS:p,endPTS:m,startDTS:E,endDTS:T}),u.setElementaryStreamInfo(c.ElementaryStreamTypes.AUDIO,p,m,E,T),this.bufferFragmentData(h,u,d,o)}if(null!=g&&null!==(e=g.samples)&&void 0!==e&&e.length){var S=y({frag:u,id:r},g);i.trigger(s.Events.FRAG_PARSING_METADATA,S)}if(f){var b=y({frag:u,id:r},f);i.trigger(s.Events.FRAG_PARSING_USERDATA,b)}}},S._bufferInitSegment=function(t,e,r){if(this.state===n.State.PARSING){t.video&&delete t.video;var i=t.audio;if(i){i.levelCodec=i.codec,i.id="audio",this.log("Init audio buffer, container:"+i.container+", codecs[parsed]=["+i.codec+"]"),this.hls.trigger(s.Events.BUFFER_CODECS,t);var a=i.initSegment;if(null!=a&&a.byteLength){var o={type:"audio",frag:e,part:null,chunkMeta:r,parent:e.type,data:a};this.hls.trigger(s.Events.BUFFER_APPENDING,o)}this.tick()}}},S.loadFragment=function(e,r,s){var a=this.fragmentTracker.getState(e);this.fragCurrent=e,(this.audioSwitch||a===o.FragmentState.NOT_LOADED||a===o.FragmentState.PARTIAL)&&("initSegment"===e.sn?this._loadInitSegment(e):r.live&&!Object(i.isFiniteNumber)(this.initPTS[e.cc])?(this.log("Waiting for video PTS in continuity counter "+e.cc+" of live stream before loading audio fragment "+e.sn+" of level "+this.trackId),this.state=n.State.WAITING_INIT_PTS):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,s)))},S.completeAudioSwitch=function(){var e=this.hls,r=this.media,i=this.trackId;r&&(this.log("Switching audio track : flushing all audio"),t.prototype.flushMainBuffer.call(this,0,Number.POSITIVE_INFINITY,"audio")),this.audioSwitch=!1,e.trigger(s.Events.AUDIO_TRACK_SWITCHED,{id:i})},T}(n.default);e.default=T},"./src/controller/audio-track-controller.ts": +/*!**************************************************!*\ + !*** ./src/controller/audio-track-controller.ts ***! + \**************************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ../events */"./src/events.ts"),n=r(/*! ../errors */"./src/errors.ts"),s=r(/*! ./base-playlist-controller */"./src/controller/base-playlist-controller.ts"),a=r(/*! ../types/loader */"./src/types/loader.ts");function o(t,e){for(var r=0;r=e.length)this.warn("Invalid id passed to audio-track controller");else{this.clearTimer();var r=e[this.trackId];this.log("Now switching to audio-track index "+t);var n=e[t],s=n.id,a=n.groupId,o=void 0===a?"":a,l=n.name,u=n.type,c=n.url;if(this.trackId=t,this.trackName=l,this.selectDefaultTrack=!1,this.hls.trigger(i.Events.AUDIO_TRACK_SWITCHING,{id:s,groupId:o,name:l,type:u,url:c}),!n.details||n.details.live){var d=this.switchParams(n.url,null==r?void 0:r.details);this.loadPlaylist(d)}}},h.selectInitialTrack=function(){var t=this.tracksInGroup;console.assert(t.length,"Initial audio track should be selected when tracks are known");var e=this.trackName,r=this.findTrackId(e)||this.findTrackId();-1!==r?this.setAudioTrack(r):(this.warn("No track found for running audio group-ID: "+this.groupId),this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.MEDIA_ERROR,details:n.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,fatal:!0}))},h.findTrackId=function(t){for(var e=this.tracksInGroup,r=0;re.partTarget&&(u+=1)}if(Object(i.isFiniteNumber)(l))return new n.HlsUrlParameters(l,Object(i.isFiniteNumber)(u)?u:void 0,n.HlsSkip.No)}}},e.loadPlaylist=function(t){},e.shouldLoadTrack=function(t){return this.canLoad&&t&&!!t.url&&(!t.details||t.details.live)},e.playlistLoaded=function(t,e,r){var i=this,n=e.details,a=e.stats,o=a.loading.end?Math.max(0,self.performance.now()-a.loading.end):0;if(n.advancedDateTime=Date.now()-o,n.live||null!=r&&r.live){if(n.reloaded(r),r&&this.log("live playlist "+t+" "+(n.advanced?"REFRESHED "+n.lastPartSn+"-"+n.lastPartIndex:"MISSED")),r&&n.fragments.length>0&&Object(s.mergeDetails)(r,n),!this.canLoad||!n.live)return;var l,u=void 0,c=void 0;if(n.canBlockReload&&n.endSN&&n.advanced){var d=this.hls.config.lowLatencyMode,h=n.lastPartSn,f=n.endSN,g=n.lastPartIndex,v=h===f;-1!==g?(u=v?f+1:h,c=v?d?0:g:g+1):u=f+1;var p=n.age,m=p+n.ageHeader,y=Math.min(m-n.partTarget,1.5*n.targetduration);if(y>0){if(r&&y>r.tuneInGoal)this.warn("CDN Tune-in goal increased from: "+r.tuneInGoal+" to: "+y+" with playlist age: "+n.age),y=0;else{var E=Math.floor(y/n.targetduration);u+=E,void 0!==c&&(c+=Math.round(y%n.targetduration/n.partTarget)),this.log("CDN Tune-in age: "+n.ageHeader+"s last advanced "+p.toFixed(2)+"s goal: "+y+" skip sn "+E+" to part "+c)}n.tuneInGoal=y}if(l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,c),d||!v)return void this.loadPlaylist(l)}else l=this.getDeliveryDirectives(n,e.deliveryDirectives,u,c);var T=Object(s.computeReloadInterval)(n,a);void 0!==u&&n.canBlockReload&&(T-=n.partTarget||1),this.log("reload live playlist "+t+" in "+Math.round(T)+" ms"),this.timer=self.setTimeout((function(){return i.loadPlaylist(l)}),T)}else this.clearTimer()},e.getDeliveryDirectives=function(t,e,r,i){var s=Object(n.getSkipValue)(t,r);return null!=e&&e.skip&&t.deltaUpdateFailed&&(r=e.msn,i=e.part,s=n.HlsSkip.No),new n.HlsUrlParameters(r,i,s)},e.retryLoadingOrFail=function(t){var e,r=this,i=this.hls.config,n=this.retryCount-1&&null!==(e=t.context)&&void 0!==e&&e.deliveryDirectives)this.warn("retry playlist loading #"+this.retryCount+' after "'+t.details+'"'),this.loadPlaylist();else{var s=Math.min(Math.pow(2,this.retryCount)*i.levelLoadingRetryDelay,i.levelLoadingMaxRetryTimeout);this.timer=self.setTimeout((function(){return r.loadPlaylist()}),s),this.warn("retry playlist loading #"+this.retryCount+" in "+s+' ms after "'+t.details+'"')}else this.warn('cannot recover from error "'+t.details+'"'),this.clearTimer(),t.fatal=!0;return n},t}()},"./src/controller/base-stream-controller.ts": +/*!**************************************************!*\ + !*** ./src/controller/base-stream-controller.ts ***! + \**************************************************/ +/*! exports provided: State, default */function(t,e,r){"use strict";r.r(e),r.d(e,"State",(function(){return S})),r.d(e,"default",(function(){return b}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../task-loop */"./src/task-loop.ts"),s=r(/*! ./fragment-tracker */"./src/controller/fragment-tracker.ts"),a=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.ts"),o=r(/*! ../utils/logger */"./src/utils/logger.ts"),l=r(/*! ../events */"./src/events.ts"),u=r(/*! ../errors */"./src/errors.ts"),c=r(/*! ../types/transmuxer */"./src/types/transmuxer.ts"),d=r(/*! ../utils/mp4-tools */"./src/utils/mp4-tools.ts"),h=r(/*! ../utils/discontinuities */"./src/utils/discontinuities.ts"),f=r(/*! ./fragment-finders */"./src/controller/fragment-finders.ts"),g=r(/*! ./level-helper */"./src/controller/level-helper.ts"),v=r(/*! ../loader/fragment-loader */"./src/loader/fragment-loader.ts"),p=r(/*! ../crypt/decrypter */"./src/crypt/decrypter.ts"),m=r(/*! ../utils/time-ranges */"./src/utils/time-ranges.ts"),y=r(/*! ../types/loader */"./src/types/loader.ts");function E(t,e){for(var r=0;re.start+e.duration+u;(o0&&s&&s.key&&s.iv&&"AES-128"===s.method){var a=self.performance.now();return e.decrypter.webCryptoDecrypt(new Uint8Array(n),s.key.buffer,s.iv.buffer).then((function(e){var n=self.performance.now();return i.trigger(l.Events.FRAG_DECRYPTED,{frag:t,payload:e,stats:{tstart:a,tdecrypt:n}}),r.payload=e,r}))}return r})).then((function(r){var i=e.fragCurrent,n=e.hls,s=e.levels;if(!s)throw new Error("init load aborted, missing levels");var a=s[t.level].details;console.assert(a,"Level details are defined when init segment is loaded");var o=t.stats;e.state=S.IDLE,e.fragLoadError=0,t.data=new Uint8Array(r.payload),o.parsing.start=o.buffering.start=self.performance.now(),o.parsing.end=o.buffering.end=self.performance.now(),r.frag===i&&n.trigger(l.Events.FRAG_BUFFERED,{stats:o,frag:i,part:null,id:t.type}),e.tick()})).catch((function(r){e.warn(r),e.resetFragmentLoading(t)}))},D.fragContextChanged=function(t){var e=this.fragCurrent;return!t||!e||t.level!==e.level||t.sn!==e.sn||t.urlId!==e.urlId},D.fragBufferedComplete=function(t,e){var r=this.mediaBuffer?this.mediaBuffer:this.media;this.log("Buffered "+t.type+" sn: "+t.sn+(e?" part: "+e.index:"")+" of "+("[stream-controller]"===this.logPrefix?"level":"track")+" "+t.level+" "+m.default.toString(a.BufferHelper.getBuffered(r))),this.state=S.IDLE,this.tick()},D._handleFragmentLoadComplete=function(t){var e=this.transmuxer;if(e){var r=t.frag,i=t.part,n=t.partsLoaded,s=!n||0===n.length||n.some((function(t){return!t})),a=new c.ChunkMetadata(r.level,r.sn,r.stats.chunkCount+1,0,i?i.index:-1,!s);e.flush(a)}},D._handleFragmentLoadProgress=function(t){},D._doFragLoad=function(t,e,r,n){var s=this;if(void 0===r&&(r=null),!this.levels)throw new Error("frag load aborted, missing levels");if(r=Math.max(t.start,r||0),this.config.lowLatencyMode&&e){var a=e.partList;if(a&&n){r>t.end&&e.fragmentHint&&(t=e.fragmentHint);var o=this.getNextPart(a,t,r);if(o>-1){var u=a[o];return this.log("Loading part sn: "+t.sn+" p: "+u.index+" cc: "+t.cc+" of playlist ["+e.startSN+"-"+e.endSN+"] parts [0-"+o+"-"+(a.length-1)+"] "+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),this.nextLoadPosition=u.start+u.duration,this.state=S.FRAG_LOADING,this.hls.trigger(l.Events.FRAG_LOADING,{frag:t,part:a[o],targetBufferTime:r}),this.doFragPartsLoad(t,a,o,n).catch((function(t){return s.handleFragLoadError(t)}))}if(!t.url||this.loadedEndOfParts(a,r))return Promise.resolve(null)}}return this.log("Loading fragment "+t.sn+" cc: "+t.cc+" "+(e?"of ["+e.startSN+"-"+e.endSN+"] ":"")+("[stream-controller]"===this.logPrefix?"level":"track")+": "+t.level+", target: "+parseFloat(r.toFixed(3))),Object(i.isFiniteNumber)(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=S.FRAG_LOADING,this.hls.trigger(l.Events.FRAG_LOADING,{frag:t,targetBufferTime:r}),this.fragmentLoader.load(t,n).catch((function(t){return s.handleFragLoadError(t)}))},D.doFragPartsLoad=function(t,e,r,i){var n=this;return new Promise((function(s,a){var o=[];!function r(u){var c=e[u];n.fragmentLoader.loadPart(t,c,i).then((function(i){o[c.index]=i;var a=i.part;n.hls.trigger(l.Events.FRAG_LOADED,i);var d=e[u+1];if(!d||d.fragment!==t)return s({frag:t,part:a,partsLoaded:o});r(u+1)})).catch(a)}(r)}))},D.handleFragLoadError=function(t){var e=t.data;return e&&e.details===u.ErrorDetails.INTERNAL_ABORTED?this.handleFragLoadAborted(e.frag,e.part):this.hls.trigger(l.Events.ERROR,e),null},D._handleTransmuxerFlush=function(t){var e=this.getCurrentContext(t);if(e&&this.state===S.PARSING){var r=e.frag,i=e.part,n=e.level,s=self.performance.now();r.stats.parsing.end=s,i&&(i.stats.parsing.end=s),this.updateLevelTiming(r,i,n,t.partial)}else this.fragCurrent||(this.state=S.IDLE)},D.getCurrentContext=function(t){var e=this.levels,r=t.level,i=t.sn,n=t.part;if(!e||!e[r])return this.warn("Levels object was unset while buffering fragment "+i+" of level "+r+". The current chunk will not be buffered."),null;var s=e[r],a=n>-1?Object(g.getPartWith)(s,i,n):null,o=a?a.fragment:Object(g.getFragmentWithSN)(s,i,this.fragCurrent);return o?{frag:o,part:a,level:s}:null},D.bufferFragmentData=function(t,e,r,i){if(t&&this.state===S.PARSING){var n=t.data1,s=t.data2,a=n;if(n&&s&&(a=Object(d.appendUint8Array)(n,s)),a&&a.length){var o={type:t.type,frag:e,part:r,chunkMeta:i,parent:e.type,data:a};this.hls.trigger(l.Events.BUFFER_APPENDING,o),t.dropped&&t.independent&&!r&&this.flushBufferGap(e)}}},D.flushBufferGap=function(t){var e=this.media;if(e)if(a.BufferHelper.isBuffered(e,e.currentTime)){var r=e.currentTime,i=a.BufferHelper.bufferInfo(e,r,0),n=t.duration,s=Math.min(2*this.config.maxFragLookUpTolerance,.25*n),o=Math.max(Math.min(t.start-s,i.end-s),r+s);t.start-o>s&&this.flushMainBuffer(o,t.start)}else this.flushMainBuffer(0,t.start)},D.getFwdBufferInfo=function(t,e){var r=this.config,n=this.getLoadPosition();if(!Object(i.isFiniteNumber)(n))return null;var s=a.BufferHelper.bufferInfo(t,n,r.maxBufferHole);if(0===s.len&&void 0!==s.nextStart){var o=this.fragmentTracker.getBufferedFrag(n,e);if(o&&s.nextStart=r&&(e.maxMaxBufferLength/=2,this.warn("Reduce max buffer length to "+e.maxMaxBufferLength+"s"),!0)},D.getNextFragment=function(t,e){var r,i,n=e.fragments,s=n.length;if(!s)return null;var a,o=this.config,l=n[0].start;if(e.live){var u=o.initialLiveManifestSize;if(s-1&&rr.start&&r.loaded},D.getInitialLiveFragment=function(t,e){var r=this.fragPrevious,i=null;if(r){if(t.hasProgramDateTime&&(this.log("Live playlist, switching playlist, load frag with same PDT: "+r.programDateTime),i=Object(f.findFragmentByPDT)(e,r.endProgramDateTime,this.config.maxFragLookUpTolerance)),!i){var n=r.sn+1;if(n>=t.startSN&&n<=t.endSN){var s=e[n-t.startSN];r.cc===s.cc&&(i=s,this.log("Live playlist, switching playlist, load frag with next SN: "+i.sn))}i||(i=Object(f.findFragWithCC)(e,r.cc))&&this.log("Live playlist, switching playlist, load frag with same CC: "+i.sn)}}else{var a=this.hls.liveSyncPosition;null!==a&&(i=this.getFragmentAtPosition(a,this.bitrateTest?t.fragmentEnd:t.edge,t))}return i},D.getFragmentAtPosition=function(t,e,r){var i,n=this.config,a=this.fragPrevious,o=r.fragments,l=r.endSN,u=r.fragmentHint,c=n.maxFragLookUpTolerance,d=!!(n.lowLatencyMode&&r.partList&&u);if(d&&u&&!this.bitrateTest&&(o=o.concat(u),l=u.sn),te-c?0:c;i=Object(f.findFragmentByPTS)(a,o,t,h)}else i=o[o.length-1];if(i){var g=i.sn-r.startSN,v=a&&i.level===a.level,p=o[g+1];if(this.fragmentTracker.getState(i)===s.FragmentState.BACKTRACKED){i=null;for(var m=g;o[m]&&this.fragmentTracker.getState(o[m])===s.FragmentState.BACKTRACKED;)i=a?o[m--]:o[--m];i||(i=p)}else a&&i.sn===a.sn&&!d&&v&&(i.sn=s-e.maxFragLookUpTolerance&&n<=a;if(null!==i&&r.duration>i&&(n"+t.startSN+" prev-sn: "+(s?s.sn:"na")+" fragments: "+o),d}return l},D.waitForCdnTuneIn=function(t){return t.live&&t.canBlockReload&&t.tuneInGoal>Math.max(t.partHoldBack,3*t.partTarget)},D.setStartPosition=function(t,e){var r=this.startPosition;if(r"+t))}}])&&E(b.prototype,L),A&&E(b,A),n}(n.default)},"./src/controller/buffer-controller.ts": +/*!*********************************************!*\ + !*** ./src/controller/buffer-controller.ts ***! + \*********************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return f}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../utils/logger */"./src/utils/logger.ts"),a=r(/*! ../errors */"./src/errors.ts"),o=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.ts"),l=r(/*! ../utils/mediasource-helper */"./src/utils/mediasource-helper.ts"),u=r(/*! ../loader/fragment */"./src/loader/fragment.ts"),c=r(/*! ./buffer-operation-queue */"./src/controller/buffer-operation-queue.ts"),d=Object(l.getMediaSource)(),h=/([ha]vc.)(?:\.[^.,]+)+/,f=function(){function t(t){var e=this;this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.appendError=0,this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this._onMediaSourceOpen=function(){var t=e.hls,r=e.media,i=e.mediaSource;s.logger.log("[buffer-controller]: Media source opened"),r&&(e.updateMediaElementDuration(),t.trigger(n.Events.MEDIA_ATTACHED,{media:r})),i&&i.removeEventListener("sourceopen",e._onMediaSourceOpen),e.checkPendingTracks()},this._onMediaSourceClose=function(){s.logger.log("[buffer-controller]: Media source closed")},this._onMediaSourceEnded=function(){s.logger.log("[buffer-controller]: Media source ended")},this.hls=t,this._initSourceBuffer(),this.registerListeners()}var e=t.prototype;return e.hasSourceTypes=function(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0},e.destroy=function(){this.unregisterListeners(),this.details=null},e.registerListeners=function(){var t=this.hls;t.on(n.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(n.Events.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(n.Events.MANIFEST_PARSED,this.onManifestParsed,this),t.on(n.Events.BUFFER_RESET,this.onBufferReset,this),t.on(n.Events.BUFFER_APPENDING,this.onBufferAppending,this),t.on(n.Events.BUFFER_CODECS,this.onBufferCodecs,this),t.on(n.Events.BUFFER_EOS,this.onBufferEos,this),t.on(n.Events.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(n.Events.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(n.Events.FRAG_PARSED,this.onFragParsed,this),t.on(n.Events.FRAG_CHANGED,this.onFragChanged,this)},e.unregisterListeners=function(){var t=this.hls;t.off(n.Events.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(n.Events.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(n.Events.MANIFEST_PARSED,this.onManifestParsed,this),t.off(n.Events.BUFFER_RESET,this.onBufferReset,this),t.off(n.Events.BUFFER_APPENDING,this.onBufferAppending,this),t.off(n.Events.BUFFER_CODECS,this.onBufferCodecs,this),t.off(n.Events.BUFFER_EOS,this.onBufferEos,this),t.off(n.Events.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(n.Events.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(n.Events.FRAG_PARSED,this.onFragParsed,this),t.off(n.Events.FRAG_CHANGED,this.onFragChanged,this)},e._initSourceBuffer=function(){this.sourceBuffer={},this.operationQueue=new c.default(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]}},e.onManifestParsed=function(t,e){var r=2;(e.audio&&!e.video||!e.altAudio)&&(r=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=r,this.details=null,s.logger.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")},e.onMediaAttaching=function(t,e){var r=this.media=e.media;if(r&&d){var i=this.mediaSource=new d;i.addEventListener("sourceopen",this._onMediaSourceOpen),i.addEventListener("sourceended",this._onMediaSourceEnded),i.addEventListener("sourceclose",this._onMediaSourceClose),r.src=self.URL.createObjectURL(i),this._objectUrl=r.src}},e.onMediaDetaching=function(){var t=this.media,e=this.mediaSource,r=this._objectUrl;if(e){if(s.logger.log("[buffer-controller]: media source detaching"),"open"===e.readyState)try{e.endOfStream()}catch(t){s.logger.warn("[buffer-controller]: onMediaDetaching: "+t.message+" while calling endOfStream")}this.onBufferReset(),e.removeEventListener("sourceopen",this._onMediaSourceOpen),e.removeEventListener("sourceended",this._onMediaSourceEnded),e.removeEventListener("sourceclose",this._onMediaSourceClose),t&&(r&&self.URL.revokeObjectURL(r),t.src===r?(t.removeAttribute("src"),t.load()):s.logger.warn("[buffer-controller]: media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(n.Events.MEDIA_DETACHED,void 0)},e.onBufferReset=function(){var t=this;this.getSourceBufferTypes().forEach((function(e){var r=t.sourceBuffer[e];try{r&&(t.removeBufferListeners(e),t.mediaSource&&t.mediaSource.removeSourceBuffer(r),t.sourceBuffer[e]=void 0)}catch(t){s.logger.warn("[buffer-controller]: Failed to reset the "+e+" buffer",t)}})),this._initSourceBuffer()},e.onBufferCodecs=function(t,e){var r=this,i=this.getSourceBufferTypes().length;Object.keys(e).forEach((function(t){if(i){var n=r.tracks[t];if(n&&"function"==typeof n.buffer.changeType){var s=e[t],a=s.codec,o=s.levelCodec,l=s.container;if((n.levelCodec||n.codec).replace(h,"$1")!==(o||a).replace(h,"$1")){var u=l+";codecs="+(o||a);r.appendChangeType(t,u)}}}else r.pendingTracks[t]=e[t]})),i||(this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),this.mediaSource&&"open"===this.mediaSource.readyState&&this.checkPendingTracks())},e.appendChangeType=function(t,e){var r=this,i=this.operationQueue,n={execute:function(){var n=r.sourceBuffer[t];n&&(s.logger.log("[buffer-controller]: changing "+t+" sourceBuffer type to "+e),n.changeType(e)),i.shiftAndExecuteNext(t)},onStart:function(){},onComplete:function(){},onError:function(e){s.logger.warn("[buffer-controller]: Failed to change "+t+" SourceBuffer type",e)}};i.append(n,t)},e.onBufferAppending=function(t,e){var r=this,i=this.hls,l=this.operationQueue,u=this.tracks,c=e.data,d=e.type,h=e.frag,f=e.part,g=e.chunkMeta,v=g.buffering[d],p=self.performance.now();v.start=p;var m=h.stats.buffering,y=f?f.stats.buffering:null;0===m.start&&(m.start=p),y&&0===y.start&&(y.start=p);var E=u.audio,T="audio"===d&&1===g.id&&"audio/mpeg"===(null==E?void 0:E.container),S={execute:function(){if(v.executeStart=self.performance.now(),T){var t=r.sourceBuffer[d];if(t){var e=h.start-t.timestampOffset;Math.abs(e)>=.1&&(s.logger.log("[buffer-controller]: Updating audio SourceBuffer timestampOffset to "+h.start+" (delta: "+e+") sn: "+h.sn+")"),t.timestampOffset=h.start)}}r.appendExecutor(c,d)},onStart:function(){},onComplete:function(){var t=self.performance.now();v.executeEnd=v.end=t,0===m.first&&(m.first=t),y&&0===y.first&&(y.first=t);var e=r.sourceBuffer,i={};for(var s in e)i[s]=o.BufferHelper.getBuffered(e[s]);r.appendError=0,r.hls.trigger(n.Events.BUFFER_APPENDED,{type:d,frag:h,part:f,chunkMeta:g,parent:h.type,timeRanges:i})},onError:function(t){s.logger.error("[buffer-controller]: Error encountered while trying to append to the "+d+" SourceBuffer",t);var e={type:a.ErrorTypes.MEDIA_ERROR,parent:h.type,details:a.ErrorDetails.BUFFER_APPEND_ERROR,err:t,fatal:!1};t.code===DOMException.QUOTA_EXCEEDED_ERR?e.details=a.ErrorDetails.BUFFER_FULL_ERROR:(r.appendError++,e.details=a.ErrorDetails.BUFFER_APPEND_ERROR,r.appendError>i.config.appendErrorMaxRetry&&(s.logger.error("[buffer-controller]: Failed "+i.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),e.fatal=!0)),i.trigger(n.Events.ERROR,e)}};l.append(S,d)},e.onBufferFlushing=function(t,e){var r=this,i=this.operationQueue,a=function(t){return{execute:r.removeExecutor.bind(r,t,e.startOffset,e.endOffset),onStart:function(){},onComplete:function(){r.hls.trigger(n.Events.BUFFER_FLUSHED,{type:t})},onError:function(e){s.logger.warn("[buffer-controller]: Failed to remove from "+t+" SourceBuffer",e)}}};e.type?i.append(a(e.type),e.type):this.getSourceBufferTypes().forEach((function(t){i.append(a(t),t)}))},e.onFragParsed=function(t,e){var r=this,i=e.frag,a=e.part,o=[],l=a?a.elementaryStreams:i.elementaryStreams;l[u.ElementaryStreamTypes.AUDIOVIDEO]?o.push("audiovideo"):(l[u.ElementaryStreamTypes.AUDIO]&&o.push("audio"),l[u.ElementaryStreamTypes.VIDEO]&&o.push("video")),0===o.length&&s.logger.warn("Fragments must have at least one ElementaryStreamType set. type: "+i.type+" level: "+i.level+" sn: "+i.sn),this.blockBuffers((function(){var t=self.performance.now();i.stats.buffering.end=t,a&&(a.stats.buffering.end=t);var e=a?a.stats:i.stats;r.hls.trigger(n.Events.FRAG_BUFFERED,{frag:i,part:a,stats:e,id:i.type})}),o)},e.onFragChanged=function(t,e){this.flushBackBuffer()},e.onBufferEos=function(t,e){var r=this;this.getSourceBufferTypes().reduce((function(t,i){var n=r.sourceBuffer[i];return e.type&&e.type!==i||n&&!n.ended&&(n.ended=!0,s.logger.log("[buffer-controller]: "+i+" sourceBuffer now EOS")),t&&!(n&&!n.ended)}),!0)&&this.blockBuffers((function(){var t=r.mediaSource;t&&"open"===t.readyState&&t.endOfStream()}))},e.onLevelUpdated=function(t,e){var r=e.details;r.fragments.length&&(this.details=r,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())},e.flushBackBuffer=function(){var t=this.hls,e=this.details,r=this.media,s=this.sourceBuffer;if(r&&null!==e){var a=this.getSourceBufferTypes();if(a.length){var l=e.live&&null!==t.config.liveBackBufferLength?t.config.liveBackBufferLength:t.config.backBufferLength;if(Object(i.isFiniteNumber)(l)&&!(l<0)){var u=r.currentTime,c=e.levelTargetDuration,d=Math.max(l,c),h=Math.floor(u/c)*c-d;a.forEach((function(r){var i=s[r];if(i){var a=o.BufferHelper.getBuffered(i);a.length>0&&h>a.start(0)&&(t.trigger(n.Events.BACK_BUFFER_REACHED,{bufferEnd:h}),e.live&&t.trigger(n.Events.LIVE_BACK_BUFFER_REACHED,{bufferEnd:h}),t.trigger(n.Events.BUFFER_FLUSHING,{startOffset:0,endOffset:h,type:r}))}}))}}}},e.updateMediaElementDuration=function(){if(this.details&&this.media&&this.mediaSource&&"open"===this.mediaSource.readyState){var t=this.details,e=this.hls,r=this.media,n=this.mediaSource,a=t.fragments[0].start+t.totalduration,o=r.duration,l=Object(i.isFiniteNumber)(n.duration)?n.duration:0;t.live&&e.config.liveDurationInfinity?(s.logger.log("[buffer-controller]: Media Source duration is set to Infinity"),n.duration=1/0,this.updateSeekableRange(t)):(a>l&&a>o||!Object(i.isFiniteNumber)(o))&&(s.logger.log("[buffer-controller]: Updating Media Source duration to "+a.toFixed(3)),n.duration=a)}},e.updateSeekableRange=function(t){var e=this.mediaSource,r=t.fragments;if(r.length&&t.live&&null!=e&&e.setLiveSeekableRange){var i=Math.max(0,r[0].start),n=Math.max(i,i+t.totalduration);e.setLiveSeekableRange(i,n)}},e.checkPendingTracks=function(){var t=this.bufferCodecEventsExpected,e=this.operationQueue,r=this.pendingTracks,i=Object.keys(r).length;if(i&&!t||2===i){this.createSourceBuffers(r),this.pendingTracks={};var s=this.getSourceBufferTypes();if(0===s.length)return void this.hls.trigger(n.Events.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,reason:"could not create source buffer for media codec(s)"});s.forEach((function(t){e.executeNext(t)}))}},e.createSourceBuffers=function(t){var e=this.sourceBuffer,r=this.mediaSource;if(!r)throw Error("createSourceBuffers called when mediaSource was null");var i=0;for(var o in t)if(!e[o]){var l=t[o];if(!l)throw Error("source buffer exists for track "+o+", however track does not");var u=l.levelCodec||l.codec,c=l.container+";codecs="+u;s.logger.log("[buffer-controller]: creating sourceBuffer("+c+")");try{var d=e[o]=r.addSourceBuffer(c),h=o;this.addBufferListener(h,"updatestart",this._onSBUpdateStart),this.addBufferListener(h,"updateend",this._onSBUpdateEnd),this.addBufferListener(h,"error",this._onSBUpdateError),this.tracks[o]={buffer:d,codec:u,container:l.container,levelCodec:l.levelCodec,id:l.id},i++}catch(t){s.logger.error("[buffer-controller]: error while trying to add sourceBuffer: "+t.message),this.hls.trigger(n.Events.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:t,mimeType:c})}}i&&this.hls.trigger(n.Events.BUFFER_CREATED,{tracks:this.tracks})},e._onSBUpdateStart=function(t){this.operationQueue.current(t).onStart()},e._onSBUpdateEnd=function(t){var e=this.operationQueue;e.current(t).onComplete(),e.shiftAndExecuteNext(t)},e._onSBUpdateError=function(t,e){s.logger.error("[buffer-controller]: "+t+" SourceBuffer error",e),this.hls.trigger(n.Events.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1});var r=this.operationQueue.current(t);r&&r.onError(e)},e.removeExecutor=function(t,e,r){var n=this.media,a=this.mediaSource,o=this.operationQueue,l=this.sourceBuffer[t];if(!n||!a||!l)return s.logger.warn("[buffer-controller]: Attempting to remove from the "+t+" SourceBuffer, but it does not exist"),void o.shiftAndExecuteNext(t);var u=Object(i.isFiniteNumber)(n.duration)?n.duration:1/0,c=Object(i.isFiniteNumber)(a.duration)?a.duration:1/0,d=Math.max(0,e),h=Math.min(r,u,c);h>d?(s.logger.log("[buffer-controller]: Removing ["+d+","+h+"] from the "+t+" SourceBuffer"),console.assert(!l.updating,t+" sourceBuffer must not be updating"),l.remove(d,h)):o.shiftAndExecuteNext(t)},e.appendExecutor=function(t,e){var r=this.operationQueue,i=this.sourceBuffer[e];if(!i)return s.logger.warn("[buffer-controller]: Attempting to append to the "+e+" SourceBuffer, but it does not exist"),void r.shiftAndExecuteNext(e);i.ended=!1,console.assert(!i.updating,e+" sourceBuffer must not be updating"),i.appendBuffer(t)},e.blockBuffers=function(t,e){var r=this;if(void 0===e&&(e=this.getSourceBufferTypes()),!e.length)return s.logger.log("[buffer-controller]: Blocking operation requested, but no SourceBuffers exist"),void Promise.resolve(t);var i=this.operationQueue,n=e.map((function(t){return i.appendBlocker(t)}));Promise.all(n).then((function(){t(),e.forEach((function(t){var e=r.sourceBuffer[t];e&&e.updating||i.shiftAndExecuteNext(t)}))}))},e.getSourceBufferTypes=function(){return Object.keys(this.sourceBuffer)},e.addBufferListener=function(t,e,r){var i=this.sourceBuffer[t];if(i){var n=r.bind(this,t);this.listeners[t].push({event:e,listener:n}),i.addEventListener(e,n)}},e.removeBufferListeners=function(t){var e=this.sourceBuffer[t];e&&this.listeners[t].forEach((function(t){e.removeEventListener(t.event,t.listener)}))},t}()},"./src/controller/buffer-operation-queue.ts": +/*!**************************************************!*\ + !*** ./src/controller/buffer-operation-queue.ts ***! + \**************************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return n}));var i=r(/*! ../utils/logger */"./src/utils/logger.ts"),n=function(){function t(t){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=t}var e=t.prototype;return e.append=function(t,e){var r=this.queues[e];r.push(t),1===r.length&&this.buffers[e]&&this.executeNext(e)},e.insertAbort=function(t,e){this.queues[e].unshift(t),this.executeNext(e)},e.appendBlocker=function(t){var e,r=new Promise((function(t){e=t})),i={execute:e,onStart:function(){},onComplete:function(){},onError:function(){}};return this.append(i,t),r},e.executeNext=function(t){var e=this.buffers,r=this.queues,n=e[t],s=r[t];if(s.length){var a=s[0];try{a.execute()}catch(e){i.logger.warn("[buffer-operation-queue]: Unhandled exception executing the current operation"),a.onError(e),n&&n.updating||(s.shift(),this.executeNext(t))}}},e.shiftAndExecuteNext=function(t){this.queues[t].shift(),this.executeNext(t)},e.current=function(t){return this.queues[t][0]},t}()},"./src/controller/cap-level-controller.ts": +/*!************************************************!*\ + !*** ./src/controller/cap-level-controller.ts ***! + \************************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ../events */"./src/events.ts");function n(t,e){for(var r=0;r0&&this.mediaWidth>0){var t=this.hls.levels;if(t.length){var e=this.hls;e.autoLevelCapping=this.getMaxLevel(t.length-1),e.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},a.getMaxLevel=function(e){var r=this,i=this.hls.levels;if(!i.length)return-1;var n=i.filter((function(i,n){return t.isLevelAllowed(n,r.restrictedLevels)&&n<=e}));return this.clientRect=null,t.getMaxLevelByMediaSize(n,this.mediaWidth,this.mediaHeight)},a.startCapping=function(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},a.stopCapping=function(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)},a.getDimensions=function(){if(this.clientRect)return this.clientRect;var t=this.media,e={width:0,height:0};if(t){var r=t.getBoundingClientRect();e.width=r.width,e.height=r.height,e.width||e.height||(e.width=r.right-r.left||t.width||0,e.height=r.bottom-r.top||t.height||0)}return this.clientRect=e,e},t.isLevelAllowed=function(t,e){return void 0===e&&(e=[]),-1===e.indexOf(t)},t.getMaxLevelByMediaSize=function(t,e,r){if(!t||!t.length)return-1;for(var i,n,s=t.length-1,a=0;a=e||o.height>=r)&&(i=o,!(n=t[a+1])||i.width!==n.width||i.height!==n.height)){s=a;break}}return s},e=t,s=[{key:"contentScaleFactor",get:function(){var t=1;try{t=self.devicePixelRatio}catch(t){}return t}}],(r=[{key:"mediaWidth",get:function(){return this.getDimensions().width*t.contentScaleFactor}},{key:"mediaHeight",get:function(){return this.getDimensions().height*t.contentScaleFactor}}])&&n(e.prototype,r),s&&n(e,s),t}();e.default=s},"./src/controller/cmcd-controller.ts": +/*!*******************************************!*\ + !*** ./src/controller/cmcd-controller.ts ***! + \*******************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return h}));var i=r(/*! ../events */"./src/events.ts"),n=r(/*! ../types/cmcd */"./src/types/cmcd.ts"),s=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.ts"),a=r(/*! ../utils/logger */"./src/utils/logger.ts");function o(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);rr&&(r=s.bitrate)}return r>0?r:NaN},e.getBufferLength=function(t){var e=this.hls.media,r=t===n.CMCDObjectType.AUDIO?this.audioBuffer:this.videoBuffer;return r&&e?1e3*s.BufferHelper.bufferInfo(r,e.currentTime,this.config.maxBufferHole).len:NaN},e.createPlaylistLoader=function(){var t=this.config.pLoader,e=this.applyPlaylistData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},l(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},e.createFragmentLoader=function(){var t=this.config.fLoader,e=this.applyFragmentData,r=t||this.config.loader;return function(){function t(t){this.loader=void 0,this.loader=new r(t)}var i=t.prototype;return i.destroy=function(){this.loader.destroy()},i.abort=function(){this.loader.abort()},i.load=function(t,r,i){e(t),this.loader.load(t,r,i)},l(t,[{key:"stats",get:function(){return this.loader.stats}},{key:"context",get:function(){return this.loader.context}}]),t}()},t.uuid=function(){var t=URL.createObjectURL(new Blob),e=t.toString();return URL.revokeObjectURL(t),e.substr(e.lastIndexOf("/")+1)},t.serialize=function(t){for(var e,r=[],i=function(t){return!Number.isNaN(t)&&null!=t&&""!==t&&!1!==t},n=function(t){return Math.round(t)},s=function(t){return 100*n(t/100)},a={br:n,d:n,bl:s,dl:s,mtp:s,nor:function(t){return encodeURIComponent(t)},rtp:s,tb:n},o=u(Object.keys(t||{}).sort());!(e=o()).done;){var l=e.value,c=t[l];if(i(c)&&!("v"===l&&1===c||"pr"==l&&1===c)){var d=a[l];d&&(c=d(c));var h=typeof c,f=void 0;f="ot"===l||"sf"===l||"st"===l?l+"="+c:"boolean"===h?l:"number"===h?l+"="+c:l+"="+JSON.stringify(c),r.push(f)}}return r.join(",")},t.toHeaders=function(e){for(var r={},i=["Object","Request","Session","Status"],n=[{},{},{},{}],s={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3},a=0,o=Object.keys(e);a3)return void this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.KEY_SYSTEM_ERROR,details:n.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0});var u=3-this._requestLicenseFailureCount+1;s.logger.warn("Retrying license request, "+u+" attempts left"),this._requestLicense(r,a)}}},u._generateLicenseRequestChallenge=function(t,e){switch(t.mediaKeySystemDomain){case a.KeySystems.WIDEVINE:return e}throw new Error("unsupported key-system: "+t.mediaKeySystemDomain)},u._requestLicense=function(t,e){s.logger.log("Requesting content license for key-system");var r=this._mediaKeysList[0];if(!r)return s.logger.error("Fatal error: Media is encrypted but no key-system access has been obtained yet"),void this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.KEY_SYSTEM_ERROR,details:n.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});try{var a=this.getLicenseServerUrl(r.mediaKeySystemDomain),o=this._createLicenseXhr(a,t,e);s.logger.log("Sending license request to URL: "+a);var l=this._generateLicenseRequestChallenge(r,t);o.send(l)}catch(t){s.logger.error("Failure requesting DRM license: "+t),this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.KEY_SYSTEM_ERROR,details:n.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}},u.onMediaAttached=function(t,e){if(this._emeEnabled){var r=e.media;this._media=r,r.addEventListener("encrypted",this._onMediaEncrypted)}},u.onMediaDetached=function(){var t=this._media,e=this._mediaKeysList;t&&(t.removeEventListener("encrypted",this._onMediaEncrypted),this._media=null,this._mediaKeysList=[],Promise.all(e.map((function(t){if(t.mediaKeysSession)return t.mediaKeysSession.close().catch((function(){}))}))).then((function(){return t.setMediaKeys(null)})).catch((function(){})))},u.onManifestParsed=function(t,e){if(this._emeEnabled){var r=e.levels.map((function(t){return t.audioCodec})).filter((function(t){return!!t})),i=e.levels.map((function(t){return t.videoCodec})).filter((function(t){return!!t}));this._attemptKeySystemAccess(a.KeySystems.WIDEVINE,r,i)}},e=t,(r=[{key:"requestMediaKeySystemAccess",get:function(){if(!this._requestMediaKeySystemAccess)throw new Error("No requestMediaKeySystemAccess function configured");return this._requestMediaKeySystemAccess}}])&&o(e.prototype,r),l&&o(e,l),t}();e.default=l},"./src/controller/fps-controller.ts": +/*!******************************************!*\ + !*** ./src/controller/fps-controller.ts ***! + \******************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ../events */"./src/events.ts"),n=r(/*! ../utils/logger */"./src/utils/logger.ts"),s=function(){function t(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}var e=t.prototype;return e.setStreamController=function(t){this.streamController=t},e.registerListeners=function(){this.hls.on(i.Events.MEDIA_ATTACHING,this.onMediaAttaching,this)},e.unregisterListeners=function(){this.hls.off(i.Events.MEDIA_ATTACHING,this.onMediaAttaching)},e.destroy=function(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null},e.onMediaAttaching=function(t,e){var r=this.hls.config;if(r.capLevelOnFPSDrop){var i=e.media instanceof self.HTMLVideoElement?e.media:null;this.media=i,i&&"function"==typeof i.getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),r.fpsDroppedMonitoringPeriod)}},e.checkFPS=function(t,e,r){var s=performance.now();if(e){if(this.lastTime){var a=s-this.lastTime,o=r-this.lastDroppedFrames,l=e-this.lastDecodedFrames,u=1e3*o/a,c=this.hls;if(c.trigger(i.Events.FPS_DROP,{currentDropped:o,currentDecoded:l,totalDroppedFrames:r}),u>0&&o>c.config.fpsDroppedMonitoringThreshold*l){var d=c.currentLevel;n.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+d),d>0&&(-1===c.autoLevelCapping||c.autoLevelCapping>=d)&&(d-=1,c.trigger(i.Events.FPS_DROP_LEVEL_CAPPING,{level:d,droppedLevel:c.currentLevel}),c.autoLevelCapping=d,this.streamController.nextLevelSwitch())}}this.lastTime=s,this.lastDroppedFrames=r,this.lastDecodedFrames=e}},e.checkFPSInterval=function(){var t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)},t}();e.default=s},"./src/controller/fragment-finders.ts": +/*!********************************************!*\ + !*** ./src/controller/fragment-finders.ts ***! + \********************************************/ +/*! exports provided: findFragmentByPDT, findFragmentByPTS, fragmentWithinToleranceTest, pdtWithinToleranceTest, findFragWithCC */function(t,e,r){"use strict";r.r(e),r.d(e,"findFragmentByPDT",(function(){return s})),r.d(e,"findFragmentByPTS",(function(){return a})),r.d(e,"fragmentWithinToleranceTest",(function(){return o})),r.d(e,"pdtWithinToleranceTest",(function(){return l})),r.d(e,"findFragWithCC",(function(){return u}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../utils/binary-search */"./src/utils/binary-search.ts");function s(t,e,r){if(null===e||!Array.isArray(t)||!t.length||!Object(i.isFiniteNumber)(e))return null;if(e<(t[0].programDateTime||0))return null;if(e>=(t[t.length-1].endProgramDateTime||0))return null;r=r||0;for(var n=0;nt&&r.start?-1:0}function l(t,e,r){var i=1e3*Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return(r.endProgramDateTime||0)-i>t}function u(t,e){return n.default.search(t,(function(t){return t.cce?-1:0}))}},"./src/controller/fragment-tracker.ts": +/*!********************************************!*\ + !*** ./src/controller/fragment-tracker.ts ***! + \********************************************/ +/*! exports provided: FragmentState, FragmentTracker */function(t,e,r){"use strict";r.r(e),r.d(e,"FragmentState",(function(){return i})),r.d(e,"FragmentTracker",(function(){return a}));var i,n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../types/loader */"./src/types/loader.ts");!function(t){t.NOT_LOADED="NOT_LOADED",t.BACKTRACKED="BACKTRACKED",t.APPENDING="APPENDING",t.PARTIAL="PARTIAL",t.OK="OK"}(i||(i={}));var a=function(){function t(t){this.activeFragment=null,this.activeParts=null,this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hls=t,this._registerListeners()}var e=t.prototype;return e._registerListeners=function(){var t=this.hls;t.on(n.Events.BUFFER_APPENDED,this.onBufferAppended,this),t.on(n.Events.FRAG_BUFFERED,this.onFragBuffered,this),t.on(n.Events.FRAG_LOADED,this.onFragLoaded,this)},e._unregisterListeners=function(){var t=this.hls;t.off(n.Events.BUFFER_APPENDED,this.onBufferAppended,this),t.off(n.Events.FRAG_BUFFERED,this.onFragBuffered,this),t.off(n.Events.FRAG_LOADED,this.onFragLoaded,this)},e.destroy=function(){this._unregisterListeners(),this.fragments=this.timeRanges=null},e.getAppendedFrag=function(t,e){if(e===s.PlaylistLevelType.MAIN){var r=this.activeFragment,i=this.activeParts;if(!r)return null;if(i)for(var n=i.length;n--;){var a=i[n],o=a?a.end:r.appendedPTS;if(a.start<=t&&void 0!==o&&t<=o)return n>9&&(this.activeParts=i.slice(n-9)),a}else if(r.start<=t&&void 0!==r.appendedPTS&&t<=r.appendedPTS)return r}return this.getBufferedFrag(t,e)},e.getBufferedFrag=function(t,e){for(var r=this.fragments,i=Object.keys(r),n=i.length;n--;){var s=r[i[n]];if((null==s?void 0:s.body.type)===e&&s.buffered){var a=s.body;if(a.start<=t&&t<=a.end)return a}}return null},e.detectEvictedFragments=function(t,e,r){var i=this;Object.keys(this.fragments).forEach((function(n){var s=i.fragments[n];if(s)if(s.buffered){var a=s.range[t];a&&a.time.some((function(t){var r=!i.isTimeBuffered(t.startPTS,t.endPTS,e);return r&&i.removeFragment(s.body),r}))}else s.body.type===r&&i.removeFragment(s.body)}))},e.detectPartialFragments=function(t){var e=this,r=this.timeRanges,i=t.frag,n=t.part;if(r&&"initSegment"!==i.sn){var s=l(i),a=this.fragments[s];a&&(Object.keys(r).forEach((function(t){var s=i.elementaryStreams[t];if(s){var o=r[t],l=null!==n||!0===s.partial;a.range[t]=e.getBufferedTimes(i,n,l,o)}})),a.backtrack=a.loaded=null,Object.keys(a.range).length?a.buffered=!0:this.removeFragment(a.body))}},e.fragBuffered=function(t){var e=l(t),r=this.fragments[e];r&&(r.backtrack=r.loaded=null,r.buffered=!0)},e.getBufferedTimes=function(t,e,r,i){for(var n={time:[],partial:r},s=e?e.start:t.start,a=e?e.end:t.end,o=t.minEndPTS||a,l=t.maxStartPTS||s,u=0;u=c&&o<=d){n.time.push({startPTS:Math.max(s,i.start(u)),endPTS:Math.min(a,i.end(u))});break}if(sc)n.partial=!0,n.time.push({startPTS:Math.max(s,i.start(u)),endPTS:Math.min(a,i.end(u))});else if(a<=c)break}return n},e.getPartialFragment=function(t){var e,r,i,n=null,s=0,a=this.bufferPadding,l=this.fragments;return Object.keys(l).forEach((function(u){var c=l[u];c&&o(c)&&(r=c.body.start-a,i=c.body.end+a,t>=r&&t<=i&&(e=Math.min(t-r,i-t),s<=e&&(n=c.body,s=e)))})),n},e.getState=function(t){var e=l(t),r=this.fragments[e];return r?r.buffered?o(r)?i.PARTIAL:i.OK:r.backtrack?i.BACKTRACKED:i.APPENDING:i.NOT_LOADED},e.backtrack=function(t,e){var r=l(t),i=this.fragments[r];if(!i||i.backtrack)return null;var n=i.backtrack=e||i.loaded;return i.loaded=null,n},e.getBacktrackData=function(t){var e=l(t),r=this.fragments[e];if(r){var i,n=r.backtrack;if(null!=n&&null!==(i=n.payload)&&void 0!==i&&i.byteLength)return n;this.removeFragment(t)}return null},e.isTimeBuffered=function(t,e,r){for(var i,n,s=0;s=i&&e<=n)return!0;if(e<=i)return!1}return!1},e.onFragLoaded=function(t,e){var r=e.frag,i=e.part;if("initSegment"!==r.sn&&!r.bitrateTest&&!i){var n=l(r);this.fragments[n]={body:r,loaded:e,backtrack:null,buffered:!1,range:Object.create(null)}}},e.onBufferAppended=function(t,e){var r=this,i=e.frag,n=e.part,a=e.timeRanges;if(i.type===s.PlaylistLevelType.MAIN)if(this.activeFragment=i,n){var o=this.activeParts;o||(this.activeParts=o=[]),o.push(n)}else this.activeParts=null;this.timeRanges=a,Object.keys(a).forEach((function(t){var e=a[t];if(r.detectEvictedFragments(t,e),!n)for(var s=0;st&&i.removeFragment(a)}}))},e.removeFragment=function(t){var e=l(t);t.stats.loaded=0,t.clearElementaryStreamInfo(),delete this.fragments[e]},e.removeAllFragments=function(){this.fragments=Object.create(null),this.activeFragment=null,this.activeParts=null},t}();function o(t){var e,r;return t.buffered&&((null===(e=t.range.video)||void 0===e?void 0:e.partial)||(null===(r=t.range.audio)||void 0===r?void 0:r.partial))}function l(t){return t.type+"_"+t.level+"_"+t.urlId+"_"+t.sn}},"./src/controller/gap-controller.ts": +/*!******************************************!*\ + !*** ./src/controller/gap-controller.ts ***! + \******************************************/ +/*! exports provided: STALL_MINIMUM_DURATION_MS, MAX_START_GAP_JUMP, SKIP_BUFFER_HOLE_STEP_SECONDS, SKIP_BUFFER_RANGE_START, default */function(t,e,r){"use strict";r.r(e),r.d(e,"STALL_MINIMUM_DURATION_MS",(function(){return o})),r.d(e,"MAX_START_GAP_JUMP",(function(){return l})),r.d(e,"SKIP_BUFFER_HOLE_STEP_SECONDS",(function(){return u})),r.d(e,"SKIP_BUFFER_RANGE_START",(function(){return c})),r.d(e,"default",(function(){return d}));var i=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.ts"),n=r(/*! ../errors */"./src/errors.ts"),s=r(/*! ../events */"./src/events.ts"),a=r(/*! ../utils/logger */"./src/utils/logger.ts"),o=250,l=2,u=.1,c=.05,d=function(){function t(t,e,r,i){this.config=void 0,this.media=void 0,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=t,this.media=e,this.fragmentTracker=r,this.hls=i}var e=t.prototype;return e.destroy=function(){this.hls=this.fragmentTracker=this.media=null},e.poll=function(t){var e=this.config,r=this.media,n=this.stalled,s=r.currentTime,u=r.seeking,c=this.seeking&&!u,d=!this.seeking&&u;if(this.seeking=u,s===t){if((d||c)&&(this.stalled=null),!r.paused&&!r.ended&&0!==r.playbackRate&&i.BufferHelper.getBuffered(r).length){var h=i.BufferHelper.bufferInfo(r,s,0),f=h.len>0,g=h.nextStart||0;if(f||g){if(u){var v=h.len>l,p=!g||g-s>l&&!this.fragmentTracker.getPartialFragment(s);if(v||p)return;this.moved=!1}if(!this.moved&&null!==this.stalled){var m,y=Math.max(g,h.start||0)-s,E=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,T=(null==E||null===(m=E.details)||void 0===m?void 0:m.live)?2*E.details.targetduration:l;if(y>0&&y<=T)return void this._trySkipBufferHole(null)}var S=self.performance.now();if(null!==n){var b=S-n;!u&&b>=o&&this._reportStall(h.len);var L=i.BufferHelper.bufferInfo(r,s,e.maxBufferHole);this._tryFixBufferStall(L,b)}else this.stalled=S}}}else if(this.moved=!0,null!==n){if(this.stallReported){var A=self.performance.now()-n;a.logger.warn("playback not stuck anymore @"+s+", after "+Math.round(A)+"ms"),this.stallReported=!1}this.stalled=null,this.nudgeRetry=0}},e._tryFixBufferStall=function(t,e){var r=this.config,i=this.fragmentTracker,n=this.media.currentTime,s=i.getPartialFragment(n);s&&this._trySkipBufferHole(s)||t.len>r.maxBufferHole&&e>1e3*r.highBufferWatchdogPeriod&&(a.logger.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())},e._reportStall=function(t){var e=this.hls,r=this.media;this.stallReported||(this.stallReported=!0,a.logger.warn("Playback stalling at @"+r.currentTime+" due to low buffer (buffer="+t+")"),e.trigger(s.Events.ERROR,{type:n.ErrorTypes.MEDIA_ERROR,details:n.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!1,buffer:t}))},e._trySkipBufferHole=function(t){for(var e=this.config,r=this.hls,o=this.media,l=o.currentTime,d=0,h=i.BufferHelper.getBuffered(o),f=0;f=d&&l.05&&this.forwardBufferLength>1){var u=Math.min(2,Math.max(1,s)),c=Math.round(2/(1+Math.exp(-.75*o-this.edgeStalled))*20)/20;t.playbackRate=Math.min(u,Math.max(1,c))}else 1!==t.playbackRate&&0!==t.playbackRate&&(t.playbackRate=1)}}}}},l.estimateLiveEdge=function(){var t=this.levelDetails;return null===t?null:t.edge+t.age},l.computeLatency=function(){var t=this.estimateLiveEdge();return null===t?null:t-this.currentTime},e=t,(r=[{key:"latency",get:function(){return this._latency||0}},{key:"maxLatency",get:function(){var t=this.config,e=this.levelDetails;return void 0!==t.liveMaxLatencyDuration?t.liveMaxLatencyDuration:e?t.liveMaxLatencyDurationCount*e.targetduration:0}},{key:"targetLatency",get:function(){var t=this.levelDetails;if(null===t)return null;var e=t.holdBack,r=t.partHoldBack,i=t.targetduration,n=this.config,s=n.liveSyncDuration,a=n.liveSyncDurationCount,o=n.lowLatencyMode,l=this.hls.userConfig,u=o&&r||e;(l.liveSyncDuration||l.liveSyncDurationCount||0===u)&&(u=void 0!==s?s:a*i);var c=i;return u+Math.min(1*this.stallCount,c)}},{key:"liveSyncPosition",get:function(){var t=this.estimateLiveEdge(),e=this.targetLatency,r=this.levelDetails;if(null===t||null===e||null===r)return null;var i=r.edge,n=t-e-this.edgeStalled,s=i-r.totalduration,a=i-(this.config.lowLatencyMode&&r.partTarget||r.targetduration);return Math.min(Math.max(s,n),a)}},{key:"drift",get:function(){var t=this.levelDetails;return null===t?1:t.drift}},{key:"edgeStalled",get:function(){var t=this.levelDetails;if(null===t)return 0;var e=3*(this.config.lowLatencyMode&&t.partTarget||t.targetduration);return Math.max(t.age-e,0)}},{key:"forwardBufferLength",get:function(){var t=this.media,e=this.levelDetails;if(!t||!e)return 0;var r=t.buffered.length;return r?t.buffered.end(r-1):e.edge-this.currentTime}}])&&a(e.prototype,r),o&&a(e,o),t}()},"./src/controller/level-controller.ts": +/*!********************************************!*\ + !*** ./src/controller/level-controller.ts ***! + \********************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return g}));var i=r(/*! ../types/level */"./src/types/level.ts"),n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../errors */"./src/errors.ts"),a=r(/*! ../utils/codecs */"./src/utils/codecs.ts"),o=r(/*! ./level-helper */"./src/controller/level-helper.ts"),l=r(/*! ./base-playlist-controller */"./src/controller/base-playlist-controller.ts"),u=r(/*! ../types/loader */"./src/types/loader.ts");function c(){return(c=Object.assign||function(t){for(var e=1;e0){r=u[0].bitrate,u.sort((function(t,e){return t.bitrate-e.bitrate})),this._levels=u;for(var m=0;mthis.hls.config.fragLoadingMaxRetry&&(a=r.frag.level)):a=r.frag.level}break;case s.ErrorDetails.LEVEL_LOAD_ERROR:case s.ErrorDetails.LEVEL_LOAD_TIMEOUT:i&&(i.deliveryDirectives&&(l=!1),a=i.level),o=!0;break;case s.ErrorDetails.REMUX_ALLOC_ERROR:a=r.level,o=!0}void 0!==a&&this.recoverLevel(r,a,o,l)}}},m.recoverLevel=function(t,e,r,i){var n=t.details,s=this._levels[e];if(s.loadError++,r){if(!this.retryLoadingOrFail(t))return void(this.currentLevelIndex=-1);t.levelRetry=!0}if(i){var a=s.url.length;if(a>1&&s.loadError1){var i=(e.urlId+1)%r;this.warn("Switching to redundant URL-id "+i),this._levels.forEach((function(t){t.urlId=i})),this.level=t}},m.onFragLoaded=function(t,e){var r=e.frag;if(void 0!==r&&r.type===u.PlaylistLevelType.MAIN){var i=this._levels[r.level];void 0!==i&&(i.fragmentError=0,i.loadError=0)}},m.onLevelLoaded=function(t,e){var r,i,n=e.level,s=e.details,a=this._levels[n];if(!a)return this.warn("Invalid level index "+n),void(null!==(i=e.deliveryDirectives)&&void 0!==i&&i.skip&&(s.deltaUpdateFailed=!0));n===this.currentLevelIndex?(0===a.fragmentError&&(a.loadError=0,this.retryCount=0),this.playlistLoaded(n,e,a.details)):null!==(r=e.deliveryDirectives)&&void 0!==r&&r.skip&&(s.deltaUpdateFailed=!0)},m.onAudioTrackSwitched=function(t,e){var r=this.hls.levels[this.currentLevelIndex];if(r&&r.audioGroupIds){for(var i=-1,n=this.hls.audioTracks[e.id].groupId,s=0;s0){var i=r.urlId,s=r.url[i];if(t)try{s=t.addDirectives(s)}catch(t){this.warn("Could not construct new URL with HLS Delivery Directives: "+t)}this.log("Attempt loading level index "+e+(t?" at sn "+t.msn+" part "+t.part:"")+" with URL-id "+i+" "+s),this.clearTimer(),this.hls.trigger(n.Events.LEVEL_LOADING,{url:s,level:e,id:i,deliveryDirectives:t||null})}},m.removeLevel=function(t,e){var r=function(t,r){return r!==e},i=this._levels.filter((function(i,n){return n!==t||i.url.length>1&&void 0!==e&&(i.url=i.url.filter(r),i.audioGroupIds&&(i.audioGroupIds=i.audioGroupIds.filter(r)),i.textGroupIds&&(i.textGroupIds=i.textGroupIds.filter(r)),i.urlId=0,!0)})).map((function(t,e){var r=t.details;return null!=r&&r.fragments&&r.fragments.forEach((function(t){t.level=e})),t}));this._levels=i,this.hls.trigger(n.Events.LEVELS_UPDATED,{levels:i})},g=l,(v=[{key:"levels",get:function(){return 0===this._levels.length?null:this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(t){var e,r=this._levels;if(0!==r.length&&(this.currentLevelIndex!==t||null===(e=r[t])||void 0===e||!e.details)){if(t<0||t>=r.length){var i=t<0;if(this.hls.trigger(n.Events.ERROR,{type:s.ErrorTypes.OTHER_ERROR,details:s.ErrorDetails.LEVEL_SWITCH_ERROR,level:t,fatal:i,reason:"invalid level idx"}),i)return;t=Math.min(t,r.length-1)}this.clearTimer();var a=this.currentLevelIndex,o=r[a],l=r[t];this.log("switching to level "+t+" from "+a),this.currentLevelIndex=t;var u=c({},l,{level:t,maxBitrate:l.maxBitrate,uri:l.uri,urlId:l.urlId});delete u._urlId,this.hls.trigger(n.Events.LEVEL_SWITCHING,u);var d=l.details;if(!d||d.live){var h=this.switchParams(l.uri,null==o?void 0:o.details);this.loadPlaylist(h)}}}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(t){this.manualLevelIndex=t,void 0===this._startLevel&&(this._startLevel=t),-1!==t&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this._firstLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(t){this.level=t,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=t)}}])&&d(g.prototype,v),p&&d(g,p),l}(l.default)},"./src/controller/level-helper.ts": +/*!****************************************!*\ + !*** ./src/controller/level-helper.ts ***! + \****************************************/ +/*! exports provided: addGroupId, assignTrackIdsByGroup, updatePTS, updateFragPTSDTS, mergeDetails, mapPartIntersection, mapFragmentIntersection, adjustSliding, addSliding, computeReloadInterval, getFragmentWithSN, getPartWith */function(t,e,r){"use strict";r.r(e),r.d(e,"addGroupId",(function(){return s})),r.d(e,"assignTrackIdsByGroup",(function(){return a})),r.d(e,"updatePTS",(function(){return o})),r.d(e,"updateFragPTSDTS",(function(){return u})),r.d(e,"mergeDetails",(function(){return c})),r.d(e,"mapPartIntersection",(function(){return d})),r.d(e,"mapFragmentIntersection",(function(){return h})),r.d(e,"adjustSliding",(function(){return f})),r.d(e,"addSliding",(function(){return g})),r.d(e,"computeReloadInterval",(function(){return v})),r.d(e,"getFragmentWithSN",(function(){return p})),r.d(e,"getPartWith",(function(){return m}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../utils/logger */"./src/utils/logger.ts");function s(t,e,r){switch(e){case"audio":t.audioGroupIds||(t.audioGroupIds=[]),t.audioGroupIds.push(r);break;case"text":t.textGroupIds||(t.textGroupIds=[]),t.textGroupIds.push(r)}}function a(t){var e={};t.forEach((function(t){var r=t.groupId||"";t.id=e[r]=e[r]||0,e[r]++}))}function o(t,e,r){l(t[e],t[r])}function l(t,e){var r=e.startPTS;if(Object(i.isFiniteNumber)(r)){var n,s=0;e.sn>t.sn?(s=r-t.start,n=t):(s=t.start-r,n=e),n.duration!==s&&(n.duration=s)}else e.sn>t.sn?t.cc===e.cc&&t.minEndPTS?e.start=t.start+(t.minEndPTS-t.start):e.start=t.start+t.duration:e.start=Math.max(t.start-e.duration,0)}function u(t,e,r,s,a,o){s-r<=0&&(n.logger.warn("Fragment should have a positive duration",e),s=r+e.duration,o=a+e.duration);var u=r,c=s,d=e.startPTS,h=e.endPTS;if(Object(i.isFiniteNumber)(d)){var f=Math.abs(d-r);Object(i.isFiniteNumber)(e.deltaPTS)?e.deltaPTS=Math.max(f,e.deltaPTS):e.deltaPTS=f,u=Math.max(r,d),r=Math.min(r,d),a=Math.min(a,e.startDTS),c=Math.min(s,h),s=Math.max(s,h),o=Math.max(o,e.endDTS)}e.duration=s-r;var g=r-e.start;e.appendedPTS=s,e.start=e.startPTS=r,e.maxStartPTS=u,e.startDTS=a,e.endPTS=s,e.minEndPTS=c,e.endDTS=o;var v,p=e.sn;if(!t||pt.endSN)return 0;var m=p-t.startSN,y=t.fragments;for(y[m]=e,v=m;v>0;v--)l(y[v],y[v-1]);for(v=m;v=0;a--){var o=s[a].initSegment;if(o){r=o;break}}t.fragmentHint&&delete t.fragmentHint.endPTS;var l,c=0;if(h(t,e,(function(t,n){t.relurl&&(c=t.cc-n.cc),Object(i.isFiniteNumber)(t.startPTS)&&Object(i.isFiniteNumber)(t.endPTS)&&(n.start=n.startPTS=t.startPTS,n.startDTS=t.startDTS,n.appendedPTS=t.appendedPTS,n.maxStartPTS=t.maxStartPTS,n.endPTS=t.endPTS,n.endDTS=t.endDTS,n.minEndPTS=t.minEndPTS,n.duration=t.endPTS-t.startPTS,n.duration&&(l=n),e.PTSKnown=e.alignedSliding=!0),n.elementaryStreams=t.elementaryStreams,n.loader=t.loader,n.stats=t.stats,n.urlId=t.urlId,t.initSegment&&(n.initSegment=t.initSegment,r=t.initSegment)})),r&&(e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments).forEach((function(t){var e;t.initSegment&&t.initSegment.relurl!==(null===(e=r)||void 0===e?void 0:e.relurl)||(t.initSegment=r)})),e.skippedSegments&&(e.deltaUpdateFailed=e.fragments.some((function(t){return!t})),e.deltaUpdateFailed)){n.logger.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(var g=e.skippedSegments;g--;)e.fragments.shift();e.startSN=e.fragments[0].sn,e.startCC=e.fragments[0].cc}var v=e.fragments;if(c){n.logger.warn("discontinuity sliding from playlist, take drift into account");for(var p=0;p=i.length||g(e,i[r].start)}function g(t,e){if(e){for(var r=t.fragments,i=t.skippedSegments;i0&&s<3*i,o=e.loading.end-e.loading.start,l=t.availabilityDelay;if(!1===t.updated)if(a){var u=333*t.misses;r=Math.max(Math.min(n,2*o),u),t.availabilityDelay=(t.availabilityDelay||0)+r}else r=n;else a?(l=Math.min(l||i/2,s),t.availabilityDelay=l,r=l+i-s):r=i-o;return Math.round(r)}function p(t,e,r){if(!t||!t.details)return null;var i=t.details,n=i.fragments[e-i.startSN];return n||((n=i.fragmentHint)&&n.sn===e?n:e0&&-1===t&&(this.log("Override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=n.State.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this._forceStartLoad=!0,this.state=n.State.STOPPED},b.stopLoad=function(){this._forceStartLoad=!1,t.prototype.stopLoad.call(this)},b.doTick=function(){switch(this.state){case n.State.IDLE:this.doTickIdle();break;case n.State.WAITING_LEVEL:var t,e=this.levels,r=this.level,i=null==e||null===(t=e[r])||void 0===t?void 0:t.details;if(i&&(!i.live||this.levelLastLoaded===this.level)){if(this.waitForCdnTuneIn(i))break;this.state=n.State.IDLE;break}break;case n.State.FRAG_LOADING_WAITING_RETRY:var s,a=self.performance.now(),o=this.retryDate;(!o||a>=o||null!==(s=this.media)&&void 0!==s&&s.seeking)&&(this.log("retryDate reached, switch back to IDLE state"),this.state=n.State.IDLE)}this.onTickEnd()},b.onTickEnd=function(){t.prototype.onTickEnd.call(this),this.checkBuffer(),this.checkFragmentChanged()},b.doTickIdle=function(){var t,e,r=this.hls,i=this.levelLastLoaded,s=this.levels,o=this.media,d=r.config,h=r.nextLoadLevel;if(null!==i&&(o||!this.startFragRequested&&d.startFragPrefetch)&&(!this.altAudio||!this.audioOnly)&&s&&s[h]){var f=s[h];this.level=r.nextLoadLevel=h;var g=f.details;if(!g||this.state===n.State.WAITING_LEVEL||g.live&&this.levelLastLoaded!==h)this.state=n.State.WAITING_LEVEL;else{var v=this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:o,u.PlaylistLevelType.MAIN);if(null!==v&&!(v.len>=this.getMaxBufferLength(f.maxBitrate))){if(this._streamEnded(v,g)){var p={};return this.altAudio&&(p.type="video"),this.hls.trigger(a.Events.BUFFER_EOS,p),void(this.state=n.State.ENDED)}var m=v.end,y=this.getNextFragment(m,g);if(this.couldBacktrack&&!this.fragPrevious&&y&&"initSegment"!==y.sn){var E=y.sn-g.startSN;E>1&&(y=g.fragments[E-1],this.fragmentTracker.removeFragment(y))}if(y&&this.fragmentTracker.getState(y)===l.FragmentState.OK&&this.nextLoadPosition>m){var T=this.audioOnly&&!this.altAudio?c.ElementaryStreamTypes.AUDIO:c.ElementaryStreamTypes.VIDEO;this.afterBufferFlushed(o,T,u.PlaylistLevelType.MAIN),y=this.getNextFragment(this.nextLoadPosition,g)}y&&(!y.initSegment||y.initSegment.data||this.bitrateTest||(y=y.initSegment),"identity"!==(null===(t=y.decryptdata)||void 0===t?void 0:t.keyFormat)||null!==(e=y.decryptdata)&&void 0!==e&&e.key?this.loadFragment(y,g,m):this.loadKey(y,g))}}}},b.loadFragment=function(e,r,i){var n,s=this.fragmentTracker.getState(e);if(this.fragCurrent=e,s===l.FragmentState.BACKTRACKED){var a=this.fragmentTracker.getBacktrackData(e);if(a)return this._handleFragmentLoadProgress(a),void this._handleFragmentLoadComplete(a);s=l.FragmentState.NOT_LOADED}s===l.FragmentState.NOT_LOADED||s===l.FragmentState.PARTIAL?"initSegment"===e.sn?this._loadInitSegment(e):this.bitrateTest?(e.bitrateTest=!0,this.log("Fragment "+e.sn+" of level "+e.level+" is being downloaded to test bitrate and will not be buffered"),this._loadBitrateTestFrag(e)):(this.startFragRequested=!0,t.prototype.loadFragment.call(this,e,r,i)):s===l.FragmentState.APPENDING?this.reduceMaxBufferLength(e.duration)&&this.fragmentTracker.removeFragment(e):0===(null===(n=this.media)||void 0===n?void 0:n.buffered.length)&&this.fragmentTracker.removeAllFragments()},b.getAppendedFrag=function(t){var e=this.fragmentTracker.getAppendedFrag(t,u.PlaylistLevelType.MAIN);return e&&"fragment"in e?e.fragment:e},b.getBufferedFrag=function(t){return this.fragmentTracker.getBufferedFrag(t,u.PlaylistLevelType.MAIN)},b.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.end+.5):null},b.immediateLevelSwitch=function(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},b.nextLevelSwitch=function(){var t=this.levels,e=this.media;if(null!=e&&e.readyState){var r,i=this.getAppendedFrag(e.currentTime);if(i&&i.start>1&&this.flushMainBuffer(0,i.start-1),!e.paused&&t){var n=t[this.hls.nextLoadLevel],s=this.fragLastKbps;r=s&&this.fragCurrent?this.fragCurrent.duration*n.maxBitrate/(1e3*s)+1:0}else r=0;var a=this.getBufferedFrag(e.currentTime+r);if(a){var o=this.followingBufferedFrag(a);if(o){this.abortCurrentFrag();var l=o.maxStartPTS?o.maxStartPTS:o.start,u=o.duration,c=Math.max(a.end,l+Math.min(Math.max(u-this.config.maxFragLookUpTolerance,.5*u),.75*u));this.flushMainBuffer(c,Number.POSITIVE_INFINITY)}}}},b.abortCurrentFrag=function(){var t=this.fragCurrent;this.fragCurrent=null,null!=t&&t.loader&&t.loader.abort(),this.state===n.State.KEY_LOADING&&(this.state=n.State.IDLE),this.nextLoadPosition=this.getLoadPosition()},b.flushMainBuffer=function(e,r){t.prototype.flushMainBuffer.call(this,e,r,this.altAudio?"video":null)},b.onMediaAttached=function(e,r){t.prototype.onMediaAttached.call(this,e,r);var i=r.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),i.addEventListener("playing",this.onvplaying),i.addEventListener("seeked",this.onvseeked),this.gapController=new f.default(this.config,i,this.fragmentTracker,this.hls)},b.onMediaDetaching=function(){var e=this.media;e&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),t.prototype.onMediaDetaching.call(this)},b.onMediaPlaying=function(){this.tick()},b.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:null;Object(i.isFiniteNumber)(e)&&this.log("Media seeked to "+e.toFixed(3)),this.tick()},b.onManifestLoading=function(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(a.Events.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=this.stalled=!1,this.startPosition=this.lastCurrentTime=0,this.fragPlaying=null},b.onManifestParsed=function(t,e){var r,i=!1,n=!1;e.levels.forEach((function(t){(r=t.audioCodec)&&(-1!==r.indexOf("mp4a.40.2")&&(i=!0),-1!==r.indexOf("mp4a.40.5")&&(n=!0))})),this.audioCodecSwitch=i&&n&&!Object(s.changeTypeSupported)(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1},b.onLevelLoading=function(t,e){var r=this.levels;if(r&&this.state===n.State.IDLE){var i=r[e.level];(!i.details||i.details.live&&this.levelLastLoaded!==e.level||this.waitForCdnTuneIn(i.details))&&(this.state=n.State.WAITING_LEVEL)}},b.onLevelLoaded=function(t,e){var r,i=this.levels,s=e.level,o=e.details,l=o.totalduration;if(i){this.log("Level "+s+" loaded ["+o.startSN+","+o.endSN+"], cc ["+o.startCC+", "+o.endCC+"] duration:"+l);var u=this.fragCurrent;!u||this.state!==n.State.FRAG_LOADING&&this.state!==n.State.FRAG_LOADING_WAITING_RETRY||u.level!==e.level&&u.loader&&(this.state=n.State.IDLE,u.loader.abort());var c=i[s],d=0;if(o.live||null!==(r=c.details)&&void 0!==r&&r.live){if(o.fragments[0]||(o.deltaUpdateFailed=!0),o.deltaUpdateFailed)return;d=this.alignPlaylists(o,c.details)}if(c.details=o,this.levelLastLoaded=s,this.hls.trigger(a.Events.LEVEL_UPDATED,{details:o,level:s}),this.state===n.State.WAITING_LEVEL){if(this.waitForCdnTuneIn(o))return;this.state=n.State.IDLE}this.startFragRequested?o.live&&this.synchronizeToLiveEdge(o):this.setStartPosition(o,d),this.tick()}else this.warn("Levels were reset while loading level "+s)},b._handleFragmentLoadProgress=function(t){var e,r=t.frag,i=t.part,n=t.payload,s=this.levels;if(s){var a=s[r.level],o=a.details;if(o){var l=a.videoCodec,c=o.PTSKnown||!o.live,f=null===(e=r.initSegment)||void 0===e?void 0:e.data,g=this._getAudioCodec(a),v=this.transmuxer=this.transmuxer||new d.default(this.hls,u.PlaylistLevelType.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),p=i?i.index:-1,m=-1!==p,y=new h.ChunkMetadata(r.level,r.sn,r.stats.chunkCount,n.byteLength,p,m),E=this.initPTS[r.cc];v.push(n,f,g,l,r,i,o.totalduration,c,y,E)}else this.warn("Dropping fragment "+r.sn+" of level "+r.level+" after level details were reset")}else this.warn("Levels were reset while fragment load was in progress. Fragment "+r.sn+" of level "+r.level+" will not be buffered")},b.onAudioTrackSwitching=function(t,e){var r=this.altAudio,i=!!e.url,n=e.id;if(!i){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var s=this.fragCurrent;null!=s&&s.loader&&(this.log("Switching to main audio track, cancel main fragment load"),s.loader.abort()),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();var o=this.hls;r&&o.trigger(a.Events.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),o.trigger(a.Events.AUDIO_TRACK_SWITCHED,{id:n})}},b.onAudioTrackSwitched=function(t,e){var r=e.id,i=!!this.hls.audioTracks[r].url;if(i){var n=this.videoBuffer;n&&this.mediaBuffer!==n&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=n)}this.altAudio=i,this.tick()},b.onBufferCreated=function(t,e){var r,i,n=e.tracks,s=!1;for(var a in n){var o=n[a];if("main"===o.id){if(i=a,r=o,"video"===a){var l=n[a];l&&(this.videoBuffer=l.buffer)}}else s=!0}s&&r?(this.log("Alternate track found, use "+i+".buffered to schedule main fragment loading"),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media},b.onFragBuffered=function(t,e){var r=e.frag,i=e.part;if(!r||r.type===u.PlaylistLevelType.MAIN){if(this.fragContextChanged(r))return this.warn("Fragment "+r.sn+(i?" p: "+i.index:"")+" of level "+r.level+" finished buffering, but was aborted. state: "+this.state),void(this.state===n.State.PARSED&&(this.state=n.State.IDLE));var s=i?i.stats:r.stats;this.fragLastKbps=Math.round(8*s.total/(s.buffering.end-s.loading.first)),"initSegment"!==r.sn&&(this.fragPrevious=r),this.fragBufferedComplete(r,i)}},b.onError=function(t,e){switch(e.details){case g.ErrorDetails.FRAG_LOAD_ERROR:case g.ErrorDetails.FRAG_LOAD_TIMEOUT:case g.ErrorDetails.KEY_LOAD_ERROR:case g.ErrorDetails.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.PlaylistLevelType.MAIN,e);break;case g.ErrorDetails.LEVEL_LOAD_ERROR:case g.ErrorDetails.LEVEL_LOAD_TIMEOUT:this.state!==n.State.ERROR&&(e.fatal?(this.warn(""+e.details),this.state=n.State.ERROR):e.levelRetry||this.state!==n.State.WAITING_LEVEL||(this.state=n.State.IDLE));break;case g.ErrorDetails.BUFFER_FULL_ERROR:if("main"===e.parent&&(this.state===n.State.PARSING||this.state===n.State.PARSED)){var r=!0,i=this.getFwdBufferInfo(this.media,u.PlaylistLevelType.MAIN);i&&i.len>.5&&(r=!this.reduceMaxBufferLength(i.len)),r&&(this.warn("buffer full error also media.currentTime is not buffered, flush main"),this.immediateLevelSwitch()),this.resetLoadingState()}}},b.checkBuffer=function(){var t=this.media,e=this.gapController;if(t&&e&&t.readyState){var r=o.BufferHelper.getBuffered(t);!this.loadedmetadata&&r.length?(this.loadedmetadata=!0,this.seekToStartPos()):e.poll(this.lastCurrentTime),this.lastCurrentTime=t.currentTime}},b.onFragLoadEmergencyAborted=function(){this.state=n.State.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()},b.onBufferFlushed=function(t,e){var r=e.type;if(r!==c.ElementaryStreamTypes.AUDIO||this.audioOnly&&!this.altAudio){var i=(r===c.ElementaryStreamTypes.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(i,r,u.PlaylistLevelType.MAIN)}},b.onLevelsUpdated=function(t,e){this.levels=e.levels},b.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},b.seekToStartPos=function(){var t=this.media,e=t.currentTime,r=this.startPosition;if(r>=0&&e0&&(n1&&!1===t.seeking){var r=t.currentTime;if(o.BufferHelper.isBuffered(t,r)?e=this.getAppendedFrag(r):o.BufferHelper.isBuffered(t,r+.1)&&(e=this.getAppendedFrag(r+.1)),e){var i=this.fragPlaying,n=e.level;i&&e.sn===i.sn&&i.level===n&&e.urlId===i.urlId||(this.hls.trigger(a.Events.FRAG_CHANGED,{frag:e}),i&&i.level===n||this.hls.trigger(a.Events.LEVEL_SWITCHED,{level:n}),this.fragPlaying=e)}}},E=y,(T=[{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"currentLevel",get:function(){var t=this.media;if(t){var e=this.getAppendedFrag(t.currentTime);if(e)return e.level}return-1}},{key:"nextBufferedFrag",get:function(){var t=this.media;if(t){var e=this.getAppendedFrag(t.currentTime);return this.followingBufferedFrag(e)}return null}},{key:"forceStartLoad",get:function(){return this._forceStartLoad}}])&&p(E.prototype,T),S&&p(E,S),y}(n.default)},"./src/controller/subtitle-stream-controller.ts": +/*!******************************************************!*\ + !*** ./src/controller/subtitle-stream-controller.ts ***! + \******************************************************/ +/*! exports provided: SubtitleStreamController */function(t,e,r){"use strict";r.r(e),r.d(e,"SubtitleStreamController",(function(){return v}));var i=r(/*! ../events */"./src/events.ts"),n=r(/*! ../utils/logger */"./src/utils/logger.ts"),s=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.ts"),a=r(/*! ./fragment-finders */"./src/controller/fragment-finders.ts"),o=r(/*! ../utils/discontinuities */"./src/utils/discontinuities.ts"),l=r(/*! ./level-helper */"./src/controller/level-helper.ts"),u=r(/*! ./fragment-tracker */"./src/controller/fragment-tracker.ts"),c=r(/*! ./base-stream-controller */"./src/controller/base-stream-controller.ts"),d=r(/*! ../types/loader */"./src/types/loader.ts"),h=r(/*! ../types/level */"./src/types/level.ts");function f(t,e){for(var r=0;r=n[o].start&&a<=n[o].end){s=n[o];break}var l=r.start+r.duration;s?s.end=l:(s={start:a,end:l},n.push(s)),this.fragmentTracker.fragBuffered(r)}}},E.onBufferFlushing=function(t,e){var r=e.startOffset,i=e.endOffset;if(0===r&&i!==Number.POSITIVE_INFINITY){var n=this.currentTrackId,s=this.levels;if(!s.length||!s[n]||!s[n].details)return;var a=i-s[n].details.targetduration;if(a<=0)return;e.endOffsetSubtitles=Math.max(0,a),this.tracksBuffered.forEach((function(t){for(var e=0;e=u.length||n!==s)&&d){if(this.mediaBuffer=this.mediaBufferTimeRanges,i.live||null!==(r=d.details)&&void 0!==r&&r.live){var h=this.mainDetails;if(i.deltaUpdateFailed||!h)return;var f=h.fragments[0];d.details?0===this.alignPlaylists(i,d.details)&&f&&Object(l.addSliding)(i,f.start):i.hasProgramDateTime&&h.hasProgramDateTime?Object(o.alignMediaPlaylistByPDT)(i,h):f&&Object(l.addSliding)(i,f.start)}d.details=i,this.levelLastLoaded=n,this.tick(),i.live&&!this.fragCurrent&&this.media&&this.state===c.State.IDLE&&(Object(a.findFragmentByPTS)(null,i.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),d.details=void 0))}}},E._handleFragmentLoadComplete=function(t){var e=t.frag,r=t.payload,n=e.decryptdata,s=this.hls;if(!this.fragContextChanged(e)&&r&&r.byteLength>0&&n&&n.key&&n.iv&&"AES-128"===n.method){var a=performance.now();this.decrypter.webCryptoDecrypt(new Uint8Array(r),n.key.buffer,n.iv.buffer).then((function(t){var r=performance.now();s.trigger(i.Events.FRAG_DECRYPTED,{frag:e,payload:t,stats:{tstart:a,tdecrypt:r}})}))}},E.doTick=function(){if(this.media){if(this.state===c.State.IDLE){var t,e=this.currentTrackId,r=this.levels;if(!r.length||!r[e]||!r[e].details)return;var o=r[e].details,l=o.targetduration,d=this.config,h=this.media,f=s.BufferHelper.bufferedInfo(this.mediaBufferTimeRanges,h.currentTime-l,d.maxBufferHole),g=f.end;if(f.len>this.getMaxBufferLength()+l)return;console.assert(o,"Subtitle track details are defined on idle subtitle stream controller tick");var v,p=o.fragments,m=p.length,y=o.edge,E=this.fragPrevious;if(g-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))},f.pollTrackChange=function(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.trackChangeListener,t)},f.onMediaDetaching=function(){this.media&&(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),c(this.media.textTracks).forEach((function(t){Object(n.clearCurrentCues)(t)})),this.subtitleTrack=-1,this.media=null)},f.onManifestLoading=function(){this.tracks=[],this.groupId=null,this.tracksInGroup=[],this.trackId=-1,this.selectDefaultTrack=!0},f.onManifestParsed=function(t,e){this.tracks=e.subtitleTracks},f.onSubtitleTrackLoaded=function(t,e){var r=e.id,i=e.details,n=this.trackId,s=this.tracksInGroup[n];if(s){var a=s.details;s.details=e.details,this.log("subtitle track "+r+" loaded ["+i.startSN+"-"+i.endSN+"]"),r===this.trackId&&(this.retryCount=0,this.playlistLoaded(r,e,a))}else this.warn("Invalid subtitle track id "+r)},f.onLevelLoading=function(t,e){this.switchLevel(e.level)},f.onLevelSwitching=function(t,e){this.switchLevel(e.level)},f.switchLevel=function(t){var e=this.hls.levels[t];if(null!=e&&e.textGroupIds){var r=e.textGroupIds[e.urlId];if(this.groupId!==r){var n=this.tracksInGroup?this.tracksInGroup[this.trackId]:void 0,s=this.tracks.filter((function(t){return!r||t.groupId===r}));this.tracksInGroup=s;var a=this.findTrackId(null==n?void 0:n.name)||this.findTrackId();this.groupId=r;var o={subtitleTracks:s};this.log("Updating subtitle tracks, "+s.length+' track(s) found in "'+r+'" group-id'),this.hls.trigger(i.Events.SUBTITLE_TRACKS_UPDATED,o),-1!==a&&this.setSubtitleTrack(a,n)}}},f.findTrackId=function(t){for(var e=this.tracksInGroup,r=0;r=n.length)){this.clearTimer();var s=n[t];if(this.log("Switching to subtitle track "+t),this.trackId=t,s){var a=s.id,o=s.groupId,l=void 0===o?"":o,u=s.name,c=s.type,d=s.url;this.hls.trigger(i.Events.SUBTITLE_TRACK_SWITCH,{id:a,groupId:l,name:u,type:c,url:d});var h=this.switchParams(s.url,null==e?void 0:e.details);this.loadPlaylist(h)}else this.hls.trigger(i.Events.SUBTITLE_TRACK_SWITCH,{id:t})}}else this.queuedDefaultTrack=t},f.onTextTracksChanged=function(){if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),this.media&&this.hls.config.renderTextTracksNatively){for(var t=-1,e=c(this.media.textTracks),r=0;r=0&&(h[0]=Math.min(h[0],e),h[1]=Math.max(h[1],r),c=!0,f/(r-e)>.5))return}if(c||s.push([e,r]),this.config.renderTextTracksNatively){var g=this.captionsTracks[t];this.Cues.newCue(g,e,r,i)}else{var v=this.Cues.newCue(null,e,r,i);this.hls.trigger(n.Events.CUES_PARSED,{type:"captions",cues:v,track:t})}},e.onInitPtsFound=function(t,e){var r=this,i=e.frag,s=e.id,a=e.initPTS,o=e.timescale,l=this.unparsedVttFrags;"main"===s&&(this.initPTS[i.cc]=a,this.timescale[i.cc]=o),l.length&&(this.unparsedVttFrags=[],l.forEach((function(t){r.onFragLoaded(n.Events.FRAG_LOADED,t)})))},e.getExistingTrack=function(t){var e=this.media;if(e)for(var r=0;r>>8^255&p^99,t[f]=p,e[p]=f;var m=h[f],y=h[m],E=h[y],T=257*h[p]^16843008*p;i[f]=T<<24|T>>>8,n[f]=T<<16|T>>>16,s[f]=T<<8|T>>>24,a[f]=T,T=16843009*E^65537*y^257*m^16843008*f,l[p]=T<<24|T>>>8,u[p]=T<<16|T>>>16,c[p]=T<<8|T>>>24,d[p]=T,f?(f=m^h[h[h[E^m]]],g^=h[h[g]]):f=g=1}},e.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),r=!0,i=0;i>>6);var g=(60&e[r+2])>>>2;if(!(g>f.length-1))return u=(1&e[r+2])<<2,u|=(192&e[r+3])>>>6,i.logger.log("manifest codec:"+a+", ADTS type:"+o+", samplingIndex:"+g),/firefox/i.test(d)?g>=6?(o=5,c=new Array(4),l=g-3):(o=2,c=new Array(2),l=g):-1!==d.indexOf("android")?(o=2,c=new Array(2),l=g):(o=5,c=new Array(4),a&&(-1!==a.indexOf("mp4a.40.29")||-1!==a.indexOf("mp4a.40.5"))||!a&&g>=6?l=g-3:((a&&-1!==a.indexOf("mp4a.40.2")&&(g>=6&&1===u||/vivaldi/i.test(d))||!a&&1===u)&&(o=2,c=new Array(2)),l=g)),c[0]=o<<3,c[0]|=(14&g)>>1,c[1]|=(1&g)<<7,c[1]|=u<<3,5===o&&(c[1]|=(14&l)>>1,c[2]=(1&l)<<7,c[2]|=8,c[3]=0),{config:c,samplerate:f[g],channelCount:u,codec:"mp4a.40."+o,manifestCodec:h};t.trigger(s.Events.ERROR,{type:n.ErrorTypes.MEDIA_ERROR,details:n.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+g})}function o(t,e){return 255===t[e]&&240==(246&t[e+1])}function l(t,e){return 1&t[e+1]?7:9}function u(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function c(t,e){return e+5=t.length)return!1;var i=u(t,e);if(i<=r)return!1;var n=e+i;return n===t.length||d(t,n)}return!1}function g(t,e,r,n,s){if(!t.samplerate){var o=a(e,r,n,s);if(!o)return;t.config=o.config,t.samplerate=o.samplerate,t.channelCount=o.channelCount,t.codec=o.codec,t.manifestCodec=o.manifestCodec,i.logger.log("parsed codec:"+t.codec+", rate:"+o.samplerate+", channels:"+o.channelCount)}}function v(t){return 9216e4/t}function p(t,e,r,i,n){var s=l(t,e),a=u(t,e);if((a-=s)>0)return{headerLength:s,frameLength:a,stamp:r+i*n}}function m(t,e,r,i,n){var s=p(e,r,i,n,v(t.samplerate));if(s){var a,o=s.frameLength,l=s.headerLength,u=s.stamp,c=l+o,d=Math.max(0,r+c-e.length);d?(a=new Uint8Array(c-l)).set(e.subarray(r+l,e.length),0):a=e.subarray(r+l,r+c);var h={unit:a,pts:u};return d||t.samples.push(h),{sample:h,length:c,missing:d}}}},"./src/demux/base-audio-demuxer.ts": +/*!*****************************************!*\ + !*** ./src/demux/base-audio-demuxer.ts ***! + \*****************************************/ +/*! exports provided: initPTSFn, default */function(t,e,r){"use strict";r.r(e),r.d(e,"initPTSFn",(function(){return u}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../demux/id3 */"./src/demux/id3.ts"),s=r(/*! ./dummy-demuxed-track */"./src/demux/dummy-demuxed-track.ts"),a=r(/*! ../utils/mp4-tools */"./src/utils/mp4-tools.ts"),o=r(/*! ../utils/typed-array */"./src/utils/typed-array.ts"),l=function(){function t(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.initPTS=null}var e=t.prototype;return e.resetInitSegment=function(t,e,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}},e.resetTimeStamp=function(){},e.resetContiguity=function(){},e.canParse=function(t,e){return!1},e.appendFrame=function(t,e,r){},e.demux=function(t,e){this.cachedData&&(t=Object(a.appendUint8Array)(this.cachedData,t),this.cachedData=null);var r,i,l=n.getID3Data(t,0),c=l?l.length:0,d=this._audioTrack,h=this._id3Track,f=l?n.getTimeStamp(l):void 0,g=t.length;for(0!==this.frameIndex&&null!==this.initPTS||(this.initPTS=u(f,e)),l&&l.length>0&&h.samples.push({pts:this.initPTS,dts:this.initPTS,data:l}),i=this.initPTS;ct?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,t-=(e=t>>3)>>3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},e.readBits=function(t){var e=Math.min(this.bitsAvailable,t),r=this.word>>>32-e;return t>32&&i.logger.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0?this.word<<=e:this.bytesAvailable>0&&this.loadWord(),(e=t-e)>0&&this.bitsAvailable?r<>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},e.skipUEG=function(){this.skipBits(1+this.skipLZ())},e.skipEG=function(){this.skipBits(1+this.skipLZ())},e.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},e.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},e.readBoolean=function(){return 1===this.readBits(1)},e.readUByte=function(){return this.readBits(8)},e.readUShort=function(){return this.readBits(16)},e.readUInt=function(){return this.readBits(32)},e.skipScalingList=function(t){for(var e=8,r=8,i=0;i0)return t.subarray(r,r+i)},o=function(t,e){var r=0;return r=(127&t[e])<<21,r|=(127&t[e+1])<<14,r|=(127&t[e+2])<<7,r|=127&t[e+3]},l=function(t,e){return n(t,e)&&o(t,e+6)+10<=t.length-e},u=function(t){for(var e=h(t),r=0;r>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:u+=String.fromCharCode(s);break;case 12:case 13:a=t[c++],u+=String.fromCharCode((31&s)<<6|63&a);break;case 14:a=t[c++],o=t[c++],u+=String.fromCharCode((15&s)<<12|(63&a)<<6|(63&o)<<0)}}return u},E={decodeTextFrame:v};function T(){return i||void 0===self.TextDecoder||(i=new self.TextDecoder("utf-8")),i}},"./src/demux/mp3demuxer.ts": +/*!*********************************!*\ + !*** ./src/demux/mp3demuxer.ts ***! + \*********************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ./base-audio-demuxer */"./src/demux/base-audio-demuxer.ts"),n=r(/*! ../demux/id3 */"./src/demux/id3.ts"),s=r(/*! ../utils/logger */"./src/utils/logger.ts"),a=r(/*! ./mpegaudio */"./src/demux/mpegaudio.ts");function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var l=function(t){var e,r;function i(){return t.apply(this,arguments)||this}r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,o(e,r);var l=i.prototype;return l.resetInitSegment=function(e,r,i){t.prototype.resetInitSegment.call(this,e,r,i),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,isAAC:!1,samples:[],manifestCodec:e,duration:i,inputTimeScale:9e4,dropped:0}},i.probe=function(t){if(!t)return!1;for(var e=(n.getID3Data(t,0)||[]).length,r=t.length;e0},e.demux=function(t){var e=t,r=Object(n.dummyTrack)();if(this.config.progressive){this.remainderData&&(e=Object(i.appendUint8Array)(this.remainderData,t));var s=Object(i.segmentValidRange)(e);this.remainderData=s.remainder,r.samples=s.valid||new Uint8Array}else r.samples=e;return{audioTrack:Object(n.dummyTrack)(),avcTrack:r,id3Track:Object(n.dummyTrack)(),textTrack:Object(n.dummyTrack)()}},e.flush=function(){var t=Object(n.dummyTrack)();return t.samples=this.remainderData||new Uint8Array,this.remainderData=null,{audioTrack:Object(n.dummyTrack)(),avcTrack:t,id3Track:Object(n.dummyTrack)(),textTrack:Object(n.dummyTrack)()}},e.demuxSampleAes=function(t,e,r){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))},e.destroy=function(){},t}();s.minProbeByteLength=1024,e.default=s},"./src/demux/mpegaudio.ts": +/*!********************************!*\ + !*** ./src/demux/mpegaudio.ts ***! + \********************************/ +/*! exports provided: appendFrame, parseHeader, isHeaderPattern, isHeader, canParse, probe */function(t,e,r){"use strict";r.r(e),r.d(e,"appendFrame",(function(){return l})),r.d(e,"parseHeader",(function(){return u})),r.d(e,"isHeaderPattern",(function(){return c})),r.d(e,"isHeader",(function(){return d})),r.d(e,"canParse",(function(){return h})),r.d(e,"probe",(function(){return f}));var i=null,n=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],s=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],a=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],o=[0,1,1,4];function l(t,e,r,i,n){if(!(r+24>e.length)){var s=u(e,r);if(s&&r+s.frameLength<=e.length){var a=i+n*(9e4*s.samplesPerFrame/s.sampleRate),o={unit:e.subarray(r,r+s.frameLength),pts:a,dts:a};return t.config=[],t.channelCount=s.channelCount,t.samplerate=s.sampleRate,t.samples.push(o),{sample:o,length:s.frameLength,missing:0}}}}function u(t,e){var r=t[e+1]>>3&3,l=t[e+1]>>1&3,u=t[e+2]>>4&15,c=t[e+2]>>2&3;if(1!==r&&0!==u&&15!==u&&3!==c){var d=t[e+2]>>1&1,h=t[e+3]>>6,f=1e3*n[14*(3===r?3-l:3===l?3:4)+u-1],g=s[3*(3===r?0:2===r?1:2)+c],v=3===h?1:2,p=a[r][l],m=o[l],y=8*p*m,E=Math.floor(p*f/g+d)*m;if(null===i){var T=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);i=T?parseInt(T[1]):0}return!!i&&i<=87&&2===l&&f>=224e3&&0===h&&(t[e+3]=128|t[e+3]),{sampleRate:g,channelCount:v,frameLength:E,samplesPerFrame:y}}}function c(t,e){return 255===t[e]&&224==(224&t[e+1])&&0!=(6&t[e+1])}function d(t,e){return e+1=t.length)return void r();if(!(t[e].unit.length<32)){var i=this.decrypter.isSync();if(this.decryptAacSample(t,e,r,i),!i)return}}},e.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,r=new Int8Array(e),i=0,n=32;n<=t.length-16;n+=160,i+=16)r.set(t.subarray(n,n+16),i);return r},e.getAvcDecryptedUnit=function(t,e){for(var r=new Uint8Array(e),i=0,n=32;n<=t.length-16;n+=160,i+=16)t.set(r.subarray(i,i+16),n);return t},e.decryptAvcSample=function(t,e,r,i,s,a){var o=Object(n.discardEPB)(s.data),l=this.getAvcEncryptedData(o),u=this;this.decryptBuffer(l.buffer,(function(n){s.data=u.getAvcDecryptedUnit(o,n),a||u.decryptAvcSamples(t,e,r+1,i)}))},e.decryptAvcSamples=function(t,e,r,i){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;e++,r=0){if(e>=t.length)return void i();for(var n=t[e].units;!(r>=n.length);r++){var s=n[r];if(!(s.data.length<=48||1!==s.type&&5!==s.type)){var a=this.decrypter.isSync();if(this.decryptAvcSample(t,e,r,i,s,a),!a)return}}}},t}();e.default=s},"./src/demux/transmuxer-interface.ts": +/*!*******************************************!*\ + !*** ./src/demux/transmuxer-interface.ts ***! + \*******************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return d}));var i=r(/*! webworkify-webpack */"./node_modules/webworkify-webpack/index.js"),n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../demux/transmuxer */"./src/demux/transmuxer.ts"),a=r(/*! ../utils/logger */"./src/utils/logger.ts"),o=r(/*! ../errors */"./src/errors.ts"),l=r(/*! ../utils/mediasource-helper */"./src/utils/mediasource-helper.ts"),u=r(/*! eventemitter3 */"./node_modules/eventemitter3/index.js"),c=Object(l.getMediaSource)()||{isTypeSupported:function(){return!1}},d=function(){function t(t,e,r,l){var d=this;this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.worker=void 0,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.hls=t,this.id=e,this.onTransmuxComplete=r,this.onFlush=l;var h=t.config,f=function(e,r){(r=r||{}).frag=d.frag,r.id=d.id,t.trigger(e,r)};this.observer=new u.EventEmitter,this.observer.on(n.Events.FRAG_DECRYPTED,f),this.observer.on(n.Events.ERROR,f);var g={mp4:c.isTypeSupported("video/mp4"),mpeg:c.isTypeSupported("audio/mpeg"),mp3:c.isTypeSupported('audio/mp4; codecs="mp3"')},v=navigator.vendor;if(h.enableWorker&&"undefined"!=typeof Worker){var p;a.logger.log("demuxing in webworker");try{p=this.worker=i(/*! ../demux/transmuxer-worker.ts */"./src/demux/transmuxer-worker.ts"),this.onwmsg=this.onWorkerMessage.bind(this),p.addEventListener("message",this.onwmsg),p.onerror=function(e){t.trigger(n.Events.ERROR,{type:o.ErrorTypes.OTHER_ERROR,details:o.ErrorDetails.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",error:new Error(e.message+" ("+e.filename+":"+e.lineno+")")})},p.postMessage({cmd:"init",typeSupported:g,vendor:v,id:e,config:JSON.stringify(h)})}catch(t){a.logger.warn("Error in worker:",t),a.logger.error("Error while initializing DemuxerWorker, fallback to inline"),p&&self.URL.revokeObjectURL(p.objectURL),this.transmuxer=new s.default(this.observer,g,h,v,e),this.worker=null}}else this.transmuxer=new s.default(this.observer,g,h,v,e)}var e=t.prototype;return e.destroy=function(){var t=this.worker;if(t)t.removeEventListener("message",this.onwmsg),t.terminate(),this.worker=null;else{var e=this.transmuxer;e&&(e.destroy(),this.transmuxer=null)}var r=this.observer;r&&r.removeAllListeners(),this.observer=null},e.push=function(t,e,r,i,n,o,l,u,c,d){var h=this;c.transmuxing.start=self.performance.now();var f=this.transmuxer,g=this.worker,v=o?o.start:n.start,p=n.decryptdata,m=this.frag,y=!(m&&n.cc===m.cc),E=!(m&&c.level===m.level),T=m?c.sn-m.sn:-1,S=this.part?c.part-this.part.index:1,b=!E&&(1===T||0===T&&1===S),L=self.performance.now();(E||T||0===n.stats.parsing.start)&&(n.stats.parsing.start=L),!o||!S&&b||(o.stats.parsing.start=L);var A=new s.TransmuxState(y,b,u,E,v);if(!b||y){a.logger.log("[transmuxer-interface, "+n.type+"]: Starting new transmux session for sn: "+c.sn+" p: "+c.part+" level: "+c.level+" id: "+c.id+"\n discontinuity: "+y+"\n trackSwitch: "+E+"\n contiguous: "+b+"\n accurateTimeOffset: "+u+"\n timeOffset: "+v);var D=new s.TransmuxConfig(r,i,e,l,d);this.configureTransmuxer(D)}if(this.frag=n,this.part=o,g)g.postMessage({cmd:"demux",data:t,decryptdata:p,chunkMeta:c,state:A},t instanceof ArrayBuffer?[t]:[]);else if(f){var R=f.push(t,p,c,A);Object(s.isPromise)(R)?R.then((function(t){h.handleTransmuxComplete(t)})):this.handleTransmuxComplete(R)}},e.flush=function(t){var e=this;t.transmuxing.start=self.performance.now();var r=this.transmuxer,i=this.worker;if(i)i.postMessage({cmd:"flush",chunkMeta:t});else if(r){var n=r.flush(t);Object(s.isPromise)(n)?n.then((function(r){e.handleFlushResult(r,t)})):this.handleFlushResult(n,t)}},e.handleFlushResult=function(t,e){var r=this;t.forEach((function(t){r.handleTransmuxComplete(t)})),this.onFlush(e)},e.onWorkerMessage=function(t){var e=t.data,r=this.hls;switch(e.event){case"init":self.URL.revokeObjectURL(this.worker.objectURL);break;case"transmuxComplete":this.handleTransmuxComplete(e.data);break;case"flush":this.onFlush(e.data);break;default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,r.trigger(e.event,e.data)}},e.configureTransmuxer=function(t){var e=this.worker,r=this.transmuxer;e?e.postMessage({cmd:"configure",config:t}):r&&r.configure(t)},e.handleTransmuxComplete=function(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)},t}()},"./src/demux/transmuxer-worker.ts": +/*!****************************************!*\ + !*** ./src/demux/transmuxer-worker.ts ***! + \****************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return o}));var i=r(/*! ../demux/transmuxer */"./src/demux/transmuxer.ts"),n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../utils/logger */"./src/utils/logger.ts"),a=r(/*! eventemitter3 */"./node_modules/eventemitter3/index.js");function o(t){var e=new a.EventEmitter,r=function(e,r){t.postMessage({event:e,data:r})};e.on(n.Events.FRAG_DECRYPTED,r),e.on(n.Events.ERROR,r),t.addEventListener("message",(function(n){var a=n.data;switch(a.cmd){case"init":var o=JSON.parse(a.config);t.transmuxer=new i.default(e,a.typeSupported,o,a.vendor,a.id),Object(s.enableLogs)(o.debug),r("init",null);break;case"configure":t.transmuxer.configure(a.config);break;case"demux":var u=t.transmuxer.push(a.data,a.decryptdata,a.chunkMeta,a.state);Object(i.isPromise)(u)?u.then((function(e){l(t,e)})):l(t,u);break;case"flush":var d=a.chunkMeta,h=t.transmuxer.flush(d);Object(i.isPromise)(h)?h.then((function(e){c(t,e,d)})):c(t,h,d)}}))}function l(t,e){if((r=e.remuxResult).audio||r.video||r.text||r.id3||r.initSegment){var r,i=[],n=e.remuxResult,s=n.audio,a=n.video;s&&u(i,s),a&&u(i,a),t.postMessage({event:"transmuxComplete",data:e},i)}}function u(t,e){e.data1&&t.push(e.data1.buffer),e.data2&&t.push(e.data2.buffer)}function c(t,e,r){e.forEach((function(e){l(t,e)})),t.postMessage({event:"flush",data:r})}},"./src/demux/transmuxer.ts": +/*!*********************************!*\ + !*** ./src/demux/transmuxer.ts ***! + \*********************************/ +/*! exports provided: default, isPromise, TransmuxConfig, TransmuxState */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return y})),r.d(e,"isPromise",(function(){return T})),r.d(e,"TransmuxConfig",(function(){return S})),r.d(e,"TransmuxState",(function(){return b}));var i,n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../errors */"./src/errors.ts"),a=r(/*! ../crypt/decrypter */"./src/crypt/decrypter.ts"),o=r(/*! ../demux/aacdemuxer */"./src/demux/aacdemuxer.ts"),l=r(/*! ../demux/mp4demuxer */"./src/demux/mp4demuxer.ts"),u=r(/*! ../demux/tsdemuxer */"./src/demux/tsdemuxer.ts"),c=r(/*! ../demux/mp3demuxer */"./src/demux/mp3demuxer.ts"),d=r(/*! ../remux/mp4-remuxer */"./src/remux/mp4-remuxer.ts"),h=r(/*! ../remux/passthrough-remuxer */"./src/remux/passthrough-remuxer.ts"),f=r(/*! ./chunk-cache */"./src/demux/chunk-cache.ts"),g=r(/*! ../utils/mp4-tools */"./src/utils/mp4-tools.ts"),v=r(/*! ../utils/logger */"./src/utils/logger.ts");try{i=self.performance.now.bind(self.performance)}catch(t){v.logger.debug("Unable to use Performance API on this environment"),i=self.Date.now}var p=[{demux:u.default,remux:d.default},{demux:l.default,remux:h.default},{demux:o.default,remux:d.default},{demux:c.default,remux:d.default}],m=1024;p.forEach((function(t){var e=t.demux;m=Math.max(m,e.minProbeByteLength)}));var y=function(){function t(t,e,r,i,n){this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.cache=new f.default,this.observer=t,this.typeSupported=e,this.config=r,this.vendor=i,this.id=n}var e=t.prototype;return e.configure=function(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()},e.push=function(t,e,r,n){var s=this,a=r.transmuxing;a.executeStart=i();var o=new Uint8Array(t),l=this.cache,u=this.config,c=this.currentTransmuxState,d=this.transmuxConfig;n&&(this.currentTransmuxState=n);var h=function(t,e){var r=null;return t.byteLength>0&&null!=e&&null!=e.key&&null!==e.iv&&null!=e.method&&(r=e),r}(o,e);if(h&&"AES-128"===h.method){var f=this.getDecrypter();if(!u.enableSoftwareAES)return this.decryptionPromise=f.webCryptoDecrypt(o,h.key.buffer,h.iv.buffer).then((function(t){var e=s.push(t,null,r);return s.decryptionPromise=null,e})),this.decryptionPromise;var v=f.softwareDecrypt(o,h.key.buffer,h.iv.buffer);if(!v)return a.executeEnd=i(),E(r);o=new Uint8Array(v)}var p=n||c,m=p.contiguous,y=p.discontinuity,T=p.trackSwitch,S=p.accurateTimeOffset,b=p.timeOffset,L=d.audioCodec,A=d.videoCodec,D=d.defaultInitPts,R=d.duration,k=d.initSegmentData;if((y||T)&&this.resetInitSegment(k,L,A,R),y&&this.resetInitialTimestamp(D),m||this.resetContiguity(),this.needsProbing(o,y,T)){if(l.dataLength){var I=l.flush();o=Object(g.appendUint8Array)(I,o)}this.configureTransmuxer(o,d)}var _=this.transmux(o,h,b,S,r),C=this.currentTransmuxState;return C.contiguous=!0,C.discontinuity=!1,C.trackSwitch=!1,a.executeEnd=i(),_},e.flush=function(t){var e=this,r=t.transmuxing;r.executeStart=i();var a=this.decrypter,o=this.cache,l=this.currentTransmuxState,u=this.decryptionPromise;if(u)return u.then((function(){return e.flush(t)}));var c=[],d=l.timeOffset;if(a){var h=a.flush();h&&c.push(this.push(h,null,t))}var f=o.dataLength;o.reset();var g=this.demuxer,v=this.remuxer;if(!g||!v)return f>=m&&this.observer.emit(n.Events.ERROR,n.Events.ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"}),r.executeEnd=i(),[E(t)];var p=g.flush(d);return T(p)?p.then((function(r){return e.flushRemux(c,r,t),c})):(this.flushRemux(c,p,t),c)},e.flushRemux=function(t,e,r){var n=e.audioTrack,s=e.avcTrack,a=e.id3Track,o=e.textTrack,l=this.currentTransmuxState,u=l.accurateTimeOffset,c=l.timeOffset;v.logger.log("[transmuxer.ts]: Flushed fragment "+r.sn+(r.part>-1?" p: "+r.part:"")+" of level "+r.level);var d=this.remuxer.remux(n,s,a,o,c,u,!0,this.id);t.push({remuxResult:d,chunkMeta:r}),r.transmuxing.executeEnd=i()},e.resetInitialTimestamp=function(t){var e=this.demuxer,r=this.remuxer;e&&r&&(e.resetTimeStamp(t),r.resetTimeStamp(t))},e.resetContiguity=function(){var t=this.demuxer,e=this.remuxer;t&&e&&(t.resetContiguity(),e.resetNextTimestamp())},e.resetInitSegment=function(t,e,r,i){var n=this.demuxer,s=this.remuxer;n&&s&&(n.resetInitSegment(e,r,i),s.resetInitSegment(t,e,r))},e.destroy=function(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)},e.transmux=function(t,e,r,i,n){return e&&"SAMPLE-AES"===e.method?this.transmuxSampleAes(t,e,r,i,n):this.transmuxUnencrypted(t,r,i,n)},e.transmuxUnencrypted=function(t,e,r,i){var n=this.demuxer.demux(t,e,!1,!this.config.progressive),s=n.audioTrack,a=n.avcTrack,o=n.id3Track,l=n.textTrack;return{remuxResult:this.remuxer.remux(s,a,o,l,e,r,!1,this.id),chunkMeta:i}},e.transmuxSampleAes=function(t,e,r,i,n){var s=this;return this.demuxer.demuxSampleAes(t,e,r).then((function(t){return{remuxResult:s.remuxer.remux(t.audioTrack,t.avcTrack,t.id3Track,t.textTrack,r,i,!1,s.id),chunkMeta:n}}))},e.configureTransmuxer=function(t,e){for(var r,i=this.config,n=this.observer,s=this.typeSupported,a=this.vendor,o=e.audioCodec,u=e.defaultInitPts,c=e.duration,d=e.initSegmentData,f=e.videoCodec,g=0,m=p.length;g>4>1){if((C=k+5+e[k+4])===k+188)continue}else C=k+4;switch(_){case f:I&&(g&&(s=m(g))&&this.parseAVCPES(s,!1),g={data:[],size:0}),g&&(g.data.push(e.subarray(C,k+188)),g.size+=k+188-C);break;case y:I&&(T&&(s=m(T))&&(o.isAAC?this.parseAACPES(s):this.parseMPEGPES(s)),T={data:[],size:0}),T&&(T.data.push(e.subarray(C,k+188)),T.size+=k+188-C);break;case E:I&&(S&&(s=m(S))&&this.parseID3PES(s),S={data:[],size:0}),S&&(S.data.push(e.subarray(C,k+188)),S.size+=k+188-C);break;case 0:I&&(C+=e[C]+1),A=this._pmtId=v(e,C);break;case A:I&&(C+=e[C]+1);var O=p(e,C,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,i);(f=O.avc)>0&&(a.pid=f),(y=O.audio)>0&&(o.pid=y,o.isAAC=O.isAAC),(E=O.id3)>0&&(h.pid=E),b&&!L&&(c.logger.log("reparse from beginning"),b=!1,k=R-188),L=this.pmtParsed=!0;break;case 17:case 8191:break;default:b=!0}}else this.observer.emit(l.Events.ERROR,l.Events.ERROR,{type:d.ErrorTypes.MEDIA_ERROR,details:d.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});a.pesData=g,o.pesData=T,h.pesData=S;var w={audioTrack:o,avcTrack:a,id3Track:h,textTrack:this._txtTrack};return n&&this.extractRemainingSamples(w),w},e.flush=function(){var t,e=this.remainderData;return this.remainderData=null,t=e?this.demux(e,-1,!1,!0):{audioTrack:this._audioTrack,avcTrack:this._avcTrack,textTrack:this._txtTrack,id3Track:this._id3Track},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t},e.extractRemainingSamples=function(t){var e,r=t.audioTrack,i=t.avcTrack,n=t.id3Track,s=i.pesData,a=r.pesData,o=n.pesData;s&&(e=m(s))?(this.parseAVCPES(e,!0),i.pesData=null):i.pesData=s,a&&(e=m(a))?(r.isAAC?this.parseAACPES(e):this.parseMPEGPES(e),r.pesData=null):(null!=a&&a.size&&c.logger.log("last AAC PES packet truncated,might overlap between fragments"),r.pesData=a),o&&(e=m(o))?(this.parseID3PES(e),n.pesData=null):n.pesData=o},e.demuxSampleAes=function(t,e,r){var i=this.demux(t,r,!0,!this.config.progressive),n=this.sampleAes=new o.default(this.observer,this.config,e);return this.decrypt(i,n)},e.decrypt=function(t,e){return new Promise((function(r){var i=t.audioTrack,n=t.avcTrack;i.samples&&i.isAAC?e.decryptAacSamples(i.samples,0,(function(){n.samples?e.decryptAvcSamples(n.samples,0,0,(function(){r(t)})):r(t)})):n.samples&&e.decryptAvcSamples(n.samples,0,0,(function(){r(t)}))}))},e.destroy=function(){this._initPTS=this._initDTS=null,this._duration=0},e.parseAVCPES=function(t,e){var r,i=this,n=this._avcTrack,o=this.parseAVCNALu(t.data),l=this.avcSample,u=!1;t.data=null,l&&o.length&&!n.audFound&&(y(l,n),l=this.avcSample=g(!1,t.pts,t.dts,"")),o.forEach((function(e){switch(e.type){case 1:r=!0,l||(l=i.avcSample=g(!0,t.pts,t.dts,"")),l.frame=!0;var o=e.data;if(u&&o.length>4){var c=new s.default(o).readSliceType();2!==c&&4!==c&&7!==c&&9!==c||(l.key=!0)}break;case 5:r=!0,l||(l=i.avcSample=g(!0,t.pts,t.dts,"")),l.key=!0,l.frame=!0;break;case 6:r=!0;var d=new s.default(T(e.data));d.readUByte();for(var h=0,f=0,v=!1,p=0;!v&&d.bytesAvailable>1;){h=0;do{h+=p=d.readUByte()}while(255===p);f=0;do{f+=p=d.readUByte()}while(255===p);if(4===h&&0!==d.bytesAvailable){if(v=!0,181===d.readUByte()&&49===d.readUShort()&&1195456820===d.readUInt()&&3===d.readUByte()){for(var m=d.readUByte(),S=31&m,b=[m,d.readUByte()],L=0;L16){for(var A=[],D=0;D<16;D++)A.push(d.readUByte().toString(16)),3!==D&&5!==D&&7!==D&&9!==D||A.push("-");for(var R=f-16,k=new Uint8Array(R),I=0;I=0){var d={data:t.subarray(u,l-s-1),type:c};o.push(d)}else{var h=this.getLastNalUnit();if(h&&(a&&l<=4-a&&h.state&&(h.data=h.data.subarray(0,h.data.byteLength-a)),(r=l-s-1)>0)){var f=new Uint8Array(h.data.byteLength+r);f.set(h.data,0),f.set(t.subarray(0,r),h.data.byteLength),h.data=f,h.state=0}}l=0&&s>=0){var g={data:t.subarray(u,i),type:c,state:s};o.push(g)}if(0===o.length){var v=this.getLastNalUnit();if(v){var p=new Uint8Array(v.data.byteLength+t.byteLength);p.set(v.data,0),p.set(t,v.data.byteLength),v.data=p}}return n.naluState=s,o},e.parseAACPES=function(t){var e,r,n,s,a,o=0,u=this._audioTrack,h=this.aacOverFlow,f=t.data;if(h){this.aacOverFlow=null;var g=h.sample.unit.byteLength,v=Math.min(h.missing,g),p=g-v;h.sample.unit.set(f.subarray(0,v),p),u.samples.push(h.sample),o=h.missing}for(e=o,r=f.length;e1;){var l=new Uint8Array(o[0].length+o[1].length);l.set(o[0]),l.set(o[1],o[0].length),o[0]=l,o.splice(1,1)}if(1===((e=o[0])[0]<<16)+(e[1]<<8)+e[2]){if((r=(e[4]<<8)+e[5])&&r>t.size-6)return null;var u=e[7];192&u&&(n=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,64&u?n-(s=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2)>54e5&&(c.logger.warn(Math.round((n-s)/9e4)+"s delta between PTS and DTS, align them"),n=s):s=n);var d=(i=e[8])+9;if(t.size<=d)return null;t.size-=d;for(var h=new Uint8Array(t.size),f=0,g=o.length;fv){d-=v;continue}e=e.subarray(d),v-=d,d=0}h.set(e,a),a+=v}return r&&(r-=i+3),{data:h,pts:n,dts:s,len:r}}return null}function y(t,e){if(t.units.length&&t.frame){if(void 0===t.pts){var r=e.samples,i=r.length;if(!i)return void e.dropped++;var n=r[i-1];t.pts=n.pts,t.dts=n.dts}e.samples.push(t)}t.debug.length&&c.logger.log(t.pts+"/"+t.dts+":"+t.debug)}function E(t,e){var r=t.length;if(r>0){if(e.pts>=t[r-1].pts)t.push(e);else for(var i=r-1;i>=0;i--)if(e.ptse)return i;return 0}},{key:"maxAutoLevel",get:function(){var t=this.levels,e=this.autoLevelCapping;return-1===e&&t&&t.length?t.length-1:e}},{key:"nextAutoLevel",get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(t){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,t)}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}},{key:"media",get:function(){return this._media}},{key:"subtitleDisplay",get:function(){var t=this.subtitleTrackController;return!!t&&t.subtitleDisplay},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleDisplay=t)}},{key:"lowLatencyMode",get:function(){return this.config.lowLatencyMode},set:function(t){this.config.lowLatencyMode=t}},{key:"liveSyncPosition",get:function(){return this.latencyController.liveSyncPosition}},{key:"latency",get:function(){return this.latencyController.latency}},{key:"maxLatency",get:function(){return this.latencyController.maxLatency}},{key:"targetLatency",get:function(){return this.latencyController.targetLatency}},{key:"drift",get:function(){return this.latencyController.drift}},{key:"forceStartLoad",get:function(){return this.streamController.forceStartLoad}}])&&m(e.prototype,r),y&&m(e,y),t}();y.defaultConfig=void 0},"./src/is-supported.ts": +/*!*****************************!*\ + !*** ./src/is-supported.ts ***! + \*****************************/ +/*! exports provided: isSupported, changeTypeSupported */function(t,e,r){"use strict";r.r(e),r.d(e,"isSupported",(function(){return s})),r.d(e,"changeTypeSupported",(function(){return a}));var i=r(/*! ./utils/mediasource-helper */"./src/utils/mediasource-helper.ts");function n(){return self.SourceBuffer||self.WebKitSourceBuffer}function s(){var t=Object(i.getMediaSource)();if(!t)return!1;var e=n(),r=t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),s=!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove;return!!r&&!!s}function a(){var t,e=n();return"function"==typeof(null==e||null===(t=e.prototype)||void 0===t?void 0:t.changeType)}},"./src/loader/fragment-loader.ts": +/*!***************************************!*\ + !*** ./src/loader/fragment-loader.ts ***! + \***************************************/ +/*! exports provided: default, LoadError */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return d})),r.d(e,"LoadError",(function(){return f}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../errors */"./src/errors.ts");function s(t){var e="function"==typeof Map?new Map:void 0;return(s=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return a(t,arguments,u(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),l(i,t)})(t)}function a(t,e,r){return(a=o()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&l(n,r.prototype),n}).apply(null,arguments)}function o(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var c=Math.pow(2,17),d=function(){function t(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}var e=t.prototype;return e.destroy=function(){this.loader&&(this.loader.destroy(),this.loader=null)},e.abort=function(){this.loader&&this.loader.abort()},e.load=function(t,e){var r=this,i=t.url;if(!i)return Promise.reject(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t,networkDetails:null},"Fragment does not have a "+(i?"part list":"url")));this.abort();var s=this.config,a=s.fLoader,o=s.loader;return new Promise((function(i,l){r.loader&&r.loader.destroy();var u=r.loader=t.loader=a?new a(s):new o(s),d=h(t),g={timeout:s.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:s.fragLoadingMaxRetryTimeout,highWaterMark:c};t.stats=u.stats,u.load(d,g,{onSuccess:function(e,n,s,a){r.resetLoader(t,u),i({frag:t,part:null,payload:e.data,networkDetails:a})},onError:function(e,i,s){r.resetLoader(t,u),l(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:e,networkDetails:s}))},onAbort:function(e,i,s){r.resetLoader(t,u),l(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.INTERNAL_ABORTED,fatal:!1,frag:t,networkDetails:s}))},onTimeout:function(e,i,s){r.resetLoader(t,u),l(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,networkDetails:s}))},onProgress:function(r,i,n,s){e&&e({frag:t,part:null,payload:n,networkDetails:s})}})}))},e.loadPart=function(t,e,r){var i=this;this.abort();var s=this.config,a=s.fLoader,o=s.loader;return new Promise((function(l,u){i.loader&&i.loader.destroy();var d=i.loader=t.loader=a?new a(s):new o(s),g=h(t,e),v={timeout:s.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:s.fragLoadingMaxRetryTimeout,highWaterMark:c};e.stats=d.stats,d.load(g,v,{onSuccess:function(n,s,a,o){i.resetLoader(t,d),i.updateStatsFromPart(t,e);var u={frag:t,part:e,payload:n.data,networkDetails:o};r(u),l(u)},onError:function(r,s,a){i.resetLoader(t,d),u(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:e,response:r,networkDetails:a}))},onAbort:function(r,s,a){t.stats.aborted=e.stats.aborted,i.resetLoader(t,d),u(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.INTERNAL_ABORTED,fatal:!1,frag:t,part:e,networkDetails:a}))},onTimeout:function(r,s,a){i.resetLoader(t,d),u(new f({type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:e,networkDetails:a}))}})}))},e.updateStatsFromPart=function(t,e){var r=t.stats,i=e.stats,n=i.total;if(r.loaded+=i.loaded,n){var s=Math.round(t.duration/e.duration),a=Math.min(Math.round(r.loaded/n),s),o=(s-a)*Math.round(r.loaded/a);r.total=r.loaded+o}else r.total=Math.max(r.loaded,r.total);var l=r.loading,u=i.loading;l.start?l.first+=u.first-u.start:(l.start=u.start,l.first=u.first),l.end=u.end},e.resetLoader=function(t,e){t.loader=null,this.loader===e&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),e.destroy()},t}();function h(t,e){void 0===e&&(e=null);var r=e||t,n={frag:t,part:e,responseType:"arraybuffer",url:r.url,headers:{},rangeStart:0,rangeEnd:0},s=r.byteRangeStartOffset,a=r.byteRangeEndOffset;return Object(i.isFiniteNumber)(s)&&Object(i.isFiniteNumber)(a)&&(n.rangeStart=s,n.rangeEnd=a),n}var f=function(t){var e,r;function i(e){for(var r,i=arguments.length,n=new Array(i>1?i-1:0),s=1;s>8*(15-r)&255;return e},r.setDecryptDataFromLevelKey=function(t,e){var r=t;return"AES-128"===(null==t?void 0:t.method)&&t.uri&&!t.iv&&((r=o.LevelKey.fromURI(t.uri)).method=t.method,r.iv=this.createInitializationVector(e),r.keyFormat="identity"),r},r.setElementaryStreamInfo=function(t,e,r,i,n,s){void 0===s&&(s=!1);var a=this.elementaryStreams,o=a[t];o?(o.startPTS=Math.min(o.startPTS,e),o.endPTS=Math.max(o.endPTS,r),o.startDTS=Math.min(o.startDTS,i),o.endDTS=Math.max(o.endDTS,n)):a[t]={startPTS:e,endPTS:r,startDTS:i,endDTS:n,partial:s}},r.clearElementaryStreamInfo=function(){var t=this.elementaryStreams;t[i.AUDIO]=null,t[i.VIDEO]=null,t[i.AUDIOVIDEO]=null},h(e,[{key:"decryptdata",get:function(){if(!this.levelkey&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkey){var t=this.sn;"number"!=typeof t&&(this.levelkey&&"AES-128"===this.levelkey.method&&!this.levelkey.iv&&a.logger.warn('missing IV for initialization segment with method="'+this.levelkey.method+'" - compliance issue'),t=0),this._decryptdata=this.setDecryptDataFromLevelKey(this.levelkey,t)}return this._decryptdata}},{key:"end",get:function(){return this.start+this.duration}},{key:"endProgramDateTime",get:function(){if(null===this.programDateTime)return null;if(!Object(n.isFiniteNumber)(this.programDateTime))return null;var t=Object(n.isFiniteNumber)(this.duration)?this.duration:0;return this.programDateTime+1e3*t}},{key:"encrypted",get:function(){var t;return!(null===(t=this.decryptdata)||void 0===t||!t.keyFormat||!this.decryptdata.uri)}}]),e}(f),v=function(t){function e(e,r,i,n,s){var a;(a=t.call(this,i)||this).fragOffset=0,a.duration=0,a.gap=!1,a.independent=!1,a.relurl=void 0,a.fragment=void 0,a.index=void 0,a.stats=new l.LoadStats,a.duration=e.decimalFloatingPoint("DURATION"),a.gap=e.bool("GAP"),a.independent=e.bool("INDEPENDENT"),a.relurl=e.enumeratedString("URI"),a.fragment=r,a.index=n;var o=e.enumeratedString("BYTERANGE");return o&&a.setByteRange(o,s),s&&(a.fragOffset=s.fragOffset+s.duration),a}return u(e,t),h(e,[{key:"start",get:function(){return this.fragment.start+this.fragOffset}},{key:"end",get:function(){return this.start+this.duration}},{key:"loaded",get:function(){var t=this.elementaryStreams;return!!(t.audio||t.video||t.audiovideo)}}]),e}(f)},"./src/loader/key-loader.ts": +/*!**********************************!*\ + !*** ./src/loader/key-loader.ts ***! + \**********************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return a}));var i=r(/*! ../events */"./src/events.ts"),n=r(/*! ../errors */"./src/errors.ts"),s=r(/*! ../utils/logger */"./src/utils/logger.ts"),a=function(){function t(t){this.hls=void 0,this.loaders={},this.decryptkey=null,this.decrypturl=null,this.hls=t,this._registerListeners()}var e=t.prototype;return e._registerListeners=function(){this.hls.on(i.Events.KEY_LOADING,this.onKeyLoading,this)},e._unregisterListeners=function(){this.hls.off(i.Events.KEY_LOADING,this.onKeyLoading)},e.destroy=function(){for(var t in this._unregisterListeners(),this.loaders){var e=this.loaders[t];e&&e.destroy()}this.loaders={}},e.onKeyLoading=function(t,e){var r=e.frag,n=r.type,a=this.loaders[n];if(r.decryptdata){var o=r.decryptdata.uri;if(o!==this.decrypturl||null===this.decryptkey){var l=this.hls.config;if(a&&(s.logger.warn("abort previous key loader for type:"+n),a.abort()),!o)return void s.logger.warn("key uri is falsy");var u=l.loader,c=r.loader=this.loaders[n]=new u(l);this.decrypturl=o,this.decryptkey=null;var d={url:o,frag:r,responseType:"arraybuffer"},h={timeout:l.fragLoadingTimeOut,maxRetry:0,retryDelay:l.fragLoadingRetryDelay,maxRetryDelay:l.fragLoadingMaxRetryTimeout,highWaterMark:0},f={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};c.load(d,h,f)}else this.decryptkey&&(r.decryptdata.key=this.decryptkey,this.hls.trigger(i.Events.KEY_LOADED,{frag:r}))}else s.logger.warn("Missing decryption data on fragment in onKeyLoading")},e.loadsuccess=function(t,e,r){var n=r.frag;n.decryptdata?(this.decryptkey=n.decryptdata.key=new Uint8Array(t.data),n.loader=null,delete this.loaders[n.type],this.hls.trigger(i.Events.KEY_LOADED,{frag:n})):s.logger.error("after key load, decryptdata unset")},e.loaderror=function(t,e){var r=e.frag,s=r.loader;s&&s.abort(),delete this.loaders[r.type],this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.KEY_LOAD_ERROR,fatal:!1,frag:r,response:t})},e.loadtimeout=function(t,e){var r=e.frag,s=r.loader;s&&s.abort(),delete this.loaders[r.type],this.hls.trigger(i.Events.ERROR,{type:n.ErrorTypes.NETWORK_ERROR,details:n.ErrorDetails.KEY_LOAD_TIMEOUT,fatal:!1,frag:r})},t}()},"./src/loader/level-details.ts": +/*!*************************************!*\ + !*** ./src/loader/level-details.ts ***! + \*************************************/ +/*! exports provided: LevelDetails */function(t,e,r){"use strict";r.r(e),r.d(e,"LevelDetails",(function(){return s}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts");function n(t,e){for(var r=0;rt.endSN||e>0||0===e&&r>0,this.updated||this.advanced?this.misses=Math.floor(.6*t.misses):this.misses=t.misses+1,this.availabilityDelay=t.availabilityDelay},e=t,(r=[{key:"hasProgramDateTime",get:function(){return!!this.fragments.length&&Object(i.isFiniteNumber)(this.fragments[this.fragments.length-1].programDateTime)}},{key:"levelTargetDuration",get:function(){return this.averagetargetduration||this.targetduration||10}},{key:"drift",get:function(){var t=this.driftEndTime-this.driftStartTime;return t>0?1e3*(this.driftEnd-this.driftStart)/t:1}},{key:"edge",get:function(){return this.partEnd||this.fragmentEnd}},{key:"partEnd",get:function(){var t;return null!==(t=this.partList)&&void 0!==t&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}},{key:"fragmentEnd",get:function(){var t;return null!==(t=this.fragments)&&void 0!==t&&t.length?this.fragments[this.fragments.length-1].end:0}},{key:"age",get:function(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}},{key:"lastPartIndex",get:function(){var t;return null!==(t=this.partList)&&void 0!==t&&t.length?this.partList[this.partList.length-1].index:-1}},{key:"lastPartSn",get:function(){var t;return null!==(t=this.partList)&&void 0!==t&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}])&&n(e.prototype,r),s&&n(e,s),t}()},"./src/loader/level-key.ts": +/*!*********************************!*\ + !*** ./src/loader/level-key.ts ***! + \*********************************/ +/*! exports provided: LevelKey */function(t,e,r){"use strict";r.r(e),r.d(e,"LevelKey",(function(){return s}));var i=r(/*! url-toolkit */"./node_modules/url-toolkit/src/url-toolkit.js");function n(t,e){for(var r=0;r2){var r=e.shift()+".";return r+=parseInt(e.shift()).toString(16),r+=("000"+parseInt(e.shift()).toString(16)).substr(-4)}return t},t.resolve=function(t,e){return n.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,r){var i,n=[],s={},a=!1;for(d.lastIndex=0;null!=(i=d.exec(e));)if(i[1]){var o=new l.AttrList(i[1]),u={attrs:o,bitrate:o.decimalInteger("AVERAGE-BANDWIDTH")||o.decimalInteger("BANDWIDTH"),name:o.NAME,url:t.resolve(i[2],r)},c=o.decimalResolution("RESOLUTION");c&&(u.width=c.width,u.height=c.height),m((o.CODECS||"").split(/[ ,]+/).filter((function(t){return t})),u),u.videoCodec&&-1!==u.videoCodec.indexOf("avc1")&&(u.videoCodec=t.convertAVC1ToAVCOTI(u.videoCodec)),n.push(u)}else if(i[3]){var h=new l.AttrList(i[3]);h["DATA-ID"]&&(a=!0,s[h["DATA-ID"]]=h)}return{levels:n,sessionData:a?s:null}},t.parseMasterPlaylistMedia=function(e,r,i,n){var s;void 0===n&&(n=[]);var a=[],o=0;for(h.lastIndex=0;null!==(s=h.exec(e));){var u=new l.AttrList(s[1]);if(u.TYPE===i){var c={attrs:u,bitrate:0,id:o++,groupId:u["GROUP-ID"],instreamId:u["INSTREAM-ID"],name:u.NAME||u.LANGUAGE||"",type:i,default:u.bool("DEFAULT"),autoselect:u.bool("AUTOSELECT"),forced:u.bool("FORCED"),lang:u.LANGUAGE,url:u.URI?t.resolve(u.URI,r):""};if(n.length){var d=t.findGroup(n,c.groupId)||n[0];y(c,d,"audioCodec"),y(c,d,"textCodec")}a.push(c)}}return a},t.parseLevelPlaylist=function(t,e,r,c,d){var h,p,m,y=new a.LevelDetails(e),T=y.fragments,S=null,b=0,L=0,A=0,D=0,R=null,k=new s.Fragment(c,e),I=-1,_=!1;for(f.lastIndex=0,y.m3u8=t;null!==(h=f.exec(t));){_&&(_=!1,(k=new s.Fragment(c,e)).start=A,k.sn=b,k.cc=D,k.level=r,S&&(k.initSegment=S,k.rawProgramDateTime=S.rawProgramDateTime));var C=h[1];if(C){k.duration=parseFloat(C);var O=(" "+h[2]).slice(1);k.title=O||null,k.tagList.push(O?["INF",C,O]:["INF",C])}else if(h[3])Object(i.isFiniteNumber)(k.duration)&&(k.start=A,m&&(k.levelkey=m),k.sn=b,k.level=r,k.cc=D,k.urlId=d,T.push(k),k.relurl=(" "+h[3]).slice(1),E(k,R),R=k,A+=k.duration,b++,L=0,_=!0);else if(h[4]){var w=(" "+h[4]).slice(1);R?k.setByteRange(w,R):k.setByteRange(w)}else if(h[5])k.rawProgramDateTime=(" "+h[5]).slice(1),k.tagList.push(["PROGRAM-DATE-TIME",k.rawProgramDateTime]),-1===I&&(I=T.length);else{if(!(h=h[0].match(g))){u.logger.warn("No matches on slow regex match for level playlist!");continue}for(p=1;p-1){u.logger.warn("Keyformat "+q+" is not supported from the manifest");continue}if("identity"!==q)continue;K&&(m=o.LevelKey.fromURL(e,H),H&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(K)>=0&&(m.method=K,m.keyFormat=q,Y&&(m.keyID=Y),W&&(m.keyFormatVersions=W),m.iv=V));break;case"START":var X=new l.AttrList(P).decimalFloatingPoint("TIME-OFFSET");Object(i.isFiniteNumber)(X)&&(y.startTimeOffset=X);break;case"MAP":var z=new l.AttrList(P);k.relurl=z.URI,z.BYTERANGE&&k.setByteRange(z.BYTERANGE),k.level=r,k.sn="initSegment",m&&(k.levelkey=m),k.initSegment=null,S=k,_=!0;break;case"SERVER-CONTROL":var Q=new l.AttrList(P);y.canBlockReload=Q.bool("CAN-BLOCK-RELOAD"),y.canSkipUntil=Q.optionalFloat("CAN-SKIP-UNTIL",0),y.canSkipDateRanges=y.canSkipUntil>0&&Q.bool("CAN-SKIP-DATERANGES"),y.partHoldBack=Q.optionalFloat("PART-HOLD-BACK",0),y.holdBack=Q.optionalFloat("HOLD-BACK",0);break;case"PART-INF":var $=new l.AttrList(P);y.partTarget=$.decimalFloatingPoint("PART-TARGET");break;case"PART":var J=y.partList;J||(J=y.partList=[]);var Z=L>0?J[J.length-1]:void 0,tt=L++,et=new s.Part(new l.AttrList(P),k,e,tt,Z);J.push(et),k.duration+=et.duration;break;case"PRELOAD-HINT":var rt=new l.AttrList(P);y.preloadHint=rt;break;case"RENDITION-REPORT":var it=new l.AttrList(P);y.renditionReports=y.renditionReports||[],y.renditionReports.push(it);break;default:u.logger.warn("line parsed but not handled: "+h)}}}R&&!R.relurl?(T.pop(),A-=R.duration,y.partList&&(y.fragmentHint=R)):y.partList&&(E(k,R),k.cc=D,y.fragmentHint=k);var nt=T.length,st=T[0],at=T[nt-1];if((A+=y.skippedSegments*y.targetduration)>0&&nt&&at){y.averagetargetduration=A/nt;var ot=at.sn;y.endSN="initSegment"!==ot?ot:0,st&&(y.startCC=st.cc,st.initSegment||y.fragments.every((function(t){return t.relurl&&(e=t.relurl,v.test(null!=(r=null===(i=n.parseURL(e))||void 0===i?void 0:i.path)?r:""));var e,r,i}))&&(u.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(k=new s.Fragment(c,e)).relurl=at.relurl,k.level=r,k.sn="initSegment",st.initSegment=k,y.needSidxRanges=!0))}else y.endSN=0,y.startCC=0;return y.fragmentHint&&(A+=y.fragmentHint.duration),y.totalduration=A,y.endCC=D,I>0&&function(t,e){for(var r=t[e],i=e;i--;){var n=t[i];if(!n)return;n.programDateTime=r.programDateTime-1e3*n.duration,r=n}}(T,I),y},t}();function m(t,e){["video","audio","text"].forEach((function(r){var i=t.filter((function(t){return Object(c.isCodecType)(t,r)}));if(i.length){var n=i.filter((function(t){return 0===t.lastIndexOf("avc1",0)||0===t.lastIndexOf("mp4a",0)}));e[r+"Codec"]=n.length>0?n[0]:i[0],t=t.filter((function(t){return-1===i.indexOf(t)}))}})),e.unknownCodecs=t}function y(t,e,r){var i=e[r];i&&(t[r]=i)}function E(t,e){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):null!=e&&e.programDateTime&&(t.programDateTime=e.endProgramDateTime),Object(i.isFiniteNumber)(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}},"./src/loader/playlist-loader.ts": +/*!***************************************!*\ + !*** ./src/loader/playlist-loader.ts ***! + \***************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../events */"./src/events.ts"),s=r(/*! ../errors */"./src/errors.ts"),a=r(/*! ../utils/logger */"./src/utils/logger.ts"),o=r(/*! ../utils/mp4-tools */"./src/utils/mp4-tools.ts"),l=r(/*! ./m3u8-parser */"./src/loader/m3u8-parser.ts"),u=r(/*! ../types/loader */"./src/types/loader.ts"),c=r(/*! ../utils/attr-list */"./src/utils/attr-list.ts");function d(t,e){var r=t.url;return void 0!==r&&0!==r.indexOf("data:")||(r=e.url),r}var h=function(){function t(t){this.hls=void 0,this.loaders=Object.create(null),this.hls=t,this.registerListeners()}var e=t.prototype;return e.registerListeners=function(){var t=this.hls;t.on(n.Events.MANIFEST_LOADING,this.onManifestLoading,this),t.on(n.Events.LEVEL_LOADING,this.onLevelLoading,this),t.on(n.Events.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(n.Events.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.unregisterListeners=function(){var t=this.hls;t.off(n.Events.MANIFEST_LOADING,this.onManifestLoading,this),t.off(n.Events.LEVEL_LOADING,this.onLevelLoading,this),t.off(n.Events.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(n.Events.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)},e.createInternalLoader=function(t){var e=this.hls.config,r=e.pLoader,i=e.loader,n=new(r||i)(e);return t.loader=n,this.loaders[t.type]=n,n},e.getInternalLoader=function(t){return this.loaders[t.type]},e.resetInternalLoader=function(t){this.loaders[t]&&delete this.loaders[t]},e.destroyInternalLoaders=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy(),this.resetInternalLoader(t)}},e.destroy=function(){this.unregisterListeners(),this.destroyInternalLoaders()},e.onManifestLoading=function(t,e){var r=e.url;this.load({id:null,groupId:null,level:0,responseType:"text",type:u.PlaylistContextType.MANIFEST,url:r,deliveryDirectives:null})},e.onLevelLoading=function(t,e){var r=e.id,i=e.level,n=e.url,s=e.deliveryDirectives;this.load({id:r,groupId:null,level:i,responseType:"text",type:u.PlaylistContextType.LEVEL,url:n,deliveryDirectives:s})},e.onAudioTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,s=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:u.PlaylistContextType.AUDIO_TRACK,url:n,deliveryDirectives:s})},e.onSubtitleTrackLoading=function(t,e){var r=e.id,i=e.groupId,n=e.url,s=e.deliveryDirectives;this.load({id:r,groupId:i,level:null,responseType:"text",type:u.PlaylistContextType.SUBTITLE_TRACK,url:n,deliveryDirectives:s})},e.load=function(t){var e,r,i,n,s,o,l=this.hls.config,c=this.getInternalLoader(t);if(c){var d=c.context;if(d&&d.url===t.url)return void a.logger.trace("[playlist-loader]: playlist request ongoing");a.logger.log("[playlist-loader]: aborting previous loader for type: "+t.type),c.abort()}switch(t.type){case u.PlaylistContextType.MANIFEST:r=l.manifestLoadingMaxRetry,i=l.manifestLoadingTimeOut,n=l.manifestLoadingRetryDelay,s=l.manifestLoadingMaxRetryTimeout;break;case u.PlaylistContextType.LEVEL:case u.PlaylistContextType.AUDIO_TRACK:case u.PlaylistContextType.SUBTITLE_TRACK:r=0,i=l.levelLoadingTimeOut;break;default:r=l.levelLoadingMaxRetry,i=l.levelLoadingTimeOut,n=l.levelLoadingRetryDelay,s=l.levelLoadingMaxRetryTimeout}if(c=this.createInternalLoader(t),null!==(e=t.deliveryDirectives)&&void 0!==e&&e.part&&(t.type===u.PlaylistContextType.LEVEL&&null!==t.level?o=this.hls.levels[t.level].details:t.type===u.PlaylistContextType.AUDIO_TRACK&&null!==t.id?o=this.hls.audioTracks[t.id].details:t.type===u.PlaylistContextType.SUBTITLE_TRACK&&null!==t.id&&(o=this.hls.subtitleTracks[t.id].details),o)){var h=o.partTarget,f=o.targetduration;h&&f&&(i=Math.min(1e3*Math.max(3*h,.8*f),i))}var g={timeout:i,maxRetry:r,retryDelay:n,maxRetryDelay:s,highWaterMark:0},v={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};c.load(t,g,v)},e.loadsuccess=function(t,e,r,i){if(void 0===i&&(i=null),r.isSidxRequest)return this.handleSidxRequest(t,r),void this.handlePlaylistLoaded(t,e,r,i);this.resetInternalLoader(r.type);var n=t.data;0===n.indexOf("#EXTM3U")?(e.parsing.start=performance.now(),n.indexOf("#EXTINF:")>0||n.indexOf("#EXT-X-TARGETDURATION:")>0?this.handleTrackOrLevelPlaylist(t,e,r,i):this.handleMasterPlaylist(t,e,r,i)):this.handleManifestParsingError(t,r,"no EXTM3U delimiter",i)},e.loaderror=function(t,e,r){void 0===r&&(r=null),this.handleNetworkError(e,r,!1,t)},e.loadtimeout=function(t,e,r){void 0===r&&(r=null),this.handleNetworkError(e,r,!0)},e.handleMasterPlaylist=function(t,e,r,i){var s=this.hls,o=t.data,u=d(t,r),h=l.default.parseMasterPlaylist(o,u),f=h.levels,g=h.sessionData;if(f.length){var v=f.map((function(t){return{id:t.attrs.AUDIO,audioCodec:t.audioCodec}})),p=f.map((function(t){return{id:t.attrs.SUBTITLES,textCodec:t.textCodec}})),m=l.default.parseMasterPlaylistMedia(o,u,"AUDIO",v),y=l.default.parseMasterPlaylistMedia(o,u,"SUBTITLES",p),E=l.default.parseMasterPlaylistMedia(o,u,"CLOSED-CAPTIONS");m.length&&(m.some((function(t){return!t.url}))||!f[0].audioCodec||f[0].attrs.AUDIO||(a.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),m.unshift({type:"main",name:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new c.AttrList({}),bitrate:0,url:""}))),s.trigger(n.Events.MANIFEST_LOADED,{levels:f,audioTracks:m,subtitles:y,captions:E,url:u,stats:e,networkDetails:i,sessionData:g})}else this.handleManifestParsingError(t,r,"no level found in manifest",i)},e.handleTrackOrLevelPlaylist=function(t,e,r,a){var o=this.hls,h=r.id,f=r.level,g=r.type,v=d(t,r),p=Object(i.isFiniteNumber)(h)?h:0,m=Object(i.isFiniteNumber)(f)?f:p,y=function(t){switch(t.type){case u.PlaylistContextType.AUDIO_TRACK:return u.PlaylistLevelType.AUDIO;case u.PlaylistContextType.SUBTITLE_TRACK:return u.PlaylistLevelType.SUBTITLE;default:return u.PlaylistLevelType.MAIN}}(r),E=l.default.parseLevelPlaylist(t.data,v,m,y,p);if(E.fragments.length){if(g===u.PlaylistContextType.MANIFEST){var T={attrs:new c.AttrList({}),bitrate:0,details:E,name:"",url:v};o.trigger(n.Events.MANIFEST_LOADED,{levels:[T],audioTracks:[],url:v,stats:e,networkDetails:a,sessionData:null})}if(e.parsing.end=performance.now(),E.needSidxRanges){var S,b=null===(S=E.fragments[0].initSegment)||void 0===S?void 0:S.url;this.load({url:b,isSidxRequest:!0,type:g,level:f,levelDetails:E,id:h,groupId:null,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer",deliveryDirectives:null})}else r.levelDetails=E,this.handlePlaylistLoaded(t,e,r,a)}else o.trigger(n.Events.ERROR,{type:s.ErrorTypes.NETWORK_ERROR,details:s.ErrorDetails.LEVEL_EMPTY_ERROR,fatal:!1,url:v,reason:"no fragments found in level",level:"number"==typeof r.level?r.level:void 0})},e.handleSidxRequest=function(t,e){var r=Object(o.parseSegmentIndex)(new Uint8Array(t.data));if(r){var i=r.references,n=e.levelDetails;i.forEach((function(t,e){var i=t.info,s=n.fragments[e];0===s.byteRange.length&&s.setByteRange(String(1+i.end-i.start)+"@"+String(i.start)),s.initSegment&&s.initSegment.setByteRange(String(r.moovEndOffset)+"@0")}))}},e.handleManifestParsingError=function(t,e,r,i){this.hls.trigger(n.Events.ERROR,{type:s.ErrorTypes.NETWORK_ERROR,details:s.ErrorDetails.MANIFEST_PARSING_ERROR,fatal:e.type===u.PlaylistContextType.MANIFEST,url:t.url,reason:r,response:t,context:e,networkDetails:i})},e.handleNetworkError=function(t,e,r,i){void 0===r&&(r=!1),a.logger.warn("[playlist-loader]: A network "+(r?"timeout":"error")+" occurred while loading "+t.type+" level: "+t.level+" id: "+t.id+' group-id: "'+t.groupId+'"');var o=s.ErrorDetails.UNKNOWN,l=!1,c=this.getInternalLoader(t);switch(t.type){case u.PlaylistContextType.MANIFEST:o=r?s.ErrorDetails.MANIFEST_LOAD_TIMEOUT:s.ErrorDetails.MANIFEST_LOAD_ERROR,l=!0;break;case u.PlaylistContextType.LEVEL:o=r?s.ErrorDetails.LEVEL_LOAD_TIMEOUT:s.ErrorDetails.LEVEL_LOAD_ERROR,l=!1;break;case u.PlaylistContextType.AUDIO_TRACK:o=r?s.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:s.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,l=!1;break;case u.PlaylistContextType.SUBTITLE_TRACK:o=r?s.ErrorDetails.SUBTITLE_TRACK_LOAD_TIMEOUT:s.ErrorDetails.SUBTITLE_LOAD_ERROR,l=!1}c&&this.resetInternalLoader(t.type);var d={type:s.ErrorTypes.NETWORK_ERROR,details:o,fatal:l,url:t.url,loader:c,context:t,networkDetails:e};i&&(d.response=i),this.hls.trigger(n.Events.ERROR,d)},e.handlePlaylistLoaded=function(t,e,r,i){var s=r.type,a=r.level,o=r.id,l=r.groupId,c=r.loader,d=r.levelDetails,h=r.deliveryDirectives;if(null!=d&&d.targetduration){if(c)switch(d.live&&(c.getCacheAge&&(d.ageHeader=c.getCacheAge()||0),c.getCacheAge&&!isNaN(d.ageHeader)||(d.ageHeader=0)),s){case u.PlaylistContextType.MANIFEST:case u.PlaylistContextType.LEVEL:this.hls.trigger(n.Events.LEVEL_LOADED,{details:d,level:a||0,id:o||0,stats:e,networkDetails:i,deliveryDirectives:h});break;case u.PlaylistContextType.AUDIO_TRACK:this.hls.trigger(n.Events.AUDIO_TRACK_LOADED,{details:d,id:o||0,groupId:l||"",stats:e,networkDetails:i,deliveryDirectives:h});break;case u.PlaylistContextType.SUBTITLE_TRACK:this.hls.trigger(n.Events.SUBTITLE_TRACK_LOADED,{details:d,id:o||0,groupId:l||"",stats:e,networkDetails:i,deliveryDirectives:h})}}else this.handleManifestParsingError(t,r,"invalid target duration",i)},t}();e.default=h},"./src/polyfills/number.ts": +/*!*********************************!*\ + !*** ./src/polyfills/number.ts ***! + \*********************************/ +/*! exports provided: isFiniteNumber, MAX_SAFE_INTEGER */function(t,e,r){"use strict";r.r(e),r.d(e,"isFiniteNumber",(function(){return i})),r.d(e,"MAX_SAFE_INTEGER",(function(){return n}));var i=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},n=Number.MAX_SAFE_INTEGER||9007199254740991},"./src/remux/aac-helper.ts": +/*!*********************************!*\ + !*** ./src/remux/aac-helper.ts ***! + \*********************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=function(){function t(){}return t.getSilentFrame=function(t,e){switch(t){case"mp4a.40.2":if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}},t}();e.default=i},"./src/remux/mp4-generator.ts": +/*!************************************!*\ + !*** ./src/remux/mp4-generator.ts ***! + \************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=Math.pow(2,32)-1,n=function(){function t(){}return t.init=function(){var e;for(e in t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var r=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),i=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:r,audio:i};var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),s=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=s,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var a=new Uint8Array([105,115,111,109]),o=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,a,l,a,o),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,n))},t.box=function(t){for(var e=8,r=arguments.length,i=new Array(r>1?r-1:0),n=1;n>24&255,o[1]=e>>16&255,o[2]=e>>8&255,o[3]=255&e,o.set(t,4),s=0,e=8;s>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,s>>24,s>>16&255,s>>8&255,255&s,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,r,i){return t.box(t.types.moof,t.mfhd(e),t.traf(i,r))},t.moov=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trak(e[r]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(i).concat(t.mvex(e)))},t.mvex=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trex(e[r]);return t.box.apply(null,[t.types.mvex].concat(i))},t.mvhd=function(e,r){r*=e;var n=Math.floor(r/(i+1)),s=Math.floor(r%(i+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24,n>>16&255,n>>8&255,255&n,s>>24,s>>16&255,s>>8&255,255&s,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,a)},t.sdtp=function(e){var r,i,n=e.samples||[],s=new Uint8Array(4+n.length);for(r=0;r>>8&255),s.push(255&n),s=s.concat(Array.prototype.slice.call(i));for(r=0;r>>8&255),a.push(255&n),a=a.concat(Array.prototype.slice.call(i));var o=t.box(t.types.avcC,new Uint8Array([1,s[3],s[4],s[5],255,224|e.sps.length].concat(s).concat([e.pps.length]).concat(a))),l=e.width,u=e.height,c=e.pixelRatio[0],d=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([c>>24,c>>16&255,c>>8&255,255&c,d>>24,d>>16&255,d>>8&255,255&d])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.mp4a=function(e){var r=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){var r=e.samplerate;return t.box(t.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]))},t.stsd=function(e){return"audio"===e.type?e.isAAC||"mp3"!==e.codec?t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var r=e.id,n=e.duration*e.timescale,s=e.width,a=e.height,o=Math.floor(n/(i+1)),l=Math.floor(n%(i+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,l>>24,l>>16&255,l>>8&255,255&l,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,s>>8&255,255&s,0,0,a>>8&255,255&a,0,0]))},t.traf=function(e,r){var n=t.sdtp(e),s=e.id,a=Math.floor(r/(i+1)),o=Math.floor(r%(i+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,o>>24,o>>16&255,o>>8&255,255&o])),t.trun(e,n.length+16+20+8+16+8+8),n)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var r=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,r){var i,n,s,a,o,l,u=e.samples||[],c=u.length,d=12+16*c,h=new Uint8Array(d);for(r+=8+d,h.set([0,0,15,1,c>>>24&255,c>>>16&255,c>>>8&255,255&c,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),i=0;i>>24&255,s>>>16&255,s>>>8&255,255&s,a>>>24&255,a>>>16&255,a>>>8&255,255&a,o.isLeading<<2|o.dependsOn,o.isDependedOn<<6|o.hasRedundancy<<4|o.paddingValue<<1|o.isNonSync,61440&o.degradPrio,15&o.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*i);return t.box(t.types.trun,h)},t.initSegment=function(e){t.types||t.init();var r=t.moov(e),i=new Uint8Array(t.FTYP.byteLength+r.byteLength);return i.set(t.FTYP),i.set(r,t.FTYP.byteLength),i},t}();n.types=void 0,n.HDLR_TYPES=void 0,n.STTS=void 0,n.STSC=void 0,n.STCO=void 0,n.STSZ=void 0,n.VMHD=void 0,n.SMHD=void 0,n.STSD=void 0,n.FTYP=void 0,n.DINF=void 0,e.default=n},"./src/remux/mp4-remuxer.ts": +/*!**********************************!*\ + !*** ./src/remux/mp4-remuxer.ts ***! + \**********************************/ +/*! exports provided: default, normalizePts */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return v})),r.d(e,"normalizePts",(function(){return p}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ./aac-helper */"./src/remux/aac-helper.ts"),s=r(/*! ./mp4-generator */"./src/remux/mp4-generator.ts"),a=r(/*! ../events */"./src/events.ts"),o=r(/*! ../errors */"./src/errors.ts"),l=r(/*! ../utils/logger */"./src/utils/logger.ts"),u=r(/*! ../types/loader */"./src/types/loader.ts"),c=r(/*! ../utils/timescale-conversion */"./src/utils/timescale-conversion.ts");function d(){return(d=Object.assign||function(t){for(var e=1;e0?t:r.pts}),t[0].pts);return e&&l.logger.debug("PTS rollover detected"),r},e.remux=function(t,e,r,i,n,s,a,o){var c,d,h,f,g,v,m=n,y=n,E=t.pid>-1,T=e.pid>-1,S=e.samples.length,b=t.samples.length>0,L=S>1;if((!E||b)&&(!T||L)||this.ISGenerated||a){this.ISGenerated||(h=this.generateIS(t,e,n));var A=this.isVideoContiguous,D=-1;if(L&&(D=function(t){for(var e=0;e0){l.logger.warn("[mp4-remuxer]: Dropped "+D+" out of "+S+" video samples due to a missing keyframe");var R=this.getVideoStartPts(e.samples);e.samples=e.samples.slice(D),e.dropped+=D,y+=(e.samples[0].pts-R)/(e.timescale||9e4)}else-1===D&&(l.logger.warn("[mp4-remuxer]: No keyframe found out of "+S+" video samples"),v=!1);if(this.ISGenerated){if(b&&L){var k=this.getVideoStartPts(e.samples),I=(p(t.samples[0].pts,k)-k)/e.inputTimeScale;m+=Math.max(0,I),y+=Math.max(0,-I)}if(b){if(t.samplerate||(l.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),h=this.generateIS(t,e,n)),d=this.remuxAudio(t,m,this.isAudioContiguous,s,T||L||o===u.PlaylistLevelType.AUDIO?y:void 0),L){var _=d?d.endPTS-d.startPTS:0;e.inputTimeScale||(l.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),h=this.generateIS(t,e,n)),c=this.remuxVideo(e,y,A,_)}}else L&&(c=this.remuxVideo(e,y,A,0));c&&(c.firstKeyFrame=D,c.independent=-1!==D)}}return this.ISGenerated&&(r.samples.length&&(g=this.remuxID3(r,n)),i.samples.length&&(f=this.remuxText(i,n))),{audio:d,video:c,initSegment:h,independent:v,text:f,id3:g}},e.generateIS=function(t,e,r){var n,a,o,l=t.samples,u=e.samples,c=this.typeSupported,d={},h=!Object(i.isFiniteNumber)(this._initPTS),f="audio/mp4";if(h&&(n=a=1/0),t.config&&l.length&&(t.timescale=t.samplerate,t.isAAC||(c.mpeg?(f="audio/mpeg",t.codec=""):c.mp3&&(t.codec="mp3")),d.audio={id:"audio",container:f,codec:t.codec,initSegment:!t.isAAC&&c.mpeg?new Uint8Array(0):s.default.initSegment([t]),metadata:{channelCount:t.channelCount}},h&&(o=t.inputTimeScale,n=a=l[0].pts-Math.round(o*r))),e.sps&&e.pps&&u.length&&(e.timescale=e.inputTimeScale,d.video={id:"main",container:"video/mp4",codec:e.codec,initSegment:s.default.initSegment([e]),metadata:{width:e.width,height:e.height}},h)){o=e.inputTimeScale;var g=this.getVideoStartPts(u),v=Math.round(o*r);a=Math.min(a,p(u[0].dts,g)-v),n=Math.min(n,g-v)}if(Object.keys(d).length)return this.ISGenerated=!0,h&&(this._initPTS=n,this._initDTS=a),{tracks:d,initPTS:n,timescale:o}},e.remuxVideo=function(t,e,r,i){var n,u,f,v=t.inputTimeScale,y=t.samples,E=[],T=y.length,S=this._initPTS,b=this.nextAvcDts,L=8,A=Number.POSITIVE_INFINITY,D=Number.NEGATIVE_INFINITY,R=0,k=!1;r&&null!==b||(b=e*v-(y[0].pts-p(y[0].dts,y[0].pts)));for(var I=0;I_.pts&&(R=Math.max(Math.min(R,_.pts-_.dts),-18e3)),_.dts0?I-1:I].dts&&(k=!0)}k&&y.sort((function(t,e){var r=t.dts-e.dts,i=t.pts-e.pts;return r||i})),u=y[0].dts,f=y[y.length-1].dts;var C=Math.round((f-u)/(T-1));if(R<0){if(R<-2*C){l.logger.warn("PTS < DTS detected in video samples, offsetting DTS from PTS by "+Object(c.toMsFromMpegTsClock)(-C,!0)+" ms");for(var O=R,w=0;wC;if(F||P<-1){F?l.logger.warn("AVC: "+Object(c.toMsFromMpegTsClock)(P,!0)+" ms ("+P+"dts) hole between fragments detected, filling it"):l.logger.warn("AVC: "+Object(c.toMsFromMpegTsClock)(-P,!0)+" ms ("+P+"dts) overlapping between fragments detected"),u=b;var M=y[0].pts-P;y[0].dts=u,y[0].pts=M,l.logger.log("Video: First PTS/DTS adjusted: "+Object(c.toMsFromMpegTsClock)(M,!0)+"/"+Object(c.toMsFromMpegTsClock)(u,!0)+", delta: "+Object(c.toMsFromMpegTsClock)(P,!0)+" ms")}}g&&(u=Math.max(0,u));for(var N=0,B=0,U=0;U0?X-1:X].dts;if(it.stretchShortVideoTrack&&null!==this.nextAudioPts){var st=Math.floor(it.maxBufferHole*v),at=(i?A+i*v:this.nextAudioPts)-z.pts;at>st?((n=at-nt)<0&&(n=nt),l.logger.log("[mp4-remuxer]: It is approximately "+at/90+" ms to the next segment; using duration "+n/90+" ms for the last video frame.")):n=nt}else n=nt}var ot=Math.round(z.pts-z.dts);E.push(new m(z.key,n,$,ot))}if(E.length&&h&&h<70){var lt=E[0].flags;lt.dependsOn=2,lt.isNonSync=0}console.assert(void 0!==n,"mp4SampleDuration must be computed"),this.nextAvcDts=b=f+n,this.isVideoContiguous=!0;var ut={data1:s.default.moof(t.sequenceNumber++,u,d({},t,{samples:E})),data2:W,startPTS:A/v,endPTS:(D+n)/v,startDTS:u/v,endDTS:b/v,type:"video",hasAudio:!1,hasVideo:!0,nb:E.length,dropped:t.dropped};return t.samples=[],t.dropped=0,console.assert(W.length,"MDAT length must not be zero"),ut},e.remuxAudio=function(t,e,r,i,u){var c=t.inputTimeScale,h=c/(t.samplerate?t.samplerate:c),f=t.isAAC?1024:1152,g=f*h,v=this._initPTS,y=!t.isAAC&&this.typeSupported.mpeg,E=[],T=t.samples,S=y?0:8,b=this.nextAudioPts||-1,L=e*c;if(this.isAudioContiguous=r=r||T.length&&b>0&&(i&&Math.abs(L-b)<9e3||Math.abs(p(T[0].pts-v,L)-b)<20*g),T.forEach((function(t){t.pts=p(t.pts-v,L)})),!r||b<0){if(!(T=T.filter((function(t){return t.pts>=0}))).length)return;b=0===u?0:i?Math.max(0,L):T[0].pts}if(t.isAAC)for(var A=void 0!==u,D=this.config.maxAudioFramesDrift,R=0,k=b;R=D*g&&O<1e4&&A){var w=Math.round(C/g);(k=_-w*g)<0&&(w--,k+=g),0===R&&(this.nextAudioPts=b=k),l.logger.warn("[mp4-remuxer]: Injecting "+w+" audio frame @ "+(k/c).toFixed(3)+"s due to "+Math.round(1e3*C/c)+" ms gap.");for(var x=0;x0))return;U+=S;try{M=new Uint8Array(U)}catch(t){return void this.observer.emit(a.Events.ERROR,a.Events.ERROR,{type:o.ErrorTypes.MUX_ERROR,details:o.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:U,reason:"fail allocating audio mdat "+U})}y||(new DataView(M.buffer).setUint32(0,U),M.set(s.default.types.mdat,4))}M.set(V,S);var Y=V.byteLength;S+=Y,E.push(new m(!0,f,Y,0)),B=W}var q=E.length;if(q){var X=E[E.length-1];this.nextAudioPts=b=B+h*X.duration;var z=y?new Uint8Array(0):s.default.moof(t.sequenceNumber++,N/h,d({},t,{samples:E}));t.samples=[];var Q=N/c,$=b/c,J={data1:z,data2:M,startPTS:Q,endPTS:$,startDTS:Q,endDTS:$,type:"audio",hasAudio:!0,hasVideo:!1,nb:q};return this.isAudioContiguous=!0,console.assert(M.length,"MDAT length must not be zero"),J}},e.remuxEmptyAudio=function(t,e,r,i){var s=t.inputTimeScale,a=s/(t.samplerate?t.samplerate:s),o=this.nextAudioPts,u=(null!==o?o:i.startDTS*s)+this._initDTS,c=i.endDTS*s+this._initDTS,d=1024*a,h=Math.ceil((c-u)/d),f=n.default.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(l.logger.warn("[mp4-remuxer]: remux empty Audio"),f){for(var g=[],v=0;v4294967296;)t+=r;return t}var m=function(t,e,r,i){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=e,this.size=r,this.cts=i,this.flags=new y(t)},y=function(t){this.isLeading=0,this.isDependedOn=0,this.hasRedundancy=0,this.degradPrio=0,this.dependsOn=1,this.isNonSync=1,this.dependsOn=t?2:1,this.isNonSync=t?0:1}},"./src/remux/passthrough-remuxer.ts": +/*!******************************************!*\ + !*** ./src/remux/passthrough-remuxer.ts ***! + \******************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../utils/mp4-tools */"./src/utils/mp4-tools.ts"),s=r(/*! ../loader/fragment */"./src/loader/fragment.ts"),a=r(/*! ../utils/logger */"./src/utils/logger.ts"),o=function(){function t(){this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=void 0,this.initTracks=void 0,this.lastEndDTS=null}var e=t.prototype;return e.destroy=function(){},e.resetTimeStamp=function(t){this.initPTS=t,this.lastEndDTS=null},e.resetNextTimestamp=function(){this.lastEndDTS=null},e.resetInitSegment=function(t,e,r){this.audioCodec=e,this.videoCodec=r,this.generateInitSegment(t),this.emitInitSegment=!0},e.generateInitSegment=function(t){var e=this.audioCodec,r=this.videoCodec;if(!t||!t.byteLength)return this.initTracks=void 0,void(this.initData=void 0);var i=this.initData=Object(n.parseInitSegment)(t);e||(e=u(i.audio,s.ElementaryStreamTypes.AUDIO)),r||(r=u(i.video,s.ElementaryStreamTypes.VIDEO));var o={};i.audio&&i.video?o.audiovideo={container:"video/mp4",codec:e+","+r,initSegment:t,id:"main"}:i.audio?o.audio={container:"audio/mp4",codec:e,initSegment:t,id:"audio"}:i.video?o.video={container:"video/mp4",codec:r,initSegment:t,id:"main"}:a.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=o},e.remux=function(t,e,r,s,o){var u=this.initPTS,c=this.lastEndDTS,d={audio:void 0,video:void 0,text:s,id3:r,initSegment:void 0};Object(i.isFiniteNumber)(c)||(c=this.lastEndDTS=o||0);var h=e.samples;if(!h||!h.length)return d;var f={initPTS:void 0,timescale:1},g=this.initData;if(g&&g.length||(this.generateInitSegment(h),g=this.initData),!g||!g.length)return a.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),d;this.emitInitSegment&&(f.tracks=this.initTracks,this.emitInitSegment=!1),Object(i.isFiniteNumber)(u)||(this.initPTS=f.initPTS=u=l(g,h,c));var v=Object(n.getDuration)(h,g),p=c,m=v+p;Object(n.offsetStartDTS)(g,h,u),v>0?this.lastEndDTS=m:(a.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());var y=!!g.audio,E=!!g.video,T="";y&&(T+="audio"),E&&(T+="video");var S={data1:h,startPTS:p,startDTS:p,endPTS:m,endDTS:m,type:T,hasAudio:y,hasVideo:E,nb:1,dropped:0};return d.audio="audio"===S.type?S:void 0,d.video="audio"!==S.type?S:void 0,d.text=s,d.id3=r,d.initSegment=f,d},t}(),l=function(t,e,r){return Object(n.getStartDTS)(t,e)-r};function u(t,e){var r=null==t?void 0:t.codec;return r&&r.length>4?r:"hvc1"===r?"hvc1.1.c.L120.90":"av01"===r?"av01.0.04M.08":"avc1"===r||e===s.ElementaryStreamTypes.VIDEO?"avc1.42e01e":"mp4a.40.5"}e.default=o},"./src/task-loop.ts": +/*!**************************!*\ + !*** ./src/task-loop.ts ***! + \**************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return i}));var i=function(){function t(){this._boundTick=void 0,this._tickTimer=null,this._tickInterval=null,this._tickCallCount=0,this._boundTick=this.tick.bind(this)}var e=t.prototype;return e.destroy=function(){this.onHandlerDestroying(),this.onHandlerDestroyed()},e.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},e.onHandlerDestroyed=function(){},e.hasInterval=function(){return!!this._tickInterval},e.hasNextTick=function(){return!!this._tickTimer},e.setInterval=function(t){return!this._tickInterval&&(this._tickInterval=self.setInterval(this._boundTick,t),!0)},e.clearInterval=function(){return!!this._tickInterval&&(self.clearInterval(this._tickInterval),this._tickInterval=null,!0)},e.clearNextTick=function(){return!!this._tickTimer&&(self.clearTimeout(this._tickTimer),this._tickTimer=null,!0)},e.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&this.tickImmediate(),this._tickCallCount=0)},e.tickImmediate=function(){this.clearNextTick(),this._tickTimer=self.setTimeout(this._boundTick,0)},e.doTick=function(){},t}()},"./src/types/cmcd.ts": +/*!***************************!*\ + !*** ./src/types/cmcd.ts ***! + \***************************/ +/*! exports provided: CMCDVersion, CMCDObjectType, CMCDStreamingFormat, CMCDStreamType */function(t,e,r){"use strict";r.r(e),r.d(e,"CMCDVersion",(function(){return a})),r.d(e,"CMCDObjectType",(function(){return i})),r.d(e,"CMCDStreamingFormat",(function(){return n})),r.d(e,"CMCDStreamType",(function(){return s}));var i,n,s,a=1;!function(t){t.MANIFEST="m",t.AUDIO="a",t.VIDEO="v",t.MUXED="av",t.INIT="i",t.CAPTION="c",t.TIMED_TEXT="tt",t.KEY="k",t.OTHER="o"}(i||(i={})),function(t){t.DASH="d",t.HLS="h",t.SMOOTH="s",t.OTHER="o"}(n||(n={})),function(t){t.VOD="v",t.LIVE="l"}(s||(s={}))},"./src/types/level.ts": +/*!****************************!*\ + !*** ./src/types/level.ts ***! + \****************************/ +/*! exports provided: HlsSkip, getSkipValue, HlsUrlParameters, Level */function(t,e,r){"use strict";function i(t,e){for(var r=0;rNumber.MAX_SAFE_INTEGER?1/0:e},e.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var r=new Uint8Array(e.length/2),i=0;iNumber.MAX_SAFE_INTEGER?1/0:e},e.decimalFloatingPoint=function(t){return parseFloat(this[t])},e.optionalFloat=function(t,e){var r=this[t];return r?parseFloat(r):e},e.enumeratedString=function(t){return this[t]},e.bool=function(t){return"YES"===this[t]},e.decimalResolution=function(t){var e=i.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e,r={};for(n.lastIndex=0;null!==(e=n.exec(t));){var i=e[2];0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1&&(i=i.slice(1,-1)),r[e[1]]=i}return r},t}()},"./src/utils/binary-search.ts": +/*!************************************!*\ + !*** ./src/utils/binary-search.ts ***! + \************************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),e.default={search:function(t,e){for(var r=0,i=t.length-1,n=null,s=null;r<=i;){var a=e(s=t[n=(r+i)/2|0]);if(a>0)r=n+1;else{if(!(a<0))return s;i=n-1}}return null}}},"./src/utils/buffer-helper.ts": +/*!************************************!*\ + !*** ./src/utils/buffer-helper.ts ***! + \************************************/ +/*! exports provided: BufferHelper */function(t,e,r){"use strict";r.r(e),r.d(e,"BufferHelper",(function(){return s}));var i=r(/*! ./logger */"./src/utils/logger.ts"),n={length:0,start:function(){return 0},end:function(){return 0}},s=function(){function t(){}return t.isBuffered=function(e,r){try{if(e)for(var i=t.getBuffered(e),n=0;n=i.start(n)&&r<=i.end(n))return!0}catch(t){}return!1},t.bufferInfo=function(e,r,i){try{if(e){var n,s=t.getBuffered(e),a=[];for(n=0;na&&(i[s-1].end=t[n].end):i.push(t[n])}else i.push(t[n])}else i=t;for(var o,l=0,u=e,c=e,d=0;d=h&&e=t&&n.logger.log(this.time+" ["+t+"] "+e)},t}(),f=function(t){for(var e=[],r=0;r100&&(this.logger.log(i.DEBUG,"Too large cursor position "+this.pos),this.pos=100)},e.moveCursor=function(t){var e=this.pos+t;if(t>1)for(var r=this.pos+1;r=144&&this.backSpace();var e=a(t);this.pos>=100?this.logger.log(i.ERROR,"Cannot insert "+t.toString(16)+" ("+e+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(e,this.currPenState),this.moveCursor(1))},e.clearFromPos=function(t){var e;for(e=t;e<100;e++)this.chars[e].reset()},e.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},e.clearToEndOfRow=function(){this.clearFromPos(this.pos)},e.getTextString=function(){for(var t=[],e=!0,r=0;r<100;r++){var i=this.chars[r].uchar;" "!==i&&(e=!1),t.push(i)}return e?"":t.join("")},e.setPenStyles=function(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)},t}(),m=function(){function t(t){this.rows=void 0,this.currRow=void 0,this.nrRollUpRows=void 0,this.lastOutputScreen=void 0,this.logger=void 0,this.rows=[];for(var e=0;e<15;e++)this.rows.push(new p(t));this.logger=t,this.currRow=14,this.nrRollUpRows=null,this.lastOutputScreen=null,this.reset()}var e=t.prototype;return e.reset=function(){for(var t=0;t<15;t++)this.rows[t].clear();this.currRow=14},e.equals=function(t){for(var e=!0,r=0;r<15;r++)if(!this.rows[r].equals(t.rows[r])){e=!1;break}return e},e.copy=function(t){for(var e=0;e<15;e++)this.rows[e].copy(t.rows[e])},e.isEmpty=function(){for(var t=!0,e=0;e<15;e++)if(!this.rows[e].isEmpty()){t=!1;break}return t},e.backSpace=function(){this.rows[this.currRow].backSpace()},e.clearToEndOfRow=function(){this.rows[this.currRow].clearToEndOfRow()},e.insertChar=function(t){this.rows[this.currRow].insertChar(t)},e.setPen=function(t){this.rows[this.currRow].setPenStyles(t)},e.moveCursor=function(t){this.rows[this.currRow].moveCursor(t)},e.setCursor=function(t){this.logger.log(i.INFO,"setCursor: "+t),this.rows[this.currRow].setCursor(t)},e.setPAC=function(t){this.logger.log(i.INFO,"pacData = "+JSON.stringify(t));var e=t.row-1;if(this.nrRollUpRows&&e0&&(r=t?"["+e.join(" | ")+"]":e.join("\n")),r},e.getTextAndFormat=function(){return this.rows},t}(),y=function(){function t(t,e,r){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=e,this.mode=null,this.verbose=0,this.displayedMemory=new m(r),this.nonDisplayedMemory=new m(r),this.lastOutputScreen=new m(r),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=r}var e=t.prototype;return e.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[14],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null},e.getHandler=function(){return this.outputFilter},e.setHandler=function(t){this.outputFilter=t},e.setPAC=function(t){this.writeScreen.setPAC(t)},e.setBkgData=function(t){this.writeScreen.setBkgData(t)},e.setMode=function(t){t!==this.mode&&(this.mode=t,this.logger.log(i.INFO,"MODE="+t),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)},e.insertChars=function(t){for(var e=0;e=46,e.italics)e.foreground="white";else{var r=Math.floor(t/2)-16;e.foreground=["white","green","blue","cyan","red","yellow","magenta"][r]}this.logger.log(i.INFO,"MIDROW: "+JSON.stringify(e)),this.writeScreen.setPen(e)},e.outputDataUpdate=function(t){void 0===t&&(t=!1);var e=this.logger.time;null!==e&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,e,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:e):this.cueStartTime=e,this.lastOutputScreen.copy(this.displayedMemory))},e.cueSplitAtTime=function(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))},t}(),E=function(){function t(t,e,r){this.channels=void 0,this.currentChannel=0,this.cmdHistory=void 0,this.logger=void 0;var i=new h;this.channels=[null,new y(t,e,i),new y(t+1,r,i)],this.cmdHistory={a:null,b:null},this.logger=i}var e=t.prototype;return e.getHandler=function(t){return this.channels[t].getHandler()},e.setHandler=function(t,e){this.channels[t].setHandler(e)},e.addData=function(t,e){var r,n,s,a=!1;this.logger.time=t;for(var o=0;o ("+f([n,s])+")"),(r=this.parseCmd(n,s))||(r=this.parseMidrow(n,s)),r||(r=this.parsePAC(n,s)),r||(r=this.parseBackgroundAttributes(n,s)),!r&&(a=this.parseChars(n,s))){var l=this.currentChannel;l&&l>0?this.channels[l].insertChars(a):this.logger.log(i.WARNING,"No channel found yet. TEXT-MODE?")}r||a||this.logger.log(i.WARNING,"Couldn't parse cleaned data "+f([n,s])+" orig: "+f([e[o],e[o+1]]))}},e.parseCmd=function(t,e){var r=this.cmdHistory;if(!((20===t||28===t||21===t||29===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=33&&e<=35))return!1;if(S(t,e,r))return T(null,null,r),this.logger.log(i.DEBUG,"Repeated command ("+f([t,e])+") is dropped"),!0;var n=20===t||21===t||23===t?1:2,s=this.channels[n];return 20===t||21===t||28===t||29===t?32===e?s.ccRCL():33===e?s.ccBS():34===e?s.ccAOF():35===e?s.ccAON():36===e?s.ccDER():37===e?s.ccRU(2):38===e?s.ccRU(3):39===e?s.ccRU(4):40===e?s.ccFON():41===e?s.ccRDC():42===e?s.ccTR():43===e?s.ccRTD():44===e?s.ccEDM():45===e?s.ccCR():46===e?s.ccENM():47===e&&s.ccEOC():s.ccTO(e-32),T(t,e,r),this.currentChannel=n,!0},e.parseMidrow=function(t,e){var r=0;if((17===t||25===t)&&e>=32&&e<=47){if((r=17===t?1:2)!==this.currentChannel)return this.logger.log(i.ERROR,"Mismatch channel in midrow parsing"),!1;var n=this.channels[r];return!!n&&(n.ccMIDROW(e),this.logger.log(i.DEBUG,"MIDROW ("+f([t,e])+")"),!0)}return!1},e.parsePAC=function(t,e){var r,i=this.cmdHistory;if(!((t>=17&&t<=23||t>=25&&t<=31)&&e>=64&&e<=127||(16===t||24===t)&&e>=64&&e<=95))return!1;if(S(t,e,i))return T(null,null,i),!0;var n=t<=23?1:2;r=e>=64&&e<=95?1===n?o[t]:u[t]:1===n?l[t]:c[t];var s=this.channels[n];return!!s&&(s.setPAC(this.interpretPAC(r,e)),T(t,e,i),this.currentChannel=n,!0)},e.interpretPAC=function(t,e){var r,i={color:null,italics:!1,indent:null,underline:!1,row:t};return r=e>95?e-96:e-64,i.underline=1==(1&r),r<=13?i.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(i.italics=!0,i.color="white"):i.indent=4*Math.floor((r-16)/2),i},e.parseChars=function(t,e){var r,n,s=null,o=null;if(t>=25?(r=2,o=t-8):(r=1,o=t),o>=17&&o<=19?(n=17===o?e+80:18===o?e+112:e+144,this.logger.log(i.INFO,"Special char '"+a(n)+"' in channel "+r),s=[n]):t>=32&&t<=127&&(s=0===e?[t]:[t,e]),s){var l=f(s);this.logger.log(i.DEBUG,"Char codes = "+l.join(",")),T(t,e,this.cmdHistory)}return s},e.parseBackgroundAttributes=function(t,e){var r;if(!((16===t||24===t)&&e>=32&&e<=47||(23===t||31===t)&&e>=45&&e<=47))return!1;var i={};16===t||24===t?(r=Math.floor((e-32)/2),i.background=d[r],e%2==1&&(i.background=i.background+"_semi")):45===e?i.background="transparent":(i.foreground="black",47===e&&(i.underline=!0));var n=t<=23?1:2;return this.channels[n].setBkgData(i),T(t,e,this.cmdHistory),!0},e.reset=function(){for(var t=0;t=16?d--:d++;var m=Object(i.fixLineBreaks)(h.trim()),y=Object(n.generateCueId)(e,r,m);t&&t.cues&&t.cues.getCueById(y)||((u=new g(e,r,m)).id=y,u.line=v+1,u.align="left",u.position=10+Math.min(80,10*Math.floor(8*d/32)),f.push(u))}return t&&f.length&&(f.sort((function(t,e){return"auto"===t.line||"auto"===e.line?0:t.line>8&&e.line>8?e.line-t.line:t.line-e.line})),f.forEach((function(e){return Object(s.addCueToTrack)(t,e)}))),f}};e.default=o},"./src/utils/discontinuities.ts": +/*!**************************************!*\ + !*** ./src/utils/discontinuities.ts ***! + \**************************************/ +/*! exports provided: findFirstFragWithCC, shouldAlignOnDiscontinuities, findDiscontinuousReferenceFrag, adjustSlidingStart, alignStream, alignPDT, alignFragmentByPDTDelta, alignMediaPlaylistByPDT */function(t,e,r){"use strict";r.r(e),r.d(e,"findFirstFragWithCC",(function(){return a})),r.d(e,"shouldAlignOnDiscontinuities",(function(){return o})),r.d(e,"findDiscontinuousReferenceFrag",(function(){return l})),r.d(e,"adjustSlidingStart",(function(){return c})),r.d(e,"alignStream",(function(){return d})),r.d(e,"alignPDT",(function(){return h})),r.d(e,"alignFragmentByPDTDelta",(function(){return f})),r.d(e,"alignMediaPlaylistByPDT",(function(){return g}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ./logger */"./src/utils/logger.ts"),s=r(/*! ../controller/level-helper */"./src/controller/level-helper.ts");function a(t,e){for(var r=null,i=0,n=t.length;ir.startCC||t&&t.cc=this.minWeight_},e.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},e.destroy=function(){},t}();e.default=n},"./src/utils/ewma.ts": +/*!***************************!*\ + !*** ./src/utils/ewma.ts ***! + \***************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0),this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=e,this.totalWeight_=r}var e=t.prototype;return e.sample=function(t,e){var r=Math.pow(this.alpha_,t);this.estimate_=e*(1-r)+r*this.estimate_,this.totalWeight_+=t},e.getTotalWeight=function(){return this.totalWeight_},e.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_},t}();e.default=i},"./src/utils/fetch-loader.ts": +/*!***********************************!*\ + !*** ./src/utils/fetch-loader.ts ***! + \***********************************/ +/*! exports provided: fetchSupported, default */function(t,e,r){"use strict";r.r(e),r.d(e,"fetchSupported",(function(){return h}));var i=r(/*! ./src/polyfills/number */"./src/polyfills/number.ts"),n=r(/*! ../loader/load-stats */"./src/loader/load-stats.ts"),s=r(/*! ../demux/chunk-cache */"./src/demux/chunk-cache.ts");function a(t){var e="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return o(t,arguments,c(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),u(i,t)})(t)}function o(t,e,r){return(o=l()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&u(n,r.prototype),n}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(){return(d=Object.assign||function(t){for(var e=1;e=i&&n(e,r,a.flush(),t)):n(e,r,l,t),s()})).catch((function(){return Promise.reject()}))}()},t}();function g(t,e){return new self.Request(t.url,e)}var v=function(t){var e,r;function i(e,r,i){var n;return(n=t.call(this,e)||this).code=void 0,n.details=void 0,n.code=r,n.details=i,n}return r=t,(e=i).prototype=Object.create(r.prototype),e.prototype.constructor=e,u(e,r),i}(a(Error));e.default=f},"./src/utils/imsc1-ttml-parser.ts": +/*!****************************************!*\ + !*** ./src/utils/imsc1-ttml-parser.ts ***! + \****************************************/ +/*! exports provided: IMSC1_CODEC, parseIMSC1 */function(t,e,r){"use strict";r.r(e),r.d(e,"IMSC1_CODEC",(function(){return c})),r.d(e,"parseIMSC1",(function(){return g}));var i=r(/*! ./mp4-tools */"./src/utils/mp4-tools.ts"),n=r(/*! ./vttparser */"./src/utils/vttparser.ts"),s=r(/*! ./vttcue */"./src/utils/vttcue.ts"),a=r(/*! ../demux/id3 */"./src/demux/id3.ts"),o=r(/*! ./timescale-conversion */"./src/utils/timescale-conversion.ts"),l=r(/*! ./webvtt-parser */"./src/utils/webvtt-parser.ts");function u(){return(u=Object.assign||function(t){for(var e=1;e"):i}function o(t){if(self.console&&!0===t||"object"==typeof t){!function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i>24,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r}function d(t,e){var r,i,n,s=[];if(!e.length)return s;"data"in t?(r=t.data,i=t.start,n=t.end):(i=0,n=(r=t).byteLength);for(var l=i;l1?l+c:n;if(o(r.subarray(l+4,l+8))===e[0])if(1===e.length)s.push({data:r,start:l+8,end:h});else{var f=d({data:r,start:l+8,end:h},e.slice(1));f.length&&a.apply(s,f)}l=h}return s}function h(t){var e=d(t,["moov"])[0],r=e?e.end:null,i=d(t,["sidx"]);if(!i||!i[0])return null;var n=[],s=i[0],a=s.data[0],o=0===a?8:16,c=u(s,o);o+=4,o+=0===a?8:16,o+=2;var h=s.end+0,f=l(s,o);o+=2;for(var g=0;g>>31)return console.warn("SIDX has hierarchical references (not supported)"),null;var y=u(s,v);v+=4,n.push({referenceSize:m,subsegmentDuration:y,info:{duration:y/c,start:h,end:h+m-1}}),h+=m,o=v+=4}return{earliestPresentationTime:0,timescale:c,version:a,referencesCount:f,references:n,moovEndOffset:r}}function f(t){for(var e=[],r=d(t,["moov","trak"]),i=0;it)&&(this.startTime=t),this.endTime=e,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)},e.reset=function(){this.cueRanges=[]},t}()},"./src/utils/texttrack-utils.ts": +/*!**************************************!*\ + !*** ./src/utils/texttrack-utils.ts ***! + \**************************************/ +/*! exports provided: sendAddTrackEvent, addCueToTrack, clearCurrentCues, removeCuesInRange, getCuesInRange */function(t,e,r){"use strict";r.r(e),r.d(e,"sendAddTrackEvent",(function(){return n})),r.d(e,"addCueToTrack",(function(){return s})),r.d(e,"clearCurrentCues",(function(){return a})),r.d(e,"removeCuesInRange",(function(){return o})),r.d(e,"getCuesInRange",(function(){return l}));var i=r(/*! ./logger */"./src/utils/logger.ts");function n(t,e){var r;try{r=new Event("addtrack")}catch(t){(r=document.createEvent("Event")).initEvent("addtrack",!1,!1)}r.track=t,e.dispatchEvent(r)}function s(t,e){var r=t.mode;if("disabled"===r&&(t.mode="hidden"),t.cues&&!t.cues.getCueById(e.id))try{if(t.addCue(e),!t.cues.getCueById(e.id))throw new Error("addCue is failed for: "+e)}catch(r){i.logger.debug("[texttrack-utils]: "+r);var n=new self.TextTrackCue(e.startTime,e.endTime,e.text);n.id=e.id,t.addCue(n)}"disabled"===r&&(t.mode=r)}function a(t){var e=t.mode;if("disabled"===e&&(t.mode="hidden"),t.cues)for(var r=t.cues.length;r--;)t.removeCue(t.cues[r]);"disabled"===e&&(t.mode=e)}function o(t,e,r){var i=t.mode;if("disabled"===i&&(t.mode="hidden"),t.cues&&t.cues.length>0)for(var n=l(t.cues,e,r),s=0;st[r].endTime)return-1;for(var i=0,n=r;i<=n;){var s=Math.floor((n+i)/2);if(et[s].startTime&&i-1)for(var s=n,a=t.length;s=e&&o.endTime<=r)i.push(o);else if(o.startTime>r)return i}return i}},"./src/utils/time-ranges.ts": +/*!**********************************!*\ + !*** ./src/utils/time-ranges.ts ***! + \**********************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e),e.default={toString:function(t){for(var e="",r=t.length,i=0;i1?e-1:0),i=1;i100)throw new Error("Position must be between 0 and 100.");E=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",n({},l,{get:function(){return T},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");T=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"size",n({},l,{get:function(){return S},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");S=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"align",n({},l,{get:function(){return b},set:function(t){var e=i(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),o.displayState=void 0}return s.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},s}()},"./src/utils/vttparser.ts": +/*!********************************!*\ + !*** ./src/utils/vttparser.ts ***! + \********************************/ +/*! exports provided: parseTimeStamp, fixLineBreaks, VTTParser */function(t,e,r){"use strict";r.r(e),r.d(e,"parseTimeStamp",(function(){return s})),r.d(e,"fixLineBreaks",(function(){return d})),r.d(e,"VTTParser",(function(){return h}));var i=r(/*! ./vttcue */"./src/utils/vttcue.ts"),n=function(){function t(){}return t.prototype.decode=function(t,e){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))},t}();function s(t){function e(t,e,r,i){return 3600*(0|t)+60*(0|e)+(0|r)+parseFloat(i||0)}var r=t.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return r?parseFloat(r[2])>59?e(r[2],r[3],0,r[4]):e(r[1],r[2],r[3],r[4]):null}var a=function(){function t(){this.values=Object.create(null)}var e=t.prototype;return e.set=function(t,e){this.get(t)||""===e||(this.values[t]=e)},e.get=function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},e.has=function(t){return t in this.values},e.alt=function(t,e,r){for(var i=0;i=0&&r<=100)return this.set(t,r),!0}return!1},t}();function o(t,e,r,i){var n=i?t.split(i):[t];for(var s in n)if("string"==typeof n[s]){var a=n[s].split(r);2===a.length&&e(a[0],a[1])}}var l=new i.default(0,0,""),u="middle"===l.align?"middle":"center";function c(t,e,r){var i=t;function n(){var e=s(t);if(null===e)throw new Error("Malformed timestamp: "+i);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=n(),c(),"--\x3e"!==t.substr(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);t=t.substr(3),c(),e.endTime=n(),c(),function(t,e){var i=new a;o(t,(function(t,e){var n;switch(t){case"region":for(var s=r.length-1;s>=0;s--)if(r[s].id===e){i.set(t,r[s].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":n=e.split(","),i.integer(t,n[0]),i.percent(t,n[0])&&i.set("snapToLines",!1),i.alt(t,n[0],["auto"]),2===n.length&&i.alt("lineAlign",n[1],["start",u,"end"]);break;case"position":n=e.split(","),i.percent(t,n[0]),2===n.length&&i.alt("positionAlign",n[1],["start",u,"end","line-left","line-right","auto"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start",u,"end","left","right"])}}),/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical","");var n=i.get("line","auto");"auto"===n&&-1===l.line&&(n=-1),e.line=n,e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align",u);var s=i.get("position","auto");"auto"===s&&50===l.position&&(s="start"===e.align||"left"===e.align?0:"end"===e.align||"right"===e.align?100:50),e.position=s}(t,e)}function d(t){return t.replace(//gi,"\n")}var h=function(){function t(){this.state="INITIAL",this.buffer="",this.decoder=new n,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}var e=t.prototype;return e.parse=function(t){var e=this;function r(){var t=e.buffer,r=0;for(t=d(t);r>>0).toString()};function d(t,e,r){return c(t.toString())+c(e.toString())+c(r)}function h(t,e,r,c,h,f,g,v){var p,m=new n.VTTParser,y=Object(s.utf8ArrayToStr)(new Uint8Array(t)).trim().replace(l,"\n").split("\n"),E=[],T=Object(a.toMpegTsClockFromTimescale)(e,r),S="00:00.000",b=0,L=0,A=!0,D=!1;m.oncue=function(t){var e=c[h],r=c.ccOffset,i=(b-T)/9e4;if(null!=e&&e.new&&(void 0!==L?r=c.ccOffset=e.start:function(t,e,r){var i=t[e],n=t[i.prevCC];if(!n||!n.new&&i.new)return t.ccOffset=t.presentationOffset=i.start,void(i.new=!1);for(;null!==(s=n)&&void 0!==s&&s.new;){var s;t.ccOffset+=i.start-n.start,i.new=!1,n=t[(i=n).prevCC]}t.presentationOffset=r}(c,h,i)),i&&(r=i-c.presentationOffset),D){var n=t.endTime-t.startTime,s=Object(o.normalizePts)(9e4*(t.startTime+r-L),9e4*f)/9e4;t.startTime=s,t.endTime=s+n}var a=t.text.trim();t.text=decodeURIComponent(encodeURIComponent(a)),t.id||(t.id=d(t.startTime,t.endTime,a)),t.endTime>0&&E.push(t)},m.onparsingerror=function(t){p=t},m.onflush=function(){p?v(p):g(E)},y.forEach((function(t){if(A){if(u(t,"X-TIMESTAMP-MAP=")){A=!1,D=!0,t.substr(16).split(",").forEach((function(t){u(t,"LOCAL:")?S=t.substr(6):u(t,"MPEGTS:")&&(b=parseInt(t.substr(7)))}));try{L=function(t){var e=parseInt(t.substr(-3)),r=parseInt(t.substr(-6,2)),n=parseInt(t.substr(-9,2)),s=t.length>9?parseInt(t.substr(0,t.indexOf(":"))):0;if(!(Object(i.isFiniteNumber)(e)&&Object(i.isFiniteNumber)(r)&&Object(i.isFiniteNumber)(n)&&Object(i.isFiniteNumber)(s)))throw Error("Malformed X-TIMESTAMP-MAP: Local:"+t);return e+=1e3*r,e+=6e4*n,e+=36e5*s}(S)/1e3}catch(t){D=!1,p=t}return}""===t&&(A=!1)}m.parse(t+"\n")})),m.flush()}},"./src/utils/xhr-loader.ts": +/*!*********************************!*\ + !*** ./src/utils/xhr-loader.ts ***! + \*********************************/ +/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var i=r(/*! ../utils/logger */"./src/utils/logger.ts"),n=r(/*! ../loader/load-stats */"./src/loader/load-stats.ts"),s=/^age:\s*[\d.]+\s*$/m,a=function(){function t(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=void 0,this.loader=null,this.stats=void 0,this.xhrSetup=t?t.xhrSetup:null,this.stats=new n.LoadStats,this.retryDelay=0}var e=t.prototype;return e.destroy=function(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null},e.abortInternal=function(){var t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,4!==t.readyState&&(this.stats.aborted=!0,t.abort()))},e.abort=function(){var t;this.abortInternal(),null!==(t=this.callbacks)&&void 0!==t&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)},e.load=function(t,e,r){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=e,this.callbacks=r,this.retryDelay=e.retryDelay,this.loadInternal()},e.loadInternal=function(){var t=this.config,e=this.context;if(t){var r=this.loader=new self.XMLHttpRequest,i=this.stats;i.loading.first=0,i.loaded=0;var n=this.xhrSetup;try{if(n)try{n(r,e.url)}catch(t){r.open("GET",e.url,!0),n(r,e.url)}r.readyState||r.open("GET",e.url,!0);var s=this.context.headers;if(s)for(var a in s)r.setRequestHeader(a,s[a])}catch(t){return void this.callbacks.onError({code:r.status,text:t.message},e,r)}e.rangeEnd&&r.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),r.onreadystatechange=this.readystatechange.bind(this),r.onprogress=this.loadprogress.bind(this),r.responseType=e.responseType,self.clearTimeout(this.requestTimeout),this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),t.timeout),r.send()}},e.readystatechange=function(){var t=this.context,e=this.loader,r=this.stats;if(t&&e){var n=e.readyState,s=this.config;if(!r.aborted&&n>=2)if(self.clearTimeout(this.requestTimeout),0===r.loading.first&&(r.loading.first=Math.max(self.performance.now(),r.loading.start)),4===n){e.onreadystatechange=null,e.onprogress=null;var a=e.status;if(a>=200&&a<300){var o,l;if(r.loading.end=Math.max(self.performance.now(),r.loading.first),l="arraybuffer"===t.responseType?(o=e.response).byteLength:(o=e.responseText).length,r.loaded=r.total=l,!this.callbacks)return;var u=this.callbacks.onProgress;if(u&&u(r,t,o,e),!this.callbacks)return;var c={url:e.responseURL,data:o};this.callbacks.onSuccess(c,r,t,e)}else r.retry>=s.maxRetry||a>=400&&a<499?(i.logger.error(a+" while loading "+t.url),this.callbacks.onError({code:a,text:e.statusText},t,e)):(i.logger.warn(a+" while loading "+t.url+", retrying in "+this.retryDelay+"..."),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,s.maxRetryDelay),r.retry++)}else self.clearTimeout(this.requestTimeout),this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout)}},e.loadtimeout=function(){i.logger.warn("timeout while loading "+this.context.url);var t=this.callbacks;t&&(this.abortInternal(),t.onTimeout(this.stats,this.context,this.loader))},e.loadprogress=function(t){var e=this.stats;e.loaded=t.loaded,t.lengthComputable&&(e.total=t.total)},e.getCacheAge=function(){var t=null;if(this.loader&&s.test(this.loader.getAllResponseHeaders())){var e=this.loader.getResponseHeader("age");t=e?parseFloat(e):null}return t},t}();e.default=a}}).default},t.exports=i())}}]); \ No newline at end of file diff --git a/monaco-editor.53c4406e.async.js b/monaco-editor.53c4406e.async.js index 55d35847f4..9c68555088 100644 --- a/monaco-editor.53c4406e.async.js +++ b/monaco-editor.53c4406e.async.js @@ -34,8 +34,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */function(e,t,n){"use strict";n.r(t),n.d(t,"DragAndDropController",(function(){return f}));n("OhnE");var i,o=n("pmY6"),r=n("MNsG"),s=n("sswD"),a=n("cGHE"),u=n("aokT"),l=n("gCVg"),c=function(){function e(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}return e.prototype.getEditOperations=function(e,t){var n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new u.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new l.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new l.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumbero,u=i>r,l=ir)continue;if(bi)continue;if(g1&&o--,e.columnSelect(t,n,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,o)},e.columnSelectRight=function(e,t,n){for(var i=0,o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber),s=o;s<=r;s++){var a=t.getLineMaxColumn(s),u=m.a.visibleColumnFromColumn2(e,t,new v.a(s,a));i=Math.max(i,u)}var l=n.toViewVisualColumn;return l1)for(var r=n.modelState?n.modelState.position:null,s=n.viewState?n.viewState.position:null,a=0,u=o.length;ao&&(i=o);var r=new _.a(i,1,i,e.context.model.getLineMaxColumn(i)),a=0;if(n.at)switch(n.at){case s.RawAtArgument.Top:a=3;break;case s.RawAtArgument.Center:a=1;break;case s.RawAtArgument.Bottom:a=4}var u=e.context.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,u,a,0)},t}(x))),e.SelectAll=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.b.selectAll(e.context,e.getPrimaryCursor())])},t}(x))),e.SetSelection=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[m.d.fromModelSelection(t.selection)])},t}(x)))}(u||(u={})),c=l||(l={}),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(f.c),c.CoreEditingCommand=d,c.LineBreakInsert=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(d))),c.Outdent=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:L.a.and(O.a.editorTextFocus,O.a.tabDoesNotMoveFocus),primary:1026}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(d))),c.Tab=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:L.a.and(O.a.editorTextFocus,O.a.tabDoesNotMoveFocus),primary:2}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(d))),c.DeleteLeft=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=y.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},t}(d))),c.DeleteRight=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=y.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},t}(d)));var k=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(g.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var i=document.activeElement;if(!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)){var o=e.get(g.a).getActiveCodeEditor();return o?(o.focus(),this._runEditorHandler(e,o,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var i=this._editorHandler;"string"==typeof i?t.trigger("keyboard",i,n):((n=n||{}).source="keyboard",i.runEditorCommand(e,t,n))},t}(f.a),E=function(e){function t(t,n,i){var o=e.call(this,{id:t,precondition:void 0,description:i})||this;return o._handlerId=n,o}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(g.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(f.a);function I(e,t){N(new E("default:"+e,e)),N(new E(e,e,t))}N(new k({editorHandler:u.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:O.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:h.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),N(new k({editorHandler:S.b.Undo,inputHandler:"undo",id:S.b.Undo,precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:h.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),N(new E("default:"+S.b.Undo,S.b.Undo)),N(new k({editorHandler:S.b.Redo,inputHandler:"redo",id:S.b.Redo,precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:h.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),N(new E("default:"+S.b.Redo,S.b.Redo)),I(S.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I(S.b.ReplacePreviousChar),I(S.b.CompositionStart),I(S.b.CompositionEnd),I(S.b.Paste),I(S.b.Cut)},"1lwE": @@ -175,12 +175,12 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/cancellation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -228,11 +228,11 @@ /*! exports used: MarkdownRenderer */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/formattedTextRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/codicons.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/codicons.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/idGenerator.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/idGenerator.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/marshalling.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/network.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -240,8 +240,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/textToHtmlTokenizer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var i,o=n("EffR"),r=n("Md8J"),s=n("/cxE"),a=n("eLzo"),u=n("nD70");(function(e){var t={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:m,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:m,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:m,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||C.defaults,this.rules=t.normal,this.options.pedantic?this.rules=t.pedantic:this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,t.def=h(t.def).replace("label",t._label).replace("title",t._title).getRegex(),t.bullet=/(?:[*+-]|\d{1,9}\.)/,t.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,t.item=h(t.item,"gm").replace(/bull/g,t.bullet).getRegex(),t.list=h(t.list).replace(/bull/g,t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+t.def.source+")").getRegex(),t._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",t._comment=//,t.html=h(t.html,"i").replace("comment",t._comment).replace("tag",t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),t.paragraph=h(t.paragraph).replace("hr",t.hr).replace("heading",t.heading).replace("lheading",t.lheading).replace("tag",t._tag).getRegex(),t.blockquote=h(t.blockquote).replace("paragraph",t.paragraph).getRegex(),t.normal=v({},t),t.gfm=v({},t.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=h(t.paragraph).replace("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|").getRegex(),t.tables=v({},t.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),t.pedantic=v({},t.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",t._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=t,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,n){var i,o,r,s,a,u,l,c,d,h,p,f,g,m,v,y;for(e=e.replace(/^ +$/gm,"");e;)if((r=this.rules.newline.exec(e))&&(e=e.substring(r[0].length),r[0].length>1&&this.tokens.push({type:"space"})),r=this.rules.code.exec(e))e=e.substring(r[0].length),r=r[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?r:b(r,"\n")});else if(r=this.rules.fences.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"code",lang:r[2]?r[2].trim():r[2],text:r[3]||""});else if(r=this.rules.heading.exec(e))e=e.substring(r[0].length),this.tokens.push({type:"heading",depth:r[1].length,text:r[2]});else if((r=this.rules.nptable.exec(e))&&(u={type:"table",header:_(r[1].replace(/^ *| *\| *$/g,"")),align:r[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:r[3]?r[3].replace(/\n$/,"").split("\n"):[]}).header.length===u.align.length){for(e=e.substring(r[0].length),p=0;p ?/gm,""),this.token(r,n),this.tokens.push({type:"blockquote_end"});else if(r=this.rules.list.exec(e)){for(e=e.substring(r[0].length),l={type:"list_start",ordered:m=(s=r[2]).length>1,start:m?+s:"",loose:!1},this.tokens.push(l),c=[],i=!1,g=(r=r[0].match(this.rules.item)).length,p=0;p1?1===a.length:a.length>1||this.options.smartLists&&a!==s)&&(e=r.slice(p+1).join("\n")+e,p=g-1)),o=i||/\n\n(?!\s*$)/.test(u),p!==g-1&&(i="\n"===u.charAt(u.length-1),o||(o=i)),o&&(l.loose=!0),y=void 0,(v=/^\[[ xX]\] /.test(u))&&(y=" "!==u[1],u=u.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",task:v,checked:y,loose:o},c.push(d),this.tokens.push(d),this.token(u,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(g=c.length,p=0;p?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",o.em=h(o.em).replace(/punctuation/g,o._punctuation).getRegex(),o._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=h(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,o.tag=h(o.tag).replace("comment",t._comment).replace("attribute",o._attribute).getRegex(),o._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,o._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,o._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,o.link=h(o.link).replace("label",o._label).replace("href",o._href).replace("title",o._title).getRegex(),o.reflink=h(o.reflink).replace("label",o._label).getRegex(),o.normal=v({},o),o.pedantic=v({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",o._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o._label).getRegex()}),o.gfm=v({},o.normal,{escape:h(o.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(s[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(s[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(s[0])&&(this.inRawBlock=!1),e=e.substring(s[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):c(s[0]):s[0];else if(s=this.rules.link.exec(e)){var l=y(s[2],"()");if(l>-1){var d=s[0].length-(s[2].length-l)-(s[3]||"").length;s[2]=s[2].substring(0,l),s[0]=s[0].substring(0,d).trim(),s[3]=""}e=e.substring(s[0].length),this.inLink=!0,i=s[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=t[1],o=t[3]):o="":o=s[3]?s[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(s,{href:r.escapes(i),title:r.escapes(o)}),this.inLink=!1}else if((s=this.rules.reflink.exec(e))||(s=this.rules.nolink.exec(e))){if(e=e.substring(s[0].length),t=(s[2]||s[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){u+=s[0].charAt(0),e=s[0].substring(1)+e;continue}this.inLink=!0,u+=this.outputLink(s,t),this.inLink=!1}else if(s=this.rules.strong.exec(e))e=e.substring(s[0].length),u+=this.renderer.strong(this.output(s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.em.exec(e))e=e.substring(s[0].length),u+=this.renderer.em(this.output(s[6]||s[5]||s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.code.exec(e))e=e.substring(s[0].length),u+=this.renderer.codespan(c(s[2].trim(),!0));else if(s=this.rules.br.exec(e))e=e.substring(s[0].length),u+=this.renderer.br();else if(s=this.rules.del.exec(e))e=e.substring(s[0].length),u+=this.renderer.del(this.output(s[1]));else if(s=this.rules.autolink.exec(e))e=e.substring(s[0].length),i="@"===s[2]?"mailto:"+(n=c(this.mangle(s[1]))):n=c(s[1]),u+=this.renderer.link(i,null,n);else if(this.inLink||!(s=this.rules.url.exec(e))){if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.inRawBlock?u+=this.renderer.text(s[0]):u+=this.renderer.text(c(this.smartypants(s[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===s[2])i="mailto:"+(n=c(s[0]));else{do{a=s[0],s[0]=this.rules._backpedal.exec(s[0])[0]}while(a!==s[0]);n=c(s[0]),i="www."===s[1]?"http://"+n:n}e=e.substring(s[0].length),u+=this.renderer.link(i,null,n)}return u},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=t.href,i=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,i,this.output(e[1])):this.renderer.image(n,i,c(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",i=e.length,o=0;o.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},s.prototype.code=function(e,t,n){var i=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,i);null!=o&&o!==e&&(n=!0,e=o)}return i?'
'+(n?e:c(e,!0))+"
\n":"
"+(n?e:c(e,!0))+"
"},s.prototype.blockquote=function(e){return"
\n"+e+"
\n"},s.prototype.html=function(e){return e},s.prototype.heading=function(e,t,n,i){return this.options.headerIds?"'+e+"\n":""+e+"\n"},s.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},s.prototype.list=function(e,t,n){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},s.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},s.prototype.checkbox=function(e){return" "},s.prototype.paragraph=function(e){return"

    "+e+"

    \n"},s.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},s.prototype.tablerow=function(e){return"\n"+e+"\n"},s.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},s.prototype.strong=function(e){return""+e+""},s.prototype.em=function(e){return""+e+""},s.prototype.codespan=function(e){return""+e+""},s.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},s.prototype.del=function(e){return""+e+""},s.prototype.link=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var i='"},s.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var i=''+n+'":">"},s.prototype.text=function(e){return e},a.prototype.strong=a.prototype.em=a.prototype.codespan=a.prototype.del=a.prototype.text=function(e){return e},a.prototype.link=a.prototype.image=function(e,t,n){return""+n},a.prototype.br=function(){return""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,v({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop()},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,i,o="",r="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},c.escapeTest=/[&<>"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var f={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function v(e){for(var t,n,i=1;i=0&&"\\"===n[o];)i=!i;return i?"|":" |"})).split(/ \|/),i=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+c(e.message+"",!0)+"
    ";throw e}}m.exec=m,C.options=C.setOptions=function(e){return v(C.defaults,e),C},C.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new s,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},C.defaults=C.getDefaults(),C.Parser=u,C.parser=u.parse,C.Renderer=s,C.TextRenderer=a,C.Lexer=n,C.lexer=n.lex,C.InlineLexer=r,C.inlineLexer=r.output,C.Slugger=l,C.parse=C,i=C}).call(void 0);i.Parser,i.parser;var l=i.Renderer,c=(i.TextRenderer,i.Lexer,i.lexer,i.InlineLexer,i.inlineLexer,i.parse);let d;!function e(t,n,i){function o(s,a){if(!n[s]){if(!t[s]){if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){return o(t[s][1][e]||e)}),l,l.exports,e,t,n,i)}return n[s].exports}for(var r=!1,s=0;s\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,u=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,l=/^=0&&(t.comment&&t.comment(e.substring(4,i)),e=e.substring(i+3),n=!1):c.test(e)?f(a,m):l.test(e)&&f(s,g);var i;!function(){if(!n)return;var i,o=e.indexOf("<");o>=0?(i=e.substring(0,o),e=e.substring(o)):(i=e,e="");t.chars&&t.chars(i)}()}();var i=e===h;h=e,i&&(e="")}function f(t,i){var o=e.match(t);o&&(e=e.substring(o[0].length),o[0].replace(t,i),n=!1)}function g(e,n,s,a){var l={},c=o(n),h=r.voids[c]||!!a;s.replace(u,(function(e,t,n,o,r){l[t]=void 0===n&&void 0===o&&void 0===r?void 0:i.decode(n||o||r||"")})),h||d.push(c),t.start&&t.start(c,l,h)}function m(e,n){var i,r=0,s=o(n);if(s)for(r=d.length-1;r>=0&&d[r]!==s;r--);if(r>=0){for(i=d.length-1;i>=r;i--)t.end&&t.end(d[i]);d.length=r}}m()}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(e,t,n){var i=e("he"),o=e("./lowercase"),r=e("./attributes"),s=e("./elements");t.exports=function(e,t){var n,a=t||{};return d(),{start:function(e,t,s){var c=o(e);if(n.ignoring)return void l(c);if(-1===(a.allowedTags||[]).indexOf(c))return void l(c);if(a.filter&&!a.filter({tag:c,attrs:t}))return void l(c);u("<"),u(c),Object.keys(t).forEach((function(e){var n=t[e],s=(a.allowedClasses||{})[c]||[],l=(a.allowedAttributes||{})[c]||[];l=l.concat((a.allowedAttributes||{})["*"]||[]);var d=o(e);("class"===d&&-1===l.indexOf(d)?(n=n.split(" ").filter((function(e){return s&&-1!==s.indexOf(e)})).join(" ").trim()).length:-1!==l.indexOf(d)&&(!0!==r.uris[d]||function(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var i=e.indexOf("?");if(-1!==i&&n>i)return!0;var o=e.indexOf("#");if(-1!==o&&n>o)return!0;return a.allowedSchemes.some((function(t){return 0===e.indexOf(t+":")}))}(n)))&&(u(" "),u(e),"string"==typeof n&&(u('="'),u(i.encode(n)),u('"')))})),u(s?"/>":">")},end:function(e){var t=o(e);-1!==(a.allowedTags||[]).indexOf(t)&&!1===n.ignoring?(u("")):c(t)},chars:function(e){!1===n.ignoring&&u(a.transformText?a.transformText(e):e)}};function u(t){e.push(t)}function l(e){s.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function c(e){n.ignoring===e&&--n.depth<=0&&d()}function d(){n={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,n){var i={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"&":"&","<":"<",">":">",""":'"',"'":"'"},r=/(&|<|>|"|')/g,s=/[&<>"']/g;function a(e){return i[e]}function u(e){return o[e]}function l(e){return null==e?"":String(e).replace(s,a)}function c(e){return null==e?"":String(e).replace(r,u)}l.options=c.options={},t.exports={encode:l,escape:l,decode:c,unescape:c,version:"1.0.0-browser"}},{}],10:[function(e,t,n){function i(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(i,{})}},{}]},{},[4]);var h=d,p=n("Q4rV"),f=n("qj0h"),g=n("N0LK"),m=n("bY76"),v=n("tYmi"),_=n("Vhoy");var b,y=n("W9cx"),C=n("WBhO"),w=n("TQUy"),S=n("Cg/j"),O=n("MI8n"),L=n("pmY6"),D=n("twdY"),x=(b=function(e,t){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),N=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},k=function(e,t){return function(n,i){t(n,i,e)}},E=function(e){function t(t,n,i){void 0===i&&(i=y.b);var o=e.call(this)||this;return o._editor=t,o._modeService=n,o._openerService=i,o._onDidRenderCodeBlock=o._register(new O.a),o.onDidRenderCodeBlock=o._onDidRenderCodeBlock.event,o}return x(t,e),t.prototype.getOptions=function(e){var t=this;return{codeBlockRenderer:function(e,n){var i=null;if(e)i=t._modeService.getModeIdForLanguageName(e);else{var o=t._editor.getModel();o&&(i=o.getLanguageIdentifier().language)}return t._modeService.triggerMode(i||""),Promise.resolve(!0).then((function(e){var t=D.B.getPromise(i||"");return t?t.then((function(e){return Object(w.b)(n,e)})):Object(w.b)(n,void 0)})).then((function(e){return''+e+""}))},codeBlockRenderCallback:function(){return t._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(e){t._openerService.open(e,{fromUserGesture:!0}).catch(s.e)},disposeables:e}}},t.prototype.render=function(e){var t=new L.b;return{element:e?function(e,t){void 0===t&&(t={});var n,i=Object(r.a)(t),d=function(t){var n;try{n=Object(p.a)(decodeURIComponent(t))}catch(e){}return n?(n=Object(f.b)(n,(function(t){return e.uris&&e.uris[t]?m.a.revive(e.uris[t]):void 0})),encodeURIComponent(JSON.stringify(n))):t},b=function(t,n){var i=e.uris&&e.uris[t];if(!i)return t;var r=m.a.revive(i);return m.a.parse(t).toString()===r.toString()?t:(n&&(r=o.s(r)),r.query&&(r=r.with({query:d(r.query)})),r.toString(!0))},y=new Promise((function(e){return n=e})),C=new l;C.image=function(e,t,n){var i,o=[],r=[];return e&&(e=(i=Object(a.d)(e)).href,o=i.dimensions,e=b(e,!0),r.push('src="'+e+'"')),n&&r.push('alt="'+n+'"'),t&&r.push('title="'+t+'"'),o.length&&(r=r.concat(o)),""},C.link=function(t,n,i){return t===i&&(i=Object(a.e)(i)),t=b(t,!1),n=Object(a.e)(n),!(t=Object(a.e)(t))||t.match(/^data:|javascript:/i)||t.match(/^command:/i)&&!e.isTrusted||t.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?i:'
    /g,">").replace(/"/g,""").replace(/'/g,"'"))+'" title="'+(n||t)+'">'+i+""},C.paragraph=function(t){return"

    "+(e.supportThemeIcons?Object(_.c)(t):t)+"

    "},t.codeBlockRenderer&&(C.code=function(e,n){var o=t.codeBlockRenderer(n,e),r=u.b.nextId(),s=Promise.all([o,y]).then((function(e){var t=e[0],n=i.querySelector('div[data-code="'+r+'"]');n&&(n.innerHTML=t)})).catch((function(e){}));return t.codeBlockRenderCallback&&s.then(t.codeBlockRenderCallback),'
    '+Object(g.o)(e)+"
    "});var w=t.actionHandler;w&&w.disposeables.add(o.o(i,"click",(function(e){var t=e.target;if("A"===t.tagName||(t=t.parentElement)&&"A"===t.tagName)try{var n=t.dataset.href;n&&w.callback(n,e)}catch(e){Object(s.e)(e)}finally{e.preventDefault()}})));var S={sanitize:!0,renderer:C},O=[v.b.http,v.b.https,v.b.mailto,v.b.data,v.b.file,v.b.vscodeRemote,v.b.vscodeRemoteResource];e.isTrusted&&O.push(v.b.command);var L=c(e.supportThemeIcons?Object(_.b)(e.value):e.value,S);return i.innerHTML=h(L,{allowedSchemes:O,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),n(),i}(e,this.getOptions(t)):document.createElement("span"),dispose:function(){return t.dispose()}}},t=N([k(1,C.a),k(2,Object(S.d)(y.a))],t)}(L.a)},"3rx1": /*!*****************************************************************!*\ @@ -380,33 +380,33 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToSymbol.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/peek/referencesController.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/referencesModel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/message/messageController.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/peekView/peekView.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */function(e,t,n){"use strict";n.r(t),n.d(t,"DefinitionAction",(function(){return ie}));var i,o=n("OBOq"),r=n("X+cX"),s=n("/kV6"),a=n("MNsG"),u=n("sFUC"),l=n("sswD"),c=n("Vxe3"),d=n("cGHE"),h=n("aokT"),p=n("wQH0"),f=n("twdY"),g=n("NR8r"),m=n("iNS8"),v=n("QY8A"),_=n("9o5J"),b=n("3/fG"),y=n("fjLI"),C=n("T8No"),w=n("sM1p"),S=n("tTk5"),O=n("vRMv"),L=n("nnTU"),D=n("vATl"),x=n("Cg/j"),N=n("9fML"),k=n("nrhi"),E=n("pmY6"),I=n("MI8n"),M=n("bexQ"),T=n("gslv"),P=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),R=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},A=function(e,t){return function(n,i){t(n,i,e)}},F=new C.d("hasSymbols",!1),j=Object(x.c)("ISymbolNavigationService"),W=function(){function e(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=F.bindTo(e)}return e.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(E.f)(this._currentState),Object(E.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},e.prototype.put=function(e){var t=this,n=e.parent.parent;if(n.references.length<=1)this.reset();else{this._currentModel=n,this._currentIdx=n.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();var i=new Y(this._editorService),o=i.onDidChange((function(e){if(!t._ignoreEditorChange){var i=t._editorService.getActiveCodeEditor();if(i){var o=i.getModel(),r=i.getPosition();if(o&&r){for(var s=!1,a=!1,u=0,l=n.references;u0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]1)?[3,1]:(this._openInPeek(n,i),[3,3]);case 1:return r=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===o,[4,this._openReference(n,e,r,this._configuration.openToSide,!s)];case 2:a=u.sent(),s&&a?this._openInPeek(a,i):i.dispose(),"goto"===o&&t.put(r),u.label=3;case 3:return[2]}}))}))},t.prototype._openReference=function(e,t,n,i,o){return ee(this,void 0,void 0,(function(){var r,s,a,u;return te(this,(function(l){switch(l.label){case 0:return r=void 0,Object(f.G)(n)&&(r=n.targetSelectionRange),r||(r=n.range),[4,t.openCodeEditor({resource:n.uri,options:{selection:h.a.collapseToStart(r),revealInCenterIfOutsideViewport:!0}},e,i)];case 1:return(s=l.sent())?(o&&(a=s.getModel(),u=s.deltaDecorations([],[{range:r,options:{className:"symbolHighlight"}}]),setTimeout((function(){s.getModel()===a&&s.deltaDecorations(u,[])}),350)),[2,s]):[2,void 0]}}))}))},t.prototype._openInPeek=function(e,t){var n=v.a.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(r.f)((function(e){return Promise.resolve(t)})),this._configuration.openInPeek):t.dispose()},t}(l.b),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.b)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("def.title","Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("noResultWord","No definition found for '{0}'",e.word):b.a("generic.noResults","No definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDefinitions},t}(ne),oe=a.g&&!Z.l?2118:70;Object(l.f)(((V=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:oe,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:b.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return L.a.registerCommandAlias("editor.action.goToDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinition",V)),Object(l.f)(((B=function(e){function t(){var n=e.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:Object(s.a)(2089,oe),weight:100}})||this;return L.a.registerCommandAlias("editor.action.openDeclarationToTheSide",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinitionAside",B)),Object(l.f)(((H=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.id,label:b.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:C.a.and(p.a.hasDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return L.a.registerCommandAlias("editor.action.previewDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.peekDefinition",H));var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.a)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("decl.title","Declarations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDeclarationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDeclarations},t}(ne);Object(l.f)(((z=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t}(re)).id="editor.action.revealDeclaration",z)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:b.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return $(t,e),t}(re));var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.e)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("typedef.title","Type Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):b.a("goToTypeDefinition.generic.noResults","No type definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeTypeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleTypeDefinitions},t}(ne);Object(l.f)(((U=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return $(t,e),t}(se)).ID="editor.action.goToTypeDefinition",U)),Object(l.f)(((K=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return $(t,e),t}(se)).ID="editor.action.peekTypeDefinition",K));var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.c)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("impl.title","Implementations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):b.a("goToImplementation.generic.noResults","No implementation found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeImplementationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleImplementations},t}(ne);Object(l.f)(((q=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:C.a.and(p.a.hasImplementationProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:b.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return $(t,e),t}(ae)).ID="editor.action.goToImplementation",q)),Object(l.f)(((G=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:C.a.and(p.a.hasImplementationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return $(t,e),t}(ae)).ID="editor.action.peekImplementation",G));var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e?b.a("references.no","No references found for '{0}'",e.word):b.a("references.noGeneric","No references found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeReferenceCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleReferences},t}(ne);Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:b.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:b.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!0,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:b.a("references.action.label","Peek References"),alias:"Peek References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!1,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue));var le=function(e){function t(t,n,i){var o=e.call(this,t,{id:"editor.action.goToLocation",label:b.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:C.a.and(m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated())})||this;return o._references=n,o._gotoMultipleBehaviour=i,o}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){return te(this,(function(e){return[2,new _.c(this._references,b.a("generic.title","Locations"))]}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&b.a("generic.noResult","No results for '{0}'",e.word)||""},t.prototype._getGoToPreference=function(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(41).multipleReferences},t.prototype._getAlternativeCommand=function(){return""},t}(ne);L.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o,r){return ee(void 0,void 0,void 0,(function(){var s,a;return te(this,(function(l){switch(l.label){case 0:return Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n)),Object(Q.a)(Array.isArray(i)),Object(Q.a)(void 0===o||"string"==typeof o),Object(Q.a)(void 0===r||"boolean"==typeof r),[4,(s=e.get(c.a)).openCodeEditor({resource:t},s.getFocusedCodeEditor())];case 1:return a=l.sent(),Object(u.a)(a)?(a.setPosition(n),a.revealPositionInCenterIfOutsideViewport(n,0),[2,a.invokeWithinContext((function(e){var t=new le({muteMessage:!0,openInPeek:Boolean(r),openToSide:!1},i,o);e.get(x.a).invokeFunction(t.run.bind(t),a)}))]):[2]}}))}))}}),L.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o){return ee(void 0,void 0,void 0,(function(){return te(this,(function(r){return e.get(L.b).executeCommand("editor.action.goToLocations",t,n,i,o,!0),[2]}))}))}}),L.a.registerCommand({id:"editor.action.findReferences",handler:function(e,t,n){Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n));var i=e.get(c.a);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then((function(e){if(Object(u.a)(e)&&e.hasModel()){var t=v.a.get(e);if(t){var i=Object(r.f)((function(t){return Object(O.d)(e.getModel(),d.a.lift(n),!1,t).then((function(e){return new _.c(e,b.a("ref.title","References"))}))})),o=new h.a(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))}}}))}}),L.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo": +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */function(e,t,n){"use strict";n.r(t),n.d(t,"DefinitionAction",(function(){return ie}));var i,o=n("OBOq"),r=n("X+cX"),s=n("/kV6"),a=n("MNsG"),u=n("sFUC"),l=n("sswD"),c=n("Vxe3"),d=n("cGHE"),h=n("aokT"),p=n("wQH0"),f=n("twdY"),g=n("NR8r"),m=n("iNS8"),v=n("QY8A"),_=n("9o5J"),b=n("3/fG"),y=n("fjLI"),C=n("T8No"),w=n("sM1p"),S=n("tTk5"),O=n("vRMv"),L=n("nnTU"),D=n("vATl"),x=n("Cg/j"),N=n("9fML"),k=n("nrhi"),E=n("pmY6"),I=n("MI8n"),M=n("bexQ"),T=n("gslv"),P=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),R=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},A=function(e,t){return function(n,i){t(n,i,e)}},F=new C.d("hasSymbols",!1),j=Object(x.c)("ISymbolNavigationService"),W=function(){function e(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=F.bindTo(e)}return e.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(E.f)(this._currentState),Object(E.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},e.prototype.put=function(e){var t=this,n=e.parent.parent;if(n.references.length<=1)this.reset();else{this._currentModel=n,this._currentIdx=n.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();var i=new Y(this._editorService),o=i.onDidChange((function(e){if(!t._ignoreEditorChange){var i=t._editorService.getActiveCodeEditor();if(i){var o=i.getModel(),r=i.getPosition();if(o&&r){for(var s=!1,a=!1,u=0,l=n.references;u0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]1)?[3,1]:(this._openInPeek(n,i),[3,3]);case 1:return r=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===o,[4,this._openReference(n,e,r,this._configuration.openToSide,!s)];case 2:a=u.sent(),s&&a?this._openInPeek(a,i):i.dispose(),"goto"===o&&t.put(r),u.label=3;case 3:return[2]}}))}))},t.prototype._openReference=function(e,t,n,i,o){return ee(this,void 0,void 0,(function(){var r,s,a,u;return te(this,(function(l){switch(l.label){case 0:return r=void 0,Object(f.G)(n)&&(r=n.targetSelectionRange),r||(r=n.range),[4,t.openCodeEditor({resource:n.uri,options:{selection:h.a.collapseToStart(r),revealInCenterIfOutsideViewport:!0}},e,i)];case 1:return(s=l.sent())?(o&&(a=s.getModel(),u=s.deltaDecorations([],[{range:r,options:{className:"symbolHighlight"}}]),setTimeout((function(){s.getModel()===a&&s.deltaDecorations(u,[])}),350)),[2,s]):[2,void 0]}}))}))},t.prototype._openInPeek=function(e,t){var n=v.a.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(r.f)((function(e){return Promise.resolve(t)})),this._configuration.openInPeek):t.dispose()},t}(l.b),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.b)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("def.title","Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("noResultWord","No definition found for '{0}'",e.word):b.a("generic.noResults","No definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDefinitions},t}(ne),oe=a.g&&!Z.l?2118:70;Object(l.f)(((V=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:oe,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:b.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return L.a.registerCommandAlias("editor.action.goToDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinition",V)),Object(l.f)(((B=function(e){function t(){var n=e.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:Object(s.a)(2089,oe),weight:100}})||this;return L.a.registerCommandAlias("editor.action.openDeclarationToTheSide",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinitionAside",B)),Object(l.f)(((H=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.id,label:b.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:C.a.and(p.a.hasDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return L.a.registerCommandAlias("editor.action.previewDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.peekDefinition",H));var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.a)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("decl.title","Declarations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDeclarationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDeclarations},t}(ne);Object(l.f)(((z=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t}(re)).id="editor.action.revealDeclaration",z)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:b.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return $(t,e),t}(re));var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.e)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("typedef.title","Type Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):b.a("goToTypeDefinition.generic.noResults","No type definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeTypeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleTypeDefinitions},t}(ne);Object(l.f)(((U=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return $(t,e),t}(se)).ID="editor.action.goToTypeDefinition",U)),Object(l.f)(((K=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return $(t,e),t}(se)).ID="editor.action.peekTypeDefinition",K));var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.c)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("impl.title","Implementations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):b.a("goToImplementation.generic.noResults","No implementation found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeImplementationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleImplementations},t}(ne);Object(l.f)(((q=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:C.a.and(p.a.hasImplementationProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:b.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return $(t,e),t}(ae)).ID="editor.action.goToImplementation",q)),Object(l.f)(((G=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:C.a.and(p.a.hasImplementationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return $(t,e),t}(ae)).ID="editor.action.peekImplementation",G));var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e?b.a("references.no","No references found for '{0}'",e.word):b.a("references.noGeneric","No references found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeReferenceCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleReferences},t}(ne);Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:b.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:b.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!0,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:b.a("references.action.label","Peek References"),alias:"Peek References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!1,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue));var le=function(e){function t(t,n,i){var o=e.call(this,t,{id:"editor.action.goToLocation",label:b.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:C.a.and(m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated())})||this;return o._references=n,o._gotoMultipleBehaviour=i,o}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){return te(this,(function(e){return[2,new _.c(this._references,b.a("generic.title","Locations"))]}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&b.a("generic.noResult","No results for '{0}'",e.word)||""},t.prototype._getGoToPreference=function(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(41).multipleReferences},t.prototype._getAlternativeCommand=function(){return""},t}(ne);L.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o,r){return ee(void 0,void 0,void 0,(function(){var s,a;return te(this,(function(l){switch(l.label){case 0:return Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n)),Object(Q.a)(Array.isArray(i)),Object(Q.a)(void 0===o||"string"==typeof o),Object(Q.a)(void 0===r||"boolean"==typeof r),[4,(s=e.get(c.a)).openCodeEditor({resource:t},s.getFocusedCodeEditor())];case 1:return a=l.sent(),Object(u.a)(a)?(a.setPosition(n),a.revealPositionInCenterIfOutsideViewport(n,0),[2,a.invokeWithinContext((function(e){var t=new le({muteMessage:!0,openInPeek:Boolean(r),openToSide:!1},i,o);e.get(x.a).invokeFunction(t.run.bind(t),a)}))]):[2]}}))}))}}),L.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o){return ee(void 0,void 0,void 0,(function(){return te(this,(function(r){return e.get(L.b).executeCommand("editor.action.goToLocations",t,n,i,o,!0),[2]}))}))}}),L.a.registerCommand({id:"editor.action.findReferences",handler:function(e,t,n){Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n));var i=e.get(c.a);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then((function(e){if(Object(u.a)(e)&&e.hasModel()){var t=v.a.get(e);if(t){var i=Object(r.f)((function(t){return Object(O.d)(e.getModel(),d.a.lift(n),!1,t).then((function(e){return new _.c(e,b.a("ref.title","References"))}))})),o=new h.a(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))}}}))}}),L.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo": /*!****************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap.css ***! \****************************************************************************************/ @@ -424,11 +424,11 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/fastDomNode.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/mouseEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/contextmenu.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/assert.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -446,60 +446,60 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/linkedList.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/marshalling.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/marshalling.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/network.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/path.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/severity.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/token.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorAction.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorCommon.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorAction.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorCommon.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/tokensStore.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/resolverService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/textResourceConfigurationService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewModel/prefixSumComputer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewModel/viewModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/standalone/common/standaloneThemeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ @@ -510,24 +510,24 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextView.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/descriptors.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/serviceCollection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/list/browser/listService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/list/browser/listService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return Ja})),n.d(t,"Emitter",(function(){return $a})),n.d(t,"KeyCode",(function(){return eu})),n.d(t,"KeyMod",(function(){return tu})),n.d(t,"Position",(function(){return nu})),n.d(t,"Range",(function(){return iu})),n.d(t,"Selection",(function(){return ou})),n.d(t,"SelectionDirection",(function(){return ru})),n.d(t,"MarkerSeverity",(function(){return su})),n.d(t,"MarkerTag",(function(){return au})),n.d(t,"Uri",(function(){return uu})),n.d(t,"Token",(function(){return lu})),n.d(t,"editor",(function(){return cu})),n.d(t,"languages",(function(){return du}));var i,o,r,s,a,u,l,c,d,h,p,f,g,m,v,_,b,y,C,w,S,O,L,D,x,N,k,E,I,M,T,P,R,A=n("/UlZ"),F=(n("URDS"),n("JQT/")),j=n("MI8n"),W=n("/kV6"),V=n("bY76"),B=n("cGHE"),H=n("aokT"),z=n("gCVg"),U=n("Tcc1");!function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(i||(i={})),function(e){e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(o||(o={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.Snippet=25]="Snippet"}(r||(r={})),function(e){e[e.Deprecated=1]="Deprecated"}(s||(s={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(a||(a={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(u||(u={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(l||(l={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(c||(c={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(d||(d={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(h||(h={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.autoClosingOvertype=6]="autoClosingOvertype",e[e.autoClosingQuotes=7]="autoClosingQuotes",e[e.autoIndent=8]="autoIndent",e[e.automaticLayout=9]="automaticLayout",e[e.autoSurround=10]="autoSurround",e[e.codeLens=11]="codeLens",e[e.colorDecorators=12]="colorDecorators",e[e.comments=13]="comments",e[e.contextmenu=14]="contextmenu",e[e.copyWithSyntaxHighlighting=15]="copyWithSyntaxHighlighting",e[e.cursorBlinking=16]="cursorBlinking",e[e.cursorSmoothCaretAnimation=17]="cursorSmoothCaretAnimation",e[e.cursorStyle=18]="cursorStyle",e[e.cursorSurroundingLines=19]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=20]="cursorSurroundingLinesStyle",e[e.cursorWidth=21]="cursorWidth",e[e.disableLayerHinting=22]="disableLayerHinting",e[e.disableMonospaceOptimizations=23]="disableMonospaceOptimizations",e[e.dragAndDrop=24]="dragAndDrop",e[e.emptySelectionClipboard=25]="emptySelectionClipboard",e[e.extraEditorClassName=26]="extraEditorClassName",e[e.fastScrollSensitivity=27]="fastScrollSensitivity",e[e.find=28]="find",e[e.fixedOverflowWidgets=29]="fixedOverflowWidgets",e[e.folding=30]="folding",e[e.foldingStrategy=31]="foldingStrategy",e[e.foldingHighlight=32]="foldingHighlight",e[e.fontFamily=33]="fontFamily",e[e.fontInfo=34]="fontInfo",e[e.fontLigatures=35]="fontLigatures",e[e.fontSize=36]="fontSize",e[e.fontWeight=37]="fontWeight",e[e.formatOnPaste=38]="formatOnPaste",e[e.formatOnType=39]="formatOnType",e[e.glyphMargin=40]="glyphMargin",e[e.gotoLocation=41]="gotoLocation",e[e.hideCursorInOverviewRuler=42]="hideCursorInOverviewRuler",e[e.highlightActiveIndentGuide=43]="highlightActiveIndentGuide",e[e.hover=44]="hover",e[e.inDiffEditor=45]="inDiffEditor",e[e.letterSpacing=46]="letterSpacing",e[e.lightbulb=47]="lightbulb",e[e.lineDecorationsWidth=48]="lineDecorationsWidth",e[e.lineHeight=49]="lineHeight",e[e.lineNumbers=50]="lineNumbers",e[e.lineNumbersMinChars=51]="lineNumbersMinChars",e[e.links=52]="links",e[e.matchBrackets=53]="matchBrackets",e[e.minimap=54]="minimap",e[e.mouseStyle=55]="mouseStyle",e[e.mouseWheelScrollSensitivity=56]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=57]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=58]="multiCursorMergeOverlapping",e[e.multiCursorModifier=59]="multiCursorModifier",e[e.multiCursorPaste=60]="multiCursorPaste",e[e.occurrencesHighlight=61]="occurrencesHighlight",e[e.overviewRulerBorder=62]="overviewRulerBorder",e[e.overviewRulerLanes=63]="overviewRulerLanes",e[e.parameterHints=64]="parameterHints",e[e.peekWidgetDefaultFocus=65]="peekWidgetDefaultFocus",e[e.quickSuggestions=66]="quickSuggestions",e[e.quickSuggestionsDelay=67]="quickSuggestionsDelay",e[e.readOnly=68]="readOnly",e[e.renderControlCharacters=69]="renderControlCharacters",e[e.renderIndentGuides=70]="renderIndentGuides",e[e.renderFinalNewline=71]="renderFinalNewline",e[e.renderLineHighlight=72]="renderLineHighlight",e[e.renderValidationDecorations=73]="renderValidationDecorations",e[e.renderWhitespace=74]="renderWhitespace",e[e.revealHorizontalRightPadding=75]="revealHorizontalRightPadding",e[e.roundedSelection=76]="roundedSelection",e[e.rulers=77]="rulers",e[e.scrollbar=78]="scrollbar",e[e.scrollBeyondLastColumn=79]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=80]="scrollBeyondLastLine",e[e.selectionClipboard=81]="selectionClipboard",e[e.selectionHighlight=82]="selectionHighlight",e[e.selectOnLineNumbers=83]="selectOnLineNumbers",e[e.showFoldingControls=84]="showFoldingControls",e[e.showUnused=85]="showUnused",e[e.snippetSuggestions=86]="snippetSuggestions",e[e.smoothScrolling=87]="smoothScrolling",e[e.stopRenderingLineAfter=88]="stopRenderingLineAfter",e[e.suggest=89]="suggest",e[e.suggestFontSize=90]="suggestFontSize",e[e.suggestLineHeight=91]="suggestLineHeight",e[e.suggestOnTriggerCharacters=92]="suggestOnTriggerCharacters",e[e.suggestSelection=93]="suggestSelection",e[e.tabCompletion=94]="tabCompletion",e[e.useTabStops=95]="useTabStops",e[e.wordSeparators=96]="wordSeparators",e[e.wordWrap=97]="wordWrap",e[e.wordWrapBreakAfterCharacters=98]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=99]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=100]="wordWrapColumn",e[e.wordWrapMinified=101]="wordWrapMinified",e[e.wrappingIndent=102]="wrappingIndent",e[e.wrappingStrategy=103]="wrappingStrategy",e[e.editorClassName=104]="editorClassName",e[e.pixelRatio=105]="pixelRatio",e[e.tabFocusMode=106]="tabFocusMode",e[e.layoutInfo=107]="layoutInfo",e[e.wrappingInfo=108]="wrappingInfo"}(p||(p={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(f||(f={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(m||(m={})),function(e){e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.KEY_0=21]="KEY_0",e[e.KEY_1=22]="KEY_1",e[e.KEY_2=23]="KEY_2",e[e.KEY_3=24]="KEY_3",e[e.KEY_4=25]="KEY_4",e[e.KEY_5=26]="KEY_5",e[e.KEY_6=27]="KEY_6",e[e.KEY_7=28]="KEY_7",e[e.KEY_8=29]="KEY_8",e[e.KEY_9=30]="KEY_9",e[e.KEY_A=31]="KEY_A",e[e.KEY_B=32]="KEY_B",e[e.KEY_C=33]="KEY_C",e[e.KEY_D=34]="KEY_D",e[e.KEY_E=35]="KEY_E",e[e.KEY_F=36]="KEY_F",e[e.KEY_G=37]="KEY_G",e[e.KEY_H=38]="KEY_H",e[e.KEY_I=39]="KEY_I",e[e.KEY_J=40]="KEY_J",e[e.KEY_K=41]="KEY_K",e[e.KEY_L=42]="KEY_L",e[e.KEY_M=43]="KEY_M",e[e.KEY_N=44]="KEY_N",e[e.KEY_O=45]="KEY_O",e[e.KEY_P=46]="KEY_P",e[e.KEY_Q=47]="KEY_Q",e[e.KEY_R=48]="KEY_R",e[e.KEY_S=49]="KEY_S",e[e.KEY_T=50]="KEY_T",e[e.KEY_U=51]="KEY_U",e[e.KEY_V=52]="KEY_V",e[e.KEY_W=53]="KEY_W",e[e.KEY_X=54]="KEY_X",e[e.KEY_Y=55]="KEY_Y",e[e.KEY_Z=56]="KEY_Z",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.US_SEMICOLON=80]="US_SEMICOLON",e[e.US_EQUAL=81]="US_EQUAL",e[e.US_COMMA=82]="US_COMMA",e[e.US_MINUS=83]="US_MINUS",e[e.US_DOT=84]="US_DOT",e[e.US_SLASH=85]="US_SLASH",e[e.US_BACKTICK=86]="US_BACKTICK",e[e.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",e[e.US_BACKSLASH=88]="US_BACKSLASH",e[e.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",e[e.US_QUOTE=90]="US_QUOTE",e[e.OEM_8=91]="OEM_8",e[e.OEM_102=92]="OEM_102",e[e.NUMPAD_0=93]="NUMPAD_0",e[e.NUMPAD_1=94]="NUMPAD_1",e[e.NUMPAD_2=95]="NUMPAD_2",e[e.NUMPAD_3=96]="NUMPAD_3",e[e.NUMPAD_4=97]="NUMPAD_4",e[e.NUMPAD_5=98]="NUMPAD_5",e[e.NUMPAD_6=99]="NUMPAD_6",e[e.NUMPAD_7=100]="NUMPAD_7",e[e.NUMPAD_8=101]="NUMPAD_8",e[e.NUMPAD_9=102]="NUMPAD_9",e[e.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",e[e.NUMPAD_ADD=104]="NUMPAD_ADD",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",e[e.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",e[e.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.MAX_VALUE=112]="MAX_VALUE"}(v||(v={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(_||(_={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(b||(b={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(y||(y={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(C||(C={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(w||(w={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(S||(S={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(O||(O={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(L||(L={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(D||(D={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(x||(x={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(N||(N={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(k||(k={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(E||(E={})),function(e){e[e.Deprecated=1]="Deprecated"}(I||(I={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(M||(M={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(T||(T={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(R||(R={}));var K=function(){function e(){}return e.chord=function(e,t){return Object(W.a)(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function q(){return{editor:void 0,languages:void 0,CancellationTokenSource:F.b,Emitter:j.a,KeyCode:v,KeyMod:K,Position:B.a,Range:H.a,Selection:z.a,SelectionDirection:N,MarkerSeverity:_,MarkerTag:b,Uri:V.a,Token:U.a}}n("siPX");var G,Y=n("Vxe3"),Z=n("EffR"),X=n("24hK"),Q=n("Q4rV"),J=n("tYmi"),$=n("gslv"),ee=n("nnTU"),te=n("W9cx");!function(e){e[e.API=0]="API",e[e.USER=1]="USER"}(G||(G={}));var ne,ie=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},oe=function(e,t){return function(n,i){t(n,i,e)}},re=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},se=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},t.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},t}(he.a),ve=n("+3Gp"),_e=n("iuje"),be=n("M1Kb"),ye=n("twdY"),Ce=n("i/Ef"),we=n("pAvP"),Se=n("t49l"),Oe=n("X+cX"),Le=n("/cxE"),De=n("MNsG"),xe=n("746U"),Ne=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ke=!1;function Ee(e){De.g&&(ke||(ke=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var Ie=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,i=String(++this._lastSentReq);return new Promise((function(o,r){n._pendingReplies[i]={resolve:o,reject:r},n._send({vsWorker:n._workerId,req:i,method:e,args:t})}))},e.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var i=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var o=n.err;return n.err.$isError&&((o=new Error).name=n.err.name,o.message=n.err.message,o.stack=n.err.stack),void i.reject(o)}i.resolve(n.res)}else{var r=e,s=r.req;this._handler.handleMessage(r.method,r.args).then((function(e){t._send({vsWorker:t._workerId,seq:s,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=Object(Le.g)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(Le.g)(e)})}))}},e.prototype._send=function(e){var t=[];if(e.req)for(var n=e,i=0;i0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&r()){var p=i.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),f=o.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=Ve(p,f,r,!0).changes;a&&(g=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],i=1,o=e.length;i1&&m>1;){if(p.charCodeAt(g-2)!==f.charCodeAt(m-2))break;g--,m--}(g>1||m>1)&&this._pushTrimWhitespaceCharChange(s,a+1,1,g,u+1,1,m);for(var v=Ge(p,1),_=Ge(f,1),b=p.length+1,y=f.length+1;vt&&(t=l),s>n&&(n=s),(c=r[2])>n&&(n=c)}t++,n++;var a=new $e(n,t,0);for(i=0,o=e.length;i=this._maxCharCode?0:this._states.get(e,t)},e}(),tt=null;var nt=null;var it=function(){function e(){}return e._createLink=function(e,t,n,i,o){var r=o-1;do{var s=t.charCodeAt(r);if(2!==e.get(s))break;r--}while(r>i);if(i>0){var a=t.charCodeAt(i-1),u=t.charCodeAt(r);(40===a&&41===u||91===a&&93===u||123===a&&125===u)&&r--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:r+2},url:t.substring(i,r+1)}},e.computeLinks=function(t,n){void 0===n&&(null===tt&&(tt=new et([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),n=tt);for(var i=function(){if(null===nt){nt=new Je.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)nt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)nt.set(".,;".charCodeAt(e),2)}return nt}(),o=[],r=1,s=t.getLineCount();r<=s;r++){for(var a=t.getLineContent(r),u=a.length,l=0,c=0,d=0,h=1,p=!1,f=!1,g=!1;l=0?((i+=n?1:-1)<0?i=e.length-1:i%=e.length,e[i]):null},e.INSTANCE=new e,e}(),st=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),at=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},ut=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=i._lines.length?je.c:(n=i._lines[o],s=i._wordenize(n,e),r=0,o+=1,a())};return{next:a}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],i=[],o=0,r=this._wordenize(n,t);othis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,i=!0;else{var o=this._lines[t-1].length+1;n<1?(n=1,i=!0):n>o&&(n=o,i=!0)}return i?{lineNumber:t,column:n}:e},t}(Xe),ct=function(){function e(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},e.prototype.acceptNewModel=function(e){this._models[e.url]=new lt(V.a.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,t,n,i){return at(this,void 0,void 0,(function(){var o,r,s,a,u,l,c;return ut(this,(function(d){return o=this._getModel(e),r=this._getModel(t),o&&r?(s=o.getLinesContent(),a=r.getLinesContent(),u=new Ke(s,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:i}),l=u.computeDiff(),c=!(l.changes.length>0)&&this._modelsAreIdentical(o,r),[2,{quitEarly:l.quitEarly,identical:c,changes:l.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var i=1;i<=n;i++){if(e.getLineContent(i)!==t.getLineContent(i))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return at(this,void 0,void 0,(function(){var i,o,r,s,a,u,l,c,d,h,p,f,g,m,v,_,b,y;return ut(this,(function(C){if(!(i=this._getModel(t)))return[2,n];for(o=[],r=void 0,n=Object(Ae.r)(n,(function(e,t){return e.range&&t.range?H.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)})),s=0,a=n;se._diffLimit)o.push({range:l,text:c});else for(p=Object(Fe.b)(h,c,!1),f=i.offsetAt(H.a.lift(l).getStartPosition()),g=0,m=p;g=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},vt=function(e,t){return function(n,i){t(n,i,e)}},_t=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},bt=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]3e5&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null))},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new xt(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(he.a),Ot=function(e){function t(t,n,i){var o=e.call(this)||this;if(o._syncedModels=Object.create(null),o._syncedModelsLastUsedTime=Object.create(null),o._proxy=t,o._modelService=n,!i){var r=new Oe.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return gt(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)Object(he.f)(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.ensureSyncedResources=function(e){for(var t=0,n=e;t6e4&&t.push(n)}for(var i=0,o=t;i'"_]/g,"-")}function Wt(e,t){return new Error(e.languageId+": "+t)}function Vt(e,t,n,i,o){var r=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,s,a,u,l,c,d,h,p){return At(a)?At(u)?!At(l)&&l0;){var i=e.tokenizer[n];if(i)return i;var o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return null}var Ht=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new zt(e,t);var n=zt.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new zt(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),zt=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){for(var t="";null!==e;)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){for(;null!==e&&null!==t;){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return Ht.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.switchTo=function(e){return Ht.create(this.parent,e)},e}(),Ut=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){return this.state.clone()===this.state?this:new e(this.modeId,this.state)},e}(),Kt=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new qt(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new qt(e,t);var n=zt.getStackElementId(e),i=this._entries[n];return i||(i=new qt(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),qt=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:Kt.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&(!!this.stack.equals(t.stack)&&(null===this.embeddedModeData&&null===t.embeddedModeData||null!==this.embeddedModeData&&null!==t.embeddedModeData&&this.embeddedModeData.equals(t.embeddedModeData)))},e}(),Gt=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new U.a(e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var i=t.modeId,o=t.state,r=ye.B.get(i);if(!r)return this.enterMode(n,i),this.emit(n,""),o;var s=r.tokenize(e,o,n);return this._tokens=this._tokens.concat(s.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,s.endState},e.prototype.finalize=function(e){return new U.b(this._tokens,e)},e}(),Yt=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var i=null!==e?e.length:0,o=t.length,r=null!==n?n.length:0;if(0===i&&0===o&&0===r)return new Uint32Array(0);if(0===i&&0===o)return n;if(0===o&&0===r)return e;var s=new Uint32Array(i+o+r);null!==e&&s.set(e);for(var a=0;a0&&i.nestedModeTokenize(s,t.embeddedModeData,n);var a=e.substring(o);return this._myTokenize(a,t,n+o,i)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,n,i){i.enterMode(n,this._modeId);for(var o,r,s=e.length,a=t.embeddedModeData,u=t.stack,l=0,c=null,d=!0;d||l=s)break;d=!1;var w=this._lexer.tokenizer[g];if(!w&&!(w=Bt(this._lexer,g)))throw Wt(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),O=0,L=w;O=this._lexer.maxStack)throw Wt(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===_.next){if(u.depth<=1)throw Wt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));u=u.pop()}else if("@popall"===_.next)u=u.popall();else{var N;if("@"===(N=Vt(this._lexer,_.next,v,m,g))[0]&&(N=N.substr(1)),!Bt(this._lexer,N))throw Wt(this._lexer,"trying to set a next state '"+N+"' that is undefined in rule: "+this._safeRuleName(b));u=u.push(N)}}_.log&&"string"==typeof _.log&&(o=this._lexer,r=this._lexer.languageId+": "+Vt(this._lexer,_.log,v,m,g),console.log(o.languageId+": "+r))}if(null===x)throw Wt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));if(Array.isArray(x)){if(c&&c.groups.length>0)throw Wt(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(m.length!==x.length+1)throw Wt(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));for(var k=0,E=1;E=0&&a()}))})},e.colorizeLine=function(e,t,n,i,o){void 0===o&&(o=4);var r=Mt.d.isBasicASCII(e,t),s=Mt.d.containsRTL(e,r,n);return Object(It.e)(new It.c(!1,!0,e,!1,r,s,0,i,[],o,0,0,0,-1,"none",!1,!1,null)).html},e.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var i=e.getLineContent(t);e.forceTokenization(t);var o=e.getLineTokens(t).inflate();return this.colorizeLine(i,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)},e}();function Jt(e,t,n){return new Promise((function(i,o){var r=function(){var s=function(e,t,n){for(var i=[],o=n.getInitialState(),r=0,s=e.length;r"),o=u.endState}return i.join("")}(e,t,n);if(n instanceof Zt){var a=n.getLoadStatus();if(!1===a.loaded)return void a.promise.then(r,o)}i(s)};r()}))}function $t(e,t){var n=[],i=new Uint32Array(2);i[0]=0,i[1]=16793600;for(var o=0,r=e.length;o")}return n.join("")}var en=n("uDWl"),tn=n("S3by"),nn=n("sFUC"),on=n("iDAx"),rn=n("0/Sa"),sn=n("+7oY"),an=n("QDVR"),un=n("CRAX"),ln=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),cn=function(){for(var e=0,t=0,n=arguments.length;t5e3&&n._leaveChordMode():n._leaveChordMode()}),500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var n=this,i=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var o=e.getDispatchParts()[0];if(null===o)return i;var r=this._contextKeyService.getContext(t),s=this._currentChord?this._currentChord.keypress:null,a=e.getLabel(),u=this._getResolver().resolve(r,s,o);return u&&u.enterChord?(i=!0,this._enterChordMode(o,a),i):(this._currentChord&&(u&&u.commandId||(this._notificationService.status(fn.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,a),{hideAfter:1e4}),i=!0)),this._leaveChordMode(),u&&u.commandId&&(u.bubble||(i=!0),void 0===u.commandArgs?this._commandService.executeCommand(u.commandId).then(void 0,(function(e){return n._notificationService.warn(e)})):this._commandService.executeCommand(u.commandId,u.commandArgs).then(void 0,(function(e){return n._notificationService.warn(e)})),this._telemetryService.publicLog2("workbenchActionExecuted",{id:u.commandId,from:"keybinding"})),i)},t.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)},t}(he.a),vn=n("T8No"),_n=function(){function e(t,n){this._defaultKeybindings=t,this._defaultBoundCommands=new Map;for(var i=0,o=t.length;i=0;c--)this._isTargetedForRemoval(e[c],a,u,s,l)&&e.splice(c,1);else n.push(r)}return e.concat(n)},e.prototype._addKeyPress=function(t,n){var i=this._map.get(t);if(void 0===i)return this._map.set(t,[n]),void this._addToLookupMap(n);for(var o=i.length-1;o>=0;o--){var r=i[o];if(r.command!==n.command){var s=r.keypressParts.length>1,a=n.keypressParts.length>1;s&&a&&r.keypressParts[1]!==n.keypressParts[1]||e.whenIsEntirelyIncluded(r.when,n.when)&&this._removeFromLookupMap(r)}}i.push(n),this._addToLookupMap(n)},e.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if(void 0!==t)for(var n=0,i=t.length;n1&&null!==u.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:u.command,commandArgs:u.commandArgs,bubble:u.bubble}:null},e.prototype._findCommand=function(t,n){for(var i=n.length-1;i>=0;i--){var o=n[i];if(e.contextMatchesRules(t,o.when))return o}return null},e.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},e}(),bn=n("nrhi"),yn=function(e,t,n,i,o){this.resolvedKeybinding=e,this.keypressParts=e?function(e){for(var t=[],n=0,i=e.length;n1},t.prototype.getParts=function(){var e=this;return this._parts.map((function(t){return e._getPart(t)}))},t.prototype._getPart=function(e){return new W.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},t.prototype.getDispatchParts=function(){var e=this;return this._parts.map((function(t){return e._getDispatchPart(t)}))},t}(W.c),On=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ln=function(e){function t(t,n){return e.call(this,n,t.parts)||this}return On(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return W.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":W.b.toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=W.b.toString(e.keyCode)},t}(Sn),Dn=n("sM1p"),xn=n("EWX2"),Nn=n("A9l+"),kn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),En=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},In=function(e,t){return function(n,i){t(n,i,e)}},Mn=function(){for(var e=0,t=0,n=arguments.length;t0){var _=e[r-1];m=0===_.originalEndLineNumber?_.originalStartLineNumber+1:_.originalEndLineNumber+1,v=0===_.modifiedEndLineNumber?_.modifiedStartLineNumber+1:_.modifiedEndLineNumber+1}var b=f-3+1,y=g-3+1;if(bS)x+=D=S-x,N+=D;if(N>O)x+=D=O-N,N+=D;h[p++]=new di(C,x,w,N),i[o++]=new hi(h)}var k=i[0].entries,E=[],I=0;for(r=1,s=i.length;rd)&&(d=v),0!==_&&(0===h||_p)&&(p=b)}var y=document.createElement("div");y.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var w=d-c+1,S=p-h+1;C.appendChild(document.createTextNode(a+1+"/"+this._diffs.length+": @@ -"+c+","+w+" +"+h+","+S+" @@")),y.setAttribute("data-line",String(h));var O=function(e){return 0===e?fn.a("no_lines","no lines"):1===e?fn.a("one_line","1 line"):fn.a("more_lines","{0} lines",e)},L=O(w),D=O(S);y.setAttribute("aria-label",fn.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",a+1,this._diffs.length,c,L,h,D)),y.appendChild(C),y.setAttribute("role","listitem"),l.appendChild(y);var x=h;for(f=0,g=u.length;f0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]o.modifiedStartLineNumber?fn.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):fn.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,(function(){return Li(a,void 0,void 0,(function(){return Di(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent.join(l)+l)];case 1:return e.sent(),[2]}}))}))})));var d=0,h=void 0;o.originalEndLineNumber>o.modifiedStartLineNumber&&(h=new ri.a("diff.clipboard.copyDeletedLineContent",fn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber),void 0,!0,(function(){return Li(a,void 0,void 0,(function(){return Di(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(o.originalContent[d])];case 1:return e.sent(),[2]}}))}))})),c.push(h)),i.getOption(68)||c.push(new ri.a("diff.inline.revertChange",fn.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,(function(){return Li(a,void 0,void 0,(function(){var e;return Di(this,(function(t){return 0===o.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(o.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new H.a(o.modifiedStartLineNumber,e,o.modifiedStartLineNumber,e),text:l+o.originalContent.join(l)}])):(e=i.getModel().getLineMaxColumn(o.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new H.a(o.modifiedStartLineNumber,1,o.modifiedEndLineNumber,e),text:o.originalContent.join(l)}])),[2]}))}))})));var p=function(e,t){a._contextMenuService.showContextMenu({getAnchor:function(){return{x:e,y:t}},getActions:function(){return h&&(h.label=fn.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",o.originalStartLineNumber+d)),c},autoSelectFirstItem:!0})};return a._register(Z.o(a._diffActions,"mousedown",(function(e){var t=Z.C(a._diffActions),n=t.top,i=t.height,o=Math.floor(u/3);e.preventDefault(),p(e.posx,n+i+o)}))),a._register(i.onMouseMove((function(e){8===e.target.type||5===e.target.type?e.target.detail.viewZoneId===a._viewZoneId?(a.visibility=!0,d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u)):a.visibility=!1:a.visibility=!1}))),a._register(i.onMouseDown((function(e){e.event.rightButton&&(8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===a._viewZoneId&&(e.event.preventDefault(),d=a._updateLightBulbPosition(a._marginDomNode,e.event.browserEvent.y,u),p(e.event.posx,e.event.posy+u)))}))),a}return Oi(t,e),Object.defineProperty(t.prototype,"visibility",{get:function(){return this._visibility},set:function(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbPosition=function(e,t,n){var i=t-Z.C(e).top,o=Math.floor(i/n),r=o*n;return this._diffActions.style.top=r+"px",o},t}(he.a),Ni=n("tTk5"),ki=n("o39E"),Ei=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ii=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Mi=function(e,t){return function(n,i){t(n,i,e)}},Ti=function(){function e(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,i=t._zones.length;n0?o/n:0;return{height:Math.max(0,Math.floor(e.height*r)),top:Math.floor(t*r)}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._elementSizeObserver.getWidth()},getHeight:function(){return e._elementSizeObserver.getHeight()-e._getReviewHeight()},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e=a?i=r+1:(i=r,o=r)}return n[i]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-n;return s<=o?i+Math.min(s,r):i+r-o+s},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),i=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),o=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,s=e-i;return s<=r?n+Math.min(s,o):n+o-r+s},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=Ii([Mi(3,we.a),Mi(4,vn.c),Mi(5,Ci.a),Mi(6,Y.a),Mi(7,li.c),Mi(8,Dn.a),Mi(9,Si.a),Mi(10,Ni.a)],t)}(he.a),Ai=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n._insertColor=null,n._removeColor=null,n}return Ei(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(ui.j)||ui.g).transparent(2),n=(e.getColor(ui.l)||ui.h).transparent(2),i=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,i},t.prototype.getEditorsDiffDecorations=function(e,t,n,i,o,r,s){o=o.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),i=i.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var a=this._getViewZones(e,i,o,r,s,n),u=this._getOriginalEditorDecorations(e,t,n,r,s),l=this._getModifiedEditorDecorations(e,t,n,r,s);return{original:{decorations:u.decorations,overviewZones:u.overviewZones,zones:a.original},modified:{decorations:l.decorations,overviewZones:l.overviewZones,zones:a.modified}}},t}(he.a),Fi=function(){function e(e){this._source=e,this._index=-1,this.current=null,this.advance()}return e.prototype.advance=function(){this._index++,this._index0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},d=new Fi(this.modifiedForeignVZ),h=new Fi(this.originalForeignVZ),p=0,f=this.lineChanges.length;p<=f;p++){var g=p0?-1:0),s=g.modifiedStartLineNumber+(g.modifiedEndLineNumber>0?-1:0),o=g.originalEndLineNumber>0?g.originalEndLineNumber-g.originalStartLineNumber+1:0,i=g.modifiedEndLineNumber>0?g.modifiedEndLineNumber-g.modifiedStartLineNumber+1:0,a=Math.max(g.originalStartLineNumber,g.originalEndLineNumber),u=Math.max(g.modifiedStartLineNumber,g.modifiedEndLineNumber)):(a=r+=1e7+o,u=s+=1e7+i);for(var m,v=[],_=[];d.current&&d.current.afterLineNumber<=u;){var b=void 0;b=d.current.afterLineNumber<=s?r-s+d.current.afterLineNumber:a;var y=null;g&&g.modifiedStartLineNumber<=d.current.afterLineNumber&&d.current.afterLineNumber<=g.modifiedEndLineNumber&&(y=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),v.push({afterLineNumber:b,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:y}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){b=void 0;b=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,_.push({afterLineNumber:b,heightInLines:h.current.height/this.originalLineHeight,domNode:null}),h.advance()}if(null!==g&&Ki(g))(m=this._produceOriginalFromDiff(g,o,i))&&v.push(m);if(null!==g&&qi(g))(m=this._produceModifiedFromDiff(g,o,i))&&_.push(m);var C=0,w=0;for(v=v.sort(l),_=_.sort(l);C=O.heightInLines?(S.heightInLines-=O.heightInLines,w++):(O.heightInLines-=S.heightInLines,C++)}for(;C2*t.MINIMUM_EDITOR_WIDTH?(in-t.MINIMUM_EDITOR_WIDTH&&(i=n-t.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-Ri.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,i,o){return new Hi(e,t,i.getOption(49),n,o.getOption(49)).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=i.getModel(),u=0,l=e.length;ut?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(ji),zi=function(e){function t(t,n){var i=e.call(this,t)||this;return i.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,i._register(t.getOriginalEditor().onDidLayoutChange((function(e){i.decorationsLeft!==e.decorationsLeft&&(i.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),i}return Ei(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,i,o,r){return new Ui(e,t,n,i,o,r).getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,i,o){for(var r=String(this._removeColor),s={decorations:[],overviewZones:[]},a=0,u=e.length;a'])}f+=this.modifiedEditorOptions.get(79);var _=document.createElement("div");_.className="view-lines line-delete",_.innerHTML=a.build(),ti.a.applyFontInfoSlow(_,c);var b=document.createElement("div");return b.className="inline-deleted-margin-view-zone",b.innerHTML=u.join(""),ti.a.applyFontInfoSlow(b,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:f*p,domNode:_,marginDomNode:b,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:g}}},t.prototype._renderOriginalLine=function(e,t,n,i,o,r,s){var a=t.getLineTokens(o),u=a.getLineContent(),l=n.get(34),c=yi.a.filter(r,o,1,u.length+1);s.appendASCIIString('
    ');var d=Mt.d.isBasicASCII(u,t.mightContainNonBasicASCII()),h=Mt.d.containsRTL(u,d,t.mightContainRTL()),p=Object(It.d)(new It.c(l.isMonospace&&!n.get(23),l.canUseHalfwidthRightwardsArrow,u,!1,d,h,0,a,c,i,0,l.spaceWidth,l.middotWidth,n.get(88),n.get(74),n.get(69),n.get(35)!==A.d.OFF,null),s);s.appendASCIIString("
    ");var f=p.characterMapping.getAbsoluteOffsets();return f.length>0?f[f.length-1]:0},t}(ji);function Ki(e){return e.modifiedEndLineNumber>0}function qi(e){return e.originalEndLineNumber>0}Object(li.e)((function(e,t){var n=e.getColor(ui.j);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var i=e.getColor(ui.l);i&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+i+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+i+"; }"));var o=e.getColor(ui.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(ui.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(ui.Vb);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(ui.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var Gi=n("9Y+e"),Yi=n("scqD"),Zi=n("fjLI"),Xi=n("bexQ"),Qi=n("R3nR"),Ji=n("9XeP"),$i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),eo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},to=function(e,t){return function(n,i){t(n,i,e)}},no=function(){for(var e=0,t=0,n=arguments.length;t=0}}(e);fo.push(n),n.userConfigured?mo.push(n):go.push(n),t&&!n.userConfigured&&fo.forEach((function(e){e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn("Overwriting extension <<"+n.extension+">> to now point to mime <<"+n.mime+">>"),n.filename&&e.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&e.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&e.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>"))}))}function _o(e,t){var n;if(e)switch(e.scheme){case J.b.file:n=e.fsPath;break;case J.b.data:n=$.a.parseMetaData(e).get($.a.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();var i=Object(ho.basename)(n),o=bo(n,i,mo);if(o)return[o,"text/plain"];var r=bo(n,i,go);if(r)return[r,"text/plain"];if(t){var s=function(e){Object(We.P)(e)&&(e=e.substr(1));if(e.length>0)for(var t=fo.length-1;t>=0;t--){var n=fo[t];if(n.firstline){var i=e.match(n.firstline);if(i&&i.length>0)return n.mime}}return null}(t);if(s)return[s,"text/plain"]}return["application/unknown"]}function bo(e,t,n){for(var i=null,o=null,r=null,s=n.length-1;s>=0;s--){var a=n[s];if(t===a.filenameLowercase){i=a;break}if(a.filepattern&&(!o||a.filepattern.length>o.filepattern.length)){var u=a.filepatternOnPath?e:t;Object(po.a)(a.filepatternLowercase,u)&&(o=a)}a.extension&&(!r||a.extension.length>r.extension.length)&&Object(We.m)(t,a.extensionLowercase)&&(r=a)}return i?i.mime:o?o.mime:r?r.mime:null}var yo=n("MqQJ"),Co=n("ic2d"),wo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),So=Object.prototype.hasOwnProperty,Oo=function(e){function t(t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var i=e.call(this)||this;return i._onDidChange=i._register(new j.a),i.onDidChange=i._onDidChange.event,i._warnOnOverwrite=n,i._nextLanguageId2=1,i._languageIdToLanguage=[],i._languageToLanguageId=Object.create(null),i._languages={},i._mimeTypesMap={},i._nameMap={},i._lowercaseNameMap={},t&&(i._initializeFromRegistry(),i._register(yo.a.onDidChangeLanguages((function(e){return i._initializeFromRegistry()})))),i}return wo(t,e),t.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=yo.a.getLanguages();this._registerLanguages(e)},t.prototype._registerLanguages=function(e){for(var t=this,n=0,i=e;n0&&((n=e.mimetypes).push.apply(n,t.mimetypes),o=t.mimetypes[0]),o||(o="text/x-"+i,e.mimetypes.push(o)),Array.isArray(t.extensions))for(var r=0,s=t.extensions;r0){var p=t.firstLine;"^"!==p.charAt(0)&&(p="^"+p);try{var f=new RegExp(p);We.I(f)||vo({id:i,mime:o,firstline:f},this._warnOnOverwrite)}catch(e){Object(Le.e)(e)}}e.aliases.push(i);var g=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(g=0===t.aliases.length?[null]:t.aliases),null!==g)for(var m=0,v=g;m0;if(b&&null===g[0]);else{var y=(b?g[0]:null)||i;!b&&e.name||(e.name=y)}t.configuration&&e.configurationFiles.push(t.configuration)},t.prototype.isRegisteredMode=function(e){return!!So.call(this._mimeTypesMap,e)||So.call(this._languages,e)},t.prototype.getModeIdForLanguageNameLowercase=function(e){return So.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},t.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map((function(e){return e.trim()})).map((function(e){return So.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e})).filter((function(e){return So.call(t._languages,e)})):[]},t.prototype.getLanguageIdentifier=function(e){if(e===Ce.b||0===e)return Ce.a;var t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return So.call(this._languages,t)?this._languages[t].identifier:null},t.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=_o(e,t);return this.extractModeIds(n.join(","))},t}(he.a),Lo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Do=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new j.a),i.onDidChange=i._onDidChange.event,i._selector=n,i.languageIdentifier=i._selector(),i._register(t((function(){return i._evaluate()}))),i}return Lo(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(he.a),xo=function(){function e(e){var t=this;void 0===e&&(e=!1),this._onDidCreateMode=new j.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new j.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new Oo(!0,e),this._registry.onDidChange((function(){return t._onLanguagesMaybeChanged.fire()}))}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(Ae.l)(n,null)},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return Object(Ae.l)(t,null)},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new Do(this.onLanguagesMaybeChanged,(function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)}))},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new Do(this.onLanguagesMaybeChanged,(function(){var i=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(i)}))},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||Ce.a;return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||Ce.a;this._instantiatedModes[e]=new co(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),No=n("QRHv"),ko=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Eo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Io=function(e,t){return function(n,i){t(n,i,e)}};function Mo(e){return e.toString()}var To=function(){function e(e,t,n){this._modelEventListeners=new he.b,this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose((function(){return t(e)}))),this._modelEventListeners.add(e.onDidChangeLanguage((function(t){return n(e,t)})))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((function(){return t.model.setMode(e.languageIdentifier)})),this.model.setMode(e.languageIdentifier)},e}(),Po=De.d||De.e?1:2,Ro=function(e){function t(t,n,i,o){var r=e.call(this)||this;return r._onModelAdded=r._register(new j.a),r.onModelAdded=r._onModelAdded.event,r._onModelRemoved=r._register(new j.a),r.onModelRemoved=r._onModelRemoved.event,r._onModelModeChanged=r._register(new j.a),r.onModelModeChanged=r._onModelModeChanged.event,r._configurationService=t,r._resourcePropertiesService=n,r._models={},r._modelCreationOptionsByLanguageAndResource=Object.create(null),r._configurationServiceSubscription=r._configurationService.onDidChangeConfiguration((function(e){return r._updateModelOptions()})),r._updateModelOptions(),r._register(new Ao(r,i,t,o)),r}return ko(t,e),t._readModelOptions=function(e,t){var n=A.c.tabSize;if(e.editor&&void 0!==e.editor.tabSize){var i=parseInt(e.editor.tabSize,10);isNaN(i)||(n=i),n<1&&(n=1)}var o=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(o=r),o<1&&(o=1)}var s=A.c.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(s="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var a=Po,u=e.eol;"\r\n"===u?a=2:"\n"===u&&(a=1);var l=A.c.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=A.c.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=A.c.largeFileOptimizations;return e.editor&&void 0!==e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:o,insertSpaces:s,detectIndentation:c,defaultEOL:a,trimAutoWhitespace:l,largeFileOptimizations:d}},t.prototype.getCreationOptions=function(e,n,i){var o=this._modelCreationOptionsByLanguageAndResource[e+n];if(!o){var r=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:n}),s=this._resourcePropertiesService.getEOL(n,e);o=t._readModelOptions({editor:r,eol:s},i),this._modelCreationOptionsByLanguageAndResource[e+n]=o}return o},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var n=Object.keys(this._models),i=0,o=n.length;i=this._growCount){var o=this._elements;this._currentLengthIndex++,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+10&&a>=1;var u=this._themeService.getTheme().getTokenStyleMetadata(o,r);if(void 0===u)n=2147483647;else{if(n=0,void 0!==u.italic)n|=1|(u.italic?1:0)<<11;if(void 0!==u.bold)n|=2|(u.bold?2:0)<<11;if(void 0!==u.underline)n|=4|(u.underline?4:0)<<11;if(u.foreground)n|=8|u.foreground<<14;0===n&&(n=2147483647)}this._hashTable.add(e,t,n)}if(this._logService.getLevel()===pt.b.Trace){var l=this._legend.tokenTypes[e],c=t?" "+this._legend.tokenModifiers.filter((function(e,n){return t&1<0&&(e._fetchSemanticTokens.isScheduled()||e._fetchSemanticTokens.schedule())}))}}},t._isSemanticTokens=function(e){return e&&!!e.data},t._isSemanticTokensEdits=function(e){return e&&Array.isArray(e.edits)},t._copy=function(e,t,n,i,o){for(var r=0;r=0;p--){var f,g=d-((f=n.edits[p]).start+f.deleteCount);g>0&&(t._copy(l,d-g,c,h-g,g),h-=g),f.data&&(t._copy(f.data,0,c,h-f.data.length,f.data.length),h-=f.data.length),d=f.start}d>0&&t._copy(l,0,c,0,d),n={resultId:n.resultId,data:c}}}if(t._isSemanticTokens(n)){this._currentResponse=new Bo(e,n.resultId,n.data);l=n.data;for(var m=n.data.length/5|0,v=Math.max(Math.ceil(m/1024),400),_=[],b=0,y=1,C=0;bw&&0===l[5*O];)O--;if(O-1===w){for(var L=S;L+10){for(var j=0,W=o;j0?e[0]:null},t}(he.a),zo=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Uo=function(e){function t(){var t=e.call(this)||this;return t._onCodeEditorAdd=t._register(new j.a),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new j.a),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new j.a),t._onDiffEditorRemove=t._register(new j.a),t._codeEditors=Object.create(null),t._diffEditors=Object.create(null),t}return zo(t,e),t.prototype.addCodeEditor=function(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)},t.prototype.removeCodeEditor=function(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)},t.prototype.listCodeEditors=function(){var e=this;return Object.keys(this._codeEditors).map((function(t){return e._codeEditors[t]}))},t.prototype.addDiffEditor=function(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)},t.prototype.removeDiffEditor=function(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)},t.prototype.listDiffEditors=function(){var e=this;return Object.keys(this._diffEditors).map((function(t){return e._diffEditors[t]}))},t.prototype.getFocusedCodeEditor=function(){for(var e=null,t=0,n=this.listCodeEditors();t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Go=function(e,t){return function(n,i){t(n,i,e)}},Yo=function(){function e(e,t,n){this._parent=e,this._editorId=t,this.styleSheet=n,this._refCount=0}return e.prototype.ref=function(){this._refCount++},e.prototype.unref=function(){var e;this._refCount--,0===this._refCount&&(null===(e=this.styleSheet.parentNode)||void 0===e||e.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},e}(),Zo=function(){function e(e){this.styleSheet=e}return e.prototype.ref=function(){},e.prototype.unref=function(){},e}(),Xo=function(e){function t(t,n){void 0===n&&(n=null);var i=e.call(this)||this;return i._decorationOptionProviders=new Map,i._editorStyleSheets=new Map,i._globalStyleSheet=n?new Zo(n):null,i._themeService=t,i}return Ko(t,e),t.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new Zo(Z.w())),this._globalStyleSheet},t.prototype._getOrCreateStyleSheet=function(e){if(!e)return this._getOrCreateGlobalStyleSheet();var t=e.getContainerDomNode();if(!Z.N(t))return this._getOrCreateGlobalStyleSheet();var n=e.getId();if(!this._editorStyleSheets.has(n)){var i=new Yo(this,n,Z.w(t));this._editorStyleSheets.set(n,i)}return this._editorStyleSheets.get(n)},t.prototype._removeEditorStyleSheets=function(e){this._editorStyleSheets.delete(e)},t.prototype.registerDecorationType=function(e,t,n,i){var o=this._decorationOptionProviders.get(e);if(!o){var r=this._getOrCreateStyleSheet(i),s={styleSheet:r.styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new Qo(this._themeService,r,s):new Jo(this._themeService,r,s),this._decorationOptionProviders.set(e,o)}o.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach((function(t){return t.removeDecorations(e)}))))},t.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},t=qo([Go(0,li.c)],t)}(Uo),Qo=function(){function e(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new er(3,n,e),this._afterContentRules=new er(4,n,e)}return e.prototype.getOptions=function(e,t){var n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},e}(),Jo=function(){function e(e,t,n){var i=this;this._disposables=new he.b,this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;var o=function(t){var o=new er(t,n,e);if(i._disposables.add(o),o.hasContent)return o.className};this.className=o(0);var r,s=(r=new er(1,n,e),i._disposables.add(r),r.hasContent?{className:r.className,hasLetterSpacing:r.hasLetterSpacing}:null);s&&(this.inlineClassName=s.className,this.inlineClassNameAffectsLetterSpacing=s.hasLetterSpacing),this.beforeContentClassName=o(3),this.afterContentClassName=o(4),this.glyphMarginClassName=o(2);var a=n.options;this.isWholeLine=Boolean(a.isWholeLine),this.stickiness=a.rangeBehavior;var u=a.light&&a.light.overviewRulerColor||a.overviewRulerColor,l=a.dark&&a.dark.overviewRulerColor||a.overviewRulerColor;void 0===u&&void 0===l||(this.overviewRuler={color:u||l,darkColor:l||u,position:a.overviewRulerLane||be.d.Center})}return e.prototype.getOptions=function(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},e.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},e}(),$o={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},er=function(){function e(e,t,n){var i=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var o=tr.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(o=o+" "+tr.getClassName(this._providerArgs.parentTypeKey,e)),this._className=o,this._unThemedSelector=tr.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange((function(e){i._theme=n.getTheme(),i._removeCSS(),i._buildCSS()})):this._themeListener=null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,n,i=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(i),t=this.getCSSTextForModelDecorationClassName(i.light),n=this.getCSSTextForModelDecorationClassName(i.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(i),t=this.getCSSTextForModelDecorationInlineClassName(i.light),n=this.getCSSTextForModelDecorationInlineClassName(i.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(i),t=this.getCSSTextForModelDecorationGlyphMarginClassName(i.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(i.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(i.before),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.before),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(i.after),t=this.getCSSTextForModelDecorationContentClassName(i.light&&i.light.after),n=this.getCSSTextForModelDecorationContentClassName(i.dark&&i.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var o=this._providerArgs.styleSheet.sheet,r=!1;e.length>0&&(o.insertRule(this._unThemedSelector+" {"+e+"}",0),r=!0),t.length>0&&(o.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),r=!0),n.length>0&&(o.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),r=!0),this._hasContent=r},e.prototype._removeCSS=function(){Z.O(this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(We.r($o.contentIconPath,Z.r(V.a.revive(e.contentIconPath)))),"string"==typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(We.r($o.contentText,n))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return void 0!==e.gutterIconPath&&(t.push(We.r($o.gutterIconPath,Z.r(V.a.revive(e.gutterIconPath)))),void 0!==e.gutterIconSize&&t.push(We.r($o.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(We.r("box-sizing: border-box;")),!0)},e.prototype.collectCSSText=function(e,t,n){for(var i=n.length,o=0,r=t;ot)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index}));for(var n=0,i="000000",o="ffffff";e.length>=1&&""===e[0].token;){var r=e.shift();-1!==r.fontStyle&&(n=r.fontStyle),null!==r.foreground&&(i=r.foreground),null!==r.background&&(o=r.background)}for(var s=new ur,a=0,u=t;a>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},e}(),cr=/\b(comment|string|regex|regexp)\b/;var dr,hr,pr,fr=function(){function e(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return e.prototype.clone=function(){return new e(this._fontStyle,this._foreground,this._background)},e.prototype.acceptOverwrite=function(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},e}(),gr=function(){function e(e){this._mainRule=e,this._children=new Map}return e.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,i=e.indexOf(".");-1===i?(t=e,n=""):(t=e.substring(0,i),n=e.substring(i+1));var o=this._children.get(t);return void 0!==o?o.match(n):this._mainRule},e.prototype.insert=function(t,n,i,o){if(""!==t){var r,s,a=t.indexOf(".");-1===a?(r=t,s=""):(r=t.substring(0,a),s=t.substring(a+1));var u=this._children.get(r);void 0===u&&(u=new e(this._mainRule.clone()),this._children.set(r,u)),u.insert(s,n,i,o)}else this._mainRule.acceptOverwrite(n,i,o)},e}();var mr={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(dr={},dr[ui.o]="#FFFFFE",dr[ui.x]="#000000",dr[ui.F]="#E5EBF1",dr[ai.h]="#D3D3D3",dr[ai.a]="#939393",dr[ui.M]="#ADD6FF4D",dr)},vr={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(hr={},hr[ui.o]="#1E1E1E",hr[ui.x]="#D4D4D4",hr[ui.F]="#3A3D41",hr[ai.h]="#404040",hr[ai.a]="#707070",hr[ui.M]="#ADD6FF26",hr)},_r={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(pr={},pr[ui.o]="#000000",pr[ui.x]="#FFFFFF",pr[ai.h]="#FFFFFF",pr[ai.a]="#FFFFFF",pr)},br=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),yr=Co.a.as(ui.a.ColorContribution),Cr=Co.a.as(li.a.ThemingContribution),wr=function(){function e(e,t){this.themeData=t;var n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=new Map;for(var t in this.themeData.colors)e.set(t,or.a.fromHex(this.themeData.colors[t]));if(this.themeData.inherit){var n=Or(this.themeData.base);for(var t in n.colors)e.has(t)||e.set(t,or.a.fromHex(n.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=yr.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case"vs":return"light";case"hc-black":return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=Or(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=lr.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e.prototype.getTokenStyleMetadata=function(e,t){},e}();function Sr(e){return"vs"===e||"vs-dark"===e||"hc-black"===e}function Or(e){switch(e){case"vs":return mr;case"vs-dark":return vr;case"hc-black":return _r}}function Lr(e){var t=Or(e);return new wr(e,t)}var Dr=function(e){function t(){var t=e.call(this)||this;return t._onThemeChange=t._register(new j.a),t.onThemeChange=t._onThemeChange.event,t._environment=Object.create(null),t._knownThemes=new Map,t._knownThemes.set("vs",Lr("vs")),t._knownThemes.set("vs-dark",Lr("vs-dark")),t._knownThemes.set("hc-black",Lr("hc-black")),t._css="",t._globalStyleElement=null,t._styleElements=[],t.setTheme("vs"),t}return br(t,e),t.prototype.registerEditorContainer=function(e){return Z.N(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()},t.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=Z.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),he.a.None},t.prototype._registerShadowDomContainer=function(e){var t=this,n=Z.w(e);return n.className="monaco-colors",n.innerHTML=this._css,this._styleElements.push(n),{dispose:function(){for(var e=0;e=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},kr=function(e,t){return function(n,i){t(n,i,e)}},Er=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},e.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},e.prototype.getValue=function(e){var t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t},e}(),Ir=function(e){function t(){return e.call(this,-1,null)||this}return xr(t,e),t.prototype.setValue=function(e,t){return!1},t.prototype.removeValue=function(e){return!1},t.prototype.getValue=function(e){},t.INSTANCE=new t,t}(Er),Mr=function(e){function t(t,n,i){var o=e.call(this,t,null)||this;return o._configurationService=n,o._values=new Map,o._listener=o._configurationService.onDidChangeConfiguration((function(e){if(6===e.source){var t=Object(an.d)(o._values);o._values.clear(),i.fire(new Rr(t))}else{for(var n=[],r=0,s=e.affectedKeys;r=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Yr=function(e,t){return function(n,i){t(n,i,e)}},Zr=function(e){function t(t,n,i,o,r){var s=e.call(this)||this;return s._onDidContextMenu=s._register(new j.a),s.contextMenuHandler=new Ur(i,t,n,o,r),s}return qr(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=Gr([Yr(0,Kr.a),Yr(1,Dn.a),Yr(2,Si.b),Yr(3,Xi.a),Yr(4,li.c)],t)}(he.a),Xr=(n("TT2d"),n("nuFA")),Qr=n("CjF5"),Jr=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function $r(e,t,n){var i=n.offset+n.size;return 0===n.position?t<=e-i?i:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-i?i:0}var es=function(e){function t(t){var n=e.call(this)||this;return n.container=null,n.delegate=null,n.toDisposeOnClean=he.a.None,n.toDisposeOnSetContainer=he.a.None,n.view=Z.a(".context-view"),Z.J(n.view),n.setContainer(t),n._register(Object(he.h)((function(){return n.setContainer(null)}))),n}return Jr(t,e),t.prototype.setContainer=function(e){var n=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),e){this.container=e,this.container.appendChild(this.view);var i=new he.b;t.BUBBLE_UP_EVENTS.forEach((function(e){i.add(Z.o(n.container,e,(function(e){n.onDOMEvent(e,!1)})))})),t.BUBBLE_DOWN_EVENTS.forEach((function(e){i.add(Z.o(n.container,e,(function(e){n.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=i}},t.prototype.show=function(e){this.isVisible()&&this.hide(),Z.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",Z.X(this.view),this.toDisposeOnClean=e.render(this.view)||he.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()},t.prototype.layout=function(){this.isVisible()&&(!1!==this.delegate.canRelayout||De.c&&Qr.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())},t.prototype.doLayout=function(){if(this.isVisible()){var e,t=this.delegate.getAnchor();if(Z.L(t)){var n=Z.C(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};var i,o=Z.H(this.view),r=Z.G(this.view),s=this.delegate.anchorPosition||0,a=this.delegate.anchorAlignment||0,u={offset:e.top-window.pageYOffset,size:e.height,position:0===s?0:1};i=0===a?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};var l=$r(window.innerHeight,r,u)+window.pageYOffset;Xr.a.intersects({start:l,end:l+r},{start:u.offset,end:u.offset+u.size})&&(i.size=e.width,1===a&&(i.offset=e.left));var c=$r(window.innerWidth,o,i);Z.Q(this.view,"top","bottom","left","right"),Z.f(this.view,0===s?"bottom":"top"),Z.f(this.view,0===a?"left":"right");var d=Z.C(this.container);this.view.style.top=l-d.top+"px",this.view.style.left=c-d.left+"px",this.view.style.width="initial"}},t.prototype.hide=function(e){var t=this.delegate;this.delegate=null,(null==t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),Z.J(this.view)},t.prototype.isVisible=function(){return!!this.delegate},t.prototype.onDOMEvent=function(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Z.K(e.target,this.container)&&this.hide())},t.prototype.dispose=function(){this.hide(),e.prototype.dispose.call(this)},t.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],t.BUBBLE_DOWN_EVENTS=["click"],t}(he.a),ts=Object(Ci.c)("layoutService"),ns=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),is=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},os=function(e,t){return function(n,i){t(n,i,e)}},rs=function(e){function t(t){var n=e.call(this)||this;return n.layoutService=t,n.contextView=n._register(new es(t.container)),n.layout(),n._register(t.onLayout((function(){return n.layout()}))),n}return ns(t,e),t.prototype.setContainer=function(e){this.contextView.setContainer(e)},t.prototype.showContextView=function(e){this.contextView.show(e)},t.prototype.layout=function(){this.contextView.layout()},t.prototype.hideContextView=function(e){this.contextView.hide(e)},t=is([os(0,ts)],t)}(he.a),ss=Object(Ci.c)("dialogService"),as=n("vl9R");var us,ls,cs=function(){function e(e){this._hashFn=e,this._nodes=Object.create(null)}return e.prototype.roots=function(){var e=[];return Object(as.c)(this._nodes,(function(t){Object(xe.f)(t.value.outgoing)&&e.push(t.value)})),e},e.prototype.insertEdge=function(e,t){var n=this.lookupOrInsertNode(e),i=this.lookupOrInsertNode(t);n.outgoing[this._hashFn(t)]=i,i.incoming[this._hashFn(e)]=n},e.prototype.removeNode=function(e){var t=this._hashFn(e);delete this._nodes[t],Object(as.c)(this._nodes,(function(e){delete e.value.outgoing[t],delete e.value.incoming[t]}))},e.prototype.lookupOrInsertNode=function(e){var t=this._hashFn(e),n=this._nodes[t];return n||(n=function(e){return{data:e,incoming:Object.create(null),outgoing:Object.create(null)}}(e),this._nodes[t]=n),n},e.prototype.isEmpty=function(){for(var e in this._nodes)return!1;return!0},e.prototype.toString=function(){var e=[];return Object(as.c)(this._nodes,(function(t){e.push(t.key+", (incoming)["+Object.keys(t.value.incoming).join(", ")+"], (outgoing)["+Object.keys(t.value.outgoing).join(",")+"]")})),e.join("\n")},e}(),ds=n("r0BQ"),hs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ps=function(){for(var e=0,t=0,n=arguments.length;t0?i[0].index:t.length;if(t.length!==l){console.warn("[createInstance] First service dependency of "+e.name+" at position "+(l+1)+" conflicts with "+t.length+" static arguments");var c=l-t.length;t=c>0?t.concat(new Array(c)):t.slice(0,l)}return new(e.bind.apply(e,ps([void 0],ps(t,o))))},e.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof ds.a)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},e.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},e.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof ds.a?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},e.prototype._createAndCacheServiceInstance=function(e,t,n){for(var i=new cs((function(e){return e.id.toString()})),o=0,r=[{id:e,desc:t,_trace:n}];r.length;){var s=r.pop();if(i.lookupOrInsertNode(s),o++>150)throw new gs(i);for(var a=0,u=Ci.b.getServiceDependencies(s.desc.ctor);a "+l);var h=e(t+1,d);h&&o.push(h)}else o.push(r+"uses -> "+l)}return o.join("\n")}(1,this),"DONE, took "+t.toFixed(2)+"ms (grand total "+e._totals.toFixed(2)+"ms)"];(t>2||n)&&console.log(i.join("\n"))},e._None=new(function(e){function t(){return e.call(this,-1,null)||this}return hs(t,e),t.prototype.stop=function(){},t.prototype.branch=function(){return this},t}(e)),e._totals=0,e}(),_s=n("R8sh"),bs=n("k9mg"),ys=n("tADe");(ls=us||(us={})).get=function(e,t,n){if(e[t])return e[t][n]},ls.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},ls.remove=function(e,t,n){return!(!e[t]||!e[t][n]||(delete e[t][n],Object(xe.f)(e[t])&&delete e[t],0))};var Cs=function(){function e(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}return e.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},e.prototype._update=function(e){if(this._data)for(var t=0,n=e;t0?a:1,startColumn:u=u>0?u:1,endLineNumber:l=l>=a?l:a,endColumn:c=c>0?c:u,relatedInformation:d,tags:h}},e.prototype.read=function(t){void 0===t&&(t=Object.create(null));var n=t.owner,i=t.resource,o=t.severities,r=t.take;if((!r||r<0)&&(r=-1),n&&i){if(b=us.get(this._byResource,i.toString(),n)){for(var s=[],a=0,u=b;a0&&c===r)break}}return s}return[]}if(n||i){var d=n?this._byOwner[n]:i?this._byResource[i.toString()]:void 0;if(!d)return[];s=[];for(var h in d)for(var p=0,f=d[h];p0&&c===r)return s}}return s}var s=[];for(var g in this._byResource)for(var m in this._byResource[g])for(var v=0,_=this._byResource[g][m];v<_.length;v++){var b=_[v];if(e._accept(b,o)){var c=s.push(b);if(r>0&&c===r)return s}}return s},e._accept=function(e,t){return void 0===t||(t&e.severity)===e.severity},e._debouncer=function(t,n){t||(e._dedupeMap=Object.create(null),t=[]);for(var i=0,o=n;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ls=function(e,t){return function(n,i){t(n,i,e)}},Ds=function(){function e(e){this._commandService=e}return e.prototype.createMenu=function(e,t){return new xs(e,this._commandService,t)},e=Os([Ls(0,ee.b)],e)}(),xs=function(){function e(e,t,n){var i=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new j.a,this._dispoables=new he.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(j.b.debounce(j.b.filter(Zi.c.onDidChangeMenu,(function(e){return e===i._id})),(function(){}),50)(this._build,this)),this._dispoables.add(j.b.debounce(this._contextKeyService.onDidChangeContext,(function(e,t){return e||t.affectsSome(i._contextKeys)}),50)((function(e){return e&&i._onDidChange.fire(void 0)}),this))}return e.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},e.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var t,n=Zi.c.getMenuItems(this._id);n.sort(e._compareMenuItems);for(var i=0,o=n;i0&&t.push([r,s])}return t},e._fillInKbExprKeys=function(e,t){if(e)for(var n=0,i=e.keys();na?1:e._compareTitles(Object(Zi.e)(t)?t.command.title:t.title,Object(Zi.e)(n)?n.command.title:n.title)},e._compareTitles=function(e,t){var n="string"==typeof e?e:e.value,i="string"==typeof t?t:t.value;return n.localeCompare(i)},e=Os([Ls(1,ee.b),Ls(2,vn.c)],e)}(),Ns=n("79sc"),ks=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Es=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Is=function(e,t){return function(n,i){t(n,i,e)}};function Ms(e){return e.toString()}var Ts,Ps=function(e){function t(t){var n=e.call(this)||this;return n.model=t,n._markersData=new Map,n._register(Object(he.h)((function(){n.model.deltaDecorations(Object(an.d)(n._markersData),[]),n._markersData.clear()}))),n}return ks(t,e),t.prototype.update=function(e,t){var n=Object(an.d)(this._markersData);this._markersData.clear();for(var i=this.model.deltaDecorations(n,t),o=0;o=o?new H.a(n.startLineNumber,o-1,n.endLineNumber,o):new H.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){var r=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);r=0},t=Es([Is(0,dt.a),Is(1,ys.b)],t)}(he.a),As=n("9fML"),Fs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),js=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ws=function(e,t){return function(n,i){t(n,i,e)}},Vs=function(e){function t(t,n){var i=e.call(this)||this;i._contextKeyService=t,i._configurationService=n,i._accessibilitySupport=0,i._onDidChangeScreenReaderOptimized=new j.a,i._accessibilityModeEnabledContext=Qi.a.bindTo(i._contextKeyService);var o=function(){return i._accessibilityModeEnabledContext.set(i.isScreenReaderOptimized())};return i._register(i._configurationService.onDidChangeConfiguration((function(e){e.affectsConfiguration("editor.accessibilitySupport")&&(o(),i._onDidChangeScreenReaderOptimized.fire())}))),o(),i.onDidChangeScreenReaderOptimized((function(){return o()})),i}return Fs(t,e),Object.defineProperty(t.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),t.prototype.isScreenReaderOptimized=function(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport},t.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},t=js([Ws(0,vn.c),Ws(1,sn.a)],t)}(he.a),Bs=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();!function(e){var t=new wi.a,n=function(){function e(e,t){this._serviceId=e,this._factory=t,this._value=null}return Object.defineProperty(e.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),e.prototype.get=function(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value},e}();e.LazyStaticService=n;var i=[];function o(e,t){var o=new n(e,t);return i.push(o),o}e.init=function(e){for(var t=new wi.a,n=0,o=Object(As.a)();n=0&&n<5;)n++,t=t.replace(/@(\w+)/g,(function(n,i){var o="";if("string"==typeof e[i])o=e[i];else{if(!(e[i]&&e[i]instanceof RegExp))throw void 0===e[i]?Wt(e,"language definition does not contain attribute '"+i+"', used at: "+t):Wt(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return At(o)?"":"(?:"+o+")"}));return new RegExp(t,e.ignoreCase?"i":"")}function ma(e,t,n,i){var o=-1,r=n,s=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);s&&(s[3]&&(o=parseInt(s[3]),s[2]&&(o+=100)),r=s[4]);var a,u="~",l=r;if(r&&0!==r.length?/^\w*$/.test(l)?u="==":(s=r.match(/^(@|!@|~|!~|==|!=)(.*)$/))&&(u=s[1],l=s[2]):(u="!=",l=""),"~"!==u&&"!~"!==u||!/^(\w|\|)*$/.test(l))if("@"===u||"!@"===u){var c=e[l];if(!c)throw Wt(e,"the @ match target '"+l+"' is not defined, in rule: "+t);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var n=0,i=t;n=100){i-=100;var o=n.split(".");if(o.unshift(n),i0&&"^"===n[0],this.name=this.name+": "+n,this.regex=ga(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")},e.prototype.setAction=function(e,t){this.action=function e(t,n,i){if(i){if("string"==typeof i)return i;if(i.token||""===i.token){if("string"!=typeof i.token)throw Wt(t,"a 'token' attribute must be of type string, in rule: "+n);var o={token:i.token};if(i.token.indexOf("$")>=0&&(o.tokenSubst=!0),"string"==typeof i.bracket)if("@open"===i.bracket)o.bracket=1;else{if("@close"!==i.bracket)throw Wt(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);o.bracket=-1}if(i.next){if("string"!=typeof i.next)throw Wt(t,"the next state must be a string value in rule: "+n);var r=i.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!function(e,t){for(var n=t;n&&n.length>0;){if(e.stateNames[n])return!0;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return!1}(t,Vt(t,r,"",[],""))))throw Wt(t,"the next state '"+i.next+"' is not defined in rule: "+n);o.next=r}return"number"==typeof i.goBack&&(o.goBack=i.goBack),"string"==typeof i.switchTo&&(o.switchTo=i.switchTo),"string"==typeof i.log&&(o.log=i.log),"string"==typeof i.nextEmbedded&&(o.nextEmbedded=i.nextEmbedded,t.usesEmbedded=!0),o}if(Array.isArray(i)){for(var s=[],a=0,u=i.length;a0&&o[r-1]===c)){var d=l.startIndex;0===a?d=0:d=1&&l.length<=3)if(d.setRegex(i,l[0]),l.length>=3)if("string"==typeof l[1])d.setAction(i,{token:l[1],next:l[2]});else{if("object"!=typeof l[1])throw Wt(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);var h=l[1];h.next=l[2],d.setAction(i,h)}else d.setAction(i,l[1]);else{if(!l.regex)throw Wt(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);l.name&&"string"==typeof l.name&&(d.name=l.name),l.matchOnlyAtStart&&(d.matchOnlyAtLineStart=ha(l.matchOnlyAtLineStart,!1)),d.setRegex(i,l.regex),d.setAction(i,l.action)}r.push(d)}}}if(i.languageId=e,i.ignoreCase=n.ignoreCase,i.noThrow=n.noThrow,i.usesEmbedded=n.usesEmbedded,i.stateNames=t.tokenizer,i.defaultToken=n.defaultToken,!t.tokenizer||"object"!=typeof t.tokenizer)throw Wt(n,"a language definition must define the 'tokenizer' attribute as an object");for(var r in n.tokenizer=[],t.tokenizer)if(t.tokenizer.hasOwnProperty(r)){n.start||(n.start=r);var s=t.tokenizer[r];n.tokenizer[r]=new Array,o("tokenizer."+r,n.tokenizer[r],s)}if(n.usesEmbedded=i.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw Wt(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var a=[],u=0,l=t.brackets;u=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},x=function(e,t){return function(n,i){t(n,i,e)}},N=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},k=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0})).filter((function(e){return e.resolvedKeybinding})).map((function(e){var t=e.commandArgs;return e.command===d.d?t={kind:C.b.SourceOrganizeImports.value}:e.command===d.b&&(t={kind:C.b.SourceFixAll.value}),L({resolvedKeybinding:e.resolvedKeybinding},C.a.fromUser(t,{kind:C.b.None,apply:"never"}))}))}));return function(e){if(e.kind){var i=t.bestKeybindingForCodeAction(e,n.getValue());return null==i?void 0:i.resolvedKeybinding}}},e.prototype.bestKeybindingForCodeAction=function(e,t){if(e.kind){var n=new C.b(e.kind);return t.filter((function(e){return e.kind.contains(n)})).filter((function(t){return!t.preferred||e.isPreferred})).reduceRight((function(e,t){return e?e.kind.contains(t.kind)?t:e:t}),void 0)}},e.codeActionCommands=[d.e,d.a,d.f,d.d,d.b],e}(),P=n("AKMP"),R=n("MI8n"),A=(n("MNXI"),n("tX9W")),F=n("3/fG"),j=n("t9D7"),W=n("MD5Z"),V=n("pg8w"),B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),H=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},z=function(e,t){return function(n,i){t(n,i,e)}};!function(e){e.Hidden={type:0};var t=function(e,t,n,i){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=i,this.type=1};e.Showing=t}(o||(o={}));var U=function(e){function t(t,n,i,r){var s=e.call(this)||this;return s._editor=t,s._quickFixActionId=n,s._preferredFixActionId=i,s._keybindingService=r,s._onClick=s._register(new R.a),s.onClick=s._onClick.event,s._state=o.Hidden,s._domNode=document.createElement("div"),s._domNode.className="codicon codicon-lightbulb",s._editor.addContentWidget(s),s._register(s._editor.onDidChangeModelContent((function(e){var t=s._editor.getModel();(1!==s.state.type||!t||s.state.editorPosition.lineNumber>=t.getLineCount())&&s.hide()}))),V.b.ignoreTarget(s._domNode),s._register(m.n(s._domNode,(function(e){if(1===s.state.type){s._editor.focus(),e.preventDefault();var t=m.C(s._domNode),n=t.top,i=t.height,o=s._editor.getOption(49),r=Math.floor(o/3);null!==s.state.widgetPosition.position&&s.state.widgetPosition.position.lineNumber2&&r._editor.getTopForLineNumber(e)===r._editor.getTopForLineNumber(e-1)},g=a;if(!(d.spaceWidth*p>22))if(a>1&&!f(a-1))g-=1;else if(f(a+1)){if(u*d.spaceWidth<22)return this.hide()}else g+=1;this.state=new o.Showing(e,n,i,{position:{lineNumber:g,column:1},preference:t._posPref}),m.Y(this._domNode,"codicon-lightbulb-autofix",e.hasAutoFix),this._editor.layoutContentWidget(this)},t.prototype.hide=function(){this.state=o.Hidden,this._editor.layoutContentWidget(this)},Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state=e,this._updateLightBulbTitle()},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbTitle=function(){if(1===this.state.type&&this.state.actions.hasAutoFix){var e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=F.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}var t=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=t?F.a("quickFixWithKb","Show Fixes ({0})",t.getLabel()):F.a("quickFix","Show Fixes")},Object.defineProperty(t.prototype,"title",{set:function(e){this._domNode.title=e},enumerable:!0,configurable:!0}),t._posPref=[0],t=H([z(3,S.a)],t)}(s.a);Object(j.e)((function(e,t){var n=e.getColor(W.J);n&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb {\n\t\t\tcolor: "+n+";\n\t\t}");var i=e.getColor(W.I);i&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb-autofix {\n\t\t\tcolor: "+i+";\n\t\t}")}));var K,q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Y=function(e,t){return function(n,i){t(n,i,e)}},Z=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},X=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0},t.prototype.showCodeActionList=function(e,t,n,i){return Z(this,void 0,void 0,(function(){return X(this,(function(o){return this._codeActionWidget.getValue().show(e,t,n,i),[2]}))}))},t=G([Y(4,g.a)],t)}(s.a),J=n("nnTU"),$=n("T8No"),ee=n("tADe"),te=n("sM1p"),ne=n("tTk5"),ie=n("XXUj"),oe=n("X+cX"),re=n("aokT"),se=n("gslv"),ae=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ue=new $.d("supportedCodeAction",""),le=function(e){function t(t,n,i,o){void 0===o&&(o=250);var r=e.call(this)||this;return r._editor=t,r._markerService=n,r._signalChange=i,r._delay=o,r._autoTriggerTimer=r._register(new oe.e),r._register(r._markerService.onMarkerChanged((function(e){return r._onMarkerChanges(e)}))),r._register(r._editor.onDidChangeCursorPosition((function(){return r._onCursorChange()}))),r}return ae(t,e),t.prototype.trigger=function(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)},t.prototype._onMarkerChanges=function(e){var t=this,n=this._editor.getModel();n&&e.some((function(e){return Object(se.e)(e,n.uri)}))&&this._autoTriggerTimer.cancelAndSet((function(){t.trigger({type:1})}),this._delay)},t.prototype._onCursorChange=function(){var e=this;this._autoTriggerTimer.cancelAndSet((function(){e.trigger({type:1})}),this._delay)},t.prototype._getRangeOfMarker=function(e){var t=this._editor.getModel();if(t)for(var n=0,i=this._markerService.read({resource:t.uri});n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},pe=function(e,t){return function(n,i){t(n,i,e)}},fe=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},ge=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]140)n._setDesiredScrollPositionNow(r.getScrollPosition());else{var a=n._sliderMousePosition(e)-i;n._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(a))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(l.a),b=function(){function e(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){return new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,i,o){var r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};var u=Math.round(Math.max(20,Math.floor(n*s/i))),l=(s-u)/(i-n),c=o*l;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(u),computedSliderRatio:l,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new b(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize,r.width,r.scrollWidth,s.scrollLeft),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this,n.horizontalHasArrows){var u=(n.arrowSize-11)/2,l=(n.horizontalScrollbarSize-11)/2;o._createArrow({className:"left-arrow",top:l,left:u,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,1,0))}}),o._createArrow({className:"right-arrow",top:l,left:void 0,bottom:void 0,right:u,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,-1,0))}})}return o._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),o}return y(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(_),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new b(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0,r.height,r.scrollHeight,s.scrollTop),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this,n.verticalHasArrows){var u=(n.arrowSize-11)/2,l=(n.verticalScrollbarSize-11)/2;o._createArrow({className:"up-arrow",top:u,left:l,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:l,bottom:u,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,0,-1))}})}return o._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),o}return w(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(_),O=n("MI8n"),L=n("QuOb"),D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},N=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,t=0,n=1,i=this._rear;;){var o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5},e.prototype.accept=function(e,t,n){var i=new x(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),k=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new O.a),o.onScroll=o._onScroll.event,t.style.overflow="hidden",o._options=T(n),o._scrollable=i,o._register(o._scrollable.onScroll((function(e){o._onDidScroll(e),o._onScroll.fire(e)})));var r={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new S(o._scrollable,o._options,r)),o._horizontalScrollbar=o._register(new C(o._scrollable,o._options,r)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(t),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows?(o._leftShadowDomNode=Object(s.b)(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Object(s.b)(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)):(o._leftShadowDomNode=null,o._topShadowDomNode=null,o._topLeftShadowDomNode=null),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,(function(e){return o._onMouseOver(e)})),o.onnonbubblingmouseout(o._listenOnDomNode,(function(e){return o._onMouseOut(e)})),o._hideTimeout=o._register(new c.e),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}return D(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=Object(p.f)(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,m.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=T(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this;if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(p.f)(this._mouseWheelToDispose),e)){this._mouseWheelToDispose.push(r.j(this._listenOnDomNode,o.f?"mousewheel":"wheel",(function(e){t._onMouseWheel(new a.c(e))}),{passive:!1}))}},t.prototype._onMouseWheel=function(e){var t,n=N.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(i=(t=[o,i])[0],o=t[1]);var r=!m.e&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);var s=this._scrollable.getFutureScrollPosition(),a={};if(i){var u=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,u)}if(o){var l=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,l)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),this._shouldRender=!0}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),500)},t}(l.a),E=function(e){function t(t,n){var i=this;(n=n||{}).mouseWheelSmoothScroll=!1;var o=new L.a(0,(function(e){return r.W(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return D(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(k),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return D(t,e),t}(k),M=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=t,i.onScroll((function(e){e.scrollTopChanged&&(i._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(i._element.scrollLeft=e.scrollLeft)})),i.scanDomNode(),i}return D(t,e),t.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},t}(E);function T(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.e&&(t.className+=" mac"),t}},"GR/f": +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/scrollable.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return I})),n.d(t,"a",(function(){return M}));n("eq1K");var i,o=n("D3Dy"),r=n("EffR"),s=n("ZlPH"),a=n("XSiN"),u=n("AKMP"),l=n("G300"),c=n("X+cX"),d=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(e){function t(t){var n=e.call(this)||this;return n._onActivate=t.onActivate,n.bgDomNode=document.createElement("div"),n.bgDomNode.className="arrow-background",n.bgDomNode.style.position="absolute",n.bgDomNode.style.width=t.bgWidth+"px",n.bgDomNode.style.height=t.bgHeight+"px",void 0!==t.top&&(n.bgDomNode.style.top="0px"),void 0!==t.left&&(n.bgDomNode.style.left="0px"),void 0!==t.bottom&&(n.bgDomNode.style.bottom="0px"),void 0!==t.right&&(n.bgDomNode.style.right="0px"),n.domNode=document.createElement("div"),n.domNode.className=t.className,n.domNode.style.position="absolute",n.domNode.style.width="11px",n.domNode.style.height="11px",void 0!==t.top&&(n.domNode.style.top=t.top+"px"),void 0!==t.left&&(n.domNode.style.left=t.left+"px"),void 0!==t.bottom&&(n.domNode.style.bottom=t.bottom+"px"),void 0!==t.right&&(n.domNode.style.right=t.right+"px"),n._mouseMoveMonitor=n._register(new u.a),n.onmousedown(n.bgDomNode,(function(e){return n._arrowMouseDown(e)})),n.onmousedown(n.domNode,(function(e){return n._arrowMouseDown(e)})),n._mousedownRepeatTimer=n._register(new c.c),n._mousedownScheduleRepeatTimer=n._register(new c.e),n}return d(t,e),t.prototype._arrowMouseDown=function(e){var t=this;this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet((function(){t._mousedownRepeatTimer.cancelAndSet((function(){return t._onActivate()}),1e3/24)}),200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){}),(function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()},t}(l.a),p=n("pmY6"),f=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),g=function(e){function t(t,n,i){var o=e.call(this)||this;return o._visibility=t,o._visibleClassName=n,o._invisibleClassName=i,o._domNode=null,o._isVisible=!1,o._isNeeded=!1,o._shouldBeVisible=!1,o._revealTimer=o._register(new c.e),o}return f(t,e),t.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},t.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},t.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},t.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},t.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},t.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)}),0))},t.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},t}(p.a),m=n("MNsG"),v=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),_=function(e){function t(t){var n=e.call(this)||this;return n._lazyRender=t.lazyRender,n._host=t.host,n._scrollable=t.scrollable,n._scrollbarState=t.scrollbarState,n._visibilityController=n._register(new g(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),n._visibilityController.setIsNeeded(n._scrollbarState.isNeeded()),n._mouseMoveMonitor=n._register(new u.a),n._shouldRender=!0,n.domNode=Object(s.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n._visibilityController.setDomNode(n.domNode),n.domNode.setPosition("absolute"),n.onmousedown(n.domNode.domNode,(function(e){return n._domNodeMouseDown(e)})),n}return v(t,e),t.prototype._createArrow=function(e){var t=this._register(new h(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},t.prototype._createSlider=function(e,t,n,i){var o=this;this.slider=Object(s.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof n&&this.slider.setWidth(n),"number"==typeof i&&this.slider.setHeight(i),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(function(e){e.leftButton&&(e.preventDefault(),o._sliderMouseDown(e,(function(){})))})),this.onclick(this.slider.domNode,(function(e){e.leftButton&&e.stopPropagation()}))},t.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},t.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},t.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},t.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},t.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),i=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),o=this._sliderMousePosition(e);n<=o&&o<=i?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){}))):this._onMouseDown(e)},t.prototype._onMouseDown=function(e){var t,n;if(e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{var i=r.C(this.domNode.domNode);t=e.posx-i.left,n=e.posy-i.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){})))},t.prototype._sliderMouseDown=function(e,t){var n=this,i=this._sliderMousePosition(e),o=this._sliderOrthogonalMousePosition(e),r=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,u.b,(function(e){var t=n._sliderOrthogonalMousePosition(e),s=Math.abs(t-o);if(m.h&&s>140)n._setDesiredScrollPositionNow(r.getScrollPosition());else{var a=n._sliderMousePosition(e)-i;n._setDesiredScrollPositionNow(r.getDesiredScrollPositionFromDelta(a))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(l.a),b=function(){function e(e,t,n,i,o,r){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=i,this._scrollSize=o,this._scrollPosition=r,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){return new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,i,o){var r=Math.max(0,n-e),s=Math.max(0,r-2*t),a=i>0&&i>n;if(!a)return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(s),computedSliderRatio:0,computedSliderPosition:0};var u=Math.round(Math.max(20,Math.floor(n*s/i))),l=(s-u)/(i-n),c=o*l;return{computedAvailableSize:Math.round(r),computedIsNeeded:a,computedSliderSize:Math.round(u),computedSliderRatio:l,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),y=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),C=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new b(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize,r.width,r.scrollWidth,s.scrollLeft),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this,n.horizontalHasArrows){var u=(n.arrowSize-11)/2,l=(n.horizontalScrollbarSize-11)/2;o._createArrow({className:"left-arrow",top:l,left:u,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,1,0))}}),o._createArrow({className:"right-arrow",top:l,left:void 0,bottom:void 0,right:u,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,-1,0))}})}return o._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),o}return y(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(_),w=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),S=function(e){function t(t,n,i){var o=this,r=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(o=e.call(this,{lazyRender:n.lazyRender,host:i,scrollbarState:new b(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0,r.height,r.scrollHeight,s.scrollTop),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this,n.verticalHasArrows){var u=(n.arrowSize-11)/2,l=(n.verticalScrollbarSize-11)/2;o._createArrow({className:"up-arrow",top:u,left:l,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:l,bottom:u,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return o._host.onMouseWheel(new a.c(null,0,-1))}})}return o._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),o}return w(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(_),O=n("MI8n"),L=n("QuOb"),D=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),x=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},N=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,t=0,n=1,i=this._rear;;){var o=i===this._front?e:Math.pow(2,-n);if(e-=o,t+=this._memory[i].score*o,i===this._front)break;i=(this._capacity+i-1)%this._capacity,n++}return t<=.5},e.prototype.accept=function(e,t,n){var i=new x(e,t,n);i.score=this._computeScore(i),-1===this._front&&-1===this._rear?(this._memory[0]=i,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=i)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),k=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new O.a),o.onScroll=o._onScroll.event,t.style.overflow="hidden",o._options=T(n),o._scrollable=i,o._register(o._scrollable.onScroll((function(e){o._onDidScroll(e),o._onScroll.fire(e)})));var r={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new S(o._scrollable,o._options,r)),o._horizontalScrollbar=o._register(new C(o._scrollable,o._options,r)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(t),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows?(o._leftShadowDomNode=Object(s.b)(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Object(s.b)(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)):(o._leftShadowDomNode=null,o._topShadowDomNode=null,o._topLeftShadowDomNode=null),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,(function(e){return o._onMouseOver(e)})),o.onnonbubblingmouseout(o._listenOnDomNode,(function(e){return o._onMouseOut(e)})),o._hideTimeout=o._register(new c.e),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}return D(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=Object(p.f)(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,m.e&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=T(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this;if(this._mouseWheelToDispose.length>0!==e&&(this._mouseWheelToDispose=Object(p.f)(this._mouseWheelToDispose),e)){this._mouseWheelToDispose.push(r.j(this._listenOnDomNode,o.f?"mousewheel":"wheel",(function(e){t._onMouseWheel(new a.c(e))}),{passive:!1}))}},t.prototype._onMouseWheel=function(e){var t,n=N.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var i=e.deltaY*this._options.mouseWheelScrollSensitivity,o=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(i=(t=[o,i])[0],o=t[1]);var r=!m.e&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||o||(o=i,i=0),e.browserEvent&&e.browserEvent.altKey&&(o*=this._options.fastScrollSensitivity,i*=this._options.fastScrollSensitivity);var s=this._scrollable.getFutureScrollPosition(),a={};if(i){var u=s.scrollTop-50*i;this._verticalScrollbar.writeScrollPosition(a,u)}if(o){var l=s.scrollLeft-50*o;this._horizontalScrollbar.writeScrollPosition(a,l)}if(a=this._scrollable.validateScrollPosition(a),s.scrollLeft!==a.scrollLeft||s.scrollTop!==a.scrollTop)this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),this._shouldRender=!0}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),500)},t}(l.a),E=function(e){function t(t,n){var i=this;(n=n||{}).mouseWheelSmoothScroll=!1;var o=new L.a(0,(function(e){return r.W(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return D(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(k),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return D(t,e),t}(k),M=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=t,i.onScroll((function(e){e.scrollTopChanged&&(i._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(i._element.scrollLeft=e.scrollLeft)})),i.scanDomNode(),i}return D(t,e),t.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},t}(E);function T(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m.e&&(t.className+=" mac"),t}},"GR/f": /*!********************************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/common/controller/cursorTypeOperations.js + 1 modules ***! \********************************************************************************************************/ @@ -825,14 +825,14 @@ /*! exports used: TypeOperations, TypeWithAutoClosingCommand */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/transpose.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/commands/shiftCommand.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/controller/cursorCommon.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/controller/wordCharacterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return v}));var i,o=n("/cxE"),r=n("N0LK"),s=n("LCkn"),a=n("zN7H"),u=n("aokT"),l=n("gCVg"),c=function(){function e(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(new u.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new u.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range,o=n[1].range;return new l.a(i.endLineNumber,i.endColumn,o.endLineNumber,o.endColumn-this._charAfterSelection.length)},e}(),d=n("Ll0s"),h=n("5v8Y"),p=n("KDc4"),f=n("cMvZ"),g=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=function(){function e(){}return e.indent=function(e,t,n){if(null===t||null===n)return[];for(var i=[],o=0,r=n.length;o1){var l=void 0;for(l=i-1;l>=1;l--){var c=n.getLineContent(l);if(r.D(c)>=0)break}if(l<1)return null;var d=n.getLineMaxColumn(l),h=f.a.getEnterAction(t.autoIndent,n,new u.a(l,d,l,d));h&&(s=h.indentation+h.appendText)}return o&&(o===p.a.Indent&&(s=e.shiftIndent(t,s)),o===p.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",r=n.getStartPosition();if(e.insertSpaces)for(var a=d.a.visibleColumnFromColumn2(e,t,r),u=e.indentSize,l=u-a%u,c=0;c=4){var y=f.a.getIndentForEnter(t.autoIndent,n,o,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(y){var C=d.a.visibleColumnFromColumn2(t,n,o.getEndPosition()),w=o.endColumn,S="\n";b!==t.normalizeIndentation(y.beforeEnter)&&(S=t.normalizeIndentation(y.beforeEnter)+_.substring(b.length,o.startColumn-1)+"\n",o=new u.a(o.startLineNumber,1,o.endLineNumber,o.endColumn));var O=n.getLineContent(o.endLineNumber),L=r.q(O);if(o=L>=0?o.setEndPosition(o.endLineNumber,Math.max(o.endColumn,L+1)):o.setEndPosition(o.endLineNumber,n.getLineMaxColumn(o.endLineNumber)),i)return new s.e(o,S+t.normalizeIndentation(y.afterEnter),!0);var D=0;return w<=L+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),D=Math.min(C+1-t.normalizeIndentation(y.afterEnter).length-1,0)),new s.d(o,S+t.normalizeIndentation(y.afterEnter),0,D,!0)}}return e._typeCommand(o,"\n"+t.normalizeIndentation(b),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i2?l.charCodeAt(u.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,p=0,f=i.length;p=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;sr.open.length){for(var c=!0,d=0,h=n;dv.column-1){var b=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,l,b)&&!c(b))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===l.open.length&&a&&"always"!==u){var y=Object(h.a)(t.wordSeparators);if(s&&v.column>1&&0===y.get(_.charCodeAt(v.column-2)))return null;if(!s&&v.column>2&&0===y.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=f.a.shouldAutoClosePair(l,C,s?v.column:v.column-1)}catch(e){Object(o.e)(e)}if(!w)return null}return l},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,s){for(var a=[],u=0,l=i.length;u1){var l=void 0;for(l=i-1;l>=1;l--){var c=n.getLineContent(l);if(r.D(c)>=0)break}if(l<1)return null;var d=n.getLineMaxColumn(l),h=f.a.getEnterAction(t.autoIndent,n,new u.a(l,d,l,d));h&&(s=h.indentation+h.appendText)}return o&&(o===p.a.Indent&&(s=e.shiftIndent(t,s)),o===p.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",r=n.getStartPosition();if(e.insertSpaces)for(var a=d.a.visibleColumnFromColumn2(e,t,r),u=e.indentSize,l=u-a%u,c=0;c=4){var y=f.a.getIndentForEnter(t.autoIndent,n,o,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(y){var C=d.a.visibleColumnFromColumn2(t,n,o.getEndPosition()),w=o.endColumn,S="\n";b!==t.normalizeIndentation(y.beforeEnter)&&(S=t.normalizeIndentation(y.beforeEnter)+_.substring(b.length,o.startColumn-1)+"\n",o=new u.a(o.startLineNumber,1,o.endLineNumber,o.endColumn));var O=n.getLineContent(o.endLineNumber),L=r.q(O);if(o=L>=0?o.setEndPosition(o.endLineNumber,Math.max(o.endColumn,L+1)):o.setEndPosition(o.endLineNumber,n.getLineMaxColumn(o.endLineNumber)),i)return new s.e(o,S+t.normalizeIndentation(y.afterEnter),!0);var D=0;return w<=L+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),D=Math.min(C+1-t.normalizeIndentation(y.afterEnter).length-1,0)),new s.d(o,S+t.normalizeIndentation(y.afterEnter),0,D,!0)}}return e._typeCommand(o,"\n"+t.normalizeIndentation(b),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i2?l.charCodeAt(u.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,p=0,f=i.length;p=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;sr.open.length){for(var c=!0,d=0,h=n;dv.column-1){var b=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,l,b)&&!c(b))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===l.open.length&&a&&"always"!==u){var y=Object(h.a)(t.wordSeparators);if(s&&v.column>1&&0===y.get(_.charCodeAt(v.column-2)))return null;if(!s&&v.column>2&&0===y.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=f.a.shouldAutoClosePair(l,C,s?v.column:v.column-1)}catch(e){Object(o.e)(e)}if(!w)return null}return l},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,s){for(var a=[],u=0,l=i.length;u=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},b=function(e,t){return function(n,i){t(n,i,e)}},y=function(){function e(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){},e.prototype.run=function(t,n){var i=this;this.currentRequest&&this.currentRequest.cancel();var o=this.editor.getSelection(),a=this.editor.getModel();if(a&&o){var u=o;if(u.startLineNumber===u.endLineNumber){var l=new d.a(this.editor,5),h=a.uri;return this.editorWorkerService.canNavigateValueSet(h)?(this.currentRequest=Object(g.f)((function(e){return i.editorWorkerService.navigateValueSet(h,u,n)})),this.currentRequest.then((function(n){if(n&&n.range&&n.value&&l.validate(i.editor)){var o=r.a.lift(n.range),a=n.range,d=n.value.length-(u.endColumn-u.startColumn);a={startLineNumber:a.startLineNumber,startColumn:a.startColumn,endLineNumber:a.endLineNumber,endColumn:a.startColumn+n.value.length},d>1&&(u=new s.a(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+d-1));var h=new c(o,u,n.value);i.editor.pushUndoStop(),i.editor.executeCommand(t,h),i.editor.pushUndoStop(),i.decorationIds=i.editor.deltaDecorations(i.decorationIds,[{range:a,options:e.DECORATION}]),i.decorationRemover&&i.decorationRemover.cancel(),i.decorationRemover=Object(g.l)(350),i.decorationRemover.then((function(){return i.decorationIds=i.editor.deltaDecorations(i.decorationIds,[])})).catch(m.e)}})).catch(m.e)):Promise.resolve(void 0)}}},e.ID="editor.contrib.inPlaceReplaceController",e.DECORATION=f.a.register({className:"valueSetReplacement"}),e=_([b(1,l.a)],e)}(),C=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.up",label:o.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:a.a.writable,kbOpts:{kbExpr:a.a.editorTextFocus,primary:3154,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){var n=y.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)},t}(u.b),w=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.down",label:o.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:a.a.writable,kbOpts:{kbExpr:a.a.editorTextFocus,primary:3156,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){var n=y.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)},t}(u.b);Object(u.h)(y.ID,y),Object(u.f)(C),Object(u.f)(w),Object(h.e)((function(e,t){var n=e.getColor(p.d);n&&t.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+n+"; }")}))},Gw4z: /*!********************************************************************************!*\ @@ -867,7 +867,7 @@ \********************************************************************************/ /*! exports provided: StringDiffSequence, stringDiff, Debug, MyArray, LcsDiff */ /*! exports used: LcsDiff, stringDiff */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/hash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/codelens/codelensController.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var i=function(){function e(e,t,n,i){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=i}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}(),o=n("7afs"),r=function(){function e(e){this.source=e}return e.prototype.getElements=function(){for(var e=this.source,t=new Int32Array(e.length),n=0,i=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),c=function(){function e(t,n,i){void 0===i&&(i=null),this.ContinueProcessingPredicate=i;var o=e._getElements(t),r=o[0],s=o[1],a=o[2],u=e._getElements(n),l=u[0],c=u[1],d=u[2];this._hasStrings=a&&d,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var i=new Int32Array(n.length),r=0,s=n.length;r=e&&o>=n&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||n>o){var s=void 0;return n<=o?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new i(e,0,n,o-n+1)]):e<=t?(a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[new i(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var u=[0],l=[0],c=this.ComputeRecursionPoint(e,t,n,o,u,l,r),d=u[0],h=l[0];if(null!==c)return c;if(!r[0]){var p=this.ComputeDiffRecursive(e,d,n,h,r),f=[];return f=r[0]?[new i(d+1,t-(d+1)+1,h+1,o-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,o,r),this.ConcatenateChanges(p,f)}return[new i(e,t-e+1,n,o-n+1)]},e.prototype.WALKTRACE=function(e,t,n,o,r,s,a,u,c,d,h,p,f,g,m,v,_,b){var y,C=null,w=new l,S=t,O=n,L=f[0]-v[0]-o,D=-1073741824,x=this.m_forwardHistory.length-1;do{(I=L+e)===S||I=0&&(e=(c=this.m_forwardHistory[x])[0],S=1,O=c.length-1)}while(--x>=-1);if(y=w.getReverseChanges(),b[0]){var N=f[0]+1,k=v[0]+1;if(null!==y&&y.length>0){var E=y[y.length-1];N=Math.max(N,E.getOriginalEnd()),k=Math.max(k,E.getModifiedEnd())}C=[new i(N,p-N+1,k,m-k+1)]}else{w=new l,S=s,O=a,L=f[0]-v[0]-u,D=1073741824,x=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var I;(I=L+r)===S||I=d[I+1]?(g=(h=d[I+1]-1)-L-u,h>D&&w.MarkNextChange(),D=h+1,w.AddOriginalElement(h+1,g+1),L=I+1-r):(g=(h=d[I-1])-L-u,h>D&&w.MarkNextChange(),D=h,w.AddModifiedElement(h+1,g+1),L=I-1-r),x>=0&&(r=(d=this.m_reverseHistory[x])[0],S=1,O=d.length-1)}while(--x>=-1);C=w.getChanges()}return this.ConcatenateChanges(y,C)},e.prototype.ComputeRecursionPoint=function(e,t,n,o,r,s,a){var l=0,c=0,d=0,h=0,p=0,f=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var g=t-e+(o-n),m=g+1,v=new Int32Array(m),_=new Int32Array(m),b=o-n,y=t-e,C=e-n,w=t-o,S=(y-b)%2==0;v[b]=e,_[y]=t,a[0]=!1;for(var O=1;O<=g/2+1;O++){var L=0,D=0;d=this.ClipDiagonalBound(b-O,O,b,m),h=this.ClipDiagonalBound(b+O,O,b,m);for(var x=d;x<=h;x+=2){c=(l=x===d||xL+D&&(L=l,D=c),!S&&Math.abs(x-y)<=O-1&&l>=_[x])return r[0]=l,s[0]=c,N<=_[x]&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):null}var k=(L-e+(D-n)-O)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(L,k))return a[0]=!0,r[0]=L,s[0]=D,k>0&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):(e++,n++,[new i(e,t-e+1,n,o-n+1)]);p=this.ClipDiagonalBound(y-O,O,y,m),f=this.ClipDiagonalBound(y+O,O,y,m);for(x=p;x<=f;x+=2){c=(l=x===p||x=_[x+1]?_[x+1]-1:_[x-1])-(x-y)-w;for(N=l;l>e&&c>n&&this.ElementsAreEqual(l,c);)l--,c--;if(_[x]=l,S&&Math.abs(x-b)<=O&&l<=v[x])return r[0]=l,s[0]=c,N>=v[x]&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):null}if(O<=1447){var E=new Int32Array(h-d+2);E[0]=b-d+1,u.Copy2(v,d,E,1,h-d+1),this.m_forwardHistory.push(E),(E=new Int32Array(f-p+2))[0]=y-p+1,u.Copy2(_,p,E,1,f-p+1),this.m_reverseHistory.push(E)}}return this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a)},e.prototype.PrettifyChanges=function(e){for(var t=0;t0,s=n.modifiedLength>0;n.originalStart+n.originalLength=0;t--){n=e[t],i=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(i=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}r=n.originalLength>0,s=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,p=n.modifiedStart-d;if(hc&&(c=f,l=d)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var i=new Array(e.length+t.length-1);return u.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],u.Copy(t,1,i,e.length,t.length-1),i}i=new Array(e.length+t.length);return u.Copy(e,0,i,0,e.length),u.Copy(t,0,i,e.length,t.length),i},e.prototype.ChangesOverlap=function(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart,r=e.originalLength,s=e.modifiedStart,u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(o,r,s,u),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,i){if(e>=0&&e0||this.m_modifiedCount>0)&&this.m_changes.push(new i(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),c=function(){function e(t,n,i){void 0===i&&(i=null),this.ContinueProcessingPredicate=i;var o=e._getElements(t),r=o[0],s=o[1],a=o[2],u=e._getElements(n),l=u[0],c=u[1],d=u[2];this._hasStrings=a&&d,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var i=new Int32Array(n.length),r=0,s=n.length;r=e&&o>=n&&this.ElementsAreEqual(t,o);)t--,o--;if(e>t||n>o){var s=void 0;return n<=o?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new i(e,0,n,o-n+1)]):e<=t?(a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[new i(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}var u=[0],l=[0],c=this.ComputeRecursionPoint(e,t,n,o,u,l,r),d=u[0],h=l[0];if(null!==c)return c;if(!r[0]){var p=this.ComputeDiffRecursive(e,d,n,h,r),f=[];return f=r[0]?[new i(d+1,t-(d+1)+1,h+1,o-(h+1)+1)]:this.ComputeDiffRecursive(d+1,t,h+1,o,r),this.ConcatenateChanges(p,f)}return[new i(e,t-e+1,n,o-n+1)]},e.prototype.WALKTRACE=function(e,t,n,o,r,s,a,u,c,d,h,p,f,g,m,v,_,b){var y,C=null,w=new l,S=t,O=n,L=f[0]-v[0]-o,D=-1073741824,x=this.m_forwardHistory.length-1;do{(I=L+e)===S||I=0&&(e=(c=this.m_forwardHistory[x])[0],S=1,O=c.length-1)}while(--x>=-1);if(y=w.getReverseChanges(),b[0]){var N=f[0]+1,k=v[0]+1;if(null!==y&&y.length>0){var E=y[y.length-1];N=Math.max(N,E.getOriginalEnd()),k=Math.max(k,E.getModifiedEnd())}C=[new i(N,p-N+1,k,m-k+1)]}else{w=new l,S=s,O=a,L=f[0]-v[0]-u,D=1073741824,x=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var I;(I=L+r)===S||I=d[I+1]?(g=(h=d[I+1]-1)-L-u,h>D&&w.MarkNextChange(),D=h+1,w.AddOriginalElement(h+1,g+1),L=I+1-r):(g=(h=d[I-1])-L-u,h>D&&w.MarkNextChange(),D=h,w.AddModifiedElement(h+1,g+1),L=I-1-r),x>=0&&(r=(d=this.m_reverseHistory[x])[0],S=1,O=d.length-1)}while(--x>=-1);C=w.getChanges()}return this.ConcatenateChanges(y,C)},e.prototype.ComputeRecursionPoint=function(e,t,n,o,r,s,a){var l=0,c=0,d=0,h=0,p=0,f=0;e--,n--,r[0]=0,s[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var g=t-e+(o-n),m=g+1,v=new Int32Array(m),_=new Int32Array(m),b=o-n,y=t-e,C=e-n,w=t-o,S=(y-b)%2==0;v[b]=e,_[y]=t,a[0]=!1;for(var O=1;O<=g/2+1;O++){var L=0,D=0;d=this.ClipDiagonalBound(b-O,O,b,m),h=this.ClipDiagonalBound(b+O,O,b,m);for(var x=d;x<=h;x+=2){c=(l=x===d||xL+D&&(L=l,D=c),!S&&Math.abs(x-y)<=O-1&&l>=_[x])return r[0]=l,s[0]=c,N<=_[x]&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):null}var k=(L-e+(D-n)-O)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(L,k))return a[0]=!0,r[0]=L,s[0]=D,k>0&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):(e++,n++,[new i(e,t-e+1,n,o-n+1)]);p=this.ClipDiagonalBound(y-O,O,y,m),f=this.ClipDiagonalBound(y+O,O,y,m);for(x=p;x<=f;x+=2){c=(l=x===p||x=_[x+1]?_[x+1]-1:_[x-1])-(x-y)-w;for(N=l;l>e&&c>n&&this.ElementsAreEqual(l,c);)l--,c--;if(_[x]=l,S&&Math.abs(x-b)<=O&&l<=v[x])return r[0]=l,s[0]=c,N>=v[x]&&O<=1448?this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a):null}if(O<=1447){var E=new Int32Array(h-d+2);E[0]=b-d+1,u.Copy2(v,d,E,1,h-d+1),this.m_forwardHistory.push(E),(E=new Int32Array(f-p+2))[0]=y-p+1,u.Copy2(_,p,E,1,f-p+1),this.m_reverseHistory.push(E)}}return this.WALKTRACE(b,d,h,C,y,p,f,w,v,_,l,t,r,c,o,s,S,a)},e.prototype.PrettifyChanges=function(e){for(var t=0;t0,s=n.modifiedLength>0;n.originalStart+n.originalLength=0;t--){n=e[t],i=0,o=0;if(t>0){var u=e[t-1];u.originalLength>0&&(i=u.originalStart+u.originalLength),u.modifiedLength>0&&(o=u.modifiedStart+u.modifiedLength)}r=n.originalLength>0,s=n.modifiedLength>0;for(var l=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,p=n.modifiedStart-d;if(hc&&(c=f,l=d)}n.originalStart-=l,n.modifiedStart-=l}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,i){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,i)?1:0)},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var i=new Array(e.length+t.length-1);return u.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],u.Copy(t,1,i,e.length,t.length-1),i}i=new Array(e.length+t.length);return u.Copy(e,0,i,0,e.length),u.Copy(t,0,i,e.length,t.length),i},e.prototype.ChangesOverlap=function(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart,r=e.originalLength,s=e.modifiedStart,u=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(u=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new i(o,r,s,u),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,i){if(e>=0&&e=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},_=function(e,t){return function(n,i){t(n,i,e)}},b=new s.d("renameInputVisible",!1),y=function(){function e(e,t,n,i,o){var r=this;this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new c.b,this.allowEditorOverflow=!0,this._visibleContextKey=b.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration((function(e){e.hasChanged(34)&&r._updateFont()}))),this._disposables.add(n.onThemeChange(this._updateStyles,this))}return e.prototype.dispose=function(){this._disposables.dispose(),this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"__renameInputWidget"},e.prototype.getDomNode=function(){var e=this;if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(o.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);var t=function(){var t,n,i=e._acceptKeybindings,r=i[0],s=i[1];e._keybindingService.lookupKeybinding(r),e._label.innerText=Object(o.a)("label","{0} to Rename, {1} to Preview",null===(t=e._keybindingService.lookupKeybinding(r))||void 0===t?void 0:t.getLabel(),null===(n=e._keybindingService.lookupKeybinding(s))||void 0===n?void 0:n.getLabel())};t(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(t)),this._updateFont(),this._updateStyles(this._themeService.getTheme())}return this._domNode},e.prototype._updateStyles=function(e){var t,n,i,o;if(this._input&&this._domNode){var r=e.getColor(p.hc);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(p.Q))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?" 0 2px 8px "+r:"",this._domNode.style.color=String(null!==(n=e.getColor(p.bb))&&void 0!==n?n:""),this._input.style.backgroundColor=String(null!==(i=e.getColor(p.Z))&&void 0!==i?i:"");var s=e.getColor(p.ab);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null==s?void 0:s.toString())&&void 0!==o?o:"none"}},e.prototype._updateFont=function(){if(this._input&&this._label){var e=this._editor.getOption(34);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px"}},e.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},e.prototype.acceptInput=function(e){this._currentAcceptInput&&this._currentAcceptInput(e)},e.prototype.cancelInput=function(e){this._currentCancelInput&&this._currentCancelInput(e)},e.prototype.getInput=function(e,t,n,i,o){var r=this;Object(m.Y)(this._domNode,"preview",o),this._position=new d.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",i.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);var s=new c.b;return new Promise((function(n){r._currentCancelInput=function(e){return r._currentAcceptInput=void 0,r._currentCancelInput=void 0,n(e),!0},r._currentAcceptInput=function(e){0!==r._input.value.trim().length&&r._input.value!==t?(r._currentAcceptInput=void 0,r._currentCancelInput=void 0,n({newName:r._input.value,wantsPreview:o&&e})):r.cancelInput(!0)};s.add(r._editor.onDidChangeCursorSelection((function(){var t=r._editor.getPosition();t&&h.a.containsPosition(e,t)||r.cancelInput(!0)}))),s.add(r._editor.onDidBlurEditorWidget((function(){return r.cancelInput(!1)}))),r._show()})).finally((function(){s.dispose(),r._hide()}))},e.prototype._show=function(){var e=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout((function(){e._input.focus(),e._input.setSelectionRange(parseInt(e._input.getAttribute("selectionStart")),parseInt(e._input.getAttribute("selectionEnd")))}),100)},e.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},e=v([_(2,f.c),_(3,g.a),_(4,s.c)],e)}(),C=n("twdY"),w=n("OBOq"),S=n("NR8r"),O=n("vATl"),L=n("sM1p"),D=n("x/UI"),x=n("bY76"),N=n("Vxe3"),k=n("JQT/"),E=n("X+cX"),I=n("746U"),M=n("09fa"),T=n("Cg/j"),P=n("ic2d"),R=n("CRAX"),A=n("e0rL"),F=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},W=function(e,t){return function(n,i){t(n,i,e)}},V=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},B=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0},e.prototype.resolveRenameLocation=function(e){return V(this,void 0,void 0,(function(){var t,n,i,o;return B(this,(function(r){switch(r.label){case 0:return(t=this._providers[0])?t.resolveRenameLocation?(i=I.n,[4,t.resolveRenameLocation(this.model,this.position,e)]):[3,2]:[2,void 0];case 1:n=i.apply(void 0,[r.sent()]),r.label=2;case 2:return!n&&(o=this.model.getWordAtPosition(this.position))?[2,{range:new h.a(this.position.lineNumber,o.startColumn,this.position.lineNumber,o.endColumn),text:o.word}]:[2,n]}}))}))},e.prototype.provideRenameEdits=function(e,t,n,i){return V(this,void 0,void 0,(function(){var r,s;return B(this,(function(a){switch(a.label){case 0:return(r=this._providers[t])?[4,r.provideRenameEdits(this.model,this.position,e,i)]:[2,{edits:[],rejectReason:n.join("\n")}];case 1:return(s=a.sent())?s.rejectReason?[2,this.provideRenameEdits(e,t+1,n.concat(s.rejectReason),i)]:[2,s]:[2,this.provideRenameEdits(e,t+1,n.concat(o.a("no result","No result.")),i)]}}))}))},e}();function z(e,t,n){return V(this,void 0,void 0,(function(){return B(this,(function(i){return[2,new H(e,t).provideRenameEdits(n,0,[],k.a.None)]}))}))}var U=function(){function e(e,t,n,i,o,r,s){var a=this;this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=o,this._logService=r,this._configService=s,this._dispoableStore=new c.b,this._cts=new k.b,this._renameInputField=this._dispoableStore.add(new E.b((function(){return a._dispoableStore.add(a._instaService.createInstance(y,a.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))})))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._dispoableStore.dispose(),this._cts.dispose(!0)},e.prototype.run=function(){return V(this,void 0,void 0,(function(){var e,t,n,i,r,s,a,u,l,c,d,p=this;return B(this,(function(f){switch(f.label){case 0:if(this._cts.dispose(!0),!this.editor.hasModel())return[2,void 0];if(e=this.editor.getPosition(),!(t=new H(this.editor.getModel(),e)).hasProvider())return[2,void 0];this._cts=new O.b(this.editor,5),f.label=1;case 1:return f.trys.push([1,3,,4]),i=t.resolveRenameLocation(this._cts.token),this._progressService.showWhile(i,250),[4,i];case 2:return n=f.sent(),[3,4];case 3:return r=f.sent(),S.a.get(this.editor).showMessage(r||o.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e),[2,void 0];case 4:return n?n.rejectReason?(S.a.get(this.editor).showMessage(n.rejectReason,e),[2,void 0]):this._cts.token.isCancellationRequested?[2,void 0]:(s=this.editor.getSelection(),a=0,u=n.text.length,h.a.isEmpty(s)||h.a.spansMultipleLines(s)||!h.a.containsRange(n.range,s)||(a=Math.max(0,s.startColumn-n.range.startColumn),u=Math.min(n.range.endColumn,s.endColumn)-n.range.startColumn),l=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),[4,this._renameInputField.getValue().getInput(n.range,n.text,a,u,l)]):[2,void 0];case 5:return"boolean"==typeof(c=f.sent())?(c&&this.editor.focus(),[2,void 0]):(this.editor.focus(),d=Object(E.j)(t.provideRenameEdits(c.newName,0,[],this._cts.token),this._cts.token).then((function(e){return V(p,void 0,void 0,(function(){var t=this;return B(this,(function(i){return e&&this.editor.hasModel()?e.rejectReason?(this._notificationService.info(e.rejectReason),[2]):(this._bulkEditService.apply(e,{editor:this.editor,showPreview:c.wantsPreview,label:o.a("label","Renaming '{0}'",null==n?void 0:n.text)}).then((function(e){e.ariaSummary&&Object(w.a)(o.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,c.newName,e.ariaSummary))})).catch((function(e){t._notificationService.error(o.a("rename.failedApply","Rename failed to apply edits")),t._logService.error(e)})),[2]):[2]}))}))}),(function(e){p._notificationService.error(o.a("rename.failed","Rename failed to compute edits")),p._logService.error(e)})),this._progressService.showWhile(d,250),[2,d])}}))}))},e.prototype.acceptRenameInput=function(e){this._renameInputField.getValue().acceptInput(e)},e.prototype.cancelRenameInput=function(){this._renameInputField.getValue().cancelInput(!0)},e.ID="editor.contrib.renameController",e=j([W(1,T.a),W(2,L.a),W(3,D.a),W(4,a.a),W(5,M.a),W(6,A.a)],e)}(),K=function(e){function t(){return e.call(this,{id:"editor.action.rename",label:o.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:s.a.and(l.a.writable,l.a.hasRenameProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})||this}return F(t,e),t.prototype.runCommand=function(t,n){var i=this,o=t.get(N.a),s=Array.isArray(n)&&n||[void 0,void 0],a=s[0],u=s[1];return x.a.isUri(a)&&d.a.isIPosition(u)?o.openCodeEditor({resource:a},o.getActiveCodeEditor()).then((function(e){e&&(e.setPosition(u),e.invokeWithinContext((function(t){return i.reportTelemetry(t,e),i.run(t,e)})))}),r.e):e.prototype.runCommand.call(this,t,n)},t.prototype.run=function(e,t){var n=U.get(t);return n?n.run():Promise.resolve()},t}(u.b);Object(u.h)(U.ID,U),Object(u.f)(K);var q=u.c.bindToContribution(U.get);Object(u.g)(new q({id:"acceptRenameInput",precondition:b,handler:function(e){return e.acceptRenameInput(!1)},kbOpts:{weight:199,kbExpr:l.a.focus,primary:3}})),Object(u.g)(new q({id:"acceptRenameInputWithPreview",precondition:s.a.and(b,s.a.has("config.editor.rename.enablePreview")),handler:function(e){return e.acceptRenameInput(!0)},kbOpts:{weight:199,kbExpr:l.a.focus,primary:1027}})),Object(u.g)(new q({id:"cancelRenameInput",precondition:b,handler:function(e){return e.cancelRenameInput()},kbOpts:{weight:199,kbExpr:l.a.focus,primary:9,secondary:[1033]}})),Object(u.e)("_executeDocumentRenameProvider",(function(e,t,n){var i=n.newName;if("string"!=typeof i)throw Object(r.b)("newName");return z(e,t,i)})),P.a.as(R.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:o.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},QDVR: @@ -1159,28 +1159,28 @@ /*! exports used: ReferencesController */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/color.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/labels.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/network.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/resolverService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/referencesModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ @@ -1197,7 +1197,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return Ne}));var i,o,r,s=n("3/fG"),a=n("/cxE"),u=n("pmY6"),l=n("Vxe3"),c=n("Cg/j"),d=n("T8No"),h=n("+7oY"),p=n("A+jI"),f=n("9o5J"),g=(n("KaET"),n("EffR")),m=n("zrhQ"),v=n("MI8n"),_=n("tYmi"),b=n("gslv"),y=n("03kh"),C=n("aokT"),w=n("tX9W"),S=n("t49l"),O=n("xONI"),L=(n("VPJY"),n("N0LK")),D=n("qj0h"),x={badgeBackground:m.a.fromHex("#4D4D4D"),badgeForeground:m.a.fromHex("#FFFFFF")},N=function(){function e(e,t){this.count=0,this.options=t||Object.create(null),Object(D.g)(this.options,x,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(g.q)(e,Object(g.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}return e.prototype.setCount=function(e){this.count=e,this.render()},e.prototype.setTitleFormat=function(e){this.titleFormat=e,this.render()},e.prototype.render=function(){this.element.textContent=Object(L.r)(this.countFormat,this.count),this.element.title=Object(L.r)(this.titleFormat,this.count),this.applyStyles()},e.prototype.style=function(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()},e.prototype.applyStyles=function(){if(this.element){var e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}},e}(),k=n("R8sh"),E=n("t9D7"),I=n("ptcw"),M=n("3rx1"),T=n("bexQ"),P=n("fpMC"),R=n("7lZ/"),A=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),F=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},j=function(e,t){return function(n,i){t(n,i,e)}},W=function(){function e(e){this._resolverService=e}return e.prototype.hasChildren=function(e){return e instanceof f.c||e instanceof f.a&&!e.failure},e.prototype.getChildren=function(e){if(e instanceof f.c)return e.groups;if(e instanceof f.a)return e.resolve(this._resolverService).then((function(e){return e.children}));throw new Error("bad tree")},e=F([j(0,S.a)],e)}(),V=function(){function e(){}return e.prototype.getHeight=function(){return 23},e.prototype.getTemplateId=function(e){return e instanceof f.a?U.id:q.id},e}(),B=function(){function e(e){this._keybindingService=e}return e.prototype.getKeyboardNavigationLabel=function(e){if(e instanceof f.b){var t=e.parent.preview,n=t&&t.preview(e.range);if(n)return n.value}return Object(b.b)(e.uri)},e=F([j(0,T.a)],e)}(),H=function(){function e(){}return e.prototype.getId=function(e){return e instanceof f.b?e.id:e.uri},e}(),z=function(e){function t(t,n,i){var o=e.call(this)||this;o._uriLabel=n;var r=document.createElement("div");return g.f(r,"reference-file"),o.file=o._register(new O.a(r,{supportHighlights:!0})),o.badge=new N(g.q(r,g.a(".count"))),o._register(Object(I.a)(o.badge,i)),t.appendChild(r),o}return A(t,e),t.prototype.set=function(e,t){var n=Object(b.d)(e.uri);this.file.setLabel(Object(M.a)(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});var i=e.children.length;this.badge.setCount(i),e.failure?this.badge.setTitleFormat(Object(s.a)("referencesFailre","Failed to resolve file.")):i>1?this.badge.setTitleFormat(Object(s.a)("referencesCount","{0} references",i)):this.badge.setTitleFormat(Object(s.a)("referenceCount","{0} reference",i))},t=F([j(1,k.a),j(2,E.c)],t)}(u.a),U=function(){function e(t){this._instantiationService=t,this.templateId=e.id}return e.prototype.renderTemplate=function(e){return this._instantiationService.createInstance(z,e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,Object(P.c)(e.filterData))},e.prototype.disposeTemplate=function(e){e.dispose()},e.id="FileReferencesRenderer",e=F([j(0,c.a)],e)}(),K=function(){function e(e){this.label=new R.a(e,!1)}return e.prototype.set=function(e,t){var n=e.parent.preview,i=n&&n.preview(e.range);if(i){var o=i.value,r=i.highlight;t&&!P.a.isDefault(t)?(g.Y(this.label.element,"referenceMatch",!1),this.label.set(o,Object(P.c)(t))):(g.Y(this.label.element,"referenceMatch",!0),this.label.set(o,[r]))}else this.label.set(Object(b.b)(e.uri)+":"+(e.range.startLineNumber+1)+":"+(e.range.startColumn+1))},e}(),q=function(){function e(){this.templateId=e.id}return e.prototype.renderTemplate=function(e){return new K(e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,e.filterData)},e.prototype.disposeTemplate=function(){},e.id="OneReferenceRenderer",e}(),G=function(){function e(){}return e.prototype.getAriaLabel=function(e){return e.ariaMessage},e}(),Y=n("k9mg"),Z=n("MD5Z"),X=n("iNS8"),Q=(n("51B1"),n("746U")),J=n("Sdnv"),$=n("6OMU"),ee=n("cMOf"),te=n("4y0V"),ne=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ie=function(){for(var e=0,t=0,n=arguments.length;t0&&(this.proportions=this.viewItems.map((function(t){return t.size/e.contentSize})))},t.prototype.onSashStart=function(e){for(var t=this,n=e.sash,i=e.start,o=e.alt,r=0,s=this.viewItems;r=this.viewItems.length||(t="number"==typeof t?t:e.size,t=Object(J.a)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))},t.prototype.resizeView=function(e,t){var n=this;if(this.state!==o.Idle)throw new Error("Cant modify splitview");if(this.state=o.Busy,!(e<0||e>=this.viewItems.length)){var i=Object($.u)(this.viewItems.length).filter((function(t){return t!==e})),r=ie(i.filter((function(e){return 1===n.viewItems[e].priority})),[e]),s=i.filter((function(e){return 2===n.viewItems[e].priority})),a=this.viewItems[e];t=Math.round(t),t=Object(J.a)(t,a.minimumSize,Math.min(a.maximumSize,this.size)),a.size=t,this.relayout(r,s),this.state=o.Idle}},t.prototype.distributeViewSizes=function(){for(var e=this,t=[],n=0,i=0,o=this.viewItems;i0&&(t.push(u),n+=u.size)}for(var r=Math.floor(n/t.length),s=0,a=t;s=this.viewItems.length?-1:this.viewItems[e].size},t.prototype.doAddView=function(e,t,n,i){var r=this;if(void 0===n&&(n=this.viewItems.length),this.state!==o.Idle)throw new Error("Cant modify splitview");this.state=o.Busy;var s=g.a(".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(s):this.viewContainer.insertBefore(s,this.viewContainer.children.item(n));var a,l=e.onDidChange((function(e){return r.onViewChange(p,e)})),c=Object(u.h)((function(){return r.viewContainer.removeChild(s)})),d=Object(u.e)(l,c);a="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;var h,p=0===this.orientation?new se(s,e,a,d):new ae(s,e,a,d);if(this.viewItems.splice(n,0,p),this.viewItems.length>1){var f=0===this.orientation?1:0,m=0===this.orientation?{getHorizontalSashTop:function(e){return r.getSashPosition(e)}}:{getVerticalSashLeft:function(e){return r.getSashPosition(e)}},_=new ee.a(this.sashContainer,m,{orientation:f,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),b=0===this.orientation?function(e){return{sash:_,start:e.startY,current:e.currentY,alt:e.altKey}}:function(e){return{sash:_,start:e.startX,current:e.currentX,alt:e.altKey}},y=v.b.map(_.onDidStart,b)(this.onSashStart,this),C=v.b.map(_.onDidChange,b)(this.onSashChange,this),w=v.b.map(_.onDidEnd,(function(){return Object($.k)(r.sashItems,(function(e){return e.sash===_}))}))(this.onSashEnd,this),S=_.onDidReset((function(){var e=Object($.k)(r.sashItems,(function(e){return e.sash===_})),t=Object($.u)(e,-1),n=Object($.u)(e+1,r.viewItems.length),i=r.findFirstSnapIndex(t),o=r.findFirstSnapIndex(n);("number"!=typeof i||r.viewItems[i].visible)&&("number"!=typeof o||r.viewItems[o].visible)&&r._onDidSashReset.fire(e)})),O=Object(u.e)(y,C,w,S,_),L={sash:_,disposable:O};this.sashItems.splice(n-1,0,L)}s.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(h=[t.index]),i||this.relayout([n],h),this.state=o.Idle,i||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()},t.prototype.relayout=function(e,t){var n=this.viewItems.reduce((function(e,t){return e+t.size}),0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},t.prototype.resize=function(e,t,n,i,o,r,s,a,u){var l=this;if(void 0===n&&(n=this.viewItems.map((function(e){return e.size}))),void 0===r&&(r=Number.NEGATIVE_INFINITY),void 0===s&&(s=Number.POSITIVE_INFINITY),e<0||e>=this.viewItems.length)return 0;var c=Object($.u)(e,-1),d=Object($.u)(e+1,this.viewItems.length);if(o)for(var h=0,p=o;h=a.limitDelta)!==k.visible,k.setVisible(E,a.size)}if(!N&&u){var E;k=this.viewItems[u.index];N=(E=t0||e}));e=!1;var n=this.viewItems.map((function(t){return e=t.maximumSize-t.size>0||e})),i=ie(this.viewItems).reverse();e=!1;var o=i.map((function(t){return e=t.size-t.minimumSize>0||e})).reverse();e=!1;for(var r=i.map((function(t){return e=t.maximumSize-t.size>0||e})).reverse(),s=0,a=0;a0||this.startSnappingEnabled)?u.state=1:m&&t[a]&&(s0)return;if(!s.visible&&s.snap)return i}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.viewItems.forEach((function(e){return e.dispose()})),this.viewItems=[],this.sashItems.forEach((function(e){return e.disposable.dispose()})),this.sashItems=[]},t}(u.a),le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ce=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},de=function(e,t){return function(n,i){t(n,i,e)}},he=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},pe=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0?e.children[0]:void 0},t.prototype._revealReference=function(e,t){return he(this,void 0,void 0,(function(){var n,i,o,r,a;return pe(this,(function(l){switch(l.label){case 0:return this._revealedReference===e?[2]:(this._revealedReference=e,e.uri.scheme!==_.b.inMemory?this.setTitle(Object(b.c)(e.uri),this._uriLabel.getUriLabel(Object(b.d)(e.uri))):this.setTitle(s.a("peekView.alternateTitle","References")),n=this._textModelResolverService.createModelReference(e.uri),this._tree.getInput()!==e.parent?[3,1]:(this._tree.reveal(e),[3,3]));case 1:return t&&this._tree.reveal(e.parent),[4,this._tree.expand(e.parent)];case 2:l.sent(),this._tree.reveal(e),l.label=3;case 3:return[4,n];case 4:return i=l.sent(),this._model?(Object(u.f)(this._previewModelReference),(o=i.object)?(r=this._preview.getModel()===o.textEditorModel?0:1,a=C.a.lift(e.range).collapseToStart(),this._previewModelReference=i,this._preview.setModel(o.textEditorModel),this._preview.setSelection(a),this._preview.revealRangeInCenter(a,r)):(this._preview.setModel(this._previewNotAvailableMessage),i.dispose()),[2]):(i.dispose(),[2])}}))}))},t=ce([de(3,E.c),de(4,S.a),de(5,c.a),de(6,X.a),de(7,k.a)],t)}(X.c);Object(E.e)((function(e,t){var n=e.getColor(X.m);n&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: "+n+"; }");var i=e.getColor(X.h);i&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+i+"; }");var o=e.getColor(X.i);o&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+o+"; box-sizing: border-box; }");var r=e.getColor(Z.b);r&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted "+r+"; box-sizing: border-box; }");var s=e.getColor(X.j);s&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+s+"; }");var a=e.getColor(X.l);a&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+a+"; }");var u=e.getColor(X.k);u&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+u+"; }");var l=e.getColor(X.n);l&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+l+"; }");var c=e.getColor(X.o);c&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+c+" !important; }");var d=e.getColor(X.f);d&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: "+d+";}");var h=e.getColor(X.g);h&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: "+h+";}")}));var ve=n("cGHE"),_e=n("sM1p"),be=n("X+cX"),ye=n("nrhi"),Ce=n("/kV6"),we=n("nnTU"),Se=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Oe=function(e,t){return function(n,i){t(n,i,e)}},Le=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},De=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;n--)t[n].lineNumber===t[n+1].lineNumber&&t.splice(n,1);for(var i=[],o=0,r=0,s=t.length,a=1,d=e.getLineCount();a<=d;a++){var h=e.getLineContent(a),p=h.length+1,f=0;if(!(r=i.startLineNumber+1&&t<=i.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t)};var L=b.a.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(g,1),i.startLineNumber+1,l);if(null!==L){O=u.t(e.getLineContent(i.startLineNumber));if((k=y(L,r))!==(E=y(O,r))){var D=k-E;this.getIndentEditsOfMovingBlock(e,t,i,r,a,D)}}}}else t.addEditOperation(new c.a(i.startLineNumber,1,i.startLineNumber,1),v+"\n")}else{var x;if(g=i.startLineNumber-1,m=e.getLineContent(g),t.addEditOperation(new c.a(g,1,g+1,1),null),t.addEditOperation(new c.a(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+m),this.shouldAutoIndent(e,i))if(d.getLineContent=function(t){return t===g?e.getLineContent(i.startLineNumber):e.getLineContent(t)},null!==(x=this.matchEnterRule(e,l,r,i.startLineNumber,i.startLineNumber-2)))0!==x&&this.getIndentEditsOfMovingBlock(e,t,i,r,a,x);else{var N=b.a.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(i.startLineNumber,1),g,l);if(null!==N){var k,E,I=u.t(e.getLineContent(i.startLineNumber));if((k=y(N,r))!==(E=y(I,r))){D=k-E;this.getIndentEditsOfMovingBlock(e,t,i,r,a,D)}}}}}this._selectionId=t.trackSelection(i)}else this._selectionId=t.trackSelection(this._selection)},e.prototype.buildIndentConverter=function(e,t,n){return{shiftIndent:function(i){return v.a.shiftIndent(i,i.length+1,e,t,n)},unshiftIndent:function(i){return v.a.unshiftIndent(i,i.length+1,e,t,n)}}},e.prototype.matchEnterRule=function(e,t,n,i,o,r){for(var s=o;s>=1;){var a=void 0;if(a=s===o&&void 0!==r?r:e.getLineContent(s),u.D(a)>=0)break;s--}if(s<1||i>e.getLineCount())return null;var l=e.getLineMaxColumn(s),d=b.a.getEnterAction(this._autoIndent,e,new c.a(s,l,s,l));if(d){var h=d.indentation;d.indentAction===_.a.None||d.indentAction===_.a.Indent?h=d.indentation+d.appendText:d.indentAction===_.a.IndentOutdent?h=d.indentation:d.indentAction===_.a.Outdent&&(h=t.unshiftIndent(d.indentation)+d.appendText);var p=e.getLineContent(i);if(this.trimLeft(p).indexOf(this.trimLeft(h))>=0){var f=u.t(e.getLineContent(i)),g=u.t(h),m=b.a.getIndentMetadata(e,i);return null!==m&&2&m&&(g=t.unshiftIndent(g)),y(g,n)-y(f,n)}}return null},e.prototype.trimLeft=function(e){return e.replace(/^\s+/,"")},e.prototype.shouldAutoIndent=function(e,t){if(this._autoIndent<4)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;var n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==b.a.getIndentRulesSupport(n)},e.prototype.getIndentEditsOfMovingBlock=function(e,t,n,i,o,r){for(var s=n.startLineNumber;s<=n.endLineNumber;s++){var a=e.getLineContent(s),l=u.t(a),d=C(y(l,i)+r,i,o);d!==l&&(t.addEditOperation(new c.a(s,1,s,l.length+1),d),s===n.endLineNumber&&n.endColumn<=l.length+1&&""===d&&(this._moveEndLineSelectionShrink=!0))}},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber=o)return null;for(var r=[],s=i;s<=o;s++)r.push(e.getLineContent(s));var a=r.slice(0);return a.sort(S.getCollator().compare),!0===n&&(a=a.reverse()),{startLineNumber:i,endLineNumber:o,before:r,after:a}}var L,D=(L=function(e,t){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(e){function t(t,n){var i=e.call(this,n)||this;return i.down=t,i}return D(t,e),t.prototype.run=function(e,t){for(var n=[],i=0,o=t.getSelections()||[];i1&&(d-=1,p=i.getLineMaxColumn(d)),r.push(l.a.replace(new f.a(d,p,h,g),"")),s.push(new f.a(d-o,c.positionColumn,d-o,c.positionColumn)),o+=c.endLineNumber-c.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}}},t.prototype._getLinesToRemove=function(e){var t=e.getSelections().map((function(e){var t=e.endLineNumber;return e.startLineNumber=t[o].startLineNumber?i.endLineNumber=t[o].endLineNumber:(n.push(i),i=t[o]);return n.push(i),n},t}(s.b),W=function(e){function t(){return e.call(this,{id:"editor.action.indentLines",label:i.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2137,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.indent(n.context.config,t.getModel(),t.getSelections())),t.pushUndoStop())},t}(s.b),V=function(e){function t(){return e.call(this,{id:"editor.action.outdentLines",label:i.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2135,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){r.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)},t}(s.b),B=function(e){function t(){return e.call(this,{id:"editor.action.insertLineBefore",label:i.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:3075,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.lineInsertBefore(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),H=function(e){function t(){return e.call(this,{id:"editor.action.insertLineAfter",label:i.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2051,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.lineInsertAfter(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelection(),i=this._getRangesToDelete(t),o=[],r=0,s=i.length-1;r0){var s=t.startLineNumber-o;r=new f.a(s,t.startColumn,s,t.startColumn)}else r=new f.a(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=r:i.push(r)})),n&&i.unshift(n),i},t.prototype._getRangesToDelete=function(e){var t=e.getSelections();if(null===t)return[];var n=t,i=e.getModel();return null===i?[]:(n.sort(c.a.compareRangesUsingStarts),n=n.map((function(e){if(e.isEmpty()){if(1===e.startColumn){var t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:i.getLineContent(t).length+1;return new c.a(t,n,e.startLineNumber,1)}return new c.a(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return new c.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)})))},t}(z),K=function(e){function t(){return e.call(this,{id:"deleteAllRight",label:i.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:g.a.writable,kbOpts:{kbExpr:g.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})||this}return D(t,e),t.prototype._getEndCursorState=function(e,t){for(var n=null,i=[],o=0,r=t.length;oe.endLineNumber+1?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn)}));o.push(r);var s=t.getModel();if(null!==s){for(var a=[],u=[],d=i,h=0,p=0,g=o.length;p=1){var x=!0;""===S&&(x=!1),!x||" "!==S.charAt(S.length-1)&&"\t"!==S.charAt(S.length-1)||(x=!1,S=S.replace(/[\s\uFEFF\xA0]+$/g," "));var N=L.substr(D-1);S+=(x?" ":"")+N,_=x?N.length+1:N.length}else _=0}var k=new c.a(v,1,b,y);if(!k.isEmpty()){var E=void 0;m.isEmpty()?(a.push(l.a.replace(k,S)),E=new f.a(k.startLineNumber-h,S.length-_+1,v-h,S.length-_+1)):m.startLineNumber===m.endLineNumber?(a.push(l.a.replace(k,S)),E=new f.a(m.startLineNumber-h,m.startColumn,m.endLineNumber-h,m.endColumn)):(a.push(l.a.replace(k,S)),E=new f.a(m.startLineNumber-h,m.startColumn,m.startLineNumber-h,S.length-C)),null!==c.a.intersectRanges(k,i)?d=E:u.push(E)}h+=k.endLineNumber-k.startLineNumber}u.unshift(d),t.pushUndoStop(),t.executeEdits(this.id,a,u),t.pushUndoStop()}}}},t}(s.b),G=function(e){function t(){return e.call(this,{id:"editor.action.transpose",label:i.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:g.a.writable})||this}return D(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var i=t.getModel();if(null!==i){for(var o=[],r=0,s=n.length;r=d){if(l.lineNumber===i.getLineCount())continue;var h=new c.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber+1,1),p=i.getValueInRange(h).split("").reverse().join("");o.push(new a.a(new f.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber+1,1),p))}else{h=new c.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber,l.column+1),p=i.getValueInRange(h).split("").reverse().join("");o.push(new a.b(h,p,new f.a(l.lineNumber,l.column+1,l.lineNumber,l.column+1)))}}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}},t}(s.b),Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var i=t.getModel();if(null!==i){for(var o=t.getOption(96),r=[],s=0,u=n.length;s=0?(o=!0,i+=s):o?(o=!1,i+=s.toLocaleUpperCase()):i+=s.toLocaleLowerCase()}return i},t}(Y);Object(s.f)(N),Object(s.f)(k),Object(s.f)(E),Object(s.f)(M),Object(s.f)(T),Object(s.f)(R),Object(s.f)(A),Object(s.f)(F),Object(s.f)(j),Object(s.f)(W),Object(s.f)(V),Object(s.f)(B),Object(s.f)(H),Object(s.f)(U),Object(s.f)(K),Object(s.f)(q),Object(s.f)(G),Object(s.f)(Z),Object(s.f)(X),Object(s.f)(Q)},dgXF: /*!*****************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js + 7 modules ***! @@ -1716,11 +1716,11 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1760,38 +1760,38 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/codiconLabel/codiconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/cancellation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/network.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/inspectTokens/inspectTokens.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/outlineTree.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/smartSelect.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js (<- Module is referenced from these modules with unsupported syntax: include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.api.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ @@ -1800,7 +1800,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1808,7 +1808,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t),n.d(t,"SuggestController",(function(){return tt})),n.d(t,"TriggerSuggestAction",(function(){return nt}));var i,o=n("OBOq"),r=n("6OMU"),s=n("/cxE"),a=n("/kV6"),u=n("pmY6"),l=n("sswD"),c=n("0/Sa"),d=n("aokT"),h=n("wQH0"),p=n("tXSY"),f=n("uACm"),g=n("QDVR"),m=n("A+jI"),v=n("twdY"),_=n("X+cX"),b=n("Cg/j"),y=n("+7oY"),C=n("9fML"),w=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),S=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},O=function(e,t){return function(n,i){t(n,i,e)}},L=function(){function e(){}return e.prototype.select=function(e,t,n){if(0===n.length)return 0;for(var i=n[0].score[0],o=1;ou&&d.type===i[l].completion.kind&&d.insertText===i[l].completion.insertText&&(u=d.touch,a=l),i[l].completion.preselect&&-1===s)return l}return-1!==a?a:-1!==s?s:0},t.prototype.toJSON=function(){var e=[];return this._cache.forEach((function(t,n){e.push([n,t])})),e},t.prototype.fromJSON=function(e){this._cache.clear();for(var t=0,n=e;t0){this._seq=e[0][1].touch+1;for(var t=0,n=e;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},j=function(e,t){return function(n,i){t(n,i,e)}},W=function(){function e(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}return e.prototype.dispose=function(){this.reset()},e.prototype.reset=function(){this._ckOtherSuggestions.reset(),Object(u.f)(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},e.prototype.set=function(t,n){var i=this,o=t.model,r=t.index;0!==o.items.length?e._moveIndex(!0,o,r)!==r?(this._acceptNext=n,this._model=o,this._index=r,this._listener=this._editor.onDidChangeCursorPosition((function(){i._ignore||i.reset()})),this._ckOtherSuggestions.set(!0)):this.reset():this.reset()},e._moveIndex=function(e,t,n){for(var i=n;(i=(i+t.items.length+(e?1:-1))%t.items.length)!==n&&t.items[i].completion.additionalTextEdits;);return i},e.prototype.next=function(){this._move(!0)},e.prototype.prev=function(){this._move(!1)},e.prototype._move=function(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},e.OtherSuggestions=new P.d("hasOtherSuggestions",!1),e=F([j(1,P.c)],e)}(),V=n("MI8n"),B=n("gCVg"),H=n("fpMC"),z=n("N0LK"),U=function(){function e(t,n,i,o,r,s){this._snippetCompareFn=e._compareCompletionItems,this._items=t,this._column=n,this._wordDistance=o,this._options=r,this._refilterKind=1,this._lineContext=i,"top"===s?this._snippetCompareFn=e._compareCompletionItemsSnippetsUp:"bottom"===s&&(this._snippetCompareFn=e._compareCompletionItemsSnippetsDown)}return Object.defineProperty(e.prototype,"lineContext",{get:function(){return this._lineContext},set:function(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta2e3?H.d:H.e,u=0;u=d)l.score=H.a.Default;else if("string"==typeof l.completion.filterText){if(!(g=a(i,o,h,l.completion.filterText,l.filterTextLow,0,!1)))continue;0===Object(z.f)(l.completion.filterText,f)?l.score=g:(l.score=Object(H.b)(i,o,h,f,l.labelLow,0),l.score[0]=g[0])}else{var g;if(!(g=a(i,o,h,f,l.labelLow,0,!1)))continue;l.score=g}}switch(l.idx=u,l.distance=this._wordDistance.distance(l.position,l.completion),s.push(l),this._stats.suggestionCount++,l.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++}}this._filteredItems=s.sort(this._snippetCompareFn),this._refilterKind=0},e._compareCompletionItems=function(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0},e._compareCompletionItemsSnippetsDown=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return 1;if(25===n.completion.kind)return-1}return e._compareCompletionItems(t,n)},e._compareCompletionItemsSnippetsUp=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return-1;if(25===n.completion.kind)return 1}return e._compareCompletionItems(t,n)},e}(),K=n("JQT/"),q=n("Z7SF"),G=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Y=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Z=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0?u[l]:u[Math.max(0,~l-1)],h=s.length,p=0,f=s[0];p0?{triggerKind:2}:{triggerKind:0},this._requestToken=new K.b;var p=this._editor.getOption(86),f=1;switch(p){case"top":f=0;break;case"bottom":f=2}var g=e._createItemKindFilter(this._editor),m=X.create(this._editorWorker,this._editor),v=Object(A.e)(c,this._editor.getPosition(),new A.a(f,g,i),l,this._requestToken.token);Promise.all([v,m]).then((function(e){var n=e[0],i=e[1];if(Object(u.f)(a._requestToken),0!==a._state&&a._editor.hasModel()){var s=a._editor.getModel();if(Object(r.q)(o)){var l=Object(A.d)(f);n=n.concat(o).sort(l)}var c=new Q(s,a._editor.getPosition(),d,t.shy);a._completionModel=new U(n,a._context.column,{leadingLineContent:c.leadingLineContent,characterCountDelta:c.column-a._context.column},i,a._editor.getOption(89),a._editor.getOption(86));for(var h=0,p=n;hthis._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){var t=this._completionModel.incomplete,n=this._completionModel.adopt(t);this.trigger({auto:2===this._state,shy:!1},!0,t,n)}else{var i=this._completionModel.lineContext,o=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(Q.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn0)&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:o})}}else this.cancel()},e}(),$=(n("CClx"),n("nn6Y"),n("k76M"),n("jqj9"),n("EffR")),ee=n("cqdO"),te=n("GJhM"),ne=n("bexQ"),ie=n("XXUj"),oe=n("ptcw"),re=n("t9D7"),se=n("MD5Z"),ae=n("3qCu"),ue=n("WBhO"),le=n("W9cx"),ce=n("xONI"),de=n("tYmi"),he=n("gslv"),pe=n("MqQJ");function fe(e,t,n,i){var o=i===I.ROOT_FOLDER?["rootfolder-icon"]:i===I.FOLDER?["folder-icon"]:["file-icon"];if(n){var r;if(n.scheme===de.b.data)r=he.a.parseMetaData(n).get(he.a.META_DATA_LABEL);else r=ge(Object(he.c)(n).toLowerCase());if(i===I.FOLDER)o.push(r+"-name-folder-icon");else{if(r){o.push(r+"-name-file-icon");for(var s=r.split("."),a=1;a=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},we=function(e,t){return function(n,i){t(n,i,e)}},Se=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},Oe=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]f.length?p:f}else 23===s.kind&&this._themeService.getIconTheme().hasFolderIcons?(o.icon.className="icon hide",o.iconContainer.className="icon hide",d.extraClasses=Object(r.m)([fe(this._modelService,this._modeService,ve.a.from({scheme:"fake",path:a}),I.FOLDER),fe(this._modelService,this._modeService,ve.a.from({scheme:"fake",path:s.detail}),I.FOLDER)])):(o.icon.className="icon hide",o.iconContainer.className="",Object($.g)(o.iconContainer,"suggest-icon codicon codicon-symbol-"+Object(v.F)(s.kind)));s.tags&&s.tags.indexOf(1)>=0&&(d.extraClasses=(d.extraClasses||[]).concat(["deprecated"]),d.matches=[]),o.iconLabel.setLabel(a,void 0,d),"string"==typeof s.label?(o.signatureLabel.textContent="",o.qualifierLabel.textContent="",o.detailsLabel.textContent=(s.detail||"").replace(/\n.*$/m,""),Object($.P)(o.right,"always-show-details")):(o.signatureLabel.textContent=(s.label.signature||"").replace(/\n.*$/m,""),o.qualifierLabel.textContent=(s.label.qualifier||"").replace(/\n.*$/m,""),o.detailsLabel.textContent=(s.label.type||"").replace(/\n.*$/m,""),Object($.f)(o.right,"always-show-details")),Ie(e)?(Object($.f)(o.right,"can-expand-details"),Object($.X)(o.readMore),o.readMore.onmousedown=function(e){e.stopPropagation(),e.preventDefault()},o.readMore.onclick=function(e){e.stopPropagation(),e.preventDefault(),i.widget.toggleDetails()}):(Object($.P)(o.right,"can-expand-details"),Object($.J)(o.readMore),o.readMore.onmousedown=null,o.readMore.onclick=null)},e.prototype.disposeTemplate=function(e){e.disposables.dispose()},e=Ce([we(3,me.a),we(4,ue.a),we(5,re.c)],e)}(),Pe=function(){function e(e,t,n,i,o){var r=this;this.widget=t,this.editor=n,this.markdownRenderer=i,this.kbToggleDetails=o,this.borderWidth=1,this.disposables=new u.b,this.el=Object($.q)(e,Object($.a)(".details")),this.disposables.add(Object(u.h)((function(){return e.removeChild(r.el)}))),this.body=Object($.a)(".body"),this.scrollbar=new te.a(this.body,{}),Object($.q)(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object($.q)(this.body,Object($.a)(".header")),this.close=Object($.q)(this.header,Object($.a)("span.codicon.codicon-close")),this.close.title=M.a("readLess","Read less...{0}",this.kbToggleDetails),this.type=Object($.q)(this.header,Object($.a)("p.type")),this.docs=Object($.q)(this.body,Object($.a)("p.docs")),this.configureFont(),V.b.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.hasChanged(34)})).on(this.configureFont,this,this.disposables),i.onDidRenderCodeBlock((function(){return r.scrollbar.scanDomNode()}),this,this.disposables)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),e.prototype.renderLoading=function(){this.type.textContent=M.a("loading","Loading..."),this.docs.textContent=""},e.prototype.renderItem=function(e,t){var n=this;this.renderDisposeable=Object(u.f)(this.renderDisposeable);var i=e.completion,o=i.documentation,r=i.detail;if(t){var s="";s+="score: "+e.score[0]+(e.word?", compared '"+(e.completion.filterText&&e.completion.filterText+" (filterText)"||e.completion.label)+"' with '"+e.word+"'":" (no prefix)")+"\n",s+="distance: "+e.distance+", see localityBonus-setting\n",s+="index: "+e.idx+", based on "+(e.completion.sortText&&'sortText: "'+e.completion.sortText+'"'||"label")+"\n",o=(new _e.a).appendCodeblock("empty",s),r="Provider: "+e.provider._debugDisplayName}if(!t&&!Ie(e))return this.type.textContent="",this.docs.textContent="",void Object($.f)(this.el,"no-docs");if(Object($.P)(this.el,"no-docs"),"string"==typeof o)Object($.P)(this.docs,"markdown-docs"),this.docs.textContent=o;else{Object($.f)(this.docs,"markdown-docs"),this.docs.innerHTML="";var a=this.markdownRenderer.render(o);this.renderDisposeable=a,this.docs.appendChild(a.element)}r?(this.type.innerText=r,Object($.X)(this.type)):(this.type.innerText="",Object($.J)(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=function(e){e.preventDefault(),e.stopPropagation()},this.close.onclick=function(e){e.preventDefault(),e.stopPropagation(),n.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()},e.prototype.scrollDown=function(e){void 0===e&&(e=8),this.body.scrollTop+=e},e.prototype.scrollUp=function(e){void 0===e&&(e=8),this.body.scrollTop-=e},e.prototype.scrollTop=function(){this.body.scrollTop=0},e.prototype.scrollBottom=function(){this.body.scrollTop=this.body.scrollHeight},e.prototype.pageDown=function(){this.scrollDown(80)},e.prototype.pageUp=function(){this.scrollUp(80)},e.prototype.setBorderWidth=function(e){this.borderWidth=e},e.prototype.configureFont=function(){var e=this.editor.getOptions(),t=e.get(34),n=t.fontFamily,i=e.get(90)||t.fontSize,o=e.get(91)||t.lineHeight,r=t.fontWeight,s=i+"px",a=o+"px";this.el.style.fontSize=s,this.el.style.fontWeight=r,this.el.style.fontFeatureSettings=t.fontFeatureSettings,this.type.style.fontFamily=n,this.close.style.height=a,this.close.style.width=a},e.prototype.dispose=function(){this.disposables.dispose(),this.renderDisposeable=Object(u.f)(this.renderDisposeable)},e}(),Re=function(){function e(e,t,n,i,o,r,s,a,l){var c,d,h=this;this.editor=e,this.telemetryService=t,this.keybindingService=n,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=null,this.isAuto=!1,this.loadingTimeout=u.a.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new _.e,this.toDispose=new u.b,this.onDidSelectEmitter=new V.a,this.onDidFocusEmitter=new V.a,this.onDidHideEmitter=new V.a,this.onDidShowEmitter=new V.a,this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new V.a,this.onDetailsKeyDown=this._onDetailsKeydown.event;var p=this.toDispose.add(new ae.a(e,s,a)),f=null!==(d=null===(c=n.lookupKeybinding("toggleSuggestionDetails"))||void 0===c?void 0:c.getLabel())&&void 0!==d?d:"";this.msgDetailsLess=M.a("detail.less","{0} for less...",f),this.msgDetailMore=M.a("detail.more","{0} for more...",f),this.isAuto=!1,this.focusedItem=null,this.storageService=r,this.element=Object($.a)(".editor-widget.suggest-widget"),this.toDispose.add(Object($.j)(this.element,"click",(function(e){e.target===h.element&&h.hideWidget()}))),this.messageElement=Object($.q)(this.element,Object($.a)(".message")),this.listElement=Object($.q)(this.element,Object($.a)(".tree"));var g=function(){return Object($.Y)(h.element,"with-status-bar",!h.editor.getOption(89).hideStatusBar)};g(),this.statusBarElement=Object($.q)(this.element,Object($.a)(".suggest-status-bar")),this.statusBarLeftSpan=Object($.q)(this.statusBarElement,Object($.a)("span")),this.statusBarRightSpan=Object($.q)(this.statusBarElement,Object($.a)("span")),this.setStatusBarLeftText(""),this.setStatusBarRightText(""),this.details=l.createInstance(Pe,this.element,this,this.editor,p,f);var m=function(){return Object($.Y)(h.element,"no-icons",!h.editor.getOption(89).showIcons)};m();var v=l.createInstance(Te,this,this.editor,f);this.list=new ee.c("SuggestWidget",this.listElement,this,[v],{useShadows:!1,openController:{shouldOpen:function(){return!1}},mouseSupport:!1,accessibilityProvider:{getAriaLabel:function(e){var t="string"==typeof e.completion.label?e.completion.label:e.completion.label.name;if(e.isResolved&&h.expandDocsSettingFromStorage()){var n=e.completion,i=n.documentation,o=n.detail,r=z.r("{0}{1}",o||"",i?"string"==typeof i?i:i.value:"");return M.a("ariaCurrenttSuggestionReadDetails","Item {0}, docs: {1}",t,r)}return t}}}),this.toDispose.add(Object(oe.b)(this.list,o,{listInactiveFocusBackground:Ne,listInactiveFocusOutline:se.b})),this.toDispose.add(o.onThemeChange((function(e){return h.onThemeChange(e)}))),this.toDispose.add(e.onDidLayoutChange((function(){return h.onEditorLayoutChange()}))),this.toDispose.add(this.list.onMouseDown((function(e){return h.onListMouseDownOrTap(e)}))),this.toDispose.add(this.list.onTap((function(e){return h.onListMouseDownOrTap(e)}))),this.toDispose.add(this.list.onSelectionChange((function(e){return h.onListSelection(e)}))),this.toDispose.add(this.list.onFocusChange((function(e){return h.onListFocus(e)}))),this.toDispose.add(this.editor.onDidChangeCursorSelection((function(){return h.onCursorSelectionChanged()}))),this.toDispose.add(this.editor.onDidChangeConfiguration((function(e){e.hasChanged(89)&&(g(),m())}))),this.suggestWidgetVisible=A.b.Visible.bindTo(i),this.suggestWidgetMultipleSuggestions=A.b.MultipleSuggestions.bindTo(i),this.editor.addContentWidget(this),this.setState(0),this.onThemeChange(o.getTheme()),this.toDispose.add(Object($.o)(this.details.element,"keydown",(function(e){h._onDetailsKeydown.fire(e)}))),this.toDispose.add(this.editor.onMouseDown((function(e){return h.onEditorMouseDown(e)})))}return e.prototype.onEditorMouseDown=function(e){this.details.element.contains(e.target.element)?this.details.element.focus():this.element.contains(e.target.element)&&this.editor.focus()},e.prototype.onCursorSelectionChanged=function(){0!==this.state&&this.editor.layoutContentWidget(this)},e.prototype.onEditorLayoutChange=function(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()},e.prototype.onListMouseDownOrTap=function(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))},e.prototype.onListSelection=function(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])},e.prototype.select=function(e,t){var n=this.completionModel;n&&(this.onDidSelectEmitter.fire({item:e,index:t,model:n}),this.editor.focus())},e.prototype.onThemeChange=function(e){var t=e.getColor(Le);t&&(this.listElement.style.backgroundColor=t.toString(),this.statusBarElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());var n=e.getColor(De);n&&(this.listElement.style.borderColor=n.toString(),this.statusBarElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());var i=e.getColor(se.V);i&&(this.detailsFocusBorderColor=i.toString()),this.details.setBorderWidth("hc"===e.type?2:1)},e.prototype.onListFocus=function(e){var t,n,i=this;if(!this.ignoreFocusEvents){if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(this.completionModel){var o=e.elements[0],r=e.indexes[0];if(this.firstFocusInCurrentList=!this.focusedItem,o!==this.focusedItem){var a="insert"===this.editor.getOption(89).insertMode,u=null===(t=this.keybindingService.lookupKeybinding("acceptSelectedSuggestion"))||void 0===t?void 0:t.getLabel(),l=null===(n=this.keybindingService.lookupKeybinding("acceptAlternativeSelectedSuggestion"))||void 0===n?void 0:n.getLabel();be.a.equals(o.editInsertEnd,o.editReplaceEnd)?this.setStatusBarLeftText(M.a("accept","{0} to accept",u)):a?this.setStatusBarLeftText(M.a("insert","{0} to insert, {1} to replace",u,l)):this.setStatusBarLeftText(M.a("replace","{0} to replace, {1} to insert",u,l)),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=o,this.list.reveal(r),this.currentSuggestionDetails=Object(_.f)((function(e){return Se(i,void 0,void 0,(function(){var t,n,i=this;return Oe(this,(function(r){switch(r.label){case 0:return t=Object(_.g)((function(){return i.showDetails(!0)}),250),e.onCancellationRequested((function(){return t.dispose()})),[4,o.resolve(e)];case 1:return n=r.sent(),t.dispose(),[2,n]}}))}))})),this.currentSuggestionDetails.then((function(){r>=i.list.length||o!==i.list.element(r)||(i.ignoreFocusEvents=!0,i.list.splice(r,1,[o]),i.list.setFocus([r]),i.ignoreFocusEvents=!1,i.expandDocsSettingFromStorage()?i.showDetails(!1):Object($.P)(i.element,"docs-side"),Ie(i.focusedItem)?i.expandDocsSettingFromStorage()?i.setStatusBarRightText(i.msgDetailsLess):i.setStatusBarRightText(i.msgDetailMore):i.statusBarRightSpan.innerText="",i.editor.setAriaOptions({activeDescendant:Me(r)}))})).catch(s.e)}this.onDidFocusEmitter.fire({item:o,index:r,model:this.completionModel})}}},e.prototype.setState=function(t){if(this.element){var n=this.state!==t;switch(this.state=t,Object($.Y)(this.element,"frozen",4===t),t){case 0:Object($.J)(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,n&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=e.LOADING_MESSAGE,Object($.J)(this.listElement,this.details.element,this.statusBarElement),Object($.X)(this.messageElement),Object($.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,Object($.J)(this.listElement,this.details.element,this.statusBarElement),Object($.X)(this.messageElement),Object($.P)(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 3:Object($.J)(this.messageElement),Object($.X)(this.listElement,this.statusBarElement),this.show();break;case 4:Object($.J)(this.messageElement),Object($.X)(this.listElement),this.show();break;case 5:Object($.J)(this.messageElement),Object($.X)(this.details.element,this.listElement,this.statusBarElement),this.show()}}},e.prototype.showTriggered=function(e,t){var n=this;0===this.state&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=Object(_.g)((function(){return n.setState(1)}),t)))},e.prototype.showSuggestions=function(e,t,n,i){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),n&&2!==this.state&&0!==this.state)this.setState(4);else{var o=this.completionModel.items.length,r=0===o;if(this.suggestWidgetMultipleSuggestions.set(o>1),r)i?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){var s=this.completionModel.stats;s.wasAutomaticallyTriggered=!!i,this.telemetryService.publicLog("suggestWidget",ye({},s))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}},e.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},e.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},e.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},e.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},e.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},e.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},e.prototype.getFocusedItem=function(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}},e.prototype.toggleDetailsFocus=function(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")},e.prototype.toggleDetails=function(){if(Ie(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),Object($.J)(this.details.element),Object($.P)(this.element,"docs-side"),Object($.P)(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.setStatusBarRightText(this.msgDetailMore),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.updateExpandDocsSetting(!0),this.showDetails(!1),this.setStatusBarRightText(this.msgDetailsLess),this.telemetryService.publicLog2("suggestWidget:expandDetails")}},e.prototype.showDetails=function(e){e||this.expandSideOrBelow(),Object($.X)(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",e?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},e.prototype.toggleExplainMode=function(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))},e.prototype.show=function(){var e=this,t=this.updateListHeight();t!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=t),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet((function(){Object($.f)(e.element,"visible"),e.onDidShowEmitter.fire(e)}),100)},e.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),Object($.P)(this.element,"visible")},e.prototype.hideWidget=function(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)},e.prototype.getPosition=function(){if(0===this.state)return null;var e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.isFrozen=function(){return 4===this.state},e.prototype.updateListHeight=function(){var e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{var t=this.list.contentHeight/this.unfocusedHeight,n=this.editor.getOption(89).maxVisibleSuggestions;e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.statusBarElement.style.top=e+"px",this.list.layout(e),e},e.prototype.adjustDocsPosition=function(){if(this.editor.hasModel()){var e=this.editor.getOption(49),t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object($.C)(this.editor.getDomNode()),i=n.left+t.left,o=n.top+t.top+t.height,r=Object($.C)(this.element),s=r.left,a=r.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetYa&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}},e.prototype.expandSideOrBelow=function(){if(!Ie(this.focusedItem)&&this.firstFocusInCurrentList)return Object($.P)(this.element,"docs-side"),void Object($.P)(this.element,"docs-below");var e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},je=function(e,t){return function(n,i){t(n,i,e)}},We=function(e){function t(n,i){var o=e.call(this)||this;return o._editor=n,o._enabled=!1,o._ckAtEnd=t.AtEnd.bindTo(i),o._register(o._editor.onDidChangeConfiguration((function(e){return e.hasChanged(94)&&o._update()}))),o._update(),o}return Ae(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),Object(u.f)(this._selectionListener),this._ckAtEnd.reset()},t.prototype._update=function(){var e=this,t="on"===this._editor.getOption(94);if(this._enabled!==t)if(this._enabled=t,this._enabled){var n=function(){if(e._editor.hasModel()){var t=e._editor.getModel(),n=e._editor.getSelection(),i=t.getWordAtPosition(n.getStartPosition());i?e._ckAtEnd.set(i.endColumn===n.getStartPosition().column):e._ckAtEnd.set(!1)}else e._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(n),n()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},t.AtEnd=new P.d("atEndOfWord",!1),t=Fe([je(1,P.c)],t)}(u.a),Ve=n("pAvP"),Be=n("746U"),He=n("MXAL"),ze=function(){function e(e,t,n){var i=this;this._disposables=new u.b,this._disposables.add(t.onDidShow((function(){return i._onItem(t.getFocusedItem())}))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType((function(o){if(i._active&&!t.isFrozen()){var r=o.charCodeAt(o.length-1);i._active.acceptCharacters.has(r)&&e.getOption(0)&&n(i._active.item)}})))}return e.prototype._onItem=function(e){if(e&&Object(r.q)(e.item.completion.commitCharacters)){if(!this._active||this._active.item.item!==e.item){for(var t=new He.b,n=0,i=e.item.completion.commitCharacters;n0&&t.add(o.charCodeAt(0))}this._active={acceptCharacters:t,item:e}}}else this.reset()},e.prototype.reset=function(){this._active=void 0},e.prototype.dispose=function(){this._disposables.dispose()},e}(),Ue=n("MNsG"),Ke=n("4y0V"),qe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ge=function(){function e(e){var t=this;this._controller=e,this._disposables=new u.b,this._decorations=[],this._disposables.add(e.model.onDidSuggest((function(e){if(!e.shy){var n=t._controller.widget.getValue(),i=n.getFocusedItem();i&&t._highlight(i.item),t._widgetListener||(t._widgetListener=n.onDidFocus((function(e){return t._highlight(e.item)})))}}))),this._disposables.add(e.model.onDidCancel((function(){t._reset()})))}return e.prototype.dispose=function(){this._reset(),this._disposables.dispose(),Object(u.f)(this._widgetListener),Object(u.f)(this._shiftKeyListener)},e.prototype._reset=function(){this._decorations=this._controller.editor.deltaDecorations(this._decorations,[]),this._shiftKeyListener&&(this._shiftKeyListener.dispose(),this._shiftKeyListener=void 0)},e.prototype._highlight=function(e){var t,n=this;this._currentItem=e;var i=this._controller.editor.getOption(89),o=[];if(i.insertHighlight){this._shiftKeyListener||(this._shiftKeyListener=Ye.event((function(){return n._highlight(n._currentItem)})));var r=this._controller.getOverwriteInfo(e,Ye.isPressed),s=this._controller.editor.getPosition();if("insert"===i.insertMode&&r.overwriteAfter>0)o=[{range:new d.a(s.lineNumber,s.column,s.lineNumber,s.column+r.overwriteAfter),options:{inlineClassName:"suggest-insert-unexpected"}}];else if("replace"===i.insertMode&&0===r.overwriteAfter){var a=null===(t=this._controller.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(s);a&&a.endColumn>s.column&&(o=[{range:new d.a(s.lineNumber,s.column,s.lineNumber,a.endColumn),options:{inlineClassName:"suggest-insert-unexpected"}}])}}this._decorations=this._controller.editor.deltaDecorations(this._decorations,o)},e}(),Ye=new(function(e){function t(){var t=e.call(this)||this;return t._subscriptions=new u.b,t._isPressed=!1,t._subscriptions.add(Object(Ke.a)(document.body,"keydown")((function(e){return t.isPressed=e.shiftKey}))),t._subscriptions.add(Object(Ke.a)(document.body,"keyup")((function(){return t.isPressed=!1}))),t._subscriptions.add(Object(Ke.a)(document.body,"mouseleave")((function(){return t.isPressed=!1}))),t._subscriptions.add(Object(Ke.a)(document.body,"blur")((function(){return t.isPressed=!1}))),t}return qe(t,e),Object.defineProperty(t.prototype,"isPressed",{get:function(){return this._isPressed},set:function(e){this._isPressed!==e&&(this._isPressed=e,this.fire(e))},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._subscriptions.dispose(),e.prototype.dispose.call(this)},t}(V.a)),Ze=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xe=function(){return(Xe=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Je=function(e,t){return function(n,i){t(n,i,e)}},$e=function(){for(var e=0,t=0,n=arguments.length;t=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},b=function(e,t){return function(n,i){t(n,i,e)}},y=function(){function e(e,t,n,i,o,r){var s=this;this._contextMenuService=t,this._contextViewService=n,this._contextKeyService=i,this._keybindingService=o,this._menuService=r,this._toDispose=new a.b,this._contextMenuIsBeingShownCount=0,this._editor=e,this._toDispose.add(this._editor.onContextMenu((function(e){return s._onContextMenu(e)}))),this._toDispose.add(this._editor.onMouseWheel((function(e){s._contextMenuIsBeingShownCount>0&&s._contextViewService.hideContextView()}))),this._toDispose.add(this._editor.onKeyDown((function(e){58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),s.showContextMenu())})))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype._onContextMenu=function(e){if(this._editor.hasModel()){if(!this._editor.getOption(14))return this._editor.focus(),void(e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position));if(12!==e.target.type&&(e.event.preventDefault(),6===e.target.type||7===e.target.type||1===e.target.type)){if(this._editor.focus(),e.target.position){for(var t=!1,n=0,i=this._editor.getSelections();n0&&this._doShowContextMenu(t,e)}else this._editor.focus()},e.prototype._getMenuActions=function(e,t){var n=[],i=this._menuService.createMenu(t,this._contextKeyService),o=i.getActions({arg:e.uri});i.dispose();for(var r=0,a=o;r0&&(n.push(new m(h.label,p)),u++)}else n.push(h),u++}u&&n.push(new s.d)}return n.length&&n.pop(),n},e.prototype._doShowContextMenu=function(e,t){var n=this;if(void 0===t&&(t=null),this._editor.hasModel()){var i=this._editor.getOption(44);if(this._editor.updateOptions({hover:{enabled:!1}}),!t){this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render();var o=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),a=r.C(this._editor.getDomNode()),u=a.left+o.left,l=a.top+o.top+o.height;t={x:u,y:l}}this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({getAnchor:function(){return t},getActions:function(){return e},getActionViewItem:function(e){var t=n._keybindingFor(e);if(t)return new s.b(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});var i=e;return"function"==typeof i.getActionViewItem?i.getActionViewItem():new s.b(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:function(e){return n._keybindingFor(e)},onHide:function(e){n._contextMenuIsBeingShownCount--,n._editor.focus(),n._editor.updateOptions({hover:i})}})}},e.prototype._keybindingFor=function(e){return this._keybindingService.lookupKeybinding(e.id)},e.prototype.dispose=function(){this._contextMenuIsBeingShownCount>0&&this._contextViewService.hideContextView(),this._toDispose.dispose()},e.ID="editor.contrib.contextmenu",e=_([b(1,h.a),b(2,h.b),b(3,d.c),b(4,p.a),b(5,c.a)],e)}(),C=function(e){function t(){return e.call(this,{id:"editor.action.showContextMenu",label:o.a("action.showContextMenu.label","Show Editor Context Menu"),alias:"Show Editor Context Menu",precondition:void 0,kbOpts:{kbExpr:l.a.textInputFocus,primary:1092,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){y.get(t).showContextMenu()},t}(u.b);Object(u.h)(y.ID,y),Object(u.f)(C)},feEw: /*!****************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView.js + 2 modules ***! @@ -1847,18 +1847,18 @@ /*! exports provided: ElementsDragAndDropData, ExternalElementsDragAndDropData, DesktopDragAndDropData, ListView */ /*! exports used: ElementsDragAndDropData, ListView */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/browser.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/touch.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/decorators.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return x}));var i=n("qj0h"),o=n("pmY6"),r=n("pg8w"),s=n("EffR"),a=n("MI8n"),u=n("4y0V"),l=n("GJhM"),c=n("nuFA");function d(e,t){for(var n=[],i=0,o=t;i=r.range.end)){if(e.end=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},w=function(){for(var e=0,t=0,n=arguments.length;t=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,v),this.items=v,d=[]):(this.rangeMap.splice(e,t,v),d=(i=this.items).splice.apply(i,w([e,t],v)));var _=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),y=h(g,_),C=c.a.intersect(b,y);for(l=C.start;l=-1&&en&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u=r.range.end)){if(e.end=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},w=function(){for(var e=0,t=0,n=arguments.length;t=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,v),this.items=v,d=[]):(this.rangeMap.splice(e,t,v),d=(i=this.items).splice.apply(i,w([e,t],v)));var _=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),y=h(g,_),C=c.a.intersect(b,y);for(l=C.start;l=-1&&en&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u0&&0===e.minimapLeft?e.minimapWidth:0},e.prototype._onViewZoneTop=function(e){this.domNode.style.top=e+"px"},e.prototype._onViewZoneHeight=function(e){if(this.domNode.style.height=e+"px",this.container){var t=e-this._decoratingElementsHeight();this.container.style.height=t+"px";var n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()},Object.defineProperty(e.prototype,"position",{get:function(){var e=this._positionMarkerId[0];if(e){var t=this.editor.getModel();if(t){var n=t.getDecorationRange(e);if(n)return n.getStartPosition()}}},enumerable:!0,configurable:!0}),e.prototype.show=function(e,t){var n=_.a.isIRange(e)?_.a.lift(e):_.a.fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:b.a.EMPTY}])},e.prototype.hide=function(){var e=this;this._viewZone&&(this.editor.changeViewZones((function(t){e._viewZone&&t.removeZone(e._viewZone.id)})),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()},e.prototype._decoratingElementsHeight=function(){var e=this.editor.getOption(49),t=0;this.options.showArrow&&(t+=2*Math.round(e/3));this.options.showFrame&&(t+=2*Math.round(e/9));return t},e.prototype._showImpl=function(e,t){var n=this,i=e.getStartPosition(),o=this.editor.getLayoutInfo(),r=this._getWidth(o);this.domNode.style.width=r+"px",this.domNode.style.left=this._getLeft(o)+"px";var s=document.createElement("div");s.style.overflow="hidden";var a=this.editor.getOption(49),u=this.editor.getLayoutInfo().height/a*.8;t>=u&&(t=u);var l=0,c=0;if(this._arrow&&this.options.showArrow&&(l=Math.round(a/3),this._arrow.height=l,this._arrow.show(i)),this.options.showFrame&&(c=Math.round(a/9)),this.editor.changeViewZones((function(e){n._viewZone&&e.removeZone(n._viewZone.id),n._overlayWidget&&(n.editor.removeOverlayWidget(n._overlayWidget),n._overlayWidget=null),n.domNode.style.top="-1000px",n._viewZone=new w(s,i.lineNumber,i.column,t,(function(e){return n._onViewZoneTop(e)}),(function(e){return n._onViewZoneHeight(e)})),n._viewZone.id=e.addZone(n._viewZone),n._overlayWidget=new S("vs.editor.contrib.zoneWidget"+n._viewZone.id,n.domNode),n.editor.addOverlayWidget(n._overlayWidget)})),this.container&&this.options.showFrame){var d=this.options.frameWidth?this.options.frameWidth:c;this.container.style.borderTopWidth=d+"px",this.container.style.borderBottomWidth=d+"px"}var h=t*a-this._decoratingElementsHeight();this.container&&(this.container.style.top=l+"px",this.container.style.height=h+"px",this.container.style.overflow="hidden"),this._doLayout(h,r),this.options.keepEditorSelection||this.editor.setSelection(e);var p=this.editor.getModel();if(p){var f=e.endLineNumber+1;f<=p.getLineCount()?this.revealLine(f,!1):this.revealLine(p.getLineCount(),!0)}},e.prototype.revealLine=function(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)},e.prototype.setCssClass=function(e,t){this.container&&(t&&this.container.classList.remove(t),s.f(this.container,e))},e.prototype._onWidth=function(e){},e.prototype._doLayout=function(e,t){},e.prototype._relayout=function(e){var t=this;this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones((function(n){t._viewZone&&(t._viewZone.heightInLines=e,n.layoutZone(t._viewZone.id))}))},e.prototype._initSash=function(){var e,t=this;this._resizeSash||(this._resizeSash=this._disposables.add(new g.a(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart((function(n){t._viewZone&&(e={startY:n.startY,heightInLines:t._viewZone.heightInLines})}))),this._disposables.add(this._resizeSash.onDidEnd((function(){e=void 0}))),this._disposables.add(this._resizeSash.onDidChange((function(n){if(e){var i=(n.currentY-e.startY)/t.editor.getOption(49),o=i<0?Math.ceil(i):Math.floor(i),r=e.heightInLines+o;r>5&&r<35&&t._relayout(r)}}))))},e.prototype.getHorizontalSashLeft=function(){return 0},e.prototype.getHorizontalSashTop=function(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2},e.prototype.getHorizontalSashWidth=function(){var e=this.editor.getLayoutInfo();return e.width-e.minimapWidth},e}(),D=n("3/fG"),x=n("T8No"),N=n("Cg/j"),k=n("9fML"),E=n("sswD"),I=n("MD5Z"),M=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),T=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},P=function(e,t){return function(n,i){t(n,i,e)}},R=Object(N.c)("IPeekViewService");Object(k.b)(R,function(){function e(){this._widgets=new Map}return e.prototype.addExclusiveWidget=function(e,t){var n=this,i=this._widgets.get(e);i&&(i.listener.dispose(),i.widget.dispose());this._widgets.set(e,{widget:t,listener:t.onDidClose((function(){var i=n._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),n._widgets.delete(e))}))})},e}()),(r=o||(o={})).inPeekEditor=new x.d("inReferenceSearchEditor",!0),r.notInPeekEditor=r.inPeekEditor.toNegated();var A=function(){function e(e,t){e instanceof f.a&&o.inPeekEditor.bindTo(t)}return e.prototype.dispose=function(){},e.ID="editor.contrib.referenceController",e=T([P(1,x.c)],e)}();function F(e){var t=e.get(p.a).getFocusedCodeEditor();return t instanceof f.a?t.getParentEditor():t}Object(E.h)(A.ID,A);var j={headerBackgroundColor:l.a.white,primaryHeadingColor:l.a.fromHex("#333333"),secondaryHeadingColor:l.a.fromHex("#6c6c6cb3")},W=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this,t,n)||this;return i._onDidClose=new c.a,i.onDidClose=i._onDidClose.event,d.g(i.options,j,!1),i}return M(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._onDidClose.fire(this)},t.prototype.style=function(t){var n=this.options;t.headerBackgroundColor&&(n.headerBackgroundColor=t.headerBackgroundColor),t.primaryHeadingColor&&(n.primaryHeadingColor=t.primaryHeadingColor),t.secondaryHeadingColor&&(n.secondaryHeadingColor=t.secondaryHeadingColor),e.prototype.style.call(this,t)},t.prototype._applyStyles=function(){e.prototype._applyStyles.call(this);var t=this.options;this._headElement&&t.headerBackgroundColor&&(this._headElement.style.backgroundColor=t.headerBackgroundColor.toString()),this._primaryHeading&&t.primaryHeadingColor&&(this._primaryHeading.style.color=t.primaryHeadingColor.toString()),this._secondaryHeading&&t.secondaryHeadingColor&&(this._secondaryHeading.style.color=t.secondaryHeadingColor.toString()),this._bodyElement&&t.frameColor&&(this._bodyElement.style.borderColor=t.frameColor.toString())},t.prototype._fillContainer=function(e){this.setCssClass("peekview-widget"),this._headElement=s.a(".head"),this._bodyElement=s.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)},t.prototype._fillHead=function(e){var t=this,n=s.a(".peekview-title");s.q(this._headElement,n),s.o(n,"click",(function(e){return t._onTitleClick(e)})),this._fillTitleIcon(n),this._primaryHeading=s.a("span.filename"),this._secondaryHeading=s.a("span.dirname"),this._metaHeading=s.a("span.meta"),s.q(n,this._primaryHeading,this._secondaryHeading,this._metaHeading);var i=s.a(".peekview-actions");s.q(this._headElement,i);var o=this._getActionBarOptions();this._actionbarWidget=new a.a(i,o),this._disposables.add(this._actionbarWidget),this._actionbarWidget.push(new u.a("peekview.close",D.a("label.close","Close"),"codicon-close",!0,(function(){return t.dispose(),Promise.resolve()})),{label:!1,icon:!0})},t.prototype._fillTitleIcon=function(e){},t.prototype._getActionBarOptions=function(){return{}},t.prototype._onTitleClick=function(e){},t.prototype.setTitle=function(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerHTML=h.o(e),this._primaryHeading.setAttribute("aria-label",e),t?this._secondaryHeading.innerHTML=h.o(t):s.t(this._secondaryHeading))},t.prototype.setMetaTitle=function(e){this._metaHeading&&(e?(this._metaHeading.innerHTML=h.o(e),s.X(this._metaHeading)):s.J(this._metaHeading))},t.prototype._doLayout=function(e,t){if(!this._isShowing&&e<0)this.dispose();else{var n=Math.ceil(1.2*this.editor.getOption(49)),i=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(i,t)}},t.prototype._doLayoutHead=function(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)},t.prototype._doLayoutBody=function(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")},t}(L),V=Object(I.Tb)("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},D.a("peekViewTitleBackground","Background color of the peek view title area.")),B=Object(I.Tb)("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},D.a("peekViewTitleForeground","Color of the peek view title.")),H=Object(I.Tb)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},D.a("peekViewTitleInfoForeground","Color of the peek view title info.")),z=Object(I.Tb)("peekView.border",{dark:"#007acc",light:"#007acc",hc:I.e},D.a("peekViewBorder","Color of the peek view borders and arrow.")),U=Object(I.Tb)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:l.a.black},D.a("peekViewResultsBackground","Background color of the peek view result list.")),K=Object(I.Tb)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:l.a.white},D.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),q=Object(I.Tb)("peekViewResult.fileForeground",{dark:l.a.white,light:"#1E1E1E",hc:l.a.white},D.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),G=Object(I.Tb)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},D.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),Y=Object(I.Tb)("peekViewResult.selectionForeground",{dark:l.a.white,light:"#6C6C6C",hc:l.a.white},D.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Z=Object(I.Tb)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:l.a.black},D.a("peekViewEditorBackground","Background color of the peek view editor.")),X=Object(I.Tb)("peekViewEditorGutter.background",{dark:Z,light:Z,hc:Z},D.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),Q=Object(I.Tb)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},D.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),J=Object(I.Tb)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},D.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),$=Object(I.Tb)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:I.b},D.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},ic2d: /*!********************************************************************************!*\ @@ -2027,7 +2027,7 @@ \********************************************************************************************/ /*! exports provided: IListService, ListService, WorkbenchListSupportsMultiSelectContextKey, WorkbenchListFocusContextKey, WorkbenchListHasSelectionOrFocus, WorkbenchListDoubleSelection, WorkbenchListMultiSelection, WorkbenchListSupportsKeyboardNavigation, WorkbenchListAutomaticKeyboardNavigationKey, WorkbenchListAutomaticKeyboardNavigation, didBindWorkbenchListAutomaticKeyboardNavigation, multiSelectModifierSettingKey, openModeSettingKey, horizontalScrollingKey, keyboardNavigationSettingKey, automaticKeyboardNavigationSettingKey, WorkbenchObjectTree, WorkbenchDataTree, WorkbenchAsyncDataTree, WorkbenchCompressibleAsyncDataTree */ /*! exports used: IListService, ListService, WorkbenchAsyncDataTree, WorkbenchListFocusContextKey */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -2039,11 +2039,11 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/decorators.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/iterator.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ @@ -2053,7 +2053,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return Ye})),n.d(t,"b",(function(){return Ze})),n.d(t,"d",(function(){return Je})),n.d(t,"c",(function(){return dt}));var i,o=n("EffR"),r=n("cqdO"),s=n("pmY6"),a=n("3/fG"),u=n("+7oY"),l=n("CRAX"),c=n("T8No"),d=n("Cg/j"),h=n("bexQ"),p=n("ic2d"),f=n("ptcw"),g=n("t9D7"),m=(n("2V9f"),n("MI8n")),v=n("uDWl"),_=n("ZQ78"),b=n("6OMU"),y=n("feEw"),C=n("4y0V"),w=n("fpMC"),S=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(e){function t(t,n){return e.call(this,"TreeError ["+t+"] "+n)||this}return S(t,e),t}(Error),L=function(){function e(e){this.fn=e,this._map=new WeakMap}return e.prototype.map=function(e){var t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t},e}(),D=n("JYp7"),x=function(){for(var e=0,t=0,n=arguments.length;t=0&&m0&&o){var k=function(e){o(e),e.children.forEach(k)};y.forEach(k)}this._onDidSplice.fire({insertedNodes:v,deletedNodes:y})},e.prototype.rerender=function(e){if(0===e.length)throw new O(this.user,"Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,i=t.listIndex;t.revealed&&this.list.splice(i,1,[n])},e.prototype.has=function(e){return this.hasTreeNode(e)},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,i=t.visible,o=t.revealed;return i&&o?n:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsible=function(e){return this.getTreeNode(e).collapsible},e.prototype.setCollapsible=function(e,t){var n=this,i=this.getTreeNode(e);void 0===t&&(t=!i.collapsible);var o={collapsible:t};return this.eventBufferer.bufferEvents((function(){return n._setCollapseState(e,o)}))},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,n){var i=this,o=this.getTreeNode(e);void 0===t&&(t=!o.collapsed);var r={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((function(){return i._setCollapseState(e,r)}))},e.prototype._setCollapseState=function(e,t){var n=this.getTreeNodeWithListIndex(e),i=n.node,o=n.listIndex,r=n.revealed,s=this._setListNodeCollapseState(i,o,r,t);if(i!==this.root&&this.autoExpandSingleChildren&&s&&!E(t)&&i.collapsible&&!i.collapsed&&!t.recursive){for(var a=-1,u=0;u-1){a=-1;break}a=u}}a>-1&&this._setCollapseState(x(e,[a]),t)}return s},e.prototype._setListNodeCollapseState=function(e,t,n,i){var o=this._setNodeCollapseState(e,i,!1);if(!n||!e.visible||!o)return o;var r=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),a=r-(-1===t?0:1);return this.list.splice(t+1,a,s.slice(1)),o},e.prototype._setNodeCollapseState=function(e,t,n){var i;if(e===this.root?i=!1:(E(t)?(i=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(i=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):i=!1,i&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!E(t)&&t.recursive)for(var o=0,r=e.children;o0,a.visibleChildrenCount=h,a.visible=2===u?h>0:1===u,a.visible?a.collapsed||(a.renderNodeCount=p):(a.renderNodeCount=0,i&&o.pop()),r&&r(a),a},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,i=e.children;nt.children.length)&&this.hasTreeNode(i,t.children[n])},e.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var n=e[0],i=e.slice(1);if(n<0||n>t.children.length)throw new O(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[n])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),n=t.parentNode,i=t.listIndex,o=t.revealed,r=t.visible,s=e[e.length-1];if(s<0||s>n.children.length)throw new O(this.user,"Invalid tree location");var a=n.children[s];return{node:a,listIndex:i,revealed:o,visible:r&&a.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,n,i,o){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===i&&(i=!0),void 0===o&&(o=!0);var r=e[0],s=e.slice(1);if(r<0||r>t.children.length)throw new O(this.user,"Invalid tree location");for(var a=0;a0)?(Object(o.g)(t.twistie,"codicon","codicon-chevron-down","collapsible"),Object(o.Y)(t.twistie,"collapsed",e.collapsed)):Object(o.Q)(t.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},e.prototype.renderIndentGuides=function(e,t){var n=this;if(Object(o.t)(t.indent),t.indentGuidesDisposable.dispose(),this.shouldRenderIndentGuides){for(var i=new s.b,r=this.modelProvider(),a=e,u=function(){var e=r.getNodeLocation(a),u=r.getParentNodeLocation(e);if(!u)return"break";var c=r.getNode(u),d=Object(o.a)(".indent-guide",{style:"width: "+l.indent+"px"});l.activeIndentNodes.has(c)&&Object(o.f)(d,"active"),0===t.indent.childElementCount?t.indent.appendChild(d):t.indent.insertBefore(d,t.indent.firstElementChild),l.renderedIndentGuides.add(c,d),i.add(Object(s.h)((function(){return n.renderedIndentGuides.delete(c,d)}))),a=c},l=this;;){if("break"===u())break}t.indentGuidesDisposable=i}},e.prototype._onDidChangeActiveNodes=function(e){var t=this;if(this.shouldRenderIndentGuides){var n=new Set,i=this.modelProvider();e.forEach((function(e){var t=i.getNodeLocation(e);try{var o=i.getParentNodeLocation(t);e.collapsible&&e.children.length>0&&!e.collapsed?n.add(e):o&&n.add(i.getNode(o))}catch(e){}})),this.activeIndentNodes.forEach((function(e){n.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(o.P)(e,"active")}))})),n.forEach((function(e){t.activeIndentNodes.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(o.f)(e,"active")}))})),this.activeIndentNodes=n}},e.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(s.f)(this.disposables)},e.DefaultIndent=8,e}(),G=function(){function e(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new s.b,e.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(e.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),e.prototype.filter=function(e,t){if(this._filter){var n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;if(0===("boolean"==typeof n?n?1:0:N(n)?k(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:w.a.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:w.a.Default,visibility:!0};var r=Object(w.d)(this._pattern,this._lowercasePattern,0,o,o.toLowerCase(),0,!0);return r?(this._matchCount++,{data:r,visibility:!0}):this.tree.options.filterOnType?2:{data:w.a.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(s.f)(this.disposables)},e}(),Y=function(){function e(e,t,n,i,r){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=r,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new m.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new m.a,this.enabledDisposables=new s.b,this.disposables=new s.b,this.domNode=Object(o.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(C.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(o.q)(n.getHTMLElement(),Object(o.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(o.q)(this.domNode,Object(o.a)("span.label"));var u=Object(o.q)(this.domNode,Object(o.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(o.q)(u,Object(o.a)("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(C.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(o.q)(u,Object(o.a)("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(a.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},e.prototype.enable=function(){var e=this;if(!this._enabled){var t=m.b.chain(Object(C.a)(this.view.getHTMLElement(),"keydown")).filter((function(t){return!Z(t.target)||t.target===e.filterOnTypeDomNode})).filter((function(e){return"Dead"!==e.key&&!/^Media/.test(e.key)})).map((function(e){return new v.a(e)})).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).filter((function(t){return e.keyboardNavigationDelegate.mightProducePrintableCharacter(t)||(e.pattern.length>0||e.triggered)&&(9===t.keyCode||1===t.keyCode)&&!t.altKey&&!t.ctrlKey&&!t.metaKey||1===t.keyCode&&(T.e?t.altKey&&!t.metaKey:t.ctrlKey)&&!t.shiftKey})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).event,n=Object(C.a)(this.clearDomNode,"click");m.b.chain(m.b.any(t,n)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(T.e?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(function(e){return!w.a.isDefault(e.filterData)}));var n=this.tree.getFocus();if(n.length>0){var i=n[0];null===this.tree.getRelativeTop(i)&&this.tree.reveal(i,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),n=Object(o.C)(t).left,i=t.clientWidth,r=i/2,a=this.domNode.clientWidth,u=new s.b,l=this.positionClassName,c=function(){switch(l){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=i-a-6+"px"}};c(),Object(o.P)(this.domNode,l),Object(o.f)(this.domNode,"dragging"),u.add(Object(s.h)((function(){return Object(o.P)(e.domNode,"dragging")}))),Object(C.a)(document,"dragover")((function(e){e.preventDefault();var t=e.screenX-n;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=t0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(a.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(o.Y)(this.domNode,"no-matches",e),this.domNode.title=Object(a.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!w.a.isDefault(e.filterData))},e.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(s.f)(this.disposables)},e}();function Z(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function X(e){return{elements:e.elements.map((function(e){return e.element})),browserEvent:e.browserEvent}}function Q(e,t){t(e),e.children.forEach((function(e){return Q(e,t)}))}var J=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new m.a,this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){Object(b.g)(this.nodes,e)||this._set(e,!1,t)},e.prototype._set=function(e,t,n){if(this.nodes=W(e),this.elements=void 0,this._nodeSet=void 0,!t){var i=this;this._onDidChange.fire({get elements(){return i.get()},browserEvent:n})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map((function(e){return e.element}))),W(this.elements)},e.prototype.getNodes=function(){return this.nodes},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,n=e.insertedNodes,i=e.deletedNodes;if(!this.identityProvider){var o=this.createNodeSet(),r=function(e){return o.delete(e)};return i.forEach((function(e){return Q(e,r)})),void this.set(Object(P.e)(o))}var s=new Set,a=function(e){return s.add(t.identityProvider.getId(e.element).toString())};i.forEach((function(e){return Q(e,a)}));var u=new Map,l=function(e){return u.set(t.identityProvider.getId(e.element).toString(),e)};n.forEach((function(e){return Q(e,l)}));for(var c=[],d=0,h=this.nodes;d0&&e.prototype.setFocus.call(this,Object(b.f)(W(e.prototype.getFocus.call(this),r))),s.length>0&&e.prototype.setSelection.call(this,Object(b.f)(W(e.prototype.getSelection.call(this),s)))}},t.prototype.setFocus=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setFocus.call(this,t,n),i||this.focusTrait.set(t.map((function(e){return o.element(e)})),n)},t.prototype.setSelection=function(t,n,i){var o=this;void 0===i&&(i=!1),e.prototype.setSelection.call(this,t,n),i||this.selectionTrait.set(t.map((function(e){return o.element(e)})),n)},t}(r.c),te=function(){function e(e,t,n,i,a){var u=this;void 0===a&&(a={}),this._options=a,this.eventBufferer=new m.c,this.disposables=new s.b,this._onWillRefilter=new m.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new m.a;var l,c,d,h=new U(n),p=new m.f,f=new m.f,g=new K(f.event);this.renderers=i.map((function(e){return new q(e,(function(){return u.model}),p.event,g,a)}));for(var _=0,y=this.renderers;_ .indent-guide, .monaco-list"+t+".always .monaco-tl-indent > .indent-guide { border-color: "+e.treeIndentGuidesStroke.transparent(.4)+"; }"),n.push(".monaco-list"+t+" .monaco-tl-indent > .indent-guide.active { border-color: "+e.treeIndentGuidesStroke+"; }"));var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i),this.view.style(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},e.prototype.setSelection=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.selection.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setSelection(o,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var n=this,i=e.map((function(e){return n.model.getNode(e)}));this.focus.set(i,t);var o=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setFocus(o,t,!0)},e.prototype.focusNext=function(e,t,n,i){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===i&&(i=this.focusNavigationFilter),this.view.focusNext(e,t,n,i)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!0)){var o=this.model.getParentNodeLocation(i);if(!o)return;var r=this.model.getListIndex(o);this.view.reveal(r),this.view.setFocus([r])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n);if(!this.model.setCollapsed(i,!1)){if(!n.children.some((function(e){return e.visible})))return;var o=this.view.getFocus()[0]+1;this.view.reveal(o),this.view.setFocus([o])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],i=this.model.getNodeLocation(n),o=e.browserEvent.altKey;this.model.setCollapsed(i,void 0,o)}},e.prototype.dispose=function(){Object(s.f)(this.disposables),this.view.dispose()},e}(),ne=function(){return(ne=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},ve=function(e){function t(t,n,i,o,r){return void 0===r&&(r={}),e.call(this,t,n,i,o,r)||this}return fe(t,e),Object.defineProperty(t.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.rerender=function(e){void 0!==e?this.model.rerender(e):this.view.rerender()},t.prototype.hasElement=function(e){return this.model.has(e)},t.prototype.createModel=function(e,t,n){return new oe(e,t,n)},t}(te),_e=function(){function e(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}return Object.defineProperty(e.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){var o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,i)):(n.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,n.data,i))},e.prototype.disposeElement=function(e,t,n,i){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,i):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.data)},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)},me([pe.a],e.prototype,"compressedTreeNodeProvider",null),e}();var be=function(e){function t(t,n,i,o,r){void 0===r&&(r={});var s=this,a=function(){return s},u=o.map((function(e){return new _e(a,e)}));return s=e.call(this,t,n,i,u,function(e,t){return t&&ge(ge({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(n){var i;try{i=e().getCompressedTreeNode(n)}catch(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===i.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(i.element.elements)}}})}(a,r))||this}return fe(t,e),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.createModel=function(e,t,n){return new he(e,t,n)},t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),void 0!==t.compressionEnabled&&this.model.setCompressionEnabled(t.compressionEnabled)},t.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getCompressedTreeNode(e)},t}(ve),ye=n("/cxE"),Ce=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),we=function(){return(we=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]-1&&i.focus.push(d),i&&i.viewState.selection&&i.viewState.selection.indexOf(l)>-1&&i.selection.push(d),i&&i.viewState.expanded&&i.viewState.expanded.indexOf(l)>-1?h.push(d):o&&r.collapseByDefault&&!r.collapseByDefault(t)&&(d.collapsedByDefault=!1,h.push(d)),d})),f=0,g=Object(P.e)(s);f-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?D.d.map(D.d.fromArray(e.children),(function(e){return i.asTreeElement(e,t)})):[],collapsible:e.hasChildren,collapsed:n})},e.prototype.processChildren=function(e){return this.sorter&&e.sort(this.sorter.compare.bind(this.sorter)),e},e.prototype.dispose=function(){this.disposables.dispose()},e}(),Fe=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return{elements:this.node.element.elements.map((function(e){return e.element})),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),je=function(){function e(e,t,n,i){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},e.prototype.renderElement=function(e,t,n,i){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.renderCompressedElements=function(e,t,n,i){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.renderTwistie=function(e,t){return Object(o.Y)(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,i){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,i)},e.prototype.disposeCompressedElements=function(e,t,n,i){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,i)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(s.f)(this.disposables)},e}();var We=function(e){function t(t,n,i,o,r,s,a){void 0===a&&(a={});var u=e.call(this,t,n,i,r,s,a)||this;return u.compressionDelegate=o,u.compressibleNodeMapper=new L((function(e){return new Fe(e)})),u.filter=a.filter,u}return Ce(t,e),t.prototype.createTree=function(e,t,n,i,o){var r=this,s=new U(n),a=i.map((function(e){return new je(e,r.nodeMapper,(function(){return r.compressibleNodeMapper}),r._onDidChangeNodeSlowState.event)})),u=function(e){var t=e&&Pe(e);return t&&we(we({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&we(we({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((function(e){return e.element})))}})})}(o)||{};return new be(e,t,s,a,u)},t.prototype.asTreeElement=function(t,n){return we({incompressible:this.compressionDelegate.isIncompressible(t.element)},e.prototype.asTreeElement.call(this,t,n))},t.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},t.prototype.render=function(t,n){var i=this;if(!this.identityProvider)return e.prototype.render.call(this,t,n);var o=function(e){return i.identityProvider.getId(e).toString()},r=function(e){for(var t=new Set,n=0,r=e;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Ge=function(e,t){return function(n,i){t(n,i,e)}},Ye=Object(d.c)("listService"),Ze=function(){function e(e){this._themeService=e,this.disposables=new s.b,this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var i=new r.b(Object(o.w)(),"");this.disposables.add(Object(f.b)(i,this._themeService))}if(this.lists.some((function(t){return t.widget===e})))throw new Error("Cannot register the same widget multiple times");var a={widget:e,extraContextKeys:t};return this.lists.push(a),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(s.e)(e.onDidFocus((function(){return n._lastFocusedWidget=e})),Object(s.h)((function(){return n.lists.splice(n.lists.indexOf(a),1)})),e.onDidDispose((function(){n.lists=n.lists.filter((function(e){return e!==a})),n._lastFocusedWidget===e&&(n._lastFocusedWidget=void 0)})))},e.prototype.dispose=function(){this.disposables.dispose()},e=qe([Ge(0,g.c)],e)}(),Xe=new c.d("listFocus",!0),Qe=new c.d("listSupportsMultiselect",!0),Je=c.a.and(Xe,c.a.not("inputFocus")),$e=new c.d("listHasSelectionOrFocus",!1),et=new c.d("listDoubleSelection",!1),tt=new c.d("listMultiSelection",!1),nt=new c.d("listSupportsKeyboardNavigation",!0),it=new c.d("listAutomaticKeyboardNavigation",!0),ot=!1;var rt="workbench.tree.indent";function st(e){return"alt"===e.getValue("workbench.list.multiSelectModifier")}function at(e){return"doubleClick"!==e.getValue("workbench.list.openMode")}var ut=function(e){function t(t){var n=e.call(this)||this;return n.configurationService=t,n.useAltAsMultipleSelectionModifier=st(t),n.registerListeners(),n}return Ue(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.multiSelectModifier")&&(e.useAltAsMultipleSelectionModifier=st(e.configurationService))})))},t.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(r.f)(e)},t.prototype.isSelectionRangeChangeEvent=function(e){return Object(r.e)(e)},t}(s.a),lt=function(e){function t(t,n){var i=e.call(this)||this;return i.configurationService=t,i.existingOpenController=n,i.openOnSingleClick=at(t),i.registerListeners(),i}return Ue(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration("workbench.list.openMode")&&(e.openOnSingleClick=at(e.configurationService))})))},t.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,n=2===e.detail;return!(t&&!this.openOnSingleClick&&!n)&&(!(!t&&1!==e.button)&&(!this.existingOpenController||this.existingOpenController.shouldOpen(e)))}return!this.existingOpenController||this.existingOpenController.shouldOpen(e)},t}(s.a);function ct(e,t){var n=!1;return function(i){if(n)return n=!1,!1;var o=t.softDispatch(i,e);return o&&o.enterChord?(n=!0,!1):(n=!1,!0)}}(function(e){function t(t,n,i,o,r,s,a,u,l,c,d){var h=this,p=ht(n,r,s,l,c,d),f=p.options,g=p.getAutomaticKeyboardNavigation,m=p.disposable;return(h=e.call(this,t,n,i,o,f)||this).disposables.add(m),h.internals=new pt(h,f,g,r.overrideStyles,s,a,u,l,d),h.disposables.add(h.internals),h}Ue(t,e),t=qe([Ge(5,c.c),Ge(6,Ye),Ge(7,g.c),Ge(8,u.a),Ge(9,h.a),Ge(10,ze.b)],t)})(ve),function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var p=this,f=ht(n,s,a,c,d,h),g=f.options,m=f.getAutomaticKeyboardNavigation,v=f.disposable;return(p=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),p.internals=new pt(p,g,m,s.overrideStyles,a,u,l,c,h),p.disposables.add(p.internals),p}Ue(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=qe([Ge(6,c.c),Ge(7,Ye),Ge(8,g.c),Ge(9,u.a),Ge(10,h.a),Ge(11,ze.b)],t)}(He);var dt=function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h){var p=this,f=ht(n,s,a,c,d,h),g=f.options,m=f.getAutomaticKeyboardNavigation,v=f.disposable;return(p=e.call(this,t,n,i,o,r,g)||this).disposables.add(v),p.internals=new pt(p,g,m,s.overrideStyles,a,u,l,c,h),p.disposables.add(p.internals),p}return Ue(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=qe([Ge(6,c.c),Ge(7,Ye),Ge(8,g.c),Ge(9,u.a),Ge(10,h.a),Ge(11,ze.b)],t)}(Ae);!function(e){function t(t,n,i,o,r,s,a,u,l,c,d,h,p){var f=this,g=ht(n,a,u,d,h,p),m=g.options,v=g.getAutomaticKeyboardNavigation,_=g.disposable;return(f=e.call(this,t,n,i,o,r,s,m)||this).disposables.add(_),f.internals=new pt(f,m,v,a.overrideStyles,u,l,c,d,p),f.disposables.add(f.internals),f}Ue(t,e),t=qe([Ge(7,c.c),Ge(8,Ye),Ge(9,g.c),Ge(10,u.a),Ge(11,h.a),Ge(12,ze.b)],t)}(We);function ht(e,t,n,i,o,r){nt.bindTo(n),ot||(it.bindTo(n),ot=!0);var a=function(){var e=n.getContextKeyValue("listAutomaticKeyboardNavigation");return e&&(e=i.getValue("workbench.list.automaticKeyboardNavigation")),e},l=r.isScreenReaderOptimized()?"simple":i.getValue("workbench.list.keyboardNavigation"),c=void 0!==t.horizontalScrolling?t.horizontalScrolling:function(e){return Object(u.f)(e,"workbench.list.horizontalScrolling","workbench.tree.horizontalScrolling")}(i),d=at(i),h=function(e,t,n){var i=new s.b,o=Ke({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var r=new ut(t);o.multipleSelectionController=r,i.add(r)}var a=new lt(t,e.openController);return o.openController=a,i.add(a),o.keyboardNavigationDelegate={mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}},[o,i]}(t,i,o),p=h[0],f=h[1],g=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:a,disposable:f,options:Ke(Ke({keyboardSupport:!1},p),{indent:i.getValue(rt),renderIndentGuides:i.getValue("workbench.tree.renderIndentGuides"),automaticKeyboardNavigation:a(),simpleKeyboardNavigation:"simple"===l,filterOnType:"filter"===l,horizontalScrolling:c,openOnSingleClick:d,keyboardNavigationEventFilter:ct(e,o),additionalScrollHeight:g,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements})}}var pt=function(){function e(e,t,n,i,o,r,s,a,u){var l=this;this.tree=e,this.themeService=s,this.disposables=[],this.contextKeyService=function(e,t){var n=e.createScoped(t.getHTMLElement());return Xe.bindTo(n),n}(o,e),Qe.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=$e.bindTo(this.contextKeyService),this.hasDoubleSelection=et.bindTo(this.contextKeyService),this.hasMultiSelection=tt.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=st(a);var c=new Set;c.add("listAutomaticKeyboardNavigation");var d=function(){var t=u.isScreenReaderOptimized()?"simple":a.getValue("workbench.list.keyboardNavigation");e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})};this.updateStyleOverrides(i),this.disposables.push(this.contextKeyService,r.register(e),e.onDidChangeSelection((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0),l.hasMultiSelection.set(t.length>1),l.hasDoubleSelection.set(2===t.length)})),e.onDidChangeFocus((function(){var t=e.getSelection(),n=e.getFocus();l.hasSelectionOrFocus.set(t.length>0||n.length>0)})),a.onDidChangeConfiguration((function(t){if(t.affectsConfiguration("workbench.list.openMode")&&e.updateOptions({openOnSingleClick:at(a)}),t.affectsConfiguration("workbench.list.multiSelectModifier")&&(l._useAltAsMultipleSelectionModifier=st(a)),t.affectsConfiguration(rt)){var i=a.getValue(rt);e.updateOptions({indent:i})}if(t.affectsConfiguration("workbench.tree.renderIndentGuides")){var o=a.getValue("workbench.tree.renderIndentGuides");e.updateOptions({renderIndentGuides:o})}t.affectsConfiguration("workbench.list.keyboardNavigation")&&d(),t.affectsConfiguration("workbench.list.automaticKeyboardNavigation")&&e.updateOptions({automaticKeyboardNavigation:n()})})),this.contextKeyService.onDidChangeContext((function(t){t.affectsSome(c)&&e.updateOptions({automaticKeyboardNavigation:n()})})),u.onDidChangeScreenReaderOptimized((function(){return d()})))}return e.prototype.updateStyleOverrides=function(e){Object(s.f)(this.styler),this.styler=e?Object(f.b)(this.tree,this.themeService,e):s.a.None},e.prototype.dispose=function(){this.disposables=Object(s.f)(this.disposables),this.styler=Object(s.f)(this.styler)},e=qe([Ge(4,c.c),Ge(5,Ye),Ge(6,g.c),Ge(7,u.a),Ge(8,ze.b)],e)}();p.a.as(l.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(a.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Ve={},Ve["workbench.list.multiSelectModifier"]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(a.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(a.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(a.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Ve["workbench.list.openMode"]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(a.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Ve["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(a.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Ve["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(a.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(a.a)("deprecated","This setting is deprecated, please use '{0}' instead.","workbench.list.horizontalScrolling")},Ve[rt]={type:"number",default:8,minimum:0,maximum:40,description:Object(a.a)("tree indent setting","Controls tree indentation in pixels.")},Ve["workbench.tree.renderIndentGuides"]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(a.a)("render tree indent guides","Controls whether the tree should render indent guides.")},Ve["workbench.list.keyboardNavigation"]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(a.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(a.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(a.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(a.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Ve["workbench.list.automaticKeyboardNavigation"]={type:"boolean",default:!0,markdownDescription:Object(a.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Ve)})},kYye: /*!*************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js ***! @@ -2093,7 +2093,7 @@ /*! exports provided: MarkerController, NextMarkerAction */ /*! all exports used */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/color.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -2101,19 +2101,19 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/labels.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/severity.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/peekView/peekView.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/peekView/peekView.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t),n.d(t,"MarkerController",(function(){return q})),n.d(t,"NextMarkerAction",(function(){return Y}));var i,o=n("3/fG"),r=n("MI8n"),s=n("pmY6"),a=n("T8No"),u=n("tADe"),l=n("aokT"),c=n("sswD"),d=n("t9D7"),h=n("wQH0"),p=(n("/oaI"),n("EffR")),f=n("MD5Z"),g=n("zrhQ"),m=n("GJhM"),v=n("3rx1"),_=n("6OMU"),b=n("iNS8"),y=n("gslv"),C=n("S3by");(i||(i={})).className=function(e){switch(e){case C.a.Ignore:return"severity-ignore codicon-info";case C.a.Info:return"codicon-info";case C.a.Warning:return"codicon-warning";case C.a.Error:return"codicon-error"}return""},Object(d.e)((function(e,t){var n=e.getColor(f.Pb);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-error,\n\t\t\t.markers-panel .marker-icon.codicon-error,\n\t\t\t.extensions-viewlet > .extensions .codicon-error,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-error {\n\t\t\t\tcolor: "+n+";\n\t\t\t}\n\t\t");var i=e.getColor(f.Rb);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-warning,\n\t\t\t.markers-panel .marker-icon.codicon-warning,\n\t\t\t.extensions-viewlet > .extensions .codicon-warning,\n\t\t\t.extension-editor .codicon-warning,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-warning {\n\t\t\t\tcolor: "+i+";\n\t\t\t}\n\t\t");var o=e.getColor(f.Qb);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-info,\n\t\t\t.markers-panel .marker-icon.codicon-info,\n\t\t\t.extensions-viewlet > .extensions .codicon-info,\n\t\t\t.extension-editor .codicon-info,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-info {\n\t\t\t\tcolor: "+o+";\n\t\t\t}\n\t\t")}));var w,S=(w=function(e,t){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(){function e(e,t,n,i){var o=this;this._openerService=i,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new s.b,this._editor=t;var r=document.createElement("div");r.className="descriptioncontainer",r.setAttribute("aria-live","assertive"),r.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),p.f(this._messageBlock,"message"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(p.o(this._relatedBlock,"click",(function(e){e.preventDefault();var t=o._relatedDiagnostics.get(e.target);t&&n(t)}))),this._scrollable=new m.b(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll((function(e){r.style.left="-"+e.scrollLeft+"px",r.style.top="-"+e.scrollTop+"px"}))),this._disposables.add(this._scrollable)}return e.prototype.dispose=function(){Object(s.f)(this._disposables)},e.prototype.update=function(e){var t=this,n=e.source,i=e.message,o=e.relatedInformation,r=e.code,s=((null==n?void 0:n.length)||0)+"()".length;r&&(s+="string"==typeof r?r.length:r.value.length);var a=i.split(/\r\n|\r|\n/g);this._lines=a.length,this._longestLineLength=0;for(var u=0,l=a;u1?o.a("problems","{0} of {1} problems",n,r):o.a("change","{0} of {1} problem",n,r);this.setTitle(Object(y.b)(d.uri),h)}this._icon.className="codicon "+i.className(u.c.toSeverity(this._severity)),this.editor.revealPositionInCenter(c,0),this.editor.focus()},t.prototype.updateMarker=function(e){this._container.classList.remove("stale"),this._message.update(e)},t.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},t.prototype._doLayoutBody=function(t,n){e.prototype._doLayoutBody.call(this,t,n),this._heightInPixel=t,this._message.layout(t,n),this._container.style.height=t+"px"},t.prototype._onWidth=function(e){this._message.layout(this._heightInPixel,e)},t.prototype._relayout=function(){e.prototype._relayout.call(this,this.computeRequiredHeight())},t.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},t}(b.c),D=Object(f.Kb)(f.q,f.p),x=Object(f.Kb)(f.P,f.O),N=Object(f.Kb)(f.H,f.G),k=Object(f.Tb)("editorMarkerNavigationError.background",{dark:D,light:D,hc:D},o.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),E=Object(f.Tb)("editorMarkerNavigationWarning.background",{dark:x,light:x,hc:x},o.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),I=Object(f.Tb)("editorMarkerNavigationInfo.background",{dark:N,light:N,hc:N},o.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),M=Object(f.Tb)("editorMarkerNavigation.background",{dark:"#2D2D30",light:g.a.white,hc:"#0C141F"},o.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(d.e)((function(e,t){var n=e.getColor(f.ec);n&&(t.addRule(".monaco-editor .marker-widget a { color: "+n+"; }"),t.addRule(".monaco-editor .marker-widget a.code-link span:hover { color: "+n+"; }"))}));var T=n("N0LK"),P=n("Vxe3"),R=n("/cxE"),A=n("fjLI"),F=n("8HAY"),j=n("bexQ"),W=n("W9cx"),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),B=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},H=function(e,t){return function(n,i){t(n,i,e)}},z=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},U=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0?this._markers[this._nextIdx]:void 0;this._markers=e||[],this._markers.sort(G.compareMarker),this._nextIdx=t?Math.max(-1,Object(_.c)(this._markers,t,G.compareMarker)):-1,this._onMarkerSetChanged.fire(this)},e.prototype.withoutWatchingEditorPosition=function(e){this._ignoreSelectionChange=!0;try{e()}finally{this._ignoreSelectionChange=!1}},e.prototype._initIdx=function(e){for(var t=!1,n=this._editor.getPosition(),i=0;i0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:i=!0),n!==this._nextIdx){var o=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(o)}return i},e.prototype.canNavigate=function(){return this._markers.length>0},e.prototype.findMarkerAtPosition=function(e){return Object(_.h)(this._markers,(function(t){return l.a.containsPosition(t,e)}))},Object.defineProperty(e.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),e.prototype.indexOf=function(e){return 1+this._markers.indexOf(e)},e.prototype.dispose=function(){this._toUnbind.dispose()},e}(),q=function(){function e(e,t,n,i,o,r,a){this._markerService=t,this._contextKeyService=n,this._themeService=i,this._editorService=o,this._keybindingService=r,this._openerService=a,this._model=null,this._widget=null,this._disposeOnClose=new s.b,this._editor=e,this._widgetVisible=J.bindTo(this._contextKeyService)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._cleanUp(),this._disposeOnClose.dispose()},e.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose.clear(),this._widget=null,this._model=null},e.prototype.getOrCreateModel=function(){var e=this;if(this._model)return this._model;var t=this._getMarkers();this._model=new K(this._editor,t),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var n=this._keybindingService.lookupKeybinding(Z.ID),i=this._keybindingService.lookupKeybinding(Y.ID),o=[new F.a(Y.ID,Y.LABEL+(i?" ("+i.getLabel()+")":""),"show-next-problem codicon-chevron-down",this._model.canNavigate(),(function(){return z(e,void 0,void 0,(function(){return U(this,(function(e){return this._model&&this._model.move(!0,!0),[2]}))}))})),new F.a(Z.ID,Z.LABEL+(n?" ("+n.getLabel()+")":""),"show-previous-problem codicon-chevron-up",this._model.canNavigate(),(function(){return z(e,void 0,void 0,(function(){return U(this,(function(e){return this._model&&this._model.move(!1,!0),[2]}))}))}))];this._widget=new L(this._editor,o,this._themeService,this._openerService),this._widgetVisible.set(!0),this._widget.onDidClose((function(){return e.closeMarkersNavigation()}),this,this._disposeOnClose),this._disposeOnClose.add(this._model),this._disposeOnClose.add(this._widget);for(var r=0,s=o;re.length)return!1;for(var o=0;o=65&&r<=90&&r+32===s||s>=65&&s<=90&&s+32===r))return!1}return!0},e.prototype._createOperationsForBlockComment=function(t,n,i,o,r,s){var a,u=t.startLineNumber,l=t.startColumn,d=t.endLineNumber,h=t.endColumn,p=r.getLineContent(u),f=r.getLineContent(d),g=p.lastIndexOf(n,l-1+n.length),m=f.indexOf(i,h-1-i.length);if(-1!==g&&-1!==m)if(u===d){p.substring(g+n.length,m).indexOf(i)>=0&&(g=-1,m=-1)}else{var v=p.substring(g+n.length),_=f.substring(0,m);(v.indexOf(i)>=0||_.indexOf(i)>=0)&&(g=-1,m=-1)}-1!==g&&-1!==m?(o&&g+n.length0&&32===f.charCodeAt(m-1)&&(i=" "+i,m-=1),a=e._createRemoveBlockCommentOperations(new c.a(u,g+n.length+1,d,m+1),n,i)):(a=e._createAddBlockCommentOperations(t,n,i,this._insertSpace),this._usedEndToken=1===a.length?i:null);for(var b=0,y=a;ba?r-1:r}},e}(),m=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e){function t(t,n){var i=e.call(this,n)||this;return i._type=t,i}return m(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getModel(),i=[],o=t.getSelections(),r=n.getOptions(),s=t.getOption(13),a=0,u=o;ae.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),e.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},e.prototype.guessColorPresentation=function(e,t){for(var n=0;n0,n&&i)?e:void 0;var t,n,i}),(function(e){Object(F.f)(e)}))}));return Promise.all(i).then(A.d)}Object(a.k)("_executeHoverProvider",(function(e,t){return j(e,t,h.a.None)}));var W=n("X+cX"),V=function(){function e(e,t,n,i,o){var r=this;this._computer=e,this._state=0,this._hoverTime=o,this._firstWaitScheduler=new W.d((function(){return r._triggerAsyncComputation()}),0),this._secondWaitScheduler=new W.d((function(){return r._triggerSyncComputation()}),0),this._loadingMessageScheduler=new W.d((function(){return r._showLoadingMessage()}),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=i}return e.prototype.setHoverTime=function(e){this._hoverTime=e},e.prototype._firstWaitTime=function(){return this._hoverTime/2},e.prototype._secondWaitTime=function(){return this._hoverTime/2},e.prototype._loadingMessageTime=function(){return 3*this._hoverTime},e.prototype._triggerAsyncComputation=function(){var e=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(W.f)((function(t){return e._computer.computeAsync(t)})),this._asyncComputationPromise.then((function(t){e._asyncComputationPromiseDone=!0,e._withAsyncResult(t)}),(function(t){return e._onError(t)}))):this._asyncComputationPromiseDone=!0},e.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},e.prototype._showLoadingMessage=function(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())},e.prototype._withAsyncResult=function(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))},e.prototype._onComplete=function(e){this._completeCallback&&this._completeCallback(e)},e.prototype._onError=function(e){this._errorCallback?this._errorCallback(e):Object(F.e)(e)},e.prototype._onProgress=function(e){this._progressCallback&&this._progressCallback(e)},e.prototype.start=function(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}},e.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0},e}(),B=n("GJhM"),H=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),z=function(){for(var e=0,t=0,n=arguments.length;tthis._editor.getModel().getLineCount())return[];var i=b.ColorDetector.get(this._editor),o=t.getLineMaxColumn(n),r=this._editor.getLineDecorations(n),s=!1,a=this._range,l=r.map((function(r){var l=r.range.startLineNumber===n?r.range.startColumn:1,c=r.range.endLineNumber===n?r.range.endColumn:o;if(l>a.startColumn||a.endColumn>c)return null;var d=new u.a(a.startLineNumber,l,a.startLineNumber,c),h=e._markerDecorationsService.getMarker(t,r);if(h)return new oe(d,h);var p=i.getColorData(r.range.getStartPosition());if(!s&&p){s=!0;var g=p.colorInfo,m=g.color,v=g.range;return new ie(v,m,p.provider)}return Object(f.b)(r.options.hoverMessage)?null:{contents:r.options.hoverMessage?Object(A.b)(r.options.hoverMessage):[],range:d}}));return Object(A.d)(l)},e.prototype.onResult=function(e,t){this._result=t?e.concat(this._result.sort((function(e,t){return e instanceof ie?-1:t instanceof ie?1:0}))):this._result.concat(e)},e.prototype.getResult=function(){return this._result.slice(0)},e.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},e.prototype._getLoadingMessage=function(){return{range:this._range,contents:[(new f.a).appendText(o.a("modesContentHover.loading","Loading..."))]}},e}(),se={type:2,filter:{include:$.b.QuickFix}},ae=function(e){function t(n,i,o,r,a,u){void 0===u&&(u=Z.b);var l=e.call(this,t.ID,n)||this;return l._themeService=o,l._keybindingService=r,l._modeService=a,l._openerService=u,l.renderDisposable=l._register(new s.d),l._messages=[],l._lastRange=null,l._computer=new re(l._editor,i),l._highlightDecorations=[],l._isChangingDecorations=!1,l._shouldFocus=!1,l._colorPicker=null,l._hoverOperation=new V(l._computer,(function(e){return l._withResult(e,!0)}),null,(function(e){return l._withResult(e,!1)}),l._editor.getOption(44).delay),l._register(d.o(l.getDomNode(),d.d.FOCUS,(function(){l._colorPicker&&d.f(l.getDomNode(),"colorpicker-hover")}))),l._register(d.o(l.getDomNode(),d.d.BLUR,(function(){d.P(l.getDomNode(),"colorpicker-hover")}))),l._register(n.onDidChangeConfiguration((function(e){l._hoverOperation.setHoverTime(l._editor.getOption(44).delay)}))),l._register(v.B.onDidChange((function(e){l.isVisible&&l._lastRange&&l._messages.length>0&&(l._domNode.textContent="",l._renderMessages(l._lastRange,l._messages))}))),l}return ee(t,e),t.prototype.dispose=function(){this._hoverOperation.cancel(),e.prototype.dispose.call(this)},t.prototype.onModelDecorationsChanged=function(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},t.prototype.startShowingAt=function(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){for(var i=[],o=0,r=this._messages.length;o=e.endColumn&&i.push(s)}if(i.length>0){if(function(e,t){if(!e&&t||e&&!t||e.length!==t.length)return!1;for(var n=0;n0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()},t.prototype._renderMessages=function(e,n){var i=this;this.renderDisposable.dispose(),this._colorPicker=null;var o=1073741824,r=n[0].range?u.a.lift(n[0].range):null,a=document.createDocumentFragment(),l=!0,c=!1,m=new s.b,v=[];if(n.forEach((function(e){if(e.range)if(o=Math.min(o,e.range.startColumn),r=r?u.a.plusRange(r,e.range):u.a.lift(e.range),e instanceof ie){c=!0;var t=e.color,n=t.red,g=t.green,b=t.blue,y=t.alpha,w=new p.c(Math.round(255*n),Math.round(255*g),Math.round(255*b),y),S=new p.a(w);if(!i._editor.hasModel())return;var O=i._editor.getModel(),L=new u.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),D={range:e.range,color:e.color},x=new C(S,[],0),N=new R(a,x,i._editor.getOption(105),i._themeService);Object(_.a)(O,D,e.provider,h.a.None).then((function(t){if(x.colorPresentations=t||[],i._editor.hasModel()){var n=i._editor.getModel().getValueInRange(e.range);x.guessColorPresentation(S,n);var o=function(){var e,t;x.presentation.textEdit?(e=[x.presentation.textEdit],t=(t=new u.a(x.presentation.textEdit.range.startLineNumber,x.presentation.textEdit.range.startColumn,x.presentation.textEdit.range.endLineNumber,x.presentation.textEdit.range.endColumn)).setEndPosition(t.endLineNumber,t.startColumn+x.presentation.textEdit.text.length)):(e=[{identifier:null,range:L,text:x.presentation.label,forceMoveMarkers:!1}],t=L.setEndPosition(L.endLineNumber,L.startColumn+x.presentation.label.length)),i._editor.pushUndoStop(),i._editor.executeEdits("colorpicker",e),x.presentation.additionalTextEdits&&(e=te(x.presentation.additionalTextEdits),i._editor.executeEdits("colorpicker",e),i.hide()),i._editor.pushUndoStop(),L=t},r=function(t){return Object(_.a)(O,{range:L,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},e.provider,h.a.None).then((function(e){x.colorPresentations=e||[]}))},l=x.onColorFlushed((function(e){r(e).then(o)})),c=x.onDidChangeColor(r);i._colorPicker=N,i.showAt(L.getStartPosition(),L,i._shouldFocus),i.updateContents(a),i._colorPicker.layout(),i.renderDisposable.value=Object(s.e)(l,c,N,m)}}))}else e instanceof oe?(v.push(e),l=!1):e.contents.filter((function(e){return!Object(f.b)(e)})).forEach((function(e){var t=ne("div.hover-row.markdown-hover"),n=d.q(t,ne("div.hover-contents")),o=m.add(new q.a(i._editor,i._modeService,i._openerService));m.add(o.onDidRenderCodeBlock((function(){n.className="hover-contents code-hover-contents",i.onContentsChange()})));var r=m.add(o.render(e));n.appendChild(r.element),a.appendChild(t),l=!1}))})),v.length){v.forEach((function(e){return a.appendChild(i.renderMarkerHover(e))}));var b=1===v.length?v[0]:v.sort((function(e,t){return G.c.compare(e.marker.severity,t.marker.severity)}))[0];a.appendChild(this.renderMarkerStatusbar(b))}c||l||(this.showAt(new g.a(e.startLineNumber,o),r,this._shouldFocus),this.updateContents(a)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,r?[{range:r,options:t._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},t.prototype.renderMarkerHover=function(e){var t=this,n=ne("div.hover-row"),i=d.q(n,ne("div.marker.hover-contents")),o=e.marker,r=o.source,s=o.message,a=o.code,u=o.relatedInformation;this._editor.applyFontInfo(i);var l=d.q(i,ne("span"));if(l.style.whiteSpace="pre-wrap",l.innerText=s,r||a)if("string"==typeof a)(c=d.q(i,ne("span"))).style.opacity="0.6",c.style.paddingLeft="6px",c.innerText=r&&a?r+"("+a+")":r||"("+a+")";else if(a){var c,h=ne("span");if(r)d.q(h,ne("span")).innerText=r;this._codeLink=d.q(h,ne("a.code-link")),this._codeLink.setAttribute("href",a.link.toString()),this._codeLink.onclick=function(e){t._openerService.open(a.link),e.preventDefault(),e.stopPropagation()},d.q(this._codeLink,ne("span")).innerText=a.value,(c=d.q(i,h)).style.opacity="0.6",c.style.paddingLeft="6px"}if(Object(A.q)(u))for(var p=function(e,n,o,r){var s=d.q(i,ne("div"));s.style.marginTop="8px";var a=d.q(s,ne("a"));a.innerText=Object(Y.b)(n)+"("+o+", "+r+"): ",a.style.cursor="pointer",a.onclick=function(e){e.stopPropagation(),e.preventDefault(),t._openerService&&t._openerService.open(n.with({fragment:o+","+r}),{fromUserGesture:!0}).catch(F.e)};var u=d.q(s,ne("span"));u.innerText=e,f._editor.applyFontInfo(u)},f=this,g=0,m=u;g0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},t.prototype._renderMessages=function(e,t){this._renderDisposeables.clear();for(var n=document.createDocumentFragment(),i=0,o=t;i=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},me=function(e,t){return function(n,i){t(n,i,e)}},ve=function(){function e(e,t,n,i,o,r){var a=this;this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=i,this._keybindingService=o,this._themeService=r,this._toUnhook=new s.b,this._contentWidget=new s.d,this._glyphWidget=new s.d,this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration((function(e){e.hasChanged(44)&&(a._hideWidgets(),a._unhookEvents(),a._hookEvents())}))}return Object.defineProperty(e.prototype,"contentWidget",{get:function(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"glyphWidget",{get:function(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value},enumerable:!0,configurable:!0}),e.get=function(t){return t.getContribution(e.ID)},e.prototype._hookEvents=function(){var e=this,t=function(){return e._hideWidgets()},n=this._editor.getOption(44);this._isHoverEnabled=n.enabled,this._isHoverSticky=n.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown((function(t){return e._onEditorMouseDown(t)}))),this._toUnhook.add(this._editor.onMouseUp((function(t){return e._onEditorMouseUp(t)}))),this._toUnhook.add(this._editor.onMouseMove((function(t){return e._onEditorMouseMove(t)}))),this._toUnhook.add(this._editor.onKeyDown((function(t){return e._onKeyDown(t)}))),this._toUnhook.add(this._editor.onDidChangeModelDecorations((function(){return e._onModelDecorationsChanged()})))):this._toUnhook.add(this._editor.onMouseMove(t)),this._toUnhook.add(this._editor.onMouseLeave(t)),this._toUnhook.add(this._editor.onDidChangeModel(t)),this._toUnhook.add(this._editor.onDidScrollChange((function(t){return e._onEditorScrollChanged(t)})))},e.prototype._unhookEvents=function(){this._toUnhook.clear()},e.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},e.prototype._onEditorScrollChanged=function(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()},e.prototype._onEditorMouseDown=function(e){this._isMouseDown=!0;var t=e.target.type;9!==t||e.target.detail!==ae.ID?12===t&&e.target.detail===ce.ID||(12!==t&&e.target.detail!==ce.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0},e.prototype._onEditorMouseUp=function(e){this._isMouseDown=!1},e.prototype._onEditorMouseMove=function(e){var t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible()||this._isHoverSticky&&9===t&&e.target.detail===ae.ID||this._isHoverSticky&&12===t&&e.target.detail===ce.ID)){if(7===t){var n=this._editor.getOption(34).typicalHalfwidthCharacterWidth/2,i=e.target.detail;i&&!i.isAfterLines&&"number"==typeof i.horizontalDistanceToText&&i.horizontalDistanceToText0)},e.prototype.getChildren=function(e,t){var n=this.modelProvider.getModel();return Promise.resolve(n===t?n.entries:[])},e.prototype.getParent=function(e,t){return Promise.resolve(null)},e}(),d=function(){function e(e){this.modelProvider=e}return e.prototype.getAriaLabel=function(e,t){var n=this.modelProvider.getModel();return n.accessibilityProvider?n.accessibilityProvider.getAriaLabel(t):null},e.prototype.getPosInSet=function(e,t){var n=this.modelProvider.getModel(),i=0;if(n.filter)for(var o=0,r=n.entries;o=0;t--){var n=this._arr[t];if(e.toChord().equals(n.keybinding))return n.callback}return null},e}(),_=function(){function e(e){var t=this;void 0===e&&(e={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=e,this.downKeyBindingDispatcher=new v,this.upKeyBindingDispatcher=new v,("boolean"!=typeof e.keyboardSupport||e.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,(function(e,n){return t.onUp(e,n)})),this.downKeyBindingDispatcher.set(18,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(15,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(17,(function(e,n){return t.onRight(e,n)})),u.e&&(this.downKeyBindingDispatcher.set(2064,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(300,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(302,(function(e,n){return t.onUp(e,n)}))),this.downKeyBindingDispatcher.set(11,(function(e,n){return t.onPageUp(e,n)})),this.downKeyBindingDispatcher.set(12,(function(e,n){return t.onPageDown(e,n)})),this.downKeyBindingDispatcher.set(14,(function(e,n){return t.onHome(e,n)})),this.downKeyBindingDispatcher.set(13,(function(e,n){return t.onEnd(e,n)})),this.downKeyBindingDispatcher.set(10,(function(e,n){return t.onSpace(e,n)})),this.downKeyBindingDispatcher.set(9,(function(e,n){return t.onEscape(e,n)})),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2051,this.onEnter.bind(this)))}return e.prototype.onMouseDown=function(e,t,n,i){if(void 0===i&&(i="mouse"),0===this.options.clickBehavior&&(n.leftButton||n.middleButton)){if(n.target){if(n.target.tagName&&"input"===n.target.tagName.toLowerCase())return!1;if(s.x(n.target,"scrollbar","monaco-tree"))return!1;if(s.x(n.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(e,t,n,i)}return!1},e.prototype.onClick=function(e,t,n){return u.e&&n.ctrlKey?(n.preventDefault(),n.stopPropagation(),!1):(!n.target||!n.target.tagName||"input"!==n.target.tagName.toLowerCase())&&((0!==this.options.clickBehavior||!n.leftButton&&!n.middleButton)&&this.onLeftClick(e,t,n))},e.prototype.onLeftClick=function(e,t,n,i){void 0===i&&(i="mouse");var o=n,r={origin:i,originalEvent:n,didClickOnTwistie:this.isClickOnTwistie(o)};e.getInput()===t?(e.clearFocus(r),e.clearSelection(r)):(n&&o.browserEvent&&"mousedown"===o.browserEvent.type&&1===o.browserEvent.detail||n.preventDefault(),n.stopPropagation(),e.domFocus(),e.setSelection([t],r),e.setFocus(t,r),this.shouldToggleExpansion(t,o,i)&&(e.isExpanded(t)?e.collapse(t).then(void 0,g.e):e.expand(t).then(void 0,g.e)));return!0},e.prototype.shouldToggleExpansion=function(e,t,n){var i="mouse"===n&&2===t.detail;return this.openOnSingleClick||i||this.isClickOnTwistie(t)},Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return 0===this.options.openMode},enumerable:!0,configurable:!0}),e.prototype.isClickOnTwistie=function(e){var t=e.target;if(!s.I(t,"content"))return!1;var n=window.getComputedStyle(t,":before");if("none"===n.backgroundImage||"none"===n.display)return!1;var i=parseInt(n.width)+parseInt(n.paddingRight);return e.browserEvent.offsetX<=i},e.prototype.onContextMenu=function(e,t,n){return n.target&&n.target.tagName&&"input"===n.target.tagName.toLowerCase()||n&&(n.preventDefault(),n.stopPropagation()),!1},e.prototype.onTap=function(e,t,n){var i=n.initialTarget;return(!i||!i.tagName||"input"!==i.tagName.toLowerCase())&&this.onLeftClick(e,t,n,"touch")},e.prototype.onKeyDown=function(e,t){return this.onKey(this.downKeyBindingDispatcher,e,t)},e.prototype.onKeyUp=function(e,t){return this.onKey(this.upKeyBindingDispatcher,e,t)},e.prototype.onKey=function(e,t,n){var i=e.dispatch(n.toKeybinding());return!(!i||!i(t,n))&&(n.preventDefault(),n.stopPropagation(),!0)},e.prototype.onUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPrevious(1,n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onPageUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPreviousPage(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNext(1,n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onPageDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNextPage(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onHome=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusFirst(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onEnd=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusLast(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onLeft=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var i=e.getFocus();e.collapse(i).then((function(t){if(i&&!t)return e.focusParent(n),e.reveal(e.getFocus())})).then(void 0,g.e)}return!0},e.prototype.onRight=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var i=e.getFocus();e.expand(i).then((function(t){if(i&&!t)return e.focusFirstChild(n),e.reveal(e.getFocus())})).then(void 0,g.e)}return!0},e.prototype.onEnter=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())return!1;var i=e.getFocus();return i&&e.setSelection([i],n),!0},e.prototype.onSpace=function(e,t){if(e.getHighlight())return!1;var n=e.getFocus();return n&&e.toggleExpansion(n),!0},e.prototype.onEscape=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?(e.clearHighlight(n),!0):e.getSelection().length?(e.clearSelection(n),!0):!!e.getFocus()&&(e.clearFocus(n),!0)},e}(),b=function(){function e(){}return e.prototype.getDragURI=function(e,t){return null},e.prototype.onDragStart=function(e,t,n){},e.prototype.onDragOver=function(e,t,n,i){return null},e.prototype.drop=function(e,t,n,i){},e}(),y=function(){function e(){}return e.prototype.isVisible=function(e,t){return!0},e}(),C=function(){function e(){}return e.prototype.getAriaLabel=function(e,t){return null},e}(),w=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix?"."+this.selectorSuffix:"",n=[];e.listFocusBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+e.listFocusBackground+"; }"),e.listFocusForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listActiveSelectionBackground+"; }"),e.listActiveSelectionForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveSelectionBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listInactiveSelectionBackground+"; }"),e.listInactiveSelectionForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-tree-drag-image\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; background: #000; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row \t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid transparent; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) \t\t\t\t\t\t{ border: 1px dotted "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) \t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t");var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)},e}(),S=n("FWmy"),O=n("pmY6"),L=n("MI8n"),D=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(){function e(e){this._onDispose=new L.a,this.onDispose=this._onDispose.event,this._item=e}return Object.defineProperty(e.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose&&(this._onDispose.fire(),this._onDispose.dispose(),this._onDispose=void 0)},e}(),N=function(){function e(){this.locks=Object.create({})}return e.prototype.isLocked=function(e){return!!this.locks[e.id]},e.prototype.run=function(e,t){var n=this,i=this.getLock(e);return new Promise(i?function(o,r){L.b.once(i.onDispose)((function(){return n.run(e,t).then(o,r)}))}:function(i,o){if(e.isDisposed())return o(new Error("Item is disposed."));var r=n.locks[e.id]=new x(e);return t().then((function(t){return delete n.locks[e.id],r.dispose(),t})).then(i,o)})},e.prototype.getLock=function(e){var t;for(t in this.locks){var n=this.locks[t];if(e.intersects(n.item))return n}return null},e}(),k=function(){function e(){this._isDisposed=!1,this._onDidRevealItem=new L.d,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new L.d,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new L.d,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new L.d,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new L.d,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new L.d,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new L.d,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new L.d,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new L.d,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new L.d,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new L.d,this.onDidDisposeItem=this._onDidDisposeItem.event,this.items={}}return e.prototype.register=function(e){S.a(!this.isRegistered(e.id),"item already registered: "+e.id);var t=Object(O.e)(this._onDidRevealItem.add(e.onDidReveal),this._onExpandItem.add(e.onExpand),this._onDidExpandItem.add(e.onDidExpand),this._onCollapseItem.add(e.onCollapse),this._onDidCollapseItem.add(e.onDidCollapse),this._onDidAddTraitItem.add(e.onDidAddTrait),this._onDidRemoveTraitItem.add(e.onDidRemoveTrait),this._onDidRefreshItem.add(e.onDidRefresh),this._onRefreshItemChildren.add(e.onRefreshChildren),this._onDidRefreshItemChildren.add(e.onDidRefreshChildren),this._onDidDisposeItem.add(e.onDidDispose));this.items[e.id]={item:e,disposable:t}},e.prototype.deregister=function(e){S.a(this.isRegistered(e.id),"item not registered: "+e.id),this.items[e.id].disposable.dispose(),delete this.items[e.id]},e.prototype.isRegistered=function(e){return this.items.hasOwnProperty(e)},e.prototype.getItem=function(e){var t=this.items[e];return t?t.item:null},e.prototype.dispose=function(){this.items={},this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._isDisposed=!0},e.prototype.isDisposed=function(){return this._isDisposed},e}(),E=function(){function e(e,t,n,i,o){this._onDidCreate=new L.a,this._onDidReveal=new L.a,this.onDidReveal=this._onDidReveal.event,this._onExpand=new L.a,this.onExpand=this._onExpand.event,this._onDidExpand=new L.a,this.onDidExpand=this._onDidExpand.event,this._onCollapse=new L.a,this.onCollapse=this._onCollapse.event,this._onDidCollapse=new L.a,this.onDidCollapse=this._onDidCollapse.event,this._onDidAddTrait=new L.a,this.onDidAddTrait=this._onDidAddTrait.event,this._onDidRemoveTrait=new L.a,this.onDidRemoveTrait=this._onDidRemoveTrait.event,this._onDidRefresh=new L.a,this.onDidRefresh=this._onDidRefresh.event,this._onRefreshChildren=new L.a,this.onRefreshChildren=this._onRefreshChildren.event,this._onDidRefreshChildren=new L.a,this.onDidRefreshChildren=this._onDidRefreshChildren.event,this._onDidDispose=new L.a,this.onDidDispose=this._onDidDispose.event,this.registry=t,this.context=n,this.lock=i,this.element=o,this.id=e,this.registry.register(this),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.needsChildrenRefresh=!0,this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this.traits={},this.depth=0,this.expanded=!(!this.context.dataSource.shouldAutoexpand||!this.context.dataSource.shouldAutoexpand(this.context.tree,o)),this._onDidCreate.fire(this),this.visible=this._isVisible(),this.height=this._getHeight(),this._isDisposed=!1}return e.prototype.getElement=function(){return this.element},e.prototype.hasChildren=function(){return this.doesHaveChildren},e.prototype.getDepth=function(){return this.depth},e.prototype.isVisible=function(){return this.visible},e.prototype.setVisible=function(e){this.visible=e},e.prototype.isExpanded=function(){return this.expanded},e.prototype._setExpanded=function(e){this.expanded=e},e.prototype.reveal=function(e){void 0===e&&(e=null);var t={item:this,relativeTop:e};this._onDidReveal.fire(t)},e.prototype.expand=function(){var e=this;return this.isExpanded()||!this.doesHaveChildren||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){if(e.isExpanded()||!e.doesHaveChildren)return Promise.resolve(!1);var t={item:e};return e._onExpand.fire(t),(e.needsChildrenRefresh?e.refreshChildren(!1,!0,!0):Promise.resolve(null)).then((function(){return e._setExpanded(!0),e._onDidExpand.fire(t),!0}))})).then((function(t){return!e.isDisposed()&&(e.context.options.autoExpandSingleChildren&&t&&null!==e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.isVisible()?e.firstChild.expand().then((function(){return!0})):t)}))},e.prototype.collapse=function(e){var t=this;if(void 0===e&&(e=!1),e){var n=Promise.resolve(null);return this.forEachChild((function(e){n=n.then((function(){return e.collapse(!0)}))})),n.then((function(){return t.collapse(!1)}))}return!this.isExpanded()||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){var e={item:t};return t._onCollapse.fire(e),t._setExpanded(!1),t._onDidCollapse.fire(e),Promise.resolve(!0)}))},e.prototype.addTrait=function(e){var t={item:this,trait:e};this.traits[e]=!0,this._onDidAddTrait.fire(t)},e.prototype.removeTrait=function(e){var t={item:this,trait:e};delete this.traits[e],this._onDidRemoveTrait.fire(t)},e.prototype.hasTrait=function(e){return this.traits[e]||!1},e.prototype.getAllTraits=function(){var e,t=[];for(e in this.traits)this.traits.hasOwnProperty(e)&&this.traits[e]&&t.push(e);return t},e.prototype.getHeight=function(){return this.height},e.prototype.refreshChildren=function(t,n,i){var o=this;if(void 0===n&&(n=!1),void 0===i&&(i=!1),!i&&!this.isExpanded()){var r=function(e){e.needsChildrenRefresh=!0,e.forEachChild(r)};return r(this),Promise.resolve(this)}this.needsChildrenRefresh=!1;var s=function(){var i={item:o,isNested:n};return o._onRefreshChildren.fire(i),(o.doesHaveChildren?o.context.dataSource.getChildren(o.context.tree,o.element):Promise.resolve([])).then((function(n){if(o.isDisposed()||o.registry.isDisposed())return Promise.resolve(null);if(!Array.isArray(n))return Promise.reject(new Error("Please return an array of children."));n=n?n.slice(0):[],n=o.sort(n);for(var i={};null!==o.firstChild;)i[o.firstChild.id]=o.firstChild,o.removeChild(o.firstChild);for(var r=0,s=n.length;r=0;o--)this.onInsertItem(l[o]);for(o=this.heightMap.length-1;o>=i;o--)this.onRefreshItem(this.heightMap[o]);return a},e.prototype.onInsertItem=function(e){},e.prototype.onRemoveItems=function(e){for(var t,n=null,i=null,o=0,r=0;n=e.next();){if(o=this.indexes[n],!(t=this.heightMap[o]))return void console.error("view item doesnt exist");r-=t.height,delete this.indexes[n],this.onRemoveItem(t),null===i&&(i=o)}if(0!==r&&null!==i)for(this.heightMap.splice(i,o-i+1),o=i;o=n.top+n.height))return t;if(i===t)break;i=t}return this.heightMap.length},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.heightMap.length)},e.prototype.itemAtIndex=function(e){return this.heightMap[e]},e.prototype.itemAfter=function(e){return this.heightMap[this.indexes[e.model.id]+1]||null},e.prototype.createViewItem=function(e){throw new Error("not implemented")},e.prototype.dispose=function(){this.heightMap=[],this.indexes={}},e}(),q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=function(){function e(e,t,n){this._posx=e,this._posy=t,this._target=n}return e.prototype.preventDefault=function(){},e.prototype.stopPropagation=function(){},Object.defineProperty(e.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),e}(),Y=function(e){function t(t){var n=e.call(this,t.posx,t.posy,t.target)||this;return n.originalEvent=t,n}return q(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(G),Z=function(e){function t(t,n,i){var o=e.call(this,t,n,i.target)||this;return o.originalEvent=i,o}return q(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(G),X=n("ZQ78"),Q=n("X+cX"),J=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var $=function(){function e(e){this.context=e,this._cache={"":[]}}return e.prototype.alloc=function(e){var t=this.cache(e).pop();if(!t){var n=document.createElement("div");n.className="content";var i=document.createElement("div");i.appendChild(n);var o=null;try{o=this.context.renderer.renderTemplate(this.context.tree,e,n)}catch(e){console.error("Tree usage error: exception while rendering template"),console.error(e)}t={element:i,templateId:e,templateData:o}}return t},e.prototype.release=function(e,t){!function(e){try{e.parentElement.removeChild(e)}catch(e){}}(t.element),this.cache(e).push(t)},e.prototype.cache=function(e){return this._cache[e]||(this._cache[e]=[])},e.prototype.garbageCollect=function(){var e=this;this._cache&&Object.keys(this._cache).forEach((function(t){e._cache[t].forEach((function(n){e.context.renderer.disposeTemplate(e.context.tree,t,n.templateData),n.element=null,n.templateData=null})),delete e._cache[t]}))},e.prototype.dispose=function(){this.garbageCollect(),this._cache=null},e}(),ee=function(){function e(e,t){var n=this;this.width=0,this.needsRender=!1,this.uri=null,this.unbindDragStart=O.a.None,this._draggable=!1,this.context=e,this.model=t,this.id=this.model.id,this.row=null,this.top=0,this.height=t.getHeight(),this._styles={},t.getAllTraits().forEach((function(e){return n._styles[e]=!0})),t.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(e.prototype,"expanded",{set:function(e){e?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{set:function(e){e?this.addClass("codicon-loading"):this.removeClass("codicon-loading")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(e){this._draggable=e,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropTarget",{set:function(e){e?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),e.prototype.addClass=function(e){this._styles[e]=!0,this.render(!0)},e.prototype.removeClass=function(e){delete this._styles[e],this.render(!0)},e.prototype.render=function(e){var t=this;if(void 0===e&&(e=!1),this.model&&this.element){var n=["monaco-tree-row"];n.push.apply(n,Object.keys(this._styles)),this.model.hasChildren()&&n.push("has-children"),this.element.className=n.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var i=this.context.accessibilityProvider,o=i.getAriaLabel(this.context.tree,this.model.getElement());if(o&&this.element.setAttribute("aria-label",o),i.getPosInSet&&i.getSetSize&&(this.element.setAttribute("aria-setsize",i.getSetSize()),this.element.setAttribute("aria-posinset",i.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var r=F.L(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",r)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var a=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(a!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),a?(this.uri=a,this.draggable=!0,this.unbindDragStart=s.j(this.element,"dragstart",(function(e){t.onDragStart(e)}))):this.uri=null),!e&&this.element){var u=0;if(this.context.horizontalScrolling){var l=window.getComputedStyle(this.element);u=parseFloat(l.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width=P.h?"-moz-fit-content":"fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(e){console.error("Tree usage error: exception while rendering element"),console.error(e)}this.context.horizontalScrolling&&(this.width=s.B(this.element)+u,this.element.style.width="")}}},e.prototype.insertInDOM=function(e,t){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[ne.BINDING]=this),!this.element.parentElement){if(null===t)e.appendChild(this.element);else try{e.insertBefore(this.element,t)}catch(t){console.warn("Failed to locate previous tree element"),e.appendChild(this.element)}this.render()}},e.prototype.removeFromDOM=function(){this.row&&(this.unbindDragStart.dispose(),this.uri=null,this.element[ne.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null)},e.prototype.dispose=function(){this.row=null},e}(),te=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o.row={element:i,templateData:null,templateId:null},o}return J(t,e),t.prototype.render=function(){if(this.model&&this.element){var e=["monaco-tree-wrapper"];e.push.apply(e,Object.keys(this._styles)),this.model.hasChildren()&&e.push("has-children"),this.element.className=e.join(" ")}},t.prototype.insertInDOM=function(e,t){},t.prototype.removeFromDOM=function(){},t}(ee);var ne=function(e){function t(n,i){var o=e.call(this)||this;o.model=null,o.lastPointerType="",o.lastClickTimeStamp=0,o.contentWidthUpdateDelayer=new Q.a(50),o.isRefreshing=!1,o.refreshingPreviousChildrenIds={},o.currentDragAndDropData=null,o.currentDropTarget=null,o.currentDropTargets=null,o.currentDropDisposable=O.a.None,o.gestureDisposable=O.a.None,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.dragAndDropMouseY=null,o.highlightedItemWasDraggable=!1,o.onHiddenScrollTop=null,o._onDOMFocus=new L.a,o.onDOMFocus=o._onDOMFocus.event,o._onDOMBlur=new L.a,o._onDidScroll=new L.a,t.counter++,o.instance=t.counter;var r=void 0===n.options.horizontalScrollMode?2:n.options.horizontalScrollMode;o.horizontalScrolling=2!==r,o.context={dataSource:n.dataSource,renderer:n.renderer,controller:n.controller,dnd:n.dnd,filter:n.filter,sorter:n.sorter,tree:n.tree,accessibilityProvider:n.accessibilityProvider,options:n.options,cache:new $(n),horizontalScrolling:o.horizontalScrolling},o.modelListeners=[],o.viewListeners=[],o.items={},o.domNode=document.createElement("div"),o.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+o.instance,o.domNode.tabIndex=n.options.preventRootFocus?-1:0,o.styleElement=s.w(o.domNode),o.treeStyler=n.styler||new w(o.styleElement,"monaco-tree-instance-"+o.instance),o.domNode.setAttribute("role","tree"),o.context.options.ariaLabel&&o.domNode.setAttribute("aria-label",o.context.options.ariaLabel),o.context.options.alwaysFocused&&s.f(o.domNode,"focused"),o.context.options.paddingOnRow||s.f(o.domNode,"no-row-padding"),o.wrapper=document.createElement("div"),o.wrapper.className="monaco-tree-wrapper",o.scrollableElement=new U.b(o.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:r,vertical:void 0!==n.options.verticalScrollMode?n.options.verticalScrollMode:1,useShadows:n.options.useShadows}),o.scrollableElement.onScroll((function(e){o.render(e.scrollTop,e.height,e.scrollLeft,e.width,e.scrollWidth),o._onDidScroll.fire()})),P.i?(o.wrapper.style.msTouchAction="none",o.wrapper.style.msContentZooming="none"):o.gestureDisposable=A.b.addTarget(o.wrapper),o.rowsContainer=document.createElement("div"),o.rowsContainer.className="monaco-tree-rows",n.options.showTwistie&&(o.rowsContainer.className+=" show-twisties");var a=s.Z(o.domNode);return o.viewListeners.push(a.onDidFocus((function(){return o.onFocus()}))),o.viewListeners.push(a.onDidBlur((function(){return o.onBlur()}))),o.viewListeners.push(a),o.viewListeners.push(s.j(o.domNode,"keydown",(function(e){return o.onKeyDown(e)}))),o.viewListeners.push(s.j(o.domNode,"keyup",(function(e){return o.onKeyUp(e)}))),o.viewListeners.push(s.j(o.domNode,"mousedown",(function(e){return o.onMouseDown(e)}))),o.viewListeners.push(s.j(o.domNode,"mouseup",(function(e){return o.onMouseUp(e)}))),o.viewListeners.push(s.j(o.wrapper,"auxclick",(function(e){e&&1===e.button&&o.onMouseMiddleClick(e)}))),o.viewListeners.push(s.j(o.wrapper,"click",(function(e){return o.onClick(e)}))),o.viewListeners.push(s.j(o.domNode,"contextmenu",(function(e){return o.onContextMenu(e)}))),o.viewListeners.push(s.j(o.wrapper,A.a.Tap,(function(e){return o.onTap(e)}))),o.viewListeners.push(s.j(o.wrapper,A.a.Change,(function(e){return o.onTouchChange(e)}))),P.i&&(o.viewListeners.push(s.j(o.wrapper,"MSPointerDown",(function(e){return o.onMsPointerDown(e)}))),o.viewListeners.push(s.j(o.wrapper,"MSGestureTap",(function(e){return o.onMsGestureTap(e)}))),o.viewListeners.push(s.m(o.wrapper,"MSGestureChange",(function(e){return o.onThrottledMsGestureChange(e)}),(function(e,t){t.stopPropagation(),t.preventDefault();var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n})))),o.viewListeners.push(s.j(window,"dragover",(function(e){return o.onDragOver(e)}))),o.viewListeners.push(s.j(o.wrapper,"drop",(function(e){return o.onDrop(e)}))),o.viewListeners.push(s.j(window,"dragend",(function(e){return o.onDragEnd(e)}))),o.viewListeners.push(s.j(window,"dragleave",(function(e){return o.onDragOver(e)}))),o.wrapper.appendChild(o.rowsContainer),o.domNode.appendChild(o.scrollableElement.getDomNode()),i.appendChild(o.domNode),o.lastRenderTop=0,o.lastRenderHeight=0,o.didJustPressContextMenuKey=!1,o.currentDropTarget=null,o.currentDropTargets=[],o.shouldInvalidateDropReaction=!1,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.onRowsChanged(),o.layout(),o.setupMSGesture(),o.applyStyles(n.options),o}return J(t,e),t.prototype.applyStyles=function(e){this.treeStyler.style(e)},t.prototype.createViewItem=function(e){return new ee(this.context,e)},t.prototype.getHTMLElement=function(){return this.domNode},t.prototype.focus=function(){this.domNode.focus()},t.prototype.isFocused=function(){return document.activeElement===this.domNode},t.prototype.blur=function(){this.domNode.blur()},t.prototype.setupMSGesture=function(){var e=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout((function(){return e.msGesture.target=e.wrapper}),100))},t.prototype.isTreeVisible=function(){return null===this.onHiddenScrollTop},t.prototype.layout=function(e,t){this.isTreeVisible()&&(this.viewHeight=e||s.A(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=t||s.B(this.wrapper)))},t.prototype.render=function(e,t,n,i,o){var r,s,a=e,u=e+t,l=this.lastRenderTop+this.lastRenderHeight;for(r=this.indexAfter(u)-1,s=this.indexAt(Math.max(l,a));r>=s;r--)this.insertItemInDOM(this.itemAtIndex(r));for(r=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(u))-1,s=this.indexAt(a);r>=s;r--)this.insertItemInDOM(this.itemAtIndex(r));for(r=this.indexAt(this.lastRenderTop),s=Math.min(this.indexAt(a),this.indexAfter(l));r1e3,l=[],c=!1;if(!u)c=(l=new R.a({getElements:function(){return o}},{getElements:function(){return r.map((function(e){return e.id}))}},null).ComputeDiff(!1).changes).some((function(e){if(e.modifiedLength>0)for(var n=e.modifiedStart,i=e.modifiedStart+e.modifiedLength;n0&&this.onRemoveItems(new z.a(o,p.originalStart,p.originalStart+p.originalLength)),p.modifiedLength>0){var f=r[p.modifiedStart-1]||n;f=f.getDepth()>0?f:null,this.onInsertItems(new z.a(r,p.modifiedStart,p.modifiedStart+p.modifiedLength),f?f.id:null)}}else(u||l.length)&&(this.onRemoveItems(new z.a(o)),this.onInsertItems(new z.a(r),n.getDepth()>0?n.id:null));(u||l.length)&&this.onRowsChanged()}},t.prototype.onItemRefresh=function(e){this.onItemsRefresh([e])},t.prototype.onItemsRefresh=function(e){var t=this;this.onRefreshItemSet(e.filter((function(e){return t.items.hasOwnProperty(e.id)}))),this.onRowsChanged()},t.prototype.onItemExpanding=function(e){var t=this.items[e.item.id];t&&(t.expanded=!0)},t.prototype.onItemExpanded=function(e){var t=e.item,n=this.items[t.id];if(n){n.expanded=!0;var i=this.onInsertItems(t.getNavigator(),t.id)||0,o=this.scrollTop;n.top+n.height<=this.scrollTop&&(o+=i),this.onRowsChanged(o)}},t.prototype.onItemCollapsing=function(e){var t=e.item,n=this.items[t.id];n&&(n.expanded=!1,this.onRemoveItems(new z.e(t.getNavigator(),(function(e){return e&&e.id}))),this.onRowsChanged())},t.prototype.onItemReveal=function(e){var t=e.item,n=e.relativeTop,i=this.items[t.id];if(i)if(null!==n){n=(n=n<0?0:n)>1?1:n;var o=i.height-this.viewHeight;this.scrollTop=o*n+i.top}else{var r=i.top+i.height,s=this.scrollTop+this.viewHeight;i.top=s&&(this.scrollTop=r-this.viewHeight)}},t.prototype.onItemAddTrait=function(e){var t=e.item,n=e.trait,i=this.items[t.id];i&&i.addClass(n),"highlighted"===n&&(s.f(this.domNode,n),i&&(this.highlightedItemWasDraggable=!!i.draggable,i.draggable&&(i.draggable=!1)))},t.prototype.onItemRemoveTrait=function(e){var t=e.item,n=e.trait,i=this.items[t.id];i&&i.removeClass(n),"highlighted"===n&&(s.P(this.domNode,n),this.highlightedItemWasDraggable&&(i.draggable=!0),this.highlightedItemWasDraggable=!1)},t.prototype.onModelFocusChange=function(){var e=this.model&&this.model.getFocus();s.Y(this.domNode,"no-focused-item",!e),e?this.domNode.setAttribute("aria-activedescendant",F.L(this.context.dataSource.getId(this.context.tree,e))):this.domNode.removeAttribute("aria-activedescendant")},t.prototype.onInsertItem=function(e){var t=this;e.onDragStart=function(n){t.onDragStart(e,n)},e.needsRender=!0,this.refreshViewItem(e),this.items[e.id]=e},t.prototype.onRefreshItem=function(e,t){void 0===t&&(t=!1),e.needsRender=e.needsRender||t,this.refreshViewItem(e)},t.prototype.onRemoveItem=function(e){this.removeItemFromDOM(e),e.dispose(),delete this.items[e.id]},t.prototype.refreshViewItem=function(e){e.render(),this.shouldBeRendered(e)?this.insertItemInDOM(e):this.removeItemFromDOM(e)},t.prototype.onClick=function(e){if(!this.lastPointerType||"mouse"===this.lastPointerType){var t=new j.b(e),n=this.getItemAround(t.target);n&&(P.i&&Date.now()-this.lastClickTimeStamp<300&&(t.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,n.model.getElement(),t))}},t.prototype.onMouseMiddleClick=function(e){if(this.context.controller.onMouseMiddleClick){var t=new j.b(e),n=this.getItemAround(t.target);n&&this.context.controller.onMouseMiddleClick(this.context.tree,n.model.getElement(),t)}},t.prototype.onMouseDown=function(e){if(this.didJustPressContextMenuKey=!1,this.context.controller.onMouseDown&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new j.b(e);if(!(t.ctrlKey&&u.f&&u.e)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseDown(this.context.tree,n.model.getElement(),t)}}},t.prototype.onMouseUp=function(e){if(this.context.controller.onMouseUp&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new j.b(e);if(!(t.ctrlKey&&u.f&&u.e)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseUp(this.context.tree,n.model.getElement(),t)}}},t.prototype.onTap=function(e){var t=this.getItemAround(e.initialTarget);t&&this.context.controller.onTap(this.context.tree,t.model.getElement(),e)},t.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},t.prototype.onContextMenu=function(e){var t,n;if(e instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var i=new W.a(e),o=void 0;if(n=this.model.getFocus()){var r=this.context.dataSource.getId(this.context.tree,n),a=this.items[r];o=s.C(a.element)}else n=this.model.getInput(),o=s.C(this.inputItem.element);t=new Z(o.left+o.width,o.top,i)}else{var u=new j.b(e),l=this.getItemAround(u.target);if(!l)return;n=l.model.getElement(),t=new Y(u)}this.context.controller.onContextMenu(this.context.tree,n,t)},t.prototype.onKeyDown=function(e){var t=new W.a(e);this.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode,t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()||(this.didJustPressContextMenuKey&&(t.preventDefault(),t.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,t))},t.prototype.onKeyUp=function(e){this.didJustPressContextMenuKey&&this.onContextMenu(e),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new W.a(e))},t.prototype.onDragStart=function(e,t){if(!this.model.getHighlight()){var n,i=e.model.getElement(),o=this.model.getSelection();if(n=o.indexOf(i)>-1?o:[i],t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setData(X.a.RESOURCES,JSON.stringify([e.uri])),t.dataTransfer.setDragImage){var r=void 0;r=this.context.dnd.getDragLabel?this.context.dnd.getDragLabel(this.context.tree,n):String(n.length);var s=document.createElement("div");s.className="monaco-tree-drag-image",s.textContent=r,document.body.appendChild(s),t.dataTransfer.setDragImage(s,-10,-10),setTimeout((function(){return document.body.removeChild(s)}),0)}this.currentDragAndDropData=new V(n),X.c.CurrentDragAndDropData=new B(n),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new j.a(t))}},t.prototype.setupDragAndDropScrollInterval=function(){var e=this,t=s.F(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval((function(){if(null!==e.dragAndDropMouseY){var n=e.dragAndDropMouseY-t,i=0,o=e.viewHeight-35;n<35?i=Math.max(-14,.2*(n-35)):n>o&&(i=Math.min(14,.2*(n-o))),e.scrollTop+=i}}),10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout((function(){e.cancelDragAndDropScrollInterval(),e.dragAndDropScrollTimeout=null}),1e3))},t.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},t.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},t.prototype.onDragOver=function(e){var t=this;e.preventDefault();var n,i=new j.a(e),o=this.getItemAround(i.target);if(!o||0===i.posx&&0===i.posy&&i.browserEvent.type===s.d.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=i.posy,!this.currentDragAndDropData)if(X.c.CurrentDragAndDropData)this.currentDragAndDropData=X.c.CurrentDragAndDropData;else{if(!i.dataTransfer.types)return!1;this.currentDragAndDropData=new H}this.currentDragAndDropData.update(i.browserEvent.dataTransfer);var r,a=o.model;do{if(n=a?a.getElement():this.model.getInput(),!(r=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,n,i))||1!==r.bubble)break;a=a&&a.parent}while(a);if(!a)return this.currentDropElement=null,!1;var u=r&&r.accept;u?(this.currentDropElement=a.getElement(),i.preventDefault(),i.dataTransfer.dropEffect=0===r.effect?"copy":"move"):this.currentDropElement=null;var l,c,d=a.id===this.inputItem.id?this.inputItem:this.items[a.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==d||(l=this.currentDropElementReaction,c=r,!(!l&&!c||l&&c&&l.accept===c.accept&&l.bubble===c.bubble&&l.effect===c.effect)))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=d,this.currentDropElementReaction=r,u)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),0===r.bubble)for(var h=a.getNavigator(),p=void 0;p=h.next();)(o=this.items[p.id])&&(o.dropTarget=!0,this.currentDropTargets.push(o));if(r.autoExpand){var f=Object(Q.l)(500);this.currentDropDisposable=O.h((function(){return f.cancel()})),f.then((function(){return t.context.tree.expand(t.currentDropElement)})).then((function(){return t.shouldInvalidateDropReaction=!0}))}}return!0},t.prototype.onDrop=function(e){if(this.currentDropElement){var t=new j.a(e);t.preventDefault(),this.currentDragAndDropData.update(t.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,t),this.onDragEnd(e)}this.cancelDragAndDropScrollInterval()},t.prototype.onDragEnd=function(e){this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,X.c.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},t.prototype.onFocus=function(){this.context.options.alwaysFocused||s.f(this.domNode,"focused"),this._onDOMFocus.fire()},t.prototype.onBlur=function(){this.context.options.alwaysFocused||s.P(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},t.prototype.onMsPointerDown=function(e){if(this.msGesture){var t=e.pointerType;t!==(e.MSPOINTER_TYPE_MOUSE||"mouse")?t===(e.MSPOINTER_TYPE_TOUCH||"touch")&&(this.lastPointerType="touch",e.stopPropagation(),e.preventDefault(),this.msGesture.addPointer(e.pointerId)):this.lastPointerType="mouse"}},t.prototype.onThrottledMsGestureChange=function(e){this.scrollTop-=e.translationY},t.prototype.onMsGestureTap=function(e){e.initialTarget=document.elementFromPoint(e.clientX,e.clientY),this.onTap(e)},t.prototype.insertItemInDOM=function(e){var t=null,n=this.itemAfter(e);n&&n.element&&(t=n.element),e.insertInDOM(this.rowsContainer,t)},t.prototype.removeItemFromDOM=function(e){e&&e.removeFromDOM()},t.prototype.shouldBeRendered=function(e){return e.topthis.lastRenderTop},t.prototype.getItemAround=function(e){var n=this.inputItem,i=e;do{if(i[t.BINDING]&&(n=i[t.BINDING]),i===this.wrapper||i===this.domNode)return n;if(i===this.scrollableElement.getDomNode()||i===document.body)return}while(i=i.parentElement)},t.prototype.releaseModel=function(){this.model&&(this.modelListeners=O.f(this.modelListeners),this.model=null)},t.prototype.dispose=function(){var t=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=O.f(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach((function(e){return t.items[e].removeFromDOM()})),this.context.cache&&this.context.cache.dispose(),this.gestureDisposable.dispose(),e.prototype.dispose.call(this)},t.BINDING="monaco-tree-row",t.LOADING_DECORATION_DELAY=800,t.counter=0,t}(K),ie=n("zrhQ"),oe=n("qj0h"),re=function(e,t,n){if(void 0===n&&(n={}),this.tree=e,this.configuration=t,this.options=n,!t.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=t.dataSource,this.renderer=t.renderer,this.controller=t.controller||new _({clickBehavior:1,keyboardSupport:"boolean"!=typeof n.keyboardSupport||n.keyboardSupport}),this.dnd=t.dnd||new b,this.filter=t.filter||new y,this.sorter=t.sorter,this.accessibilityProvider=t.accessibilityProvider||new C,this.styler=t.styler},se={listFocusBackground:ie.a.fromHex("#073655"),listActiveSelectionBackground:ie.a.fromHex("#0E639C"),listActiveSelectionForeground:ie.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:ie.a.fromHex("#094771"),listFocusAndSelectionForeground:ie.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:ie.a.fromHex("#3F3F46"),listHoverBackground:ie.a.fromHex("#2A2D2E"),listDropBackground:ie.a.fromHex("#383B3D")},ae=function(){function e(e,t,n){void 0===n&&(n={}),this._onDidChangeFocus=new L.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new L.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new L.f,this._onDidExpandItem=new L.f,this._onDidCollapseItem=new L.f,this._onDispose=new L.a,this.onDidDispose=this._onDispose.event,this.container=e,Object(oe.g)(n,se,!1),n.twistiePixels="number"==typeof n.twistiePixels?n.twistiePixels:32,n.showTwistie=!1!==n.showTwistie,n.indentPixels="number"==typeof n.indentPixels?n.indentPixels:12,n.alwaysFocused=!0===n.alwaysFocused,n.useShadows=!1!==n.useShadows,n.paddingOnRow=!1!==n.paddingOnRow,n.showLoading=!1!==n.showLoading,this.context=new re(this,t,n),this.model=new T(this.context),this.view=new ne(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return e.prototype.style=function(e){this.view.applyStyles(e)},Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDOMFocus},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.domFocus=function(){this.view.focus()},e.prototype.isDOMFocused=function(){return this.view.isFocused()},e.prototype.domBlur=function(){this.view.blur()},e.prototype.setInput=function(e){return this.model.setInput(e)},e.prototype.getInput=function(){return this.model.getInput()},e.prototype.expand=function(e){return this.model.expand(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.collapse(e,t)},e.prototype.toggleExpansion=function(e,t){return void 0===t&&(t=!1),this.model.toggleExpansion(e,t)},e.prototype.isExpanded=function(e){return this.model.isExpanded(e)},e.prototype.reveal=function(e,t){return void 0===t&&(t=null),this.model.reveal(e,t)},e.prototype.getHighlight=function(){return this.model.getHighlight()},e.prototype.clearHighlight=function(e){this.model.setHighlight(null,e)},e.prototype.setSelection=function(e,t){this.model.setSelection(e,t)},e.prototype.getSelection=function(){return this.model.getSelection()},e.prototype.clearSelection=function(e){this.model.setSelection([],e)},e.prototype.setFocus=function(e,t){this.model.setFocus(e,t)},e.prototype.getFocus=function(){return this.model.getFocus()},e.prototype.focusNext=function(e,t){this.model.focusNext(e,t)},e.prototype.focusPrevious=function(e,t){this.model.focusPrevious(e,t)},e.prototype.focusParent=function(e){this.model.focusParent(e)},e.prototype.focusFirstChild=function(e){this.model.focusFirstChild(e)},e.prototype.focusFirst=function(e,t){this.model.focusFirst(e,t)},e.prototype.focusNth=function(e,t){this.model.focusNth(e,t)},e.prototype.focusLast=function(e,t){this.model.focusLast(e,t)},e.prototype.focusNextPage=function(e){this.view.focusNextPage(e)},e.prototype.focusPreviousPage=function(e){this.view.focusPreviousPage(e)},e.prototype.clearFocus=function(e){this.model.setFocus(null,e)},e.prototype.dispose=function(){this._onDispose.fire(),this.model.dispose(),this.view.dispose(),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},e}(),ue=(n("HyZH"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),le={progressBarBackground:ie.a.fromHex("#0E70C0")},ce=function(e){function t(t,n){var i=e.call(this)||this;return i.options=n||Object.create(null),Object(oe.g)(i.options,le,!1),i.workedVal=0,i.progressBarBackground=i.options.progressBarBackground,i._register(i.showDelayedScheduler=new Q.d((function(){return Object(s.X)(i.element)}),0)),i.create(t),i}return ue(t,e),t.prototype.create=function(e){this.element=document.createElement("div"),Object(s.f)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(s.f)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()},t.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(s.Q)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0},t.prototype.stop=function(){return this.doDone(!1)},t.prototype.doDone=function(e){var t=this;return Object(s.f)(this.element,"done"),Object(s.I)(this.element,"infinite")?(this.bit.style.opacity="0",e?setTimeout((function(){return t.off()}),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((function(){return t.off()}),200):this.off()),this},t.prototype.hide=function(){Object(s.J)(this.element),this.showDelayedScheduler.cancel()},t.prototype.style=function(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()},t.prototype.applyStyles=function(){if(this.bit){var e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}},t}(O.a),de=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return de(t,e),t.prototype.onContextMenu=function(t,n,i){return u.e?this.onLeftClick(t,n,i):e.prototype.onContextMenu.call(this,t,n,i)},t}(_),pe={background:ie.a.fromHex("#1E1E1E"),foreground:ie.a.fromHex("#CCCCCC"),pickerGroupForeground:ie.a.fromHex("#0097FB"),pickerGroupBorder:ie.a.fromHex("#3F3F46"),widgetShadow:ie.a.fromHex("#000000"),progressBarBackground:ie.a.fromHex("#0E70C0")},fe=a.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),ge=function(e){function t(t,n,i){var o=e.call(this)||this;return o.isDisposed=!1,o.container=t,o.callbacks=n,o.options=i,o.styles=i||Object.create(null),Object(oe.g)(o.styles,pe,!1),o.model=null,o}return de(t,e),t.prototype.getModel=function(){return this.model},t.prototype.create=function(){var e=this;this.element=document.createElement("div"),s.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(s.j(this.element,s.d.CONTEXT_MENU,(function(e){return s.c.stop(e,!0)}))),this._register(s.j(this.element,s.d.FOCUS,(function(t){return e.gainingFocus()}),!0)),this._register(s.j(this.element,s.d.BLUR,(function(t){return e.loosingFocus(t)}),!0)),this._register(s.j(this.element,s.d.KEY_DOWN,(function(t){var n=new W.a(t);if(9===n.keyCode)s.c.stop(t,!0),e.hide(2);else if(2===n.keyCode&&!n.altKey&&!n.ctrlKey&&!n.metaKey){var i=t.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");n.shiftKey&&n.target===i[0]?(s.c.stop(t,!0),i[i.length-1].focus()):n.shiftKey||n.target!==i[i.length-1]||(s.c.stop(t,!0),i[0].focus())}}))),this.progressBar=this._register(new ce(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),s.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new f.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:fe,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(s.j(this.inputBox.inputElement,s.d.INPUT,(function(t){return e.onType()}))),this._register(s.j(this.inputBox.inputElement,s.d.KEY_DOWN,(function(t){var n=new W.a(t),i=e.shouldOpenInBackground(n);if(2!==n.keyCode)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)s.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.inputBox.inputElement.selectionStart===e.inputBox.inputElement.selectionEnd&&(e.inputBox.inputElement.selectionStart=e.inputBox.value.length);else if(3===n.keyCode||i){s.c.stop(t,!0);var o=e.tree.getFocus();o&&e.elementSelected(o,t,i?2:1)}}))),this.resultCount=document.createElement("div"),s.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),s.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var t=this.options.treeCreator||function(e,t,n){return new ae(e,t,n)};return this.tree=this._register(t(this.treeContainer,{dataSource:new c(this),controller:new he({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new p(this,this.styles),filter:new h(this),accessibilityProvider:new d(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:a.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus((function(t){e.elementFocused(t.focus,t)}))),this._register(this.tree.onDidChangeSelection((function(t){if(t.selection&&t.selection.length>0){var n=t.payload&&t.payload.originalEvent instanceof j.b?t.payload.originalEvent:void 0,i=!!n&&e.shouldOpenInBackground(n);e.elementSelected(t.selection[0],t,i?2:1)}}))),this._register(s.j(this.treeContainer,s.d.KEY_DOWN,(function(t){var n=new W.a(t);if(e.quickNavigateConfiguration)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)s.c.stop(t,!0),e.navigateInTree(n.keyCode);else if(3===n.keyCode){s.c.stop(t,!0);var i=e.tree.getFocus();i&&e.elementSelected(i,t)}}))),this._register(s.j(this.treeContainer,s.d.KEY_UP,(function(t){var n=new W.a(t),i=n.keyCode;if(e.quickNavigateConfiguration&&e.quickNavigateConfiguration.keybindings.some((function(e){var t=e.getParts(),o=t[0];return!t[1]&&(o.shiftKey&&4===i?!(n.ctrlKey||n.altKey||n.metaKey):!(!o.altKey||6!==i)||(!(!o.ctrlKey||5!==i)||!(!o.metaKey||57!==i)))}))){var o=e.tree.getFocus();o&&e.elementSelected(o,t)}}))),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(s.j(this.treeContainer,s.d.KEY_DOWN,(function(t){var n=new W.a(t);e.quickNavigateConfiguration||18!==n.keyCode&&16!==n.keyCode&&12!==n.keyCode&&11!==n.keyCode||(s.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.treeElement.focus())}))),this.element},t.prototype.style=function(e){this.styles=e,this.applyStyles()},t.prototype.applyStyles=function(){if(this.element){var e=this.styles.foreground?this.styles.foreground.toString():"",t=this.styles.background?this.styles.background.toString():"",n=this.styles.borderColor?this.styles.borderColor.toString():"",i=this.styles.widgetShadow?this.styles.widgetShadow.toString():"";this.element.style.color=e,this.element.style.backgroundColor=t,this.element.style.borderColor=n,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.boxShadow=i?"0 5px 8px "+i:""}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},t.prototype.shouldOpenInBackground=function(e){if(e instanceof W.a){if(17!==e.keyCode)return!1;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return!1;var t=this.inputBox.inputElement;return t.selectionEnd===this.inputBox.value.length&&t.selectionStart===t.selectionEnd}return e.middleButton},t.prototype.onType=function(){var e=this.inputBox.value;this.helpText&&(e?s.J(this.helpText):s.X(this.helpText)),this.callbacks.onType(e)},t.prototype.navigateInTree=function(e,t){var n=this.tree.getInput(),i=n?n.entries:[],o=this.tree.getFocus();switch(e){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:t?this.tree.focusPrevious():this.tree.focusNext()}var r=this.tree.getFocus();i.length>1&&o===r&&(16===e||2===e&&t?this.tree.focusLast():(18===e||2===e&&!t)&&this.tree.focusFirst()),(r=this.tree.getFocus())&&this.tree.reveal(r)},t.prototype.elementFocused=function(e,t){if(e&&this.isVisible()){var n=this.treeElement.getAttribute("aria-activedescendant");n?this.inputElement.setAttribute("aria-activedescendant",n):this.inputElement.removeAttribute("aria-activedescendant");var i={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(e,0,i)}},t.prototype.elementSelected=function(e,t,n){var i=!0;if(this.isVisible()){var o=n||1,r={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};i=this.model.runner.run(e,o,r)}i&&this.hide(0)},t.prototype.extractKeyMods=function(e){return{ctrlCmd:e&&(e.ctrlKey||e.metaKey||e.payload&&e.payload.originalEvent&&(e.payload.originalEvent.ctrlKey||e.payload.originalEvent.metaKey)),alt:e&&(e.altKey||e.payload&&e.payload.originalEvent&&e.payload.originalEvent.altKey)}},t.prototype.show=function(e,t){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=t?t.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(s.J(this.inputContainer),s.X(this.element),this.tree.domFocus()):(s.X(this.inputContainer),s.X(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||l.j(e)?s.J(this.helpText):s.X(this.helpText)),l.j(e)?this.doShowWithPrefix(e):(t&&t.value&&this.restoreLastInput(t.value),this.doShowWithInput(e,t&&t.autoFocus?t.autoFocus:{})),t&&t.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(t.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},t.prototype.restoreLastInput=function(e){this.inputBox.value=e,this.inputBox.select(),this.callbacks.onType(e)},t.prototype.doShowWithPrefix=function(e){this.inputBox.value=e,this.callbacks.onType(e)},t.prototype.doShowWithInput=function(e,t){this.setInput(e,t)},t.prototype.setInputAndLayout=function(e,t){var n=this;this.treeContainer.style.height=this.getHeight(e)+"px",this.tree.setInput(null).then((function(){return n.model=e,n.inputElement.setAttribute("aria-haspopup",String(e&&e.entries&&e.entries.length>0)),n.tree.setInput(e)})).then((function(){n.tree.layout();var i=e?e.entries.filter((function(t){return n.isElementVisible(e,t)})):[];n.updateResultCount(i.length),i.length&&n.autoFocus(e,i,t)}))},t.prototype.isElementVisible=function(e,t){return!e.filter||e.filter.isVisible(t)},t.prototype.autoFocus=function(e,t,n){if(void 0===n&&(n={}),n.autoFocusPrefixMatch){for(var i=void 0,o=void 0,r=n.autoFocusPrefixMatch,s=r.toLowerCase(),a=0,u=t;an.autoFocusIndex&&(this.tree.focusNth(n.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):n.autoFocusSecondEntry?t.length>1&&this.tree.focusNth(1):n.autoFocusLastEntry&&t.length>1&&(this.tree.focusLast(),this.tree.reveal(this.tree.getFocus()))},t.prototype.getHeight=function(e){var n=this,i=e.renderer;if(!e){var o=i.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*o:0}var r,s=0;this.layoutDimensions&&this.layoutDimensions.height&&(r=.4*(this.layoutDimensions.height-50)),(!r||r>t.MAX_ITEMS_HEIGHT)&&(r=t.MAX_ITEMS_HEIGHT);for(var a=e.entries.filter((function(t){return n.isElementVisible(e,t)})),u=this.options.maxItemsToShow||a.length,l=0;l=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},we=function(e,t){return function(n,i){t(n,i,e)}},Se=function(){function e(e,t){this.themeService=t,this.widget=null,this.rangeHighlightDecorationId=null,this.lastKnownEditorSelection=null,this.editor=e}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},e.prototype.run=function(e){var t=this;this.widget&&(this.widget.destroy(),this.widget=null);var n=function(e){t.clearDecorations(),e&&t.lastKnownEditorSelection&&(t.editor.setSelection(t.lastKnownEditorSelection),t.editor.revealRangeInCenterIfOutsideViewport(t.lastKnownEditorSelection,0)),t.lastKnownEditorSelection=null,document.activeElement!==document.body&&e||t.editor.focus()};this.widget=new _e(this.editor,(function(){return n(!1)}),(function(){return n(!0)}),(function(n){t.widget.setInput(e.getModel(n),e.getAutoFocus(n))}),{inputAriaLabel:e.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},e.prototype.decorateLine=function(t,n){var i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var o=[{range:t,options:e._RANGE_HIGHLIGHT_DECORATION}],r=n.deltaDecorations(i,o);this.rangeHighlightDecorationId=r[0]},e.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},e.ID="editor.controller.quickOpenController",e._RANGE_HIGHLIGHT_DECORATION=r.a.register({className:"rangeHighlight",isWholeLine:!0}),e=Ce([we(1,be.c)],e)}(),Oe=function(e){function t(t,n){var i=e.call(this,n)||this;return i._inputAriaLabel=t,i}return ye(t,e),t.prototype.getController=function(e){return Se.get(e)},t.prototype._show=function(e,t){e.run({inputAriaLabel:this._inputAriaLabel,getModel:function(e){return t.getModel(e)},getAutoFocus:function(e){return t.getAutoFocus(e)}})},t}(o.b);Object(o.h)(Se.ID,Se)},s7Km: /*!*******************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js ***! @@ -2537,44 +2537,44 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/tokensStore.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),p=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-10?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=oD&&(D=t,L=e)})),4===L&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(L=2)}return{insertSpaces:O,tabSize:L}}function y(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function O(e){return(4&e.metadata)>>>2==1}function L(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function D(e){return(8&e.metadata)>>>3==1}function x(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function N(e,t){e.metadata=207&e.metadata|t<<4}function k(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var E=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,L(this,!1),N(this,1),x(this,!1),k(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;L(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),N(this,this.options.stickiness),x(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),k(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new E(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEndn)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){A(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEndn?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;rn?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;rn)&&(1!==i&&(2===i||t))}function P(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,p=e.end,f=!1;t<=d&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,f=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!f&&T(p,a,t,g)&&(f=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!f&&T(p,a,t+c,g)&&(f=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!f&&T(p,a,n,g)&&(e.end=t+l,f=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),f||(e.end=Math.max(0,p+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===y(n.parent);){var i;if(n.parent===n.parent.parent.left)1===y(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===y(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),B(n),void(e.root.parent=I);var o,r=1===y(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,y(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===y(n);)n===n.parent.left?(1===y(o=n.parent.right)&&(C(o,0),C(n.parent,1),j(e,n.parent),o=n.parent.right),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,y(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===y(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.left)&&(C(o.right,0),C(o,1),j(e,o),o=n.parent.left),C(o,y(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function j(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function V(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=V(e)}function H(e){for(;e!==I;){var t=V(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function Q(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function J(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var p=c+1;p=_)return l;this.positionInBuffer(e,f(h.index)-m,b);var y=this.getLineFeedCnt(e.piece.bufferIndex,o,b),C=b.line===o.line?b.column-o.column+i:b.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+y,C,n+y,w),h,a),f(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var p=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(p>=1){var f=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=f[l.line+p],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=p}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var b=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var y=d===e.startLineNumber?e.startColumn-1:0;b=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,y,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var p=e.simpleSearch,f=p.length,g=n.length,m=-f;-1!==(m=n.indexOf(p,m+f));)if((!d||Object(ie.e)(d,n,g,m,f))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+f+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var p=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,p),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var f=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;re)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var O=v.length;u0&&v[u-1].lineNumber===b)){var L=v[u].oldContent,D=this.getLineContent(b);0!==D.length&&D!==L&&-1===s.q(D)&&S.push(b)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u0){var h=a.lines.length,p=a.lines[0],f=a.lines[h-1];d=1===h?new c.a(u,l,u,l+p.length):new c.a(u,l,u+h-1,f.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),pe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.i(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new pe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},be=function(){this.changeType=5},ye=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new Ee,n._tokenizationSupport=null,n._register(Oe.B.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new xe.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new xe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Le.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Ve(e){var t=new fe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?Ve(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=Be(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Le.a,l._languageRegistryListener=Pe.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.M(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new xe.d,l._tokens2=new xe.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=b(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=Be(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ye([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ye([new be],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=b(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;othis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.z(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.z(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.z(a),c=s.z(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.z(u),p=s.z(l);return h||p?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&p?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;su.endLineNumber,f=u.startLineNumber>_.endLineNumber;if(!p&&!f){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(b.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var f=l.range.startLineNumber,g=l.range.endLineNumber,m=g-f,v=d,_=Math.min(m,v),b=v-m,y=_;y>=0;y--){var C=f+y,w=r-u-b+C;a.push(new me(C,this.getLineContent(w)))}if(_this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;tthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;nthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],p=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(p&&p.startColumn<=e.column&&e.column<=p.endColumn)return p}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Ae.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var p=r-1,f=Pe.a.getBracketsSupport(n.getLanguageId(p));if(f&&!Object(Re.b)(n.getStandardTokenType(p))){for(a=Math.max(0,e.column-1-f.maxBracketLength),c=Math.min(o.length,e.column-1+f.maxBracketLength),u=p+1;u=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Ae.a.findPrevBracketInRange(f.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,f.textIsBracket[h],f.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Ae.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var p=!0;c>=0;c--){var f,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)p?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(p&&d!==h)if(f=r(s,l,d,h))return f;p=g}if(p&&d!==h)if(f=r(s,l,d,h))return f}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Ae.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,p=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,p=t.column-1);for(var f=!0;d=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Pe.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=!1}n=h,i=Pe.a.getBracketsSupport(n)}var p,f=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(f)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=f}if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(p=s.getLanguageId(l))&&(i=p,o=Pe.a.getBracketsSupport(i));for(var h=!0;lt)return null;var p=this._getLineTokens(h),f=p.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=p.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(y=p.getLanguageId(m))&&a(l=y,c=Pe.a.getBracketsSupport(l));for(var b=!0;mo)throw new Error("Illegal value for lineNumber");for(var r=Pe.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t=0){l=t,c=r;break}}}},h=-2,p=-1,f=-2,g=-1,m=function(e){if(-2===h){h=-1,p=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,p=n;break}}}if(-1!==f&&(-2===f||f=0){f=t,g=r;break}}}},v=0,_=!0,b=0,y=!0,C=0,w=0;_||y;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||So||O>n)&&(y=!1),w>5e4&&(_=!1,y=!1),_){var L=void 0;if((D=this._computeIndentLevel(S-1))>=0?(l=S-1,c=D,L=Math.ceil(D/this._options.indentSize)):(d(S),L=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,b=O,0===(C=L))return{startLineNumber:v,endLineNumber:b,indent:C};continue}L>=C?v=S:_=!1}if(y){var D,x=void 0;(D=this._computeIndentLevel(O-1))>=0?(h=O-1,p=D,x=Math.ceil(D/this._options.indentSize)):(m(O),x=this._getIndentLevelForWhitespaceLine(s,p,g)),x>=C?b=O:y=!1}}return{startLineNumber:v,endLineNumber:b,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Pe.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var p=c-2;p>=0;p--){if((f=this._computeIndentLevel(p))>=0){s=p,a=f;break}}}if(-1!==u&&(-2===u||u=0){u=p,l=f;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tXSY: +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),p=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-10?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=oD&&(D=t,L=e)})),4===L&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(L=2)}return{insertSpaces:O,tabSize:L}}function y(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function O(e){return(4&e.metadata)>>>2==1}function L(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function D(e){return(8&e.metadata)>>>3==1}function x(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function N(e,t){e.metadata=207&e.metadata|t<<4}function k(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var E=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,L(this,!1),N(this,1),x(this,!1),k(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;L(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),N(this,this.options.stickiness),x(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),k(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new E(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEndn)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){A(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEndn?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;rn?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;rn)&&(1!==i&&(2===i||t))}function P(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,p=e.end,f=!1;t<=d&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,f=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!f&&T(p,a,t,g)&&(f=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!f&&T(p,a,t+c,g)&&(f=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!f&&T(p,a,n,g)&&(e.end=t+l,f=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),f||(e.end=Math.max(0,p+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===y(n.parent);){var i;if(n.parent===n.parent.parent.left)1===y(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===y(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),B(n),void(e.root.parent=I);var o,r=1===y(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,y(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===y(n);)n===n.parent.left?(1===y(o=n.parent.right)&&(C(o,0),C(n.parent,1),j(e,n.parent),o=n.parent.right),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,y(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===y(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.left)&&(C(o.right,0),C(o,1),j(e,o),o=n.parent.left),C(o,y(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function j(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function V(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=V(e)}function H(e){for(;e!==I;){var t=V(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function Q(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function J(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var p=c+1;p=_)return l;this.positionInBuffer(e,f(h.index)-m,b);var y=this.getLineFeedCnt(e.piece.bufferIndex,o,b),C=b.line===o.line?b.column-o.column+i:b.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+y,C,n+y,w),h,a),f(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var p=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(p>=1){var f=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=f[l.line+p],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=p}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var b=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var y=d===e.startLineNumber?e.startColumn-1:0;b=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,y,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var p=e.simpleSearch,f=p.length,g=n.length,m=-f;-1!==(m=n.indexOf(p,m+f));)if((!d||Object(ie.e)(d,n,g,m,f))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+f+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var p=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,p),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var f=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;re)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var O=v.length;u0&&v[u-1].lineNumber===b)){var L=v[u].oldContent,D=this.getLineContent(b);0!==D.length&&D!==L&&-1===s.q(D)&&S.push(b)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u0){var h=a.lines.length,p=a.lines[0],f=a.lines[h-1];d=1===h?new c.a(u,l,u,l+p.length):new c.a(u,l,u+h-1,f.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),pe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.i(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new pe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},be=function(){this.changeType=5},ye=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new Ee,n._tokenizationSupport=null,n._register(Oe.B.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new xe.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new xe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Le.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Ve(e){var t=new fe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?Ve(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=Be(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Le.a,l._languageRegistryListener=Pe.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.M(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new xe.d,l._tokens2=new xe.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=b(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=Be(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ye([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ye([new be],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=b(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;othis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.z(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.z(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.z(a),c=s.z(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.z(u),p=s.z(l);return h||p?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&p?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;su.endLineNumber,f=u.startLineNumber>_.endLineNumber;if(!p&&!f){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(b.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var f=l.range.startLineNumber,g=l.range.endLineNumber,m=g-f,v=d,_=Math.min(m,v),b=v-m,y=_;y>=0;y--){var C=f+y,w=r-u-b+C;a.push(new me(C,this.getLineContent(w)))}if(_this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;tthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;nthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],p=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(p&&p.startColumn<=e.column&&e.column<=p.endColumn)return p}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Ae.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var p=r-1,f=Pe.a.getBracketsSupport(n.getLanguageId(p));if(f&&!Object(Re.b)(n.getStandardTokenType(p))){for(a=Math.max(0,e.column-1-f.maxBracketLength),c=Math.min(o.length,e.column-1+f.maxBracketLength),u=p+1;u=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Ae.a.findPrevBracketInRange(f.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,f.textIsBracket[h],f.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Ae.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var p=!0;c>=0;c--){var f,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)p?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(p&&d!==h)if(f=r(s,l,d,h))return f;p=g}if(p&&d!==h)if(f=r(s,l,d,h))return f}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Ae.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,p=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,p=t.column-1);for(var f=!0;d=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Pe.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=!1}n=h,i=Pe.a.getBracketsSupport(n)}var p,f=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(f)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=f}if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(p=s.getLanguageId(l))&&(i=p,o=Pe.a.getBracketsSupport(i));for(var h=!0;lt)return null;var p=this._getLineTokens(h),f=p.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=p.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(y=p.getLanguageId(m))&&a(l=y,c=Pe.a.getBracketsSupport(l));for(var b=!0;mo)throw new Error("Illegal value for lineNumber");for(var r=Pe.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t=0){l=t,c=r;break}}}},h=-2,p=-1,f=-2,g=-1,m=function(e){if(-2===h){h=-1,p=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,p=n;break}}}if(-1!==f&&(-2===f||f=0){f=t,g=r;break}}}},v=0,_=!0,b=0,y=!0,C=0,w=0;_||y;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||So||O>n)&&(y=!1),w>5e4&&(_=!1,y=!1),_){var L=void 0;if((D=this._computeIndentLevel(S-1))>=0?(l=S-1,c=D,L=Math.ceil(D/this._options.indentSize)):(d(S),L=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,b=O,0===(C=L))return{startLineNumber:v,endLineNumber:b,indent:C};continue}L>=C?v=S:_=!1}if(y){var D,x=void 0;(D=this._computeIndentLevel(O-1))>=0?(h=O-1,p=D,x=Math.ceil(D/this._options.indentSize)):(m(O),x=this._getIndentLevelForWhitespaceLine(s,p,g)),x>=C?b=O:y=!1}}return{startLineNumber:v,endLineNumber:b,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Pe.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var p=c-2;p>=0;p--){if((f=this._computeIndentLevel(p))>=0){s=p,a=f;break}}}if(-1!==u&&(-2===u||u=0){u=p,l=f;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tXSY: /*!****************************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js + 3 modules ***! \****************************************************************************************************/ /*! exports provided: SnippetController2 */ /*! all exports used */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/labels.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/labels.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/path.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/path.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/workspace/common/workspace.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */function(e,t,n){"use strict";n.r(t),n.d(t,"SnippetController2",(function(){return U}));var i=n("pmY6"),o=n("N0LK"),r=n("sswD"),s=n("aokT"),a=n("gCVg"),u=n("wQH0"),l=n("QVNv"),c=n("T8No"),d=n("09fa"),h=n("6OMU"),p=(n("dFcq"),n("0/Sa")),f=n("tX9W"),g=n("9XeP"),m=n("EWX2"),v=n("Cg/j"),_=n("uACm"),b=n("3/fG"),y=n("MrjW"),C=n("gslv"),w=n("cMvZ"),S=n("bY76");function O(e){return e instanceof S.a}var L=n("3rx1"),D=function(){function e(e){this._delegates=e}return e.prototype.resolve=function(e){for(var t=0,n=this._delegates;t=0){for(var i=[],o=0,r=this._placeholderGroups[this._placeholderGroupsIdx];o0&&this._editor.executeEdits("snippet.placeholderTransform",i)}var d=!1;!0===t&&this._placeholderGroupsIdx0&&(this._placeholderGroupsIdx-=1,d=!0);var h=this._editor.getModel().changeDecorations((function(t){for(var i=new Set,o=[],r=0,s=n._placeholderGroups[n._placeholderGroupsIdx];r0)return!0}t=t.parent}return!1},Object.defineProperty(e.prototype,"isAtFirstPlaceholder",{get:function(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAtLastPlaceholder",{get:function(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPlaceholder",{get:function(){return this._snippet.placeholders.length>0},enumerable:!0,configurable:!0}),e.prototype.computePossibleSelections=function(){for(var e=new Map,t=0,n=this._placeholderGroups;t0&&O!==d.getLineFirstNonWhitespaceColumn(W.positionLineNumber),!0),U.resolveVariables(new D([f,new k(y,V,L.length,"spread"===t.getOption(60)),new x(d,W),new E(d),new I,new M(h),new T]));var q=d.getOffsetAt(K)+C;C+=U.toString().length-d.getValueLengthInRange(z),l[V]=p.a.replace(z,U.toString()),c[V]=new F(t,U,q)}return{edits:l,snippets:c}},e.prototype.dispose=function(){Object(i.f)(this._snippets)},e.prototype._logInfo=function(){return'template="'+this._template+'", merged_templates="'+this._templateMerges.join(" -> ")+'"'},e.prototype.insert=function(){var t=this;if(this._editor.hasModel()){var n=e.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText),i=n.edits,o=n.snippets;this._snippets=o,this._editor.executeEdits("snippet",i,(function(e){return t._snippets[0].hasPlaceholder?t._move(!0):e.map((function(e){return a.a.fromPositions(e.range.getEndPosition())}))})),this._editor.revealRange(this._editor.getSelections()[0])}},e.prototype.merge=function(t,n){var i=this;if(void 0===n&&(n=j),this._editor.hasModel()){this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,t]);var o=e.createEditsAndSnippets(this._editor,t,n.overwriteBefore,n.overwriteAfter,!0,n.adjustWhitespace,n.clipboardText),r=o.edits,s=o.snippets;this._editor.executeEdits("snippet",r,(function(e){for(var t=0,n=i._snippets;t0},e}(),V=function(){return(V=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},H=function(e,t){return function(n,i){t(n,i,e)}},z={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0},U=function(){function e(t,n,o){this._editor=t,this._logService=n,this._snippetListener=new i.b,this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(o),this._hasNextTabstop=e.HasNextTabstop.bindTo(o),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(o)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(i.f)(this._session),this._snippetListener.dispose()},e.prototype.insert=function(e,t){try{this._doInsert(e,void 0===t?z:V(V({},z),t))}catch(t){this.cancel(),this._logService.error(t),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"")}},e.prototype._doInsert=function(e,t){var n=this;this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new W(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent((function(e){return e.isFlush&&n.cancel()}))),this._snippetListener.add(this._editor.onDidChangeModel((function(){return n.cancel()}))),this._snippetListener.add(this._editor.onDidChangeCursorSelection((function(){return n._updateState()}))))},e.prototype._updateState=function(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}},e.prototype._handleChoice=function(){var e=this;if(this._session&&this._editor.hasModel()){var t=this._session.choice;if(t){if(this._currentChoice!==t){this._currentChoice=t,this._editor.setSelections(this._editor.getSelections().map((function(e){return a.a.fromPositions(e.getStartPosition())})));var n=t.options[0];Object(l.f)(this._editor,t.options.map((function(t,i){return{kind:13,label:t.value,insertText:t.value,sortText:Object(o.J)("a",i+1),range:s.a.fromPositions(e._editor.getPosition(),e._editor.getPosition().delta(0,n.value.length))}})))}}else this._currentChoice=void 0}else this._currentChoice=void 0},e.prototype.finish=function(){for(;this._inSnippet.get();)this.next()},e.prototype.cancel=function(e){void 0===e&&(e=!1),this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(i.f)(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])},e.prototype.prev=function(){this._session&&this._session.prev(),this._updateState()},e.prototype.next=function(){this._session&&this._session.next(),this._updateState()},e.prototype.isInSnippet=function(){return Boolean(this._inSnippet.get())},e.ID="snippetController2",e.InSnippetMode=new c.d("inSnippetMode",!1),e.HasNextTabstop=new c.d("hasNextTabstop",!1),e.HasPrevTabstop=new c.d("hasPrevTabstop",!1),e=B([H(1,d.a),H(2,c.c)],e)}();Object(r.h)(U.ID,U);var K=r.c.bindToContribution(U.get);Object(r.g)(new K({id:"jumpToNextSnippetPlaceholder",precondition:c.a.and(U.InSnippetMode,U.HasNextTabstop),handler:function(e){return e.next()},kbOpts:{weight:130,kbExpr:u.a.editorTextFocus,primary:2}})),Object(r.g)(new K({id:"jumpToPrevSnippetPlaceholder",precondition:c.a.and(U.InSnippetMode,U.HasPrevTabstop),handler:function(e){return e.prev()},kbOpts:{weight:130,kbExpr:u.a.editorTextFocus,primary:1026}})),Object(r.g)(new K({id:"leaveSnippet",precondition:U.InSnippetMode,handler:function(e){return e.cancel(!0)},kbOpts:{weight:130,kbExpr:u.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(r.g)(new K({id:"acceptSnippet",precondition:U.InSnippetMode,handler:function(e){return e.finish()}}))},tYmi: @@ -2594,7 +2594,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"r",(function(){return b})),n.d(t,"A",(function(){return y})),n.d(t,"F",(function(){return C})),n.d(t,"E",(function(){return w})),n.d(t,"y",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"G",(function(){return S})),n.d(t,"z",(function(){return g})),n.d(t,"n",(function(){return D})),n.d(t,"D",(function(){return L})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return N})),n.d(t,"d",(function(){return k})),n.d(t,"x",(function(){return E})),n.d(t,"p",(function(){return I})),n.d(t,"m",(function(){return M})),n.d(t,"i",(function(){return T})),n.d(t,"f",(function(){return P})),n.d(t,"e",(function(){return R})),n.d(t,"q",(function(){return A})),n.d(t,"C",(function(){return F})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return W})),n.d(t,"g",(function(){return V})),n.d(t,"j",(function(){return B})),n.d(t,"t",(function(){return H})),n.d(t,"s",(function(){return z})),n.d(t,"c",(function(){return U})),n.d(t,"w",(function(){return K})),n.d(t,"o",(function(){return q})),n.d(t,"l",(function(){return G})),n.d(t,"k",(function(){return Y})),n.d(t,"B",(function(){return Z}));var i=n("746U"),o=n("bY76"),r=n("aokT"),s=n("MI8n"),a=n("pmY6"),u=n("l2gE");function l(e,t,n,i){if(Array.isArray(e)){for(var o=0,r=0,s=e;ro&&(o=a)}return o}if("string"==typeof e)return i?"*"===e?5:e===n?10:0:0;if(e){var c=e.language,d=e.pattern,h=e.scheme,p=e.hasAccessToAllModels;if(!i&&!p)return 0;o=0;if(h)if(h===t.scheme)o=10;else{if("*"!==h)return 0;o=5}if(c)if(c===n)o=10;else{if("*"!==c)return 0;o=Math.max(o,5)}if(d){if(d!==t.fsPath&&!Object(u.a)(d,t.fsPath))return 0;o=10}return o}return 0}var c=n("G2kB");function d(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(d):!!e.exclusive)}var h,p,f,g,m=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new s.a}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this,i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(a.h)((function(){if(i){var e=n._entries.indexOf(i);e>=0&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),i=void 0)}}))},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,i=this._entries;n0&&t.push(o.provider)}return t},e.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,(function(e){return t.push(e.provider)})),t},e.prototype.orderedGroups=function(e){var t,n,i=[];return this._orderedForEach(e,(function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],i.push(t))})),i},e.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,i=this._entries;n0&&t(o)}}},e.prototype._updateScores=function(t){var n={uri:t.uri.toString(),language:t.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(var i=0,o=this._entries;i0){for(var s=0,a=this._entries;st._score?-1:e._timet._time?-1:0},e}(),v=n("QDVR"),_=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new s.a,this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),Object(a.h)((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))},e.prototype.registerPromise=function(e,t){var n=this,i=null,o=!1;return this._promises.set(e,t.then((function(t){n._promises.delete(e),!o&&t&&(i=n.register(e,t))}))),Object(a.h)((function(){o=!0,i&&i.dispose()}))},e.prototype.getPromise=function(e){var t=this,n=this.get(e);if(n)return Promise.resolve(n);var i=this._promises.get(e);return i?i.then((function(n){return t.get(e)})):null},e.prototype.get=function(e){return Object(i.o)(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object(v.d)(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}(),b=function(e,t){this.language=e,this.id=t},y=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t},e.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),i=this.getFontStyle(e),o="color: "+t[n]+";";return 1&i&&(o+="font-style: italic;"),2&i&&(o+="font-weight: bold;"),4&i&&(o+="text-decoration: underline;"),o},e}(),C=((h=Object.create(null))[0]="method",h[1]="function",h[2]="constructor",h[3]="field",h[4]="variable",h[5]="class",h[6]="struct",h[7]="interface",h[8]="module",h[9]="property",h[10]="event",h[11]="operator",h[12]="unit",h[13]="value",h[14]="constant",h[15]="enum",h[16]="enum-member",h[17]="keyword",h[25]="snippet",h[18]="text",h[19]="color",h[20]="file",h[21]="reference",h[22]="customcolor",h[23]="folder",h[24]="type-parameter",function(e){return h[e]||"property"}),w=function(){var e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=25,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,function(t,n){var i=e[t];return void 0!==i||n||(i=9),i}}();function S(e){return e&&o.a.isUri(e.uri)&&r.a.isIRange(e.range)&&(r.a.isIRange(e.originSelectionRange)||r.a.isIRange(e.targetSelectionRange))}!function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(p||(p={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(f||(f={})),function(e){var t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);var n=new Map;n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=function(e){return t.get(e)},e.toString=function(e){return n.get(e)},e.toCssClassName=function(e,t){return"codicon "+(t?"inline":"block")+" codicon-symbol-"+(n.get(e)||"property")}}(g||(g={}));var O,L,D=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();(O||(O={})).is=function(e){return Object(i.i)(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))},(L||(L={})).is=function(e){return Object(i.i)(e)&&o.a.isUri(e.resource)&&Object(i.i)(e.edit)};var x=new m,N=new m,k=new m,E=new m,I=new m,M=new m,T=new m,P=new m,R=new m,A=new m,F=new m,j=new m,W=new m,V=new m,B=new m,H=new m,z=new m,U=new m,K=new m,q=new m,G=new m,Y=new m,Z=new _},uACm: /*!***********************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js ***! @@ -2649,7 +2649,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"d",(function(){return b})),n.d(t,"c",(function(){return y}));var i,o=n("N0LK"),r=n("JQT/"),s=n("pmY6"),a=n("sswD"),u=n("T8No"),l=n("24hK"),c=n("Cg/j"),d=n("9fML"),h=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=Object(c.c)("IEditorCancelService"),f=new u.d("cancellableOperation",!1);Object(d.b)(p,function(){function e(){this._tokens=new WeakMap}return e.prototype.add=function(e,t){var n,i=this._tokens.get(e);return i||(i=e.invokeWithinContext((function(e){return{key:f.bindTo(e.get(u.c)),tokens:new l.a}})),this._tokens.set(e,i)),i.key.set(!0),n=i.tokens.push(t),function(){n&&(n(),i.key.set(!i.tokens.isEmpty()),n=void 0)}},e.prototype.cancel=function(e){var t=this._tokens.get(e);if(t){var n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},e}(),!0);var g=function(e){function t(t,n){var i=e.call(this,n)||this;return i.editor=t,i._unregister=t.invokeWithinContext((function(e){return e.get(p).add(t,i)})),i}return h(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(r.b);Object(a.g)(new(function(e){function t(){return e.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:f})||this}return h(t,e),t.prototype.runEditorCommand=function(e,t){e.get(p).cancel(t)},t}(a.c)));var m=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=function(){function e(e,t){if(this.flags=t,0!=(1&this.flags)){var n=e.getModel();this.modelVersionId=n?o.r("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}return e.prototype._equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.modelVersionId===n.modelVersionId&&(this.scrollLeft===n.scrollLeft&&this.scrollTop===n.scrollTop&&(!(!this.position&&n.position||this.position&&!n.position||this.position&&n.position&&!this.position.equals(n.position))&&!(!this.selection&&n.selection||this.selection&&!n.selection||this.selection&&n.selection&&!this.selection.equalsRange(n.selection))))},e.prototype.validate=function(t){return this._equals(new e(t,this.flags))},e}(),_=function(e){function t(t,n,i){var o=e.call(this,t,i)||this;return o.editor=t,o._listener=new s.b,4&n&&o._listener.add(t.onDidChangeCursorPosition((function(e){return o.cancel()}))),2&n&&o._listener.add(t.onDidChangeCursorSelection((function(e){return o.cancel()}))),8&n&&o._listener.add(t.onDidScrollChange((function(e){return o.cancel()}))),1&n&&(o._listener.add(t.onDidChangeModel((function(e){return o.cancel()}))),o._listener.add(t.onDidChangeModelContent((function(e){return o.cancel()})))),o}return m(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)},t}(g),b=function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}return m(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)},t}(r.b),y=function(){function e(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}return e.capture=function(t){var n=null,i=0;if(0!==t.getScrollTop()){var o=t.getVisibleRanges();if(o.length>0){n=o[0].getStartPosition();var r=t.getTopForPosition(n.lineNumber,n.column);i=t.getScrollTop()-r}}return new e(n,i)},e.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},e}()},vMFT: /*!****************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/base/parts/tree/browser/tree.css ***! diff --git a/p__Course__index.67bb0082.async.js b/p__Course__index.67bb0082.async.js new file mode 100644 index 0000000000..1e3b40635e --- /dev/null +++ b/p__Course__index.67bb0082.async.js @@ -0,0 +1,282 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[124,7,8],{"0Vzb": +/*!*******************************************!*\ + !*** ./src/pages/Course/icon/dianwei.png ***! + \*******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAYFJREFUOE+Nk79KA0EQxr8pvHeQgKQUW20FRcFCBCMIgp2FhYU7MQHttBMDerPbiYUpBEEEg4VooQQLsfAJrMQnEGyTHblwF9bzEpzuvvn4zZ+dIxQEM28CmAGwAOBTVV8BtKy1D3k75QVmfgMwWQQGsCsijTD3C8DMpwCS6sNiVkTamaEPMMYsENF9mvjy3h91Op1mFEXjqrpKRFtp7j2KoqlGo/GdfPcBzHwAYD81tUSkklVh5lEALwDKqdbvIgTcAljKGwJIv4Cq1q21x786MMZcEtFaTyQ6juO4Hi4iXK6qblprz/KAQyLay+YEcCgiTWYuE1FFVU8yoPd+0Tl3lweES8y8HwBKAEaCbtoiMvvnFRKBmZO5doa9ofd+wzl3XgioVqslVU22PTYA8iQicwMPKUkYY7aJyBYBvPfzzrnHoYB0lGcA06FRVW+stSt58J9/IQUsA7gJzSJS6C0UU8gFgPX0LupxHPcO518dJKZarTbR7XavAFyLSHKFhfEDWP2SEbuvg6QAAAAASUVORK5CYII="},"6+eU": +/*!************************************************************!*\ + !*** ./node_modules/rc-pagination/es/index.js + 4 modules ***! + \************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/locale/zh_CN.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var a=n("wx14"),i=n("rePB"),s=n("VTBJ"),r=n("1OyB"),l=n("vuIU"),o=n("Ji7U"),c=n("LK+K"),d=n("q1tI"),u=n.n(d),p=n("TSYQ"),h=n.n(p),f=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),a=h()(n,"".concat(n,"-").concat(e.page),(t={},Object(i.a)(t,"".concat(n,"-active"),e.active),Object(i.a)(t,e.className,!!e.className),Object(i.a)(t,"".concat(n,"-disabled"),!e.page),t));return u.a.createElement("li",{title:e.showTitle?e.page:null,className:a,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",u.a.createElement("a",{rel:"nofollow"},e.page)))},m=13,g=38,v=40,b=function(e){Object(o.a)(n,e);var t=Object(c.a)(n);function n(){var e;Object(r.a)(this,n);for(var a=arguments.length,i=new Array(a),s=0;s=0||t.relatedTarget.className.indexOf("".concat(s,"-next"))>=0)||(e.setState({goInputText:""}),i(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode!==m&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return Object(l.a)(n,[{key:"getValidValue",value:function(){var e=this.state,t=e.goInputText,n=e.current;return!t||isNaN(t)?n:Number(t)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,a=t.locale,i=t.rootPrefixCls,s=t.changeSize,r=t.quickGo,l=t.goButton,o=t.selectComponentClass,c=t.buildOptionText,d=t.selectPrefixCls,p=t.disabled,h=this.state.goInputText,f="".concat(i,"-options"),m=o,g=null,v=null,b=null;if(!s&&!r)return null;var w=this.getPageSizeOptions();if(s&&m){var y=w.map((function(t,n){return u.a.createElement(m.Option,{key:n,value:t.toString()},(c||e.buildOptionText)(t))}));g=u.a.createElement(m,{disabled:p,prefixCls:d,showSearch:!1,className:"".concat(f,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||w[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode}},y)}return r&&(l&&(b="boolean"==typeof l?u.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:p,className:"".concat(f,"-quick-jumper-button")},a.jump_to_confirm):u.a.createElement("span",{onClick:this.go,onKeyUp:this.go},l)),v=u.a.createElement("div",{className:"".concat(f,"-quick-jumper")},a.jump_to,u.a.createElement("input",{disabled:p,type:"text",value:h,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),a.page,b)),u.a.createElement("li",{className:"".concat(f)},g,v)}}]),n}(u.a.Component);b.defaultProps={pageSizeOptions:["10","20","50","100"]};var w=b,y=n("N2Kk");function x(){}function E(e,t,n){var a=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/a)+1}var S=function(e){Object(o.a)(n,e);var t=Object(c.a)(n);function n(e){var a;Object(r.a)(this,n),(a=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,a.state.current-(a.props.showLessItems?3:5))},a.getJumpNextPage=function(){return Math.min(E(void 0,a.state,a.props),a.state.current+(a.props.showLessItems?3:5))},a.getItemIcon=function(e,t){var n=a.props.prefixCls,i=e||u.a.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(i=u.a.createElement(e,Object(s.a)({},a.props))),i},a.savePaginationNode=function(e){a.paginationNode=e},a.isValid=function(e){return"number"==typeof(t=e)&&isFinite(t)&&Math.floor(t)===t&&e!==a.state.current;var t},a.shouldDisplayQuickJumper=function(){var e=a.props,t=e.showQuickJumper,n=e.pageSize;return!(e.total<=n)&&t},a.handleKeyDown=function(e){e.keyCode!==g&&e.keyCode!==v||e.preventDefault()},a.handleKeyUp=function(e){var t=a.getValidValue(e);t!==a.state.currentInputValue&&a.setState({currentInputValue:t}),e.keyCode===m?a.handleChange(t):e.keyCode===g?a.handleChange(t-1):e.keyCode===v&&a.handleChange(t+1)},a.changePageSize=function(e){var t=a.state.current,n=E(e,a.state,a.props);t=t>n?n:t,0===n&&(t=a.state.current),"number"==typeof e&&("pageSize"in a.props||a.setState({pageSize:e}),"current"in a.props||a.setState({current:t,currentInputValue:t})),a.props.onShowSizeChange(t,e),"onChange"in a.props&&a.props.onChange&&a.props.onChange(t,e)},a.handleChange=function(e){var t=a.props.disabled,n=e;if(a.isValid(n)&&!t){var i=E(void 0,a.state,a.props);n>i?n=i:n<1&&(n=1),"current"in a.props||a.setState({current:n,currentInputValue:n});var s=a.state.pageSize;return a.props.onChange(n,s),n}return a.state.current},a.prev=function(){a.hasPrev()&&a.handleChange(a.state.current-1)},a.next=function(){a.hasNext()&&a.handleChange(a.state.current+1)},a.jumpPrev=function(){a.handleChange(a.getJumpPrevPage())},a.jumpNext=function(){a.handleChange(a.getJumpNextPage())},a.hasPrev=function(){return a.state.current>1},a.hasNext=function(){return a.state.current2?n-2:0),i=2;i=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,a=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>a}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,a=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),i=!this.hasPrev();return Object(d.isValidElement)(a)?Object(d.cloneElement)(a,{disabled:i}):a}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,a=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),i=!this.hasNext();return Object(d.isValidElement)(a)?Object(d.cloneElement)(a,{disabled:i}):a}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,s=t.className,r=t.style,l=t.disabled,o=t.hideOnSinglePage,c=t.total,p=t.locale,m=t.showQuickJumper,g=t.showLessItems,v=t.showTitle,b=t.showTotal,y=t.simple,x=t.itemRender,S=t.showPrevNextJumpers,C=t.jumpPrevIcon,k=t.jumpNextIcon,T=t.selectComponentClass,A=t.selectPrefixCls,O=t.pageSizeOptions,I=this.state,z=I.current,P=I.pageSize,M=I.currentInputValue;if(!0===o&&c<=P)return null;var N=E(void 0,this.state,this.props),L=[],D=null,_=null,R=null,j=null,B=null,V=m&&m.goButton,$=g?1:2,H=z-1>0?z-1:0,F=z+1=2*$&&3!==z&&(L[0]=Object(d.cloneElement)(L[0],{className:"".concat(n,"-item-after-jump-prev")}),L.unshift(D)),N-z>=2*$&&z!==N-2&&(L[L.length-1]=Object(d.cloneElement)(L[L.length-1],{className:"".concat(n,"-item-before-jump-next")}),L.push(_)),1!==U&&L.unshift(R),Q!==N&&L.push(j)}var ee=null;b&&(ee=u.a.createElement("li",{className:"".concat(n,"-total-text")},b(c,[0===c?0:(z-1)*P+1,z*P>c?c:z*P])));var te=!this.hasPrev()||!N,ne=!this.hasNext()||!N;return u.a.createElement("ul",Object(a.a)({className:h()(n,s,Object(i.a)({},"".concat(n,"-disabled"),l)),style:r,unselectable:"unselectable",ref:this.savePaginationNode},G),ee,u.a.createElement("li",{title:v?p.prev_page:null,onClick:this.prev,tabIndex:te?null:0,onKeyPress:this.runIfEnterPrev,className:h()("".concat(n,"-prev"),Object(i.a)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderPrev(H)),L,u.a.createElement("li",{title:v?p.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:h()("".concat(n,"-next"),Object(i.a)({},"".concat(n,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(F)),u.a.createElement(w,{disabled:l,locale:p,rootPrefixCls:n,selectComponentClass:T,selectPrefixCls:A,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:z,pageSize:P,pageSizeOptions:O,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:V}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var a=t.current,i=E(e.pageSize,t,e);a=a>i?i:a,"current"in e||(n.current=a,n.currentInputValue=a),n.pageSize=e.pageSize}return n}}]),n}(u.a.Component);S.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:x,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:x,locale:y.a,style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var C=S},"69ZJ": +/*!***************************************************!*\ + !*** ./node_modules/react-id-swiper/lib/utils.js ***! + \***************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(/*! react */"q1tI");t.classNames=function(e){return"string"==typeof e?e.split(".").join(" ").trim():e instanceof HTMLElement?e.className:""},t.validateChildren=function(e){var t=!0;return Array.isArray(e)?a.Children.forEach(e,(function(e){a.isValidElement(e)||(t=!1)})):t=a.isValidElement(e),t},t.isReactElement=function(e){return a.isValidElement(e)&&("string"==typeof e.type||"function"==typeof e.type||"object"==typeof e.type)},t.isModuleAvailable=function(e,t){for(var n=!1,a=0;a=r&&ao?"true":"false","aria-posinset":o+1,"aria-setsize":c,tabIndex:i?-1:0},d.a.createElement("div",{className:"".concat(s,"-first")},p),d.a.createElement("div",{className:"".concat(s,"-second")},p)));return l&&(h=l(h,this.props)),h}}]),n}(d.a.Component);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t0&&!l||t===f.a.RIGHT&&o>0&&l?(o-=s?.5:1,a.changeValue(o),e.preventDefault()):t===f.a.LEFT&&op/2||!o&&t-u

    "],p=new o.a.Renderer,h=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function f(){d.length=0,u=["

      "]}var m={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function g(){return function e(t,n,a,i){if(n>=t.length||t[n].level<=a)return n;var s=t[n];i.push("
    • "+s.text+"");var r=[];return n=e(t,++n,s.level,r),r.length>0&&(i.push("
        "),r.forEach((function(e){i.push(e)})),i.push("
      ")),i.push("
    • "),n=e(t,n,a,i)}(d,0,0,u),u.push("
    "),u.join("")}var v={heading:function(e){var t=h.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},fences:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],a=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var a=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:Object(i.a)(t,1)[0].length>=a.length?e.slice(a.length):e})).join("\n")}(n,t[3]||""),s=t[2]?t[2].trim():t[2];if(["latex","katex","math"].indexOf(s)>=0){var r=y(),l=a;a=r,x[r]={type:"block",expression:l}}return{type:"code",raw:n,lang:s,text:a}}}},b=/(?:\${2})([^\n`]+?)(?:\${2})/gi,w=0,y=function(){return"__special_katext_id_".concat(w++,"__")},x={};function E(){w=0,x={}}function S(e){return e=e.replace(b,(function(e,t){var n=y();return x[n]={type:"inline",expression:t},n}))}var C=p.listitem;p.listitem=function(e){return C(S(e))};var k=p.paragraph;p.paragraph=function(e){return k(S(e))};var T=p.tablecell;p.tablecell=function(e,t){return T(S(e),t)},p.code=function(e,t,n){var a=(t||"").match(/\S*/)[0];return a?["latex","katex","math"].indexOf(a)>=0?"

    ".concat(e,"

    "):'
    ').concat(n?e:Object(c.escape)(e,!0),"
    \n"):'
    '+(n?e:Object(c.escape)(e,!0))+"
    "},p.heading=function(e,t,n){var a=this.options.headerPrefix+n.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return d.push({anchor:a,level:t,text:e}),"'+e+""},o.a.setOptions({silent:!0,gfm:!0,pedantic:!1}),o.a.use({tokenizer:v,renderer:p});var A=o.a,O=(n("SJMd"),n("ulZh")),I=n.n(O),z=n("m3rI"),P=n("Oy/b"),M=n("p5ED"),N=/]*>/g;t.a=function(e){var t=e.value,n=void 0===t?"":t,l=e.className,o=e.showTextOnly,c=e.showLines,d=e.style,u=void 0===d?{}:d,p=e.stylesPrev,h=void 0===p?{}:p,v=String(n),b=Object(s.useState)(""),w=Object(i.a)(b,2),y=w[0],S=w[1],C=Object(s.useMemo)((function(){try{v=(v=v.replace(/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,"("+z.a.API_SERVER+"/api/attachments/").replace(/\"\/api\/attachments\/|\"\/attachments\/download\//g,'"'+z.a.API_SERVER+"/api/attachments/").replace(/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,'"'+z.a.API_SERVER+"/files/uploads/").replace(/\r\n/g,"\n")).replace(new RegExp("(?[TOC]

    ",g()),f()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],i=a.type,s=a.expression;return Object(P.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(s)||"",{displayMode:"block"===i,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),E(),o){var n=document.createElement("div");return n.innerHTML=e,n.innerText}return setTimeout((function(){return O()}),500),e}),[v]),k=Object(s.useRef)();function T(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.indexOf("office")>-1)e.preventDefault(),S(n);else if(n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}m.WebkitLineClamp=c,c&&(u=Object(a.a)(Object(a.a)({},u),m));var O=function(){var e,t=null===(e=k.current)||void 0===e?void 0:e.querySelectorAll("video");null==t||t.forEach((function(e){if(e.oncontextmenu=function(){return!1},e.src.indexOf(".m3u8")>-1)if(e.canPlayType("application/vnd.apple.mpegurl"));else if(I.a.isSupported()){var t=new I.a;t.loadSource(e.src),t.attachMedia(e)}}))};return Object(s.useEffect)((function(){if(k.current&&C&&C.match(N)&&window.PR.prettyPrint(),k.current)return k.current.addEventListener("click",T),function(){k.current.removeEventListener("click",T),E(),f()}}),[C,k.current,T]),r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{ref:k,style:Object(a.a)({},u),className:"".concat(l||""," markdown-body "),dangerouslySetInnerHTML:{__html:C}}),r.a.createElement(M.a,{close:!0,data:y,type:null!=y&&y.length?"office":"",style:Object(a.a)({},h),onClose:function(){return S("")}}))}},"9L0q": +/*!************************************************!*\ + !*** ./node_modules/swiper/css/swiper.min.css ***! + \************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},BJfS: +/*!*****************************************************!*\ + !*** ./node_modules/string-convert/camel2hyphen.js ***! + \*****************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},BdwD: +/*!*****************************************!*\ + !*** ./src/components/NoData/index.tsx ***! + \*****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),i=n(/*! react */"q1tI"),s=n.n(i),r=n(/*! @/assets/images/icons/nodata2.png */"MXfU"),l=n.n(r),o=n(/*! ./index.less?modules */"Nmsl"),c=n.n(o);t.a=function(e){e.buttonProps;var t=e.styles,n=void 0===t?{}:t,i=e.customText;e.ButtonText,e.ButtonClick,e.Buttonclass,e.ButtonTwo;return s.a.createElement("div",{className:c.a.none_panels,style:Object(a.a)({},n)},s.a.createElement("div",null,s.a.createElement("img",{src:l.a,alt:""}),s.a.createElement("p",{className:c.a.none_p_title},i||"暂时还没有相关数据哦!")))}},DlQD: +/*!*******************************************!*\ + !*** ./node_modules/marked/lib/marked.js ***! + \*******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,a=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(a=e[Symbol.iterator]()).next.bind(a)}var a=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),i=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),s=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,l=/[<>"']|&(?!#?\w+;)/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"},c=function(e){return o[e]},d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(d,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var p=/(^|[^\[])\^/g,h=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,m={},g=/^[^:]+:\/*[^/]*$/,v=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function w(e,t){m[" "+e]||(g.test(e)?m[" "+e]=e+"/":m[" "+e]=y(e,"/",!0));var n=-1===(e=m[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(v,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(b,"$1")+t:e+t}function y(e,t,n){var a=e.length;if(0===a)return"";for(var i=0;i=0&&"\\"===n[i];)a=!a;return a?"|":" |"})).split(/ \|/),a=0;if(n.length>t)n.splice(t);else for(;n.length1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var a=t[t.length-1];if(a&&"paragraph"===a.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:M(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],a=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var a=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:t[0].length>=a.length?e.slice(a.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:a}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:N(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var a,i=n.align.length;for(a=0;a ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,a,i,s,r,l,o,c=t[0],d=t[2],u=d.length>1,p=")"===d[d.length-1],h={type:"list",raw:c,ordered:u,start:u?+d.slice(0,-1):"",loose:!1,items:[]},f=t[0].match(this.rules.block.item),m=!1,g=f.length,v=0;v1||this.options.smartLists&&i!==d)&&(s=f.slice(v+1).join("\n"),h.raw=h.raw.substring(0,h.raw.length-s.length),v=g-1)),r=m||/\n\n(?!\s*$)/.test(n),v!==g-1&&(m="\n"===n.charAt(n.length-1),r||(r=m)),r&&(h.loose=!0),o=void 0,(l=/^\[[ xX]\] /.test(n))&&(o=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),h.items.push({type:"list_item",raw:c,task:l,checked:o,loose:r,text:n});return h}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):L(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:N(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var a,i=n.align.length;for(a=0;a/i.test(a[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:a[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):L(a[0]):a[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=D(t[2],"()");if(n>-1){var a=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,a).trim(),t[3]=""}var i=t[2],s="";if(this.options.pedantic){var r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);r?(i=r[1],s=r[3]):s=""}else s=t[3]?t[3].slice(1,-1):"";return _(t,{href:(i=i.trim().replace(/^<([\s\S]*)>$/,"$1"))?i.replace(this.rules.inline._escapes,"$1"):i,title:s?s.replace(this.rules.inline._escapes,"$1"):s},t[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var a=(n[2]||n[1]).replace(/\s+/g," ");if(!(a=t[a.toLowerCase()])||!a.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return _(n,a,n[0])}},t.strong=function(e,t,n){void 0===n&&(n="");var a=this.rules.inline.strong.start.exec(e);if(a&&(!a[1]||a[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="**"===a[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(s.lastIndex=0;null!=(a=s.exec(t));)if(i=this.rules.inline.strong.middle.exec(t.slice(0,a.index+3)))return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var a=this.rules.inline.em.start.exec(e);if(a&&(!a[1]||a[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="*"===a[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(s.lastIndex=0;null!=(a=s.exec(t));)if(i=this.rules.inline.em.middle.exec(t.slice(0,a.index+2)))return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),a=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return a&&i&&(n=n.substring(1,n.length-1)),n=L(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,a,i=this.rules.inline.autolink.exec(e);if(i)return a="@"===i[2]?"mailto:"+(n=L(this.options.mangle?t(i[1]):i[1])):n=L(i[1]),{type:"link",raw:i[0],text:n,href:a,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var a,i;if("@"===n[2])i="mailto:"+(a=L(this.options.mangle?t(n[0]):n[0]));else{var s;do{s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(s!==n[0]);a=L(n[0]),i="www."===n[1]?"http://"+a:a}return{type:"link",raw:n[0],text:a,href:i,tokens:[{type:"text",raw:a,text:a}]}}},t.inlineText=function(e,t,n){var a,i=this.rules.inline.text.exec(e);if(i)return a=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):L(i[0]):i[0]:L(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:a}},e}(),j=k,B=S,V=T,$={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:j,table:j,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};$.def=B($.def).replace("label",$._label).replace("title",$._title).getRegex(),$.bullet=/(?:[*+-]|\d{1,9}[.)])/,$.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,$.item=B($.item,"gm").replace(/bull/g,$.bullet).getRegex(),$.list=B($.list).replace(/bull/g,$.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+$.def.source+")").getRegex(),$._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$._comment=//,$.html=B($.html,"i").replace("comment",$._comment).replace("tag",$._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),$.paragraph=B($._paragraph).replace("hr",$.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",$._tag).getRegex(),$.blockquote=B($.blockquote).replace("paragraph",$.paragraph).getRegex(),$.normal=V({},$),$.gfm=V({},$.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),$.gfm.nptable=B($.gfm.nptable).replace("hr",$.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",$._tag).getRegex(),$.gfm.table=B($.gfm.table).replace("hr",$.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",$._tag).getRegex(),$.pedantic=V({},$.normal,{html:B("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",$._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:j,paragraph:B($.normal._paragraph).replace("hr",$.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",$.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var H={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:j,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:j,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};H.punctuation=B(H.punctuation).replace(/punctuation/g,H._punctuation).getRegex(),H._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",H._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",H.em.start=B(H.em.start).replace(/punctuation/g,H._punctuation).getRegex(),H.em.middle=B(H.em.middle).replace(/punctuation/g,H._punctuation).replace(/overlapSkip/g,H._overlapSkip).getRegex(),H.em.endAst=B(H.em.endAst,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.em.endUnd=B(H.em.endUnd,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.strong.start=B(H.strong.start).replace(/punctuation/g,H._punctuation).getRegex(),H.strong.middle=B(H.strong.middle).replace(/punctuation/g,H._punctuation).replace(/blockSkip/g,H._blockSkip).getRegex(),H.strong.endAst=B(H.strong.endAst,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.strong.endUnd=B(H.strong.endUnd,"g").replace(/punctuation/g,H._punctuation).getRegex(),H.blockSkip=B(H._blockSkip,"g").getRegex(),H.overlapSkip=B(H._overlapSkip,"g").getRegex(),H._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,H._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,H._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,H.autolink=B(H.autolink).replace("scheme",H._scheme).replace("email",H._email).getRegex(),H._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,H.tag=B(H.tag).replace("comment",$._comment).replace("attribute",H._attribute).getRegex(),H._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,H._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,H._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,H.link=B(H.link).replace("label",H._label).replace("href",H._href).replace("title",H._title).getRegex(),H.reflink=B(H.reflink).replace("label",H._label).getRegex(),H.reflinkSearch=B(H.reflinkSearch,"g").replace("reflink",H.reflink).replace("nolink",H.nolink).getRegex(),H.normal=V({},H),H.pedantic=V({},H.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:B(/^!?\[(label)\]\((.*?)\)/).replace("label",H._label).getRegex(),reflink:B(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",H._label).getRegex()}),H.gfm=V({},H.normal,{escape:B(H.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),a+="&#"+n+";";return a}var K=function(){function t(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||G,this.options.tokenizer=this.options.tokenizer||new R,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:Y.normal,inline:q.normal};this.options.pedantic?(t.block=Y.pedantic,t.inline=q.pedantic):this.options.gfm&&(t.block=Y.gfm,this.options.breaks?t.inline=q.breaks:t.inline=q.gfm),this.tokenizer.rules=t}t.lex=function(e,n){return new t(n).lex(e)};var n,a,i,s=t.prototype;return s.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},s.blockTokens=function(e,t,n){var a,i,s,r;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(a=this.tokenizer.space(e))e=e.substring(a.raw.length),a.type&&t.push(a);else if(a=this.tokenizer.code(e,t))e=e.substring(a.raw.length),a.type?t.push(a):((r=t[t.length-1]).raw+="\n"+a.raw,r.text+="\n"+a.text);else if(a=this.tokenizer.fences(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.heading(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.nptable(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.hr(e))e=e.substring(a.raw.length),t.push(a);else if(a=this.tokenizer.blockquote(e))e=e.substring(a.raw.length),a.tokens=this.blockTokens(a.text,[],n),t.push(a);else if(a=this.tokenizer.list(e)){for(e=e.substring(a.raw.length),s=a.items.length,i=0;i0)for(;null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(l));)o.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(r=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(s=this.tokenizer.escape(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.tag(e,n,a))e=e.substring(s.raw.length),n=s.inLink,a=s.inRawBlock,t.push(s);else if(s=this.tokenizer.link(e))e=e.substring(s.raw.length),"link"===s.type&&(s.tokens=this.inlineTokens(s.text,[],!0,a)),t.push(s);else if(s=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(s.raw.length),"link"===s.type&&(s.tokens=this.inlineTokens(s.text,[],!0,a)),t.push(s);else if(s=this.tokenizer.strong(e,l,i))e=e.substring(s.raw.length),s.tokens=this.inlineTokens(s.text,[],n,a),t.push(s);else if(s=this.tokenizer.em(e,l,i))e=e.substring(s.raw.length),s.tokens=this.inlineTokens(s.text,[],n,a),t.push(s);else if(s=this.tokenizer.codespan(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.br(e))e=e.substring(s.raw.length),t.push(s);else if(s=this.tokenizer.del(e))e=e.substring(s.raw.length),s.tokens=this.inlineTokens(s.text,[],n,a),t.push(s);else if(s=this.tokenizer.autolink(e,W))e=e.substring(s.raw.length),t.push(s);else if(n||!(s=this.tokenizer.url(e,W))){if(s=this.tokenizer.inlineText(e,a,X))e=e.substring(s.raw.length),i=s.raw.slice(-1),t.push(s);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(s.raw.length),t.push(s);return t},n=t,i=[{key:"rules",get:function(){return{block:Y,inline:q}}}],(a=null)&&e(n.prototype,a),i&&e(n,i),t}(),U=a.defaults,Q=C,Z=x,J=function(){function e(e){this.options=e||U}var t=e.prototype;return t.code=function(e,t,n){var a=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,a);null!=i&&i!==e&&(n=!0,e=i)}return a?'
    '+(n?e:Z(e,!0))+"
    \n":"
    "+(n?e:Z(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,n,a){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,n){var a=t?"ol":"ul";return"<"+a+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(null===(e=Q(this.options.sanitize,this.options.baseUrl,e)))return n;var a='"},t.image=function(e,t,n){if(null===(e=Q(this.options.sanitize,this.options.baseUrl,e)))return n;var a=''+n+'":">"},t.text=function(e){return e},e}(),ee=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),te=function(){function e(){this.seen={}}return e.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},e}(),ne=a.defaults,ae=E,ie=function(){function e(e){this.options=e||ne,this.options.renderer=this.options.renderer||new J,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ee,this.slugger=new te}e.parse=function(t,n){return new e(n).parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,a,i,s,r,l,o,c,d,u,p,h,f,m,g,v,b,w,y="",x=e.length;for(n=0;n0&&"text"===g.tokens[0].type?(g.tokens[0].text=w+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=w+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:w}):m+=w),m+=this.parse(g.tokens,f),d+=this.renderer.listitem(m,b,v);y+=this.renderer.list(d,p,h);continue;case"html":y+=this.renderer.html(u.text);continue;case"paragraph":y+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(d=u.tokens?this.parseInline(u.tokens):u.text;n+1An error occurred:

    "+le(e.message+"",!0)+"
    ";throw e}}return ue.options=ue.setOptions=function(e){return se(ue.defaults,e),ce(ue.defaults),ue},ue.getDefaults=oe,ue.defaults=de,ue.use=function(e){var t=se({},e);if(e.renderer&&function(){var n=ue.defaults.renderer||new J,a=function(t){var a=n[t];n[t]=function(){for(var i=arguments.length,s=new Array(i),r=0;r1&&b.a.createElement("div",{className:"".concat(x.a.CustomTags)},b.a.createElement("div",{style:{paddingRight:"".concat((null===(n=U.Tags)||void 0===n?void 0:n.length)>14?"50px":"")},className:"".concat(x.a.centNavDiv," ").concat(oe?x.a.centNavDivOpen:"")},null===(a=U.Tags)||void 0===a?void 0:a.map((function(e,t){return b.a.createElement("div",{className:"".concat(x.a.centNav," ").concat(ie==e.id?x.a.centNavActive:""),key:t,onClick:Object(d.a)(g.a.mark((function t(){return g.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return-1!=e.id?(pe.tag_ids=[e.id],he(pe)):(pe.tag_ids=[],he(pe)),t.next=3,we();case 3:se(e.id);case 4:case"end":return t.stop()}}),t)})))},e.name)}))),(null===(i=U.Tags)||void 0===i?void 0:i.length)>14&&b.a.createElement("div",{className:x.a.OpenClose,onClick:function(){return ce(!oe)}},b.a.createElement("span",null,oe?"收起":"展开"),b.a.createElement(E.a,{className:"".concat(x.a.OpenIcon," ").concat(oe?x.a.CloseIcon:"")}))),b.a.createElement("div",{className:x.a.Swiper},s.length>8?b.a.createElement(r.a,Object(l.a)({ref:f},{autoplay:!0,slidesToShow:4,slidesToScroll:4,rows:2,dots:!1}),s.map((function(e,t){return b.a.createElement("div",{className:x.a.BannerListItemDiv,key:t},b.a.createElement("div",{className:x.a.BannerListItem},b.a.createElement("div",{onClick:function(){return window.open("/shixuns/".concat(e.identifier,"/challenges"))}},b.a.createElement("div",{className:x.a.BannerListItemImg},b.a.createElement("img",{src:"".concat(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER,"/").concat(e.image_url)})),b.a.createElement("div",{className:x.a.BannerListItemInfo},b.a.createElement(c.a,{placement:"topLeft",title:e.name},b.a.createElement("div",{className:x.a.BannerListItemInfoTitle},e.name)),b.a.createElement("div",{className:x.a.BannerListItemInfoTeacher},"创建者:",e.author_name),b.a.createElement("div",{className:x.a.BannerListItemInfoRate},b.a.createElement("span",{className:x.a.span},e.averge_star.toFixed(1)),b.a.createElement(o.a,{style:{color:"#E59819",fontSize:"12px",lineHeight:"14px"},allowHalf:!0,disabled:!0,value:e.averge_star||0})))),b.a.createElement("div",{className:x.a.But},b.a.createElement("div",{className:x.a.span1},e.stu_num/1e4>1?(e.stu_num/1e4).toFixed(1)+"W":e.stu_num,"人正在学"),b.a.createElement(h.a,{className:"".concat(e.continue_stu?x.a.study:x.a.order," ").concat(e.continue_stu?x.a.studyActive:""),onClick:function(){xe(e)}},e.continue_stu?"继续学习":"立即学习"))))}))):b.a.createElement("div",{style:{width:"1250px",display:"flex",flexFlow:"wrap"}},s.map((function(e,t){return b.a.createElement("div",{style:{width:"308px"},className:x.a.BannerListItemDiv,key:t},b.a.createElement("div",{className:x.a.BannerListItem},b.a.createElement("div",{onClick:function(){return window.open("/shixuns/".concat(e.identifier,"/challenges"))}},b.a.createElement("div",{className:x.a.BannerListItemImg},b.a.createElement("img",{src:"".concat(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER,"/").concat(e.image_url)})),b.a.createElement("div",{className:x.a.BannerListItemInfo},b.a.createElement(c.a,{placement:"topLeft",title:e.name},b.a.createElement("div",{className:x.a.BannerListItemInfoTitle},e.name)),b.a.createElement("div",{className:x.a.BannerListItemInfoTeacher},"创建者:",e.author_name),b.a.createElement("div",{className:x.a.BannerListItemInfoRate},b.a.createElement("span",{className:x.a.span},e.averge_star.toFixed(1)),b.a.createElement(o.a,{style:{color:"#E59819",fontSize:"12px",lineHeight:"14px"},allowHalf:!0,disabled:!0,value:e.averge_star||0})))),b.a.createElement("div",{className:x.a.But},b.a.createElement("div",{className:x.a.span1},e.stu_num/1e4>1?(e.stu_num/1e4).toFixed(1)+"W":e.stu_num,"人正在学"),b.a.createElement(h.a,{className:"".concat(e.continue_stu?x.a.study:x.a.order," ").concat(e.continue_stu?x.a.studyActive:""),onClick:function(){xe(e)}},e.continue_stu?"继续学习":"立即学习"))))})))),b.a.createElement(p.a,{style:{display:"".concat(s.length<8&&"none")},align:"middle",justify:"space-between",className:x.a.PrevNext},b.a.createElement(E.a,{className:x.a.LeftButton,onClick:function(){return f.current.prev()}}),b.a.createElement(S.a,{className:x.a.RightButton,onClick:function(){return f.current.next()}})))};return b.a.createElement("div",{className:x.a.body},b.a.createElement("div",{className:x.a.BannerList},b.a.createElement(r.a,{className:x.a.BannerDiv,pauseOnDotsHover:!0,ref:Q,autoplay:!0},null==U||null===(t=U.BannerList)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement("div",{className:x.a.Banner,key:t},b.a.createElement("a",{href:(null==e?void 0:e.path)||"#"},b.a.createElement("img",{src:(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER)+(null==e?void 0:e.image_url)})))}))),b.a.createElement("div",{className:x.a.PrevNext},b.a.createElement(E.a,{className:x.a.LeftButton,onClick:function(){return Q.current.prev()}}),b.a.createElement(S.a,{className:x.a.RightButton,onClick:function(){return Q.current.next()}}))),b.a.createElement("div",{className:x.a.Cent},b.a.createElement("div",{className:x.a.InfoDiv},b.a.createElement("div",{className:x.a.userInfoDiv},b.a.createElement("div",{className:x.a.Img},b.a.createElement("img",{height:42,width:42,style:{borderRadius:"50%"},src:Object(k.p)()?"".concat(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER,"/images/").concat(null===(n=W.userInfo)||void 0===n?void 0:n.image_url):P.a})),b.a.createElement("div",{className:x.a.Info},Object(k.p)()?b.a.createElement("div",{className:x.a.Info1},null===(m=W.userInfo.ec_user_info)||void 0===m?void 0:m.user_name):b.a.createElement("div",{className:x.a.Info1,onClick:Ee},"点击登录"))),ee.map((function(e,t){return b.a.createElement("div",{key:t,className:x.a.Detailed},b.a.createElement("div",{className:x.a.Img},b.a.createElement("span",{style:{fontSize:"19px",color:"#595959"},className:"iconfont ".concat(e.img)})),b.a.createElement("div",{className:x.a.Info},b.a.createElement("div",{className:x.a.Info1},e.num),b.a.createElement("div",{className:x.a.Info2},e.title)))}))),b.a.createElement("div",{className:x.a.Learnpath},b.a.createElement(q,{img:b.a.createElement("img",{src:N.a}),title:"学习路径",to:"/paths"}),b.a.createElement("div",{className:x.a.LpCent},(null===(y=U.StudyList)||void 0===y||null===(T=y.list)||void 0===T?void 0:T.length)&&b.a.createElement(Y.a,be,null===(O=U.StudyList)||void 0===O||null===(z=O.list)||void 0===z?void 0:z.map((function(e,t){return b.a.createElement("div",{key:t},b.a.createElement("div",{className:x.a.SwiperDiv},b.a.createElement("div",{className:x.a.SwiperDivImg},b.a.createElement("img",{src:"".concat(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER,"/").concat(e.image_url)})),b.a.createElement("div",{style:{width:"212px",padding:"20px 14px"}},b.a.createElement(c.a,{placement:"topLeft",title:e.name},b.a.createElement("div",{className:x.a.SwiperDivTitle},e.name)),b.a.createElement("div",{className:x.a.SwiperDivTeacher},"发布单位:",e.school_name),b.a.createElement("div",{className:x.a.SwiperDivRate},b.a.createElement("span",{className:x.a.SwiperDivspan},e.star.toFixed(1)),b.a.createElement(o.a,{style:{color:"#E59819",fontSize:"12px",lineHeight:"14px"},allowHalf:!0,disabled:!0,value:e.star||0})),b.a.createElement("div",{className:x.a.SwiperDivBut},b.a.createElement("div",{className:x.a.SwiperDivspan1},e.member_count/1e4>1?(e.member_count/1e4).toFixed(1)+"W":e.member_count,"人正在学"),b.a.createElement(h.a,{className:x.a.SwiperDivbutton,onClick:function(){null===w.d||void 0===w.d||w.d.push("/paths/".concat(e.identifier))}},"立即学习")))))}))))),(null===(M=U.SubjectBanner)||void 0===M||null===(L=M.list)||void 0===L?void 0:L.length)>0&&b.a.createElement(Se,{TopTitleValue:{img:b.a.createElement("img",{src:A.a}),title:"热门推荐",to:"/shixuns"},BannerList:(null===(_=U.SubjectBanner)||void 0===_?void 0:_.list)||[]}),b.a.createElement("div",{className:x.a.AllCourse},b.a.createElement(q,{img:b.a.createElement("img",{src:I.a}),title:"所有课程"}),b.a.createElement(p.a,{align:"middle"},b.a.createElement(s.a,{className:x.a.Search,suffix:b.a.createElement("span",{style:{fontSize:"19px"},className:"iconfont icon-sousuo3"}),bordered:!1,placeholder:"请输入课程名称进行搜索",onPressEnter:function(e){pe.keyword=e.target.value,he(pe),ye()}})),0!=(null===(j=U.SubjectList)||void 0===j?void 0:j.total)?b.a.createElement("div",{className:x.a.AllCourseCent},b.a.createElement("div",{className:x.a.AllCourseCentRight},b.a.createElement(i.a,{spinning:ge},b.a.createElement("div",{style:{width:"100%"}},null===(V=U.SubjectList)||void 0===V||null===(G=V.list)||void 0===G?void 0:G.map((function(e,t){return b.a.createElement("div",{style:{position:"relative"},key:t},b.a.createElement("div",{className:x.a.AllCourseCentRightItem,onClick:function(){return window.open("/shixuns/".concat(e.identifier,"/challenges"))}},b.a.createElement("div",{style:{flex:"1",display:"flex"}},b.a.createElement("div",{className:x.a.AllCourseCentRightItemLeft},b.a.createElement("img",{src:"".concat(null===C.a||void 0===C.a?void 0:C.a.IMG_SERVER,"/").concat(e.image_url)})),b.a.createElement("div",{className:x.a.AllCourseCentRightItemCent,style:{maxWidth:"680px"}},b.a.createElement(c.a,{title:e.name,placement:"topLeft"},b.a.createElement("div",{className:x.a.AllCourseCentRightItemCentTitle},e.name)),b.a.createElement("div",{className:x.a.AllCourseCentRightItemCentIntro},b.a.createElement(H.a,{key:1,showLines:1,className:x.a.topicTitle,showTextOnly:!0,value:e.description||""})),b.a.createElement("div",{className:x.a.AllCourseCentRightItemCentTeacher},"创建者:",e.author_name),b.a.createElement("div",{className:x.a.AllCourseCentRightItemCentRate},b.a.createElement("span",{className:x.a.span},e.averge_star.toFixed(1)),b.a.createElement(o.a,{style:{color:"#E59819",fontSize:"12px",lineHeight:"14px"},allowHalf:!0,disabled:!0,value:e.averge_star||0})),b.a.createElement("div",{className:x.a.AllCourseCentRightItemCentNum},"关卡:".concat(e.challenges_count," 学习人数:").concat(e.stu_num," 难度:").concat(e.level))))),b.a.createElement("div",{className:x.a.AllCourseCentRightItemRight},b.a.createElement(h.a,{className:"".concat(e.continue_stu?x.a.study:x.a.order," ").concat(e.continue_stu?x.a.studyActive:""),onClick:function(){xe(e)}},e.continue_stu?"继续学习":"立即学习")))})))),b.a.createElement(a.a,{className:x.a.Pagination,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,total:(null===(X=U.SubjectList)||void 0===X?void 0:X.total)||0,onChange:function(e){pe.page=e,he(pe),ye()},defaultPageSize:pe.limit||10,defaultCurrent:1,current:pe.page}))):b.a.createElement(F.a,null))),b.a.createElement("div",{className:x.a.footer},b.a.createElement(p.a,{justify:"space-between"},b.a.createElement(f.a,null,"版权所有:新一代人工智能开源开放平台(OpenI) ",b.a.createElement("a",{href:"http://beian.miit.gov.cn/"},"京ICP备18004880号-2"),b.a.createElement("br",null),"OpenI社区使用鹏城实验室云脑、",b.a.createElement("a",{href:"https://www.trustie.net"},"Trustie确实"),"构建",b.a.createElement("br",null)),b.a.createElement(f.a,null,b.a.createElement(p.a,null,b.a.createElement(f.a,{style:{textAlign:"right"}},"联系方式",b.a.createElement("br",null),b.a.createElement("img",{src:R.a}),"微信公众号:OpenI",b.a.createElement("br",null),b.a.createElement("img",{src:B.a}),"秘书处邮箱:secretariat@openi.org.cn",b.a.createElement("br",null),b.a.createElement("img",{src:$.a}),"地址:广东省深圳市南山区兴科一街2号鹏城实验室AI中心",b.a.createElement("br",null),"广东省深圳市南山区兴科一街2号鹏城实验室"),b.a.createElement("img",{style:{marginLeft:"1em",marginBottom:"1em"},width:80,height:80,src:D.a}))))))}))},LdHM: +/*!********************************************************!*\ + !*** ./node_modules/rc-select/es/index.js + 6 modules ***! + \********************************************************/ +/*! exports provided: Option, OptGroup, default */ +/*! exports used: OptGroup, Option, default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/TransBtn.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/generate.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/commonUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/valueUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/hooks/useMemo.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/pickAttrs.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-virtual-list/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"b",(function(){return x})),n.d(t,"a",(function(){return S}));var a=n("1OyB"),i=n("vuIU"),s=n("Ji7U"),r=n("LK+K"),l=n("q1tI"),o=n("rePB"),c=n("Ff2n"),d=n("ODXe"),u=n("4IlW"),p=n("bX4T"),h=n("YrtM"),f=n("TSYQ"),m=n.n(f),g=n("+nKL"),v=n("8OUc"),b=l.forwardRef((function(e,t){var n=e.prefixCls,a=e.id,i=e.flattenOptions,s=e.childrenAsData,r=e.values,f=e.searchValue,b=e.multiple,w=e.defaultActiveFirstOption,y=e.height,x=e.itemHeight,E=e.notFoundContent,S=e.open,C=e.menuItemSelectedIcon,k=e.virtual,T=e.onSelect,A=e.onToggleOpen,O=e.onActiveValue,I=e.onScroll,z=e.onMouseEnter,P="".concat(n,"-item"),M=Object(h.a)((function(){return i}),[S,i],(function(e,t){return t[0]&&e[1]!==t[1]})),N=l.useRef(null),L=function(e){e.preventDefault()},D=function(e){N.current&&N.current.scrollTo({index:e})},_=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=M.length,a=0;a1&&void 0!==arguments[1]&&arguments[1];return Object(k.a)(e).map((function(e,n){if(!l.isValidElement(e)||!e.type)return null;var a=e.type.isSelectOptGroup,i=e.key,s=e.props,r=s.children,o=Object(c.a)(s,["children"]);return t||!a?T(e):Object(C.a)(Object(C.a)({key:"__RC_SELECT_GRP__".concat(null===i?n:i,"__"),label:i},o),{},{options:A(r)})})).filter((function(e){return e}))}var O=n("2Qr1"),I=n("qNPg"),z=n("U8pU"),P=n("Kwbf"),M=n("WKfj");var N=function(e){var t=e.mode,n=e.options,a=e.children,i=e.backfill,s=e.allowClear,r=e.placeholder,o=e.getInputElement,c=e.showSearch,d=e.onSearch,u=e.defaultOpen,p=e.autoFocus,h=e.labelInValue,f=e.value,m=e.inputValue,g=e.optionLabelProp,v="multiple"===t||"tags"===t,b=void 0!==c?c:v||"combobox"===t,w=n||A(a);if(Object(P.a)("tags"!==t||w.every((function(e){return!e.disabled})),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),"tags"===t||"combobox"===t){var y=w.some((function(e){return e.options?e.options.some((function(e){return"number"==typeof("value"in e?e.value:e.key)})):"number"==typeof("value"in e?e.value:e.key)}));Object(P.a)(!y,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(P.a)("combobox"!==t||!g,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(P.a)("combobox"===t||!i,"`backfill` only works with `combobox` mode."),Object(P.a)("combobox"===t||!o,"`getInputElement` only work with `combobox` mode."),Object(P.b)("combobox"!==t||!o||!s||!r,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),d&&!b&&"combobox"!==t&&"tags"!==t&&Object(P.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(P.b)(!u||p,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),null!=f){var x=Object(M.d)(f);Object(P.a)(!h||x.every((function(e){return"object"===Object(z.a)(e)&&("key"in e||"value"in e)})),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(P.a)(!v||Array.isArray(f),"`value` should be array when `mode` is `multiple` or `tags`")}if(a){var E=null;Object(k.a)(a).some((function(e){if(!l.isValidElement(e)||!e.type)return!1;var t=e.type;return!t.isSelectOption&&(t.isSelectOptGroup?!Object(k.a)(e.props.children).every((function(t){return!(l.isValidElement(t)&&e.type&&!t.type.isSelectOption)||(E=t.type,!1)})):(E=t,!0))})),E&&Object(P.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(E.displayName||E.name||E,"`.")),Object(P.a)(void 0===m,"`inputValue` is deprecated, please use `searchValue` instead.")}},L=Object(I.a)({prefixCls:"rc-select",components:{optionList:w},convertChildrenToData:A,flattenOptions:O.d,getLabeledValue:O.e,filterOptions:O.b,isValueDisabled:O.g,findValueOption:O.c,warningProps:N,fillOptionsWithMissingValue:O.a}),D=function(e){Object(s.a)(n,e);var t=Object(r.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).selectRef=l.createRef(),e.focus=function(){e.selectRef.current.focus()},e.blur=function(){e.selectRef.current.blur()},e}return Object(i.a)(n,[{key:"render",value:function(){return l.createElement(L,Object.assign({ref:this.selectRef},this.props))}}]),n}(l.Component);D.Option=x,D.OptGroup=S;var _=D;t.c=_},MXfU: +/*!*********************************************!*\ + !*** ./src/assets/images/icons/nodata2.png ***! + \*********************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},Nmsl: +/*!**************************************************!*\ + !*** ./src/components/NoData/index.less?modules ***! + \**************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={none_panels:"none_panels___1g-mA",none_p_title:"none_p_title___1lCVD"}},OLES: +/*!*********************************************************!*\ + !*** ./node_modules/rc-tooltip/es/index.js + 2 modules ***! + \*********************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-tooltip/es/placements.js because of ./node_modules/antd/es/tooltip/placements.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-trigger/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var a=n("U8pU"),i=n("VTBJ"),s=n("Ff2n"),r=n("q1tI"),l=n("uciX"),o=n("7ixt"),c=function(e){var t=e.overlay,n=e.prefixCls,a=e.id,i=e.overlayInnerStyle;return r.createElement("div",{className:"".concat(n,"-inner"),id:a,role:"tooltip",style:i},"function"==typeof t?t():t)},d=Object(r.forwardRef)((function(e,t){var n=e.overlayClassName,d=e.trigger,u=void 0===d?["hover"]:d,p=e.mouseEnterDelay,h=void 0===p?0:p,f=e.mouseLeaveDelay,m=void 0===f?.1:f,g=e.overlayStyle,v=e.prefixCls,b=void 0===v?"rc-tooltip":v,w=e.children,y=e.onVisibleChange,x=e.afterVisibleChange,E=e.transitionName,S=e.animation,C=e.placement,k=void 0===C?"right":C,T=e.align,A=void 0===T?{}:T,O=e.destroyTooltipOnHide,I=void 0!==O&&O,z=e.defaultVisible,P=e.getTooltipContainer,M=e.overlayInnerStyle,N=Object(s.a)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),L=Object(r.useRef)(null);Object(r.useImperativeHandle)(t,(function(){return L.current}));var D=Object(i.a)({},N);"visible"in e&&(D.popupVisible=e.visible);var _=!1,R=!1;if("boolean"==typeof I)_=I;else if(I&&"object"===Object(a.a)(I)){var j=I.keepParent;_=!0===j,R=!1===j}return r.createElement(l.a,Object.assign({popupClassName:n,prefixCls:b,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,a=e.overlay,i=e.id;return[r.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),r.createElement(c,{key:"content",prefixCls:b,id:i,overlay:a,overlayInnerStyle:M})]},action:u,builtinPlacements:o.a,popupPlacement:k,ref:L,popupAlign:A,getPopupContainer:P,onPopupVisibleChange:y,afterPopupVisibleChange:x,popupTransitionName:E,popupAnimation:S,defaultPopupVisible:z,destroyPopupOnHide:_,autoDestroy:R,mouseLeaveDelay:m,popupStyle:g,mouseEnterDelay:h},D),w)}));t.a=d},Rv0a: +/*!****************************************!*\ + !*** ./src/pages/Course/icon/rmtj.svg ***! + \****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/rmtj.72409142.svg"},SJMd: +/*!****************************************************!*\ + !*** ./node_modules/code-prettify/src/prettify.js ***! + \****************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){window.PR_SHOULD_USE_CONTINUATION=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],a=[n,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],i=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[n,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],r=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],l="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",o=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],c=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],d=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],u=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function p(e,t,n,a,i){if(n){var s={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};a(s),i.push.apply(i,s.decorations)}}var h=/\S/;function f(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var a=n.nodeType;t=1===a?t?e:n:3===a&&h.test(n.nodeValue)?e:t}return t===e?void 0:t}function m(e,t){var n,a={};!function(){for(var i=e.concat(t),s=[],r={},l=0,o=i.length;l=0;)a[d.charAt(u)]=c;var p=c[1],h=""+p;r.hasOwnProperty(h)||(s.push(p),r[h]=null)}s.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,a=!1,i=0,s=e.length;i122||(d<65||u>90||n.push([32|Math.max(65,u),32|Math.min(d,90)]),d<97||u>122||n.push([-33&Math.max(97,u),-33&Math.min(d,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var p=[],h=[];for(s=0;sf[0]&&(f[1]+1>f[0]&&i.push("-"),i.push(o(f[1])))}return i.push("]"),i.join("")}function d(e){for(var a=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),i=a.length,s=[],r=0,l=0;r=2&&"["===p?a[r]=c(u):"\\"!==p&&(a[r]=u.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return a.join("")}var u=[];for(i=0,s=e.length;i=5&&"lang-"===b.substring(0,5))||w&&"string"==typeof w[1]||(g=!1,b="src"),g||(h[v]=b)}var S=d;if(d+=v.length,g){var C=w[1],k=v.indexOf(C),T=k+C.length;w[2]&&(k=(T=v.length-w[2].length)-C.length);var A=b.substring(5);p(o,l+S,v.substring(0,k),s,c),p(o,l+S+k,C,x(A,C),c),p(o,l+S+T,v.substring(T),s,c)}else c.push(l+S,b)}e.decorations=c};return s}function g(e){var t=[],n=[];e.tripleQuotedStrings?t.push(["str",/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e.multiLineStrings?t.push(["str",/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push(["str",/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e.verbatimStrings&&n.push(["str",/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var a=e.hashComments;a&&(e.cStyleComments?(a>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push(["com",/^#[^\r\n]*/,null,"#"])),e.cStyleComments&&(n.push(["com",/^\/\/[^\r\n]*/,null]),n.push(["com",/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var i=e.regexLiterals;if(i){var s=i>1?"":"\n\r",r=s?".":"[\\S\\s]",l="/(?=[^/*"+s+"])(?:[^/\\x5B\\x5C"+s+"]|\\x5C"+r+"|\\x5B(?:[^\\x5C\\x5D"+s+"]|\\x5C"+r+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+l+")")])}var o=e.types;o&&n.push(["typ",o]);var c=(""+e.keywords).replace(/^ | $/g,"");c.length&&n.push(["kwd",new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var d="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(d+="(?!s*/)"),n.push(["lit",/^@[a-z_$][a-z_$@0-9]*/i,null],["typ",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],["pln",/^[a-z_$][a-z_$@0-9]*/i,null],["lit",new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],["pln",/^\\[\s\S]?/,null],["pun",new RegExp(d),null]),m(t,n)}var v=g({keywords:[a,s,i,r,l,o,c,d],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function b(e,t,n){for(var a=/(?:^|\s)nocode(?:\s|$)/,i=/\r\n?|\n/,s=e.ownerDocument,r=s.createElement("li");e.firstChild;)r.appendChild(e.firstChild);var l=[r];function o(e){var t=e.nodeType;if(1!=t||a.test(e.className)){if((3==t||4==t)&&n){var r=e.nodeValue,l=r.match(i);if(l){var d=r.substring(0,l.index);e.nodeValue=d;var u=r.substring(l.index+l[0].length);if(u)e.parentNode.insertBefore(s.createTextNode(u),e.nextSibling);c(e),d||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)o(p)}function c(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var a=n?t.cloneNode(!1):t,i=t.parentNode;if(i){var s=e(i,1),r=t.nextSibling;s.appendChild(a);for(var l=r;l;l=r)r=l.nextSibling,s.appendChild(l)}return a}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;l.push(n)}for(var d=0;d=0;){var i=n[a];w.hasOwnProperty(i)?e.console&&console.warn("cannot override language handler %s",i):w[i]=t}}function x(e,t){return e&&w.hasOwnProperty(e)||(e=/^\s*=y&&(d+=2),l>=x&&(h+=2)}}finally{v&&(v.style.display=b)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(e,t,n){var a=n||!1,i=t||null,s=document.createElement("div");return s.innerHTML="
    "+e+"
    ",s=s.firstChild,a&&b(s,a,!0),E({langExtension:i,numberLines:a,sourceNode:s,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),s.innerHTML}function C(t,n){var a=n||document.body,i=a.ownerDocument||document;function s(e){return a.getElementsByTagName(e)}for(var r=[s("pre"),s("code"),s("xmp")],l=[],o=0;o]*(?:>|$)/],["com",/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),y(m([["pln",/^[\s]+/,null," \t\r\n"],["atv",/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],["pun",/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),y(m([],[["atv",/^[\s\S]+/]]),["uq.val"]),y(g({keywords:a,hashComments:!0,cStyleComments:!0,types:u}),["c","cc","cpp","cxx","cyc","m"]),y(g({keywords:"null,true,false"}),["json"]),y(g({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:u}),["cs"]),y(g({keywords:i,cStyleComments:!0}),["java"]),y(g({keywords:d,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),y(g({keywords:o,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),y(g({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),y(g({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),y(g({keywords:r,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),y(g({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),y(m([],[["str",/^[\s\S]+/]]),["regex"]);var k=e.PR={createSimpleLexer:m,registerLangHandler:y,sourceDecorator:g,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:S,prettyPrint:C},T=e.define;"function"==typeof T&&T.amd&&T("google-code-prettify",[],(function(){return k}))}()},TNhT: +/*!**********************************************!*\ + !*** ./src/pages/Course/icon/openiecode.jpg ***! + \**********************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/openiecode.9c1e6b1b.jpg"},VvGm: +/*!******************************************!*\ + !*** ./src/pages/Course/icon/weixin.png ***! + \******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAARVJREFUOE+tk7FKxFAQRe9NArbaaecn2CuCjbCFZQKW+gN5+AOr2CZk8gOyxVYJWFhoYWdpY6W2tmK9jc2VwEbeZrMs7O5U7w0zZ+7MMMSaxjXzsVmAc24bwBDAwVTZJ4BXMxstUvqvwDm3B+DRS/Zzbszsug/iAx4AnElKSMYA4u67LMu6C/EB6qsgaRgEwZakQwCjKIrqLMsmbewywB2AyzZY0hvJHQAnZvbV+H1A02MzwNaeAAwAPJO8l2QkzyWNAVRmdjEDaD7OOR/yAuB4wfS/zWy3D1BJqkn+SDoieds7ebIoiuJqDtANTtM0Jll1/O9hGCZ5nn8sBUzb2gdwCuBX0qRZsZklc1tY9SY2ewurqPgDYoVjEedK2pEAAAAASUVORK5CYII="},Wchl: +/*!****************************************!*\ + !*** ./src/pages/Course/icon/sysx.svg ***! + \****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/sysx.bac147a2.svg"},Y1PL: +/*!**********************************************************!*\ + !*** ./node_modules/rc-textarea/es/index.js + 7 modules ***! + \**********************************************************/ +/*! exports provided: ResizableTextArea, default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/omit.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js (<- Module uses injected variables (global)) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shallowequal/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t),n.d(t,"ResizableTextArea",(function(){return N}));var a=n("wx14"),i=n("1OyB"),s=n("vuIU"),r=n("Ji7U"),l=n("LK+K"),o=n("q1tI"),c=n("VTBJ"),d=n("rePB"),u=n("Zm9Q"),p=(n("Kwbf"),n("c+Xe")),h=n("m+aA"),f=n("bdgK"),m=new Map;var g=new f.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=m.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var v=function(e){Object(r.a)(n,e);var t=Object(l.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),b=o.createContext(null);function w(e){var t=e.children,n=e.disabled,a=o.useRef(null),i=o.useRef(null),s=o.useContext(b),r=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),l=o.isValidElement(t)&&Object(p.c)(t),d=l?t.ref:null,u=o.useMemo((function(){return Object(p.a)(d,a)}),[d,a]),f=o.useRef(e);f.current=e;var w=o.useCallback((function(e){var t=f.current,n=t.onResize,a=t.data,i=e.getBoundingClientRect(),l=i.width,o=i.height,d=e.offsetWidth,u=e.offsetHeight,p=Math.floor(l),h=Math.floor(o);if(r.current.width!==p||r.current.height!==h||r.current.offsetWidth!==d||r.current.offsetHeight!==u){var m={width:p,height:h,offsetWidth:d,offsetHeight:u};r.current=m;var g=d===Math.round(l)?l:d,v=u===Math.round(o)?o:u,b=Object(c.a)(Object(c.a)({},m),{},{offsetWidth:g,offsetHeight:v});null==s||s(b,e,a),n&&Promise.resolve().then((function(){n(b,e)}))}}),[]);return o.useEffect((function(){var e,t,s=Object(h.a)(a.current)||Object(h.a)(i.current);return s&&!n&&(e=s,t=w,m.has(e)||(m.set(e,new Set),g.observe(e)),m.get(e).add(t)),function(){return function(e,t){m.has(e)&&(m.get(e).delete(t),m.get(e).size||(g.unobserve(e),m.delete(e)))}(s,w)}}),[a.current,n]),o.createElement(v,{ref:i},l?o.cloneElement(t,{ref:u}):t)}function y(e){var t=e.children;return Object(u.a)(t).map((function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(w,Object(a.a)({},e,{key:i}),t)}))}y.Collection=function(e){var t=e.children,n=e.onBatchResize,a=o.useRef(0),i=o.useRef([]),s=o.useContext(b),r=o.useCallback((function(e,t,r){a.current+=1;var l=a.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then((function(){l===a.current&&(null==n||n(i.current),i.current=[])})),null==s||s(e,t,r)}),[n,s]);return o.createElement(b.Provider,{value:r},t)};var x,E=y,S=n("bT9E"),C=n("TSYQ"),k=n.n(C),T="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",A=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],O={};function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&O[n])return O[n];var a=window.getComputedStyle(e),i=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),s=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),r=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),l=A.map((function(e){return"".concat(e,":").concat(a.getPropertyValue(e))})).join(";"),o={sizingStyle:l,paddingSize:s,borderSize:r,boxSizing:i};return t&&n&&(O[n]=o),o}var z,P=n("Gytx"),M=n.n(P);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(z||(z={}));var N=function(e){Object(r.a)(n,e);var t=Object(l.a)(n);function n(e){var s;return Object(i.a)(this,n),(s=t.call(this,e)).nextFrameActionId=void 0,s.resizeFrameId=void 0,s.textArea=void 0,s.saveTextArea=function(e){s.textArea=e},s.handleResize=function(e){var t=s.state.resizeStatus,n=s.props,a=n.autoSize,i=n.onResize;t===z.NONE&&("function"==typeof i&&i(e),a&&s.resizeOnNextFrame())},s.resizeOnNextFrame=function(){cancelAnimationFrame(s.nextFrameActionId),s.nextFrameActionId=requestAnimationFrame(s.resizeTextarea)},s.resizeTextarea=function(){var e=s.props.autoSize;if(e&&s.textArea){var t=e.minRows,n=e.maxRows,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;x||((x=document.createElement("textarea")).setAttribute("tab-index","-1"),x.setAttribute("aria-hidden","true"),document.body.appendChild(x)),e.getAttribute("wrap")?x.setAttribute("wrap",e.getAttribute("wrap")):x.removeAttribute("wrap");var i=I(e,t),s=i.paddingSize,r=i.borderSize,l=i.boxSizing,o=i.sizingStyle;x.setAttribute("style","".concat(o,";").concat(T)),x.value=e.value||e.placeholder||"";var c,d=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,p=x.scrollHeight;if("border-box"===l?p+=r:"content-box"===l&&(p-=s),null!==n||null!==a){x.value=" ";var h=x.scrollHeight-s;null!==n&&(d=h*n,"border-box"===l&&(d=d+s+r),p=Math.max(d,p)),null!==a&&(u=h*a,"border-box"===l&&(u=u+s+r),c=p>u?"":"hidden",p=Math.min(u,p))}return{height:p,minHeight:d,maxHeight:u,overflowY:c,resize:"none"}}(s.textArea,!1,t,n);s.setState({textareaStyles:a,resizeStatus:z.RESIZING},(function(){cancelAnimationFrame(s.resizeFrameId),s.resizeFrameId=requestAnimationFrame((function(){s.setState({resizeStatus:z.RESIZED},(function(){s.resizeFrameId=requestAnimationFrame((function(){s.setState({resizeStatus:z.NONE}),s.fixFirefoxAutoScroll()}))}))}))}))}},s.renderTextArea=function(){var e=s.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,i=e.autoSize,r=e.onResize,l=e.className,u=e.disabled,p=s.state,h=p.textareaStyles,f=p.resizeStatus,m=Object(S.a)(s.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),g=k()(n,l,Object(d.a)({},"".concat(n,"-disabled"),u));"value"in m&&(m.value=m.value||"");var v=Object(c.a)(Object(c.a)(Object(c.a)({},s.props.style),h),f===z.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return o.createElement(E,{onResize:s.handleResize,disabled:!(i||r)},o.createElement("textarea",Object(a.a)({},m,{className:g,style:v,ref:s.saveTextArea})))},s.state={textareaStyles:{},resizeStatus:z.NONE},s}return Object(s.a)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&M()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(e){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(o.Component),L=function(e){Object(r.a)(n,e);var t=Object(l.a)(n);function n(e){var a;Object(i.a)(this,n),(a=t.call(this,e)).resizableTextArea=void 0,a.focus=function(){a.resizableTextArea.textArea.focus()},a.saveTextArea=function(e){a.resizableTextArea=e},a.handleChange=function(e){var t=a.props.onChange;a.setValue(e.target.value,(function(){a.resizableTextArea.resizeTextarea()})),t&&t(e)},a.handleKeyDown=function(e){var t=a.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)};var s=void 0===e.value||null===e.value?e.defaultValue:e.value;return a.state={value:s},a}return Object(s.a)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return o.createElement(N,Object(a.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(o.Component);t.default=L},YVwf: +/*!***************************************************!*\ + !*** ./node_modules/react-id-swiper/lib/index.js ***! + \***************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(/*! ./ReactIdSwiper */"Kw3X"));t.default=i.default},ZFXH: +/*!**************************************!*\ + !*** ./src/pages/Course/icon/tx.png ***! + \**************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAB6tJREFUWEe1mVtsVMcZgL9/zu76go3vrgkOYDA4QHBMDCSASEqctAESChJGbQArfSlVH1DUqCrgB0JbJ1HV9AHlAapKTQ2NKkigUkpDLgheCkrB4BjCLUmBcgfXxMbxbffMVLO+r33WZw2dR+/MP5//+/xHGOXaUlkZ6koOzHfEWeyEgqWOIyUi5AuSbkUare9p19zWRp93I7rBNe6hUEfk6NY9e7pGc6Ukemhj1Q9nK5z1GFYDWQmev4uwW+PueLP2rycTOesbdHNVVakY/YbBLAF8n/OAMYJ8aERter22tsEP8IgXbnn55eSIjtQYrTcgEhhOqFKCMeC6Lq6r0dqAAVFCMOjgOKr7b7HLmIgotS2gAtVb33mnIx5wXNCNa9cWK2X2YCiLFSICzS3tXLt+l1s3m2lpaaejLRwFtdDRJRAMOeTlpzPr0UJyc9L7fxsoUKjXWirf3LXrKy9YT9DqqpfmGS37EXIHyRRo/O896k5e5s6Nlqjm1AieYLmNMjy5oJgpRfnDsxgaRZllNbXv/mu4DcOCdkNyEJG03kNWSyKGE59f5uyp6ygzotcMvS8AK1aUk5IS8oA1raKoGA52yG1Rc2OOxmrSSj7y2ZdcvHBnRA16mU9jmDOviJKScd7uaGjUyPxYNxgEagMnrMNHh/PJs+euc+LYpVFDRnMrkFuQztNPlZCUFPSGFeqDKjh/YIANAq2uWvuWMebnsRK01uzde5xwu+snk8TdYzAEUwIseb6UtLRkz70i8vua2l2v9m7oA7V5Eh2pGy4FtbV3su+94yjUfYN2a9ZQUJhJxTMzMX0pIka0MRFUoLw3z/aBVq9bu99glg5HYlPO++8dw+3SQ1Nhz8Uu1gP7VzDqJN4Bp4LCqsp50RzrnZLkHzU7dy3ryXQQLYvGqfOqOPa6L85d5fTnVzHaEAgpMjOSGF+QRmH2GCYVplNcmElOVgo5Y5LoNIYNvz3Mfy61ekJoMayqnBvfV23LIG65LbfRf3lz1ZrtGNbHs2tBZoiqpwrQEUNSUJGcFMBWpGgG76lEfeeVUL39M97df8Fbq45QuXougYAT352EHa/X/uWnYrugcHLoZrwGw5p05kOprFlY0B26Iy1HePXtI+w98LUnaGpGEit+8PjwlWqw/LvBjq4C2bTuR08L6nC8u63SnpySzvLyPH+gAcWPaw5y+Mg1tDJRT1W63xdtME0qzmPhgmnewTQAyKC/K5ur1r6GMVvigWpjeGZGFs/NzB5Jl92/BxQv/uLvdIRdfvfKIiLGULXxI9pbu9Ob9c8ly0rJzuorfCOYX7bK5qo1ezGsjLfT1Yblj+eyoDjDHyhw4mIj0x7OIs1xQAm/2VXHH3efiWp3ckk+85+Y6kub0QuFfbJ53ZovgBkjga6am8ecorG+QQdtFNi27zRv/ametLFJvPBCGQH7D/hfZ6R63Zo7hsEdUux5q9H7AQ0rWPLKB3x9sYXvL5lFTrZPk/eA2IbN+mgHxiTF9VFtWFqWw6Jpmf510LOzU+BXfz7GzvfPMau0kNmPTfSVOAZbRDp9gdqoXzg1g2VlOQmBXm36lpd+/QmX/32P5JQgK1fOiVuJPIWLdPoyvU2d08elsm5RAQytop7yz91o4Xs/+xuOVkybPo65c4v85M0h8rpN7yOY7MkxSYqNL05KrC1Rwms7j/OH3aeoeHomEyYkZpEBxGd8pSd7wDYm658tpCg7OaE3qCvw8ckr1F8O0xpOyHP6N0fTk4+Eb0/YduzhnGR+UjEex08ZHcikYNuBK9xqGSWpyFZfJbT3TvvkLZuUzoo5eSTZhsRrdbRCKAVUT668T9BoCfXTlAzksbBjUx2eKM5kcl4yhekQsBEW7oKOFuhqg4wCSMnsd5H7A+1uSiyEnzYvVnkWOKxhU3krOSEDwSRIy4W0HFAxzbCCtz+6yo3mUYydets8CzBS4+xlYQv7y6UPkZka6jfzcJsVbP/0GleaOhONpsGNsz0d7yniJT01pNi0fKKvl+nBs3f5uKGJgON/HiDEPEW6ze/9uBtq9u750vI5eSws9ldWtdH881qIui9vcfN2E0opxM6FvJbX4y6qVY/nsv3NPpnt+k5uFrMeKWLG1ImMU9/AvatgXDtGGf7JZTSoIGROhrSCaJ2/eqeJulMXOHXuIq1t7TjDQHs+ly1E7ADC1Rolwrj8bB6bPiUKl5ORhgyczOkItDdBRxN0fQsm0q0jcSCYAil5kJprR3uDdSdC2HW5cPk6xxrO89Wla0RcHYVmpAFENLDsSEfM0fEFubmlj0xmRvEEssemWZWOEAi9ZhxYDezffFQHJbS0dXDq/EWONVxovNXYHH+k00vSfOSDeWNTkg+idWKNY6IxHbtfaEUFKqSsYshEz9ObTf2BebjsBxk0drxfljjR04jDMil73v/YsVeYqTtUjIT3YMyQQe4DBRapxwQrpXxx4oPcPthDh5LJCNdgzAb7vnyggBBBZBvNwWpZvHj0o/GBUKbu01JEv4F5MB8bEPkQozZJ+bMP5mNDrAZN/SezcbUd/4zu8w3sxlE7pOy5/8/nmyHAp3eHaMucj2MWg5QCJUA+YqIfxDByD7gNnAfTgCuHSP3mqDy6ehSdCfwPqVkJXqLkDSoAAAAASUVORK5CYII="},ZW9T: +/*!************************************************************!*\ + !*** ./src/components/monaco-editor/index.jsx + 1 modules ***! + \************************************************************/ +/*! exports provided: getLanguageByMirrorName, default, DiffEditor */ +/*! exports used: DiffEditor, default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js (<- Module uses injected variables (global)) */function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var a=n("k1fw"),i=(n("miYZ"),n("tsqr")),s=n("rAM+"),r=n("tJVT"),l=n("PpiC"),o=n("q1tI"),c=n.n(o),d=n("bdgK");function u(e,t,n,i,s){var r=t.getWordUntilPosition(n),l={startLineNumber:n.lineNumber,endLineNumber:n.lineNumber,startColumn:r.startColumn,endColumn:r.endColumn},o=i.map((function(t){return{label:t,kind:e.languages.CompletionItemKind.Keyword,insertText:t,insertTextRules:e.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:l}}));return s.map((function(e){o.push(Object(a.a)(Object(a.a)({},e),{},{range:l}))})),o}n("LvDl");function p(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function h(){}var f={"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"};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e;if(Array.isArray(e)){for(var n=0;n0||a.target.offsetWidth>0)&&Y.current.instance.layout()}}catch(e){n.e(e)}finally{n.f()}}))).observe(G.current),e}();return Z(!0),function(){var e=Y.current.instance;e.dispose();var t=e.getModel();t&&t.dispose(),Y.current.subscription&&Y.current.subscription.dispose(),D&&window.removeEventListener("paste",ee),n.unobserve(G.current)}}catch(e){}}))}),[]),Object(o.useEffect)((function(){if(Y.current.instance&&Q)return document.addEventListener("keydown",te,!1),function(){document.removeEventListener("keydown",te)}}),[P,Q]),Object(o.useEffect)((function(){var e=Y.current.instance;if(e&&Q){var t=m(x);g.editor.setModelLanguage(e.getModel(),t),console.log("language:",x,e.getModel(),t)}}),[x,Q]),Object(o.useEffect)((function(){Y.current.instance&&Q&&g.editor.setTheme(I)}),[I,Q]),Object(o.useEffect)((function(){var e=Y.current.instance;e&&Q&&(e.updateOptions(Object(a.a)({},k)),setTimeout((function(){e.getModel().updateOptions(Object(a.a)({},k))}),200))}),[JSON.stringify(k),Q]),Object(o.useEffect)((function(){var e=Y.current.instance;e&&Q&&e.layout()}),[f,b,Q]);var ie=Object(o.useState)(p(f)),se=Object(r.a)(ie,2),re=se[0],le=(se[1],Object(o.useState)(p(b))),oe=Object(r.a)(le,2),ce=oe[0],de=oe[1],ue=Object(a.a)(Object(a.a)({},S),{},{width:re,height:ce});return c.a.createElement("div",{className:"my-monaco-editor",ref:G,style:ue})};function v(e){var t=e.width,i=void 0===t?"100%":t,l=e.height,u=void 0===l?"100%":l,h=e.original,f=e.modified,m=e.language,v=e.options,b=void 0===v?{}:v,w=Object(o.useRef)(),y=Object(o.useState)(null),x=Object(r.a)(y,2),E=x[0],S=x[1];Object(o.useEffect)((function(){w.current&&n.e(/*! import() | monaco-editor */27).then(n.t.bind(null,/*! monaco-editor/esm/vs/editor/editor.api.js */"M/lh",7)).then((function(e){var t=(g=e).editor.createDiffEditor(w.current,Object(a.a)(Object(a.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},b),{},{wordWrap:!0}));S(t);var n=function(e){var t;return w.current&&(t=new d.default((function(t){var n,a=Object(s.a)(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;(i.target.offsetHeight>0||i.target.offsetWidth>0)&&e.layout()}}catch(e){a.e(e)}finally{a.f()}}))).observe(w.current),t}(t);return function(){t.dispose();var e=t.getModel();e&&e.dispose(),n.unobserve(w.current)}}))}),[]),Object(o.useEffect)((function(){E&&E.setModel({original:g.editor.createModel(h,m),modified:g.editor.createModel(f,m)})}),[h,f,m,E]);var C={width:p(i),height:p(u)};return c.a.createElement("div",{className:"my-diff-editor",ref:w,style:C})}},aQ23: +/*!*********************************************!*\ + !*** ./src/pages/Course/index.less?modules ***! + \*********************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___2M6jb",flex_space_between:"flex_space_between___3oyXt",flex_box_vertical_center:"flex_box_vertical_center___2N_cO",flex_box_center_end:"flex_box_center_end___d-jJy",flex_box_column:"flex_box_column___39bRO",AllButStyle:"AllButStyle___2LlU5",ButStyles:"ButStyles___2nNl4",order:"order___38uMl",study:"study___2jT1r",studyActive:"studyActive___2E0fH",qianfuhao:"qianfuhao___3C_D0",TopTitle:"TopTitle___Vu9FP",TopName:"TopName___3QgC_",BannerComponent:"BannerComponent___1EZP0",CustomTags:"CustomTags___2IlM3",centNavDiv:"centNavDiv___2yRgO",centNavDivOpen:"centNavDivOpen___1r0aH",centNav:"centNav___1z3BB",centNavActive:"centNavActive___1EwRC",OpenClose:"OpenClose___oUTG_",OpenIcon:"OpenIcon___2QlCZ",CloseIcon:"CloseIcon___3V8OE",Swiper:"Swiper___2KPuN",BannerListItemDiv:"BannerListItemDiv___2hMLS",BannerListItem:"BannerListItem___2V-nj",BannerListItemImg:"BannerListItemImg___179E0",BannerListItemInfo:"BannerListItemInfo___s2N0u",BannerListItemInfoTitle:"BannerListItemInfoTitle___3iSf-",BannerListItemInfoTeacher:"BannerListItemInfoTeacher___2KXH1",BannerListItemInfoRate:"BannerListItemInfoRate___383WA",span:"span___1Elvg",BannerListItemInfoTime:"BannerListItemInfoTime___2nlZq",countdown:"countdown___3Qb8q",timeprice:"timeprice___1vCHg",BannerListItemInfoTime2:"BannerListItemInfoTime2___3bUWj",But:"But___N4BbZ",span1:"span1___1rWEC",PrevNext:"PrevNext___XiPzA",buttonStyle:"buttonStyle___1b82L",LeftButton:"LeftButton___3d2Sg",RightButton:"RightButton___EbSJZ",AllCourse:"AllCourse___2V2gD",Search:"Search___3zs9t",AllCourseCent:"AllCourseCent___2meDD",AllCourseCentRight:"AllCourseCentRight___dl3fc",AllCourseCentRightItem:"AllCourseCentRightItem___fZlBS",AllCourseCentRightItemLeft:"AllCourseCentRightItemLeft___3nBqf",AllCourseCentRightItemCent:"AllCourseCentRightItemCent___gfc9G",AllCourseCentRightItemCentTitle:"AllCourseCentRightItemCentTitle___1bL_I",AllCourseCentRightItemCentIntro:"AllCourseCentRightItemCentIntro___1KOvU",topicTitle:"topicTitle___2VVJQ",AllCourseCentRightItemCentTeacher:"AllCourseCentRightItemCentTeacher___MAH9w",AllCourseCentRightItemCentRate:"AllCourseCentRightItemCentRate___3AoMp",AllCourseCentRightItemCentNum:"AllCourseCentRightItemCentNum___3b3Z2",AllStyles:"AllStyles___2qMH-",AllCourseCentRightItemRight:"AllCourseCentRightItemRight___2zjNH",PriceStyles:"PriceStyles___J4TCd",OriginPrice:"OriginPrice___31RBG",IsDiscount:"IsDiscount___B1Jho",IsDiscountPrice:"IsDiscountPrice___Sczv2",IsDiscountCountdown:"IsDiscountCountdown___1NRKY",span2:"span2___rWdDx",IsDiscountOriginPrice:"IsDiscountOriginPrice___3jVxi",two:"two___1_udq",Pagination:"Pagination___17MAm",body:"body___1QgmN",BannerList:"BannerList___2yXmD",BannerDiv:"BannerDiv___3VB4s",Banner:"Banner___1RkRG",Cent:"Cent___liIDb",InfoDiv:"InfoDiv___2ihQy",infoStyle:"infoStyle___11umc",Img:"Img___O7O-f",Info:"Info___34ALm",Info1:"Info1___KWN4K",Info2:"Info2___7r67j",userInfoDiv:"userInfoDiv___2C-Wc",Detailed:"Detailed___3p08d",footer:"footer___3WS1f",Learnpath:"Learnpath___2T7pb",LpCent:"LpCent___1n319",SwiperDiv:"SwiperDiv___3Lv--",SwiperDivImg:"SwiperDivImg___1l9NE",SwiperDivTitle:"SwiperDivTitle___3slZM",SwiperDivTeacher:"SwiperDivTeacher___2MDKv",SwiperDivRate:"SwiperDivRate___2Lajo",SwiperDivspan:"SwiperDivspan___R5IK8",SwiperDivBut:"SwiperDivBut___386hI",SwiperDivspan1:"SwiperDivspan1___2F0RU",SwiperDivbutton:"SwiperDivbutton___sPNpr"}},bT9E: +/*!*****************************************!*\ + !*** ./node_modules/rc-util/es/omit.js ***! + \*****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(/*! @babel/runtime/helpers/esm/objectSpread2 */"VTBJ");function i(e,t){var n=Object(a.a)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},bz3z: +/*!*******************************************!*\ + !*** ./src/pages/Course/icon/mailbox.png ***! + \*******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAJ5JREFUOE/NkzEOwjAMRf/PwDE4S6deJ4lY2CgTLFyIqWfhGAwxctRIoapQcJb+LZHfs+UoRGfYyYPe+5tz7mgRpZReWUDybBGIyJ0xxlFETgDGPyVPkg+GECYAM8lDoyiDIvIGMBTBRSUArj9ENaj1Q65fJtCLkrUIVccCltpNwZdoOazBJkHLTvMEatdFWjLtR6BPYsnc/5ksbWvmA9okS57F9YpwAAAAAElFTkSuQmCC"},p5ED: +/*!*********************************************!*\ + !*** ./src/components/PreviewAll/index.tsx ***! + \*********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/button/style */"+L6B");var a=n(/*! antd/es/button */"2/Rp"),i=(n(/*! antd/es/tooltip/style */"5Dmo"),n(/*! antd/es/tooltip */"3S7+")),s=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),l=n(/*! react */"q1tI"),o=n.n(l),c=n(/*! ./index.less?modules */"vHTk"),d=n.n(c),u=n(/*! @ant-design/icons */"yEEn"),p=n(/*! @/components/monaco-editor */"ZW9T"),h=n(/*! @/utils/util */"1vsH");t.a=function(e){var t=e.name,n=e.data,c=(e.theme,e.type),f=e.filename,m=e.monacoEditor,g=e.className,v=e.style,b=e.close,w=e.onClose,y=e.hasMask,x=Object(l.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),E=Object(r.a)(x,2),S=(E[0],E[1],Object(l.useState)("")),C=Object(r.a)(S,2),k=(C[0],C[1]),T=Object(l.useRef)();f&&(m.filename=f),Object(l.useEffect)((function(){var e,t,n=null===(e=document.cookie)||void 0===e||null===(t=e.replace(/\s/g,""))||void 0===t?void 0:t.split(";");null==n||n.map((function(e){var t=e.split("=");"_educoder_session"===t[0]&&k(t[1])}))}),[]);var A=function(){n.startsWith("http")||n.startsWith("/")?O():Object(h.x)(f||"educoder",n,f)},O=function(){Object(h.v)(f||t,n)};return console.log("data:",n,"fileanme:",f," name:",t),o.a.createElement("div",{style:Object(s.a)({},v||{}),className:"".concat(y&&d.a.bgBlack," ").concat(c?d.a.wrp:"hide")},b&&o.a.createElement("div",{className:d.a.close,ref:T},o.a.createElement(i.a,{title:"点击下载此文件",getPopupContainer:function(){return T.current}},o.a.createElement("span",{onClick:O},o.a.createElement("i",{className:"icon-quxiaozhiding"}))),o.a.createElement(i.a,{title:"关闭",getPopupContainer:function(){return T.current}},o.a.createElement("span",{className:"",onClick:w},o.a.createElement("i",{className:"icon-guanbi1"})))),o.a.createElement("div",{className:"".concat(d.a[g]," ").concat(g," ").concat(d.a.monaco," ").concat("txt"===c?"show":"hide")},"txt"===c&&o.a.createElement(p.b,m)),"audio"===c&&o.a.createElement("audio",{src:"".concat(null!=n&&n.startsWith("/")||(null==n?void 0:n.indexOf("https://"))>-1?n:"data:audio/mp3;base64,").concat(n),autoPlay:!0}),"video"===c&&o.a.createElement(o.a.Fragment,null,null!=n&&n.startsWith("/")?o.a.createElement("video",{controls:!0,src:"".concat(n),autoPlay:!0}):o.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(n),autoPlay:!0})),"pdf"===c&&o.a.createElement("embed",{className:d.a.embed,src:n}),"image"===c&&o.a.createElement(o.a.Fragment,null,o.a.createElement("img",{src:"".concat(null!=n&&n.startsWith("/")||(null==n?void 0:n.indexOf("https://"))>-1?"":"data:image/png;base64,").concat(n)})),"other"===c&&o.a.createElement("div",null,o.a.createElement(a.a,{type:"primary",size:"large",onClick:A},o.a.createElement(u.a,null),"点击下载")),("download"===c||"office"===c)&&o.a.createElement(a.a,{type:"primary",size:"large",onClick:A},o.a.createElement(u.a,null),"点击下载"))}},pIsd: +/*!***************************************!*\ + !*** ./node_modules/json2mq/index.js ***! + \***************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var a=n(/*! string-convert/camel2hyphen */"BJfS"),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,s){var r=e[i];(function(e){return/[height|width]$/.test(e)})(i=a(i))&&"number"==typeof r&&(r+="px"),t+=!0===r?i:!1===r?"not "+i:"("+i+": "+r+")",s=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,l=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){o=!0,r=e},f:function(){try{l||null==n.return||n.return()}finally{if(o)throw r}}}}},rUJ1: +/*!********************************************!*\ + !*** ./node_modules/marked/src/helpers.js ***! + \********************************************/ +/*! no static exports found */ +/*! exports used: escape */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){const n=/[&<>"']/,a=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,s=/[<>"']|&(?!#?\w+;)/g,r={"&":"&","<":"<",">":">",'"':""","'":"'"},l=e=>r[e];const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(o,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const d=/(^|[^\[])\^/g;const u=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const h={},f=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,g=/^([^:]+:\/*[^/]*)[\s\S]*$/;function v(e,t){h[" "+e]||(f.test(e)?h[" "+e]=e+"/":h[" "+e]=b(e,"/",!0));const n=-1===(e=h[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(m,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(g,"$1")+t:e+t}function b(e,t,n){const a=e.length;if(0===a)return"";let i=0;for(;i(a=(a=a.source||a).replace(d,"$1"),e=e.replace(t,a),n),getRegex:()=>new RegExp(e,t)};return n},cleanUrl:function(e,t,n){if(e){let e;try{e=decodeURIComponent(c(n)).replace(u,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!p.test(n)&&(n=v(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},resolveUrl:v,noopTest:{exec:function(){}},merge:function(e){let t,n,a=1;for(;a{let a=!1,i=t;for(;--i>=0&&"\\"===n[i];)a=!a;return a?"|":" |"}).split(/ \|/);let a=0;if(n.length>t)n.splice(t);else for(;n.length0&&i(e[n],t[n])}))}n.r(t);var s="undefined"!=typeof document?document:{},r={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};i(s,r);var l="undefined"!=typeof window?window:{};i(l,{document:r,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}}});class o{constructor(e){const t=this;for(let n=0;n=0&&l.indexOf(">")>=0){let e="div";for(0===l.indexOf(":~]/)?(t||s).querySelectorAll(e.trim()):[s.getElementById(e.trim().split("#")[1])],a=0;a0&&e[0].nodeType)for(a=0;a=0;e-=1){const n=r[e];a&&n.listener===a||a&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===a?(s.removeEventListener(t,n.proxyListener,i),r.splice(e,1)):a||(s.removeEventListener(t,n.proxyListener,i),r.splice(e,1))}}}return this},trigger:function(...e){const t=e[0].split(" "),n=e[1];for(let a=0;at>0),a.dispatchEvent(r),a.dom7EventData=[],delete a.dom7EventData}}return this},transitionEnd:function(e){const t=["webkitTransitionEnd","transitionend"],n=this;let a;function i(s){if(s.target===this)for(e.call(this,s),a=0;a0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){const e=this[0],t=e.getBoundingClientRect(),n=s.body,a=e.clientTop||n.clientTop||0,i=e.clientLeft||n.clientLeft||0,r=e===l?l.scrollY:e.scrollTop,o=e===l?l.scrollX:e.scrollLeft;return{top:t.top+r-a,left:t.left+o-i}}return null},css:function(e,t){let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;nt-1?new o([]):e<0?(n=t+e,new o(n<0?[]:[this[n]])):new o([this[e]])},append:function(...e){let t;for(let n=0;n=0;n-=1)this[t].insertBefore(a.childNodes[n],this[t].childNodes[0])}else if(e instanceof o)for(n=0;n0?e?this[0].nextElementSibling&&c(this[0].nextElementSibling).is(e)?new o([this[0].nextElementSibling]):new o([]):this[0].nextElementSibling?new o([this[0].nextElementSibling]):new o([]):new o([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return new o([]);for(;n.nextElementSibling;){const a=n.nextElementSibling;e?c(a).is(e)&&t.push(a):t.push(a),n=a}return new o(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&c(t.previousElementSibling).is(e)?new o([t.previousElementSibling]):new o([]):t.previousElementSibling?new o([t.previousElementSibling]):new o([])}return new o([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return new o([]);for(;n.previousElementSibling;){const a=n.previousElementSibling;e?c(a).is(e)&&t.push(a):t.push(a),n=a}return new o(t)},parent:function(e){const t=[];for(let n=0;n{c.fn[e]=c.fn[e]||u[e]});const p={deleteProps(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:(e,t=0)=>setTimeout(e,t),now:()=>Date.now(),getTranslate(e,t="x"){let n,a,i;const s=l.getComputedStyle(e,null);return l.WebKitCSSMatrix?(a=s.transform||s.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),i=new l.WebKitCSSMatrix("none"===a?"":a)):(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=i.toString().split(",")),"x"===t&&(a=l.WebKitCSSMatrix?i.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(a=l.WebKitCSSMatrix?i.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),a||0},parseUrlQuery(e){const t={};let n,a,i,s,r=e||l.location.href;if("string"==typeof r&&r.length)for(r=r.indexOf("?")>-1?r.replace(/\S*\?/,""):"",a=r.split("&").filter(e=>""!==e),s=a.length,n=0;n"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object,extend(...e){const t=Object(e[0]);for(let n=1;n=0,observer:"MutationObserver"in l||"WebkitMutationObserver"in l,passiveListener:function(){let e=!1;try{const t=Object.defineProperty({},"passive",{get(){e=!0}});l.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in l};class f{constructor(e={}){const t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])})}on(e,t,n){const a=this;if("function"!=typeof t)return a;const i=n?"unshift":"push";return e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)}),a}once(e,t,n){const a=this;if("function"!=typeof t)return a;function i(...n){a.off(e,i),i.f7proxy&&delete i.f7proxy,t.apply(a,n)}return i.f7proxy=t,a.on(e,i,n)}off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((a,i)=>{(a===t||a.f7proxy&&a.f7proxy===t)&&n.eventsListeners[e].splice(i,1)})}),n):n}emit(...e){const t=this;if(!t.eventsListeners)return t;let n,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],a=e.slice(1,e.length),i=t):(n=e[0].events,a=e[0].data,i=e[0].context||t);return(Array.isArray(n)?n:n.split(" ")).forEach(e=>{if(t.eventsListeners&&t.eventsListeners[e]){const n=[];t.eventsListeners[e].forEach(e=>{n.push(e)}),n.forEach(e=>{e.apply(i,a)})}}),t}useModulesParams(e){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const a=t.modules[n];a.params&&p.extend(e,a.params)})}useModules(e={}){const t=this;t.modules&&Object.keys(t.modules).forEach(n=>{const a=t.modules[n],i=e[n]||{};a.instance&&Object.keys(a.instance).forEach(e=>{const n=a.instance[e];t[e]="function"==typeof n?n.bind(t):n}),a.on&&t.on&&Object.keys(a.on).forEach(e=>{t.on(e,a.on[e])}),a.create&&a.create.bind(t)(i)})}static set components(e){this.use&&this.use(e)}static installModule(e,...t){const n=this;n.prototype.modules||(n.prototype.modules={});const a=e.name||`${Object.keys(n.prototype.modules).length}_${p.now()}`;return n.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach(t=>{n.prototype[t]=e.proto[t]}),e.static&&Object.keys(e.static).forEach(t=>{n[t]=e.static[t]}),e.install&&e.install.apply(n,t),n}static use(e,...t){const n=this;return Array.isArray(e)?(e.forEach(e=>n.installModule(e)),n):n.installModule(e,...t)}}var m={updateSize:function(){const e=this;let t,n;const a=e.$el;t=void 0!==e.params.width?e.params.width:a[0].clientWidth,n=void 0!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(a.css("padding-left"),10)-parseInt(a.css("padding-right"),10),n=n-parseInt(a.css("padding-top"),10)-parseInt(a.css("padding-bottom"),10),p.extend(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this,t=e.params,{$wrapperEl:n,size:a,rtlTranslate:i,wrongRTL:s}=e,r=e.virtual&&t.virtual.enabled,o=r?e.virtual.slides.length:e.slides.length,c=n.children("."+e.params.slideClass),d=r?e.virtual.slides.length:c.length;let u=[];const h=[],f=[];function m(e){return!t.cssMode||e!==c.length-1}let g=t.slidesOffsetBefore;"function"==typeof g&&(g=t.slidesOffsetBefore.call(e));let v=t.slidesOffsetAfter;"function"==typeof v&&(v=t.slidesOffsetAfter.call(e));const b=e.snapGrid.length,w=e.snapGrid.length;let y,x,E=t.spaceBetween,S=-g,C=0,k=0;if(void 0===a)return;"string"==typeof E&&E.indexOf("%")>=0&&(E=parseFloat(E.replace("%",""))/100*a),e.virtualSize=-E,i?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),t.slidesPerColumn>1&&(y=Math.floor(d/t.slidesPerColumn)===d/e.params.slidesPerColumn?d:Math.ceil(d/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(y=Math.max(y,t.slidesPerView*t.slidesPerColumn)));const T=t.slidesPerColumn,A=y/T,O=Math.floor(d/t.slidesPerColumn);for(let n=0;n1){let a,s,r;if("row"===t.slidesPerColumnFill&&t.slidesPerGroup>1){const e=Math.floor(n/(t.slidesPerGroup*t.slidesPerColumn)),l=n-t.slidesPerColumn*t.slidesPerGroup*e,o=0===e?t.slidesPerGroup:Math.min(Math.ceil((d-e*T*t.slidesPerGroup)/T),t.slidesPerGroup);r=Math.floor(l/o),s=l-r*o+e*t.slidesPerGroup,a=s+r*y/T,i.css({"-webkit-box-ordinal-group":a,"-moz-box-ordinal-group":a,"-ms-flex-order":a,"-webkit-order":a,order:a})}else"column"===t.slidesPerColumnFill?(s=Math.floor(n/T),r=n-s*T,(s>O||s===O&&r===T-1)&&(r+=1,r>=T&&(r=0,s+=1))):(r=Math.floor(n/A),s=n-r*A);i.css("margin-"+(e.isHorizontal()?"top":"left"),0!==r&&t.spaceBetween&&t.spaceBetween+"px")}if("none"!==i.css("display")){if("auto"===t.slidesPerView){const n=l.getComputedStyle(i[0],null),a=i[0].style.transform,s=i[0].style.webkitTransform;if(a&&(i[0].style.transform="none"),s&&(i[0].style.webkitTransform="none"),t.roundLengths)x=e.isHorizontal()?i.outerWidth(!0):i.outerHeight(!0);else if(e.isHorizontal()){const e=parseFloat(n.getPropertyValue("width")),t=parseFloat(n.getPropertyValue("padding-left")),a=parseFloat(n.getPropertyValue("padding-right")),i=parseFloat(n.getPropertyValue("margin-left")),s=parseFloat(n.getPropertyValue("margin-right")),r=n.getPropertyValue("box-sizing");x=r&&"border-box"===r?e+i+s:e+t+a+i+s}else{const e=parseFloat(n.getPropertyValue("height")),t=parseFloat(n.getPropertyValue("padding-top")),a=parseFloat(n.getPropertyValue("padding-bottom")),i=parseFloat(n.getPropertyValue("margin-top")),s=parseFloat(n.getPropertyValue("margin-bottom")),r=n.getPropertyValue("box-sizing");x=r&&"border-box"===r?e+i+s:e+t+a+i+s}a&&(i[0].style.transform=a),s&&(i[0].style.webkitTransform=s),t.roundLengths&&(x=Math.floor(x))}else x=(a-(t.slidesPerView-1)*E)/t.slidesPerView,t.roundLengths&&(x=Math.floor(x)),c[n]&&(e.isHorizontal()?c[n].style.width=x+"px":c[n].style.height=x+"px");c[n]&&(c[n].swiperSlideSize=x),f.push(x),t.centeredSlides?(S=S+x/2+C/2+E,0===C&&0!==n&&(S=S-a/2-E),0===n&&(S=S-a/2-E),Math.abs(S)<.001&&(S=0),t.roundLengths&&(S=Math.floor(S)),k%t.slidesPerGroup==0&&u.push(S),h.push(S)):(t.roundLengths&&(S=Math.floor(S)),(k-Math.min(e.params.slidesPerGroupSkip,k))%e.params.slidesPerGroup==0&&u.push(S),h.push(S),S=S+x+E),e.virtualSize+=x+E,C=x,k+=1}}let I;if(e.virtualSize=Math.max(e.virtualSize,a)+v,i&&s&&("slide"===t.effect||"coverflow"===t.effect)&&n.css({width:e.virtualSize+t.spaceBetween+"px"}),t.setWrapperSize&&(e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"})),t.slidesPerColumn>1&&(e.virtualSize=(x+t.spaceBetween)*y,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?n.css({width:e.virtualSize+t.spaceBetween+"px"}):n.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){I=[];for(let n=0;n1&&u.push(e.virtualSize-a)}if(0===u.length&&(u=[0]),0!==t.spaceBetween&&(e.isHorizontal()?i?c.filter(m).css({marginLeft:E+"px"}):c.filter(m).css({marginRight:E+"px"}):c.filter(m).css({marginBottom:E+"px"})),t.centeredSlides&&t.centeredSlidesBounds){let e=0;f.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween;const n=e-a;u=u.map(e=>e<0?-g:e>n?n+v:e)}if(t.centerInsufficientSlides){let e=0;if(f.forEach(n=>{e+=n+(t.spaceBetween?t.spaceBetween:0)}),e-=t.spaceBetween,e{u[n]=e-t}),h.forEach((e,n)=>{h[n]=e+t})}}p.extend(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:f}),d!==o&&e.emit("slidesLengthChange"),u.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,n=[];let a,i=0;if("number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed),"auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e,t)=>{n.push(t)});else for(a=0;at.slides.length)break;n.push(t.slides.eq(e)[0])}else n.push(t.slides.eq(t.activeIndex)[0]);for(a=0;ai?e:i}i&&t.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n=0&&i1&&l<=t.size||i<=0&&l>=t.size)&&(t.visibleSlides.push(r),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(n.slideVisibleClass))}r.progress=i?-l:l}t.visibleSlides=c(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:s,isEnd:r}=t;const l=s,o=r;0===a?(i=0,s=!0,r=!0):(i=(e-t.minTranslate())/a,s=i<=0,r=i>=1),p.extend(t,{progress:i,isBeginning:s,isEnd:r}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),r&&!o&&t.emit("reachEnd toEdge"),(l&&!s||o&&!r)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:a,activeIndex:i,realIndex:s}=e,r=e.virtual&&n.virtual.enabled;let l;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),l=r?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(n.slideActiveClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${s}"]`).addClass(n.slideDuplicateActiveClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${s}"]`).addClass(n.slideDuplicateActiveClass));let o=l.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===o.length&&(o=t.eq(0),o.addClass(n.slideNextClass));let c=l.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(o.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?a.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):a.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:s,activeIndex:r,realIndex:l,snapIndex:o}=t;let c,d=e;if(void 0===d){for(let e=0;e=a[e]&&n=a[e]&&n=a[e]&&(d=e);s.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(s.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/s.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),d===r)return void(c!==o&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);p.extend(t,{snapIndex:c,realIndex:u,previousIndex:r,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,a=c(e.target).closest("."+n.slideClass)[0];let i=!1;if(a)for(let e=0;eo?o:a&&es?"next":ai?"next":a=l.length&&(f=l.length-1),(d||r.initialSlide||0)===(c||0)&&n&&i.emit("beforeSlideChangeStart");const m=-l[f];if(i.updateProgress(m),r.normalizeSlideIndex)for(let e=0;e=Math.floor(100*o[e])&&(s=e);if(i.initialized&&s!==d){if(!i.allowSlideNext&&mi.translate&&m>i.maxTranslate()&&(d||0)!==s)return!1}let g;if(g=s>d?"next":sc(e));l.map(e=>c(e)),r[u.indexOf(d)];let p,h=r[u.indexOf(d)-1];return void 0===h&&i.cssMode&&r.forEach(e=>{!h&&d>=e&&(h=e)}),void 0!==h&&(p=l.indexOf(h),p<0&&(p=a.activeIndex-1)),a.slideTo(p,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,a=.5){const i=this;let s=i.activeIndex;const r=Math.min(i.params.slidesPerGroupSkip,s),l=r+Math.floor((s-r)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(s+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,s=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(c(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+a/2?(e.loopFix(),s=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p.nextTick(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-a?(e.loopFix(),s=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p.nextTick(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}};var w={loopCreate:function(){const e=this,{params:t,$wrapperEl:n}=e;n.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let a=n.children("."+t.slideClass);if(t.loopFillGroupWithBlank){const e=t.slidesPerGroup-a.length%t.slidesPerGroup;if(e!==t.slidesPerGroup){for(let a=0;aa.length&&(e.loopedSlides=a.length);const i=[],r=[];a.each((t,n)=>{const s=c(n);t=a.length-e.loopedSlides&&i.push(n),s.attr("data-swiper-slide-index",t)});for(let e=0;e=0;e-=1)n.prepend(c(i[e].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:a,allowSlidePrev:i,allowSlideNext:s,snapGrid:r,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-r[t]-e.getTranslate();if(t=n.length-a){o=-n.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==c&&e.setTranslate((l?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=s,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}};var y={setGrabCursor:function(e){if(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;const t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}};var x={appendSlide:function(e){const t=this,{$wrapperEl:n,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t=l)return void n.appendSlide(t);let o=r>e?r+1:r;const c=[];for(let t=l-1;t>=e;t-=1){const e=n.slides.eq(t);e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?r+t.length:r}else a.append(t);for(let e=0;e=0||t.indexOf("Trident/")>=0,u=t.indexOf("Edge/")>=0,p=t.indexOf("Gecko/")>=0&&t.indexOf("Firefox/")>=0,f="Win32"===e,m=t.toLowerCase().indexOf("electron")>=0;let g="MacIntel"===e;return!r&&g&&h.touch&&(1024===a&&1366===i||834===a&&1194===i||834===a&&1112===i||768===a&&1024===i)&&(r=t.match(/(Version)\/([\d.]+)/),g=!1),n.ie=d,n.edge=u,n.firefox=p,s&&!f&&(n.os="android",n.osVersion=s[2],n.android=!0,n.androidChrome=t.toLowerCase().indexOf("chrome")>=0),(r||c||o)&&(n.os="ios",n.ios=!0),c&&!o&&(n.osVersion=c[2].replace(/_/g,"."),n.iphone=!0),r&&(n.osVersion=r[2].replace(/_/g,"."),n.ipad=!0),o&&(n.osVersion=o[3]?o[3].replace(/_/g,"."):null,n.ipod=!0),n.ios&&n.osVersion&&t.indexOf("Version/")>=0&&"10"===n.osVersion.split(".")[0]&&(n.osVersion=t.toLowerCase().split("version/")[1].split(" ")[0]),n.webView=!(!(c||r||o)||!t.match(/.*AppleWebKit(?!.*Safari)/i)&&!l.navigator.standalone)||l.matchMedia&&l.matchMedia("(display-mode: standalone)").matches,n.webview=n.webView,n.standalone=n.webView,n.desktop=!(n.ios||n.android)||m,n.desktop&&(n.electron=m,n.macos=g,n.windows=f,n.macos&&(n.os="macos"),n.windows&&(n.os="windows")),n.pixelRatio=l.devicePixelRatio||1,n}();function S(e){const t=this,n=t.touchEventsData,{params:a,touches:i}=t;if(t.animating&&a.preventInteractionOnTransition)return;let r=e;r.originalEvent&&(r=r.originalEvent);const o=c(r.target);if("wrapper"===a.touchEventsTarget&&!o.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===r.type,!n.isTouchEvent&&"which"in r&&3===r.which)return;if(!n.isTouchEvent&&"button"in r&&r.button>0)return;if(n.isTouched&&n.isMoved)return;if(a.noSwiping&&o.closest(a.noSwipingSelector?a.noSwipingSelector:"."+a.noSwipingClass)[0])return void(t.allowClick=!0);if(a.swipeHandler&&!o.closest(a.swipeHandler)[0])return;i.currentX="touchstart"===r.type?r.targetTouches[0].pageX:r.pageX,i.currentY="touchstart"===r.type?r.targetTouches[0].pageY:r.pageY;const d=i.currentX,u=i.currentY,h=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,f=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(!h||!(d<=f||d>=l.screen.width-f)){if(p.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=d,i.startY=u,n.touchStartTime=p.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==r.type){let e=!0;o.is(n.formElements)&&(e=!1),s.activeElement&&c(s.activeElement).is(n.formElements)&&s.activeElement!==o[0]&&s.activeElement.blur();const i=e&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||i)&&r.preventDefault()}t.emit("touchStart",r)}}function C(e){const t=this,n=t.touchEventsData,{params:a,touches:i,rtlTranslate:r}=t;let l=e;if(l.originalEvent&&(l=l.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",l));if(n.isTouchEvent&&"touchmove"!==l.type)return;const o="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?o.pageX:l.pageX,u="touchmove"===l.type?o.pageY:l.pageY;if(l.preventedByNestedSwiper)return i.startX=d,void(i.startY=u);if(!t.allowTouchMove)return t.allowClick=!1,void(n.isTouched&&(p.extend(i,{startX:d,startY:u,currentX:d,currentY:u}),n.touchStartTime=p.now()));if(n.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(t.isVertical()){if(ui.startY&&t.translate>=t.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(di.startX&&t.translate>=t.minTranslate())return;if(n.isTouchEvent&&s.activeElement&&l.target===s.activeElement&&c(l.target).is(n.formElements))return n.isMoved=!0,void(t.allowClick=!1);if(n.allowTouchCallbacks&&t.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;i.currentX=d,i.currentY=u;const h=i.currentX-i.startX,f=i.currentY-i.startY;if(t.params.threshold&&Math.sqrt(h**2+f**2)=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=t.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",l),void 0===n.startMoving&&(i.currentX===i.startX&&i.currentY===i.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;t.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),n.isMoved||(a.loop&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",l)),t.emit("sliderMove",l),n.isMoved=!0;let m=t.isHorizontal()?h:f;i.diff=m,m*=a.touchRatio,r&&(m=-m),t.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;let g=!0,v=a.resistanceRatio;if(a.touchReleaseOnEdges&&(v=0),m>0&&n.currentTranslate>t.minTranslate()?(g=!1,a.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+m)**v)):m<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,n.currentTranslate=n.startTranslate,void(i.diff=t.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:i[t.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:i[t.isHorizontal()?"currentX":"currentY"],time:p.now()})),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function k(e){const t=this,n=t.touchEventsData,{params:a,touches:i,rtlTranslate:s,$wrapperEl:r,slidesGrid:l,snapGrid:o}=t;let c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=p.now(),u=d-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap click",c),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",c)),n.lastClickTime=p.now(),p.nextTick(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=a.followFinger?s?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode){if(h<-t.minTranslate())return void t.slideTo(t.activeIndex);if(h>-t.maxTranslate())return void(t.slides.length1){const e=n.velocities.pop(),i=n.velocities.pop(),s=e.position-i.position,r=e.time-i.time;t.velocity=s/r,t.velocity/=2,Math.abs(t.velocity)150||p.now()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=a.freeModeMomentumVelocityRatio,n.velocities.length=0;let e=1e3*a.freeModeMomentumRatio;const i=t.velocity*e;let l=t.translate+i;s&&(l=-l);let c,d=!1;const u=20*Math.abs(t.velocity)*a.freeModeMomentumBounceRatio;let h;if(lt.minTranslate())a.freeModeMomentumBounce?(l-t.minTranslate()>u&&(l=t.minTranslate()+u),c=t.minTranslate(),d=!0,n.allowMomentumBounce=!0):l=t.minTranslate(),a.loop&&a.centeredSlides&&(h=!0);else if(a.freeModeSticky){let e;for(let t=0;t-l){e=t;break}l=Math.abs(o[e]-l){t.loopFix()}),0!==t.velocity){if(e=s?Math.abs((-l-t.translate)/t.velocity):Math.abs((l-t.translate)/t.velocity),a.freeModeSticky){const n=Math.abs((s?-l:l)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=n{t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(a.speed),setTimeout(()=>{t.setTranslate(c),r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(l),t.setTransition(e),t.setTranslate(l),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,r.transitionEnd(()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(l),t.updateActiveIndex(),t.updateSlidesClasses()}else if(a.freeModeSticky)return void t.slideToClosest();return void((!a.freeModeMomentum||u>=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses()))}let f=0,m=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&h=l[e]&&(f=e,m=l[l.length-1]-l[l.length-2])}const g=(h-l[f])/m,v=fa.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=a.longSwipesRatio?t.slideTo(f+v):t.slideTo(f)),"prev"===t.swipeDirection&&(g>1-a.longSwipesRatio?t.slideTo(f+v):t.slideTo(f))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(c.target===t.navigation.nextEl||c.target===t.navigation.prevEl)?c.target===t.navigation.nextEl?t.slideTo(f+v):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(f+v),"prev"===t.swipeDirection&&t.slideTo(f))}}function T(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:s}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function A(e){const t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function O(){const e=this,{wrapperEl:t,rtlTranslate:n}=e;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=n?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const i=e.maxTranslate()-e.minTranslate();a=0===i?0:(e.translate-e.minTranslate())/i,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let I=!1;function z(){}var P={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0};const M={update:m,translate:g,transition:v,slide:b,loop:w,grabCursor:y,manipulation:x,events:{attachEvents:function(){const e=this,{params:t,touchEvents:n,el:a,wrapperEl:i}=e;e.onTouchStart=S.bind(e),e.onTouchMove=C.bind(e),e.onTouchEnd=k.bind(e),t.cssMode&&(e.onScroll=O.bind(e)),e.onClick=A.bind(e);const r=!!t.nested;if(!h.touch&&h.pointerEvents)a.addEventListener(n.start,e.onTouchStart,!1),s.addEventListener(n.move,e.onTouchMove,r),s.addEventListener(n.end,e.onTouchEnd,!1);else{if(h.touch){const i=!("touchstart"!==n.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,e.onTouchStart,i),a.addEventListener(n.move,e.onTouchMove,h.passiveListener?{passive:!1,capture:r}:r),a.addEventListener(n.end,e.onTouchEnd,i),n.cancel&&a.addEventListener(n.cancel,e.onTouchEnd,i),I||(s.addEventListener("touchstart",z),I=!0)}(t.simulateTouch&&!E.ios&&!E.android||t.simulateTouch&&!h.touch&&E.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),s.addEventListener("mousemove",e.onTouchMove,r),s.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),t.cssMode&&i.addEventListener("scroll",e.onScroll),t.updateOnWindowResize?e.on(E.ios||E.android?"resize orientationchange observerUpdate":"resize observerUpdate",T,!0):e.on("observerUpdate",T,!0)},detachEvents:function(){const e=this,{params:t,touchEvents:n,el:a,wrapperEl:i}=e,r=!!t.nested;if(!h.touch&&h.pointerEvents)a.removeEventListener(n.start,e.onTouchStart,!1),s.removeEventListener(n.move,e.onTouchMove,r),s.removeEventListener(n.end,e.onTouchEnd,!1);else{if(h.touch){const i=!("onTouchStart"!==n.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,e.onTouchStart,i),a.removeEventListener(n.move,e.onTouchMove,r),a.removeEventListener(n.end,e.onTouchEnd,i),n.cancel&&a.removeEventListener(n.cancel,e.onTouchEnd,i)}(t.simulateTouch&&!E.ios&&!E.android||t.simulateTouch&&!h.touch&&E.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),s.removeEventListener("mousemove",e.onTouchMove,r),s.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),t.cssMode&&i.removeEventListener("scroll",e.onScroll),e.off(E.ios||E.android?"resize orientationchange observerUpdate":"resize observerUpdate",T)}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:a=0,params:i,$el:s}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const l=e.getBreakpoint(r);if(l&&e.currentBreakpoint!==l){const o=l in r?r[l]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(e=>{const t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});const c=o||e.originalParams,d=i.slidesPerColumn>1,u=c.slidesPerColumn>1;d&&!u?s.removeClass(`${i.containerModifierClass}multirow ${i.containerModifierClass}multirow-column`):!d&&u&&(s.addClass(i.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&s.addClass(i.containerModifierClass+"multirow-column"));const h=c.direction&&c.direction!==i.direction,f=i.loop&&(c.slidesPerView!==i.slidesPerView||h);h&&n&&e.changeDirection(),p.extend(e.params,c),p.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}},getBreakpoint:function(e){if(!e)return;let t=!1;const n=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:l.innerHeight*t,point:e}}return{value:e,point:e}});n.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&a?e.isLocked=a<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,n!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),n&&n!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:n,$el:a}=this,i=[];i.push("initialized"),i.push(t.direction),t.freeMode&&i.push("free-mode"),t.autoHeight&&i.push("autoheight"),n&&i.push("rtl"),t.slidesPerColumn>1&&(i.push("multirow"),"column"===t.slidesPerColumnFill&&i.push("multirow-column")),E.android&&i.push("android"),E.ios&&i.push("ios"),t.cssMode&&i.push("css-mode"),i.forEach(n=>{e.push(t.containerModifierClass+n)}),a.addClass(e.join(" "))},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,n,a,i,s){let r;function o(){s&&s()}c(e).parent("picture")[0]||e.complete&&i?o():t?(r=new l.Image,r.onload=o,r.onerror=o,a&&(r.sizes=a),n&&(r.srcset=n),t&&(r.src=t)):o()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n{Object.keys(M[e]).forEach(t=>{L.prototype[t]||(L.prototype[t]=M[e][t])})});const a=this;void 0===a.modules&&(a.modules={}),Object.keys(a.modules).forEach(e=>{const t=a.modules[e];if(t.params){const e=Object.keys(t.params)[0],a=t.params[e];if("object"!=typeof a||null===a)return;if(!(e in n)||!("enabled"in a))return;!0===n[e]&&(n[e]={enabled:!0}),"object"!=typeof n[e]||"enabled"in n[e]||(n[e].enabled=!0),n[e]||(n[e]={enabled:!1})}});const i=p.extend({},P);a.useModulesParams(i),a.params=p.extend({},i,N,n),a.originalParams=p.extend({},a.params),a.passedParams=p.extend({},n),a.$=c;const s=c(a.params.el);if(t=s[0],!t)return;if(s.length>1){const e=[];return s.each((t,a)=>{const i=p.extend({},n,{el:a});e.push(new L(i))}),e}let r;return t.swiper=a,s.data("swiper",a),t&&t.shadowRoot&&t.shadowRoot.querySelector?(r=c(t.shadowRoot.querySelector("."+a.params.wrapperClass)),r.children=e=>s.children(e)):r=s.children("."+a.params.wrapperClass),p.extend(a,{$el:s,el:t,$wrapperEl:r,wrapperEl:r[0],classNames:[],slides:c(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===a.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===r.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"];let t=["mousedown","mousemove","mouseup"];return h.pointerEvents&&(t=["pointerdown","pointermove","pointerup"]),a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},h.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:p.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.useModules(),a.params.init&&a.init(),a}slidesPerViewDynamic(){const{params:e,slides:t,slidesGrid:n,size:a,activeIndex:i}=this;let s=1;if(e.centeredSlides){let e,n=t[i].swiperSlideSize;for(let r=i+1;ra&&(e=!0));for(let r=i-1;r>=0;r-=1)t[r]&&!e&&(n+=t[r].swiperSlideSize,s+=1,n>a&&(e=!0))}else for(let e=i+1;e1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,a=n.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${a}`).addClass(`${n.params.containerModifierClass}${e}`),n.params.direction=e,n.slides.each((t,n)=>{"vertical"===e?n.style.width="":n.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}init(){const e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.watchOverflow&&e.checkOverflow(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))}destroy(e=!0,t=!0){const n=this,{params:a,$el:i,$wrapperEl:s,slides:r}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),s.removeAttr("style"),r&&r.length&&r.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),p.deleteProps(n)),n.destroyed=!0),null}static extendDefaults(e){p.extend(N,e)}static get extendedDefaults(){return N}static get defaults(){return P}static get Class(){return f}static get $(){return c}}var D={name:"device",proto:{device:E},static:{device:E}},_={name:"support",proto:{support:h},static:{support:h}};const R={isEdge:!!l.navigator.userAgent.match(/Edge/g),isSafari:function(){const e=l.navigator.userAgent.toLowerCase();return e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(l.navigator.userAgent)};var j={name:"browser",proto:{browser:R},static:{browser:R}},B={name:"resize",create(){const e=this;p.extend(e,{resize:{resizeHandler(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init(){l.addEventListener("resize",this.resize.resizeHandler),l.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy(){l.removeEventListener("resize",this.resize.resizeHandler),l.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}};const V={func:l.MutationObserver||l.WebkitMutationObserver,attach(e,t={}){const n=this,a=new(0,V.func)(e=>{if(1===e.length)return void n.emit("observerUpdate",e[0]);const t=function(){n.emit("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)});a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init(){const e=this;if(h.observer&&e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let n=0;n{e.disconnect()}),this.observer.observers=[]}};var $={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create(){p.extend(this,{observer:{init:V.init.bind(this),attach:V.attach.bind(this),destroy:V.destroy.bind(this),observers:[]}})},on:{init(){this.observer.init()},destroy(){this.observer.destroy()}}};const H={update(e){const t=this,{slidesPerView:n,slidesPerGroup:a,centeredSlides:i}=t.params,{addSlidesBefore:s,addSlidesAfter:r}=t.params.virtual,{from:l,to:o,slides:c,slidesGrid:d,renderSlide:u,offset:h}=t.virtual;t.updateActiveIndex();const f=t.activeIndex||0;let m,g,v;m=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",i?(g=Math.floor(n/2)+a+s,v=Math.floor(n/2)+a+r):(g=n+(a-1)+s,v=a+r);const b=Math.max((f||0)-v,0),w=Math.min((f||0)+g,c.length-1),y=(t.slidesGrid[b]||0)-(t.slidesGrid[0]||0);function x(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(p.extend(t.virtual,{from:b,to:w,offset:y,slidesGrid:t.slidesGrid}),l===b&&o===w&&!e)return t.slidesGrid!==d&&y!==h&&t.slides.css(m,y+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:y,from:b,to:w,slides:function(){const e=[];for(let t=b;t<=w;t+=1)e.push(c[t]);return e}()}),void x();const E=[],S=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(let e=l;e<=o;e+=1)(ew)&&t.$wrapperEl.find(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t=b&&t<=w&&(void 0===o||e?S.push(t):(t>o&&S.push(t),t{t.$wrapperEl.append(u(c[e],e))}),E.sort((e,t)=>t-e).forEach(e=>{t.$wrapperEl.prepend(u(c[e],e))}),t.$wrapperEl.children(".swiper-slide").css(m,y+"px"),x()},renderSlide(e,t){const n=this,a=n.params.virtual;if(a.cache&&n.virtual.cache[t])return n.virtual.cache[t];const i=a.renderSlide?c(a.renderSlide.call(n,e,t)):c(`
    ${e}
    `);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(n.virtual.cache[t]=i),i},appendSlide(e){const t=this;if("object"==typeof e&&"length"in e)for(let n=0;n{const a=e[t],s=a.attr("data-swiper-slide-index");s&&a.attr("data-swiper-slide-index",parseInt(s,10)+1),n[parseInt(t,10)+i]=a}),t.virtual.cache=n}t.virtual.update(!0),t.slideTo(a,0)},removeSlide(e){const t=this;if(null==e)return;let n=t.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)t.virtual.slides.splice(e[a],1),t.params.virtual.cache&&delete t.virtual.cache[e[a]],e[a]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;const a=l.innerWidth,i=l.innerHeight,s=t.$el.offset();n&&(s.left-=t.$el[0].scrollLeft);const r=[[s.left,s.top],[s.left+t.width,s.top],[s.left,s.top+t.height],[s.left+t.width,s.top+t.height]];for(let t=0;t=0&&n[0]<=a&&n[1]>=0&&n[1]<=i&&(e=!0)}if(!e)return}t.isHorizontal()?((o||c||d||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!n||(o||d)&&n)&&t.slideNext(),((o||d)&&!n||(c||u)&&n)&&t.slidePrev()):((o||c||p||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||h)&&t.slideNext(),(o||p)&&t.slidePrev()),t.emit("keyPress",i)}},enable(){this.keyboard.enabled||(c(s).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable(){this.keyboard.enabled&&(c(s).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}};var Y={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create(){p.extend(this,{keyboard:{enabled:!1,enable:G.enable.bind(this),disable:G.disable.bind(this),handle:G.handle.bind(this)}})},on:{init(){const e=this;e.params.keyboard.enabled&&e.keyboard.enable()},destroy(){const e=this;e.keyboard.enabled&&e.keyboard.disable()}}};const q={lastScrollTime:p.now(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:()=>l.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){let e="onwheel"in s;if(!e){const t=s.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&s.implementation&&s.implementation.hasFeature&&!0!==s.implementation.hasFeature("","")&&(e=s.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize(e){let t=0,n=0,a=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),a=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:a,pixelY:i}},handleMouseEnter(){this.mouseEntered=!0},handleMouseLeave(){this.mouseEntered=!1},handle(e){let t=e;const n=this,a=n.params.mousewheel;n.params.cssMode&&t.preventDefault();let i=n.$el;if("container"!==n.params.mousewheel.eventsTarged&&(i=c(n.params.mousewheel.eventsTarged)),!n.mouseEntered&&!i[0].contains(t.target)&&!a.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);let s=0;const r=n.rtlTranslate?-1:1,l=q.normalize(t);if(a.forceToAxis)if(n.isHorizontal()){if(!(Math.abs(l.pixelX)>Math.abs(l.pixelY)))return!0;s=-l.pixelX*r}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;s=-l.pixelY}else s=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*r:-l.pixelY;if(0===s)return!0;if(a.invert&&(s=-s),n.params.freeMode){const e={time:p.now(),delta:Math.abs(s),direction:Math.sign(s)},{lastEventBeforeSnap:i}=n.mousewheel,r=i&&e.time=n.minTranslate()&&(i=n.minTranslate()),i<=n.maxTranslate()&&(i=n.maxTranslate()),n.setTransition(0),n.setTranslate(i),n.updateProgress(),n.updateActiveIndex(),n.updateSlidesClasses(),(!l&&n.isBeginning||!o&&n.isEnd)&&n.updateSlidesClasses(),n.params.freeModeSticky){clearTimeout(n.mousewheel.timeout),n.mousewheel.timeout=void 0;const t=n.mousewheel.recentWheelEvents;t.length>=15&&t.shift();const a=t.length?t[t.length-1]:void 0,i=t[0];if(t.push(e),a&&(e.delta>a.delta||e.direction!==a.direction))t.splice(0);else if(t.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const a=s>0?.8:.2;n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.mousewheel.timeout=p.nextTick(()=>{n.slideToClosest(n.params.speed,!0,void 0,a)},0)}n.mousewheel.timeout||(n.mousewheel.timeout=p.nextTick(()=>{n.mousewheel.lastEventBeforeSnap=e,t.splice(0),n.slideToClosest(n.params.speed,!0,void 0,.5)},500))}if(r||n.emit("scroll",t),n.params.autoplay&&n.params.autoplayDisableOnInteraction&&n.autoplay.stop(),i===n.minTranslate()||i===n.maxTranslate())return!0}}else{const t={time:p.now(),delta:Math.abs(s),direction:Math.sign(s),raw:e},a=n.mousewheel.recentWheelEvents;a.length>=2&&a.shift();const i=a.length?a[a.length-1]:void 0;if(a.push(t),i?(t.direction!==i.direction||t.delta>i.delta||t.time>i.time+150)&&n.mousewheel.animateSlider(t):n.mousewheel.animateSlider(t),n.mousewheel.releaseScroll(t))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider(e){const t=this;return e.delta>=6&&p.now()-t.mousewheel.lastScrollTime<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new l.Date).getTime(),!1)},releaseScroll(e){const t=this,n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1},enable(){const e=this,t=q.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.on("mouseenter",e.mousewheel.handleMouseEnter),n.on("mouseleave",e.mousewheel.handleMouseLeave),n.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable(){const e=this,t=q.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;let n=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(n=c(e.params.mousewheel.eventsTarged)),n.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}};const X={update(){const e=this,t=e.params.navigation;if(e.params.loop)return;const{$nextEl:n,$prevEl:a}=e.navigation;a&&a.length>0&&(e.isBeginning?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))},onPrevClick(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init(){const e=this,t=e.params.navigation;if(!t.nextEl&&!t.prevEl)return;let n,a;t.nextEl&&(n=c(t.nextEl),e.params.uniqueNavElements&&"string"==typeof t.nextEl&&n.length>1&&1===e.$el.find(t.nextEl).length&&(n=e.$el.find(t.nextEl))),t.prevEl&&(a=c(t.prevEl),e.params.uniqueNavElements&&"string"==typeof t.prevEl&&a.length>1&&1===e.$el.find(t.prevEl).length&&(a=e.$el.find(t.prevEl))),n&&n.length>0&&n.on("click",e.navigation.onNextClick),a&&a.length>0&&a.on("click",e.navigation.onPrevClick),p.extend(e.navigation,{$nextEl:n,nextEl:n&&n[0],$prevEl:a,prevEl:a&&a[0]})},destroy(){const e=this,{$nextEl:t,$prevEl:n}=e.navigation;t&&t.length&&(t.off("click",e.navigation.onNextClick),t.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}};const W={update(){const e=this,t=e.rtl,n=e.params.pagination;if(!n.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let s;const r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(s=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),s>a-1-2*e.loopedSlides&&(s-=a-2*e.loopedSlides),s>r-1&&(s-=r),s<0&&"bullets"!==e.params.paginationType&&(s=r+s)):s=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let r,l,o;if(n.dynamicBullets&&(e.pagination.bulletSize=a.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),i.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(n.dynamicMainBullets+4)+"px"),n.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=s-e.previousIndex,e.pagination.dynamicBulletIndex>n.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=n.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),r=s-e.pagination.dynamicBulletIndex,l=r+(Math.min(a.length,n.dynamicMainBullets)-1),o=(l+r)/2),a.removeClass(`${n.bulletActiveClass} ${n.bulletActiveClass}-next ${n.bulletActiveClass}-next-next ${n.bulletActiveClass}-prev ${n.bulletActiveClass}-prev-prev ${n.bulletActiveClass}-main`),i.length>1)a.each((e,t)=>{const a=c(t),i=a.index();i===s&&a.addClass(n.bulletActiveClass),n.dynamicBullets&&(i>=r&&i<=l&&a.addClass(n.bulletActiveClass+"-main"),i===r&&a.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),i===l&&a.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next"))});else{const t=a.eq(s),i=t.index();if(t.addClass(n.bulletActiveClass),n.dynamicBullets){const t=a.eq(r),s=a.eq(l);for(let e=r;e<=l;e+=1)a.eq(e).addClass(n.bulletActiveClass+"-main");if(e.params.loop)if(i>=a.length-n.dynamicMainBullets){for(let e=n.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(n.bulletActiveClass+"-main");a.eq(a.length-n.dynamicMainBullets-1).addClass(n.bulletActiveClass+"-prev")}else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),s.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next");else t.prev().addClass(n.bulletActiveClass+"-prev").prev().addClass(n.bulletActiveClass+"-prev-prev"),s.next().addClass(n.bulletActiveClass+"-next").next().addClass(n.bulletActiveClass+"-next-next")}}if(n.dynamicBullets){const i=Math.min(a.length,n.dynamicMainBullets+4),s=(e.pagination.bulletSize*i-e.pagination.bulletSize)/2-o*e.pagination.bulletSize,r=t?"right":"left";a.css(e.isHorizontal()?r:"top",s+"px")}}if("fraction"===n.type&&(i.find("."+n.currentClass).text(n.formatFractionCurrent(s+1)),i.find("."+n.totalClass).text(n.formatFractionTotal(r))),"progressbar"===n.type){let t;t=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(s+1)/r;let l=1,o=1;"horizontal"===t?l=a:o=a,i.find("."+n.progressbarFillClass).transform(`translate3d(0,0,0) scaleX(${l}) scaleY(${o})`).transition(e.params.speed)}"custom"===n.type&&n.renderCustom?(i.html(n.renderCustom(e,s+1,r)),e.emit("paginationRender",e,i[0])):e.emit("paginationUpdate",e,i[0]),i[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](n.lockClass)},render(){const e=this,t=e.params.pagination;if(!t.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length)return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,a=e.pagination.$el;let i="";if("bullets"===t.type){const s=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;for(let n=0;n`;a.html(i),e.pagination.bullets=a.find("."+t.bulletClass)}"fraction"===t.type&&(i=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,a.html(i)),"progressbar"===t.type&&(i=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,a.html(i)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])},init(){const e=this,t=e.params.pagination;if(!t.el)return;let n=c(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(`${t.modifierClass}${t.type}-dynamic`),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();let n=c(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),p.extend(e.pagination,{$el:n,el:n[0]}))},destroy(){const e=this.params.pagination;if(!e.el||!this.pagination.el||!this.pagination.$el||0===this.pagination.$el.length)return;const t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}};const K={setTranslate(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n,progress:a}=e,{dragSize:i,trackSize:s,$dragEl:r,$el:l}=t,o=e.params.scrollbar;let c=i,d=(s-i)*a;n?(d=-d,d>0?(c=i-d,d=0):-d+i>s&&(c=s+d)):d<0?(c=i+d,d=0):d+i>s&&(c=s-d),e.isHorizontal()?(r.transform(`translate3d(${d}px, 0, 0)`),r[0].style.width=c+"px"):(r.transform(`translate3d(0px, ${d}px, 0)`),r[0].style.height=c+"px"),o.hide&&(clearTimeout(e.scrollbar.timeout),l[0].style.opacity=1,e.scrollbar.timeout=setTimeout(()=>{l[0].style.opacity=0,l.transition(400)},1e3))},setTransition(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize(){const e=this;if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:n,$el:a}=t;n[0].style.width="",n[0].style.height="";const i=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,s=e.size/e.virtualSize,r=s*(i/e.size);let l;l="auto"===e.params.scrollbar.dragSize?i*s:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n[0].style.width=l+"px":n[0].style.height=l+"px",a[0].style.display=s>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),p.extend(t,{trackSize:i,divider:s,moveDivider:r,dragSize:l}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)},getPointerPosition(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY},setDragPosition(e){const{scrollbar:t,rtlTranslate:n}=this,{$el:a,dragSize:i,trackSize:s,dragStartPos:r}=t;let l;l=(t.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==r?r:i/2))/(s-i),l=Math.max(Math.min(l,1),0),n&&(l=1-l);const o=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*l;this.updateProgress(o),this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart(e){const t=this,n=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:s,$dragEl:r}=a;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===r[0]||e.target===r?a.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),r.transition(100),a.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),s.transition(0),n.hide&&s.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove(e){const{scrollbar:t,$wrapperEl:n}=this,{$el:a,$dragEl:i}=t;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),a.transition(0),i.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd(e){const t=this,n=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:s}=a;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),n.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=p.nextTick(()=>{s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())},enableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:a,params:i}=e,r=t.$el[0],l=!(!h.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(n.start,e.scrollbar.onDragStart,l),r.addEventListener(n.move,e.scrollbar.onDragMove,l),r.addEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.addEventListener(a.start,e.scrollbar.onDragStart,l),s.addEventListener(a.move,e.scrollbar.onDragMove,l),s.addEventListener(a.end,e.scrollbar.onDragEnd,o))},disableDraggable(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,touchEventsTouch:n,touchEventsDesktop:a,params:i}=e,r=t.$el[0],l=!(!h.passiveListener||!i.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(n.start,e.scrollbar.onDragStart,l),r.removeEventListener(n.move,e.scrollbar.onDragMove,l),r.removeEventListener(n.end,e.scrollbar.onDragEnd,o)):(r.removeEventListener(a.start,e.scrollbar.onDragStart,l),s.removeEventListener(a.move,e.scrollbar.onDragMove,l),s.removeEventListener(a.end,e.scrollbar.onDragEnd,o))},init(){const e=this;if(!e.params.scrollbar.el)return;const{scrollbar:t,$el:n}=e,a=e.params.scrollbar;let i=c(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===n.find(a.el).length&&(i=n.find(a.el));let s=i.find("."+e.params.scrollbar.dragClass);0===s.length&&(s=c(`
    `),i.append(s)),p.extend(t,{$el:i,el:i[0],$dragEl:s,dragEl:s[0]}),a.draggable&&t.enableDraggable()},destroy(){this.scrollbar.disableDraggable()}};const U={setTransform(e,t){const{rtl:n}=this,a=c(e),i=n?-1:1,s=a.attr("data-swiper-parallax")||"0";let r=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y");const o=a.attr("data-swiper-parallax-scale"),d=a.attr("data-swiper-parallax-opacity");if(r||l?(r=r||"0",l=l||"0"):this.isHorizontal()?(r=s,l="0"):(l=s,r="0"),r=r.indexOf("%")>=0?parseInt(r,10)*t*i+"%":r*t*i+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=d){const e=d-(d-1)*(1-Math.abs(t));a[0].style.opacity=e}if(null==o)a.transform(`translate3d(${r}, ${l}, 0px)`);else{const e=o-(o-1)*(1-Math.abs(t));a.transform(`translate3d(${r}, ${l}, 0px) scale(${e})`)}},setTranslate(){const e=this,{$el:t,slides:n,progress:a,snapGrid:i}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,a)}),n.each((t,n)=>{let s=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(t/2)-a*(i.length-1)),s=Math.min(Math.max(s,-1),1),c(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{e.parallax.setTransform(n,s)})})},setTransition(e=this.params.speed){const{$el:t}=this;t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t,n)=>{const a=c(n);let i=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(i=0),a.transition(i)})}};const Q={getDistanceBetweenTouches(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-n)**2)},onGestureStart(e){const t=this,n=t.params.zoom,a=t.zoom,{gesture:i}=a;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,i.scaleStart=Q.getDistanceBetweenTouches(e)}i.$slideEl&&i.$slideEl.length||(i.$slideEl=c(e.target).closest("."+t.params.slideClass),0===i.$slideEl.length&&(i.$slideEl=t.slides.eq(t.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+n.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==i.$imageWrapEl.length)?(i.$imageEl&&i.$imageEl.transition(0),t.zoom.isScaling=!0):i.$imageEl=void 0},onGestureChange(e){const t=this.params.zoom,n=this.zoom,{gesture:a}=n;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,a.scaleMove=Q.getDistanceBetweenTouches(e)}a.$imageEl&&0!==a.$imageEl.length&&(n.scale=h.gestures?e.scale*n.currentScale:a.scaleMove/a.scaleStart*n.currentScale,n.scale>a.maxRatio&&(n.scale=a.maxRatio-1+(n.scale-a.maxRatio+1)**.5),n.scalei.touchesStart.x))return void(i.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.yi.touchesStart.y))return void(i.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentXi.maxX&&(i.currentX=i.maxX-1+(i.currentX-i.maxX+1)**.8),i.currentYi.maxY&&(i.currentY=i.maxY-1+(i.currentY-i.maxY+1)**.8),s.prevPositionX||(s.prevPositionX=i.touchesCurrent.x),s.prevPositionY||(s.prevPositionY=i.touchesCurrent.y),s.prevTime||(s.prevTime=Date.now()),s.x=(i.touchesCurrent.x-s.prevPositionX)/(Date.now()-s.prevTime)/2,s.y=(i.touchesCurrent.y-s.prevPositionY)/(Date.now()-s.prevTime)/2,Math.abs(i.touchesCurrent.x-s.prevPositionX)<2&&(s.x=0),Math.abs(i.touchesCurrent.y-s.prevPositionY)<2&&(s.y=0),s.prevPositionX=i.touchesCurrent.x,s.prevPositionY=i.touchesCurrent.y,s.prevTime=Date.now(),a.$imageWrapEl.transform(`translate3d(${i.currentX}px, ${i.currentY}px,0)`)}},onTouchEnd(){const e=this.zoom,{gesture:t,image:n,velocity:a}=e;if(!t.$imageEl||0===t.$imageEl.length)return;if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;let i=300,s=300;const r=a.x*i,l=n.currentX+r,o=a.y*s,c=n.currentY+o;0!==a.x&&(i=Math.abs((l-n.currentX)/a.x)),0!==a.y&&(s=Math.abs((c-n.currentY)/a.y));const d=Math.max(i,s);n.currentX=l,n.currentY=c;const u=n.width*e.scale,p=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-u/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-p/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(d).transform(`translate3d(${n.currentX}px, ${n.currentY}px,0)`)},onTransitionEnd(){const e=this.zoom,{gesture:t}=e;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle(e){const t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in(e){const t=this,n=t.zoom,a=t.params.zoom,{gesture:i,image:s}=n;if(i.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?i.$slideEl=t.$wrapperEl.children("."+t.params.slideActiveClass):i.$slideEl=t.slides.eq(t.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),!i.$imageEl||0===i.$imageEl.length)return;let r,l,o,c,d,u,p,h,f,m,g,v,b,w,y,x,E,S;i.$slideEl.addClass(""+a.zoomedSlideClass),void 0===s.touchesStart.x&&e?(r="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,l="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(r=s.touchesStart.x,l=s.touchesStart.y),n.scale=i.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,n.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,e?(E=i.$slideEl[0].offsetWidth,S=i.$slideEl[0].offsetHeight,o=i.$slideEl.offset().left,c=i.$slideEl.offset().top,d=o+E/2-r,u=c+S/2-l,f=i.$imageEl[0].offsetWidth,m=i.$imageEl[0].offsetHeight,g=f*n.scale,v=m*n.scale,b=Math.min(E/2-g/2,0),w=Math.min(S/2-v/2,0),y=-b,x=-w,p=d*n.scale,h=u*n.scale,py&&(p=y),hx&&(h=x)):(p=0,h=0),i.$imageWrapEl.transition(300).transform(`translate3d(${p}px, ${h}px,0)`),i.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${n.scale})`)},out(){const e=this,t=e.zoom,n=e.params.zoom,{gesture:a}=t;a.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?a.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):a.$slideEl=e.slides.eq(e.activeIndex),a.$imageEl=a.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),a.$imageWrapEl=a.$imageEl.parent("."+n.containerClass)),a.$imageEl&&0!==a.$imageEl.length&&(t.scale=1,t.currentScale=1,a.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),a.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),a.$slideEl.removeClass(""+n.zoomedSlideClass),a.$slideEl=void 0)},enable(){const e=this,t=e.zoom;if(t.enabled)return;t.enabled=!0;const n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!h.passiveListener||{passive:!1,capture:!0},i="."+e.params.slideClass;h.gestures?(e.$wrapperEl.on("gesturestart",i,t.onGestureStart,n),e.$wrapperEl.on("gesturechange",i,t.onGestureChange,n),e.$wrapperEl.on("gestureend",i,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,i,t.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,i,t.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,i,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,i,t.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)},disable(){const e=this,t=e.zoom;if(!t.enabled)return;e.zoom.enabled=!1;const n=!("touchstart"!==e.touchEvents.start||!h.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!h.passiveListener||{passive:!1,capture:!0},i="."+e.params.slideClass;h.gestures?(e.$wrapperEl.off("gesturestart",i,t.onGestureStart,n),e.$wrapperEl.off("gesturechange",i,t.onGestureChange,n),e.$wrapperEl.off("gestureend",i,t.onGestureEnd,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,i,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,i,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,i,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,i,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}};const Z={loadInSlide(e,t=!0){const n=this,a=n.params.lazy;if(void 0===e)return;if(0===n.slides.length)return;const i=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`):n.slides.eq(e);let s=i.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!i.hasClass(a.elementClass)||i.hasClass(a.loadedClass)||i.hasClass(a.loadingClass)||(s=s.add(i[0])),0!==s.length&&s.each((e,s)=>{const r=c(s);r.addClass(a.loadingClass);const l=r.attr("data-background"),o=r.attr("data-src"),d=r.attr("data-srcset"),u=r.attr("data-sizes"),p=r.parent("picture");n.loadImage(r[0],o||l,d,u,!1,()=>{if(null!=n&&n&&(!n||n.params)&&!n.destroyed){if(l?(r.css("background-image",`url("${l}")`),r.removeAttr("data-background")):(d&&(r.attr("srcset",d),r.removeAttr("data-srcset")),u&&(r.attr("sizes",u),r.removeAttr("data-sizes")),p.length&&p.children("source").each((e,t)=>{const n=c(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))}),o&&(r.attr("src",o),r.removeAttr("data-src"))),r.addClass(a.loadedClass).removeClass(a.loadingClass),i.find("."+a.preloaderClass).remove(),n.params.loop&&t){const e=i.attr("data-swiper-slide-index");if(i.hasClass(n.params.slideDuplicateClass)){const t=n.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${n.params.slideDuplicateClass})`);n.lazy.loadInSlide(t.index(),!1)}else{const t=n.$wrapperEl.children(`.${n.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);n.lazy.loadInSlide(t.index(),!1)}}n.emit("lazyImageReady",i[0],r[0]),n.params.autoHeight&&n.updateAutoHeight()}}),n.emit("lazyImageLoad",i[0],r[0])})},load(){const e=this,{$wrapperEl:t,params:n,slides:a,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,r=n.lazy;let l=n.slidesPerView;function o(e){if(s){if(t.children(`.${n.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function d(e){return s?c(e).attr("data-swiper-slide-index"):c(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((t,n)=>{const a=s?c(n).attr("data-swiper-slide-index"):c(n).index();e.lazy.loadInSlide(a)});else if(l>1)for(let t=i;t1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){const t=r.loadPrevNextAmount,n=l,s=Math.min(i+n+Math.max(t,n),a.length),c=Math.max(i-Math.max(n,t),0);for(let t=i+l;t0&&e.lazy.loadInSlide(d(a));const i=t.children("."+n.slidePrevClass);i.length>0&&e.lazy.loadInSlide(d(i))}}};const J={LinearSpline:function(e,t){const n=function(){let e,t,n;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)n=e+t>>1,a[n]<=i?t=n:e=n;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=n(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this},getInterpolateFunction(e){const t=this;t.controller.spline||(t.controller.spline=t.params.loop?new J.LinearSpline(t.slidesGrid,e.slidesGrid):new J.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate(e,t){const n=this,a=n.controller.control;let i,s;function r(e){const t=n.rtlTranslate?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),s=-n.controller.spline.interpolate(-t)),s&&"container"!==n.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),s=(t-n.minTranslate())*i+e.minTranslate()),n.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,n),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e{t.updateAutoHeight()}),t.$wrapperEl.transitionEnd(()=>{a&&(t.params.loop&&"slide"===n.params.controller.by&&t.loopFix(),t.transitionEnd())}))}if(Array.isArray(a))for(i=0;i(e.attr("tabIndex","0"),e),makeElNotFocusable:e=>(e.attr("tabIndex","-1"),e),addElRole:(e,t)=>(e.attr("role",t),e),addElLabel:(e,t)=>(e.attr("aria-label",t),e),disableEl:e=>(e.attr("aria-disabled",!0),e),enableEl:e=>(e.attr("aria-disabled",!1),e),onEnterKey(e){const t=this,n=t.params.a11y;if(13!==e.keyCode)return;const a=c(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(n.lastSlideMessage):t.a11y.notify(n.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(n.firstSlideMessage):t.a11y.notify(n.prevSlideMessage)),t.pagination&&a.is("."+t.params.pagination.bulletClass)&&a[0].click()},notify(e){const t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation(){const e=this;if(e.params.loop||!e.navigation)return;const{$nextEl:t,$prevEl:n}=e.navigation;n&&n.length>0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),t&&t.length>0&&(e.isEnd?(e.a11y.disableEl(t),e.a11y.makeElNotFocusable(t)):(e.a11y.enableEl(t),e.a11y.makeElFocusable(t)))},updatePagination(){const e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((n,a)=>{const i=c(a);e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,t.paginationBulletMessage.replace(/\{\{index\}\}/,i.index()+1))})},init(){const e=this;e.$el.append(e.a11y.liveRegion);const t=e.params.a11y;let n,a;e.navigation&&e.navigation.$nextEl&&(n=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(a=e.navigation.$prevEl),n&&(e.a11y.makeElFocusable(n),e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.nextSlideMessage),n.on("keydown",e.a11y.onEnterKey)),a&&(e.a11y.makeElFocusable(a),e.a11y.addElRole(a,"button"),e.a11y.addElLabel(a,t.prevSlideMessage),a.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy(){const e=this;let t,n;e.a11y.liveRegion&&e.a11y.liveRegion.length>0&&e.a11y.liveRegion.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(n=e.navigation.$prevEl),t&&t.off("keydown",e.a11y.onEnterKey),n&&n.off("keydown",e.a11y.onEnterKey),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.off("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)}};const te={init(){const e=this;if(!e.params.history)return;if(!l.history||!l.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);const t=e.history;t.initialized=!0,t.paths=te.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||l.addEventListener("popstate",e.history.setHistoryPopState))},destroy(){const e=this;e.params.history.replaceState||l.removeEventListener("popstate",e.history.setHistoryPopState)},setHistoryPopState(){this.history.paths=te.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues(){const e=l.location.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory(e,t){if(!this.history.initialized||!this.params.history.enabled)return;const n=this.slides.eq(t);let a=te.slugify(n.attr("data-history"));l.location.pathname.includes(e)||(a=`${e}/${a}`);const i=l.history.state;i&&i.value===a||(this.params.history.replaceState?l.history.replaceState({value:a},null,a):l.history.pushState({value:a},null,a))},slugify:e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),scrollToSlide(e,t,n){const a=this;if(t)for(let i=0,s=a.slides.length;i{e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")),e.params.cssMode&&e.autoplay.running&&e.autoplay.run()},n)},start(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop(){const e=this;return!!e.autoplay.running&&(void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0))},pause(e){const t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))}};const ie={setTranslate(){const e=this,{slides:t}=e;for(let n=0;n{if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e'),t.append(u)),u.css({height:a+"px"})):(u=e.find(".swiper-cube-shadow"),0===u.length&&(u=c('
    '),e.append(u))));for(let e=0;e-1&&(p=90*a+90*h,s&&(p=90*-a-90*h)),t.transform(v),l.slideShadows){let e=o?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),n=o?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=c(`
    `),t.append(e)),0===n.length&&(n=c(`
    `),t.append(n)),e.length&&(e[0].style.opacity=Math.max(-h,0)),n.length&&(n[0].style.opacity=Math.max(h,0))}}if(t.css({"-webkit-transform-origin":`50% 50% -${r/2}px`,"-moz-transform-origin":`50% 50% -${r/2}px`,"-ms-transform-origin":`50% 50% -${r/2}px`,"transform-origin":`50% 50% -${r/2}px`}),l.shadow)if(o)u.transform(`translate3d(0px, ${a/2+l.shadowOffset}px, ${-a/2}px) rotateX(90deg) rotateZ(0deg) scale(${l.shadowScale})`);else{const e=Math.abs(p)-90*Math.floor(Math.abs(p)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=l.shadowScale,a=l.shadowScale/t,s=l.shadowOffset;u.transform(`scale3d(${n}, 1, ${a}) translate3d(0px, ${i/2+s}px, ${-i/2/a}px) rotateX(-90deg)`)}const h=R.isSafari||R.isWebView?-r/2:0;t.transform(`translate3d(0px,0,${h}px) rotateX(${this.isHorizontal()?0:p}deg) rotateY(${this.isHorizontal()?-p:0}deg)`)},setTransition(e){const{$el:t,slides:n}=this;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}};const re={setTranslate(){const e=this,{slides:t,rtlTranslate:n}=e;for(let a=0;a`),i.append(t)),0===n.length&&(n=c(`
    `),i.append(n)),t.length&&(t[0].style.opacity=Math.max(-s,0)),n.length&&(n[0].style.opacity=Math.max(s,0))}i.transform(`translate3d(${o}px, ${d}px, 0px) rotateX(${l}deg) rotateY(${r}deg)`)}},setTransition(e){const t=this,{slides:n,activeIndex:a,$wrapperEl:i}=t;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){let e=!1;n.eq(a).transitionEnd((function(){if(e)return;if(!t||t.destroyed)return;e=!0,t.animating=!1;const n=["webkitTransitionEnd","transitionend"];for(let e=0;e`),t.append(e)),0===n.length&&(n=c(`
    `),t.append(n)),e.length&&(e[0].style.opacity=l>0?l:0),n.length&&(n[0].style.opacity=-l>0?-l:0)}}if(h.pointerEvents||h.prefixedPointerEvents){a[0].style.perspectiveOrigin=o+"px 50%"}},setTransition(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}};const oe={init(){const e=this,{thumbs:t}=e.params,n=e.constructor;t.swiper instanceof n?(e.thumbs.swiper=t.swiper,p.extend(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),p.extend(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):p.isObject(t.swiper)&&(e.thumbs.swiper=new n(p.extend({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick)},onThumbClick(){const e=this,t=e.thumbs.swiper;if(!t)return;const n=t.clickedIndex,a=t.clickedSlide;if(a&&c(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let i;if(i=t.params.loop?parseInt(c(t.clickedSlide).attr("data-swiper-slide-index"),10):n,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const n=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===n?a:void 0===a?n:a-tt.previousIndex?"next":"prev"}else r=t.realIndex,l=r>t.previousIndex?"next":"prev";s&&(r+="next"===l?i:-1*i),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(r)<0&&(n.params.centeredSlides?r=r>o?r-Math.floor(a/2)+1:r+Math.floor(a/2)-1:r>o&&(r=r-a+1),n.slideTo(r,e?0:void 0))}let r=1;const l=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),n.slides.removeClass(l),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;ee,formatFractionTotal:e=>e,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create(){p.extend(this,{pagination:{init:W.init.bind(this),render:W.render.bind(this),update:W.update.bind(this),destroy:W.destroy.bind(this),dynamicBulletIndex:0}})},on:{init(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange(){const e=this;(e.params.loop||void 0===e.snapIndex)&&e.pagination.update()},snapIndexChange(){const e=this;e.params.loop||e.pagination.update()},slidesLengthChange(){const e=this;e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange(){const e=this;e.params.loop||(e.pagination.render(),e.pagination.update())},destroy(){this.pagination.destroy()},click(e){const t=this;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!c(e.target).hasClass(t.params.pagination.bulletClass)){!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow",t):t.emit("paginationHide",t),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create(){p.extend(this,{scrollbar:{init:K.init.bind(this),destroy:K.destroy.bind(this),updateSize:K.updateSize.bind(this),setTranslate:K.setTranslate.bind(this),setTransition:K.setTransition.bind(this),enableDraggable:K.enableDraggable.bind(this),disableDraggable:K.disableDraggable.bind(this),setDragPosition:K.setDragPosition.bind(this),getPointerPosition:K.getPointerPosition.bind(this),onDragStart:K.onDragStart.bind(this),onDragMove:K.onDragMove.bind(this),onDragEnd:K.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update(){this.scrollbar.updateSize()},resize(){this.scrollbar.updateSize()},observerUpdate(){this.scrollbar.updateSize()},setTranslate(){this.scrollbar.setTranslate()},setTransition(e){this.scrollbar.setTransition(e)},destroy(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create(){p.extend(this,{parallax:{setTransform:U.setTransform.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{beforeInit(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create(){const e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(n=>{t[n]=Q[n].bind(e)}),p.extend(e,{zoom:t});let n=1;Object.defineProperty(e.zoom,"scale",{get:()=>n,set(t){if(n!==t){const n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,a)}n=t}})},on:{init(){const e=this;e.params.zoom.enabled&&e.zoom.enable()},destroy(){this.zoom.disable()},touchStart(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap(e){const t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange(){const e=this;e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create(){p.extend(this,{lazy:{initialImageLoaded:!1,load:Z.load.bind(this),loadInSlide:Z.loadInSlide.bind(this)}})},on:{beforeInit(){const e=this;e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init(){const e=this;e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&e.lazy.load()},scroll(){const e=this;e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},resize(){const e=this;e.params.lazy.enabled&&e.lazy.load()},scrollbarDragMove(){const e=this;e.params.lazy.enabled&&e.lazy.load()},transitionStart(){const e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd(){const e=this;e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange(){const e=this;e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create(){p.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:J.getInterpolateFunction.bind(this),setTranslate:J.setTranslate.bind(this),setTransition:J.setTransition.bind(this)}})},on:{update(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate(){const e=this;e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create(){const e=this;p.extend(e,{a11y:{liveRegion:c(``)}}),Object.keys(ee).forEach(t=>{e.a11y[t]=ee[t].bind(e)})},on:{init(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create(){p.extend(this,{history:{init:te.init.bind(this),setHistory:te.setHistory.bind(this),setHistoryPopState:te.setHistoryPopState.bind(this),scrollToSlide:te.scrollToSlide.bind(this),destroy:te.destroy.bind(this)}})},on:{init(){const e=this;e.params.history.enabled&&e.history.init()},destroy(){const e=this;e.params.history.enabled&&e.history.destroy()},transitionEnd(){const e=this;e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange(){const e=this;e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create(){p.extend(this,{hashNavigation:{initialized:!1,init:ne.init.bind(this),destroy:ne.destroy.bind(this),setHash:ne.setHash.bind(this),onHashCange:ne.onHashCange.bind(this)}})},on:{init(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy(){const e=this;e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd(){const e=this;e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange(){const e=this;e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create(){const e=this;p.extend(e,{autoplay:{running:!1,paused:!1,run:ae.run.bind(e),start:ae.start.bind(e),stop:ae.stop.bind(e),pause:ae.pause.bind(e),onVisibilityChange(){"hidden"===document.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===document.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init(){const e=this;e.params.autoplay.enabled&&(e.autoplay.start(),document.addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart(e,t){const n=this;n.autoplay.running&&(t||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(e):n.autoplay.stop())},sliderFirstMove(){const e=this;e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd(){const e=this;e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy(){const e=this;e.autoplay.running&&e.autoplay.stop(),document.removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create(){p.extend(this,{fadeEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit(){if("fade"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"fade");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};p.extend(this.params,e),p.extend(this.originalParams,e)},setTranslate(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create(){p.extend(this,{cubeEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit(){if("cube"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};p.extend(this.params,e),p.extend(this.originalParams,e)},setTranslate(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create(){p.extend(this,{flipEffect:{setTranslate:re.setTranslate.bind(this),setTransition:re.setTransition.bind(this)}})},on:{beforeInit(){if("flip"!==this.params.effect)return;this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");const e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};p.extend(this.params,e),p.extend(this.originalParams,e)},setTranslate(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create(){p.extend(this,{coverflowEffect:{setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this)}})},on:{beforeInit(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create(){p.extend(this,{thumbs:{swiper:null,init:oe.init.bind(this),update:oe.update.bind(this),onThumbClick:oe.onThumbClick.bind(this)}})},on:{beforeInit(){const{thumbs:e}=this.params;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange(){this.thumbs.swiper&&this.thumbs.update()},update(){this.thumbs.swiper&&this.thumbs.update()},resize(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate(){this.thumbs.swiper&&this.thumbs.update()},setTransition(e){const t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy(){const e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];void 0===L.use&&(L.use=L.Class.use,L.installModule=L.Class.installModule),L.use(ce);t.default=L},uTbf: +/*!****************************************!*\ + !*** ./src/pages/Course/icon/xxlj.png ***! + \****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAAAaCAYAAABcmAU7AAAAAXNSR0IArs4c6QAAEa1JREFUaEPtWwt0XMV5/v+5q11ZWtmSLO+9u5aNLZyaN5g6BBMwIYANAgKFQOkj0FJSjDlpMQZaKId3IIVCSgIBzCOBhkAClDiOOcUUCIdHeBWH2LINOLag8u7c1ct6a1d75+/572M1u9qV1ob0JAfmnD3anfln7tw73/3/738I4TPWlt1LsRDC4YaAFgKYIQQAGdCHDuwYDcO7G87D9GfskXwqt4ufyip/BIucfTYZA0fDcjRgMZISIAAEo8j9690AGqAA4Z1wLTz35Dno/BHc1h/MFvF7H1KkJ9l9BRAuRcKwuzN+S1GBYpi53/lDoPzvYHi/AWG8DxW/2aAAgPhgBLnz9DXAICDw5wjlzmcZvka5RoACiHhfEQDen4oA8l8ME1EEAcKAsP7+WPM55dZwQbTE+WtAnB9cywWP/3EvL4QHKOECake4Bh77HEyV4xSv/1X3A0BwYfGUADwukHxQMEAYQN5f7bvfz7IMHJZ3QVIsX/DbW8eTY3jtdesbE3TAw7PmJsutcOJt1IqojtC1T/57HkyednL7eVsheGvt3+Kze72rz9hEvOFXPbuJaEb+vllD+OeaB80EQHjaxgMOjWutkoArN14IUOB1PAMzvoGSh1E4jgJX3Der+f5y57bs+oEY1dSsQALXnJEaFk6mv8pXQu7eq6JNWVKjQmUHQwGQwCAaw6q7XrjUtJubm6eFQqFIcI2+vj7q7e3t+0PBSlNTU100GjW0/Yy2t7eP7uH++P1hg7JXDa9/qds7wRLnlzdfgYkrp5mKNBCbQAaGq5HKaTF3TU/GNX/BJ0DxhNsJ6Ny49kIUr9w3K3EsYB6FE2Ydf+vYSQjiSHdAAHS+ffdC+9Vbz9UF57Te9qNM14eN6bce+Jre37z86vPfeeQfHrUsaxMAHBSMEdEG27aX67KWZf0AEV2AfsJ2ZyqV2hqsYVnW9xGxutSaRPSAlPKteDx+JxGtCmQQcYVS6vWiOUO2be/gvnnz5lWPjo4egoiHK6UOR8Q/BYC0lPLkWCy2xDCMCyq5ByLKSSkvduGTB1KZma4J8wEUaCCdA1Vq7gLOlF8vMI95cHrmsOJGkKGQcdiapsS2yeYcdzOtRFQxlhmWbzUMbF8/r3vjgwWAqd+v9WWsqsn2bnrqRH2thgNaH+/d8uxzAPAjvR8Rv+M4zoPpdPp33J9IJJqUUp0V730SQSHEfslk8n0WaWhomBGJRHaXE1dKHR0KhTYqpfgZzJni+k9LKb9umiY/i45i0DMobdv+e9M0r0bEb1d4L7+TUi4oD6QC86ZpFw1UhYAY502FJFvjUwXaTAenZyYD3uWZuHLmLehH1lvfXWM2XzbVDR93E12FTNAFwM6ftp41kn4vr1mmmjvF+HVSyhtZxjTN+Yh4256uR0SLEHHfYB4RObZt1wBAlvvi8fhiInrbH39OCHGVUuonALAf9ymlLCEEa4TrfJlhItroHiwim7ojNFfmdinllbFY7CghxGvaXhUR8QtxrW3bT5imeYEQ4vjieyGigwGAP3p7Vkp5SnkgFUnrWkkn3gFRLhwvIuRF2swj7+VJ+zhXKtABE3gTgbhyjTn79qkO77gb6CoCFWGP7INHFn8zN5hKTDWnknEi+kvbth/XZU3TZJDqepVs224rR/osy3oKAM7S1tgppWwJfpumeS4iutdAxFtTqdTVpmn2ImI9AAwIIQ70tRGDj5tExNOUUh/7877q9/cqpU5Np9OvJxKJZY7jnCeEeJeI3hVC7FBK7ZvNZj/s6enpKHHvwjTNKxHxBmAPebytJ6ILbNt2424lTduSORFomOZzNwIYHiPoHnWgrTsLY8AaZFzT1IYRvjq7xn18MpOD17tH8p5YU7UBR8/079HnQBwAcIm6/7if3N0HB06LwP7TIpBycvDSyJDLr4J2/LQoxIwQbMqOwubsOH+sFEjHXk8rETzT9sHDC1eRkyngG/v++bq7ww1zR/IkO/DcmLspp2vLXYeucRxnAyIeWgBtxK+kUqn/KQLSnYiY5yr+2BVSyn8rBU7Lst4DgEOCMSJ63rbtZcHveDx+DRHdxL+J6MJQKPRzx3G6/PGNiLiVAV20dgYAegHA8uf9hsEa8KNYLMbcqJX5EQDwh4GLjuMs6uzsZNl8SyQSc5VS/wEAS7XuYQC4XEp5b8HzKMWRLlhUB3NmTOSNu0cdWPNeHww6lPfWlljVcMo+UXfNrENwU1sXZHywLagLw0XzGko9w3zfpf+bgpNnRGH59DrYmhmF7/V2a+EAhNX1TfCFcATWDfbD+uH+/LxKgfSVa8ZOUgKOdIOPvMeetrq+Hev2cXEc6A7f5dd/u7J9u9p7Nz/9rn4DRNTOb3aZm6qyLOtV36S4IkQ0RkTHptPpXxfPsSxrEABqtf57pZQrg9+WZTE3O9/dKuJapdQgIv6VP/4LIvrv4C6EEKZS6ooi7vNIKBS6uKOjY0Rb82cAcHbRXiiXy83o6uoaCPpN0/wLAGAHgrWf3jYZhnHcrl27uisG0hsdI7AxlYF4XQhav1ALYQPhzeQorN85lNdKKw+eAYnaKkiP5CA2LQRPtPfDxr5RV+tMq0KwWLMhQKI6BKeb091r37Or2w1kcv+HmQyc0lA3DqQeH0j+Ia+un/WJgHTU5QMxI1KzAtELZKd/fe3hPZseOm1SdE8ySETftW27LDezLGseADD49Dfo4+Hh4UX9/f09wdJNTU2JUCi0q+AwEFenUqk7tcN8FRG/XGo7ganTANJKRI8FB09E/cx1UqnUO/p8y7J4b4uK1rSllK4GY4JfXV19DxEFgJ1weUR8DxFPSCaTgXYsYdoQ4ILDPI304s5heOUjz5x8bWENLIpXw0d9Y/Dwpn4XSLOiBnzr0AbYnXHgjfQInDQnCu/3Z+HhHbt9Aj0eb2qprYKV+zS6a63aLl2NFnCl0xrqYNmMOtg6OgrfZ42kBSnHgdQH64f5hfEId6Uaia+39JpcKwAx8YTkSyuXDn30vBcOmAwwzpgD5HiqtrBdIqX8wWRzE4nEGUqph4pk1kkp/yboi8fjS4noZV2GiE63bfsXGpBaDMMIK6XY/P1Uk20FAD4YnaPN8ol14K242hARA/Cul1L+HfMuAGDudXqwHhG9Ztv20fF4/BgiYlO2j3Yt9giZzN8BAM1a/yYiOmEiR9IcpcC0vbhjGF752APSuQdHYeHMMLR1ZuBn2wbdwz5x/jQ4ZnYNvJYahjc6R2H1IY2giOCWzd0w4Cg/juSBqSWqAelDD0gB8T7VBVIUOrJZWD84MJ46YQBHp0MiVOWbNgaSx5/2BEhwNhlLF3CKhNwUiWfmlJcWCVI0AsAZscM9m3+8YLD9pQUj8jdzAWim9uCYd6wlohtt2945FRCnGmfvCBGLwXaglHILz507d27D2NjYdUTUR0RbEPEJf00KhUIcbjhJKfVY0XU2I+L5SqmTfXKsBylvk1L+E8tblrUeABiMQXvUcZxLDMM4i4gTXV4TQowZhvEUm0bWtEQUkHd33DCMD5LJJJvy0mQ7ANL7XVnYuXsMEnUhODjmEfbHNw/C+71ZzoDBZV+sh+kRAx5o2w3tQ2NwyYH1rplb1zEAr3YFpNvz0FqiYbjY50uXfSBBaeEAF0j1pV7+8TtdNxhoJK9vj4DEE1wwwXISajGilrQFgMGdv4yn3/zXE7J97fsAKf3h89u8FgCelFIyHxmbCiDBuGmatUKIZ4joS9qcYaXUmcyX4vH4LUR0lTamqqura4OIdCwW+7IQgg/pTSJah4g369dGxK8jYr/jOHnnIZfLvRuJRJhsc1voOI5nAgCGHcfZ0tXVleIflmWxllmorXetlPImy7JeAIDFldwjIqra2lpr+/bt7vVKem2lyPZQVsELO4dhYyrraZjGEJx38HQYySl4qK3PjU4faVXDEbFp0DE0Bnd/0KvFhxhIVXDxfO++Vr8vwdGi36c0ekDqcxzYNprxvDp3dwAHRCIwXRjgAYm5qae5CbAi95+XSSQSC5VSl/D3UE18ZlX9ghZEVxe5LTvQbuX6P9LVOXdvJ6IXENGN6RS1j8t5YizHKYtQKMRv/THaPN78qVJK15xZllVMennN/B4sy2Iz+EOf9zCA82aR5wshZimlHgWAk6c6eCK61Lbtu3w5w7Is9rzyrjzzIdu2f2JZFrvybCIraR1SynwQdFIg/VZmoK0zC/1ZBV1DDuSCTAwCnLFfLRxq5tNPEy58R1sPdI7l8umPlroqWDHf458MJC+562mrUxvr4MSGKGwdGYW7u3rylQM8fllj4LXtvUYKDqWSp1OJDBE9Y9v2maVkGxsbp4fD4f8CgCXBOBNfwzBak8lkPhBYgvS+KKXMBwLj8fjNRPQvAMDxG+4/mtcjogeVUqs6OzsHLcviCPifTLVnIjrNtu1fspwfPHVTJVr7EqdaLMtiby54wfh639KFiOjbiPhbfx89tm2zlnbbpEDSOZK+YJUBcPlRDa4X19aVgYHseEnIQY0RqAsLeDE1BBske3depYALpBYfSFullocDOGVm1AXSNgZSZ894dYEguGzmJweSH9gr64UQ0VJE9FxKr7FrO8FdDwaVUuvS6fSa4gOsr6+vr66u5pSKS+z9B84pjpNt235Dl7csi2MZdZrcGtu2Lwp+W5bF5PocRDyPiDhq7npVfgyHiW+xZrkum83+OwuEw2EG+Q+DtYQQ+yeTSTeVZJrmCYj4vL6XUCg0s6OjI+9R+nL/zJ6hLoeIB+h5wIKxyeJIutemTzrEDMOf7R+FMYfgtjd7IUNekJKJ7LK5NXBMogZ6Mg7c3taTDxPMj1bBin09IF2+1R732oQOpAzc0+l7bb5Xt4qBFNn7OFLxYZf6bVkWc4fgoFjkCSklx1Eqbs3NzY25XI4PiIN8QetBxOXFLngsFjOFELJo8SullPlIvWVZHOw8XAixTCnF4HQ1BRGdYdv22mLNgohnpVKp/2QZPZAJAE40Gq0NuEw8Hl9BRHowsVdKGXCp/JZM01yDiN/U9ljA4YofzF5ppG8cWgctDVWwrSsLT2wZKEh5zK4LwYqDvBjWfdt6oX045wYYWSNdFABpi10QHmhtisKJjayRMnCPzXGkcbO3qun3CyTfFLHWyHMmTlqmUqlrKkURJ205OEhEevS7i0GQTCbd3Jfe4vH4mUT0dNHbfmYqlXrG72Ntw14ia6xrAcDN6fmNI9o7Hce5TwixIehExGuUUq43iYhcX3acP/aRlJJjW26zLIuj7Ku19d7OZrNnVVVVFWhs9v6CnJ4vO0REBYTftm2OebkcciKQ9qwcqLDQzS8L0YvidDd/PDk7HkPSi9smjpeqWdrzONJkgLAsi9/OFUWHel4qleJ4ypTN1y7MFfRkcNqPsXD5STGIFiulmMTrptQRQrQkk8mPWdg0zasQ8ZZyFyeinyMig2jSeJY//wUp5QnBWqZpPoOIZ2gAfFwptVYLL0x5z77AoJQyb5onrUcqWHGShHxBcZteQZkHll7cphfD6dUBE5O9QZmvvn6Qh9tj97/E44nH43cQUXGUemsmk1lSSeEa1/VkMpmHiGh/bXkOvF0YxIP0y86ePXtmLpd7HBGbgn4iGhFC3JtKpX6saQ2OL3FNEAfO2OymEDFJRO53pdRrQgg2od+Y6tQRcV0qlcqXhZSorboZEbcDwD9OtVbROJeQ5FMtU9YjVbJ4kMR165U46uwnPidUDRSX6PrFbUG6JF8VoJeraKW+LrDY/efxCrP/k+w/YprmYfq4YRjZZDLJ2fpSLn8lj+JTkWEtR0RD7Jl9KgtqizC3Umo8VpbL5ToreWmm2geX2o5yEX1F2ievDwsLI9xYc8l6o4kaJ//PBLp88D1IjQS13/not1+zlK8H5y906f3WnCA2MtV9fj7+e34CeMPLvRtIqYLKwL25ZsE/BWg1SG5/EDMqW6qrF8+VK4bTi+dAkcAvrpk1uyAzvzf7/nzOp/ME8LpXeuYKBx8EIE4ilo8wVnC9fNFbMXCK6rdLaqViblX83yhBMRxCBwi68T5rzgMVbOlzkf+nJ/B/LjQ2otMC9dAAAAAASUVORK5CYII="},vHTk: +/*!******************************************************!*\ + !*** ./src/components/PreviewAll/index.less?modules ***! + \******************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}}}]); \ No newline at end of file diff --git a/p__Course__index.e084bfd4.chunk.css b/p__Course__index.e084bfd4.chunk.css new file mode 100644 index 0000000000..38b65b91d4 --- /dev/null +++ b/p__Course__index.e084bfd4.chunk.css @@ -0,0 +1,1127 @@ +.flex_box_center___2M6jb { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___3oyXt { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___2N_cO { + align-items: center; + box-align: center; +} +.flex_box_center_end___d-jJy { + justify-content: flex-end; + align-items: center; + -webkit-justify-content: flex-end; + -webkit-align-items: center; + -webkit-box-align: center; + -webkit-box-pack: end; + box-align: center; + box-pack: end; +} +.flex_box_column___39bRO { + flex-direction: column; + box-orient: block-axis; +} +.AllButStyle___2LlU5 .ButStyles___2nNl4 { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; +} +.AllButStyle___2LlU5 .order___38uMl { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: #f47c18; + color: #fff; +} +.AllButStyle___2LlU5 .study___2jT1r { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: rgba(244, 124, 24, 0.28); + color: #a4642f; +} +.AllButStyle___2LlU5 .studyActive___2E0fH:hover { + color: #fa6400; +} +.qianfuhao___3C_D0 { + font-size: 12px; + font-weight: 600; + color: #f47b18; + line-height: 12px; + margin-left: 6px; +} +.TopTitle___Vu9FP { + width: 1200px; +} +.TopTitle___Vu9FP img { + height: 26px; +} +.TopTitle___Vu9FP .TopName___3QgC_ { + margin-left: -15px; + font-size: 20px; + font-weight: bold; + color: #181818; + line-height: 26px; +} +.BannerComponent___1EZP0 { + width: 1300px; + margin-top: 40px; + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + position: relative; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 { + width: 1200px; + margin-top: 40px; + overflow: hidden; + white-space: nowrap; + position: relative; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNavDiv___2yRgO { + display: flex; + flex-wrap: wrap; + align-items: center; + max-height: 88px; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNavDivOpen___1r0aH { + max-height: 220px; + overflow: auto; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNav___1z3BB { + margin-bottom: 14px; + padding: 6px 8px; + margin-right: 26px; + color: #5f6368; + font-size: 14px; + line-height: 18px; + border-radius: 2px; + cursor: pointer; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNav___1z3BB:last-child { + margin-right: 0px; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNav___1z3BB:hover { + color: #165dff; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNavActive___1EwRC { + color: #fff; + background: #f47c18; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .centNavActive___1EwRC:hover { + color: #fff; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .OpenClose___oUTG_ { + position: absolute; + right: 0px; + bottom: 14px; + padding: 6px 8px; + font-size: 14px; + line-height: 14px; + color: #165dff; + display: flex; + align-items: center; + cursor: pointer; + z-index: 2; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .OpenClose___oUTG_ .OpenIcon___2QlCZ { + margin-top: 3px; + transform: rotate(-90deg); + transition: 0.3s; +} +.BannerComponent___1EZP0 .CustomTags___2IlM3 .OpenClose___oUTG_ .CloseIcon___3V8OE { + transform: rotate(90deg); +} +.BannerComponent___1EZP0 .Swiper___2KPuN { + width: 1230px; + margin-top: 22px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemDiv___2hMLS { + height: 380px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj { + border-radius: 8px; + background: #ffffff; + box-shadow: 0px 3px 6px 0px rgba(227, 228, 229, 0.5); + margin: 0px 15px; + cursor: pointer; + position: relative; + overflow: hidden; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemImg___179E0 { + width: 278px; + height: 159px; + overflow: hidden; + position: relative; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemImg___179E0 img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; + object-fit: cover; + transition: 0.3s; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfo___s2N0u { + height: 178px; + padding: 15px 20px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTitle___3iSf- { + width: 100%; + font-size: 16px; + font-weight: 600; + color: #333; + line-height: 20px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTeacher___2KXH1 { + margin-top: 10px; + font-size: 12px; + font-weight: 400; + color: #6b758b; + line-height: 12px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoRate___383WA { + margin-top: 10px; + display: flex; + align-items: center; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoRate___383WA .span___1Elvg { + margin-right: 4px; + font-size: 14px; + font-weight: normal; + color: #b5690f; + line-height: 14px; + padding-top: 2px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoRate___383WA [class~='ant-rate-star']:not(:last-child) { + margin-right: 3px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime___2nlZq { + margin-top: 13px; + display: flex; + align-items: flex-end; + justify-content: space-between; + font-weight: 400; + color: #999999; + line-height: 16px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime___2nlZq .countdown___3Qb8q { + display: flex; + align-items: center; + font-size: 12px; + color: #bd6b27; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime___2nlZq .countdown___3Qb8q .span___1Elvg { + line-height: 14px; + display: inline-block; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime___2nlZq .timeprice___1vCHg { + white-space: nowrap; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime___2nlZq .timeprice___1vCHg .span___1Elvg { + font-size: 22px; + font-weight: 600; + color: #f47b18; + display: inline; + line-height: 18px; + letter-spacing: -1px; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItemInfoTime2___3bUWj { + justify-content: flex-end; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ { + width: 100%; + padding: 0 20px; + position: absolute; + bottom: 15px; + display: flex; + justify-content: space-between; + align-items: center; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ .span1___1rWEC { + font-size: 14px; + font-weight: 400; + color: #12a278; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ .ButStyles___2nNl4 { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ .order___38uMl { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: #f47c18; + color: #fff; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ .study___2jT1r { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: rgba(244, 124, 24, 0.28); + color: #a4642f; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj .But___N4BbZ .studyActive___2E0fH:hover { + color: #fa6400; +} +.BannerComponent___1EZP0 .Swiper___2KPuN .BannerListItem___2V-nj:hover .BannerListItemImg___179E0 img { + width: 110%; +} +.BannerComponent___1EZP0 .PrevNext___XiPzA { + top: 45%; + width: 1280px; + position: absolute; + pointer-events: none; + opacity: 0; + transition: 0.3s; +} +.BannerComponent___1EZP0 .PrevNext___XiPzA .buttonStyle___1b82L { + pointer-events: auto; + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; +} +.BannerComponent___1EZP0 .PrevNext___XiPzA .LeftButton___3d2Sg { + pointer-events: auto; + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; +} +.BannerComponent___1EZP0 .PrevNext___XiPzA .LeftButton___3d2Sg:hover { + background: rgba(0, 0, 0, 0.5); +} +.BannerComponent___1EZP0 .PrevNext___XiPzA .RightButton___EbSJZ { + pointer-events: auto; + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; +} +.BannerComponent___1EZP0 .PrevNext___XiPzA .RightButton___EbSJZ:hover { + background: rgba(0, 0, 0, 0.5); +} +.BannerComponent___1EZP0:hover .PrevNext___XiPzA { + opacity: 1; +} +.AllCourse___2V2gD { + width: 1200px; + margin-top: 40px; +} +.AllCourse___2V2gD .Search___3zs9t { + margin-left: auto; + width: 318px; + height: 38px; + background: #f6f7f9 !important; + border-radius: 19px; + font-size: 19px; + padding: 12px 20px; +} +.AllCourse___2V2gD .Search___3zs9t input { + padding-left: 0px; +} +.AllCourse___2V2gD .AllCourseCent___2meDD { + margin-top: 20px; + display: flex; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc { + width: 100%; + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + justify-content: space-between; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc [class~='ant-spin-nested-loading'] { + width: 100%; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS { + background: #fff; + cursor: pointer; + overflow: hidden; + box-shadow: 0px 3px 6px 0px rgba(227, 228, 229, 0.5); + padding: 28px 24px; + display: flex; + margin-bottom: 20px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemLeft___3nBqf { + width: 278px; + height: 159px; + overflow: hidden; + position: relative; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemLeft___3nBqf img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; + object-fit: cover; + transition: 0.3s; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCent___gfc9G { + margin: 16px 24px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentTitle___1bL_I { + width: 100%; + font-size: 18px; + font-weight: 500; + color: #333333; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentTitle___1bL_I:hover { + color: #165dff; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentIntro___1KOvU { + margin-top: 8px; + width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentIntro___1KOvU .topicTitle___2VVJQ { + font-size: 14px; + font-weight: 500; + color: #666; + line-height: 14px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentIntro___1KOvU .topicTitle___2VVJQ:hover { + color: #165dff; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentTeacher___MAH9w { + margin-top: 16px; + font-weight: 400; + font-size: 14px; + color: #999999; + line-height: 14px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentRate___3AoMp { + margin-top: 10px; + display: flex; + align-items: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentRate___3AoMp .span___1Elvg { + margin-right: 4px; + font-size: 14px; + font-weight: normal; + color: #b5690f; + line-height: 14px; + padding-top: 2px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentRate___3AoMp [class~='ant-rate-star']:not(:last-child) { + margin-right: 3px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS .AllCourseCentRightItemCentNum___3b3Z2 { + margin-top: 7px; + font-size: 14px; + font-weight: 400; + color: #999; + line-height: 14px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS:hover .AllCourseCentRightItemLeft___3nBqf img { + width: 110%; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItem___fZlBS:last-child { + margin-bottom: 0px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllStyles___2qMH- { + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + justify-content: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH { + min-width: 120px; + position: absolute; + right: 24px; + bottom: 0px; + height: 100%; + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + justify-content: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .PriceStyles___J4TCd { + font-size: 22px; + font-weight: 600; + color: #f47b18; + letter-spacing: -1px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .OriginPrice___31RBG { + font-size: 22px; + font-weight: 600; + color: #f47b18; + letter-spacing: -1px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscount___B1Jho { + text-align: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountPrice___Sczv2 { + display: flex; + align-items: center; + justify-content: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountPrice___Sczv2 span { + font-size: 22px; + font-weight: 600; + color: #f47b18; + letter-spacing: -1px; + white-space: nowrap; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountPrice___Sczv2 span .qianfuhao___3C_D0 { + font-size: 12px; + font-weight: 600; + color: #f47b18; + line-height: 12px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountPrice___Sczv2 del { + margin-left: 5px; + font-size: 12px; + font-weight: 400; + color: #999; + line-height: 12px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountCountdown___1NRKY { + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + justify-content: center; + margin-top: 18px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountCountdown___1NRKY .span1___1rWEC { + font-size: 12px; + line-height: 12px; + color: #999; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountCountdown___1NRKY .span2___rWdDx { + font-size: 14px; + line-height: 14px; + margin-top: 8px; + color: #bd6b27; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .IsDiscountOriginPrice___3jVxi { + margin-top: 18px; + font-size: 12px; + font-weight: 400; + color: #999; + line-height: 12px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .two___1_udq { + display: flex; + flex-wrap: wrap; + flex-direction: column; + align-items: center; + justify-content: center; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .two___1_udq [class~='ant-progress-line'] { + line-height: 12px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .two___1_udq .span2___rWdDx { + margin-top: 10px; + color: #999; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .two___1_udq .span2___rWdDx span { + color: #fa6400; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .ButStyles___2nNl4 { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .order___38uMl { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: #f47c18; + color: #fff; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .study___2jT1r { + line-height: 32px; + font-size: 14px; + font-weight: 600; + height: 32px; + padding: 0px 12px; + border-radius: 16px; + border: none; + background: rgba(244, 124, 24, 0.28); + color: #a4642f; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH .studyActive___2E0fH:hover { + color: #fa6400; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .AllCourseCentRightItemRight___2zjNH button { + margin-top: 27px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .Pagination___17MAm { + margin-top: 30px; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .Pagination___17MAm [class~='ant-pagination-item-active'] { + background: #ff7820 !important; + border-color: #ff7820 !important; +} +.AllCourse___2V2gD .AllCourseCentRight___dl3fc .Pagination___17MAm [class~='ant-pagination-item-active'] a { + color: #fff !important; +} +.body___1QgmN { + margin-top: -103px; + position: relative; + background: #fff; +} +.body___1QgmN .BannerList___2yXmD { + height: 420px; + width: 100%; +} +.body___1QgmN .BannerList___2yXmD .BannerDiv___3VB4s .slick-dots-bottom { + bottom: 40px; + right: 100px; + justify-content: flex-end; +} +.body___1QgmN .BannerList___2yXmD .BannerDiv___3VB4s .slick-dots-bottom li button { + height: 8px; + width: 8px; + border-radius: 4px; +} +.body___1QgmN .BannerList___2yXmD .BannerDiv___3VB4s .slick-dots-bottom li.slick-active button { + width: 20px; +} +.body___1QgmN .BannerList___2yXmD .Banner___1RkRG { + height: 420px; + width: 100%; +} +.body___1QgmN .BannerList___2yXmD .Banner___1RkRG img { + width: 100%; + height: 100%; + object-fit: cover; +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA { + margin: -420px auto 0; + width: 1240px; + height: 420px; + position: relative; + pointer-events: none; + opacity: 0; + transition: 0.3s; +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA .buttonStyle___1b82L { + pointer-events: auto; + position: absolute; + top: 50%; + transform: translateY(-50%); + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA .LeftButton___3d2Sg { + pointer-events: auto; + position: absolute; + top: 50%; + transform: translateY(-50%); + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; + left: 0; +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA .LeftButton___3d2Sg:hover { + background: rgba(0, 0, 0, 0.5); +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA .RightButton___EbSJZ { + pointer-events: auto; + position: absolute; + top: 50%; + transform: translateY(-50%); + color: #fff; + font-size: 15px; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; + right: 0; +} +.body___1QgmN .BannerList___2yXmD .PrevNext___XiPzA .RightButton___EbSJZ:hover { + background: rgba(0, 0, 0, 0.5); +} +.body___1QgmN .BannerList___2yXmD:hover .PrevNext___XiPzA { + opacity: 1; +} +.body___1QgmN .Cent___liIDb { + position: relative; + z-index: 1; + margin: -20px auto 20px; + display: flex; + flex-direction: column; + flex-wrap: wrap; + align-items: center; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy { + width: 1200px; + height: 102px; + padding: 30px 50px; + background: #ffffff; + box-shadow: 0px 5px 16px 0px #f3f6ff, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 10px; + display: flex; + justify-content: space-between; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc { + display: flex; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc .Img___O7O-f { + height: 42px; + width: 42px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + background: #f4f8fa; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc .Img___O7O-f [class*=' icon-']::before { + font-size: 20px !important; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc .Info___34ALm { + margin-left: 10px; + height: 100%; + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: space-between; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc .Info___34ALm .Info1___KWN4K { + font-size: 20px; + font-weight: 500; + line-height: 20px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .infoStyle___11umc .Info___34ALm .Info2___7r67j { + font-size: 12px; + font-weight: 400; + line-height: 12px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc { + display: flex; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Img___O7O-f { + height: 42px; + width: 42px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + background: #f4f8fa; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Img___O7O-f [class*=' icon-']::before { + font-size: 20px !important; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm { + margin-left: 10px; + height: 100%; + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: space-between; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm .Info1___KWN4K { + font-size: 20px; + font-weight: 500; + line-height: 20px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm .Info2___7r67j { + font-size: 12px; + font-weight: 400; + line-height: 12px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm { + align-items: center; + flex-direction: inherit; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm .Info1___KWN4K { + cursor: pointer; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .userInfoDiv___2C-Wc .Info___34ALm .Info1___KWN4K:hover { + color: #165dff; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d { + display: flex; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Img___O7O-f { + height: 42px; + width: 42px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + background: #f4f8fa; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Img___O7O-f [class*=' icon-']::before { + font-size: 20px !important; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Info___34ALm { + margin-left: 10px; + height: 100%; + display: flex; + flex-direction: column; + flex-wrap: wrap; + justify-content: space-between; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Info___34ALm .Info1___KWN4K { + font-size: 20px; + font-weight: 500; + line-height: 20px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Info___34ALm .Info2___7r67j { + font-size: 12px; + font-weight: 400; + line-height: 12px; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Info___34ALm .Info1___KWN4K { + color: #232b40; +} +.body___1QgmN .Cent___liIDb .InfoDiv___2ihQy .Detailed___3p08d .Info___34ALm .Info2___7r67j { + color: #6a7283; +} +.body___1QgmN .footer___3WS1f { + padding-top: 30px; + padding-bottom: 40px; + width: 1200px; + margin: 40px auto; + line-height: 1.5em; + color: #919191; + font-size: 14px; + border-top: 1px solid rgba(34, 36, 38, 0.15); +} +.Learnpath___2T7pb { + margin-top: 60px; +} +.Learnpath___2T7pb .LpCent___1n319 { + margin-top: 40px; + box-shadow: 0px 2px 4px 0px #d6dae1; + border-radius: 8px; + border: 1px solid #f6f6f6; + height: 239px; + width: 1200px; + padding: 40px 0; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-slide'] { + opacity: 0; + transition: 0.3s; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-slide-prev'], +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-slide-active'], +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-slide-next'] { + opacity: 1; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-slide-prev'] { + margin-left: -58px; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDiv___3Lv-- { + overflow: hidden; + width: 490px; + height: 159px; + background: #ffffff; + box-shadow: 0px 0px 16px 0px #d5e3ff; + border-radius: 8px; + border: 1px solid #c6d4f6; + display: flex; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDiv___3Lv--:hover .SwiperDivImg___1l9NE img { + width: 110%; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivImg___1l9NE { + width: 278px; + height: 159px; + overflow: hidden; + position: relative; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivImg___1l9NE img { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100%; + object-fit: cover; + transition: 0.3s; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivTitle___3slZM { + font-size: 16px; + font-weight: 600; + color: #000000; + width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivTeacher___2MDKv { + margin-top: 14px; + font-size: 12px; + font-weight: 400; + color: #6b758b; + line-height: 12px; + width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivRate___2Lajo { + margin-top: 21px; + display: flex; + align-items: center; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivRate___2Lajo .SwiperDivspan___R5IK8 { + font-size: 14px; + font-weight: normal; + color: #b5690f; + line-height: 14px; + margin-right: 5px; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivRate___2Lajo [class~='ant-rate-star']:not(:last-child) { + margin-right: 3px; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivBut___386hI { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 10px; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivBut___386hI .SwiperDivspan1___2F0RU { + font-size: 12px; + font-weight: 400; + color: #12a278; + line-height: 12px; +} +.Learnpath___2T7pb .LpCent___1n319 .SwiperDivBut___386hI .SwiperDivbutton___sPNpr { + background: #3061d0; + box-shadow: 0px 2px 4px 0px #e0dfe1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 14px; + color: #ffffff; +} +.Learnpath___2T7pb .LpCent___1n319 .buttonStyle___1b82L { + pointer-events: auto; + color: #fff; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; + opacity: 0; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-prev']::after, +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-next']::after { + font-size: 15px; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-prev'], +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-next'] { + pointer-events: auto; + color: #fff; + width: 42px; + height: 42px; + background: rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + transition: 0.3s; + opacity: 0; +} +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-prev']:hover, +.Learnpath___2T7pb .LpCent___1n319 div[class~='swiper-button-next']:hover { + background: rgba(0, 0, 0, 0.5); +} +.Learnpath___2T7pb .LpCent___1n319:hover div[class~='swiper-button-prev'], +.Learnpath___2T7pb .LpCent___1n319:hover div[class~='swiper-button-next'] { + opacity: 1; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +.wrp___z2l1F { + display: flex; + justify-content: center; + align-items: center; + position: fixed; + width: 100%; + height: 100%; + left: 0; + top: 0; + z-index: 108; +} +.wrp___z2l1F.bgBlack___3ezfX { + background: rgba(0, 0, 0, 0.5); +} +.wrp___z2l1F img, +.wrp___z2l1F video { + max-width: 100%; + max-height: 80%; + text-align: center; +} +.wrp___z2l1F iframe { + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; +} +.monaco___1ypjT { + position: absolute; + height: 100%; + width: 100%; +} +.darkBlue___2ViJc * { + font-size: 14px; +} +.darkBlue___2ViJc [class~='margin'], +.darkBlue___2ViJc [class~='monaco-editor-background'] { + background: #0a0e2d !important; +} +.darkBlue___2ViJc [class~='line-numbers'] { + color: white !important; +} +.close___3q-z4 { + position: absolute; + right: 40px; + top: 40px; + z-index: 10; + display: flex; +} +.close___3q-z4 > span { + background: #4a4a4a; + color: #fff; + width: 40px; + height: 40px; + border-radius: 4px; + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + margin-left: 10px; +} +.embed___3dQqc { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +.none_panels___1g-mA { + text-align: center; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + padding: 20% 0; +} +.none_panels___1g-mA img { + margin-bottom: 15px; + width: 100%; +} +.none_p_title___1lCVD { + font-size: 14px; + color: #999; +} +/* stylelint-disable no-duplicate-selectors */ +/* stylelint-disable */ +/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */ + +/** + * Swiper 5.4.5 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * http://swiperjs.com + * + * Copyright 2014-2020 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: June 16, 2020 + */ + +@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(44px/ 44 * 27);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:44px;height:var(--swiper-navigation-size);margin-top:calc(-1 * 44px/ 2);margin-top:calc(-1 * var(--swiper-navigation-size)/ 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-theme-color);color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-feature-settings:normal, ;font-variant:normal;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:'next'}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#ffffff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#ffffff}.swiper-pagination-black{--swiper-pagination-color:#000000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-theme-color);border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;background:#000;opacity:.6;filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;backface-visibility:hidden} diff --git a/umi.a33b2ce1.js b/umi.a33b2ce1.js new file mode 100644 index 0000000000..61e68be285 --- /dev/null +++ b/umi.a33b2ce1.js @@ -0,0 +1,4392 @@ +!function(e){function t(t){for(var r,a,c=t[0],u=t[1],s=t[2],l=0,f=[];l + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */var r=n(/*! isobject */"qDJ8");function a(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==a(e)&&("function"==typeof(t=e.constructor)&&(!1!==a(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},"+2a4": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.some.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/function-bind-context */"7BAe"),c=n(/*! ../internals/get-set-iterator */"jbR1"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{some:function(e){var t=o(this),n=c(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e){if(r(e,e,t))return u.stop()}),void 0,!1,!0).stopped}})},"+4le": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.global-this.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ./es.global-this */"UXQe")},"+GPJ": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.intersection.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/species-constructor */"/dTS"),s=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{intersection:function(e){var t=i(this),n=new(u(t,o("Set"))),r=c(t.has),a=c(n.add);return s(e,(function(e){r.call(t,e)&&a.call(n,e)})),n}})},"+Hw1": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.iaddh.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{iaddh:function(e,t,n,r){var a=e>>>0,o=n>>>0;return(t>>>0)+(r>>>0)+((a&o|(a|o)&~(a+o>>>0))>>>31)|0}})},"+SQA": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/function-bind.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/a-function */"cT1L"),a=n(/*! ../internals/is-object */"tSXo"),o=[].slice,i={},c=function(e,t,n){if(!(t in i)){for(var r=[],a=0;a1?arguments[1]:void 0)}})},"+qE3": +/*!***************************************!*\ + !*** ./node_modules/events/events.js ***! + \***************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a="object"==typeof Reflect?Reflect:null,o=a&&"function"==typeof a.apply?a.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function a(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}y(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&y(e,"error",t,n)}(e,a,{once:!0})}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var a,o,i,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),i=o[t]),void 0===i)i=o[t]=n,++e._eventsCount;else if("function"==typeof i?i=o[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(a=l(e))>0&&i.length>a&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,c=u,console&&console.warn&&console.warn(c)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=f.bind(r);return a.listener=n,r.wrapFn=a,a}function h(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(i=t[0]),i instanceof Error)throw i;var c=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw c.context=i,c}var u=a[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var s=u.length,l=b(u,s);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){i=n[o].listener,a=o;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},"+rjg": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-repeat.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/to-integer */"m0kY"),a=n(/*! ../internals/require-object-coercible */"FCfD");e.exports="".repeat||function(e){var t=String(a(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"+u1y": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.array.last-index.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/add-to-unscopables */"eNh0"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/object-define-property */"YfKC").f;r&&!("lastIndex"in[])&&(c(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?0:t-1}}),a("lastIndex"))},"+vfm": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/inherit-if-required.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo"),a=n(/*! ../internals/object-set-prototype-of */"g1ZG");e.exports=function(e,t,n){var o,i;return a&&"function"==typeof(o=t.constructor)&&o!==n&&r(i=o.prototype)&&i!==n.prototype&&a(e,i),e}},"+wdc": +/*!****************************************************************!*\ + !*** ./node_modules/scheduler/cjs/scheduler.production.min.js ***! + \****************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/** @license React v0.18.0 + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r,a,o,i,c;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},p=Date.now();t.unstable_now=function(){return Date.now()-p},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(l,0))},a=function(e,t){s=setTimeout(e,t)},o=function(){clearTimeout(s)},i=function(){return!1},c=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var y=d.now();t.unstable_now=function(){return d.now()-y}}var v=!1,g=null,_=-1,x=5,w=0;i=function(){return t.unstable_now()>=w},c=function(){},t.unstable_forceFrameRate=function(e){0>e||125P(i,n))void 0!==u&&0>P(u,i)?(e[r]=u,e[c]=n,r=c):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],T=[],A=1,I=null,M=3,L=!1,D=!1,R=!1;function N(e){for(var t=E(T);null!==t;){if(null===t.callback)S(T);else{if(!(t.startTime<=e))break;S(T),t.sortIndex=t.expirationTime,k(C,t)}t=E(T)}}function F(e){if(R=!1,N(e),!D)if(null!==E(C))D=!0,r(U);else{var t=E(T);null!==t&&a(F,t.startTime-e)}}function U(e,n){D=!1,R&&(R=!1,o()),L=!0;var r=M;try{for(N(n),I=E(C);null!==I&&(!(I.expirationTime>n)||e&&!i());){var c=I.callback;if(null!==c){I.callback=null,M=I.priorityLevel;var u=c(I.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?I.callback=u:I===E(C)&&S(C),N(n)}else S(C);I=E(C)}if(null!==I)var s=!0;else{var l=E(T);null!==l&&a(F,l.startTime-n),s=!1}return s}finally{I=null,M=r,L=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=c;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,i){var c=t.unstable_now();if("object"==typeof i&&null!==i){var u=i.delay;u="number"==typeof u&&0c?(e.sortIndex=u,k(T,e),null===E(C)&&e===E(T)&&(R?o():R=!0,a(F,u-c))):(e.sortIndex=i,k(C,e),D||L||(D=!0,r(U))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_shouldYield=function(){var e=t.unstable_now();N(e);var n=E(C);return n!==I&&null!==I&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTimel;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"/8Wl": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.trunc.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.ceil,o=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?o:a)(e)}})},"/EoS": +/*!******************************************!*\ + !*** ./src/styles/iconfont/iconfont.css ***! + \******************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"/I8r": +/*!**********************************************!*\ + !*** ./src/models/engineering/normDetail.ts ***! + \**********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/engineering */"rbmi"),c={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),getGraduationResultDetail:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.g,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{dataSource:u}});case 7:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)},setDataSource:function(e,t){var n=t.payload;return Object(r.a)(Object(r.a)({},e),{},{dataSource:n})}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},"/MKj": +/*!***********************************************************!*\ + !*** ./node_modules/react-redux/es/index.js + 19 modules ***! + \***********************************************************/ +/*! exports provided: Provider, connectAdvanced, ReactReduxContext, connect, useDispatch, createDispatchHook, useSelector, createSelectorHook, useStore, createStoreHook, shallowEqual, batch */ +/*! exports used: Provider, ReactReduxContext, connect */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/components/Context.js because of ./node_modules/react-redux/es/components/connectAdvanced.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/components/connectAdvanced.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/utils/Subscription.js because of ./node_modules/react-redux/es/components/connectAdvanced.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/utils/batch.js because of ./node_modules/react-redux/es/components/connectAdvanced.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js because of ./node_modules/react-redux/es/components/connectAdvanced.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return o.a})),n.d(t,"c",(function(){return C}));var r=n("q1tI"),a=n.n(r),o=(n("17x9"),n("joe6")),i=n("edbT"),c=n("V+Yl");var u=function(e){var t=e.store,n=e.context,u=e.children,s=Object(r.useMemo)((function(){var e=Object(i.a)(t);return{store:t,subscription:e}}),[t]),l=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(c.a)((function(){var e=s.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,l]);var p=n||o.a;return a.a.createElement(p.Provider,{value:s},u)},s=n("/jNT"),l=n("wx14"),p=n("zLVn");function f(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function d(e,t){if(f(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a=0;r--){var a=t[r](e);if(a)return a}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function S(e,t){return e===t}function P(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?s.a:n,a=t.mapStateToPropsFactories,o=void 0===a?v:a,i=t.mapDispatchToPropsFactories,c=void 0===i?y:i,u=t.mergePropsFactories,f=void 0===u?_:u,h=t.selectorFactory,m=void 0===h?O:h;return function(e,t,n,a){void 0===a&&(a={});var i=a,u=i.pure,s=void 0===u||u,h=i.areStatesEqual,b=void 0===h?S:h,y=i.areOwnPropsEqual,v=void 0===y?d:y,g=i.areStatePropsEqual,_=void 0===g?d:g,x=i.areMergedPropsEqual,w=void 0===x?d:x,j=Object(p.a)(i,k),O=E(e,o,"mapStateToProps"),P=E(t,c,"mapDispatchToProps"),C=E(n,f,"mergeProps");return r(m,Object(l.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:O,initMapDispatchToProps:P,initMergeProps:C,pure:s,areStatesEqual:b,areOwnPropsEqual:v,areStatePropsEqual:_,areMergedPropsEqual:w},j))}}var C=P();var T=n("i8i4"),A=n("TfIc");Object(A.b)(T.unstable_batchedUpdates)},"/R3g": +/*!**************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.reflect.get-metadata-keys.js ***! + \**************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../modules/es.set */"zTPR"),o=n(/*! ../internals/reflect-metadata */"ls1J"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/object-get-prototype-of */"Acmb"),u=n(/*! ../internals/iterate */"IuhT"),s=o.keys,l=o.toKey,p=function(e,t){var n=s(e,t),r=c(e);if(null===r)return n;var o,i,l=p(r,t);return l.length?n.length?(o=new a(n.concat(l)),u(o,(i=[]).push,i),i):l:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:l(arguments[1]);return p(i(e),t)}})},"/dTS": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/species-constructor.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/an-object */"f1E4"),a=n(/*! ../internals/a-function */"cT1L"),o=n(/*! ../internals/well-known-symbol */"2kyd")("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[o])?t:a(n)}},"/gva": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/collection.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/global */"ukPv"),o=n(/*! ../internals/is-forced */"kkxG"),i=n(/*! ../internals/redefine */"NMFW"),c=n(/*! ../internals/internal-metadata */"a5mf"),u=n(/*! ../internals/iterate */"IuhT"),s=n(/*! ../internals/an-instance */"igoe"),l=n(/*! ../internals/is-object */"tSXo"),p=n(/*! ../internals/fails */"MVys"),f=n(/*! ../internals/check-correctness-of-iteration */"GPrf"),d=n(/*! ../internals/set-to-string-tag */"kiNa"),h=n(/*! ../internals/inherit-if-required */"+vfm");e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=m?"set":"add",v=a[e],g=v&&v.prototype,_=v,x={},w=function(e){var t=g[e];i(g,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof v||!(b||g.forEach&&!p((function(){(new v).entries().next()})))))_=n.getConstructor(t,e,m,y),c.REQUIRED=!0;else if(o(e,!0)){var j=new _,O=j[y](b?{}:-0,1)!=j,k=p((function(){j.has(1)})),E=f((function(e){new v(e)})),S=!b&&p((function(){for(var e=new v,t=5;t--;)e[y](t,t);return!e.has(-0)}));E||((_=t((function(t,n){s(t,_,e);var r=h(new v,t,_);return null!=n&&u(n,r[y],r,m),r}))).prototype=g,g.constructor=_),(k||S)&&(w("delete"),w("has"),m&&w("get")),(S||O)&&w(y),b&&g.clear&&delete g.clear}return x[e]=_,r({global:!0,forced:_!=v},x),d(_,e),b||n.setStrong(_,e,m),_}},"/mKc": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.filter.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/function-bind-context */"7BAe"),s=n(/*! ../internals/species-constructor */"/dTS"),l=n(/*! ../internals/get-set-iterator */"jbR1"),p=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{filter:function(e){var t=i(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),a=new(s(t,o("Set"))),f=c(a.add);return p(n,(function(e){r(e,e,t)&&f.call(a,e)}),void 0,!1,!0),a}})},"/vMi": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.weak-set.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";n(/*! ../internals/collection */"/gva")("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(/*! ../internals/collection-weak */"uz3g"))},"/yC2": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/ie8-dom-define.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/document-create-element */"8w+9");e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},0: +/*!******************************************!*\ + !*** multi ./src/.umi-production/umi.ts ***! + \******************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n(/*! E:\gonshi\develops\dev_local_v7_pengcheng\src\.umi-production\umi.ts */"tB8F")},"02UQ": +/*!*********************************************!*\ + !*** ./src/models/classrooms/graduation.ts ***! + \*********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/graduation */"B3m4"),c={namespace:"graduation",state:{name:"毕业设计",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{getTopisDetailList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.o,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getTasksListDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.m,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailTaskList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getTopisDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.n,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getTasksDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.l,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{tasksDetail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),refuseTopic:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.p,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),agreeTopic:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),getReplyList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.k,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{replyList:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),createReply:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),replyLike:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.q,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),replyUnLike:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.r,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteReply:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.f,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addTopicDefaultData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.c,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{addTopicData:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),editTopicDefaultData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.j,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{editTopicData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),editTasksDefaultData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.h,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{editTasksData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),addTopic:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),editTopic:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),addTasks:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.a,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),editTasks:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.g,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},"0BeC": +/*!*********************************************!*\ + !*** ./src/models/classrooms/attachment.ts ***! + \*********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/attachment */"Xq8v"),c={namespace:"attachment",state:{name:"资源",loading:!0,detail:{},actionTabs:{}},effects:{allAttachment:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.a,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{allList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),mineAttachment:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.d,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{mineList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),fileImport:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),getDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.c,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),updateVisits:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.f,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},"0O5u": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.concat.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/is-array */"Un+d"),i=n(/*! ../internals/is-object */"tSXo"),c=n(/*! ../internals/to-object */"cTDu"),u=n(/*! ../internals/to-length */"oa35"),s=n(/*! ../internals/create-property */"arQb"),l=n(/*! ../internals/array-species-create */"nMuc"),p=n(/*! ../internals/array-method-has-species-support */"jMDO"),f=n(/*! ../internals/well-known-symbol */"2kyd"),d=n(/*! ../internals/engine-v8-version */"hRxt"),h=f("isConcatSpreadable"),m=d>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=p("concat"),y=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!m||!b},{concat:function(e){var t,n,r,a,o,i=c(this),p=l(i,0),f=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(p,f++,o)}return p.length=f,p}})},"0Owb": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends.js ***! + \*************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],a=0;a=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=c.charAt(s):l<128?u+=i[l]:l<2048?u+=i[192|l>>6]+i[128|63&l]:l<55296||l>=57344?u+=i[224|l>>12]+i[128|l>>6&63]+i[128|63&l]:(s+=1,l=65536+((1023&l)<<10|1023&c.charCodeAt(s)),u+=i[240|l>>18]+i[128|l>>12&63]+i[128|l>>6&63]+i[128|63&l])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r1?arguments[1]:void 0,v=void 0!==y,g=s(h),_=0;if(v&&(y=r(y,b>2?arguments[2]:void 0,2)),null==g||m==Array&&i(g))for(n=new m(t=c(h.length));t>_;_++)d=v?y(h[_],_):h[_],u(n,_,d);else for(f=(p=g.call(h)).next,n=new m;!(l=f.call(p)).done;_++)d=v?o(p,y,[l.value,_],!0):l.value,u(n,_,d);return n.length=_,n}},"1OyB": +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},"1W/9": +/*!**************************************************************!*\ + !*** ./node_modules/rc-util/es/PortalWrapper.js + 3 modules ***! + \**************************************************************/ +/*! exports provided: getOpenCount, default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-select/es/Select.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/canUseDom.js because of ./node_modules/rc-util/es/Dom/dynamicCSS.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Portal.js because of ./node_modules/rc-select/es/SelectTrigger.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js because of ./node_modules/rc-table/es/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/raf.js because of ./node_modules/rc-virtual-list/es/hooks/useScrollTo.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("1OyB"),a=n("vuIU"),o=n("Ji7U"),i=n("LK+K"),c=n("U8pU"),u=n("q1tI"),s=n("wgJM"),l=n("QC+M"),p=n("MNnm"),f=n("qx4F");var d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,a={},o=Object.keys(e);return o.forEach((function(e){a[e]=r.style[e]})),o.forEach((function(t){r.style[t]=e[t]})),a};var h={},m=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t=new RegExp("".concat("ant-scrolling-effect"),"g"),n=document.body.className;if(e){if(!t.test(n))return;return d(h),h={},void(document.body.className=n.replace(t,"").trim())}var r=Object(f.a)();if(r&&(h=d({position:"relative",width:"calc(100% - ".concat(r,"px)")}),!t.test(n))){var a="".concat(n," ").concat("ant-scrolling-effect");document.body.className=a.trim()}}},b=n("KQm4"),y=[],v=new RegExp("".concat("ant-scrolling-effect"),"g"),g=0,_=new Map,x=function e(t){var n=this;Object(r.a)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container},this.reLock=function(e){var t=y.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())},this.lock=function(){var e;if(!y.some((function(e){return e.target===n.lockTarget})))if(y.some((function(e){var t,r=e.options;return(null==r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))y=[].concat(Object(b.a)(y),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=Object(f.a)());var a=r.className;if(0===y.filter((function(e){var t,r=e.options;return(null==r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&_.set(r,d({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!v.test(a)){var o="".concat(a," ").concat("ant-scrolling-effect");r.className=o.trim()}y=[].concat(Object(b.a)(y),[{target:n.lockTarget,options:n.options}])}},this.unLock=function(){var e,t=y.find((function(e){return e.target===n.lockTarget}));if(y=y.filter((function(e){return e.target!==n.lockTarget})),t&&!y.some((function(e){var n,r=e.options;return(null==r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,a=r.className;v.test(a)&&(d(_.get(r),{element:r}),_.delete(r),r.className=r.className.replace(v,"").trim())}},this.lockTarget=g++,this.options=t},w=0,j=Object(p.a)();var O={},k=function(e){if(!j)return null;if(e){if("string"==typeof e)return document.querySelectorAll(e)[0];if("function"==typeof e)return e();if("object"===Object(c.a)(e)&&e instanceof window.HTMLElement)return e}return document.body},E=function(e){Object(o.a)(n,e);var t=Object(i.a)(n);function n(e){var a;return Object(r.a)(this,n),(a=t.call(this,e)).container=void 0,a.componentRef=u.createRef(),a.rafId=void 0,a.scrollLocker=void 0,a.renderComponent=void 0,a.updateScrollLocker=function(e){var t=(e||{}).visible,n=a.props,r=n.getContainer,o=n.visible;o&&o!==t&&j&&k(r)!==a.scrollLocker.getContainer()&&a.scrollLocker.reLock({container:k(r)})},a.updateOpenCount=function(e){var t=e||{},n=t.visible,r=t.getContainer,o=a.props,i=o.visible,c=o.getContainer;i!==n&&j&&k(c)===document.body&&(i&&!n?w+=1:e&&(w-=1)),("function"==typeof c&&"function"==typeof r?c.toString()!==r.toString():c!==r)&&a.removeCurrentContainer()},a.attachToParent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||a.container&&!a.container.parentNode){var t=k(a.props.getContainer);return!!t&&(t.appendChild(a.container),!0)}return!0},a.getContainer=function(){return j?(a.container||(a.container=document.createElement("div"),a.attachToParent(!0)),a.setWrapperClassName(),a.container):null},a.setWrapperClassName=function(){var e=a.props.wrapperClassName;a.container&&e&&e!==a.container.className&&(a.container.className=e)},a.removeCurrentContainer=function(){var e,t;null===(e=a.container)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.container)},a.switchScrollingEffect=function(){1!==w||Object.keys(O).length?w||(d(O),O={},m(!0)):(m(),O=d({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},a.scrollLocker=new x({container:k(e.getContainer)}),a}return Object(a.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=Object(s.a)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;j&&k(n)===document.body&&(w=t&&w?w-1:w),this.removeCurrentContainer(),s.a.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,a=null,o={getOpenCount:function(){return w},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(a=u.createElement(l.a,{getContainer:this.getContainer,ref:this.componentRef},t(o))),a}}]),n}(u.Component);t.a=E},"1WJl": +/*!********************************************************************************!*\ + !*** ./node_modules/@umijs/plugin-model/node_modules/fast-deep-equal/index.js ***! + \********************************************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,a,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(a=r;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=r;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,o[a]))return!1;for(a=r;0!=a--;){var i=o[a];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},"1aI8": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/internal-state.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,a,o,i=n(/*! ../internals/native-weak-map */"ZkJ9"),c=n(/*! ../internals/global */"ukPv"),u=n(/*! ../internals/is-object */"tSXo"),s=n(/*! ../internals/create-non-enumerable-property */"lz10"),l=n(/*! ../internals/has */"jtLI"),p=n(/*! ../internals/shared-key */"CjUg"),f=n(/*! ../internals/hidden-keys */"6ixQ"),d=c.WeakMap;if(i){var h=new d,m=h.get,b=h.has,y=h.set;r=function(e,t){return y.call(h,e,t),t},a=function(e){return m.call(h,e)||{}},o=function(e){return b.call(h,e)}}else{var v=p("state");f[v]=!0,r=function(e,t){return s(e,v,t),t},a=function(e){return l(e,v)?e[v]:{}},o=function(e){return l(e,v)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"1cmj": +/*!***********************************************************!*\ + !*** ./src/models/shixuns/practiceSetting.ts + 1 modules ***! + \***********************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/UserAgents.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/new.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/required_status.json"),{method:"Get",params:{}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{setParams:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)})),getTestData:o.a.mark((function e(t,n){var r,a,i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(u,r);case 4:return c=e.sent,e.next=7,i({type:"save",payload:{data:c}});case 7:case"end":return e.stop()}}),e)})),setUpdateIndex:o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,n.call,r=n.put,e.next=4,r({type:"save",payload:{updateIndex:Math.random()}});case 4:case"end":return e.stop()}}),e)})),getCommonData:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:Object(r.a)({},u.data)});case 7:case"end":return e.stop()}}),e)})),setSideBarTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"sideBar",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)},sideBar:function(e,t){return Object(r.a)(Object(r.a)({},e),{},{sideBar:Object(r.a)(Object(r.a)({},e.sideBar),t.payload)})}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=f},"1jPx": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.from.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/typed-array-constructors-require-wrappers */"8OQV");(0,n(/*! ../internals/array-buffer-view-core */"FVwB").exportTypedArrayStaticMethod)("from",n(/*! ../internals/typed-array-from */"Sn4z"),r)},"1nhP": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/to-positive-integer.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-integer */"m0kY");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},"1vsH": +/*!****************************************!*\ + !*** ./src/utils/util.tsx + 1 modules ***! + \****************************************/ +/*! exports provided: ZimuSort, JudgeSort, RomanNumber, StatusTags, formatHomeWorkStatusToName, HomeWorkListStatus, HomeWorkDetailStatus, StatusGraduationProjectTags, ExerciseStatus, PollsStatus, StatusClassroomsTags, exerciseTips, WorkStatus, CommonWorkStatus, timego, timeformat, toTimeFormat, validateLength, handleValidatorNickName, handleValidatorName, getHiddenName, getBase64, setmiyah, getCookie, setCookie, delCookie, downLoadLink, getBlob, saveAs, download, downLoadFileIframe, downLoadFile, setUrlQuery, isPc, isChrome, isChromeOrFirefox, formatMoney, openNewWindow, openNewWindows, formatTextMiddleIntercept, HalfPastOne, DayHalfPastOne, isEmpty, rangeNumber, middleEllipsis, formatRate, isUnOrNull, getUrlToken, getMessagesUrl, checkLocalOrPublicIp, isKepuKehuan, startExercise, educationList, parseUrl, messageInfo, base64ToBlob, downloadFile, trackEvent, trackEventCustom, onPreviewImage, getCategoryName, bindPhone, copyTextFuc, getJsonFromUrl, arrTrans, setDocumentTitle, checkIsClientExam, localSort, ImgSrcConvert, compareVersion, isLocalApp, randomArray */ +/*! exports used: CommonWorkStatus, DayHalfPastOne, ExerciseStatus, HalfPastOne, HomeWorkDetailStatus, HomeWorkListStatus, ImgSrcConvert, JudgeSort, PollsStatus, RomanNumber, StatusClassroomsTags, StatusGraduationProjectTags, ZimuSort, arrTrans, bindPhone, checkIsClientExam, checkLocalOrPublicIp, compareVersion, copyTextFuc, downLoadFile, downLoadFileIframe, downLoadLink, download, downloadFile, educationList, exerciseTips, formatHomeWorkStatusToName, formatRate, getBase64, getCategoryName, getCookie, getHiddenName, getJsonFromUrl, getMessagesUrl, handleValidatorName, handleValidatorNickName, isKepuKehuan, isLocalApp, isPc, isUnOrNull, localSort, onPreviewImage, openNewWindow, parseUrl, randomArray, rangeNumber, setCookie, setDocumentTitle, setUrlQuery, setmiyah, startExercise, toTimeFormat, trackEvent, validateLength */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/pages/tasks/index.jsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Exercise/ip.tsx because of ./src/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/components/mediator.js because of ./src/pages/Editor/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/service/exercise.ts because of ./src/.umi-production/plugin-dva/connect.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts because of ./src/pages/virtualSpaces/Lists/Syllabuses/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts because of ./src/pages/Account/Binding/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fullscreen.ts because of ./src/pages/Demo/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/checkbox/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/checkbox/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/md5/md5.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"m",(function(){return k})),n.d(t,"h",(function(){return E})),n.d(t,"j",(function(){return S})),n.d(t,"A",(function(){return P})),n.d(t,"f",(function(){return C})),n.d(t,"e",(function(){return T})),n.d(t,"l",(function(){return A})),n.d(t,"c",(function(){return I})),n.d(t,"i",(function(){return M})),n.d(t,"k",(function(){return L})),n.d(t,"z",(function(){return D})),n.d(t,"a",(function(){return R})),n.d(t,"Z",(function(){return N})),n.d(t,"bb",(function(){return F})),n.d(t,"J",(function(){return U})),n.d(t,"I",(function(){return z})),n.d(t,"F",(function(){return V})),n.d(t,"C",(function(){return q})),n.d(t,"X",(function(){return B})),n.d(t,"E",(function(){return W})),n.d(t,"U",(function(){return H})),n.d(t,"v",(function(){return G})),n.d(t,"w",(function(){return Y})),n.d(t,"u",(function(){return K})),n.d(t,"t",(function(){return Q})),n.d(t,"W",(function(){return J})),n.d(t,"M",(function(){return X})),n.d(t,"Q",(function(){return te})),n.d(t,"d",(function(){return ne})),n.d(t,"b",(function(){return re})),n.d(t,"T",(function(){return ae})),n.d(t,"B",(function(){return oe})),n.d(t,"N",(function(){return ie})),n.d(t,"H",(function(){return ce})),n.d(t,"q",(function(){return ue})),n.d(t,"K",(function(){return se})),n.d(t,"Y",(function(){return le})),n.d(t,"y",(function(){return pe})),n.d(t,"R",(function(){return fe})),n.d(t,"x",(function(){return de})),n.d(t,"ab",(function(){return he})),n.d(t,"P",(function(){return me})),n.d(t,"D",(function(){return be})),n.d(t,"o",(function(){return ye})),n.d(t,"s",(function(){return ve})),n.d(t,"G",(function(){return ge})),n.d(t,"n",(function(){return _e})),n.d(t,"V",(function(){return xe})),n.d(t,"p",(function(){return we})),n.d(t,"O",(function(){return je})),n.d(t,"g",(function(){return Oe})),n.d(t,"r",(function(){return ke})),n.d(t,"L",(function(){return Se})),n.d(t,"S",(function(){return Pe}));var r=n("oBTY"),a=(n("miYZ"),n("tsqr")),o=(n("sRBo"),n("kaz8")),i=(n("14J3"),n("BMrR")),c=(n("jCWc"),n("kPKH")),u=(n("2qtc"),n("kLXV")),s=n("9og8"),l=n("k1fw"),p=n("jrin"),f=n("WmNS"),d=n.n(f),h=n("q1tI"),m=n.n(h),b=n("xKgJ"),y=n("s8TD"),v=n("V0Rq"),g=n("bntm"),_={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"},x=n("aCH8"),w=n.n(x),j=n("m3rI"),O=n("dhSg"),k=["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"],E=["正确","错误"],S=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],P=function(e){var t;return(t={},Object(p.a)(t,-1,"重做中"),Object(p.a)(t,0,"未开启"),Object(p.a)(t,1,"未通关"),Object(p.a)(t,2,"按时通关"),t)[e]||"迟交通关"},C=function(e){var t,n,r,a=(t={},Object(p.a)(t,-1,{name:"重做中",class:"c-orange"}),Object(p.a)(t,0,{name:"未开启",class:"c-black"}),Object(p.a)(t,1,{name:"未通关",class:"c-red"}),Object(p.a)(t,2,{name:"按时通关",class:"c-green"}),Object(p.a)(t,3,{name:"迟交通关",class:"c-orange"}),t);return m.a.createElement("span",{className:null==a||null===(n=a[e.status])||void 0===n?void 0:n.class},null==a||null===(r=a[e.status])||void 0===r?void 0:r.name)},T=function(e){var t,n,r,a=(t={},Object(p.a)(t,-1,{name:"重做中",class:"c-orange",color:"#999999"}),Object(p.a)(t,0,{name:"未开启",class:"c-black",color:"#999999"}),Object(p.a)(t,1,{name:"未通关",class:"c-red",color:"#d4443d"}),Object(p.a)(t,2,{name:"按时通关",class:"c-green",color:"#57be40"}),Object(p.a)(t,3,{name:"迟交通关",class:"c-orange",color:"#f09143"}),t);return m.a.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:null==a||null===(n=a[e.status])||void 0===n?void 0:n.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},null==a||null===(r=a[e.status])||void 0===r?void 0:r.name)},A=function(e){var t=e.status,n={0:{class:"tag-style bg-blue ml10",name:"待选中"},1:{class:"tag-style bg-blue ml10",name:"待确认"},2:{class:"tag-style bg-pink ml10",name:"已确认"}};try{return m.a.createElement("span",{className:n[t].class},n[t].name)}catch(t){console.log("utils.StatusGraduationProjectTags",e.status)}},I={1:"未发布",2:"考试中",3:"已截止",4:"已结束",99:"模拟考试中"},M={1:"未发布",2:"提交中",3:"已截止",4:"已结束"},L=function(e){var t={"模拟考试中":{class:"tag-style bg-light-pink ml10"},"已开启防作弊":{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},"公开":{class:"tag-style bg-blue ml10"},"已开启补交":{class:"tag-style bg-green ml10"},"未开启补交":{class:"tag-style bg-pink ml10soft"},"未发布":{class:"tag-style bgB8B8B8 ml10soft"},"未开始":{class:"tag-style bg-c5d6ff ml10soft"},"匿名作品":{class:"tag-style bg-cyan ml10"},"已选择":{class:"tag-style bg-grey-ede ml10"},"已结束":{class:"tag-style bg-grey-ede ml10soft"},"提交中":{class:"tag-style bg-blue ml10soft"},"进行中":{class:"tag-style bg-blue ml10soft"},"匿评中":{class:"tag-style bg-blue ml10"},"申诉中":{class:"tag-style bg-blue ml10"},"考试中":{class:"tag-style bg-light-blue ml10"},"补交中":{class:"tag-style bg-blue ml10soft"},"评阅中":{class:"tag-style bg-blue ml10"},"待选中":{class:"tag-style bg-blue ml10"},"交叉评阅中":{class:"tag-style bg-light-orange ml10"},"已开启交叉评阅":{class:"tag-style bg-lightblue-purple ml10"},"待确认":{class:"tag-style bg-lightblue-purple ml10"},"待处理":{class:"tag-style bg-lightblue-purple ml10"},"私有":{class:"tag-style bg-lightblue-purple ml10"},"未提交":{class:"tag-style bg-lightblue-purple ml10"},"已确认":{class:"tag-style bg-light-pink ml10"},"已发布":{class:"tag-style bg-light-blue ml10"},"已截止":{class:"tag-style bg-light-pink ml10soft"},"开发课程":{class:"tag-style bg-orange ml10"},"已开播":{class:"tag-style-border border-green c-green ml10"},"未开播":{class:"tag-style-border border-light-black ml10"},"按时通关":{class:"tag-style-border border-light-black ml10"},"迟交通关":{class:"tag-style-border border-light-black ml10"},"未通关":{class:"tag-style-border border-light-black ml10"},"未开启":{class:"tag-style-border border-light-black ml10"}};e.temporary&&(t=Object(l.a)(Object(l.a)({},t),{"未发布":{class:"tag-style bg-C6CED6 ml10soft"},"未开始":{class:"tag-style bg-C1E2FF ml10soft"},"进行中":{class:"tag-style bg-0152d9 ml10soft"},"已截止":{class:"tag-style bg-E53333 ml10soft"},"提交中":{class:"tag-style bg-0152d9 ml10soft"},"补交中":{class:"tag-style bg-44D7B6 ml10soft"}}));var n=[];e.is_random&&n.push(m.a.createElement("span",{className:"tag-style bg-blue ml10"},"随机"));try{e.status&&e.status.map((function(r,a){n.push(m.a.createElement("span",{style:(null==e?void 0:e.style)||[],key:a,className:t[r]&&t[r].class},r))}))}catch(t){console.log("utils.status.tag:",t,e.status)}return n},D=function(e){return 1===e?m.a.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"未开始"):2===e?m.a.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"考试中"):3===e?m.a.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"已结束"):void 0},R=function(e){var t,n,r={0:{name:"未提交",class:"c-black"},1:{name:"按时提交",class:"c-green"},2:{name:"延时提交",class:"c-red"}};return m.a.createElement("span",{className:null===(t=r[e.status])||void 0===t?void 0:t.class},null===(n=r[e.status])||void 0===n?void 0:n.name)},N=function(e){if(!e||e<0)return"0秒";console.log("time:",e);var t=e/86400,n=e/3600,r=e/60;return t>=1?parseInt(t.toString())+"天"+Math.floor(n%24)+"时"+Math.floor(r%60)+"分"+Math.floor(e%60)+"秒":n>1?parseInt(n.toString())+"时"+Math.floor(r%60)+"分"+Math.floor(e%60)+"秒":r>=1?parseInt(r.toString())+"分"+Math.floor(e%60)+"秒":Math.ceil(e)+"秒"},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=0;if(e){n=e.length;for(var r=0;r=55296&&a<=56319&&(n--,r++)}}return n<=t},U=function(e,t,n){if(t){var r=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(t),a=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im.test(t);(!0===r||!0===a||t.length<2||t.length>=21)&&n("2-20位中英文、数字及下划线")}n()},z=function(e,t,n){if(t){var r=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(t),a=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im.test(t);(!0===r||!0===a||t.length<2||t.length>=11)&&n("2-10位中英文、数字")}n()},V=function(e){if(!e)return"";for(var t=e.length-1,n="",r=0;r0){n=!1;break}return n}function Z(){var e=navigator.userAgent;return["Chrome"].some((function(t){return e.indexOf(t)>-1}))}function $(){var e=navigator.userAgent;return["Chrome","Firefox"].some((function(t){return e.indexOf(t)>-1}))}var ee,te=function(e){var t=document.createElement("a");t.target="_blank",document.body.appendChild(t),t.href=e;var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),t.dispatchEvent(n),document.body.removeChild(t)},ne=function(){var e=(new Date).getHours(),t=(new Date).getMinutes();return t>=30?(e++,t="00"):t="30",e+":"+t},re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"-",t=(new Date).getHours(),n=(new Date).getMinutes();return n>=30?(t++,n="00"):n="30",(new Date).toLocaleDateString().replace(/\//g,e)+" "+t+":"+n};!function(e){e.Number="Number",e.String="String",e.Boolean="Boolean",e.Object="Object",e.Array="Array",e.Function="Function"}(ee||(ee={}));var ae=function(e,t){for(var n=[],r=e;r4.5?5:e>4&&e<=4.5?4.5:e>3.5&&e<=4?4:e>3&&e<=3.5?3.5:e>2.5&&e<=3?3:e>2&&e<=2.5?2.5:e>1.5&&e<=2?2:e>1&&e<=1.5?1.5:e>.5&&e<=1?1:e>0&&e<=.5?.5:0},ie=function(e){return null==e};var ce=function(e){if(e.link_url)return window.open(e.link_url);switch(e.container_type){case"ApplyUserAuthentication":if("Apply"===e.tiding_type){if(1===e.auth_type)return window.open("/admins/identity_authentications");if(2===e.auth_type)return window.open("/admins/professional_authentications")}return"System"===e.tiding_type?window.open("/account/certification"):void 0;case"CancelUserAuthentication":case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddDepartment":return"Apply"===e.tiding_type?window.open("/admins/department_applies"):"System"===e.tiding_type?window.open("/account/profile"):void 0;case"ApplyAddSchools":return"Apply"===e.tiding_type?window.open("/admins/unit_applies"):"System"===e.tiding_type?window.open("/account/profile"):void 0;case"ApplyAction":switch(e.parent_container_type){case"ApplyShixun":if("Apply"===e.tiding_type)return window.open("/admins/shixun_authorizations");if("System"===e.tiding_type)return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"ApplySubject":if("Apply"===e.tiding_type)return window.open("/admins/subject_authorizations");if("System"===e.tiding_type)return window.open("/paths/".concat(e.parent_container_id));case"TrialAuthorization":if("Apply"===e.tiding_type)return window.open("/managements/trial_authorization");if("System"===e.tiding_type)return window.open("/account/profile")}return;case"JoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));case"StudentJoinCourse":if("Apply"===e.tiding_type)return window.open("/classrooms/".concat(e.belong_container_id,"/teachers"));if("System"===e.tiding_type)return window.open("/classrooms/".concat(e.belong_container_id,"/students"));case"DealCourse":case"TeacherJoinCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"Course":if("Delete"===e.tiding_type)return;return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"ArchiveCourse":return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/"));case"Shixun":return window.open("/shixuns/".concat(e.identifier,"/challenges"));case"Subject":return window.open("/paths/".concat(e.container_id));case"JournalsForMessage":switch(e.parent_container_type){case"Principal":return"";case"HomeworkCommon":return"normal"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/question")):"group"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/question")):"practice"===e.homework_type?window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=1")):"";case"GraduationTopic":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":return window.open(e.link_url)}case"Memo":return window.open("/forums/".concat(e.parent_container_id));case"Message":return window.open("/forums/");case"Watcher":return window.open("/users/".concat(e.trigger_user.login,"/classrooms"));case"PraiseTread":case"Grade":return"";case"JoinProject":case"ReporterJoinProject":case"DealProject":case"ManagerJoinProject":return window.open(j.a.FORGE+e.project_url);case"Poll":switch(e.parent_container_type){case"CommitPoll":default:return window.open("\t/classrooms/".concat(e.belong_container_id,"/poll/").concat(e.container_id,"/detail"))}case"Exercise":switch(e.parent_container_type){case"CommitExercise":case"ExerciseScore":return window.open("\t/classrooms/".concat(e.belong_container_id,"/exercise/").concat(e.container_id,"/detail?tab=0"));default:return window.open("/classrooms/".concat(e.belong_container_id,"/exercise/").concat(e.container_id,"/detail?tab=0"))}case"StudentGraduationTopic":case"DealStudentTopicSelect":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_topics/").concat(e.parent_container_id,"/detail"));case"GraduationTask":case"GraduationWork":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.container_id));case"GraduationWorkScore":return window.open("/classrooms/".concat(e.belong_container_id,"/graduation_tasks/").concat(e.parent_container_id));case"HomeworkCommon":switch(e.parent_container_type){case"AnonymousCommentFail":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"HomeworkPublish":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));case"AnonymousAppeal":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"));default:if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/detail"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/detail"));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail?tabs=0"))}case"StudentWork":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/review/").concat(e.container_id));if("practice"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/shixun_homework/").concat(e.parent_container_id,"/detail"));case"StudentWorksScore":case"StudentWorksScoresAppeal":return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.trigger_user.id,"/review/").concat(e.parent_container_id));case"ChallengeWorkScore":return"";case"SendMessage":return window.open("".concat(j.a.API_SERVER,"/admins/mirror_repositories"));case"Journal":return window.open("/issues/".concat(e.parent_container_id));case"Issue":return window.open("/issues/".concat(e.container_id));case"PullRequest":return window.open(j.a.FORGE+e.project_url);case"Department":return window.open("/account/profile");case"Library":if("Apply"===e.tiding_type)return window.open("/admins/library_applies");if("System"===e.tiding_type)return window.open("/moop_cases/".concat(e.container_id));case"ProjectPackage":if("Destroyed"===e.tiding_type)return;return"Destroyed_end"===e.tiding_type?void 0:"Apply"===e.tiding_type?window.open("/admins/project_package_applies"):window.open("/crowdsourcing/".concat(e.container_id));case"Discuss":return"Hack"===e.parent_container_type&&e.extra?window.open("/myproblems/".concat(e.extra,"/comment")):"ai_reply"===e.extra&&e.task_identifier?window.open("/tasks/".concat(e.task_identifier,"?extra=extra")):window.open("/shixuns/".concat(e.identifier,"/shixun_discuss"));case"Video":return"Apply"===e.tiding_type?window.open("/admins/video_applies"):"System"===e.tiding_type?window.open("/users/".concat(null===(t=Object(b.x)())||void 0===t?void 0:t.login,"/videos")):"";var t;case"PublicCourseStart":return window.open("/classrooms/".concat(e.container_id,"/informs"));case"SubjectStartCourse":return window.open("/paths/".concat(e.container_id));case"ResubmitStudentWork":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id,"/").concat(e.container_id,"/appraise"));case"AdjustScore":if("normal"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/common_homework/").concat(e.parent_container_id));if("group"===e.homework_type)return window.open("/classrooms/".concat(e.belong_container_id,"/group_homework/").concat(e.parent_container_id));case"LiveLink":return window.open("/classrooms/".concat(e.belong_container_id,"/course_videos?open=live"));case"Hack":if(e.extra&&"HackDelete"!==e.parent_container_type)return window.open("/problems/".concat(e.extra,"/edit"));default:return}},ue=function(e){var t,n;return new Promise(function(){var r=Object(s.a)(d.a.mark((function r(a,o){var s;return d.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("no"===e.ip_limit&&!e.ip_bind){r.next=4;break}return r.next=3,Object(y.a)({ip_limit:null==e?void 0:e.ip_limit,ip_bind:null==e?void 0:e.ip_bind});case 3:t=r.sent;case 4:return r.next=6,Object(v.f)({id:e.exerciseId,ip:t});case 6:if(0===(s=r.sent).status?a(s):o(s),!e.errmsgHide){r.next=10;break}return r.abrupt("return",!0);case 10:if(-1!==s.status){r.next=15;break}return n=u.a.info({title:m.a.createElement(i.a,null,m.a.createElement(c.a,{flex:"1"},"提示"),m.a.createElement(c.a,null,m.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return n.destroy()}}))),icon:null,className:"custom-modal-divider",content:m.a.createElement("div",{className:"font16 p20"},"您的IP不在考试允许的范围内!"),okText:"我知道了"}),r.abrupt("return",!1);case 15:if(-2!==s.status){r.next=18;break}return n=u.a.info({title:m.a.createElement(i.a,null,m.a.createElement(c.a,{flex:"1"},"提示"),m.a.createElement(c.a,null,m.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return n.destroy()}}))),icon:null,className:"custom-modal-divider",content:m.a.createElement("div",{className:"font16 p20"},"您已绑定当前考试IP地址:",m.a.createElement("span",{className:"c-red"},s.ip),"请使用该IP地址进入考试。"),okText:"我知道了"}),r.abrupt("return",!1);case 18:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}())},se=function(){return location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1},le=function(){var e=Object(s.a)(d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)||X()){e.next=3;break}return u.a.info({content:"请使用电脑参加考试!"}),e.abrupt("return");case 3:if("no"===t.ip_limit&&!t.ip_bind){e.next=9;break}return e.next=6,ue(t);case 6:if(Z()){e.next=9;break}return u.a.info({icon:null,okText:"确定",width:500,content:m.a.createElement("div",{className:"font16"},"本次考试已开启防作弊设置,仅支持",m.a.createElement("span",{className:"c-red"},"谷歌"),"。",m.a.createElement("br",null),"请使用",m.a.createElement("span",{className:"c-red"},"谷歌"),"浏览器开始考试。")}),e.abrupt("return");case 9:if(!(t.open_camera||t.screen_open||"no"!==t.ip_limit||t.ip_bind||t.identity_verify)){e.next=17;break}if($()){e.next=14;break}return u.a.info({icon:null,okText:"确定",width:500,content:m.a.createElement("div",{className:"font16"},"本次考试已开启防作弊设置,仅支持",m.a.createElement("span",{className:"c-red"},"谷歌"),"、",m.a.createElement("span",{className:"c-red"},"火狐"),"浏览器。",m.a.createElement("br",null),"请使用",m.a.createElement("span",{className:"c-red"},"谷歌"),"、",m.a.createElement("span",{className:"c-red"},"火狐"),"浏览器开始考试。")}),e.abrupt("return",!1);case 14:n=u.a.info({title:m.a.createElement(i.a,null,m.a.createElement(c.a,{flex:"1"},"考试说明"),m.a.createElement(c.a,null,m.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return n.destroy()}}))),width:700,icon:null,className:"custom-modal-divider",content:m.a.createElement("div",{className:"font16 p20"},t.identity_verify&&m.a.createElement(i.a,{align:"middle",justify:"start",className:"mt20"},m.a.createElement(c.a,{flex:"45px"},m.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),m.a.createElement(c.a,{flex:"1"},"进入考试前,请允许摄像头授权,授权后需采集照片认证,认证通过并开启手机录制才可以进入考试。",!we()&&m.a.createElement("a",{target:"_blank",href:"/forums/4459"},"无法调用摄像头?"))),t.open_camera&&m.a.createElement(i.a,{align:"middle",justify:"start",className:"mt20"},m.a.createElement(c.a,null,m.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),m.a.createElement(c.a,null,"进入考试后,请允许摄像头授权,授权后打开摄像头方可作答!",!we()&&m.a.createElement("a",{target:"_blank",href:"/forums/4459"},"无法调用摄像头?"))),t.screen_open&&m.a.createElement(i.a,{justify:"start",className:"mt20"},m.a.createElement(c.a,{flex:"24px",className:"mr20"},m.a.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),m.a.createElement(c.a,{flex:"1"},"当前考试已开启防切屏,切屏超过",t.screen_num,"次将强制交卷。(退出全屏将判定为切屏一次,考试过程中请勿退出全屏)",!we()&&m.a.createElement("a",{target:"_blank",href:"/forums/4460"},"浏览器无法自动全屏?"))),(""!==t.inner_ip||""!==t.public_ip)&&"no"!==t.ip_limit&&m.a.createElement(i.a,{justify:"start",className:"mt20"},m.a.createElement(c.a,{flex:"24px",className:"mr20"},m.a.createElement("span",{className:"iconfont icon-IP c-blue font24"})),m.a.createElement(c.a,{flex:"1"},"当前考试已开启IP范围限定。IP地址不在范围内不可参加考试。",m.a.createElement("br",null),!we()&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"c-red"},"(只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak Prevent插件)"),m.a.createElement("br",null),m.a.createElement("a",{href:"/forums/4478",target:"_blank"},"如何安装WebRTC Leak Prevent插件?")))),t.ip_bind&&m.a.createElement(i.a,{justify:"start",className:"mt20"},m.a.createElement(c.a,{flex:"24px",className:"mr20"},m.a.createElement("span",{className:"iconfont icon-IPbangding c-blue font24"})),m.a.createElement(c.a,{flex:"1"},"当前考试已启用考试期间IP绑定。当您开始考试后,将自动绑定IP,考试期间只允许使用唯一的IP进入考试。如遇特殊情况,可向老师申请解除IP绑定。",m.a.createElement("br",null),!we()&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"c-red"},"(只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak Prevent插件)"),m.a.createElement("br",null),m.a.createElement("a",{href:"/forums/4478",target:"_blank"},"如何安装WebRTC Leak Prevent插件?")))),m.a.createElement("p",{className:"ml40 mt40"},m.a.createElement(o.a,{onChange:function(e){return n.update({okButtonProps:{disabled:!e.target.checked}})}},"我已阅读"))),onOk:function(){var e;if(Object(g.d)(document.body),t.open_phone_video_recording)t.history.push("/classrooms/".concat(t.coursesId,"/exercise/").concat(t.exerciseId,"/users/").concat(null===(e=Object(b.x)())||void 0===e?void 0:e.login,"/check"));else if(t.identity_verify&&2===t.current_status){var n;t.history.push("/classrooms/".concat(t.coursesId,"/exercise/").concat(t.exerciseId,"/users/").concat(null===(n=Object(b.x)())||void 0===n?void 0:n.login,"/check"))}else{var r;t.history.push("/classrooms/".concat(t.coursesId,"/exercise/").concat(t.exerciseId,"/users/").concat(null===(r=Object(b.x)())||void 0===r?void 0:r.login))}},okText:"进入考试",okButtonProps:{disabled:!0}}),e.next=18;break;case 17:t.identity_verify&&2===t.current_status?t.history.push("/classrooms/".concat(t.coursesId,"/exercise/").concat(t.exerciseId,"/users/").concat(t.login,"/check")):t.history.push("/classrooms/".concat(t.coursesId,"/exercise/").concat(t.exerciseId,"/users/").concat(t.login));case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pe=[{name:"博士研究生",id:8},{name:"硕士研究生",id:7},{name:"本科",id:6},{name:"大专",id:5},{name:"中专",id:4},{name:"高中",id:3},{name:"初中",id:2},{name:"小学",id:1},{name:"其他",id:9}],fe=function(e){var t={};return e.replace(/(\w+)=([^\#&]*)/gi,(function(e,n,r){t[n]=decodeURI(r)})),t},de=function(e,t,n){var r=function(e,t){for(var n,r,a=window.atob(e),o=a.length,i=new Uint8Array(o),c=0;c0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("Copy"),t||a.b.success("复制成功"),document.body.removeChild(n)},ge=function(e){e||(e=window.location.search);var t=e.substr(1),n={};return t.split("&").forEach((function(e){var t=e.split("=");n[t[0]]=decodeURIComponent(t[1])})),n},_e=function(e,t){if(!t)return null;var n=[];return t.forEach((function(t,r){var a=Math.floor(r/e);n[a]||(n[a]=[]),n[a].push(t)})),n},xe=function(e){we()?document.title="考试系统":document.title=e||"实践教学平台"},we=function(){var e,t;return null===(e=window)||void 0===e||null===(t=e.localStorage)||void 0===t?void 0:t.isClientExam},je={setItem:function(e,t,n){var r=e,a=localStorage.getItem(r),o=null!==a&&"[object Object]"!==a?JSON.parse(a):{};o[n]=t,localStorage.setItem(r,JSON.stringify(o))},getItem:function(e,t){var n=e,r=localStorage.getItem(n);return(null!==r&&"[object Object]"!==r?JSON.parse(r):{})[t]}},Oe=function(e){return null!=e&&e.startsWith("http")?e:j.a.IMG_SERVER+e},ke=function(e){for(var t=Ee(),n=e.split("."),r=t.split("."),a=Math.max(n.length,r.length);n.lengthc)return 1;if(i-1};function Pe(e,t){var n,r,a=e.length;t=t||1;for(var o;0!==a;)r=Math.floor((o=void 0,((o=1e3*Math.sin(t++))-Math.floor(o))*a)),n=e[a-=1],e[a]=e[r],e[r]=n;return e}},"1vuE": +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.unscopables.flat.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/add-to-unscopables */"eNh0")("flat")},2: +/*!********************************!*\ + !*** ./util.inspect (ignored) ***! + \********************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){},"22qN": +/*!*********************************!*\ + !*** ./src/styles/markdown.css ***! + \*********************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"25BE": +/*!********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! + \********************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,"a",(function(){return r}))},"284h": +/*!***********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/interopRequireWildcard.js ***! + \***********************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./typeof.js */"cDf5").default;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var u=i?Object.getOwnPropertyDescriptor(e,c):null;u&&(u.get||u.set)?Object.defineProperty(o,c,u):o[c]=e[c]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},"29mP": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/get-built-in.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/path */"nFn1"),a=n(/*! ../internals/global */"ukPv"),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},"2FZw": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-pad.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-length */"oa35"),a=n(/*! ../internals/string-repeat */"+rjg"),o=n(/*! ../internals/require-object-coercible */"FCfD"),i=Math.ceil,c=function(e){return function(t,n,c){var u,s,l=String(o(t)),p=l.length,f=void 0===c?" ":String(c),d=r(n);return d<=p||""==f?l:(u=d-p,(s=a.call(f,i(u/f.length))).length>u&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},"2GS6": +/*!**********************************************************!*\ + !*** ./node_modules/rc-util/es/createChainedFunction.js ***! + \**********************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t1?arguments[1]:void 0,3),a=new(s(t,o("Map"))),f=c(a.set);return p(n,(function(e,n){f.call(a,e,r(n,e,t))}),void 0,!0,!0),a}})},"2j6C": +/*!***************************************************!*\ + !*** ./node_modules/minimalistic-assert/index.js ***! + \***************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},"2kyd": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/well-known-symbol.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/shared */"xxaU"),o=n(/*! ../internals/has */"jtLI"),i=n(/*! ../internals/uid */"evbn"),c=n(/*! ../internals/native-symbol */"Fs9M"),u=n(/*! ../internals/use-symbol-as-uid */"wgKq"),s=a("wks"),l=r.Symbol,p=u?l:l&&l.withoutSetter||i;e.exports=function(e){return o(s,e)||(c&&o(l,e)?s[e]=l[e]:s[e]=p("Symbol."+e)),s[e]}},"2mql": +/*!**********************************************************************************!*\ + !*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***! + \**********************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! react-is */"TOwV"),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function u(e){return r.isMemo(e)?i:c[e.$$typeof]||a}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=i;var s=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=d(n);a&&a!==h&&e(t,a,r)}var i=l(n);p&&(i=i.concat(p(n)));for(var c=u(t),m=u(n),b=0;b=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r=-1&&!a;o--){var i=o>=0?arguments[o]:e.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,a="/"===i.charAt(0))}return(a?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!a).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),i="/"===a(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!o).join("/"))||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),o=r(n.split("/")),i=Math.min(a.length,o.length),c=i,u=0;u=1;--o)if(47===(t=e.charCodeAt(o))){if(!a){r=o;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,o=0,i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47!==c)-1===r&&(a=!1,r=i+1),46===c?-1===t?t=i:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=i+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(/*! ./../node-libs-browser/mock/process.js */"Q2Ig"))},"3Mug": +/*!***************************************************!*\ + !*** ./node_modules/rc-util/lib/Dom/canUseDom.js ***! + \***************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},"3UWB": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.isubh.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{isubh:function(e,t,n,r){var a=e>>>0,o=n>>>0;return(t>>>0)-(r>>>0)-((~a&o|~(a^o)&a-o>>>0)>>>31)|0}})},"3Us1": +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.float32-array.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/typed-array-constructor */"Mi8B")("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"3blH": +/*!******************************************************!*\ + !*** ./src/models/competitions/index.ts + 1 modules ***! + \******************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/service/competitions.ts because of ./src/pages/Three/Item/UpdateItem.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i={isChinese:!1,key:1,"首页":"Home","社区":"Community","OpenI社区章程":"Openl's bylaws","启智开源许可证":"Open-source license","组织结构":"Organization structure","欢迎加入OpenI":"Welcome to Openl","社区动态":"Dynamic","论坛交流":"Communication","项目":"PROJECT","学习":"ACTIVITY","云脑开源实训":"Open source training","开源创新大赛":"Innovation Competition","社区活动":"STUDY","AI协作平台":"AI COLLABORATION","全部":"All","即将发布":"Upcoming","进行中":"Ongoing","往期比赛":"Past","数据统计":"Statistics","请输入竞赛名称":"Enter the competition name","暂无数据":"NO DATA","竞赛时间":"Time","报名截止时间":"Deadline","浏览数":"View","已报名名词":"Participation","已报名":"Registered","立即报名":"Register Now","进行中图标":"Ongoing","选择参赛方式":"Entry mode","加入战队参赛":"Join the team","去创建战队参赛":"Create a team","在线竞赛":"HOME","奖金":"Bonus","浏览":"View","报名":"Participation","暂无":"~","竞赛时间:":"Time:","报名截止:":"Deadline:","竞赛状态:":"State:","赛题入口":"competition subject","我的战队":"My team","编辑":"Edit","上传附件":"Upload attachment","(单个文件150M以内)":"(The size of a single file is less than 150M)","提交":"Confirm","取消":"Cancel","报名链接":"My team","加入战队":"Join the team","创建战队":"Create a team","作品指导张老师微信":"Advisor Zhang's wechat","战队总数":"Number of team","参赛总人数":"number of participants","个":"","请输入战队名称搜索":"Please enter the team name","管理的战队":"Management team","全部战队":"All the team","创建时间":"Creation time","邀请码":"Invitation code","战队成员":"Team members","设置":"Setting","查看":"Check","删除战队":"Delete","确定":"Confirm","确认":"Confirm","删除":"Delete","请输入邀请码":"Please enter the invitation code","队名":"Team name","请输入队名":"Please enter the team name","欢迎报名参加本项赛事!全面支持各类竞赛的在线运行管理,":"Welcome to register for this event! Fully support the online operation and management of all kinds of competitions,","大数据、人工智能、各类芯片架构等竞赛任务均可在线运行、部署和评测。":"Big data, artificial intelligence, various chip architectures and other competition tasks can be run, deployed and evaluated online.","编辑战队信息":"Editorial team","编辑战队":"Editorial team","上传LOGO":"Uploading LOGO","(支持jpg、gif、png格式的图片,建议文件小于2M)":"(JPG, GIF, and PNG files are supported. The file size must be smaller than 2 MB)","设置战队成员":"Setting up team Members","添加教师":"Add the teacher","请搜索教师姓名/手机号并添加":"Please enter teacher name/cell phone number to search","添加学生/专业人士":"Add students/professionals","请搜索队员姓名/手机号并添加":"Please enter member name/cell phone number to search","建议优先将教师设置为队长":"Prioritize teachers as team leaders","请添加战队成员":"Please add team members","名教师":"teacher","名学生":"student","头像":"Portrait","姓名":"Name","手机":"Phone no","学校/单位":"School/Unit","职业":"Professional","学号":"Student id","角色":"Role","操作":"Operation","即将发布图标":"Upcoming","未发布":"unpublished","已结束":"finished","提交成功":"Submit Successfully","内容不能为空":"The content cannot be empty","邀请码不能为空":"The invitation code cannot be empty","战队邀请码无效":"Invalid invitation code","您已加入该战队":"You have joined the team","加入战队成功":"Join the team successfully","战队名不能为空":"Team name cannot be empty","创建战队成功":"Team creation succeeded","复制成功":"Copy success","删除战队弹框":"Delete the team","是否确认删除战队":"Confirm to delete the team?","删除成功":"Deleted successfully","队长":"Team Leader","创建者":"Founder","教授":"professor","研究员":"researcher","副教授":"Associate professor","副研究员":"Associate Research Fellow","讲师":"lecturer","助理研究员":"Assistant Research Fellow","助理研教授":"Assistant professor","修改成功":"Modify Successfully","队员":"team member","设置为队长,权限:编辑战队、设置战队成员、转移队长、删除战队":"Set to Team leader, permissions: Edit team, set team members, transfer team leader, delete team"},c={isChinese:!0,key:2,"首页":"首页","社区":"社区","OpenI社区章程":"OpenI社区章程","启智开源许可证":"启智开源许可证","组织结构":"组织结构","欢迎加入OpenI":"欢迎加入OpenI","社区动态":"社区动态","论坛交流":"论坛交流","项目":"项目","学习":"学习","云脑开源实训":"云脑开源实训","开源创新大赛":"开源创新大赛","社区活动":"社区活动","AI协作平台":"AI协作平台","全部":"全部","即将发布":"即将发布","进行中":"进行中","往期比赛":"往期比赛","数据统计":"数据统计","请输入竞赛名称":"请输入竞赛名称","暂无数据":"暂无数据","竞赛时间":"竞赛时间","报名截止时间":"报名截止时间","浏览数":"浏览数","已报名名词":"已报名","已报名":"已报名","立即报名":"立即报名","进行中图标":"进行中","选择参赛方式":"选择参赛方式","加入战队参赛":"加入战队参赛","去创建战队参赛":"去创建参赛战队","在线竞赛":"在线竞赛","奖金":"奖金","浏览":"浏览","报名":"报名","暂无":"暂无","竞赛时间:":"竞赛时间:","报名截止:":"报名截止:","竞赛状态:":"竞赛状态:","赛题入口":"赛题入口","我的战队":"我的战队","编辑":"编辑","上传附件":"上传附件","(单个文件150M以内)":"(单个文件150M以内)","提交":"提交","取消":"取消","报名链接":"报名","加入战队":"加入战队","创建战队":"创建战队","作品指导张老师微信":"作品指导张老师微信","战队总数":"战队总数","参赛总人数":"参赛总人数","个":"个","请输入战队名称搜索":"请输入战队名称搜索","管理的战队":"管理的战队","全部战队":"全部战队","创建时间":"创建时间","邀请码":"邀请码","战队成员":"战队成员","设置":"设置","查看":"查看","删除战队":"删除战队","确定":"确定","确认":"确认","删除":"删除","请输入邀请码":"请输入邀请码","队名":"队名","请输入队名":"请输入队名","欢迎报名参加本项赛事!全面支持各类竞赛的在线运行管理,":"欢迎报名参加本项赛事!全面支持各类竞赛的在线运行管理,","大数据、人工智能、各类芯片架构等竞赛任务均可在线运行、部署和评测。":"大数据、人工智能、各类芯片架构等竞赛任务均可在线运行、部署和评测。","编辑战队信息":"编辑战队信息","编辑战队":"编辑战队","上传LOGO":"上传LOGO","(支持jpg、gif、png格式的图片,建议文件小于2M)":"(支持jpg、gif、png格式的图片,建议文件小于2M)","设置战队成员":"设置战队成员","添加教师":"添加教师","请搜索教师姓名/手机号并添加":"请搜索教师姓名/手机号并添加","添加学生/专业人士":"添加学生/专业人士","请搜索队员姓名/手机号并添加":"请搜索队员姓名/手机号并添加","建议优先将教师设置为队长":"建议优先将教师设置为队长","请添加战队成员":"请添加战队成员","名教师":"名教师","名学生":"名学生","头像":"头像","姓名":"姓名","手机":"手机","学校/单位":"学校/单位","职业":"职业","学号":"学号","角色":"角色","操作":"操作","即将发布图标":"即将发布","未发布":"未发布","已结束":"已结束","提交成功":"提交成功","内容不能为空":"内容不能为空","邀请码不能为空":"邀请码不能为空","战队邀请码无效":"战队邀请码无效","您已加入该战队":"您已加入该战队","加入战队成功":"加入战队成功","战队名不能为空":"战队名不能为空","创建战队成功":"创建战队成功","复制成功":"复制成功","删除战队弹框":"删除战队","是否确认删除战队":"是否确认删除战队","删除成功":"删除成功","队长":"队长","创建者":"创建者","教授":"教授","研究员":"研究员","副教授":"副教授","副研究员":"副研究员","讲师":"讲师","助理研究员":"助理研究员","助理教授":"助理教授","修改成功":"修改成功","对员":"队员","设置为队长,权限:编辑战队、设置战队成员、转移队长、删除战队":"设置为队长,权限:编辑战队、设置战队成员、转移队长、删除战队"},u=n("hJwl"),s={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},competitions:[],count:"",qs:"false"===localStorage.getItem("languageText")?i:c},effects:{switchLanguage:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,localStorage.setItem("languageText",r),e.next=5,a({type:"save",payload:{qs:r?c:i}});case 5:case"end":return e.stop()}}),e)})),getList:o.a.mark((function e(t,n){var a,i,c,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,s=a,e.next=5,i(u.v,a);case 5:return l=e.sent,e.next=8,c({type:"save",payload:Object(r.a)({listParams:s},l)});case 8:return e.abrupt("return",l);case 9:case"end":return e.stop()}}),e)})),addApplytojoincourse:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.r,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),competitionTeams:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.s,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getStaff:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.A,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getHeader:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.x,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getItem:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.y,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),updateMdContent:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.H,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getTeamList:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.E,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getTeamDetail:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.D,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),UpTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.q,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),DeleteTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.f,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),ExitTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.h,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),AddTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.b,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),JoinTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.i,r);case 4:return i=e.sent,console.log(i,"response"),e.abrupt("return",i);case 7:case"end":return e.stop()}}),e)})),getTeacher:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.C,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getStudents:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.B,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),SubmitTeam:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.o,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Reward:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.n,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),ChartRules:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.d,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Charts:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.e,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),TabResults:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.p,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Results:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.m,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Prize:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.k,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Accounts:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.a,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getVerification:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.F,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),PhoneBind:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.j,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),EmailBind:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.g,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Authentication:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.c,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),Professional:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.l,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),setleader:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.G,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getShixun:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.z,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})),getCourse:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(u.w,r);case 4:return i=e.sent,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=s},"3dhw": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.regexp.to-string.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/redefine */"NMFW"),a=n(/*! ../internals/an-object */"f1E4"),o=n(/*! ../internals/fails */"MVys"),i=n(/*! ../internals/regexp-flags */"k/J9"),c=RegExp.prototype,u=c.toString,s=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(s||l)&&r(RegExp.prototype,"toString",(function(){var e=a(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?i.call(e):n)}),{unsafe:!0})},"3tO9": +/*!**************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/objectSpread2.js ***! + \**************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./defineProperty.js */"lSNA");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t1?arguments[1]:void 0)}})},"4IlW": +/*!********************************************!*\ + !*** ./node_modules/rc-util/es/KeyCode.js ***! + \********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},"4MGa": +/*!********************************************!*\ + !*** ./src/styles/iconeditor/iconfont.css ***! + \********************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"4Mzw": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.json.to-string-tag.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv");n(/*! ../internals/set-to-string-tag */"kiNa")(r.JSON,"JSON",!0)},"4rKd": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.date.to-primitive.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/create-non-enumerable-property */"lz10"),a=n(/*! ../internals/date-to-primitive */"aKVN"),o=n(/*! ../internals/well-known-symbol */"2kyd")("toPrimitive"),i=Date.prototype;o in i||r(i,o,a)},"58Ye": +/*!******************************!*\ + !*** ./src/styles/base.less ***! + \******************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"5Blz": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.reduce-right.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/array-reduce */"9RRT").right,o=n(/*! ../internals/array-method-is-strict */"R8iy"),i=n(/*! ../internals/array-method-uses-to-length */"kGMc"),c=o("reduceRight"),u=i("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(e){return a(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"5FVT": +/*!*************************************!*\ + !*** ./src/models/forums/detail.ts ***! + \*************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/forums */"h+Ho"),c={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{getForumsDetailData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.p,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{forumsDetailData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),setForumsDetailData:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{forumsDetailData:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},"5JgN": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.url-search-params.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";n(/*! ../modules/es.array.iterator */"FbcW");var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/get-built-in */"29mP"),o=n(/*! ../internals/native-url */"lgSf"),i=n(/*! ../internals/redefine */"NMFW"),c=n(/*! ../internals/redefine-all */"ujhg"),u=n(/*! ../internals/set-to-string-tag */"kiNa"),s=n(/*! ../internals/create-iterator-constructor */"uoF6"),l=n(/*! ../internals/internal-state */"1aI8"),p=n(/*! ../internals/an-instance */"igoe"),f=n(/*! ../internals/has */"jtLI"),d=n(/*! ../internals/function-bind-context */"7BAe"),h=n(/*! ../internals/classof */"Ei+o"),m=n(/*! ../internals/an-object */"f1E4"),b=n(/*! ../internals/is-object */"tSXo"),y=n(/*! ../internals/object-create */"u+7+"),v=n(/*! ../internals/create-property-descriptor */"HhvW"),g=n(/*! ../internals/get-iterator */"qcmB"),_=n(/*! ../internals/get-iterator-method */"9SZg"),x=n(/*! ../internals/well-known-symbol */"2kyd"),w=a("fetch"),j=a("Headers"),O=x("iterator"),k=l.set,E=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),P=/\+/g,C=Array(4),T=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},A=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(P," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(T(n--),A);return t}},M=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return L[e]},R=function(e){return encodeURIComponent(e).replace(M,D)},N=function(e,t){if(t)for(var n,r,a=t.split("&"),o=0;o0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:F}),void 0!==s)if(b(s))if("function"==typeof(e=_(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((i=(o=(a=g(m(r.value))).next).call(a)).done||(c=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");d.push({key:i.value+"",value:c.value+""})}else for(u in s)f(s,u)&&d.push({key:u,value:s[u]+""});else N(d,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},q=V.prototype;c(q,{append:function(e,t){U(arguments.length,2);var n=E(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=E(this),n=t.entries,r=e+"",a=0;ae.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){for(var t,n=E(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),a=0;a1&&(b(t=arguments[1])&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new j(t.headers):new j).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:v(0,String(n)),headers:v(0,r)}))),a.push(t)),w.apply(this,a)}}),e.exports={URLSearchParams:V,getState:E}},"5QGz": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.atanh.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.atanh,o=Math.log;r({target:"Math",stat:!0,forced:!(a&&1/a(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:o((1+e)/(1-e))/2}})},"5WQS": +/*!*********************************!*\ + !*** ./src/service/messages.ts ***! + \*********************************/ +/*! exports provided: getTidings, unreadMessageInfo, getPrivateMessages, postPrivateMessages, getRecentContacts, getUsersForPrivateMessages, getPrivateMessageDetails, deletePrivateMessage */ +/*! exports used: deletePrivateMessage, getPrivateMessageDetails, getPrivateMessages, getRecentContacts, getTidings, getUsersForPrivateMessages, postPrivateMessages, unreadMessageInfo */function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"g",(function(){return h})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return w}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/tidings.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.userId,"/unread_message_info.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.userId,"/private_messages.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.userId,"/private_messages.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.id,"/recent_contacts.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users_for_private_messages.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.userId,"/private_message_details.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.userId,"/private_messages/").concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},"5mCs": +/*!****************************************!*\ + !*** ./src/models/classrooms/index.ts ***! + \****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray */"oBTY"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/service/classrooms */"oUNq"),u={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1},effects:{getClassroom:i.a.mark((function e(t,n){var r,o,u,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,s=r,e.next=5,o(c.O,r);case 5:return l=e.sent,e.next=8,u({type:"save",payload:Object(a.a)({listParams:s},l)});case 8:return e.abrupt("return",l);case 9:case"end":return e.stop()}}),e)})),getClassroomTopBanner:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.S,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailTopBanner:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomLeftMenus:i.a.mark((function e(t,n){var o,u,s,l,p,f;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.payload,u=n.call,s=n.put,e.next=4,u(c.N,o);case 4:return l=e.sent,p=[].concat(Object(r.a)((null==l?void 0:l.course_modules)||[]),Object(r.a)((null==l?void 0:l.hidden_modules)||[])),f={},null==p||p.forEach((function(e){f[e.type]=e.name})),e.next=10,s({type:"save",payload:{detailLeftMenus:Object(a.a)({},l),detailLeftMenusNames:f}});case 10:return e.abrupt("return",l);case 11:case"end":return e.stop()}}),e)})),getClassroomShixunsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.Q,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailShixunsList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomTeacherShixunsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.R,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailShixunsList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getClassroomCommonList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.Q,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCommonHomeworksList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomTeacherCommonList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.R,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCommonHomeworksList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getClassroomGraduationTopicsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.M,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailGraduationTopicsList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomGraduationTaskList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.L,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailGraduationTaskList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomExercisesList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.K,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailExerciseList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomPollsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.P,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailPollsList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getCourseGroups:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.W,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{courseGroups:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getAllCourseGroup:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.A,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{allCourseGroups:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomCommonHomeworksList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.J,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCommonHomeworksList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomAttendancesList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.H,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailAttendancesList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getClassroomAttendancesStatistic:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.I,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailAttendancesStatistic:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getAttendanceDetail:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.E,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailAttendancesDetail:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getAnnouncementList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.C,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailAnnouncementList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getAttachmentList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.D,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailAttachmentList:Object(a.a)({},s.data)}});case 7:case"end":return e.stop()}}),e)})),getCourseware:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.eb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCourseware:Object(a.a)({},s.data)}});case 7:case"end":return e.stop()}}),e)})),getVideoList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,u({type:"save",payload:{detailVideoList:{}}});case 4:return e.next=6,o(c.ob,r);case 6:return s=e.sent,e.next=9,u({type:"save",payload:{detailVideoList:Object(a.a)({},s)}});case 9:case"end":return e.stop()}}),e)})),getLiveVideoList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,u=n.put,e.next=4,o(c.gb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailLiveVideoList:Object(a.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getCoursesMine:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.db,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{courseMine:Object(a.a)({},s)}});case 7:return e.abrupt("return",s.data);case 8:case"end":return e.stop()}}),e)})),getBoardList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.G,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailBoardList:Object(a.a)({},s.data)}});case 7:return e.abrupt("return",s.data);case 8:case"end":return e.stop()}}),e)})),getCourseGroupsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.X,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCourseGroupsList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCourseStudentsList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.ab,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCoursStudentsList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s.data);case 8:case"end":return e.stop()}}),e)})),getCourseStatistics:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.Z,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCourseStatisticsList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCourseActscore:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.T,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCourseActscore:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCourseWorkscore:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.bb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detailCourseWorkscore:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getShixunLists:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.nb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{shixunLists:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getExperimentLists:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.fb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{shixunLists:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getShixunAiRecommendLists:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.mb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{shixunAiRecommendLists:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCoursesLists:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.cb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{coursesLists:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),createCoursesHomework:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.f,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),createShixunHomework:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.i,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),createExperiment:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.g,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),getSchoolList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.kb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{schoolList:Object(a.a)({},s.school_names)}});case 7:return e.abrupt("return",s.school_names);case 8:case"end":return e.stop()}}),e)})),searchSchoolTeacherList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.wb,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{searchMemberList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getAllTaskList:i.a.mark((function e(t,n){var a,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.B,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{taskList:Object(r.a)(s.tasks)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),updateTaskPosition:i.a.mark((function e(t,n){var r,a,o,u;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,o=n.put,e.next=4,a(c.Hb,r);case 4:return u=e.sent,e.next=7,o({type:"save",payload:{actionTabs:{key:""}}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),setActionTabs:i.a.mark((function e(t,n){var r,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,o=n.put,e.next=4,o({type:"save",payload:{actionTabs:Object(a.a)({},r)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(a.a)(Object(a.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=u},"5wUe": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/slicedToArray.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./arrayWithHoles */"Q9SF"),a=n(/*! ./iterableToArrayLimit */"MIOZ"),o=n(/*! ./unsupportedIterableToArray */"mGKP"),i=n(/*! ./nonIterableRest */"h0XC");e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()}},"5yw/": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/iterators.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports={}},"66pj": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.cbrt.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/math-sign */"u93E"),o=Math.abs,i=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return a(e=+e)*i(o(e),1/3)}})},"6CvP": +/*!*****************************!*\ + !*** ./src/service/home.ts ***! + \*****************************/ +/*! exports provided: HomeIndex, applyToJoinCourse, projectApplies, getHomeNotice, UploadNotice */ +/*! exports used: HomeIndex, UploadNotice, applyToJoinCourse, getHomeNotice */function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/utils/fetch */"ErOA");function c(){return u.apply(this,arguments)}function u(){return(u=Object(r.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/home/index.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/courses/apply_to_join_course.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/users/home_notice.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/users/view_notice.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},"6FCX": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.weak-map.of.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"WeakMap",stat:!0},{of:n(/*! ../internals/collection-of */"qA1w")})},"6YAi": +/*!***********************************************!*\ + !*** ./src/models/classrooms/announcement.ts ***! + \***********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/announcement */"yMj0"),c={namespace:"announcement",state:{name:"普通试卷,随机试卷详情页面",loading:!0,actionTabs:{}},effects:{informDown:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.a,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),informUp:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},"6cL7": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.search.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/fix-regexp-well-known-symbol-logic */"ENif"),a=n(/*! ../internals/an-object */"f1E4"),o=n(/*! ../internals/require-object-coercible */"FCfD"),i=n(/*! ../internals/same-value */"UPML"),c=n(/*! ../internals/regexp-exec-abstract */"dagG");r("search",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=a(e),u=String(this),s=o.lastIndex;i(s,0)||(o.lastIndex=0);var l=c(o,u);return i(o.lastIndex,s)||(o.lastIndex=s),null===l?-1:l.index}]}))},"6fQ5": +/*!***************************************!*\ + !*** ./src/models/problemset/util.ts ***! + \***************************************/ +/*! exports provided: formatCourseOptions, formatPaperData */ +/*! exports used: formatCourseOptions, formatPaperData */function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=function(e){return null==e?void 0:e.map((function(e){var t=(e.sub_disciplines||[]).map((function(e){return{value:e.id,label:e.name}}));return{value:e.id,label:e.name,children:t}}))},o={1:"一",2:"二",3:"三",4:"四",5:"五",6:"六",7:"七",8:"八"},i=function(e){if(e){var t=e||{},n=t.all_questions_count,a=t.all_score,i=t.single_questions,c=t.multiple_questions,u=t.judgement_questions,s=t.program_questions,l=t.completion_questions,p=t.subjective_questions,f=t.practical_questions,d=t.combination_questions;return{all_questions_count:n,all_score:a,questionList:[Object(r.a)({type:"SINGLE",name:"单选题"},i),Object(r.a)({type:"MULTIPLE",name:"多选题"},c),Object(r.a)({type:"COMPLETION",name:"填空题"},l),Object(r.a)({type:"JUDGMENT",name:"判断题"},u),Object(r.a)({type:"SUBJECTIVE",name:"简答题"},p),Object(r.a)({type:"PROGRAM",name:"编程题"},s),Object(r.a)({type:"PRACTICAL",name:"实训题"},f),Object(r.a)({type:"COMBINATION",name:"组合题"},d)].filter((function(e){return e.questions_count>0})).map((function(e,t){return Object(r.a)(Object(r.a)({},e),{number:o[t+1]})}))}}}},"6ixQ": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/hidden-keys.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports={}},"6koa": +/*!*****************************************************!*\ + !*** ./node_modules/shallow-equal/objects/index.js ***! + \*****************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),a=n.length;if(r.length!==a)return!1;for(var o=0;o0?d[0]||u.data[0].ec_major_school_id:void 0}});case 14:case"end":return e.stop()}}),e)})),getYearList:s.a.mark((function e(t,n){var r,a,o,i,c,u,d,h;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,o=n.put,i=n.select,e.next=4,a(l.k,r.id);case 4:return c=e.sent,e.next=7,i((function(e){return e.user}));case 7:if(u=e.sent,d=u.userInfo,!c||!c.data){e.next=13;break}return h=p.a.getItem(null==d?void 0:d.login),e.next=13,o({type:"setMajorOrYearDataSource",payload:{key:f[1],value:c.data.map((function(e){return{label:e.year,value:e.ec_year_id}})),active:c.data.length>0?r.firstEnter?h[1]:c.data[0].ec_year_id:void 0}});case 13:case"end":return e.stop()}}),e)})),getCourseResults:s.a.mark((function e(t,n){var r,a,o,c,u,d,h,m,b,y,v,g,_,x,w,j,O;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=void 0===r?{}:r,o=n.call,c=n.put,u=n.select,d=a.calc,h=a.page,m=a.per_page,e.next=5,u((function(e){return e.engineeringEvaluteList}));case 5:return b=e.sent,y=b.headerData,v=b.tabListData,e.next=10,u((function(e){return e.user}));case 10:if(g=e.sent,_=g.userInfo,!(x=y.active[f[1]])){e.next=26;break}return w={id:x,page:h||1,per_page:m||v.pageSize},d&&(w=Object(i.a)(Object(i.a)({},w),{},{page:v.pageNo})),e.next=18,o(l.e,w);case 18:if(j=e.sent,O=[y.active[f[0]],y.active[f[1]]],p.a.setItem(null==_?void 0:_.login,O),!j||!j.ec_courses){e.next=24;break}return e.next=24,c({type:"setCourseResults",payload:Object(i.a)(Object(i.a)({},v),{},{pageNo:w.page,total:j.count,pageSize:w.per_page||v.pageSize,dataSource:j.ec_courses.map((function(e,t){return Object(i.a)(Object(i.a)({},e),{},{key:w.page>1?(w.page-1)*w.per_page+t+1:t+1})}))})});case 24:e.next=28;break;case 26:return e.next=28,c({type:"setCourseResults",payload:Object(i.a)(Object(i.a)({},v),{},{pageNo:1,total:0,dataSource:[]})});case 28:case"end":return e.stop()}}),e)})),exportCourse:s.a.mark((function e(t,n){var r,a,o,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,r=n.call,a=n.select,e.next=4,a((function(e){return e.engineeringEvaluteList}));case 4:if(o=e.sent,!(i=o.headerData).active[f[1]]){e.next=9;break}return e.next=9,r(l.a,i.active[f[1]]);case 9:case"end":return e.stop()}}),e)})),compute:s.a.mark((function e(t,n){var r,i,c,u,p,f;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,i=n.call,c=n.put,u=r.all,p=Object(o.a)(r,["all"]),e.next=5,i(u?l.m:l.n,p);case 5:if(!(f=e.sent)||0!==f.status){e.next=12;break}return a.b.success("计算完成"),e.next=10,c({type:"getCourseResults",payload:{calc:!0}});case 10:e.next=13;break;case 12:a.b.error(f.message);case 13:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(i.a)(Object(i.a)({},e),t.payload)},setMajorOrYearDataSource:function(e,t){var n=t.payload,r=e.headerData.active;return n.active&&(r=Object(i.a)(Object(i.a)({},r),{},Object(c.a)({},n.key,n.active))),Object(i.a)(Object(i.a)({},e),{},{headerData:Object(i.a)(Object(i.a)({},e.headerData),{},{dataSource:Object(i.a)(Object(i.a)({},e.headerData.dataSource),{},Object(c.a)({},n.key,Object(i.a)(Object(i.a)({},e.headerData.dataSource[n.key]),{},{dataList:n.value}))),active:r})})},setMajorOrYearActive:function(e,t){var n=t.payload;return Object(i.a)(Object(i.a)({},e),{},{headerData:Object(i.a)(Object(i.a)({},e.headerData),{},{active:Object(i.a)(Object(i.a)({},e.headerData.active),{},Object(c.a)({},n.key,n.value))})})},setCourseResults:function(e,t){var n=t.payload;return Object(i.a)(Object(i.a)({},e),{},{tabListData:Object(i.a)(Object(i.a)({},e.tabListData),n)})}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=d},"7VZV": +/*!*************************************************!*\ + !*** ./src/models/globalSetting.ts + 1 modules ***! + \*************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts because of ./src/pages/Account/Binding/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/UserAgents.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/setting.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/system_update.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f=n("m3rI"),d={namespace:"globalSetting",state:{name:"全局配置",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,isPaZhou:window.location.host.indexOf("local-pazhou.")>-1,isCourseOpeni:"localhost:8000"===window.location.host,showFooter:!0,showHeader:!0,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"default",globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1}},effects:{query:o.a.mark((function e(t,n){var a,i,c,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(u,a);case 4:return s=e.sent,h(s),e.next=8,c({type:"save",payload:Object(r.a)({},s)});case 8:case"end":return e.stop()}}),e)})),getSystemUpdate:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{updateData:Object(r.a)({},u)}});case 7:case"end":return e.stop()}}),e)})),setTheme:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(l,r);case 4:return e.sent,e.next=7,i({type:"save",payload:{theme:r||"default"}});case 7:case"end":return e.stop()}}),e)})),setGlobalLoading:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{globalLoading:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),headerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeader:r}});case 4:case"end":return e.stop()}}),e)})),footerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFooterToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFixedToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFixed:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTop:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopIconToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTopIcons:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModel:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModel:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModelPath:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModelPath:r}});case 4:case"end":return e.stop()}}),e)})),setShowQuestionBackTop:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showQuestionBackTop:r}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch;return e.history.listen((function(e){e.pathname}))}}},h=(t.a=d,function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===(e=r.setting)||void 0===e||e.tab_logo_url;var a=document.createElement("link"),o=document.getElementById("dynamic-favicon");a.id="dynamic-favicon",a.rel="shortcut icon",a.href=null!==(t=r.setting)&&void 0!==t&&t.tab_logo_url?"".concat(f.a.IMG_SERVER,"/").concat(null===(n=r.setting)||void 0===n?void 0:n.tab_logo_url):"".concat(f.a.IMG_SERVER,"/react/build/./favicon.ico"),o&&document.head.removeChild(o),document.head.appendChild(a)})},"7W2i": +/*!*********************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/inherits.js ***! + \*********************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./setPrototypeOf.js */"SksO");e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},"7bO/": +/*!**********************************************************!*\ + !*** ./node_modules/redux-saga/es/index.js + 16 modules ***! + \**********************************************************/ +/*! exports provided: default, runSaga, END, eventChannel, channel, buffers, takeEvery, takeLatest, throttle, delay, CANCEL, detach, effects, utils */ +/*! exports used: default, effects */function(e,t,n){"use strict";n.d(t,"b",(function(){return r}));var r={};n.r(r),n.d(r,"take",(function(){return ue})),n.d(r,"takem",(function(){return se})),n.d(r,"put",(function(){return le})),n.d(r,"all",(function(){return pe})),n.d(r,"race",(function(){return fe})),n.d(r,"call",(function(){return he})),n.d(r,"apply",(function(){return me})),n.d(r,"cps",(function(){return be})),n.d(r,"fork",(function(){return ye})),n.d(r,"spawn",(function(){return ve})),n.d(r,"join",(function(){return ge})),n.d(r,"cancel",(function(){return _e})),n.d(r,"select",(function(){return xe})),n.d(r,"actionChannel",(function(){return we})),n.d(r,"cancelled",(function(){return je})),n.d(r,"flush",(function(){return Oe})),n.d(r,"getContext",(function(){return ke})),n.d(r,"setContext",(function(){return Ee})),n.d(r,"takeEvery",(function(){return et})),n.d(r,"takeLatest",(function(){return tt})),n.d(r,"throttle",(function(){return nt}));var a=Object.assign||function(e){for(var t=1;t=0&&e.splice(n,1)}var j=function(e){var t=Array(e.length);for(var n in e)g(e,n)&&(t[n]=e[n]);return t};function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a({},e),n=new Promise((function(e,n){t.resolve=e,t.reject=n}));return t.promise=n,t}function k(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise((function(r){n=setTimeout((function(){return r(t)}),e)}));return r[l]=function(){return clearTimeout(n)},r}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}var S=E(),P=function(e){throw e},C=function(e){return{value:e,done:!0}};function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],a={name:n,next:e,throw:t,return:C};return r&&(a[u]=!0),"undefined"!=typeof Symbol&&(a[Symbol.iterator]=function(){return a}),a}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";"undefined"==typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}function I(e,t){return function(){return e.apply(void 0,arguments)}}var M=function(e,t){return e+" has been deprecated in favor of "+t+", please update your code"},L=function(e){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+e+"\n")},D=function(e,t){return(e?e+".":"")+"setContext(props): argument "+t+" is not a plain object"},R=function(e){return function(t){return e(Object.defineProperty(t,p,{value:!0}))}},N={isEmpty:h,put:m,take:m};function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,a=0,o=0,i=function(t){n[a]=t,a=(a+1)%e,r++},c=function(){if(0!=r){var t=n[o];return n[o]=null,r--,o=(o+1)%e,t}},u=function(){for(var e=[];r;)e.push(c());return e};return{isEmpty:function(){return 0==r},put:function(c){if(r0&&void 0!==arguments[0]?arguments[0]:z(),t=!1,n=[];function r(){if(t&&n.length)throw L("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw L("Cannot have pending takers with non empty buffer")}function a(a){if(r(),y(a,_.notUndef,"Saga was provided with an undefined action"),!t){if(!n.length)return e.put(a);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:U(),n=arguments[2];arguments.length>2&&y(n,_.func,"Invalid match function passed to eventChannel");var r=ee(t),a=function(){r.__closed__||(o&&o(),r.close())},o=e((function(e){X(e)?a():n&&!n(e)||r.put(e)}));if(r.__closed__&&o(),!_.func(o))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:a}}function ne(e){var t=te((function(t){return e((function(e){e[p]?t(e):H((function(){return t(e)}))}))}));return Q({},t,{take:function(e,n){arguments.length>1&&(y(n,_.func,"channel.take's matcher argument must be a function"),e[s]=n),t.take(e)}})}var re=i("IO"),ae="TAKE",oe="\n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)",ie=function(e,t){var n;return(n={})[re]=!0,n[e]=t,n},ce=function(e){return y(Pe.fork(e),_.object,"detach(eff): argument must be a fork effect"),e.FORK.detached=!0,e};function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&y(arguments[0],_.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),_.pattern(e))return ie(ae,{pattern:e});if(_.channel(e))return ie(ae,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}ue.maybe=function(){var e=ue.apply(void 0,arguments);return e[ae].maybe=!0,e};var se=I(ue.maybe);function le(e,t){return arguments.length>1?(y(e,_.notUndef,"put(channel, action): argument channel is undefined"),y(e,_.channel,"put(channel, action): argument "+e+" is not a valid channel"),y(t,_.notUndef,"put(channel, action): argument action is undefined")):(y(e,_.notUndef,"put(action): argument action is undefined"),t=e,e=null),ie("PUT",{channel:e,action:t})}function pe(e){return ie("ALL",e)}function fe(e){return ie("RACE",e)}function de(e,t,n){y(t,_.notUndef,e+": argument fn is undefined");var r=null;if(_.array(t)){var a=t;r=a[0],t=a[1]}else if(t.fn){var o=t;r=o.context,t=o.fn}return r&&_.string(t)&&_.func(r[t])&&(t=r[t]),y(t,_.func,e+": argument "+t+" is not a function"),{context:r,fn:t,args:n}}function he(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:[];return ie("CALL",de("apply",{context:e,fn:t},n))}function be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r1)return pe(t.map((function(e){return ge(e)})));var r=t[0];return y(r,_.notUndef,"join(task): argument task is undefined"),y(r,_.task,"join(task): argument "+r+" is not a valid Task object "+oe),ie("JOIN",r)}function _e(){for(var e=arguments.length,t=Array(e),n=0;n1)return pe(t.map((function(e){return _e(e)})));var r=t[0];return 1===t.length&&(y(r,_.notUndef,"cancel(task): argument task is undefined"),y(r,_.task,"cancel(task): argument "+r+" is not a valid Task object "+oe)),ie("CANCEL",r||f)}function xe(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&(y(t,_.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),y(t,_.buffer,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer")),ie("ACTION_CHANNEL",{pattern:e,buffer:t})}function je(){return ie("CANCELLED",{})}function Oe(e){return y(e,_.channel,"flush(channel): argument "+e+" is not valid channel"),ie("FLUSH",e)}function ke(e){return y(e,_.string,"getContext(prop): argument "+e+" is not a string"),ie("GET_CONTEXT",e)}function Ee(e){return y(e,_.object,D(null,e)),ie("SET_CONTEXT",e)}le.resolve=function(){var e=le.apply(void 0,arguments);return e.PUT.resolve=!0,e},le.sync=I(le.resolve);var Se=function(e){return function(t){return t&&t[re]&&t[e]}},Pe={take:Se(ae),put:Se("PUT"),all:Se("ALL"),race:Se("RACE"),call:Se("CALL"),cps:Se("CPS"),fork:Se("FORK"),join:Se("JOIN"),cancel:Se("CANCEL"),select:Se("SELECT"),actionChannel:Se("ACTION_CHANNEL"),cancelled:Se("CANCELLED"),flush:Se("FLUSH"),getContext:Se("GET_CONTEXT"),setContext:Se("SET_CONTEXT")},Ce=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:function(){return m},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"anonymous",s=arguments[8];y(e,_.iterator,Ie);var p="[...effects]",d=I(re,M(p,"all("+p+")")),h=o.sagaMonitor,b=o.logger,v=o.onError,g=b||A,k=function(e){var t=e.sagaStack;!t&&e.stack&&(t=-1!==e.stack.split("\n")[0].indexOf(e.message)?e.stack:"Error: "+e.message+"\n"+e.stack),g("error","uncaught at "+u,t||e.message||e)},E=ne(t),P=Object.create(a);F.cancel=m;var C=pe(i,u,e,s),T={name:u,cancel:R,isRunning:!0},L=ze(0,T,U);function R(){T.isRunning&&!T.isCancelled&&(T.isCancelled=!0,F(Le))}function N(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,L.cancelAll(),U(Le))}return s&&(s.cancel=N),e._isRunning=!0,F(),C;function F(t,n){if(!T.isRunning)throw new Error("Trying to resume an already finished generator");try{var r=void 0;n?r=e.throw(t):t===Le?(T.isCancelled=!0,F.cancel(),r=_.func(e.return)?e.return(Le):{done:!0,value:Le}):r=t===Me?_.func(e.return)?e.return():{done:!0}:e.next(t),r.done?(T.isMainRunning=!1,T.cont&&T.cont(r.value)):V(r.value,i,"",F)}catch(e){T.isCancelled&&k(e),T.isMainRunning=!1,T.cont(e,!0)}}function U(t,n){e._isRunning=!1,E.close(),n?(t instanceof Error&&Object.defineProperty(t,"sagaStack",{value:"at "+u+" \n "+(t.sagaStack||t.stack),configurable:!0}),C.cont||(t instanceof Error&&v?v(t):k(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),C.cont&&C.cont(t,n),C.joiners.forEach((function(e){return e.cb(t,n)})),C.joiners=null}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],a=S();h&&h.effectTriggered({effectId:a,parentEffectId:t,label:n,effect:e});var o=void 0;function i(e,t){o||(o=!0,r.cancel=m,h&&(t?h.effectRejected(a,e):h.effectResolved(a,e)),r(e,t))}i.cancel=m,r.cancel=function(){if(!o){o=!0;try{i.cancel()}catch(e){k(e)}i.cancel=m,h&&h.effectCancelled(a)}};var c=void 0;return _.promise(e)?q(e,i):_.helper(e)?Z(qe(e),a,i):_.iterator(e)?B(e,a,u,i):_.array(e)?d(e,a,i):(c=Pe.take(e))?W(c,i):(c=Pe.put(e))?Y(c,i):(c=Pe.all(e))?re(c,a,i):(c=Pe.race(e))?ae(c,a,i):(c=Pe.call(e))?Q(c,a,i):(c=Pe.cps(e))?J(c,i):(c=Pe.fork(e))?Z(c,a,i):(c=Pe.join(e))?$(c,i):(c=Pe.cancel(e))?ee(c,i):(c=Pe.select(e))?oe(c,i):(c=Pe.actionChannel(e))?ie(c,i):(c=Pe.flush(e))?ue(c,i):(c=Pe.cancelled(e))?ce(c,i):(c=Pe.getContext(e))?se(c,i):(c=Pe.setContext(e))?le(c,i):i(e)}function q(e,t){var n=e[l];_.func(n)?t.cancel=n:_.func(e.abort)&&(t.cancel=function(){return e.abort()}),e.then(t,(function(e){return t(e,!0)}))}function B(e,a,i,c){Be(e,t,n,r,P,o,a,i,c)}function W(e,t){var n=e.channel,r=e.pattern,a=e.maybe;n=n||E;var o=function(e){return e instanceof Error?t(e,!0):X(e)&&!a?t(Me):t(e)};try{n.take(o,Ue(r))}catch(e){return t(e,!0)}t.cancel=o.cancel}function Y(e,t){var r=e.channel,a=e.action,o=e.resolve;H((function(){var e=void 0;try{e=(r?r.put:n)(a)}catch(e){if(r||o)return t(e,!0);k(e)}if(!o||!_.promise(e))return t(e);q(e,t)}))}function Q(e,t,n){var r=e.context,a=e.fn,o=e.args,i=void 0;try{i=a.apply(r,o)}catch(e){return n(e,!0)}return _.promise(i)?q(i,n):_.iterator(i)?B(i,t,a.name,n):n(i)}function J(e,t){var n=e.context,r=e.fn,a=e.args;try{var o=function(e,n){return _.undef(e)?t(n):t(e,!0)};r.apply(n,a.concat(o)),o.cancel&&(t.cancel=function(){return o.cancel()})}catch(e){return t(e,!0)}}function Z(e,a,i){var c=e.context,u=e.fn,s=e.args,l=e.detached,p=Ve({context:c,fn:u,args:s});try{G();var f=Be(p,t,n,r,P,o,a,u.name,l?null:m);l?i(f):p._isRunning?(L.addTask(f),i(f)):p._error?L.abort(p._error):i(f)}finally{K()}}function $(e,t){if(e.isRunning()){var n={task:C,cb:t};t.cancel=function(){return w(e.joiners,n)},e.joiners.push(n)}else e.isAborted()?t(e.error(),!0):t(e.result())}function ee(e,t){e===f&&(e=C),e.isRunning()&&e.cancel(),t()}function re(e,t,n){var r=Object.keys(e);if(!r.length)return n(_.array(e)?[]:{});var a=0,o=void 0,i={},c={};r.forEach((function(t){var u=function(c,u){o||(u||X(c)||c===Me||c===Le?(n.cancel(),n(c,u)):(i[t]=c,++a===r.length&&(o=!0,n(_.array(e)?j(Ce({},i,{length:r.length})):i))))};u.cancel=m,c[t]=u})),n.cancel=function(){o||(o=!0,r.forEach((function(e){return c[e].cancel()})))},r.forEach((function(n){return V(e[n],t,n,c[n])}))}function ae(e,t,n){var r=void 0,a=Object.keys(e),o={};a.forEach((function(t){var i=function(o,i){if(!r)if(i)n.cancel(),n(o,!0);else if(!X(o)&&o!==Me&&o!==Le){var c;n.cancel(),r=!0;var u=((c={})[t]=o,c);n(_.array(e)?[].slice.call(Ce({},u,{length:a.length})):u)}};i.cancel=m,o[t]=i})),n.cancel=function(){r||(r=!0,a.forEach((function(e){return o[e].cancel()})))},a.forEach((function(n){r||V(e[n],t,n,o[n])}))}function oe(e,t){var n=e.selector,a=e.args;try{t(n.apply(void 0,[r()].concat(a)))}catch(e){t(e,!0)}}function ie(e,n){var r=e.pattern,a=e.buffer,o=Ue(r);o.pattern=r,n(te(t,a||z(),o))}function ce(e,t){t(!!T.isCancelled)}function ue(e,t){e.flush(t)}function se(e,t){t(P[e])}function le(e,t){x(P,e),t()}function pe(e,t,n,r){var a,o;return n._deferredEnd=null,(a={})[c]=!0,a.id=e,a.name=t,"done",(o={}).done=o.done||{},o.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=O();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},a.cont=r,a.joiners=[],a.cancel=N,a.isRunning=function(){return n._isRunning},a.isCancelled=function(){return n._isCancelled},a.isAborted=function(){return n._isAborted},a.result=function(){return n._result},a.error=function(){return n._error},a.setContext=function(e){y(e,_.object,D("task",e)),x(P,e)},Ae(a,o),a}}var We="runSaga(storeInterface, saga, ...args): saga argument must be a Generator function!";function He(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var Ye={done:!0,value:void 0},Ke={};function Qe(e){return _.channel(e)?"channel":Array.isArray(e)?String(e.map((function(e){return String(e)}))):String(e)}function Je(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",r=void 0,a=t;function o(t,n){if(a===Ke)return Ye;if(n)throw a=Ke,n;r&&r(t);var o=e[a](),i=o[0],c=o[1],u=o[2];return r=u,(a=i)===Ke?Ye:c}return T(o,(function(e){return o(null,e)}),n,!0)}function Xe(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),a=2;a2?n-2:0),a=2;a3?r-3:0),o=3;o2?n-2:0),a=2;a2?n-2:0),a=2;a3?r-3:0),o=3;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=void 0===t?{}:t,r=Ge(e,["context"]),a=r.sagaMonitor,o=r.logger,i=r.onError;if(_.func(r))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(o&&!_.func(o))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(i&&!_.func(i))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(r.emitter&&!_.func(r.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function c(e){var t=e.getState,u=e.dispatch,s=Z();return s.emit=(r.emitter||b)(s.emit),c.run=He.bind(null,{context:n,subscribe:s.subscribe,dispatch:u,getState:t,sagaMonitor:a,logger:o,onError:i}),function(e){return function(t){a&&a.actionDispatched&&a.actionDispatched(t);var n=e(t);return s.emit(t),n}}}return c.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},c.setContext=function(e){y(e,_.object,D("sagaMiddleware",e)),x(n,e)},c}},"7ckf": +/*!*************************************************!*\ + !*** ./node_modules/hash.js/lib/hash/common.js ***! + \*************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./utils */"w8CP"),a=n(/*! minimalistic-assert */"2j6C");function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,o=8;o1?arguments[1]:void 0,3),a=new(s(t,o("Map"))),f=c(a.set);return p(n,(function(e,n){r(n,e,t)&&f.call(a,e,n)}),void 0,!0,!0),a}})},"7zRj": +/*!*****************************************!*\ + !*** ./node_modules/global/document.js ***! + \*****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){(function(t){var r,a=void 0!==t?t:"undefined"!=typeof window?window:{},o=n(/*! min-document */3);"undefined"!=typeof document?r=document:(r=a["__GLOBAL_DOCUMENT_CACHE@4"])||(r=a["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r}).call(this,n(/*! ./../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},"8+s/": +/*!*****************************************************!*\ + !*** ./node_modules/react-side-effect/lib/index.js ***! + \*****************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a=n(/*! react */"q1tI"),o=(r=a)&&"object"==typeof r&&"default"in r?r.default:r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,s=[];function l(){u=e(s.map((function(e){return e.props}))),p.canUseDOM?t(u):n&&(u=n(u))}var p=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.peek=function(){return u},a.rewind=function(){if(a.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=u;return u=void 0,s=[],e};var i=a.prototype;return i.UNSAFE_componentWillMount=function(){s.push(this),l()},i.componentDidUpdate=function(){l()},i.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),l()},i.render=function(){return o.createElement(r,this.props)},a}(a.PureComponent);return i(p,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),i(p,"canUseDOM",c),p}}},"80Z6": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.promise.any.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/a-function */"cT1L"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/new-promise-capability */"LUyE"),c=n(/*! ../internals/perform */"WJ3H"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,s=n.reject,l=c((function(){var n=a(t.resolve),i=[],c=0,l=1,p=!1;u(e,(function(e){var a=c++,u=!1;i.push(void 0),l++,n.call(t,e).then((function(e){u||p||(p=!0,r(e))}),(function(e){u||p||(u=!0,i[a]=e,--l||s(new(o("AggregateError"))(i,"No one promise resolved")))}))})),--l||s(new(o("AggregateError"))(i,"No one promise resolved"))}));return l.error&&s(l.value),n.promise}})},"85Yc": +/*!*************************************************************!*\ + !*** ./node_modules/rc-field-form/es/index.js + 13 modules ***! + \*************************************************************/ +/*! exports provided: Field, List, useForm, FormProvider, default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/useVisibleStatus.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-select/es/Select.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-motion/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-motion/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-motion/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-motion/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toArray.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/async-validator/dist-web/index.js (<- Module uses injected variables (process)) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-field-form/es/FieldContext.js because of ./node_modules/antd/es/form/FormItem.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js because of ./node_modules/antd/es/breadcrumb/Breadcrumb.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js because of ./node_modules/antd/es/_util/devWarning.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t),n.d(t,"Field",(function(){return G})),n.d(t,"List",(function(){return Y})),n.d(t,"useForm",(function(){return X})),n.d(t,"FormProvider",(function(){return $}));var r=n("q1tI"),a=n("Ff2n"),o=n("rePB"),i=n("VTBJ"),c=n("KQm4"),u=n("1OyB"),s=n("vuIU"),l=n("Ji7U"),p=n("LK+K"),f=n("Zm9Q"),d=n("Kwbf"),h=n("KW7l");function m(e){return null==e?[]:Array.isArray(e)?e:[e]}var b=n("o0o1"),y=n.n(b),v=n("HaE+"),g=n("U8pU"),_=n("KpVd");function x(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!x(e,t.slice(0,-1))?e:j(e,t,n,r)}(e,t,n)}function S(e,t){var n={};return t.forEach((function(t){var r=k(e,t);n=E(n,t,r)})),n}function P(e,t){return e&&e.some((function(e){return I(e,t)}))}function C(e){return"object"===Object(g.a)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function T(e,t){var n=Array.isArray(e)?Object(c.a)(e):Object(i.a)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],a=t[e],o=C(r)&&C(a);n[e]=o?T(r,a||{}):a})),n):n}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var a=e[t],o=t-n;return o>0?[].concat(Object(c.a)(e.slice(0,n)),[a],Object(c.a)(e.slice(n,t)),Object(c.a)(e.slice(t+1,r))):o<0?[].concat(Object(c.a)(e.slice(0,t)),Object(c.a)(e.slice(t+1,n+1)),[a],Object(c.a)(e.slice(n+1,r))):e}var D="'${name}' is not a valid ${type}",R={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:D,method:D,array:D,object:D,number:D,date:D,boolean:D,integer:D,float:D,regexp:D,email:D,url:D,hex:D},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},N=_.a;function F(e,t,n,r){var a=Object(i.a)(Object(i.a)({},n),{},{name:t,enum:(n.enum||[]).join(", ")}),o=function(e,t){return function(){return function(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}(e,Object(i.a)(Object(i.a)({},a),t))}};return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(a){var i=t[a];"string"==typeof i?n[a]=o(i,r):i&&"object"===Object(g.a)(i)?(n[a]={},e(i,n[a])):n[a]=i})),n}(A({},R,e))}function U(e,t,n,r,a){return z.apply(this,arguments)}function z(){return(z=Object(v.a)(y.a.mark((function e(t,n,a,u,s){var l,p,f,d,h,m;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=Object(i.a)({},a),p=null,l&&"array"===l.type&&l.defaultField&&(p=l.defaultField,delete l.defaultField),f=new N(Object(o.a)({},t,[l])),d=F(u.validateMessages,t,l,s),f.messages(d),h=[],e.prev=7,e.next=10,Promise.resolve(f.validate(Object(o.a)({},t,n),Object(i.a)({},u)));case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(7),e.t0.errors?h=e.t0.errors.map((function(e,t){var n=e.message;return r.isValidElement(n)?r.cloneElement(n,{key:"error_".concat(t)}):n})):(console.error(e.t0),h=[d.default()]);case 15:if(h.length||!p){e.next=20;break}return e.next=18,Promise.all(n.map((function(e,n){return U("".concat(t,".").concat(n),e,p,u,s)})));case 18:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat(Object(c.a)(e),Object(c.a)(t))}),[]));case 20:return e.abrupt("return",h);case 21:case"end":return e.stop()}}),e,null,[[7,12]])})))).apply(this,arguments)}function V(e,t,n,r,a,o){var c,u=e.join("."),s=n.map((function(e){var t=e.validator;return t?Object(i.a)(Object(i.a)({},e),{},{validator:function(e,n,r){var a=!1,o=t(e,n,(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:[];e.validatePromise===s&&(e.validatePromise=null,e.errors=t,e.reRender())})),s},e.isFieldValidating=function(){return!!e.validatePromise},e.isFieldTouched=function(){return e.touched},e.isFieldDirty=function(){return e.dirty},e.getErrors=function(){return e.errors},e.getMeta=function(){return e.prevValidating=e.isFieldValidating(),{touched:e.isFieldTouched(),validating:e.prevValidating,errors:e.errors,name:e.getNamePath()}},e.getOnlyChild=function(t){if("function"==typeof t){var n=e.getMeta();return Object(i.a)(Object(i.a)({},e.getOnlyChild(t(e.getControlled(),n,e.context))),{},{isFunction:!0})}var a=Object(f.a)(t);return 1===a.length&&r.isValidElement(a[0])?{child:a[0],isFunction:!1}:{child:a,isFunction:!1}},e.getValue=function(t){var n=e.context.getFieldsValue,r=e.getNamePath();return k(t||n(!0),r)},e.getControlled=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.props,r=n.trigger,a=n.validateTrigger,c=n.getValueFromEvent,u=n.normalize,s=n.valuePropName,l=n.getValueProps,p=void 0!==a?a:e.context.validateTrigger,f=e.getNamePath(),d=e.context,b=d.getInternalHooks,y=d.getFieldsValue,v=b(h.a),g=v.dispatch,_=e.getValue(),x=l||function(e){return Object(o.a)({},s,e)},w=t[r],j=Object(i.a)(Object(i.a)({},t),x(_));j[r]=function(){var t;e.touched=!0,e.dirty=!0;for(var n=arguments.length,r=new Array(n),a=0;a=0&&t<=n.length?(o.keys=[].concat(Object(c.a)(o.keys.slice(0,t)),[o.id],Object(c.a)(o.keys.slice(t))),i([].concat(Object(c.a)(n.slice(0,t)),[e],Object(c.a)(n.slice(t))))):(o.keys=[].concat(Object(c.a)(o.keys),[o.id]),i([].concat(Object(c.a)(n),[e]))),o.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(o.keys=o.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(o.keys=L(o.keys,e,t),i(L(n,e,t)))}}},f=r||[];return Array.isArray(f)||(f=[]),n(f.map((function(e,t){var n=o.keys[t];return void 0===n&&(o.keys[t]=o.id,n=o.keys[t],o.id+=1),{name:t,key:n,isListField:!0}})),p)})))},K=n("ODXe");var Q=function(){function e(){Object(u.a)(this,e),this.list=[]}return Object(s.a)(e,[{key:"set",value:function(e,t){var n=this.list.findIndex((function(t){return I(t.key,e)}));-1!==n?this.list[n].value=t:this.list.push({key:e,value:t})}},{key:"get",value:function(e){var t=this.list.find((function(t){return I(t.key,e)}));return t&&t.value}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.list=this.list.filter((function(t){return!I(t.key,e)}))}},{key:"map",value:function(e){return this.list.map(e)}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),J=function e(t){var n=this;Object(u.a)(this,e),this.formHooked=!1,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===h.a?(n.formHooked=!0,{dispatch:n.dispatch,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve}):(Object(d.a)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.setInitialValues=function(e,t){n.initialValues=e||{},t&&(n.store=A({},e,n.store))},this.getInitialValue=function(e){return k(n.initialValues,e)},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Q;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=O(e);return t.get(n)||{INVALIDATE_NAME_PATH:O(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),a=[];return r.forEach((function(e){var n="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(t){var r="getMeta"in e?e.getMeta():null;t(r)&&a.push(n)}else a.push(n)})),S(n.store,a.map(O))},this.getFieldValue=function(e){n.warningUnhooked();var t=O(e);return k(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors()}:{name:O(e[n]),errors:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=O(e);return n.getFieldsError([t])[0].errors},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Q,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var a=t.get(r)||new Set;a.add({entity:e,value:n}),t.set(r,a)}}));var a,o=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var a=r.getNamePath();if(void 0!==n.getInitialValue(a))Object(d.a)(!1,"Form already set 'initialValues' with path '".concat(a.join("."),"'. Field can not overwrite it."));else{var o=t.get(a);if(o&&o.size>1)Object(d.a)(!1,"Multiple Field with path '".concat(a.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var i=n.getFieldValue(a);e.skipExist&&void 0!==i||(n.store=E(n.store,a,Object(c.a)(o)[0].value))}}}}))};e.entities?a=e.entities:e.namePathList?(a=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=a).push.apply(n,Object(c.a)(Object(c.a)(r).map((function(e){return e.entity}))))}))):a=r,o(a)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.store=A({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(t,null,{type:"reset"});var r=e.map(O);r.forEach((function(e){var t=n.getInitialValue(e);n.store=E(n.store,e,t)})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"})},this.setFields=function(e){n.warningUnhooked();var t=n.store;e.forEach((function(e){var r=e.name,o=(e.errors,Object(a.a)(e,["name","errors"])),i=O(r);"value"in o&&(n.store=E(n.store,i,o.value)),n.notifyObservers(t,[i],{type:"setField",data:e})}))},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),a=Object(i.a)(Object(i.a)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(a,"originRCField",{value:!0}),a}))},this.registerField=function(e){if(n.fieldEntities.push(e),void 0!==e.props.initialValue){var t=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(t,r){if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!1===(void 0!==r?r:n.preserve)&&!t){var a=e.getNamePath();void 0!==n.getFieldValue(a)&&(n.store=E(n.store,a,void 0))}}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var a=e.namePath,o=e.triggerName;n.validateFields([a],{triggerName:o})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var a=Object(i.a)(Object(i.a)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,a)}))}else n.forceRootUpdate()},this.updateValue=function(e,t){var r=O(e),a=n.store;n.store=E(n.store,r,t),n.notifyObservers(a,[r],{type:"valueUpdate",source:"internal"});var o=n.getDependencyChildrenFields(r);n.validateFields(o),n.notifyObservers(a,o,{type:"dependenciesUpdate",relatedFields:[r].concat(Object(c.a)(o))});var i=n.callbacks.onValuesChange;i&&i(S(n.store,[r]),n.store);n.triggerOnFieldsChange([r].concat(Object(c.a)(o)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;e&&(n.store=A(n.store,e)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],a=new Q;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=O(t);a.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(a.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var a=n.getNamePath();n.isFieldDirty()&&a.length&&(r.push(a),e(a))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var a=n.getFields();if(t){var o=new Q;t.forEach((function(e){var t=e.name,n=e.errors;o.set(t,n)})),a.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}r(a.filter((function(t){var n=t.name;return P(e,n)})),a)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,a=r?e.map(O):[],o=[];n.getFieldEntities(!0).forEach((function(e){if(r||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var c=e.getNamePath();if(!r||P(a,c)){var u=e.validateRules(Object(i.a)({validateMessages:Object(i.a)(Object(i.a)({},R),n.validateMessages)},t));o.push(u.then((function(){return{name:c,errors:[]}})).catch((function(e){return Promise.reject({name:c,errors:e})})))}}}));var c=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(a,o){e.forEach((function(e,i){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[i]=e,n>0||(t&&o(r),a(r))}))}))})):Promise.resolve([])}(o);n.lastValidatePromise=c,c.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var u=c.then((function(){return n.lastValidatePromise===c?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==c})}));return u.catch((function(e){return e})),u},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t};var X=function(e){var t=r.useRef(),n=r.useState(),a=Object(K.a)(n,2)[1];if(!t.current)if(e)t.current=e;else{var o=new J((function(){a({})}));t.current=o.getForm()}return[t.current]},Z=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),$=function(e){var t=e.validateMessages,n=e.onFormChange,a=e.onFormFinish,c=e.children,u=r.useContext(Z),s=r.useRef({});return r.createElement(Z.Provider,{value:Object(i.a)(Object(i.a)({},u),{},{validateMessages:Object(i.a)(Object(i.a)({},u.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),u.triggerFormChange(e,t)},triggerFormFinish:function(e,t){a&&a(e,{values:t,forms:s.current}),u.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=Object(i.a)(Object(i.a)({},s.current),{},Object(o.a)({},e,t))),u.registerForm(e,t)},unregisterForm:function(e){var t=Object(i.a)({},s.current);delete t[e],s.current=t,u.unregisterForm(e)}})},c)},ee=Z,te=function(e,t){var n=e.name,o=e.initialValues,u=e.fields,s=e.form,l=e.preserve,p=e.children,f=e.component,d=void 0===f?"form":f,m=e.validateMessages,b=e.validateTrigger,y=void 0===b?"onChange":b,v=e.onValuesChange,_=e.onFieldsChange,x=e.onFinish,w=e.onFinishFailed,j=Object(a.a)(e,["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"]),O=r.useContext(ee),k=X(s),E=Object(K.a)(k,1)[0],S=E.getInternalHooks(h.a),P=S.useSubscribe,C=S.setInitialValues,T=S.setCallbacks,A=S.setValidateMessages,I=S.setPreserve;r.useImperativeHandle(t,(function(){return E})),r.useEffect((function(){return O.registerForm(n,E),function(){O.unregisterForm(n)}}),[O,E,n]),A(Object(i.a)(Object(i.a)({},O.validateMessages),m)),T({onValuesChange:v,onFieldsChange:function(e){if(O.triggerFormChange(n,e),_){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;ac;)i.push(String(t[c++])),c1?arguments[1]:void 0)}))},"8OGu": +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.is-concat-spreadable.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("isConcatSpreadable")},"8OQS": +/*!*****************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***! + \*****************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},"8OQV": +/*!*************************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/typed-array-constructors-require-wrappers.js ***! + \*************************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/check-correctness-of-iteration */"GPrf"),i=n(/*! ../internals/array-buffer-view-core */"FVwB").NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,u=r.Int8Array;e.exports=!i||!a((function(){u(1)}))||!a((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||a((function(){return 1!==new u(new c(2),1,void 0).length}))},"8Ubs": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.from.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Map",stat:!0},{from:n(/*! ../internals/collection-from */"aF2d")})},"8XRh": +/*!********************************************************!*\ + !*** ./node_modules/rc-motion/es/index.js + 5 modules ***! + \********************************************************/ +/*! exports provided: CSSMotionList, default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-select/es/Select.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js because of ./node_modules/rc-select/es/SelectTrigger.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/antd/es/form/FormItem.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t),n.d(t,"CSSMotionList",(function(){return F}));var r=n("rePB"),a=n("VTBJ"),o=n("1OyB"),i=n("vuIU"),c=n("JX7q"),u=n("Ji7U"),s=n("LK+K"),l=n("U8pU"),p=n("q1tI"),f=n("m+aA"),d=n("c+Xe"),h=n("TSYQ"),m=n.n(h),b=n("xEkU"),y=n.n(b),v=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var _,x,w,j=(_=v,x="undefined"!=typeof window?window:{},w={animationend:g("Animation","AnimationEnd"),transitionend:g("Transition","TransitionEnd")},_&&("AnimationEvent"in x||delete w.animationend.animation,"TransitionEvent"in x||delete w.transitionend.transition),w),O={};if(v){var k=document.createElement("div");O=k.style}var E={};function S(e){if(E[e])return E[e];var t=j[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a0&&(e.deadlineId=setTimeout((function(){e.onMotionEnd({deadline:!0})}),r))}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=y()(t)},e.cancelNextFrame=function(){e.raf&&(y.a.cancel(e.raf),e.raf=null)},e}return Object(i.a)(n,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var e,t=this.state,n=t.status,o=t.statusActive,i=t.statusStyle,c=this.props,u=c.children,s=c.motionName,l=c.visible,p=c.removeOnLeave,f=c.leavedClassName,d=c.eventProps;return u?"none"!==n&&h(this.props)?u(Object(a.a)(Object(a.a)({},d),{},{className:m()(A(s,n),(e={},Object(r.a)(e,A(s,"".concat(n,"-active")),o),Object(r.a)(e,s,"string"==typeof s),e)),style:i}),this.setNodeRef):l?u(Object(a.a)({},d),this.setNodeRef):p?null:u(Object(a.a)(Object(a.a)({},d),{},{className:f}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.status;if(!h(e))return{};var a=e.visible,o=e.motionAppear,i=e.motionEnter,c=e.motionLeave,u=e.motionLeaveImmediately,s={prevProps:e};return("appear"===r&&!o||"enter"===r&&!i||"leave"===r&&!c)&&(s.status="none",s.statusActive=!1,s.newStatus=!1),!n&&a&&o&&(s.status="appear",s.statusActive=!1,s.newStatus=!0),n&&!n.visible&&a&&i&&(s.status="enter",s.statusActive=!1,s.newStatus=!0),(n&&n.visible&&!a&&c||!n&&u&&!a&&c)&&(s.status="leave",s.statusActive=!1,s.newStatus=!0),s}}]),n}(p.Component);return b.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?p.forwardRef((function(e,t){return p.createElement(b,Object.assign({internalRef:t},e))})):b}(T),M=n("Ff2n");function L(e){var t;return t=e&&"object"===Object(l.a)(e)&&"key"in e?e:{key:e},Object(a.a)(Object(a.a)({},t),{},{key:String(t.key)})}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(L)}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=D(e),c=D(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return s.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||"remove"!==r}))).forEach((function(t){t.key===e&&(t.status="keep")}))})),n}var N=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=function(n){Object(u.a)(c,n);var r=Object(s.a)(c);function c(){var e;return Object(o.a)(this,c),(e=r.apply(this,arguments)).state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:Object(a.a)(Object(a.a)({},e),{},{status:"removed"})}))}}))},e}return Object(i.a)(c,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,a=r.component,o=r.children,i=Object(M.a)(r,["component","children"]),c=a||p.Fragment,u={};return N.forEach((function(e){u[e]=i[e],delete i[e]})),delete i.keys,p.createElement(c,Object.assign({},i),n.map((function(n){var r=n.status,a=Object(M.a)(n,["status"]),i="add"===r||"keep"===r;return p.createElement(t,Object.assign({},u,{key:a.key,visible:i,eventProps:a,onLeaveEnd:function(){u.onLeaveEnd&&u.onLeaveEnd.apply(u,arguments),e.removeKey(a.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,o=n.keyEntities,i=D(r);if(!e)return{keyEntities:i.map((function(e){return Object(a.a)(Object(a.a)({},e),{},{status:"keep"})}))};var c=R(o,i),u=o.length;return{keyEntities:c.filter((function(e){for(var t=null,n=0;n children");r=e}})),r}var v=n("UwPn"),g={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}},_=function(){function e(e,t){for(var n=0;n children");return p.a.createElement(O,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var a=t.component;if(a){var o=t;return"string"==typeof a&&(o=k({className:t.className,style:t.style},t.componentProps)),p.a.createElement(a,o,r)}return r[0]||null}}]),t}(p.a.Component);T.isAnimate=!0,T.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:C,onEnter:C,onLeave:C,onAppear:C};var A=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var a=m(P(r));e.isValidChildByKey(a,t)?"appear"===n?g.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):g.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,a,o,i,c=m(P(n));if(e.isValidChildByKey(c,t))e.performEnter(t);else{var u=function(){g.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,a=c,o=n.showProp,(i=r.length===a.length)&&r.forEach((function(e,t){var n=a[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||o&&e.props[o]!==n.props[o])&&(i=!1)})),i?u():e.setState({children:c},u)}}}},I=h(T),M=n("2GS6"),L=n("TSYQ"),D=n.n(L),R=n("EE3K"),N=n("8HVG");function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t=a&&(t.updateKey=c[0].notice.updateKey||c[0].notice.key,c.shift()),c.push({notice:t,holderCallback:n})),{notices:c}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){return e.notice.key!==t}))}}))},e}return Object(i.a)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,o=n.closeIcon,i=n.style,c=t.map((function(n,a){var i=n.notice,c=n.holderCallback,u=Boolean(a===t.length-1&&i.updateKey),s=i.updateKey?i.updateKey:i.key,l=Object(M.a)(e.remove.bind(e,i.key),i.onClose),f=U(U(U({prefixCls:r,closeIcon:o},i),i.props),{},{key:s,update:u,onClose:l,onClick:i.onClick,children:i.content});return c?p.a.createElement("div",{key:s,className:"".concat(r,"-hook-holder"),ref:function(t){void 0!==s&&(t?(e.hookRefs.set(s,t),c(t,f)):e.hookRefs.delete(s))}}):p.a.createElement(R.a,Object.assign({},f))}));return p.a.createElement("div",{className:D()(r,a),style:i},p.a.createElement(I,{transitionName:this.getTransitionName()},c))}}]),n}(l.Component);W.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},W.newInstance=function(e,t){var n=e||{},a=n.getContainer,o=Object(r.a)(n,["getContainer"]),i=document.createElement("div");a?a().appendChild(i):document.body.appendChild(i);var c=!1;d.a.render(p.a.createElement(W,Object.assign({},o,{ref:function(e){c||(c=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){d.a.unmountComponentAtNode(i),i.parentNode&&i.parentNode.removeChild(i)},useNotification:function(){return Object(N.a)(e)}}))}})),i)};var H=W;t.default=H},"8w+9": +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/document-create-element.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/is-object */"tSXo"),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"8yz6": +/*!**********************************************!*\ + !*** ./node_modules/split-on-first/index.js ***! + \**********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];var n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},"9/ry": +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.includes.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/not-a-regexp */"rjJZ"),o=n(/*! ../internals/require-object-coercible */"FCfD");r({target:"String",proto:!0,forced:!n(/*! ../internals/correct-is-regexp-logic */"C7V6")("includes")},{includes:function(e){return!!~String(o(this)).indexOf(a(e),arguments.length>1?arguments[1]:void 0)}})},"9BQv": +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.array.last-item.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/add-to-unscopables */"eNh0"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/object-define-property */"YfKC").f;r&&!("lastItem"in[])&&(c(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=o(this),t=i(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=o(this),n=i(t.length);return t[0==n?0:n-1]=e}}),a("lastItem"))},"9R94": +/*!****************************************************************!*\ + !*** ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js ***! + \****************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r="Invariant failed";function a(e,t){if(!e)throw new Error(r)}},"9RRT": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-reduce.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/a-function */"cT1L"),a=n(/*! ../internals/to-object */"cTDu"),o=n(/*! ../internals/indexed-object */"EzR6"),i=n(/*! ../internals/to-length */"oa35"),c=function(e){return function(t,n,c,u){r(n);var s=a(t),l=o(s),p=i(s.length),f=e?p-1:0,d=e?-1:1;if(c<2)for(;;){if(f in l){u=l[f],f+=d;break}if(f+=d,e?f<0:p<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:p>f;f+=d)f in l&&(u=n(u,l[f],f,s));return u}};e.exports={left:c(!1),right:c(!0)}},"9Rzw": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.difference.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/species-constructor */"/dTS"),s=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{difference:function(e){var t=i(this),n=new(u(t,o("Set")))(t),r=c(n.delete);return s(e,(function(e){r.call(n,e)})),n}})},"9SZg": +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/get-iterator-method.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/classof */"Ei+o"),a=n(/*! ../internals/iterators */"5yw/"),o=n(/*! ../internals/well-known-symbol */"2kyd")("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||a[r(e)]}},"9Y4n": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.bold.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("bold")},{bold:function(){return a(this,"b","","")}})},"9bAj": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.reduce.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/a-function */"cT1L"),c=n(/*! ../internals/get-map-iterator */"PPXv"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Map",proto:!0,real:!0,forced:a},{reduce:function(e){var t=o(this),n=c(t),r=arguments.length<2,a=r?void 0:arguments[1];if(i(e),u(n,(function(n,o){r?(r=!1,a=o):a=e(a,o,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return a}})},"9hUv": +/*!**************************************!*\ + !*** ./src/models/messages/index.ts ***! + \**************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/messages */"5WQS"),c={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{getPrivateMessageDetails:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.b,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{privateMessageDetails:u||[]}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),getTidings:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.e,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{tidingsList:u||[]}});case 7:case"end":return e.stop()}}),e)})),getPrivateMessages:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.c,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{privateMessage:u||[]}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),getUsersForPrivateMessages:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.f,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{userPrivateMessage:u||[]}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),unreadMessageInfo:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.h,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{unreadInfo:u||[]}});case 7:case"end":return e.stop()}}),e)})),getRecentContacts:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.d,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{recentContacts:u||[]}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},"9kvl": +/*!*************************************************************!*\ + !*** ./src/.umi-production/core/umiExports.ts + 17 modules ***! + \*************************************************************/ +/*! exports provided: history, plugin, connect, useDispatch, useStore, useSelector, getDvaApp, evaluateListHeaderKey, __PLUGIN_INITIAL_STATE, createIntl, FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedHTMLMessage, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, IntlContext, IntlProvider, RawIntlProvider, createIntlCache, defineMessages, injectIntl, useIntl, localeInfo, addLocale, getIntl, setIntl, getLocale, getDirection, setLocale, formatMessage, getAllLocales, SelectLang, useModel, ErrorShowType, request, useRequest, UseRequestProvider, Helmet */ +/*! exports used: connect, evaluateListHeaderKey, getDvaApp, history, plugin, setLocale */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends.js because of ./src/pages/MyProblem/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/history.ts because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/plugin.ts because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-dva/connect.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-dva/exports.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-locale/localeExports.ts because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-model/useModel.tsx because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/runtime/dist/index.esm.js because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/notification/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/notification/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash.debounce/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash.throttle/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-helmet/es/Helmet.js (<- Module uses injected variables (global)) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/umi-request/dist/index.esm.js (<- Module uses injected variables (process)) */function(e,t,n){"use strict";n.d(t,"d",(function(){return r.b})),n.d(t,"e",(function(){return a.a})),n.d(t,"a",(function(){return o.a})),n.d(t,"c",(function(){return o.b})),n.d(t,"b",(function(){return i.a})),n.d(t,"f",(function(){return c.g}));var r=n("FfOG"),a=n("bCY9"),o=n("p12T"),i=n("cFGR"),c=n("Fghh"),u=n("jrin"),s=(n("k1fw"),n("qVdP"),n("jsC+"),n("0Owb"),n("PpiC"),n("q1tI")),l=n.n(s),p=(Object(u.a)({"ar-EG":{lang:"ar-EG",label:"العربية",icon:"🇪🇬",title:"لغة"},"az-AZ":{lang:"az-AZ",label:"Azərbaycan dili",icon:"🇦🇿",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"Български език",icon:"🇧🇬",title:"език"},"ca-ES":{lang:"ca-ES",label:"Catalá",icon:"🇨🇦",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"Čeština",icon:"🇨🇿",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"🇩🇰",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"🇩🇪",title:"Sprache"},"el-GR":{lang:"el-GR",label:"Ελληνικά",icon:"🇬🇷",title:"Γλώσσα"},"en-GB":{lang:"en-GB",label:"English",icon:"🇬🇧",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"🇺🇸",title:"Language"},"es-ES":{lang:"es-ES",label:"Español",icon:"🇪🇸",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"🇪🇪",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"فارسی",icon:"🇮🇷",title:"زبان"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"🇫🇮",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Français",icon:"🇧🇪",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Français",icon:"🇫🇷",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"🇮🇪",title:"Teanga"},"he-IL":{lang:"he-IL",label:"עברית",icon:"🇮🇱",title:"שפה"},"hi-IN":{lang:"hi-IN",label:"हिन्दी, हिंदी",icon:"🇮🇳",title:"भाषा: हिन्दी"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"🇭🇷",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"🇭🇺",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"Հայերեն",icon:"🇦🇲",title:"Լեզու"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"🇮🇩",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"🇮🇹",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"Íslenska",icon:"🇮🇸",title:"Tungumál"},"ja-JP":{lang:"ja-JP",label:"日本語",icon:"🇯🇵",title:"言語"},"ku-IQ":{lang:"ku-IQ",label:"کوردی",icon:"🇮🇶",title:"Ziman"},"kn-IN":{lang:"zh-TW",label:"ಕನ್ನಡ",icon:"🇮🇳",title:"ಭಾಷೆ"},"ko-KR":{lang:"ko-KR",label:"한국어",icon:"🇰🇷",title:"언어"},"lv-LV":{lang:"lv-LV",label:"Latviešu valoda",icon:"🇱🇮",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"македонски јазик",icon:"🇲🇰",title:"Јазик"},"mn-MN":{lang:"mn-MN",label:"Монгол хэл",icon:"🇲🇳",title:"Хэл"},"ms-MY":{lang:"ms-MY",label:"بهاس ملايو‎",icon:"🇲🇾",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"🇳🇴",title:"Språk"},"ne-NP":{lang:"ne-NP",label:"नेपाली",icon:"🇳🇵",title:"भाषा"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"🇧🇪",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"🇳🇱",title:"Taal"},"pt-BR":{lang:"pt-BR",label:"Português",icon:"🇧🇷",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Português",icon:"🇵🇹",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Română",icon:"🇷🇴",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"русский",icon:"🇷🇺",title:"язык"},"sk-SK":{lang:"sk-SK",label:"Slovenčina",icon:"🇸🇰",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"српски језик",icon:"🇸🇷",title:"Језик"},"sl-SI":{lang:"sl-SI",label:"Slovenščina",icon:"🇸🇱",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"🇸🇪",title:"Språk"},"ta-IN":{lang:"ta-IN",label:"தமிழ்",icon:"🇮🇳",title:"மொழி"},"th-TH":{lang:"th-TH",label:"ไทย",icon:"🇹🇭",title:"ภาษา"},"tr-TR":{lang:"tr-TR",label:"Türkçe",icon:"🇹🇷",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"Українська",icon:"🇺🇰",title:"Мова"},"vi-VN":{lang:"vi-VN",label:"Tiếng Việt",icon:"🇻🇳",title:"Ngôn ngữ"},"zh-CN":{lang:"zh-CN",label:"简体中文",icon:"🇨🇳",title:"语言"},"zh-TW":{lang:"zh-TW",label:"繁体中文",icon:"🇭🇰",title:"語言"}},"zh-TW",{lang:"zh-TW",label:"繁体中文",icon:"🇹🇼",title:"語言"}),n("I5X1"),n("9og8"),n("/xke"),n("TeRw"),n("miYZ"),n("tsqr"),n("WmNS"),n("ZqBY"),n("LtsZ"),n("9/5/")),f=n.n(p),d=n("hKI/"),h=n.n(d);function m(){return"undefined"==typeof document||void 0===document.visibilityState||"hidden"!==document.visibilityState}new Map;var b=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i},y=function(){for(var e=[],t=0;t0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i},S=function(){for(var e=[],t=0;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Z(e){var t,n,r;if(Y.isWindow(e)||9===e.nodeType){var a=Y.getWindow(e);t={left:Y.getWindowScrollLeft(a),top:Y.getWindowScrollTop(a)},n=Y.viewportWidth(a),r=Y.viewportHeight(a)}else t=Y.offset(e),n=Y.outerWidth(e),r=Y.outerHeight(e);return t.width=n,t.height=r,t}function $(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,c=e.top;return"c"===n?c+=o/2:"b"===n&&(c+=o),"c"===r?i+=a/2:"r"===r&&(i+=a),{left:i,top:c}}function ee(e,t,n,r,a){var o=$(t,n[1]),i=$(e,n[0]),c=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-c[0]+r[0]-a[0]),top:Math.round(e.top-c[1]+r[1]-a[1])}}function te(e,t,n){return e.leftn.right}function ne(e,t,n){return e.topn.bottom}function re(e,t,n){var r=[];return Y.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function ae(e,t){return e[t]=-e[t],e}function oe(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function ie(e,t){e[0]=oe(e[0],t.width),e[1]=oe(e[1],t.height)}function ce(e,t,n,r){var a=n.points,o=n.offset||[0,0],i=n.targetOffset||[0,0],c=n.overflow,u=n.source||e;o=[].concat(o),i=[].concat(i);var s={},l=0,p=X(u,!(!(c=c||{})||!c.alwaysByViewport)),f=Z(u);ie(o,f),ie(i,t);var d=ee(f,t,a,o,i),h=Y.merge(f,d);if(p&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&te(d,f,p)){var m=re(a,/[lr]/gi,{l:"r",r:"l"}),b=ae(o,0),y=ae(i,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),Y.mix(a,o)}(d,f,p,s))}return h.width!==f.width&&Y.css(u,"width",Y.width(u)+h.width-f.width),h.height!==f.height&&Y.css(u,"height",Y.height(u)+h.height-f.height),Y.offset(u,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:a,offset:o,targetOffset:i,overflow:s}}function ue(e,t,n){var r=n.target||t;return ce(e,Z(r),n,!function(e,t){var n=X(e,t),r=Z(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}ue.__getOffsetParent=Q,ue.__getVisibleRectForElement=X;var se=n("zT1h"),le=n("Y+p1"),pe=n.n(le),fe=n("bdgK"),de=n("l4aY");function he(e,t){var n=null,r=null;var o=new fe.default((function(e){var o=Object(a.a)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),c=i.width,u=i.height,s=Math.floor(c),l=Math.floor(u);n===s&&r===l||Promise.resolve().then((function(){t({width:s,height:l})})),n=s,r=l}}));return e&&o.observe(e),function(){o.disconnect()}}function me(e){return"function"!=typeof e?null:e()}function be(e){return"object"===Object(o.a)(e)&&e?e:null}var ye=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,s=e.onAlign,p=e.monitorWindowResize,f=e.monitorBufferTime,d=void 0===f?0:f,h=c.a.useRef({}),m=c.a.useRef(),b=c.a.Children.only(n),y=c.a.useRef({});y.current.disabled=r,y.current.target=o,y.current.align=i,y.current.onAlign=s;var v=function(e,t){var n=c.a.useRef(!1),r=c.a.useRef(null);function a(){window.clearTimeout(r.current)}return[function o(i){if(n.current&&!0!==i)a(),r.current=window.setTimeout((function(){n.current=!1,o()}),t);else{if(!1===e())return;n.current=!0,a(),r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,a()}]}((function(){var e=y.current,t=e.disabled,n=e.target,r=e.align,a=e.onAlign;if(!t&&n){var o,i=m.current,c=me(n),u=be(n);h.current.element=c,h.current.point=u,h.current.align=r;var s=document.activeElement;return c&&function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}(c)?o=ue(i,c,r):u&&(o=function(e,t,n){var r,a,o=Y.getDocument(e),i=o.defaultView||o.parentWindow,c=Y.getWindowScrollLeft(i),u=Y.getWindowScrollTop(i),s=Y.viewportWidth(i),p=Y.viewportHeight(i),f={left:r="pageX"in t?t.pageX:c+t.clientX,top:a="pageY"in t?t.pageY:u+t.clientY,width:0,height:0},d=r>=0&&r<=c+s&&a>=0&&a<=u+p,h=[n.points[0],"cc"];return ce(e,f,l(l({},n),{},{points:h}),d)}(i,u,r)),function(e,t){e!==document.activeElement&&Object(de.a)(t,e)&&"function"==typeof e.focus&&e.focus()}(s,i),a&&o&&a(i,o),!0}return!1}),d),g=Object(a.a)(v,2),_=g[0],x=g[1],w=c.a.useRef({cancel:function(){}}),j=c.a.useRef({cancel:function(){}});c.a.useEffect((function(){var e,t,n=me(o),r=be(o);m.current!==j.current.element&&(j.current.cancel(),j.current.element=m.current,j.current.cancel=he(m.current,_)),h.current.element===n&&((e=h.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&pe()(h.current.align,i)||(_(),w.current.element!==n&&(w.current.cancel(),w.current.element=n,w.current.cancel=he(n,_)))})),c.a.useEffect((function(){r?x():_()}),[r]);var O=c.a.useRef(null);return c.a.useEffect((function(){p?O.current||(O.current=Object(se.a)(window,"resize",_)):O.current&&(O.current.remove(),O.current=null)}),[p]),c.a.useEffect((function(){return function(){w.current.cancel(),j.current.cancel(),O.current&&O.current.remove(),x()}}),[]),c.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return _(!0)}}})),c.a.isValidElement(b)&&(b=c.a.cloneElement(b,{ref:Object(u.a)(b.ref,m)})),b},ve=c.a.forwardRef(ye);ve.displayName="Align";var ge=ve;t.a=ge},"9og8": +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***! + \**********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var c=e[o](i),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function c(e){r(i,a,o,c,u,"next",e)}function u(e){r(i,a,o,c,u,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return a}))},"9xmf": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./arrayLikeToArray */"EdiO");e.exports=function(e){if(Array.isArray(e))return r(e)}},"9zP7": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.is.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Object",stat:!0},{is:n(/*! ../internals/same-value */"UPML")})},"9znl": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.from.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Set",stat:!0},{from:n(/*! ../internals/collection-from */"aF2d")})},"A+b4": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.trim-start.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-trim */"mTKU").start,o=n(/*! ../internals/string-trim-forced */"HKQd")("trimStart"),i=o?function(){return a(this)}:"".trimStart;r({target:"String",proto:!0,forced:o},{trimStart:i,trimLeft:i})},A9H8: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.from-entries.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/iterate */"IuhT"),o=n(/*! ../internals/create-property */"arQb");r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return a(e,(function(e,n){o(t,e,n)}),void 0,!0),t}})},AGcU: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.fround.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{fround:n(/*! ../internals/math-fround */"jdp+")})},AM7I: +/*!*********************************************!*\ + !*** ./node_modules/get-intrinsic/index.js ***! + \*********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=SyntaxError,a=Function,o=TypeError,i=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new o},s=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,l=n(/*! has-symbols */"UVaH")(),p=Object.getPrototypeOf||function(e){return e.__proto__},f={},d="undefined"==typeof Uint8Array?void 0:p(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":l?p([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":f,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?p(p([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?p((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?p((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?p(""[Symbol.iterator]()):void 0,"%Symbol%":l?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":s,"%TypedArray%":d,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},m={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(/*! function-bind */"D3zA"),y=n(/*! has */"oNNP"),v=b.call(Function.call,Array.prototype.concat),g=b.call(Function.apply,Array.prototype.splice),_=b.call(Function.call,String.prototype.replace),x=b.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,O=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var a=[];return _(e,w,(function(e,t,n,r){a[a.length]=n?_(r,j,"$1"):t||e})),a},k=function(e,t){var n,a=e;if(y(m,a)&&(a="%"+(n=m[a])[0]+"%"),y(h,a)){var c=h[a];if(c===f&&(c=function e(t){var n;if("%AsyncFunction%"===t)n=i("async function () {}");else if("%GeneratorFunction%"===t)n=i("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=i("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&(n=p(a.prototype))}return h[t]=n,n}(a)),void 0===c&&!t)throw new o("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:c}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new o('"allowMissing" argument must be a boolean');var n=O(e),a=n.length>0?n[0]:"",i=k("%"+a+"%",t),u=i.name,s=i.value,l=!1,p=i.alias;p&&(a=p[0],g(n,v([0,1],p)));for(var f=1,d=!0;f=n.length){var w=c(s,m);s=(d=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:s[m]}else d=y(s,m),s=s[m];d&&!l&&(h[u]=s)}}return s}},ANhw: +/*!*************************************!*\ + !*** ./node_modules/crypt/crypt.js ***! + \*************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,a=0;r>>6-2*a);return t}},e.exports=r},ANjH: +/*!****************************************!*\ + !*** ./node_modules/redux/es/redux.js ***! + \****************************************/ +/*! exports provided: __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore */ +/*! exports used: applyMiddleware, bindActionCreators, combineReducers, compose, createStore */function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return s}));var r=n(/*! @babel/runtime/helpers/esm/objectSpread2 */"VTBJ");function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"==typeof Symbol&&Symbol.observable||"@@observable",i=function(){return Math.random().toString(36).substring(7).split("").join(".")},c={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function u(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function s(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(a(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(a(1));return n(s)(e,t)}if("function"!=typeof e)throw new Error(a(2));var i=e,l=t,p=[],f=p,d=!1;function h(){f===p&&(f=p.slice())}function m(){if(d)throw new Error(a(3));return l}function b(e){if("function"!=typeof e)throw new Error(a(4));if(d)throw new Error(a(5));var t=!0;return h(),f.push(e),function(){if(t){if(d)throw new Error(a(6));t=!1,h();var n=f.indexOf(e);f.splice(n,1),p=null}}}function y(e){if(!u(e))throw new Error(a(7));if(void 0===e.type)throw new Error(a(8));if(d)throw new Error(a(9));try{d=!0,l=i(l,e)}finally{d=!1}for(var t=p=f,n=0;n2&&void 0!==arguments[2]&&arguments[2];return{type:r,payload:{location:e,action:t,isFirstRendering:n}}},o="@@router/CALL_HISTORY_METHOD",i=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r2?arguments[2]:void 0,p=i((void 0===l?c:a(l,c))-s,c-u),f=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=f,s+=f;return n}},AqCL: +/*!*******************************************************************!*\ + !*** ./node_modules/path-to-regexp/node_modules/isarray/index.js ***! + \*******************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},Auwt: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.includes.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/get-map-iterator */"PPXv"),c=n(/*! ../internals/same-value-zero */"bwJD"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Map",proto:!0,real:!0,forced:a},{includes:function(e){return u(i(o(this)),(function(t,n){if(c(n,e))return u.stop()}),void 0,!0,!0).stopped}})},"B/G0": +/*!********************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.get-own-property-descriptors.js ***! + \********************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/descriptors */"tny8"),o=n(/*! ../internals/own-keys */"cC5k"),i=n(/*! ../internals/to-indexed-object */"0qr0"),c=n(/*! ../internals/object-get-own-property-descriptor */"g8rt"),u=n(/*! ../internals/create-property */"arQb");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),a=c.f,s=o(r),l={},p=0;s.length>p;)void 0!==(n=a(r,t=s[p++]))&&u(l,t,n);return l}})},"B/J0": +/*!**************************************************!*\ + !*** ./node_modules/hash.js/lib/hash/sha/224.js ***! + \**************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../utils */"w8CP"),a=n(/*! ./256 */"bu2F");function o(){if(!(this instanceof o))return new o;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,a),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},B3m4: +/*!***********************************!*\ + !*** ./src/service/graduation.ts ***! + \***********************************/ +/*! exports provided: getTasksDetail, getTasksListDetail, getTopisDetail, getTopisDetailList, refuseTopic, agreeTopic, getReplyList, createReply, replyLike, replyUnLike, deleteReply, addTopicDefaultData, editTopicDefaultData, addTopic, editTopic, addTasks, editTasks, editTasksDefaultData */ +/*! exports used: addTasks, addTopic, addTopicDefaultData, agreeTopic, createReply, deleteReply, editTasks, editTasksDefaultData, editTopic, editTopicDefaultData, getReplyList, getTasksDetail, getTasksListDetail, getTopisDetail, getTopisDetailList, refuseTopic, replyLike, replyUnLike */function(e,t,n){"use strict";n.d(t,"l",(function(){return u})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return h})),n.d(t,"p",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"k",(function(){return _})),n.d(t,"e",(function(){return w})),n.d(t,"q",(function(){return O})),n.d(t,"r",(function(){return E})),n.d(t,"f",(function(){return P})),n.d(t,"c",(function(){return T})),n.d(t,"j",(function(){return I})),n.d(t,"b",(function(){return L})),n.d(t,"i",(function(){return R})),n.d(t,"a",(function(){return F})),n.d(t,"g",(function(){return z})),n.d(t,"h",(function(){return q}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/graduation_tasks/".concat(t.categoryId,".json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/graduation_tasks/".concat(t.categoryId,"/tasks_list.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId,"/show_detail.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId,".json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId,"/refuse_student_topic.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId,"/accept_student_topic.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/homework_commons/".concat(t.categoryId,"/show_comment.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/reply_message.json",{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/praise_tread/like.json",{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/praise_tread/unlike.json",{method:"delete",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/commons/delete.json",{method:"delete",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/new.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId,"/edit.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_topics/").concat(t.categoryId),{method:"put",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_tasks"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/graduation_tasks/".concat(t.categoryId,".json"),{method:"put",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/graduation_tasks/".concat(t.categoryId,"/edit.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},BEtg: +/*!*****************************************!*\ + !*** ./node_modules/is-buffer/index.js ***! + \*****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},"BGR+": +/*!******************************************!*\ + !*** ./node_modules/omit.js/es/index.js ***! + \******************************************/ +/*! exports provided: default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require) */function(e,t,n){"use strict";n.r(t),t.default=function(e,t){for(var n=Object.assign({},e),r=0;r1?arguments[1]:void 0,(function(e,t){return new(c(o(e,e.constructor)))(t)}))}))},Bnag: +/*!******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***! + \******************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},Bnwu: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.log1p.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{log1p:n(/*! ../internals/math-log1p */"egz/")})},BsWD: +/*!*******************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***! + \*******************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! ./arrayLikeToArray.js */"a3WO");function a(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},BtTS: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.int16-array.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/typed-array-constructor */"Mi8B")("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},C3pJ: +/*!************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/task.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,a,o,i=n(/*! ../internals/global */"ukPv"),c=n(/*! ../internals/fails */"MVys"),u=n(/*! ../internals/classof-raw */"UwrT"),s=n(/*! ../internals/function-bind-context */"7BAe"),l=n(/*! ../internals/html */"yj7k"),p=n(/*! ../internals/document-create-element */"8w+9"),f=n(/*! ../internals/engine-is-ios */"xRZI"),d=i.location,h=i.setImmediate,m=i.clearImmediate,b=i.process,y=i.MessageChannel,v=i.Dispatch,g=0,_={},x=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},w=function(e){return function(){x(e)}},j=function(e){x(e.data)},O=function(e){i.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++g]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(g),g},m=function(e){delete _[e]},"process"==u(b)?r=function(e){b.nextTick(w(e))}:v&&v.now?r=function(e){v.now(w(e))}:y&&!f?(o=(a=new y).port2,a.port1.onmessage=j,r=s(o.postMessage,o,1)):!i.addEventListener||"function"!=typeof postMessage||i.importScripts||c(O)||"file:"===d.protocol?r="onreadystatechange"in p("script")?function(e){l.appendChild(p("script")).onreadystatechange=function(){l.removeChild(this),x(e)}}:function(e){setTimeout(w(e),0)}:(r=O,i.addEventListener("message",j,!1))),e.exports={set:h,clear:m}},C7V6: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/correct-is-regexp-logic.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/well-known-symbol */"2kyd")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},CO2k: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.union.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/species-constructor */"/dTS"),s=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{union:function(e){var t=i(this),n=new(u(t,o("Set")))(t);return s(e,c(n.add),n),n}})},CRpX: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.dom-collections.iterator.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/dom-iterables */"XX5T"),o=n(/*! ../modules/es.array.iterator */"FbcW"),i=n(/*! ../internals/create-non-enumerable-property */"lz10"),c=n(/*! ../internals/well-known-symbol */"2kyd"),u=c("iterator"),s=c("toStringTag"),l=o.values;for(var p in a){var f=r[p],d=f&&f.prototype;if(d){if(d[u]!==l)try{i(d,u,l)}catch(e){d[u]=l}if(d[s]||i(d,s,p),a[p])for(var h in o)if(d[h]!==o[h])try{i(d,h,o[h])}catch(e){d[h]=o[h]}}}},CSFr: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.imul.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=Math.imul;r({target:"Math",stat:!0,forced:a((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r;return 0|a*o+((65535&n>>>16)*o+a*(65535&r>>>16)<<16>>>0)}})},CWID: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.find.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/array-iteration */"zv1X").find,o=n(/*! ../internals/add-to-unscopables */"eNh0"),i=n(/*! ../internals/array-method-uses-to-length */"kGMc"),c=!0,u=i("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("find")},Cb9Y: +/*!****************************************!*\ + !*** ./src/models/classrooms/polls.ts ***! + \****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/polls */"tgas"),c={namespace:"polls",state:{name:"普通试卷,随机试卷详情页面",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{getPollsList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.p,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{pollsList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCommonHeader:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.l,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{commonHeader:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPollsStatistics:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.r,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{statisticsList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getBrankList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.k,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{brankList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),saveBanks:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.y,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),getPollsCourses:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.o,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{pollsCoursesList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPollsSetting:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.q,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{pollSetting:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),editPolls:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.g,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{editData:Object(r.a)({},JSON.parse(JSON.stringify(s)))}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getEndGroups:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.m,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{endGroups:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPublishGroups:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.s,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{publishGroups:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getExerciseBanks:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.n,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{exerciseBanks:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},CdV7: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-to-array.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/object-keys */"P0e2"),o=n(/*! ../internals/to-indexed-object */"0qr0"),i=n(/*! ../internals/object-property-is-enumerable */"e3V2").f,c=function(e){return function(t){for(var n,c=o(t),u=a(c),s=u.length,l=0,p=[];s>l;)n=u[l++],r&&!i.call(c,n)||p.push(e?[n,c[n]]:c[n]);return p}};e.exports={entries:c(!0),values:c(!1)}},CiB2: +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js ***! + \******************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}n.d(t,"a",(function(){return r}))},CjUg: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/shared-key.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/shared */"xxaU"),a=n(/*! ../internals/uid */"evbn"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},CkqQ: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.asinh.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.asinh,o=Math.log,i=Math.sqrt;r({target:"Math",stat:!0,forced:!(a&&1/a(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):o(t+i(t*t+1)):t}})},Cq6t: +/*!***************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/ieee754.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n=Math.abs,r=Math.pow,a=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,t,c){var u,s,l,p=new Array(c),f=8*c-t-1,d=(1<>1,m=23===t?r(2,-24)-r(2,-77):0,b=e<0||0===e&&1/e<0?1:0,y=0;for((e=n(e))!=e||e===1/0?(s=e!=e?1:0,u=d):(u=a(o(e)/i),e*(l=r(2,-u))<1&&(u--,l*=2),(e+=u+h>=1?m/l:m*r(2,1-h))*l>=2&&(u++,l/=2),u+h>=d?(s=0,u=d):u+h>=1?(s=(e*l-1)*r(2,t),u+=h):(s=e*r(2,h-1)*r(2,t),u=0));t>=8;p[y++]=255&s,s/=256,t-=8);for(u=u<0;p[y++]=255&u,u/=256,f-=8);return p[--y]|=128*b,p},unpack:function(e,t){var n,a=e.length,o=8*a-t-1,i=(1<>1,u=o-7,s=a-1,l=e[s--],p=127&l;for(l>>=7;u>0;p=256*p+e[s],s--,u-=8);for(n=p&(1<<-u)-1,p>>=-u,u+=t;u>0;n=256*n+e[s],s--,u-=8);if(0===p)p=1-c;else{if(p===i)return n?NaN:l?-1/0:1/0;n+=r(2,t),p-=c}return(l?-1:1)*n*r(2,p-t)}}},D1Ff: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.reflect.has.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},D3zA: +/*!*********************************************!*\ + !*** ./node_modules/function-bind/index.js ***! + \*********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./implementation */"aI7X");e.exports=Function.prototype.bind||r},DMUC: +/*!*******************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.get-own-property-descriptor.js ***! + \*******************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/to-indexed-object */"0qr0"),i=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,c=n(/*! ../internals/descriptors */"tny8"),u=a((function(){i(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return i(o(e),t)}})},DSFK: +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},DUzY: +/*!***************************************************************************************!*\ + !*** ./node_modules/react-redux/node_modules/react-is/cjs/react-is.production.min.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/** @license React v17.0.2 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=60103,a=60106,o=60107,i=60108,c=60114,u=60109,s=60110,l=60112,p=60113,f=60120,d=60115,h=60116,m=60121,b=60122,y=60117,v=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var _=Symbol.for;r=_("react.element"),a=_("react.portal"),o=_("react.fragment"),i=_("react.strict_mode"),c=_("react.profiler"),u=_("react.provider"),s=_("react.context"),l=_("react.forward_ref"),p=_("react.suspense"),f=_("react.suspense_list"),d=_("react.memo"),h=_("react.lazy"),m=_("react.block"),b=_("react.server.block"),y=_("react.fundamental"),v=_("react.debug_trace_mode"),g=_("react.legacy_hidden")}function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case c:case i:case p:case f:return e;default:switch(e=e&&e.$$typeof){case s:case l:case h:case d:case u:return e;default:return t}}case a:return t}}}var w=u,j=r,O=l,k=o,E=h,S=d,P=a,C=c,T=i,A=p;t.ContextConsumer=s,t.ContextProvider=w,t.Element=j,t.ForwardRef=O,t.Fragment=k,t.Lazy=E,t.Memo=S,t.Portal=P,t.Profiler=C,t.StrictMode=T,t.Suspense=A,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===l},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===h},t.isMemo=function(e){return x(e)===d},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===i},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===v||e===i||e===p||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===u||e.$$typeof===s||e.$$typeof===l||e.$$typeof===y||e.$$typeof===m||e[0]===b)},t.typeOf=x},DVoG: +/*!*************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.reflect.has-own-metadata.js ***! + \*************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/reflect-metadata */"ls1J"),o=n(/*! ../internals/an-object */"f1E4"),i=a.has,c=a.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return i(e,o(t),n)}})},DVom: +/*!**************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.get-own-property-names.js ***! + \**************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/object-get-own-property-names-external */"IGnA").f;r({target:"Object",stat:!0,forced:a((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},Dbv2: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.update.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/a-function */"cT1L");r({target:"Map",proto:!0,real:!0,forced:a},{update:function(e,t){var n=o(this),r=arguments.length;i(t);var a=n.has(e);if(!a&&r<3)throw TypeError("Updating absent value");var c=a?n.get(e):i(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(c,e,n)),n}})},De94: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/enum-bug-keys.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},Di6M: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-punycode-to-ascii.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,c=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},l=function(e){var t,n,r=[],a=(e=function(e){for(var t=[],n=0,r=e.length;n=55296&&a<=56319&&n=l&&ni((2147483647-p)/b))throw RangeError(o);for(p+=(m-l)*b,l=m,t=0;t2147483647)throw RangeError(o);if(n==l){for(var y=p,v=36;;v+=36){var g=v<=f?1:v>=f+26?26:v-f;if(y")})),l="$0"==="a".replace(/./,"$0"),p=o("replace"),f=!!/./[p]&&""===/./[p]("a","$0"),d=!a((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,p){var h=o(e),m=!a((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),b=m&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!b||"replace"===e&&(!s||!l||f)||"split"===e&&!d){var y=/./[h],v=n(h,""[e],(function(e,t,n,r,a){return t.exec===i?m&&!a?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),g=v[0],_=v[1];r(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}p&&c(RegExp.prototype[h],"sham",!0)}},EOz7: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.starts-with.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a=n(/*! ../internals/export */"MMxC"),o=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/not-a-regexp */"rjJZ"),u=n(/*! ../internals/require-object-coercible */"FCfD"),s=n(/*! ../internals/correct-is-regexp-logic */"C7V6"),l=n(/*! ../internals/is-pure */"Zcjx"),p="".startsWith,f=Math.min,d=s("startsWith");a({target:"String",proto:!0,forced:!!(l||d||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!d},{startsWith:function(e){var t=String(u(this));c(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return p?p.call(t,r,n):t.slice(n,n+r.length)===r}})},EbDI: +/*!****************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***! + \****************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},EdiO: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ni;){if(t=+arguments[i++],a(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},ErOA: +/*!****************************!*\ + !*** ./src/utils/fetch.ts ***! + \****************************/ +/*! exports provided: parseParams, default, get, getqq, post, put, del */ +/*! exports used: default, del, get, getqq, parseParams, post, put */function(e,t,n){"use strict";n.d(t,"e",(function(){return g})),n.d(t,"a",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"d",(function(){return k})),n.d(t,"f",(function(){return E})),n.d(t,"g",(function(){return S})),n.d(t,"b",(function(){return P}));n(/*! antd/es/message/style */"miYZ");var r,a=n(/*! antd/es/message */"tsqr"),o=(n(/*! antd/es/modal/style */"2qtc"),n(/*! antd/es/modal */"kLXV")),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),c=(n(/*! antd/es/notification/style */"/xke"),n(/*! antd/es/notification */"TeRw")),u=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),s=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),l=n.n(s),p=n(/*! dva */"LpSC"),f=n.n(p),d=n(/*! ./env */"m3rI"),h=n(/*! hash.js */"fZJM"),m=n.n(h),b=n(/*! umi */"9kvl"),y={200:"服务器成功返回请求的数据。",201:"新建或修改数据成功。",202:"一个请求已经进入后台排队(异步任务)。",204:"删除数据成功。",400:"发出的请求有错误,服务器没有进行新建或修改数据的操作。",401:"用户没有权限(令牌、用户名、密码错误)。",403:"用户得到授权,但是访问是被禁止的。",404:"发出的请求针对的是不存在的记录,服务器没有进行操作。",406:"请求的格式不可得。",410:"请求的资源被永久删除,且不会再得到的。",422:"当创建一个对象时,发生一个验证错误。",500:"服务器发生错误,请检查服务器。",502:"网关错误。",503:"服务不可用,服务器暂时过载或维护。",504:"网关超时。"},v=function(){var e=Object(u.a)(l.a.mark((function e(t,n){var r,a,o,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.status>=200&&t.status<300)){e.next=2;break}return e.abrupt("return",t);case 2:return r=y[t.status]||t.statusText,o=t.json(),e.next=7,o.then((function(e,n){setTimeout((function(){Object(b.c)()}),400),a=e.message,c.a.error({style:{wordBreak:"break-all"},message:e.message||"请求错误 ".concat(t.status,": ").concat(t.message),description:e.message?"":r})}));case 7:throw(i=new Error(r)).name=t.status,i.response=t,{data:t,code:t.status,message:a||r};case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),g=function(e){e=e||{};var t="",n=function(n){"object"==typeof e[n]?Array.isArray(e[n])&&e[n].forEach((function(e,r){t+="&"+n+"[]="+e})):t+="&"+n+"="+e[n]};for(var r in e)n(r);return t.substr(1)};function _(e,t,n){!t.method&&(t.method="get"),t.method=t.method.toUpperCase(),t.mode="cors";var a=Object(i.a)({},t),s=e+(a.body?JSON.stringify(a.body):""),p=(m.a.sha256().update(s).digest("hex"),Object(i.a)(Object(i.a)({},{credentials:"include",withCredentials:!0}),a));"POST"!==p.method&&"PUT"!==p.method&&"PATCH"!==p.method&&"DELETE"!==p.method||(n?(p.headers=Object(i.a)({},p.headers),p.body=a.body):(p.headers=Object(i.a)({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},p.headers),p.body=JSON.stringify(a.body))),"GET"==p.method&&(p.headers=Object(i.a)({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},p.headers),e+="?"+g(a.params));var h,y;a.expirys;!function(e){e.json="application/json;charset=UTF-8",e.form="application/x-www-form-urlencoded; charset=UTF-8"}(h||(h={})),function(e){e.get="GET",e.post="POST"}(y||(y={}));var _=function(){var e=Object(u.a)(l.a.mark((function e(t){var n,r,a,o,i,c;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.arrayBuffer();case 2:n=e.sent,a=new Blob([n]);try{r=t.headers.get("content-type").split(";")[1].replace("filename=","")}catch(e){r="userfiles.zip"}o=document.createElement("a"),i=window.URL.createObjectURL(a),c=r,o.href=i,o.download=c,o.click(),window.URL.revokeObjectURL(i);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=d.a.API_SERVER;return"dev"===window.ENV&&(x=""),f()(x+e,p).then((function(t){return v(t,Object(i.a)({url:d.a.API_SERVER+e},p))})).then((function(e){return function(e,t){var n=e.headers.get("Content-Type");return n&&n.match(/application\/json/i)&&e.clone().text().then((function(){})),e}(e)})).then(function(){var t=Object(u.a)(l.a.mark((function t(n){var a,i,c;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(204!==n.status){t.next=2;break}return t.abrupt("return",n.text());case 2:if(!(n.headers.get("content-type").indexOf("application/json")>-1)){t.next=8;break}return t.next=5,n.json();case 5:a=t.sent,t.next=12;break;case 8:return _(n),t.next=11,n.arrayBuffer();case 11:a=t.sent;case 12:try{401!==a.status||null!==(i=p.params)&&void 0!==i&&i.hidePopLogin&&null!==(c=p.body)&&void 0!==c&&c.hidePopLogin||(console.log("new:",p),Object(b.c)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})),402===a.status&&("2"===localStorage.getItem("addinfo")?Object(b.c)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"填充信息弹窗"}}):(r=r||o.a.confirm({visible:!1,okText:"确定",cancelText:"取消"})).update({centered:!0,visible:!0,title:"提示",content:"您需要去完善您的个人资料,才能使用此功能",okText:"立即完善",cancelText:"稍后完善",onOk:function(){b.d.push("/account/profile/edit")}}))}catch(e){console.log("fetcherr",e)}return j(a,e),t.abrupt("return",a);case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t,n,r){try{var a=t.code;if(a){if(401===a)return void Object(b.c)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});j(t,e)}else c.a.error({style:{wordBreak:"break-all"},duration:null,message:"您的网络可能出现了问题,请稍后再试",description:e});return t}catch(t){}}))}var x=!1,w=!1,j=function(e,t){if((-1==e.status||-2==e.status||e.status>400)&&403!=e.status&&!w)return w=!0,setTimeout((function(){return w=!1}),500),void a.b.warn("false"===localStorage.getItem("languageText")&&(null==e?void 0:e.english_message)||(null==e?void 0:e.message));var n={403:"/403",404:"/404",500:"/500"};if(n[e.status]&&!x){var r=Object(b.c)()._store.getState().user.userInfo;return window.location.pathname.indexOf("/users")>-1&&"kepukehuan.educoder.net"===document.domain&&alert(e.status+":"+(null==r?void 0:r.id)+"---"+t),x=!0,setTimeout((function(){return x=!1}),500),e.status,b.d.replace(n[e.status]),void sessionStorage.setItem("errorStatus",JSON.stringify(e))}};function O(e,t){return _("/api/".concat(e),{method:"Get",params:t||{}})}function k(e,t){return _("/".concat(e),{method:"Get",params:t})}function E(e,t){return _("/api/".concat(e),{method:"Post",body:Object(i.a)({},t)})}function S(e,t){return _("/api/".concat(e),{method:"Put",body:Object(i.a)({},t)})}function P(e){return _("/api/".concat(e),{method:"delete"})}},EzR6: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/indexed-object.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys"),a=n(/*! ../internals/classof-raw */"UwrT"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},F1NP: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.subarray.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/to-length */"oa35"),o=n(/*! ../internals/to-absolute-index */"bIKR"),i=n(/*! ../internals/species-constructor */"/dTS"),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),r=n.length,u=o(e,r);return new(i(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,a((void 0===t?r:o(t,r))-u))}))},F52u: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/this-number-value.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/classof-raw */"UwrT");e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},FBts: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.imulh.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{imulh:function(e,t){var n=+e,r=+t,a=65535&n,o=65535&r,i=n>>16,c=r>>16,u=(i*o>>>0)+(a*o>>>16);return i*c+(u>>16)+((a*c>>>0)+(65535&u)>>16)}})},FCfD: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/require-object-coercible.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},FER5: +/*!****************************************************************!*\ + !*** ./node_modules/@ctrl/tinycolor/dist/module/conversion.js ***! + \****************************************************************/ +/*! exports provided: rgbToRgb, rgbToHsl, hslToRgb, rgbToHsv, hsvToRgb, rgbToHex, rgbaToHex, rgbaToArgbHex, convertDecimalToHex, convertHexToDecimal, parseIntFromHex, numberInputToObject */ +/*! exports used: convertHexToDecimal, hslToRgb, hsvToRgb, parseIntFromHex, rgbToHex, rgbToHsv, rgbToRgb */function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return p}));var r=n(/*! ./util */"b3aT");function a(e,t,n){return{r:255*Object(r.a)(e,255),g:255*Object(r.a)(t,255),b:255*Object(r.a)(n,255)}}function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,n){var a,i,c;if(e=Object(r.a)(e,360),t=Object(r.a)(t,100),n=Object(r.a)(n,100),0===t)i=n,c=n,a=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;a=o(s,u,e+1/3),i=o(s,u,e),c=o(s,u,e-1/3)}return{r:255*a,g:255*i,b:255*c}}function c(e,t,n){e=Object(r.a)(e,255),t=Object(r.a)(t,255),n=Object(r.a)(n,255);var a=Math.max(e,t,n),o=Math.min(e,t,n),i=0,c=a,u=a-o,s=0===a?0:u/a;if(a===o)i=0;else{switch(a){case e:i=(t-n)/u+(t>>16,c=r>>>16,u=(i*o>>>0)+(a*o>>>16);return i*c+(u>>>16)+((a*c>>>0)+(65535&u)>>>16)}})},FMtG: +/*!******************************************************************!*\ + !*** ./node_modules/@umijs/plugin-model/lib/helpers/constant.js ***! + \******************************************************************/ +/*! no static exports found */ +/*! exports used: UmiContext */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.UmiContext=void 0;var a=((r=n(/*! react */"q1tI"))&&r.__esModule?r:{default:r}).default.createContext({});t.UmiContext=a},FVwB: +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-buffer-view-core.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a=n(/*! ../internals/array-buffer-native */"GNqc"),o=n(/*! ../internals/descriptors */"tny8"),i=n(/*! ../internals/global */"ukPv"),c=n(/*! ../internals/is-object */"tSXo"),u=n(/*! ../internals/has */"jtLI"),s=n(/*! ../internals/classof */"Ei+o"),l=n(/*! ../internals/create-non-enumerable-property */"lz10"),p=n(/*! ../internals/redefine */"NMFW"),f=n(/*! ../internals/object-define-property */"YfKC").f,d=n(/*! ../internals/object-get-prototype-of */"Acmb"),h=n(/*! ../internals/object-set-prototype-of */"g1ZG"),m=n(/*! ../internals/well-known-symbol */"2kyd"),b=n(/*! ../internals/uid */"evbn"),y=i.Int8Array,v=y&&y.prototype,g=i.Uint8ClampedArray,_=g&&g.prototype,x=y&&d(y),w=v&&d(v),j=Object.prototype,O=j.isPrototypeOf,k=m("toStringTag"),E=b("TYPED_ARRAY_TAG"),S=a&&!!h&&"Opera"!==s(i.opera),P=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},T=function(e){return c(e)&&u(C,s(e))};for(r in C)i[r]||(S=!1);if((!S||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},S))for(r in C)i[r]&&h(i[r],x);if((!S||!w||w===j)&&(w=x.prototype,S))for(r in C)i[r]&&h(i[r].prototype,w);if(S&&d(_)!==w&&h(_,w),o&&!u(w,k))for(r in P=!0,f(w,k,{get:function(){return c(this)?this[E]:void 0}}),C)i[r]&&l(i[r],E,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:P&&E,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(O.call(x,e))return e}else for(var t in C)if(u(C,r)){var n=i[t];if(n&&(e===n||O.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in C){var a=i[r];a&&u(a.prototype,e)&&delete a.prototype[e]}w[e]&&!n||p(w,e,n?t:S&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,a;if(o){if(h){if(n)for(r in C)(a=i[r])&&u(a,e)&&delete a[e];if(x[e]&&!n)return;try{return p(x,e,n?t:S&&y[e]||t)}catch(e){}}for(r in C)!(a=i[r])||a[e]&&!n||p(a,e,t)}},isView:function(e){var t=s(e);return"DataView"===t||u(C,t)},isTypedArray:T,TypedArray:x,TypedArrayPrototype:w}},FbcW: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.iterator.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/to-indexed-object */"0qr0"),a=n(/*! ../internals/add-to-unscopables */"eNh0"),o=n(/*! ../internals/iterators */"5yw/"),i=n(/*! ../internals/internal-state */"1aI8"),c=n(/*! ../internals/define-iterator */"uMwj"),u=i.set,s=i.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){u(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},Ff2n: +/*!****************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***! + \****************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! ./objectWithoutPropertiesLoose.js */"zLVn");function a(e,t){if(null==e)return{};var n,a,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},FfOG: +/*!*********************************************!*\ + !*** ./src/.umi-production/core/history.ts ***! + \*********************************************/ +/*! exports provided: createHistory, history */ +/*! exports used: createHistory, history */function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(/*! ./node_modules/@umijs/runtime */"YS25"),a={basename:"/"};window.routerBase&&(a.basename=window.routerBase);var o=Object({NODE_ENV:"production"}).__IS_SERVER?null:Object(r.a)(a),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e||(o=Object(r.a)(a)),o}},Fghh: +/*!*************************************************************************!*\ + !*** ./src/.umi-production/plugin-locale/localeExports.ts + 20 modules ***! + \*************************************************************************/ +/*! exports provided: createIntl, FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedHTMLMessage, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, IntlContext, IntlProvider, RawIntlProvider, createIntlCache, defineMessages, injectIntl, useIntl, localeInfo, addLocale, getIntl, setIntl, getLocale, getDirection, setLocale, formatMessage, getAllLocales */ +/*! exports used: RawIntlProvider, getDirection, getIntl, getLocale, localeInfo, setIntl, setLocale */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createClass.js because of ./src/components/modal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./src/components/modal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/inherits.js because of ./src/components/modal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/pages/tasks/index.jsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-locale/locale.tsx because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/runtime/dist/index.esm.js because of ./src/.umi-production/umi.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/intl-locales-supported/dist/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shallow-equal/objects/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/warning/warning.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return fe})),n.d(t,"e",(function(){return tt})),n.d(t,"c",(function(){return nt})),n.d(t,"f",(function(){return rt})),n.d(t,"d",(function(){return at})),n.d(t,"b",(function(){return ot})),n.d(t,"g",(function(){return it}));var r,a=n("fWQN"),o=n("mtLc"),i=n("yKVA"),c=n("879j"),u=n("q1tI"),s=(n("jrin"),n("2mql")),l=n.n(s);function p(e){return e.type===r.literal}function f(e){return e.type===r.argument}function d(e){return e.type===r.number}function h(e){return e.type===r.date}function m(e){return e.type===r.time}function b(e){return e.type===r.select}function y(e){return e.type===r.plural}function v(e){return e.type===r.pound}function g(e){return!(!e||"object"!=typeof e||0!==e.type)}function _(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(r||(r={}));var x,w=(x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){for(t=1,n=1;t1&&"}"===e)},X=me("\n",!1),Z=ye("argNameOrNumber"),$=ye("argNumber"),ee=me("0",!1),te=/^[1-9]/,ne=be([["1","9"]],!1,!1),re=/^[0-9]/,ae=be([["0","9"]],!1,!1),oe=ye("argName"),ie=0,ce=0,ue=[{line:1,column:1}],se=0,le=[],pe=0;if(void 0!==t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=o[t.startRule]}function fe(){return e.substring(ce,ie)}function de(){return ge(ce,ie)}function he(e,t){throw function(e,t){return new O(e,[],"",t)}(e,t=void 0!==t?t:ge(ce,ie))}function me(e,t){return{type:"literal",text:e,ignoreCase:t}}function be(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function ye(e){return{type:"other",description:e}}function ve(t){var n,r=ue[t];if(r)return r;for(n=t-1;!ue[n];)n--;for(r={line:(r=ue[n]).line,column:r.column};nse&&(se=ie,le=[]),le.push(e))}function xe(e,t,n){return new O(O.buildMessage(e,t),e,t,n)}function we(){return je()}function je(){var e,t;for(e=[],t=Oe();t!==a;)e.push(t),t=Oe();return e}function Oe(){var t;return(t=function(){var e,t;e=ie,(t=ke())!==a&&(ce=e,n=t,t=j({type:r.literal,value:n},He()));var n;return e=t}())===a&&(t=function(){var t,n,o,i;pe++,t=ie,123===e.charCodeAt(ie)?(n="{",ie++):(n=a,0===pe&&_e(s));n!==a&&De()!==a&&(o=ze())!==a&&De()!==a?(125===e.charCodeAt(ie)?(i="}",ie++):(i=a,0===pe&&_e(l)),i!==a?(ce=t,c=o,n=j({type:r.argument,value:c},He()),t=n):(ie=t,t=a)):(ie=t,t=a);var c;pe--,t===a&&(n=a,0===pe&&_e(u));return t}())===a&&(t=function(){var t;(t=function(){var t,n,r,o,i,c,u,p,f;t=ie,123===e.charCodeAt(ie)?(n="{",ie++):(n=a,0===pe&&_e(s));n!==a&&De()!==a&&(r=ze())!==a&&De()!==a?(44===e.charCodeAt(ie)?(o=",",ie++):(o=a,0===pe&&_e(_)),o!==a&&De()!==a?("number"===e.substr(ie,6)?(i="number",ie+=6):(i=a,0===pe&&_e(x)),i!==a&&De()!==a?(c=ie,44===e.charCodeAt(ie)?(u=",",ie++):(u=a,0===pe&&_e(_)),u!==a&&(p=De())!==a&&(f=function(){var t,n,r;t=ie,"::"===e.substr(ie,2)?(n="::",ie+=2):(n=a,0===pe&&_e(v));n!==a&&(r=function(){var e,t,n;if(e=ie,t=[],(n=Pe())!==a)for(;n!==a;)t.push(n),n=Pe();else t=a;t!==a&&(ce=e,t=j({type:0,tokens:t},He()));return e=t}())!==a?(ce=t,t=n=r):(ie=t,t=a);t===a&&(t=ie,ce=ie,Be.push("numberArgStyle"),(n=(n=!0)?void 0:a)!==a&&(r=ke())!==a?(ce=t,n=g(r),t=n):(ie=t,t=a));return t}())!==a?c=u=[u,p,f]:(ie=c,c=a),c===a&&(c=null),c!==a&&(u=De())!==a?(125===e.charCodeAt(ie)?(p="}",ie++):(p=a,0===pe&&_e(l)),p!==a?(ce=t,n=w(r,i,c),t=n):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a);return t}())===a&&(t=function(){var t,n,r,o,i,c,u,p,f;t=ie,123===e.charCodeAt(ie)?(n="{",ie++):(n=a,0===pe&&_e(s));n!==a&&De()!==a&&(r=ze())!==a&&De()!==a?(44===e.charCodeAt(ie)?(o=",",ie++):(o=a,0===pe&&_e(_)),o!==a&&De()!==a?("date"===e.substr(ie,4)?(i="date",ie+=4):(i=a,0===pe&&_e(I)),i===a&&("time"===e.substr(ie,4)?(i="time",ie+=4):(i=a,0===pe&&_e(M))),i!==a&&De()!==a?(c=ie,44===e.charCodeAt(ie)?(u=",",ie++):(u=a,0===pe&&_e(_)),u!==a&&(p=De())!==a&&(f=function(){var t,n,r;t=ie,"::"===e.substr(ie,2)?(n="::",ie+=2):(n=a,0===pe&&_e(v));n!==a&&(r=function(){var t,n,r,o;t=ie,n=ie,r=[],(o=Ce())===a&&(o=Te());if(o!==a)for(;o!==a;)r.push(o),(o=Ce())===a&&(o=Te());else r=a;n=r!==a?e.substring(n,ie):r;n!==a&&(ce=t,n=j({type:1,pattern:n},He()));return t=n}())!==a?(ce=t,t=n=r):(ie=t,t=a);t===a&&(t=ie,ce=ie,Be.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:a)!==a&&(r=ke())!==a?(ce=t,n=g(r),t=n):(ie=t,t=a));return t}())!==a?c=u=[u,p,f]:(ie=c,c=a),c===a&&(c=null),c!==a&&(u=De())!==a?(125===e.charCodeAt(ie)?(p="}",ie++):(p=a,0===pe&&_e(l)),p!==a?(ce=t,n=w(r,i,c),t=n):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a);return t}());return t}())===a&&(t=function(){var t,n,o,i,c,u,p,f,d,h,m;t=ie,123===e.charCodeAt(ie)?(n="{",ie++):(n=a,0===pe&&_e(s));if(n!==a)if(De()!==a)if((o=ze())!==a)if(De()!==a)if(44===e.charCodeAt(ie)?(i=",",ie++):(i=a,0===pe&&_e(_)),i!==a)if(De()!==a)if("plural"===e.substr(ie,6)?(c="plural",ie+=6):(c=a,0===pe&&_e(L)),c===a&&("selectordinal"===e.substr(ie,13)?(c="selectordinal",ie+=13):(c=a,0===pe&&_e(D))),c!==a)if(De()!==a)if(44===e.charCodeAt(ie)?(u=",",ie++):(u=a,0===pe&&_e(_)),u!==a)if(De()!==a)if(p=ie,"offset:"===e.substr(ie,7)?(f="offset:",ie+=7):(f=a,0===pe&&_e(R)),f!==a&&(d=De())!==a&&(h=Re())!==a?p=f=[f,d,h]:(ie=p,p=a),p===a&&(p=null),p!==a)if((f=De())!==a){if(d=[],(h=Ie())!==a)for(;h!==a;)d.push(h),h=Ie();else d=a;d!==a&&(h=De())!==a?(125===e.charCodeAt(ie)?(m="}",ie++):(m=a,0===pe&&_e(l)),m!==a?(ce=t,n=function(e,t,n,a){return j({type:r.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:a.reduce((function(e,t){var n=t.id,r=t.value,a=t.location;return n in e&&he('Duplicate option "'+n+'" in plural element: "'+fe()+'"',de()),e[n]={value:r,location:a},e}),{})},He())}(o,c,p,d),t=n):(ie=t,t=a)):(ie=t,t=a)}else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;return t}())===a&&(t=function(){var t,n,o,i,c,u,p,f,d;t=ie,123===e.charCodeAt(ie)?(n="{",ie++):(n=a,0===pe&&_e(s));if(n!==a)if(De()!==a)if((o=ze())!==a)if(De()!==a)if(44===e.charCodeAt(ie)?(i=",",ie++):(i=a,0===pe&&_e(_)),i!==a)if(De()!==a)if("select"===e.substr(ie,6)?(c="select",ie+=6):(c=a,0===pe&&_e(N)),c!==a)if(De()!==a)if(44===e.charCodeAt(ie)?(u=",",ie++):(u=a,0===pe&&_e(_)),u!==a)if(De()!==a){if(p=[],(f=Ae())!==a)for(;f!==a;)p.push(f),f=Ae();else p=a;p!==a&&(f=De())!==a?(125===e.charCodeAt(ie)?(d="}",ie++):(d=a,0===pe&&_e(l)),d!==a?(ce=t,n=function(e,t){return j({type:r.select,value:e,options:t.reduce((function(e,t){var n=t.id,r=t.value,a=t.location;return n in e&&he('Duplicate option "'+n+'" in select element: "'+fe()+'"',de()),e[n]={value:r,location:a},e}),{})},He())}(o,p),t=n):(ie=t,t=a)):(ie=t,t=a)}else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;else ie=t,t=a;return t}())===a&&(t=function(){var t,n;t=ie,35===e.charCodeAt(ie)?(n="#",ie++):(n=a,0===pe&&_e(c));n!==a&&(ce=t,n=j({type:r.pound},He()));return t=n}()),t}function ke(){var e,t,n;if(e=ie,t=[],(n=Ne())===a&&(n=Fe())===a&&(n=Ue()),n!==a)for(;n!==a;)t.push(n),(n=Ne())===a&&(n=Fe())===a&&(n=Ue());else t=a;return t!==a&&(ce=e,t=t.join("")),e=t}function Ee(){var t,n,r,o,i;if(pe++,t=ie,n=[],r=ie,o=ie,pe++,(i=Me())===a&&(f.test(e.charAt(ie))?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(d))),pe--,i===a?o=void 0:(ie=o,o=a),o!==a?(e.length>ie?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(h)),i!==a?r=o=[o,i]:(ie=r,r=a)):(ie=r,r=a),r!==a)for(;r!==a;)n.push(r),r=ie,o=ie,pe++,(i=Me())===a&&(f.test(e.charAt(ie))?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(d))),pe--,i===a?o=void 0:(ie=o,o=a),o!==a?(e.length>ie?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(h)),i!==a?r=o=[o,i]:(ie=r,r=a)):(ie=r,r=a);else n=a;return t=n!==a?e.substring(t,ie):n,pe--,t===a&&(n=a,0===pe&&_e(p)),t}function Se(){var t,n,r;return pe++,t=ie,47===e.charCodeAt(ie)?(n="/",ie++):(n=a,0===pe&&_e(b)),n!==a&&(r=Ee())!==a?(ce=t,t=n=r):(ie=t,t=a),pe--,t===a&&(n=a,0===pe&&_e(m)),t}function Pe(){var e,t,n,r;if(pe++,e=ie,De()!==a)if((t=Ee())!==a){for(n=[],r=Se();r!==a;)n.push(r),r=Se();n!==a?(ce=e,e=function(e,t){return{stem:e,options:t}}(t,n)):(ie=e,e=a)}else ie=e,e=a;else ie=e,e=a;return pe--,e===a&&(a,0===pe&&_e(y)),e}function Ce(){var t,n,r,o;if(t=ie,39===e.charCodeAt(ie)?(n="'",ie++):(n=a,0===pe&&_e(k)),n!==a){if(r=[],(o=Ne())===a&&(E.test(e.charAt(ie))?(o=e.charAt(ie),ie++):(o=a,0===pe&&_e(S))),o!==a)for(;o!==a;)r.push(o),(o=Ne())===a&&(E.test(e.charAt(ie))?(o=e.charAt(ie),ie++):(o=a,0===pe&&_e(S)));else r=a;r!==a?(39===e.charCodeAt(ie)?(o="'",ie++):(o=a,0===pe&&_e(k)),o!==a?t=n=[n,r,o]:(ie=t,t=a)):(ie=t,t=a)}else ie=t,t=a;if(t===a)if(t=[],(n=Ne())===a&&(P.test(e.charAt(ie))?(n=e.charAt(ie),ie++):(n=a,0===pe&&_e(C))),n!==a)for(;n!==a;)t.push(n),(n=Ne())===a&&(P.test(e.charAt(ie))?(n=e.charAt(ie),ie++):(n=a,0===pe&&_e(C)));else t=a;return t}function Te(){var t,n;if(t=[],T.test(e.charAt(ie))?(n=e.charAt(ie),ie++):(n=a,0===pe&&_e(A)),n!==a)for(;n!==a;)t.push(n),T.test(e.charAt(ie))?(n=e.charAt(ie),ie++):(n=a,0===pe&&_e(A));else t=a;return t}function Ae(){var t,n,r,o,i,c,u;return t=ie,De()!==a&&(n=qe())!==a&&De()!==a?(123===e.charCodeAt(ie)?(r="{",ie++):(r=a,0===pe&&_e(s)),r!==a?(ce=ie,Be.push("select"),(!0?void 0:a)!==a&&(o=je())!==a?(125===e.charCodeAt(ie)?(i="}",ie++):(i=a,0===pe&&_e(l)),i!==a?(ce=t,c=n,u=o,Be.pop(),t=j({id:c,value:u},He())):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a),t}function Ie(){var t,n,r,o,i,c,u;return t=ie,De()!==a&&(n=function(){var t,n,r,o;return t=ie,n=ie,61===e.charCodeAt(ie)?(r="=",ie++):(r=a,0===pe&&_e(F)),r!==a&&(o=Re())!==a?n=r=[r,o]:(ie=n,n=a),(t=n!==a?e.substring(t,ie):n)===a&&(t=qe()),t}())!==a&&De()!==a?(123===e.charCodeAt(ie)?(r="{",ie++):(r=a,0===pe&&_e(s)),r!==a?(ce=ie,Be.push("plural"),(!0?void 0:a)!==a&&(o=je())!==a?(125===e.charCodeAt(ie)?(i="}",ie++):(i=a,0===pe&&_e(l)),i!==a?(ce=t,c=n,u=o,Be.pop(),t=j({id:c,value:u},He())):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a)):(ie=t,t=a),t}function Me(){var t;return pe++,z.test(e.charAt(ie))?(t=e.charAt(ie),ie++):(t=a,0===pe&&_e(V)),pe--,t===a&&(a,0===pe&&_e(U)),t}function Le(){var t;return pe++,B.test(e.charAt(ie))?(t=e.charAt(ie),ie++):(t=a,0===pe&&_e(W)),pe--,t===a&&(a,0===pe&&_e(q)),t}function De(){var t,n,r;for(pe++,t=ie,n=[],r=Me();r!==a;)n.push(r),r=Me();return t=n!==a?e.substring(t,ie):n,pe--,t===a&&(n=a,0===pe&&_e(H)),t}function Re(){var t,n,r,o,i;return pe++,t=ie,45===e.charCodeAt(ie)?(n="-",ie++):(n=a,0===pe&&_e(Y)),n===a&&(n=null),n!==a&&(r=Ve())!==a?(ce=t,o=n,t=n=(i=r)?o?-i:i:0):(ie=t,t=a),pe--,t===a&&(n=a,0===pe&&_e(G)),t}function Ne(){var t,n;return pe++,t=ie,"''"===e.substr(ie,2)?(n="''",ie+=2):(n=a,0===pe&&_e(Q)),n!==a&&(ce=t,n="'"),pe--,(t=n)===a&&(n=a,0===pe&&_e(K)),t}function Fe(){var t,n,r,o,i,c;if(t=ie,39===e.charCodeAt(ie)?(n="'",ie++):(n=a,0===pe&&_e(k)),n!==a)if((r=function(){var t,n,r,o;t=ie,n=ie,e.length>ie?(r=e.charAt(ie),ie++):(r=a,0===pe&&_e(h));r!==a?(ce=ie,(o=(o="{"===(i=r)||"}"===i||We()&&"#"===i)?void 0:a)!==a?n=r=[r,o]:(ie=n,n=a)):(ie=n,n=a);var i;t=n!==a?e.substring(t,ie):n;return t}())!==a){for(o=ie,i=[],"''"===e.substr(ie,2)?(c="''",ie+=2):(c=a,0===pe&&_e(Q)),c===a&&(E.test(e.charAt(ie))?(c=e.charAt(ie),ie++):(c=a,0===pe&&_e(S)));c!==a;)i.push(c),"''"===e.substr(ie,2)?(c="''",ie+=2):(c=a,0===pe&&_e(Q)),c===a&&(E.test(e.charAt(ie))?(c=e.charAt(ie),ie++):(c=a,0===pe&&_e(S)));(o=i!==a?e.substring(o,ie):i)!==a?(39===e.charCodeAt(ie)?(i="'",ie++):(i=a,0===pe&&_e(k)),i===a&&(i=null),i!==a?(ce=t,t=n=r+o.replace("''","'")):(ie=t,t=a)):(ie=t,t=a)}else ie=t,t=a;else ie=t,t=a;return t}function Ue(){var t,n,r,o;return t=ie,n=ie,e.length>ie?(r=e.charAt(ie),ie++):(r=a,0===pe&&_e(h)),r!==a?(ce=ie,(o=(o=J(r))?void 0:a)!==a?n=r=[r,o]:(ie=n,n=a)):(ie=n,n=a),n===a&&(10===e.charCodeAt(ie)?(n="\n",ie++):(n=a,0===pe&&_e(X))),t=n!==a?e.substring(t,ie):n}function ze(){var t,n;return pe++,t=ie,(n=Ve())===a&&(n=qe()),t=n!==a?e.substring(t,ie):n,pe--,t===a&&(n=a,0===pe&&_e(Z)),t}function Ve(){var t,n,r,o,i;if(pe++,t=ie,48===e.charCodeAt(ie)?(n="0",ie++):(n=a,0===pe&&_e(ee)),n!==a&&(ce=t,n=0),(t=n)===a){if(t=ie,n=ie,te.test(e.charAt(ie))?(r=e.charAt(ie),ie++):(r=a,0===pe&&_e(ne)),r!==a){for(o=[],re.test(e.charAt(ie))?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(ae));i!==a;)o.push(i),re.test(e.charAt(ie))?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(ae));o!==a?n=r=[r,o]:(ie=n,n=a)}else ie=n,n=a;n!==a&&(ce=t,n=parseInt(n.join(""),10)),t=n}return pe--,t===a&&(n=a,0===pe&&_e($)),t}function qe(){var t,n,r,o,i;if(pe++,t=ie,n=[],r=ie,o=ie,pe++,(i=Me())===a&&(i=Le()),pe--,i===a?o=void 0:(ie=o,o=a),o!==a?(e.length>ie?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(h)),i!==a?r=o=[o,i]:(ie=r,r=a)):(ie=r,r=a),r!==a)for(;r!==a;)n.push(r),r=ie,o=ie,pe++,(i=Me())===a&&(i=Le()),pe--,i===a?o=void 0:(ie=o,o=a),o!==a?(e.length>ie?(i=e.charAt(ie),ie++):(i=a,0===pe&&_e(h)),i!==a?r=o=[o,i]:(ie=r,r=a)):(ie=r,r=a);else n=a;return t=n!==a?e.substring(t,ie):n,pe--,t===a&&(n=a,0===pe&&_e(oe)),t}var Be=["root"];function We(){return"plural"===Be[Be.length-1]}function He(){return t&&t.captureLocation?{location:de()}:{}}if((n=i())!==a&&ie===e.length)return n;throw n!==a&&ie1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(D,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof r?r.length:0)),""})),a.options.length&&(t=I(I({},t),N(a.options[0])))}else if(R.test(a.stem))t=I(I({},t),N(a.stem));else{var o=F(a.stem);o&&(t=I(I({},t),o))}}return t}var V,q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(){for(var e=0,t=0,n=arguments.length;t(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,J=Date.now()+"@@",X=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Z(e,t,n,r,a,o){var i=H(e,t,n,r,a,void 0,o),c={},u=i.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++Y;return c[n]=t.value,e+"@@"+n+"@@"}),"");if(!Q.test(u))return K(u,c);if(!a)throw new W("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new W("Cannot format XML message without DOMParser");V||(V=new DOMParser);var s=V.parseFromString(''+u+"","text/html").getElementById(J);if(!s)throw new W("Malformed HTML message "+u);var l=Object.keys(a).filter((function(e){return!!s.getElementsByTagName(e).length}));if(!l.length)return K(u,c);var p=l.filter((function(e){return e!==e.toLowerCase()}));if(p.length)throw new W("HTML tag must be lowercased but the following tags are not: "+p.join(", "));return Array.prototype.slice.call(s.childNodes).reduce((function(e,t){return e.concat(function e(t,n,r){var a=t.tagName,o=t.outerHTML,i=t.textContent,c=t.childNodes;if(!a)return K(i||"",n);a=a.toLowerCase();var u=~X.indexOf(a),s=r[a];if(s&&u)throw new W(a+" is a self-closing tag and can not be used, please use another tag name.");if(!c.length)return[o];var l=Array.prototype.slice.call(c).reduce((function(t,a){return t.concat(e(a,n,r))}),[]);return s?"function"==typeof s?[s.apply(void 0,l)]:[s]:B(["<"+a+">"],l,[""])}(t,c,a))}),[])}var $=function(){return($=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<"']/g;function oe(e){return(""+e).replace(ae,(function(e){return re[e.charCodeAt(0)]}))}function ie(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}function ce(e){ne(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function ue(e,t){var n=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(n)}var se={formats:{},messages:{},timeZone:void 0,textComponent:u.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function le(e,t,n,r){var a,o=e&&e[t];if(o&&(a=o[n]),a)return a;r(ue("No ".concat(t," format named: ").concat(n)))}l.a;var pe=u.createContext(null),fe=(pe.Consumer,pe.Provider);var de=n("kyWZ"),he=n.n(de),me=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function be(e,t){var n=e.locale,r=e.formats,a=e.onError,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.format,c=i&&le(r,"number",i,a)||{},u=ie(o,me,c);return t(n,u)}function ye(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return be(e,t,r).format(n)}catch(t){e.onError(ue("Error formatting number.",t))}return String(n)}function ve(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return be(e,t,r).formatToParts(n)}catch(t){e.onError(ue("Error formatting number.",t))}return[]}var ge=["numeric","style"];function _e(e,t){var n=e.locale,r=e.formats,a=e.onError,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.format,c=!!i&&le(r,"relative",i,a)||{},u=ie(o,ge,c);return t(n,u)}function xe(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};r||(r="second");var o=Intl.RelativeTimeFormat;o||e.onError(ue('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return _e(e,t,a).format(n,r)}catch(t){e.onError(ue("Error formatting relative time.",t))}return String(n)}var we=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function je(e,t,n){var r=e.locale,a=e.formats,o=e.onError,i=e.timeZone,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=c.format,s=Object.assign(Object.assign({},i&&{timeZone:i}),u&&le(a,t,u,o)),l=ie(c,we,s);return"time"!==t||l.hour||l.minute||l.second||(l=Object.assign(Object.assign({},l),{hour:"numeric",minute:"numeric"})),n(r,l)}function Oe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a="string"==typeof n?new Date(n||0):n;try{return je(e,"date",t,r).format(a)}catch(t){e.onError(ue("Error formatting date.",t))}return String(a)}function ke(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a="string"==typeof n?new Date(n||0):n;try{return je(e,"time",t,r).format(a)}catch(t){e.onError(ue("Error formatting time.",t))}return String(a)}function Ee(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a="string"==typeof n?new Date(n||0):n;try{return je(e,"date",t,r).formatToParts(a)}catch(t){e.onError(ue("Error formatting date.",t))}return[]}function Se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a="string"==typeof n?new Date(n||0):n;try{return je(e,"time",t,r).formatToParts(a)}catch(t){e.onError(ue("Error formatting time.",t))}return[]}var Pe=["localeMatcher","type"];function Ce(e,t,n){var r=e.locale,a=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||a(ue('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));var i=ie(o,Pe);try{return t(r,i).select(n)}catch(e){a(ue("Error formatting plural.",e))}return"other"}var Te=n("oBTY");function Ae(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=Object.assign({timeZone:t},e[r]),n}),{})}function Ie(e,t){return Object.keys(Object.assign(Object.assign({},e),t)).reduce((function(n,r){return n[r]=Object.assign(Object.assign({},e[r]||{}),t[r]||{}),n}),{})}function Me(e,t){if(!t)return e;var n=te.formats;return Object.assign(Object.assign(Object.assign({},n),e),{date:Ie(Ae(n.date,t),Ae(e.date||{},t)),time:Ie(Ae(n.time,t),Ae(e.time||{},t))})}var Le=function(e){return u.createElement.apply(u,[u.Fragment,null].concat(Object(Te.a)(e)))};function De(e,t){var n=e.locale,r=e.formats,a=e.messages,o=e.defaultLocale,i=e.defaultFormats,c=e.onError,u=e.timeZone,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},p=s.id,f=s.defaultMessage;ne(!!p,"[React Intl] An `id` must be provided to format a message.");var d=a&&a[String(p)];r=Me(r,u),i=Me(i,u);var h=[];if(d)try{var m=t.getMessageFormat(d,n,r,{formatters:t});h=m.formatHTMLMessage(l)}catch(e){c(ue('Error formatting message: "'.concat(p,'" for locale: "').concat(n,'"')+(f?", using default message as fallback.":""),e))}else(!f||n&&n.toLowerCase()!==o.toLowerCase())&&c(ue('Missing message: "'.concat(p,'" for locale: "').concat(n,'"')+(f?", using default message as fallback.":"")));if(!h.length&&f)try{var b=t.getMessageFormat(f,o,i);h=b.formatHTMLMessage(l)}catch(e){c(ue('Error formatting the default message for: "'.concat(p,'"'),e))}return h.length?1===h.length&&"string"==typeof h[0]?h[0]||f||String(p):Le(h):(c(ue('Cannot format message: "'.concat(p,'", ')+"using message ".concat(d||f?"source":"id"," as fallback."))),"string"==typeof d?d||f||String(p):f||String(p))}function Re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Object.keys(r).reduce((function(e,t){var n=r[t];return e[t]="string"==typeof n?oe(n):n,e}),{});return De(e,t,n,a)}var Ne=n("6koa"),Fe=n.n(Ne),Ue=["localeMatcher","type","style"],ze=Date.now();function Ve(e){return"".concat(ze,"_").concat(e,"_").concat(ze)}function qe(e,t,n){var r=e.locale,a=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=Intl.ListFormat;i||a(ue('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));var c=ie(o,Ue);try{var u={},s=n.map((function(e,t){if("object"==typeof e){var n=Ve(t);return u[n]=e,n}return String(e)}));if(!Object.keys(u).length)return t(r,c).format(s);var l=t(r,c).formatToParts(s);return l.reduce((function(e,t){var n=t.value;return u[n]?e.push(u[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[])}catch(e){a(ue("Error formatting list.",e))}return n}var Be=["localeMatcher","style","type","fallback"];function We(e,t,n){var r=e.locale,a=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=Intl.DisplayNames;i||a(ue('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));var c=ie(o,Be);try{return t(r,c).of(n)}catch(e){a(ue("Error formatting display name.",e))}}var He=Fe.a||Ne;function Ge(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function Ye(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:A(Intl.DateTimeFormat,e.dateTime),getNumberFormat:A(Intl.NumberFormat,e.number),getMessageFormat:A(te,e.message),getRelativeTimeFormat:A(t,e.relativeTime),getPluralRules:A(Intl.PluralRules,e.pluralRules),getListFormat:A(n,e.list),getDisplayNames:A(r,e.displayNames)}}(t),r=Object.assign(Object.assign({},se),e);if(!r.locale||!he()(r.locale)){var a=r.locale,o=r.defaultLocale,i=r.onError;"function"==typeof i&&i(ue('Missing locale data for locale: "'.concat(a,'". ')+'Using default locale: "'.concat(o,'" as fallback.'))),r.locale=r.defaultLocale||"en"}return Object.assign(Object.assign({},r),{formatters:n,formatNumber:ye.bind(null,r,n.getNumberFormat),formatNumberToParts:ve.bind(null,r,n.getNumberFormat),formatRelativeTime:xe.bind(null,r,n.getRelativeTimeFormat),formatDate:Oe.bind(null,r,n.getDateTimeFormat),formatDateToParts:Ee.bind(null,r,n.getDateTimeFormat),formatTime:ke.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Se.bind(null,r,n.getDateTimeFormat),formatPlural:Ce.bind(null,r,n.getPluralRules),formatMessage:De.bind(null,r,n),formatHTMLMessage:Re.bind(null,r,n),formatList:qe.bind(null,r,n.getListFormat),formatDisplayName:We.bind(null,r,n.getDisplayNames)})}var Ke=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:Ye(Ge(e.props),e.cache),prevConfig:Ge(e.props)},e}return Object(o.a)(n,[{key:"render",value:function(){return ce(this.state.intl),u.createElement(fe,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevConfig,r=t.cache,a=Ge(e);return He(n,a)?null:{intl:Ye(a,r),prevConfig:a}}}]),n}(u.PureComponent);Ke.displayName="IntlProvider",Ke.defaultProps=se;var Qe,Je=n("LtsZ"),Xe=n("ZW6p"),Ze=n("2W6z"),$e=n.n(Ze),et=n("9kvl"),tt={},nt=function(e,t){return!Qe||t||e?e&&tt[e]?Ye(tt[e]):($e()(!e||!!tt[e],"The current popular language does not exist, please check the locales folder!"),tt["zh-CN"]?Ye(tt["zh-CN"]):Ye({locale:"zh-CN",messages:{}})):Qe},rt=function(e){Qe=nt(e,!0)},at=function(){var e=et.e.applyPlugins({key:"locale",type:Je.a.modify,initialValue:{}});if("function"==typeof(null==e?void 0:e.getLocale))return e.getLocale();var t,n="undefined"!=typeof localStorage?window.localStorage.getItem("umi_locale"):"";return t="undefined"!=typeof navigator&&"string"==typeof navigator.language?navigator.language.split("-").join("-"):"",n||t||"zh-CN"},ot=function(){var e=at();return["he","ar","fa","ku"].filter((function(t){return e.startsWith(t)})).length?"rtl":"ltr"},it=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=new RegExp("^([a-z]{2})-?([A-Z]{2})?$"),r=et.e.applyPlugins({key:"locale",type:Je.a.modify,initialValue:{}});if("function"!=typeof(null==r?void 0:r.setLocale)){if(void 0!==e&&!n.test(e))throw new Error("setLocale lang format error");if(at()!==e)if(void 0!==window.localStorage&&window.localStorage.setItem("umi_locale",e||""),rt(e),t)window.location.reload();else if(Xe.d.emit(Xe.a,e),window.dispatchEvent){var a=new Event("languagechange");window.dispatchEvent(a)}}else r.setLocale({lang:e,realReload:t,updater:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;return Xe.d.emit(Xe.a,t)}})}},FoZm: +/*!************************************!*\ + !*** ./node_modules/intl/index.js ***! + \************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){(function(t){t.IntlPolyfill=n(/*! ./lib/core.js */"fL0r"),n(/*! ./locale-data/complete.js */1),t.Intl||(t.Intl=t.IntlPolyfill,t.IntlPolyfill.__applyLocaleSensitivePrototypes()),e.exports=t.IntlPolyfill}).call(this,n(/*! ./../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},FpZJ: +/*!*******************************************!*\ + !*** ./node_modules/has-symbols/shams.js ***! + \*******************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},Fs9M: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/native-symbol.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},FuvP: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.of.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Set",stat:!0},{of:n(/*! ../internals/collection-of */"qA1w")})},FzKp: +/*!*****************************************!*\ + !*** ./src/models/classrooms/boards.ts ***! + \*****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/boards */"oXNe"),c={namespace:"boards",state:{name:"讨论",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{getBoardsCategoryList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.d,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{boardsCategoryList:Object(r.a)({},s.data)}});case 7:return e.abrupt("return",s.data);case 8:case"end":return e.stop()}}),e)})),getBoardsDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.e,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{boardsDetail:Object(r.a)({},s.data)}});case 7:return e.abrupt("return",s.data);case 8:case"end":return e.stop()}}),e)})),setTopping:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),escTopping:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.c,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getReplyList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.f,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{replyList:Object(r.a)({},s.data)}});case 7:case"end":return e.stop()}}),e)})),createReply:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.a,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),replyLike:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.g,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),replyUnLike:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.h,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteReply:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},"G+G9": +/*!**********************************!*\ + !*** ./src/models/user/index.ts ***! + \**********************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties */"PpiC"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! umi */"9kvl"),u=n(/*! @/service/user */"jb+D"),s={namespace:"user",state:{name:"用户登录模块",showPopLogin:!1,showClosable:!1,userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{login:i.a.mark((function e(t,n){var r,o,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,n.put,s=r.to,l=Object(a.a)(r,["to"]),e.next=5,o(u.b,l);case 5:if(!e.sent.status)try{s?c.d.replace(s):location.reload()}catch(e){}case 7:case"end":return e.stop()}}),e)})),showPopLogin:i.a.mark((function e(t,n){var r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.put,e.next=4,a({type:"save",payload:{showPopLogin:r.showPopLogin,showClosable:r.showClosable}});case 4:case"end":return e.stop()}}),e)})),getUserInfo:i.a.mark((function e(t,n){var a,o,c,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,o=n.call,c=n.put,e.next=4,o(u.s,Object(r.a)({},a));case 4:return s=e.sent,localStorage.userInfo=JSON.stringify(s),e.next=8,c({type:"save",payload:{userInfo:Object(r.a)({},s)}});case 8:case"end":return e.stop()}}),e)})),getNavigationInfo:i.a.mark((function e(t,n){var a,o,c,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,o=n.call,c=n.put,e.next=4,o(u.l,Object(r.a)({},a));case 4:return s=e.sent,e.next=7,c({type:"save",payload:{navigationInfo:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),setActionTabs:i.a.mark((function e(t,n){var a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,o=n.put,e.next=4,o({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}}};t.a=s},GNqc: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-buffer-native.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},GPZX: +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.reflect.delete-metadata.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/reflect-metadata */"ls1J"),o=n(/*! ../internals/an-object */"f1E4"),i=a.toKey,c=a.getMap,u=a.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=c(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var a=u.get(t);return a.delete(n),!!a.size||u.delete(t)}})},GPrf: +/*!**************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/check-correctness-of-iteration.js ***! + \**************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/well-known-symbol */"2kyd")("iterator"),a=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},GYRj: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.log10.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.log,o=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return a(e)*o}})},"Gw+j": +/*!*************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.symmetric-difference.js ***! + \*************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/species-constructor */"/dTS"),s=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{symmetricDifference:function(e){var t=i(this),n=new(u(t,o("Set")))(t),r=c(n.delete),a=c(n.add);return s(e,(function(e){r.call(n,e)||a.call(n,e)})),n}})},H4Hi: +/*!****************************************!*\ + !*** ./src/layouts/index.less?modules ***! + \****************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={loading:"loading___Pj8IT",layoutMainClass:"layoutMainClass___Z79Lq"}},H4fg: +/*!*******************************************************!*\ + !*** ./node_modules/rc-pagination/es/locale/en_US.js ***! + \*******************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";t.a={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"}},H8Ov: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.to-primitive.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("toPrimitive")},HBuW: +/*!********************************!*\ + !*** ./src/service/shixuns.ts ***! + \********************************/ +/*! exports provided: getShixunsList, getShixunsMenus, getShixunsDetail, getRightData, getChallengesData, execJupyter, execOpeni, execShixun, openChallenge, challengeMoveUp, challengeMoveDown, cancelCollect, collect, searchUserCourses, sendToCourse, cancelRelease, cancelPublic, applyPublic, release, getNewShixunsData, deleteAttachment, applyShixunMirror, submitShixuns, getShixunsJupyterLab, getAuditSituationData, updateAuditSituation, getCollaboratorsData, addCollaborator, addTeachGroupMember, getChangeManager, changeManager, deleteCollaborators, getRankingList, getSettingsData, getMirrorScript, getScriptContent, getCustomScript, updateSettingBasicInfo, getShixunQuote, deleteShixun, permanentClose, getDepartments, updatePermissionSetting, updateLearnSetting, updateSetting, getSetData, deleteDataSet, getChallengesNew, addChallengesNew, getChallengePractice, updateChallengesNew, getQuestionList, updateChallenges, deleteChallengesNew, getChallengesEdit, getChallengesAnswer, updateChallengesAnswer, addChallengesQuestion, updateChallengesQuestion, deleteChallengesQuestion, upChallengesQuestion, downChallengesQuestion, getEditChallengesQuestion, deleteGitFile, moveGitFile, getRepository, getSecretRepository, addRepositoryFile, getRepositoryCommit, getFileContent, updateRepositoryFile, uploadGitFolder, resetMyGame, getInfoWithTPM, getTimeInfoWithTPM, resetWithTPM, saveWithTPM, activeWithTPM, getForkList, updateCollaboratorEditable, setSecretDir, getEnvironmentData, getEnvironmentDetail, createRepository, createSecretRepository, existExercise, getMirrorApplies, mirrorAppliesPublish, mirrorAppliesOpenVnc, mirrorAppliesOpenWebssh, mirrorAppliesSaveImage, mirrorAppliesDeleteImage, mirrorAppliesExtendVnc, mirrorAppliesResetVncLink, getTaskPass, getInfoWithJupyterLab, updateJupyterLabSetting */ +/*! exports used: activeWithTPM, addChallengesNew, addChallengesQuestion, addCollaborator, addRepositoryFile, addTeachGroupMember, applyPublic, applyShixunMirror, cancelCollect, cancelPublic, cancelRelease, challengeMoveDown, challengeMoveUp, changeManager, collect, createRepository, createSecretRepository, deleteAttachment, deleteChallengesNew, deleteChallengesQuestion, deleteCollaborators, deleteDataSet, deleteGitFile, deleteShixun, downChallengesQuestion, execJupyter, execOpeni, execShixun, existExercise, getAuditSituationData, getChallengePractice, getChallengesAnswer, getChallengesData, getChallengesEdit, getChallengesNew, getChangeManager, getCollaboratorsData, getCustomScript, getDepartments, getEditChallengesQuestion, getEnvironmentData, getEnvironmentDetail, getFileContent, getForkList, getInfoWithJupyterLab, getInfoWithTPM, getMirrorApplies, getMirrorScript, getNewShixunsData, getQuestionList, getRankingList, getRepository, getRepositoryCommit, getRightData, getScriptContent, getSecretRepository, getSetData, getSettingsData, getShixunQuote, getShixunsDetail, getShixunsJupyterLab, getShixunsList, getShixunsMenus, getTaskPass, getTimeInfoWithTPM, mirrorAppliesOpenVnc, mirrorAppliesOpenWebssh, mirrorAppliesPublish, mirrorAppliesSaveImage, moveGitFile, openChallenge, permanentClose, release, resetMyGame, resetWithTPM, saveWithTPM, searchUserCourses, sendToCourse, setSecretDir, submitShixuns, upChallengesQuestion, updateAuditSituation, updateChallenges, updateChallengesAnswer, updateChallengesNew, updateChallengesQuestion, updateCollaboratorEditable, updateJupyterLabSetting, updateLearnSetting, updatePermissionSetting, updateRepositoryFile, updateSetting, updateSettingBasicInfo, uploadGitFolder */function(e,t,n){"use strict";n.d(t,"jb",(function(){return u})),n.d(t,"kb",(function(){return l})),n.d(t,"hb",(function(){return f})),n.d(t,"bb",(function(){return h})),n.d(t,"G",(function(){return b})),n.d(t,"z",(function(){return v})),n.d(t,"A",(function(){return _})),n.d(t,"B",(function(){return w})),n.d(t,"sb",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"l",(function(){return P})),n.d(t,"i",(function(){return T})),n.d(t,"o",(function(){return I})),n.d(t,"yb",(function(){return L})),n.d(t,"zb",(function(){return R})),n.d(t,"k",(function(){return F})),n.d(t,"j",(function(){return z})),n.d(t,"g",(function(){return q})),n.d(t,"ub",(function(){return W})),n.d(t,"W",(function(){return G})),n.d(t,"r",(function(){return K})),n.d(t,"h",(function(){return J})),n.d(t,"Bb",(function(){return Z})),n.d(t,"ib",(function(){return ee})),n.d(t,"D",(function(){return ne})),n.d(t,"Db",(function(){return ae})),n.d(t,"K",(function(){return ie})),n.d(t,"d",(function(){return ue})),n.d(t,"f",(function(){return le})),n.d(t,"J",(function(){return fe})),n.d(t,"n",(function(){return he})),n.d(t,"u",(function(){return be})),n.d(t,"Y",(function(){return ve})),n.d(t,"fb",(function(){return _e})),n.d(t,"V",(function(){return we})),n.d(t,"cb",(function(){return Oe})),n.d(t,"L",(function(){return Ee})),n.d(t,"Ob",(function(){return Pe})),n.d(t,"gb",(function(){return Te})),n.d(t,"x",(function(){return Ie})),n.d(t,"tb",(function(){return Le})),n.d(t,"M",(function(){return Re})),n.d(t,"Lb",(function(){return Fe})),n.d(t,"Kb",(function(){return ze})),n.d(t,"Nb",(function(){return qe})),n.d(t,"eb",(function(){return We})),n.d(t,"v",(function(){return Ge})),n.d(t,"I",(function(){return Ke})),n.d(t,"b",(function(){return Je})),n.d(t,"E",(function(){return Ze})),n.d(t,"Gb",(function(){return et})),n.d(t,"X",(function(){return nt})),n.d(t,"Eb",(function(){return at})),n.d(t,"s",(function(){return it})),n.d(t,"H",(function(){return ut})),n.d(t,"F",(function(){return lt})),n.d(t,"Fb",(function(){return ft})),n.d(t,"c",(function(){return ht})),n.d(t,"Hb",(function(){return bt})),n.d(t,"t",(function(){return vt})),n.d(t,"Cb",(function(){return _t})),n.d(t,"y",(function(){return wt})),n.d(t,"N",(function(){return Ot})),n.d(t,"w",(function(){return Et})),n.d(t,"rb",(function(){return Pt})),n.d(t,"Z",(function(){return Tt})),n.d(t,"db",(function(){return It})),n.d(t,"e",(function(){return Lt})),n.d(t,"ab",(function(){return Rt})),n.d(t,"Q",(function(){return Ft})),n.d(t,"Mb",(function(){return zt})),n.d(t,"Pb",(function(){return qt})),n.d(t,"vb",(function(){return Wt})),n.d(t,"T",(function(){return Gt})),n.d(t,"mb",(function(){return Kt})),n.d(t,"wb",(function(){return Jt})),n.d(t,"xb",(function(){return Zt})),n.d(t,"a",(function(){return en})),n.d(t,"R",(function(){return nn})),n.d(t,"Ib",(function(){return an})),n.d(t,"Ab",(function(){return cn})),n.d(t,"O",(function(){return sn})),n.d(t,"P",(function(){return pn})),n.d(t,"p",(function(){return dn})),n.d(t,"q",(function(){return mn})),n.d(t,"C",(function(){return yn})),n.d(t,"U",(function(){return gn})),n.d(t,"pb",(function(){return xn})),n.d(t,"nb",(function(){return jn})),n.d(t,"ob",(function(){return kn})),n.d(t,"qb",(function(){return Sn})),n.d(t,"lb",(function(){return Cn})),n.d(t,"S",(function(){return An})),n.d(t,"Jb",(function(){return Mn}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns.json",{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/disciplines.json",{method:"Get",params:Object(r.a)({source:"shixun"},t||{})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,".json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/show_right.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/jupyter_exec.json").concat(t.reset?"?reset=".concat(t.reset):""),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/openi_jupyter_lab_git",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/shixun_exec.json").concat(t.reset?"?reset=".concat(t.reset):""),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)(t.url,{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.shixun_identifier,"/challenges/").concat(t.challenge_id,"/index_up.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.shixun_identifier,"/challenges/").concat(t.challenge_id,"/index_down.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/collections/cancel.json",{method:"Delete",body:{container_id:t.container_id,container_type:t.container_type}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/collections.json",{method:"Post",body:{container_id:t.container_id,container_type:t.container_type}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(t||{}).id,e.abrupt("return",Object(c.a)("/api/shixuns/".concat(n,"/search_user_courses.json"),{method:"Get",params:t}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){var n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(n=t||{}).id,a=n.course_id,e.abrupt("return",Object(c.a)("/api/shixuns/".concat(r,"/send_to_course.json"),{method:"Post",body:{course_id:a}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/cancel_publish.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/cancel_apply_public.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/apply_public.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e){return H.apply(this,arguments)}function H(){return(H=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/publish.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/jupyter_new.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return Q.apply(this,arguments)}function Q(){return(Q=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/attachments/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){return X.apply(this,arguments)}function X(){return(X=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return $.apply(this,arguments)}function $(){return($=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){return te.apply(this,arguments)}function te(){return(te=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e){return re.apply(this,arguments)}function re(){return(re=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/review_newest_record.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(e){return oe.apply(this,arguments)}function oe(){return(oe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/review_shixun.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e){return ce.apply(this,arguments)}function ce(){return(ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/collaborators.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(e){return se.apply(this,arguments)}function se(){return(se=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/shixun_members_added.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(e){return pe.apply(this,arguments)}function pe(){return(pe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.identifier,"/add_members_group.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(e){return de.apply(this,arguments)}function de(){return(de=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/change_manager.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){return me.apply(this,arguments)}function me(){return(me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/change_manager.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return ye.apply(this,arguments)}function ye(){return(ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/collaborators_delete.json?user_id=").concat(t.userId),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(e){return ge.apply(this,arguments)}function ge(){return(ge=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/ranking_list.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(e){return xe.apply(this,arguments)}function xe(){return(xe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/settings.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(e){return je.apply(this,arguments)}function je(){return(je=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/get_mirror_script.json?mirror_id=".concat(t.mirror_id),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Oe(e){return ke.apply(this,arguments)}function ke(){return(ke=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/get_script_contents.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(e){return Se.apply(this,arguments)}function Se(){return(Se=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/get_custom_script.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pe(e){return Ce.apply(this,arguments)}function Ce(){return(Ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_for_jupyter.json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(e){return Ae.apply(this,arguments)}function Ae(){return(Ae=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/shixun_quotes.json"),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ie(e){return Me.apply(this,arguments)}function Me(){return(Me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Le(e){return De.apply(this,arguments)}function De(){return(De=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/close.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(e){return Ne.apply(this,arguments)}function Ne(){return(Ne=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/departments.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Fe(e){return Ue.apply(this,arguments)}function Ue(){return(Ue=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_permission_setting.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ze(e){return Ve.apply(this,arguments)}function Ve(){return(Ve=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_learn_setting.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qe(e){return Be.apply(this,arguments)}function Be(){return(Be=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_setting"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function We(e){return He.apply(this,arguments)}function He(){return(He=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/get_data_sets.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(e){return Ye.apply(this,arguments)}function Ye(){return(Ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/destroy_data_sets.json"),{method:"Delete",body:{id:t.deleteId}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ke(e){return Qe.apply(this,arguments)}function Qe(){return(Qe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/new.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Je(e){return Xe.apply(this,arguments)}function Xe(){return(Xe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.identifier,"/challenges.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ze(e){return $e.apply(this,arguments)}function $e(){return($e=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengeId,"/edit.json?tab=").concat(t.tab),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function et(e){return tt.apply(this,arguments)}function tt(){return(tt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,".json"),{method:"put",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function nt(e){return rt.apply(this,arguments)}function rt(){return(rt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/choose_questions.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function at(e){return ot.apply(this,arguments)}function ot(){return(ot=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/move_position.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function it(e){return ct.apply(this,arguments)}function ct(){return(ct=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,".json"),{method:"delete",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ut(e){return st.apply(this,arguments)}function st(){return(st=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/edit.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function lt(e){return pt.apply(this,arguments)}function pt(){return(pt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengeId,"/answer.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ft(e){return dt.apply(this,arguments)}function dt(){return(dt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengeId,"/crud_answer.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ht(e){return mt.apply(this,arguments)}function mt(){return(mt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/create_choose_question.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function bt(e){return yt.apply(this,arguments)}function yt(){return(yt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/update_choose_question.json?choose_id=").concat(t.questionId),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function vt(e){return gt.apply(this,arguments)}function gt(){return(gt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/destroy_challenge_choose.json"),{method:"Delete",body:{choose_id:t.questionId}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _t(e){return xt.apply(this,arguments)}function xt(){return(xt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/choose_question_up_position.json"),{method:"post",body:{challenge_choose_id:t.questionId}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function wt(e){return jt.apply(this,arguments)}function jt(){return(jt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/choose_question_down_position.json"),{method:"post",body:{challenge_choose_id:t.questionId}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ot(e){return kt.apply(this,arguments)}function kt(){return(kt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/challenges/").concat(t.challengesId,"/edit_choose_question.json?choose_id=").concat(t.questionId),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Et(e){return St.apply(this,arguments)}function St(){return(St=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/delete_git_file.json"),{method:"Delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pt(e){return Ct.apply(this,arguments)}function Ct(){return(Ct=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/mv_file.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Tt(e){return At.apply(this,arguments)}function At(){return(At=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/repository.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function It(e){return Mt.apply(this,arguments)}function Mt(){return(Mt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/secret_repository.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Lt(e){return Dt.apply(this,arguments)}function Dt(){return(Dt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/add_file.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Rt(e){return Nt.apply(this,arguments)}function Nt(){return(Nt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/commits.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ft(e){return Ut.apply(this,arguments)}function Ut(){return(Ut=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/file_content.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function zt(e){return Vt.apply(this,arguments)}function Vt(){return(Vt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_file.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qt(e){return Bt.apply(this,arguments)}function Bt(){return(Bt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/upload_git_folder.json"),{method:"post",body:{path:t.path,secret_repository:t.secret_repository}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Wt(e){return Ht.apply(this,arguments)}function Ht(){return(Ht=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/".concat(t.url),{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Gt(e){return Yt.apply(this,arguments)}function Yt(){return(Yt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Kt(e){return Qt.apply(this,arguments)}function Qt(){return(Qt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Jt(e){return Xt.apply(this,arguments)}function Xt(){return(Xt=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Zt(e){return $t.apply(this,arguments)}function $t(){return($t=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/save_with_tpm.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function en(e){return tn.apply(this,arguments)}function tn(){return(tn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/active_with_tpm.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function nn(e){return rn.apply(this,arguments)}function rn(){return(rn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/fork_list.json"),{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function an(e){return on.apply(this,arguments)}function on(){return(on=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.identifier,"/change_editable.json"),{method:"put",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function cn(e){return un.apply(this,arguments)}function un(){return(un=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/set_secret_dir.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function sn(e){return ln.apply(this,arguments)}function ln(){return(ln=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/new.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pn(e){return fn.apply(this,arguments)}function fn(){return(fn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/environment_info",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function dn(e){return hn.apply(this,arguments)}function hn(){return(hn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/init_repository.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mn(e){return bn.apply(this,arguments)}function bn(){return(bn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_secret_repository.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yn(e){return vn.apply(this,arguments)}function vn(){return(vn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/exist_exercise.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gn(e){return _n.apply(this,arguments)}function _n(){return(_n=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/mirror_applies/".concat(t.id,".json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function xn(e){return wn.apply(this,arguments)}function wn(){return(wn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/mirror_applies/".concat(t.id,"/publish.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function jn(e){return On.apply(this,arguments)}function On(){return(On=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/mirror_applies/".concat(t.id,"/open_vnc.json"),{method:"post",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function kn(e){return En.apply(this,arguments)}function En(){return(En=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/mirror_applies/".concat(t.id,"/open_webssh.json"),{method:"post",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Sn(e){return Pn.apply(this,arguments)}function Pn(){return(Pn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/mirror_applies/".concat(t.id,"/save_image.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Cn(e){return Tn.apply(this,arguments)}function Tn(){return(Tn=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/get_task_pass.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function An(e){return In.apply(this,arguments)}function In(){return(In=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Mn(e){return Ln.apply(this,arguments)}function Ln(){return(Ln=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/update_jupyter_lab_setting.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},HKQd: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-trim-forced.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys"),a=n(/*! ../internals/whitespaces */"Tfd0");e.exports=function(e){return r((function(){return!!a[e]()||"​…᠎"!="​…᠎"[e]()||a[e].name!==e}))}},HQPm: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.string.match-all.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ./es.string.match-all */"bPAU")},"HaE+": +/*!*********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***! + \*********************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var c=e[o](i),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function c(e){r(i,a,o,c,u,"next",e)}function u(e){r(i,a,o,c,u,"throw",e)}c(void 0)}))}}n.d(t,"a",(function(){return a}))},HctQ: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-define-properties.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/object-define-property */"YfKC"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/object-keys */"P0e2");e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=i(t),c=r.length,u=0;c>u;)a.f(e,n=r[u++],t[n]);return e}},HhvW: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/create-property-descriptor.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},HjuX: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.entries.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/object-to-array */"CdV7").entries;r({target:"Object",stat:!0},{entries:function(e){return a(e)}})},"I5+W": +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.of.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/typed-array-constructors-require-wrappers */"8OQV"),o=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(o(this))(t);t>e;)n[e]=arguments[e++];return n}),a)},I5X1: +/*!*******************************************************!*\ + !*** ./src/.umi-production/plugin-model/useModel.tsx ***! + \*******************************************************/ +/*! exports provided: useModel */ +/*! exports used: useModel */function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),a=n(/*! react */"q1tI"),o=n(/*! ./node_modules/@umijs/plugin-model/node_modules/fast-deep-equal/index.js */"1WJl"),i=n.n(o),c=n(/*! ./node_modules/@umijs/plugin-model/lib/helpers/constant */"FMtG");function u(e,t){var n=Object(a.useContext)(c.UmiContext),o=Object(a.useRef)(t);o.current=t;var u=Object(a.useState)((function(){return o.current?o.current(n.data[e]):n.data[e]})),s=Object(r.a)(u,2),l=s[0],p=s[1],f=Object(a.useRef)(l);return f.current=l,Object(a.useEffect)((function(){var r=function(e){if(t&&o.current){var n=o.current(e),r=f.current;i()(n,r)||p(n)}else p(e)};try{n.callbacks[e].add(r)}catch(t){n.callbacks[e]=new Set,n.callbacks[e].add(r)}return function(){n.callbacks[e].delete(r)}}),[e]),l}},I65O: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/define-well-known-symbol.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/path */"nFn1"),a=n(/*! ../internals/has */"jtLI"),o=n(/*! ../internals/well-known-symbol-wrapped */"IjB0"),i=n(/*! ../internals/object-define-property */"YfKC").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)})}},IA2H: +/*!***************************************************!*\ + !*** ./node_modules/rc-picker/es/locale/en_US.js ***! + \***************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";t.a={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},"IC/V": +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.split.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("split")},IGnA: +/*!**********************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-get-own-property-names-external.js ***! + \**********************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-indexed-object */"0qr0"),a=n(/*! ../internals/object-get-own-property-names */"uGHk").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?function(e){try{return a(e)}catch(e){return i.slice()}}(e):a(r(e))}},ITfd: +/*!***********************************************!*\ + !*** ./node_modules/hash.js/lib/hash/hmac.js ***! + \***********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./utils */"w8CP"),a=n(/*! minimalistic-assert */"2j6C");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),a(e.length<=this.blockSize);for(var t=e.length;t1?arguments[1]:void 0)}))},IbaC: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.string.replace-all.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/require-object-coercible */"FCfD"),o=n(/*! ../internals/is-regexp */"YON3"),i=n(/*! ../internals/regexp-flags */"k/J9"),c=n(/*! ../internals/well-known-symbol */"2kyd"),u=n(/*! ../internals/is-pure */"Zcjx"),s=c("replace"),l=RegExp.prototype;r({target:"String",proto:!0},{replaceAll:function e(t,n){var r,c,p,f,d,h,m,b,y=a(this);if(null!=t){if((r=o(t))&&!~String(a("flags"in l?t.flags:i.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(c=t[s]))return c.call(t,y,n);if(u&&r)return String(y).replace(t,n)}if(p=String(y),""===(f=String(t)))return e.call(p,/(?:)/g,n);if(d=p.split(f),"function"!=typeof n)return d.join(String(n));for(m=(h=d[0]).length,b=1;bh;h++)if((b=l?g(r(v=e[h])[0],v[1]):g(e[h]))&&b instanceof s)return b;return new s(!1)}f=d.call(e)}for(y=f.next;!(v=y.call(f)).done;)if("object"==typeof(b=u(f,g,v.value,l))&&b&&b instanceof s)return b;return new s(!1)}).stop=function(e){return new s(!0,e)}},"Iw+M": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.index-of.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-includes */"/3zY").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},IyRk: +/*!*****************************!*\ + !*** (webpack)/4/global.js ***! + \*****************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){(function(t){e.exports=function(){var e={873:function(e){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(e){"object"==typeof window&&(t=window)}e.exports=t}},n={};function r(t){if(n[t])return n[t].exports;var a=n[t]={exports:{}},o=!0;try{e[t](a,a.exports,r),o=!1}finally{o&&delete n[t]}return a.exports}return r.ab=t+"/",r(873)}()}).call(this,"/")},IyrG: +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array-buffer.constructor.js ***! + \*********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/global */"ukPv"),o=n(/*! ../internals/array-buffer */"ZSlt"),i=n(/*! ../internals/set-species */"ssJt"),c=o.ArrayBuffer;r({global:!0,forced:a.ArrayBuffer!==c},{ArrayBuffer:c}),i("ArrayBuffer")},"J+Da": +/*!****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/to-index.js ***! + \****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-integer */"m0kY"),a=n(/*! ../internals/to-length */"oa35");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length or index");return n}},J3Yn: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/inspect-source.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/shared-store */"pb5k"),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},J428: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.values.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/object-to-array */"CdV7").values;r({target:"Object",stat:!0},{values:function(e){return a(e)}})},J4zp: +/*!**************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***! + \**************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./arrayWithHoles.js */"wTVA"),a=n(/*! ./iterableToArrayLimit.js */"m0LI"),o=n(/*! ./unsupportedIterableToArray.js */"ZhPi"),i=n(/*! ./nonIterableRest.js */"wkBT");e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},JDCn: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.clz32.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.floor,o=Math.log,i=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-a(o(e+.5)*i):32}})},JI6M: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.trim.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-trim */"mTKU").trim;r({target:"String",proto:!0,forced:n(/*! ../internals/string-trim-forced */"HKQd")("trim")},{trim:function(){return a(this)}})},JO4c: +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.reduce-right.js ***! + \*********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-reduce */"9RRT").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},JS3A: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/a-possible-prototype.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},JX7q: +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***! + \**************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},JXee: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.fscale.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/math-scale */"YMoz"),o=n(/*! ../internals/math-fround */"jdp+");r({target:"Math",stat:!0},{fscale:function(e,t,n,r,i){return o(a(e,t,n,r,i))}})},JXem: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/iterators-core.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a,o,i=n(/*! ../internals/object-get-prototype-of */"Acmb"),c=n(/*! ../internals/create-non-enumerable-property */"lz10"),u=n(/*! ../internals/has */"jtLI"),s=n(/*! ../internals/well-known-symbol */"2kyd"),l=n(/*! ../internals/is-pure */"Zcjx"),p=s("iterator"),f=!1;[].keys&&("next"in(o=[].keys())?(a=i(i(o)))!==Object.prototype&&(r=a):f=!0),null==r&&(r={}),l||u(r,p)||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},Ji7U: +/*!*************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***! + \*************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! ./setPrototypeOf.js */"s4An");function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r.a)(e,t)}},JnaH: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.sinh.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/math-expm1 */"V61k"),i=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:a((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return i(e=+e)<1?(o(e)-o(-e))/2:(c(e-1)-c(-e-1))*(u/2)}})},JxQ3: +/*!**********************************************!*\ + !*** ./node_modules/object-inspect/index.js ***! + \**********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&a&&"function"==typeof a.get?a.get:null,i=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=c&&u&&"function"==typeof u.get?u.get:null,l=c&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,b=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,g=String.prototype.replace,_=String.prototype.toUpperCase,x=String.prototype.toLowerCase,w=RegExp.prototype.test,j=Array.prototype.concat,O=Array.prototype.join,k=Array.prototype.slice,E=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,M=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function L(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||w.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-E(-e):E(e);if(r!==e){var a=String(r),o=v.call(t,a.length+1);return g.call(a,n,"$&_")+"."+g.call(g.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,n,"$&_")}var D=n(/*! ./util.inspect */2).custom,R=D&&z(D)?D:null;function N(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return g.call(String(e),/"/g,""")}function U(e){return!("[object Array]"!==B(e)||A&&"object"==typeof e&&A in e)}function z(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,a){var c=n||{};if(q(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!q(c,"customInspect")||c.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,a="... "+r+" more character"+(r>1?"s":"");return e(v.call(t,0,n.maxStringLength),n)+a}return N(g.call(g.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,H),"single",n)}(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return m?L(t,_):_}if("bigint"==typeof t){var w=String(t)+"n";return m?L(t,w):w}var E=void 0===c.depth?5:c.depth;if(void 0===r&&(r=0),r>=E&&E>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var P=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=O.call(Array(e.indent+1)," ")}return{base:n,prev:O.call(Array(t+1),n)}}(c,r);if(void 0===a)a=[];else if(W(a,t)>=0)return"[Circular]";function D(t,n,o){if(n&&(a=k.call(a)).push(n),o){var i={depth:c.depth};return q(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,r+1,a)}return e(t,c,r+1,a)}if("function"==typeof t){var V=function(e){if(e.name)return e.name;var t=y.call(b.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),X=J(t,D);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(X.length>0?" { "+O.call(X,", ")+" }":"")}if(z(t)){var Z=T?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!=typeof t||T?Z:G(Z)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var $="<"+x.call(String(t.nodeName)),ee=t.attributes||[],te=0;te"}if(U(t)){if(0===t.length)return"[]";var ne=J(t,D);return P&&!function(e){for(var t=0;t=0)return!1;return!0}(ne)?"["+Q(ne,P)+"]":"[ "+O.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==B(e)||A&&"object"==typeof e&&A in e)}(t)){var re=J(t,D);return"cause"in t&&!I.call(t,"cause")?"{ ["+String(t)+"] "+O.call(j.call("[cause]: "+D(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+O.call(re,", ")+" }"}if("object"==typeof t&&u){if(R&&"function"==typeof t[R])return t[R]();if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ae=[];return i.call(t,(function(e,n){ae.push(D(n,t,!0)+" => "+D(e,t))})),K("Map",o.call(t),ae,P)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var oe=[];return l.call(t,(function(e){oe.push(D(e,t))})),K("Set",s.call(t),oe,P)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Y("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Y("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(t))return Y("WeakRef");if(function(e){return!("[object Number]"!==B(e)||A&&"object"==typeof e&&A in e)}(t))return G(D(Number(t)));if(function(e){if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(e){}return!1}(t))return G(D(S.call(t)));if(function(e){return!("[object Boolean]"!==B(e)||A&&"object"==typeof e&&A in e)}(t))return G(h.call(t));if(function(e){return!("[object String]"!==B(e)||A&&"object"==typeof e&&A in e)}(t))return G(D(String(t)));if(!function(e){return!("[object Date]"!==B(e)||A&&"object"==typeof e&&A in e)}(t)&&!function(e){return!("[object RegExp]"!==B(e)||A&&"object"==typeof e&&A in e)}(t)){var ie=J(t,D),ce=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",se=!ce&&A&&Object(t)===t&&A in t?v.call(B(t),8,-1):ue?"Object":"",le=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(se||ue?"["+O.call(j.call([],se||[],ue||[]),": ")+"] ":"");return 0===ie.length?le+"{}":P?le+"{"+Q(ie,P)+"}":le+"{ "+O.call(ie,", ")+" }"}return String(t)};var V=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return V.call(e,t)}function B(e){return m.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(e){return"[Circular]"}break;default:return e}}));return i}return a}function f(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function d(e,t,n){var r=0,a=e.length;!function o(i){if(i&&i.length)n(i);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(e){return _.number(e)&&parseInt(e,10)===e},float:function(e){return _.number(e)&&!_.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!_.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(g.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(g.url)},hex:function(e){return"string"==typeof e&&!!e.match(g.hex)}};var x={required:v,whitespace:function(e,t,n,r,a){(/^\s+$/.test(t)||""===t)&&r.push(p(a.messages.whitespace,e.fullField))},type:function(e,t,n,r,a){if(e.required&&void 0===t)v(e,t,n,r,a);else{var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?_[o](t)||r.push(p(a.messages.types[o],e.fullField,e.type)):o&&typeof t!==e.type&&r.push(p(a.messages.types[o],e.fullField,e.type))}},range:function(e,t,n,r,a){var o="number"==typeof e.len,i="number"==typeof e.min,c="number"==typeof e.max,u=t,s=null,l="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(l?s="number":f?s="string":d&&(s="array"),!s)return!1;d&&(u=t.length),f&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?u!==e.len&&r.push(p(a.messages[s].len,e.fullField,e.len)):i&&!c&&ue.max?r.push(p(a.messages[s].max,e.fullField,e.max)):i&&c&&(ue.max)&&r.push(p(a.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(p(a.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(p(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(p(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function w(e,t,n,r,a){var o=e.type,i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t,o)&&!e.required)return n();x.required(e,t,r,i,a,o),f(t,o)||x.type(e,t,r,i,a)}n(i)}var j={string:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t,"string")&&!e.required)return n();x.required(e,t,r,o,a,"string"),f(t,"string")||(x.type(e,t,r,o,a),x.range(e,t,r,o,a),x.pattern(e,t,r,o,a),!0===e.whitespace&&x.whitespace(e,t,r,o,a))}n(o)},method:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&x.type(e,t,r,o,a)}n(o)},number:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&(x.type(e,t,r,o,a),x.range(e,t,r,o,a))}n(o)},boolean:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&x.type(e,t,r,o,a)}n(o)},regexp:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),f(t)||x.type(e,t,r,o,a)}n(o)},integer:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&(x.type(e,t,r,o,a),x.range(e,t,r,o,a))}n(o)},float:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&(x.type(e,t,r,o,a),x.range(e,t,r,o,a))}n(o)},array:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();x.required(e,t,r,o,a,"array"),null!=t&&(x.type(e,t,r,o,a),x.range(e,t,r,o,a))}n(o)},object:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&x.type(e,t,r,o,a)}n(o)},enum:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a),void 0!==t&&x.enum(e,t,r,o,a)}n(o)},pattern:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t,"string")&&!e.required)return n();x.required(e,t,r,o,a),f(t,"string")||x.pattern(e,t,r,o,a)}n(o)},date:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t,"date")&&!e.required)return n();var i;if(x.required(e,t,r,o,a),!f(t,"date"))i=t instanceof Date?t:new Date(t),x.type(e,i,r,o,a),i&&x.range(e,i.getTime(),r,o,a)}n(o)},url:w,hex:w,email:w,required:function(e,t,n,r,a){var o=[],i=Array.isArray(t)?"array":typeof t;x.required(e,t,r,o,a,i),n(o)},any:function(e,t,n,r,a){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();x.required(e,t,r,o,a)}n(o)}};function O(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var k=O();function E(e){this.rules=null,this._messages=k,this.define(e)}E.prototype={messages:function(e){return e&&(this._messages=y(O(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");var t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,r){var a=this;void 0===t&&(t={}),void 0===r&&(r=function(){});var o,i,c=e,u=t,s=r;if("function"==typeof u&&(s=u,u={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(),Promise.resolve();if(u.messages){var f=this.messages();f===k&&(f=O()),y(f,u.messages),u.messages=f}else u.messages=this.messages();var d={};(u.keys||Object.keys(this.rules)).forEach((function(t){o=a.rules[t],i=c[t],o.forEach((function(r){var o=r;"function"==typeof o.transform&&(c===e&&(c=n({},c)),i=c[t]=o.transform(i)),(o="function"==typeof o?{validator:o}:n({},o)).validator=a.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=a.getType(o),o.validator&&(d[t]=d[t]||[],d[t].push({rule:o,value:i,source:c,field:t}))}))}));var h={};return m(d,u,(function(e,t){var r,a=e.rule,o=!("object"!==a.type&&"array"!==a.type||"object"!=typeof a.fields&&"object"!=typeof a.defaultField);function i(e,t){return n({},t,{fullField:a.fullField+"."+e})}function c(r){void 0===r&&(r=[]);var c=r;if(Array.isArray(c)||(c=[c]),!u.suppressWarning&&c.length&&E.warning("async-validator:",c),c.length&&void 0!==a.message&&(c=[].concat(a.message)),c=c.map(b(a)),u.first&&c.length)return h[a.field]=1,t(c);if(o){if(a.required&&!e.value)return void 0!==a.message?c=[].concat(a.message).map(b(a)):u.error&&(c=[u.error(a,p(u.messages.required,a.field))]),t(c);var s={};if(a.defaultField)for(var l in e.value)e.value.hasOwnProperty(l)&&(s[l]=a.defaultField);for(var f in s=n({},s,e.rule.fields))if(s.hasOwnProperty(f)){var d=Array.isArray(s[f])?s[f]:[s[f]];s[f]=d.map(i.bind(null,f))}var m=new E(s);m.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),m.validate(e.value,e.rule.options||u,(function(e){var n=[];c&&c.length&&n.push.apply(n,c),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(c)}o=o&&(a.required||!a.required&&e.value),a.field=e.field,a.asyncValidator?r=a.asyncValidator(a,e.value,c,e.source,u):a.validator&&(!0===(r=a.validator(a,e.value,c,e.source,u))?c():!1===r?c(a.message||a.field+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)),r&&r.then&&r.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){!function(e){var t,n,r,a=[],o={};for(t=0;t=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},Kwbf: +/*!********************************************!*\ + !*** ./node_modules/rc-util/es/warning.js ***! + \********************************************/ +/*! exports provided: warning, note, resetWarned, call, warningOnce, noteOnce, default */ +/*! exports used: default, noteOnce, warning */function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return c}));var r={};function a(e,t){0}function o(e,t){0}function i(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function c(e,t){i(o,e,t)}t.a=function(e,t){i(a,e,t)}},L5O0: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.weak-set.of.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"WeakSet",stat:!0},{of:n(/*! ../internals/collection-of */"qA1w")})},LJ80: +/*!***********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/copy-constructor-properties.js ***! + \***********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/has */"jtLI"),a=n(/*! ../internals/own-keys */"cC5k"),o=n(/*! ../internals/object-get-own-property-descriptor */"g8rt"),i=n(/*! ../internals/object-define-property */"YfKC");e.exports=function(e,t){for(var n=a(t),c=i.f,u=o.f,s=0;s1?arguments[1]:void 0)}))},LpSC: +/*!***************************************************************!*\ + !*** ./node_modules/isomorphic-fetch/fetch-npm-browserify.js ***! + \***************************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! whatwg-fetch */"bZMm"),e.exports=self.fetch.bind(self)},LtsZ: +/*!*******************************************************!*\ + !*** ./node_modules/@umijs/runtime/dist/index.esm.js ***! + \*******************************************************/ +/*! exports provided: createBrowserHistory, createHashHistory, createMemoryHistory, __RouterContext, Link, MemoryRouter, NavLink, Prompt, Redirect, Route, Router, StaticRouter, Switch, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter, ApplyPluginsType, Plugin, dynamic, isBrowser */ +/*! exports used: ApplyPluginsType, Plugin, dynamic */function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return P}));var r=n(/*! react */"q1tI"),a=n(/*! use-subscription */"8L3h");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw o}}}}var y=Object(r.createContext)(null),v=[],g=[],_=!1;function x(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function w(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=x(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(e){t.error=e}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function j(e,t){return Object(r.createElement)((n=e)&&n.__esModule?n.default:n,t);var n}function O(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:j,webpack:null,modules:null},t),o=null;function i(){if(!o){var t=new k(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if("undefined"==typeof window&&v.push(i),!_&&"undefined"!=typeof window&&"function"==typeof n.webpack){var c=n.webpack();g.push((function(e){var t,n=b(c);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(-1!==e.indexOf(r))return i()}}catch(e){n.e(e)}finally{n.f()}}))}var u=function(e,t){i();var c=Object(r.useContext)(y),u=Object(a.useSubscription)(o);return Object(r.useImperativeHandle)(t,(function(){return{retry:o.retry}})),c&&Array.isArray(n.modules)&&n.modules.forEach((function(e){c(e)})),u.loading||u.error?Object(r.createElement)(n.loading,{isLoading:u.loading,pastDelay:u.pastDelay,timedOut:u.timedOut,error:u.error,retry:o.retry}):u.loaded?n.render(u.loaded,e):null},s=Object(r.forwardRef)(u);return s.preload=function(){return i()},s.displayName="LoadableComponent",s}var k=function(){function e(t,n){s(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return p(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"==typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"==typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update(),e._clearTimeouts()})).catch((function(t){e._update(),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=i(i({},this._state),e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return i(i({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading})}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function E(e){return O(x,e)}function S(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return S(e,t)}))}function P(e){var t=E,n={loading:function(e){e.error,e.isLoading;return Object(r.createElement)("p",null,"loading...")}};if("function"==typeof e)n.loader=e;else{if("object"!==c(e))throw new Error("Unexpect arguments ".concat(e));n=i(i({},n),e)}return t(n)}function C(e,t){if(!e)throw new Error(t)}E.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return O(w,e)},E.preloadAll=function(){return new Promise((function(e,t){S(v).then(e,t)}))},E.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return _=!0,t()};S(g,e).then(n,n)}))},"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=E.preloadReady);var T;function A(e){return!!e&&"object"===c(e)&&"function"==typeof e.then}!function(e){e.compose="compose",e.modify="modify",e.event="event"}(T||(T={}));var I=function(){function e(t){s(this,e),this.validKeys=void 0,this.hooks={},this.validKeys=(null==t?void 0:t.validKeys)||[]}return p(e,[{key:"register",value:function(e){var t=this;C(!!e.apply,"register failed, plugin.apply must supplied"),C(!!e.path,"register failed, plugin.path must supplied"),Object.keys(e.apply).forEach((function(n){C(t.validKeys.indexOf(n)>-1,"register failed, invalid key ".concat(n," from plugin ").concat(e.path,".")),t.hooks[n]||(t.hooks[n]=[]),t.hooks[n]=t.hooks[n].concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=d(e.split(".")),n=t[0],r=t.slice(1),a=this.hooks[n]||[];return r.length&&(a=a.map((function(e){try{var t,n=e,a=b(r);try{for(a.s();!(t=a.n()).done;){n=n[t.value]}}catch(e){a.e(e)}finally{a.f()}return n}catch(e){return null}})).filter(Boolean)),a}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,a=e.args,o=e.async,s=this.getHooks(t)||[];switch(a&&C("object"===c(a),"applyPlugins failed, args must be plain object."),n){case T.modify:return o?s.reduce(function(){var e,n=(e=regeneratorRuntime.mark((function e(n,r){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(C("function"==typeof r||"object"===c(r)||A(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!A(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!=typeof r){e.next=16;break}if(!A(o=r(n,a))){e.next=13;break}return e.next=10,o;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",o);case 14:e.next=21;break;case 16:if(!A(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",i(i({},n),r));case 21:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,c,"next",e)}function c(e){u(o,r,a,i,c,"throw",e)}i(void 0)}))});return function(e,t){return n.apply(this,arguments)}}(),A(r)?r:Promise.resolve(r)):s.reduce((function(e,n){return C("function"==typeof n||"object"===c(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"==typeof n?n(e,a):i(i({},e),n)}),r);case T.event:return s.forEach((function(e){C("function"==typeof e,"applyPlugins failed, all hooks for key ".concat(t," must be function.")),e(a)}));case T.compose:return function(){return function(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}({fns:s.concat(r),args:a})()}}}}]),e}()},LtxK: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.iterator.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("iterator")},LuSS: +/*!******************************************************************************!*\ + !*** ./node_modules/@ctrl/tinycolor/dist/module/format-input.js + 1 modules ***! + \******************************************************************************/ +/*! exports provided: inputToRGB, stringInputToObject, isValidCSSUnit */ +/*! exports used: inputToRGB */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ctrl/tinycolor/dist/module/conversion.js because of ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ctrl/tinycolor/dist/module/util.js because of ./node_modules/@ant-design/icons/node_modules/@ant-design/colors/dist/index.esm.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("FER5"),a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},o=n("b3aT");function i(e){var t={r:0,g:0,b:0},n=1,i=null,c=null,u=null,s=!1,f=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(a[e])e=a[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=l.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=l.rgba.exec(e))return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=l.hsl.exec(e))return{h:n[1],s:n[2],l:n[3]};if(n=l.hsla.exec(e))return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=l.hsv.exec(e))return{h:n[1],s:n[2],v:n[3]};if(n=l.hsva.exec(e))return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=l.hex8.exec(e))return{r:Object(r.d)(n[1]),g:Object(r.d)(n[2]),b:Object(r.d)(n[3]),a:Object(r.a)(n[4]),format:t?"name":"hex8"};if(n=l.hex6.exec(e))return{r:Object(r.d)(n[1]),g:Object(r.d)(n[2]),b:Object(r.d)(n[3]),format:t?"name":"hex"};if(n=l.hex4.exec(e))return{r:Object(r.d)(n[1]+n[1]),g:Object(r.d)(n[2]+n[2]),b:Object(r.d)(n[3]+n[3]),a:Object(r.a)(n[4]+n[4]),format:t?"name":"hex8"};if(n=l.hex3.exec(e))return{r:Object(r.d)(n[1]+n[1]),g:Object(r.d)(n[2]+n[2]),b:Object(r.d)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(p(e.r)&&p(e.g)&&p(e.b)?(t=Object(r.g)(e.r,e.g,e.b),s=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):p(e.h)&&p(e.s)&&p(e.v)?(i=Object(o.c)(e.s),c=Object(o.c)(e.v),t=Object(r.c)(e.h,i,c),s=!0,f="hsv"):p(e.h)&&p(e.s)&&p(e.l)&&(i=Object(o.c)(e.s),u=Object(o.c)(e.l),t=Object(r.b)(e.h,i,u),s=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Object(o.b)(n),{ok:s,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",u="[\\s|\\(]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")\\s*\\)?",s="[\\s|\\(]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")[,|\\s]+("+c+")\\s*\\)?",l={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(e){return Boolean(l.CSS_UNIT.exec(String(e)))}},M1bg: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.blink.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("blink")},{blink:function(){return a(this,"blink","","")}})},M3b6: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/is-integer.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo"),a=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&a(e)===e}},M5u2: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.unscopables.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("unscopables")},M8HR: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/regexp-sticky-helpers.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./fails */"MVys");function a(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},MIOZ: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}}},MMxC: +/*!**************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/export.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,o=n(/*! ../internals/create-non-enumerable-property */"lz10"),i=n(/*! ../internals/redefine */"NMFW"),c=n(/*! ../internals/set-global */"TMUv"),u=n(/*! ../internals/copy-constructor-properties */"LJ80"),s=n(/*! ../internals/is-forced */"kkxG");e.exports=function(e,t){var n,l,p,f,d,h=e.target,m=e.global,b=e.stat;if(n=m?r:b?r[h]||c(h,{}):(r[h]||{}).prototype)for(l in t){if(f=t[l],p=e.noTargetGet?(d=a(n,l))&&d.value:n[l],!s(m?l:h+(b?".":"#")+l,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;u(f,p)}(e.sham||p&&p.sham)&&o(f,"sham",!0),i(n,l,f,e)}}},MNnm: +/*!**************************************************!*\ + !*** ./node_modules/rc-util/es/Dom/canUseDom.js ***! + \**************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,"a",(function(){return r}))},MRpI: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.tanh.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/math-expm1 */"V61k"),o=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=a(e=+e),n=a(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},MVys: +/*!*************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/fails.js ***! + \*************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},Mgx3: +/*!******************************!*\ + !*** ./src/service/paths.ts ***! + \******************************/ +/*! exports provided: getCourseList, getIntelligentRecommendationsList, getCourseMenus, editCourse, submitCourse, getEditCourseData, getPathsDetail, getRightData, getCoureses, getStageData, updateTeamTitle, deleteMember, deleteCourses, memberMoveUp, memberMoveDowm, collect, cancelCollect, deletePath, applyPublish, cancelPublish, applyPublic, cancelPublic, getSendCourseList, sendToCourse, addSubjectMembers, addCourses, appointment, immediatelyRegister, getStatisticsInfo, getShixunUseData, getLearnData, getLearnStatistics, getShixunAnalyzeData, getStudentData, appendToStage, updateStage, satgeAddShixunToStage, selectShixunToStage, addVideoToStage, addCoursewareToStage, upCoursewareToStage, addBlankItems, addStage, addShixunToStage, upPosition, downPosition, deleteStage, getDiscusses, getCourseDiscusses, createDiscusses, stagesMovePosition, deleteStages, excellentDiscuss, postDiscuss, getSchoolOption, appplySchool */ +/*! exports used: addBlankItems, addCourses, addCoursewareToStage, addStage, addSubjectMembers, addVideoToStage, applyPublic, applyPublish, appointment, appplySchool, cancelCollect, cancelPublic, cancelPublish, collect, deleteCourses, deleteMember, deletePath, deleteStage, deleteStages, downPosition, editCourse, excellentDiscuss, getCoureses, getCourseDiscusses, getCourseList, getCourseMenus, getDiscusses, getEditCourseData, getLearnStatistics, getPathsDetail, getRightData, getSchoolOption, getSendCourseList, getShixunAnalyzeData, getStageData, getStatisticsInfo, getStudentData, immediatelyRegister, postDiscuss, satgeAddShixunToStage, selectShixunToStage, sendToCourse, stagesMovePosition, submitCourse, upCoursewareToStage, upPosition, updateStage, updateTeamTitle */function(e,t,n){"use strict";n.d(t,"y",(function(){return u})),n.d(t,"z",(function(){return l})),n.d(t,"u",(function(){return f})),n.d(t,"R",(function(){return h})),n.d(t,"B",(function(){return b})),n.d(t,"D",(function(){return v})),n.d(t,"E",(function(){return _})),n.d(t,"w",(function(){return w})),n.d(t,"I",(function(){return O})),n.d(t,"V",(function(){return E})),n.d(t,"p",(function(){return P})),n.d(t,"o",(function(){return T})),n.d(t,"n",(function(){return I})),n.d(t,"k",(function(){return L})),n.d(t,"q",(function(){return R})),n.d(t,"h",(function(){return F})),n.d(t,"m",(function(){return z})),n.d(t,"g",(function(){return q})),n.d(t,"l",(function(){return W})),n.d(t,"G",(function(){return G})),n.d(t,"P",(function(){return K})),n.d(t,"e",(function(){return J})),n.d(t,"b",(function(){return Z})),n.d(t,"i",(function(){return ee})),n.d(t,"L",(function(){return ne})),n.d(t,"J",(function(){return ae})),n.d(t,"C",(function(){return ie})),n.d(t,"H",(function(){return ue})),n.d(t,"K",(function(){return le})),n.d(t,"U",(function(){return fe})),n.d(t,"N",(function(){return he})),n.d(t,"O",(function(){return be})),n.d(t,"f",(function(){return ve})),n.d(t,"c",(function(){return _e})),n.d(t,"S",(function(){return we})),n.d(t,"a",(function(){return Oe})),n.d(t,"d",(function(){return Ee})),n.d(t,"T",(function(){return Pe})),n.d(t,"t",(function(){return Te})),n.d(t,"r",(function(){return Ie})),n.d(t,"A",(function(){return Le})),n.d(t,"x",(function(){return Re})),n.d(t,"Q",(function(){return Fe})),n.d(t,"s",(function(){return ze})),n.d(t,"v",(function(){return qe})),n.d(t,"M",(function(){return We})),n.d(t,"F",(function(){return Ge})),n.d(t,"j",(function(){return Ke}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths.json",{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/disciplines.json",{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,".json"),{method:"PUT",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/edit.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,".json"),{method:"get",params:{identifier:t.id}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/right_banner.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/spoc_courses.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/update_team_title.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/delete_member.json"),{method:"Delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/spoc_courses/").concat(null==t?void 0:t.courseid,".json"),{method:"Delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/collections.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/collections/cancel.json",{method:"Delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,".json"),{method:"Delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/publish.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/cancel_publish.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/apply_public.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e){return H.apply(this,arguments)}function H(){return(H=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/cancel_public.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/choose_course.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return Q.apply(this,arguments)}function Q(){return(Q=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/send_to_course.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){return X.apply(this,arguments)}function X(){return(X=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/add_subject_members.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return $.apply(this,arguments)}function $(){return($=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/spoc_courses.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){return te.apply(this,arguments)}function te(){return(te=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/appointment.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e){return re.apply(this,arguments)}function re(){return(re=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.id,"/join_excellent_course.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(e){return oe.apply(this,arguments)}function oe(){return(oe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/statistics_info.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e){return ce.apply(this,arguments)}function ce(){return(ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/learning_statistics.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(e){return se.apply(this,arguments)}function se(){return(se=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/shixun_statistics.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(e){return pe.apply(this,arguments)}function pe(){return(pe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/study_analyze/").concat(t.type,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(e){return de.apply(this,arguments)}function de(){return(de=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,".json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){return me.apply(this,arguments)}function me(){return(me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/add_shixun_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return ye.apply(this,arguments)}function ye(){return(ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/select_shixun_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(e){return ge.apply(this,arguments)}function ge(){return(ge=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/add_video_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(e){return xe.apply(this,arguments)}function xe(){return(xe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/add_attachment_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function we(e){return je.apply(this,arguments)}function je(){return(je=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stage_shixuns/".concat(t.id,".json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Oe(e){return ke.apply(this,arguments)}function ke(){return(ke=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/add_blank_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(e){return Se.apply(this,arguments)}function Se(){return(Se=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages.json?subject_id=".concat(t.pathId),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Pe(e){return Ce.apply(this,arguments)}function Ce(){return(Ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/up_position.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Te(e){return Ae.apply(this,arguments)}function Ae(){return(Ae=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,"/down_position.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ie(e){return Me.apply(this,arguments)}function Me(){return(Me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Le(e){return De.apply(this,arguments)}function De(){return(De=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.pathId,"/discusses.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(e){return Ne.apply(this,arguments)}function Ne(){return(Ne=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/excellent_discusses.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Fe(e){return Ue.apply(this,arguments)}function Ue(){return(Ue=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.stage_id,"/items/move_position"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ze(e){return Ve.apply(this,arguments)}function Ve(){return(Ve=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages/".concat(t.stage_id,"/items/").concat(t.id),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qe(e){return Be.apply(this,arguments)}function Be(){return(Be=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.id,"/excellent_discuss"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function We(e){return He.apply(this,arguments)}function He(){return(He=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/paths/".concat(t.id,"/post_discuss"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ge(e){return Ye.apply(this,arguments)}function Ye(){return(Ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/schools/for_option.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ke(e){return Qe.apply(this,arguments)}function Qe(){return(Qe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/add_school_applies.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},MgzW: +/*!*********************************************!*\ + !*** ./node_modules/object-assign/index.js ***! + \*********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,c,u=i(e),s=1;sn;)a[n]=t[n++];return a},W=function(e,t){A(e,t,{get:function(){return C(this)[t]}})},H=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},G=function(e,t){return q(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return G(e,t=m(t,!0))?l(2,e[t]):I(e,t)},K=function(e,t,n){return!(G(e,t=m(t,!0))&&v(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?A(e,t,n):(e[t]=n.value,e)};o?(N||(E.f=Y,k.f=K,W(z,"buffer"),W(z,"byteOffset"),W(z,"byteLength"),W(z,"length")),r({target:"Object",stat:!0,forced:!N},{getOwnPropertyDescriptor:Y,defineProperty:K}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",u="get"+e,l="set"+e,m=a[c],b=m,y=b&&b.prototype,k={},E=function(e,t){A(e,t,{get:function(){return function(e,t){var n=C(e);return n.view[u](t*o+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var a=C(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),a.view[l](t*o+a.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};N?i&&(b=t((function(e,t,n,r){return s(e,b,c),P(v(t)?H(t)?void 0!==r?new m(t,h(n,o),r):void 0!==n?new m(t,h(n,o)):new m(t):q(t)?B(b,t):w.call(b,t):new m(d(t)),e,b)})),_&&_(b,U),j(x(m),(function(e){e in b||p(b,e,m[e])})),b.prototype=y):(b=t((function(e,t,n,r){s(e,b,c);var a,i,u,l=0,p=0;if(v(t)){if(!H(t))return q(t)?B(b,t):w.call(b,t);a=t,p=h(n,o);var m=t.byteLength;if(void 0===r){if(m%o)throw L("Wrong length");if((i=m-p)<0)throw L("Wrong length")}else if((i=f(r)*o)+p>m)throw L("Wrong length");u=i/o}else u=d(t),a=new D(i=u*o);for(T(e,{buffer:a,byteOffset:p,byteLength:i,length:u,view:new R(a)});l1?arguments[1]:void 0)}))},NMFW: +/*!****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/redefine.js ***! + \****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/create-non-enumerable-property */"lz10"),o=n(/*! ../internals/has */"jtLI"),i=n(/*! ../internals/set-global */"TMUv"),c=n(/*! ../internals/inspect-source */"J3Yn"),u=n(/*! ../internals/internal-state */"1aI8"),s=u.get,l=u.enforce,p=String(String).split("String");(e.exports=function(e,t,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,f=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),l(n).source=p.join("string"==typeof t?t:"")),e!==r?(u?!f&&e[t]&&(s=!0):delete e[t],s?e[t]=n:a(e,t,n)):s?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},NMu4: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.url.to-json.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";n(/*! ../internals/export */"MMxC")({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},NQQk: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-html-forced.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"NQz/": +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.to-string.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB").exportTypedArrayMethod,a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/global */"ukPv").Uint8Array,i=o&&o.prototype||{},c=[].toString,u=[].join;a((function(){c.call({})}))&&(c=function(){return u.call(this)});var s=i.toString!=c;r("toString",c,s)},NYJX: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.filter.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/array-iteration */"zv1X").filter,o=n(/*! ../internals/array-method-has-species-support */"jMDO"),i=n(/*! ../internals/array-method-uses-to-length */"kGMc"),c=o("filter"),u=i("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},NcLc: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/regexp-exec.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a,o=n(/*! ./regexp-flags */"k/J9"),i=n(/*! ./regexp-sticky-helpers */"M8HR"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(r=/a/,a=/b*/g,c.call(r,"a"),c.call(a,"a"),0!==r.lastIndex||0!==a.lastIndex),p=i.UNSUPPORTED_Y||i.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||p)&&(s=function(e){var t,n,r,a,i=this,s=p&&i.sticky,d=o.call(i),h=i.source,m=0,b=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),b=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(h="(?: "+h+")",b=" "+b,m++),n=new RegExp("^(?:"+h+")",d)),f&&(n=new RegExp("^"+h+"$(?!\\s)",d)),l&&(t=i.lastIndex),r=c.call(s?n:i,b),s?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:l&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),f&&r&&r.length>1&&u.call(r[0],n,(function(){for(a=1;a0?h[0]||s.data[0].ec_major_school_id:void 0}});case 14:case"end":return e.stop()}}),e)})),getYearList:l.a.mark((function e(t,n){var r,a,o,i,c,u,s,h;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,o=n.put,i=n.select,e.next=4,a(p.k,r.id);case 4:return c=e.sent,e.next=7,i((function(e){return e.user}));case 7:if(u=e.sent,s=u.userInfo,!c||!c.data){e.next=13;break}return h=d.a.getItem(null==s?void 0:s.login),e.next=13,o({type:"setMajorOrYearDataSource",payload:{key:f.b[1],value:c.data.map((function(e){return{label:e.year,value:e.ec_year_id}})),active:c.data.length>0?r.firstEnter?h[1]:c.data[0].ec_year_id:void 0}});case 13:case"end":return e.stop()}}),e)})),getGraduationResults:l.a.mark((function e(t,n){var r,a,u,s,h,m,b,y,v,g,_,x,w;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(i.a)(t),r=n.call,a=n.put,u=n.select,e.next=4,u((function(e){return e.engineeringNormList}));case 4:return s=e.sent,h=s.headerData,e.next=8,u((function(e){return e.user}));case 8:if(m=e.sent,b=m.userInfo,y=[],v=[],g="",!(_=h.active[f.b[1]])){e.next=21;break}return x=[h.active[f.b[0]],h.active[f.b[1]]],d.a.setItem(null==b?void 0:b.login,x),e.next=19,r(p.h,_);case 19:(w=e.sent)&&w.graduation_requirements&&(g=w.all_goal_value||"",y=w.graduation_requirements.map((function(e){var t=e.subitems,n=Object(o.a)(e,["subitems"]);return v.push(n.id),Object(c.a)(Object(c.a)({},n),{},{children:t})})));case 21:return e.next=23,a({type:"save",payload:{tabListData:y,all_goal_value:g,expandedRowKeys:v}});case 23:case"end":return e.stop()}}),e)})),exportGraduation:l.a.mark((function e(t,n){var r,a,o,c;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(i.a)(t),r=n.call,a=n.select,e.next=4,a((function(e){return e.engineeringNormList}));case 4:if(o=e.sent,!(c=o.headerData).active[f.b[1]]){e.next=9;break}return e.next=9,r(p.b,c.active[f.b[1]]);case 9:case"end":return e.stop()}}),e)})),compute:l.a.mark((function e(t,n){var r,i,c,u,s,f;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,i=n.call,c=n.put,u=r.all,s=Object(o.a)(r,["all"]),e.next=5,i(u?p.l:p.o,s);case 5:if(!(f=e.sent)||0!==f.status){e.next=12;break}return a.b.success("计算完成"),e.next=10,c({type:"getGraduationResults"});case 10:e.next=13;break;case 12:a.b.error(f.message);case 13:case"end":return e.stop()}}),e)})),getFormulas:l.a.mark((function e(t,n){var r,a,o,i,c,u;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.callback,a=n.call,o=n.select,e.next=4,o((function(e){return e.engineeringNormList}));case 4:if(i=e.sent,!(c=i.headerData).active[f.b[1]]){e.next=11;break}return e.next=9,a(p.f,c.active[f.b[1]]);case 9:u=e.sent,r(u);case 11:case"end":return e.stop()}}),e)})),setFormulas:l.a.mark((function e(t,n){var r,a,o,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=t.callback,o=n.call,e.next=4,o(p.p,r);case 4:i=e.sent,a(i);case 6:case"end":return e.stop()}}),e)})),putGoalValue:l.a.mark((function e(t,n){var r,o,i,c,u;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=n.call,i=n.put,e.next=4,o(p.q,r);case 4:if(!(c=e.sent)||0!==c.status){e.next=13;break}return a.b.success("保存成功"),e.next=9,i({type:"save",payload:{actionTabs:{key:"",params:{}}}});case 9:return e.next=11,i({type:"getGraduationResults"});case 11:e.next=16;break;case 13:u="保存失败",c&&c.message&&(u=c.message),a.b.error(u);case 16:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(c.a)(Object(c.a)({},e),t.payload)},setMajorOrYearDataSource:function(e,t){var n=t.payload,r=e.headerData.active;return n.active&&(r=Object(c.a)(Object(c.a)({},r),{},Object(u.a)({},n.key,n.active))),Object(c.a)(Object(c.a)({},e),{},{headerData:Object(c.a)(Object(c.a)({},e.headerData),{},{dataSource:Object(c.a)(Object(c.a)({},e.headerData.dataSource),{},Object(u.a)({},n.key,Object(c.a)(Object(c.a)({},e.headerData.dataSource[n.key]),{},{dataList:n.value}))),active:r})})},setMajorOrYearActive:function(e,t){var n=t.payload;return Object(c.a)(Object(c.a)({},e),{},{headerData:Object(c.a)(Object(c.a)({},e.headerData),{},{active:Object(c.a)(Object(c.a)({},e.headerData.active),{},Object(u.a)({},n.key,n.value))})})}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=h},PDVC: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.strike.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("strike")},{strike:function(){return a(this,"strike","","")}})},PHrn: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-for-each.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-iteration */"zv1X").forEach,a=n(/*! ../internals/array-method-is-strict */"R8iy"),o=n(/*! ../internals/array-method-uses-to-length */"kGMc"),i=a("forEach"),c=o("forEach");e.exports=i&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},PJYZ: +/*!**********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! + \**********************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},PPXv: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/get-map-iterator.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-pure */"Zcjx"),a=n(/*! ../internals/get-iterator */"qcmB");e.exports=r?a:function(e){return Map.prototype.entries.call(e)}},PUJJ: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.is-superset-of.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/a-function */"cT1L"),c=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{isSupersetOf:function(e){var t=o(this),n=i(t.has);return!c(e,(function(e){if(!1===n.call(t,e))return c.stop()})).stopped}})},PYwp: +/*!********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***! + \********************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},PaaY: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.reduce.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-reduce */"9RRT").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},Pp3M: +/*!************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.map.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/collection */"/gva"),a=n(/*! ../internals/collection-strong */"vO0A");e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),a)},PpiC: +/*!*****************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules ***! + \*****************************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,"a",(function(){return r}))},Pq08: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.keys.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/to-object */"cTDu"),o=n(/*! ../internals/object-keys */"P0e2");r({target:"Object",stat:!0,forced:n(/*! ../internals/fails */"MVys")((function(){o(1)}))},{keys:function(e){return o(a(e))}})},PrET: +/*!*****************************************!*\ + !*** ./node_modules/call-bind/index.js ***! + \*****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! function-bind */"D3zA"),a=n(/*! get-intrinsic */"AM7I"),o=a("%Function.prototype.apply%"),i=a("%Function.prototype.call%"),c=a("%Reflect.apply%",!0)||r.call(i,o),u=a("%Object.getOwnPropertyDescriptor%",!0),s=a("%Object.defineProperty%",!0),l=a("%Math.max%");if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(e){var t=c(r,i,arguments);if(u&&s){var n=u(t,"length");n.configurable&&s(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var p=function(){return c(r,o,arguments)};s?s(e.exports,"apply",{value:p}):e.exports.apply=p},"Pv/L": +/*!*************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toArray.js ***! + \*************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(/*! @babel/runtime/helpers/esm/arrayWithHoles */"+kx5"),a=n(/*! @babel/runtime/helpers/esm/iterableToArray */"Y9hK"),o=n(/*! @babel/runtime/helpers/esm/unsupportedIterableToArray */"Qw5x"),i=n(/*! @babel/runtime/helpers/esm/nonIterableRest */"u6e6");function c(e){return Object(r.a)(e)||Object(a.a)(e)||Object(o.a)(e)||Object(i.a)()}},Q2Ig: +/*!********************************************************!*\ + !*** ./node_modules/node-libs-browser/mock/process.js ***! + \********************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,a;t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},a="/",t.cwd=function(){return a},t.chdir=function(e){r||(r=n(/*! path */"33yf")),a=r.resolve(e,a)},t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},Q3OH: +/*!***********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.unscopables.flat-map.js ***! + \***********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/add-to-unscopables */"eNh0")("flatMap")},Q9SF: +/*!****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! + \****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},"QC+M": +/*!*******************************************!*\ + !*** ./node_modules/rc-util/es/Portal.js ***! + \*******************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! react */"q1tI"),a=n(/*! react-dom */"i8i4"),o=n.n(a),i=n(/*! ./Dom/canUseDom */"MNnm"),c=Object(r.forwardRef)((function(e,t){var n=e.didUpdate,a=e.getContainer,c=e.children,u=Object(r.useRef)();Object(r.useImperativeHandle)(t,(function(){return{}}));var s=Object(r.useRef)(!1);return!s.current&&Object(i.a)()&&(u.current=a(),s.current=!0),Object(r.useEffect)((function(){null==n||n(e)})),Object(r.useEffect)((function(){return function(){var e,t;null===(e=u.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(u.current)}}),[]),u.current?o.a.createPortal(c,u.current):null}));t.a=c},QCnb: +/*!*****************************************!*\ + !*** ./node_modules/scheduler/index.js ***! + \*****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=n(/*! ./cjs/scheduler.production.min.js */"+wdc")},QILm: +/*!************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***! + \************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./objectWithoutPropertiesLoose.js */"8OQS");e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},QLaP: +/*!*******************************************!*\ + !*** ./node_modules/invariant/browser.js ***! + \*******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,c){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,o,i,c],l=0;(u=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},QQ4S: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-last-index-of.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/to-indexed-object */"0qr0"),a=n(/*! ../internals/to-integer */"m0kY"),o=n(/*! ../internals/to-length */"oa35"),i=n(/*! ../internals/array-method-is-strict */"R8iy"),c=n(/*! ../internals/array-method-uses-to-length */"kGMc"),u=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,p=i("lastIndexOf"),f=c("indexOf",{ACCESSORS:!0,1:0}),d=l||!p||!f;e.exports=d?function(e){if(l)return s.apply(this,arguments)||0;var t=r(this),n=o(t.length),i=n-1;for(arguments.length>1&&(i=u(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:s},QSc6: +/*!******************************************!*\ + !*** ./node_modules/qs/lib/stringify.js ***! + \******************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! side-channel */"VAJa"),a=n(/*! ./utils */"0jNN"),o=n(/*! ./formats */"sxOR"),i=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,s=String.prototype.split,l=Array.prototype.push,p=function(e,t){l.apply(e,u(t)?t:[t])},f=Date.prototype.toISOString,d=o.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},m={},b=function e(t,n,o,i,c,l,f,d,b,y,v,g,_,x,w){for(var j,O=t,k=w,E=0,S=!1;void 0!==(k=k.get(m))&&!S;){var P=k.get(t);if(E+=1,void 0!==P){if(P===E)throw new RangeError("Cyclic object value");S=!0}void 0===k.get(m)&&(E=0)}if("function"==typeof f?O=f(n,O):O instanceof Date?O=y(O):"comma"===o&&u(O)&&(O=a.maybeMap(O,(function(e){return e instanceof Date?y(e):e}))),null===O){if(i)return l&&!_?l(n,h.encoder,x,"key",v):n;O=""}if("string"==typeof(j=O)||"number"==typeof j||"boolean"==typeof j||"symbol"==typeof j||"bigint"==typeof j||a.isBuffer(O)){if(l){var C=_?n:l(n,h.encoder,x,"key",v);if("comma"===o&&_){for(var T=s.call(String(O),","),A="",I=0;I0?O.join(",")||null:void 0}];else if(u(f))M=f;else{var D=Object.keys(O);M=d?D.sort(d):D}for(var R=0;R0?_+g:""}},QTEQ: +/*!***************************************!*\ + !*** ./node_modules/flatten/index.js ***! + \***************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){return(t="number"==typeof t?t:1/0)?function e(n,r){return n.reduce((function(n,a){return Array.isArray(a)&&r1?arguments[1]:void 0),n=o(this,this.constructor),r=0,u=t.length,s=new(c(n))(u);u>r;)s[r]=t[r++];return s}))},Rbmm: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.big.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("big")},{big:function(){return a(this,"big","","")}})},ReSd: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.max-safe-integer.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},RhWa: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.is-subset-of.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/get-iterator */"qcmB"),s=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{isSubsetOf:function(e){var t=u(this),n=i(e),r=n.has;return"function"!=typeof r&&(n=new(o("Set"))(e),r=c(n.has)),!s(t,(function(e){if(!1===r.call(n,e))return s.stop()}),void 0,!1,!0).stopped}})},Rka6: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.find-key.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/function-bind-context */"7BAe"),c=n(/*! ../internals/get-map-iterator */"PPXv"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Map",proto:!0,real:!0,forced:a},{findKey:function(e){var t=o(this),n=c(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop(e)}),void 0,!0,!0).result}})},Rw1i: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.promise.finally.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/native-promise-constructor */"b6st"),i=n(/*! ../internals/fails */"MVys"),c=n(/*! ../internals/get-built-in */"29mP"),u=n(/*! ../internals/species-constructor */"/dTS"),s=n(/*! ../internals/promise-resolve */"U8/t"),l=n(/*! ../internals/redefine */"NMFW");r({target:"Promise",proto:!0,real:!0,forced:!!o&&i((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),a||"function"!=typeof o||o.prototype.finally||l(o.prototype,"finally",c("Promise").prototype.finally)},S5nV: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.rad-per-deg.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},SGZ1: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.search.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("search")},Sb5z: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.is-sealed.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/is-object */"tSXo"),i=Object.isSealed;r({target:"Object",stat:!0,forced:a((function(){i(1)}))},{isSealed:function(e){return!o(e)||!!i&&i(e)}})},Sf9Y: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.number.from-string.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/to-integer */"m0kY"),o=n(/*! ../internals/number-parse-int */"Ze4s"),i=/^[\da-z]+$/;r({target:"Number",stat:!0},{fromString:function(e,t){var n,r,c=1;if("string"!=typeof e)throw TypeError("Invalid number representation");if(!e.length)throw SyntaxError("Invalid number representation");if("-"==e.charAt(0)&&(c=-1,!(e=e.slice(1)).length))throw SyntaxError("Invalid number representation");if((n=void 0===t?10:a(t))<2||n>36)throw RangeError("Invalid radix");if(!i.test(e)||(r=o(e,n)).toString(n)!==e)throw SyntaxError("Invalid number representation");return c*r}})},SksO: +/*!***************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! + \***************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},Sn4z: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/typed-array-from.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-object */"cTDu"),a=n(/*! ../internals/to-length */"oa35"),o=n(/*! ../internals/get-iterator-method */"9SZg"),i=n(/*! ../internals/is-array-iterator-method */"bF+Q"),c=n(/*! ../internals/function-bind-context */"7BAe"),u=n(/*! ../internals/array-buffer-view-core */"FVwB").aTypedArrayConstructor;e.exports=function(e){var t,n,s,l,p,f,d=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,b=void 0!==m,y=o(d);if(null!=y&&!i(y))for(f=(p=y.call(d)).next,d=[];!(l=f.call(p)).done;)d.push(l.value);for(b&&h>2&&(m=c(m,arguments[2],2)),n=a(d.length),s=new(u(this))(n),t=0;n>t;t++)s[t]=b?m(d[t],t):d[t];return s}},SprQ: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/correct-prototype-getter.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},Srjj: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-keys-internal.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/has */"jtLI"),a=n(/*! ../internals/to-indexed-object */"0qr0"),o=n(/*! ../internals/array-includes */"/3zY").indexOf,i=n(/*! ../internals/hidden-keys */"6ixQ");e.exports=function(e,t){var n,c=a(e),u=0,s=[];for(n in c)!r(i,n)&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~o(s,n)||s.push(n));return s}},"T/5g": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.is-extensible.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/is-object */"tSXo"),i=Object.isExtensible;r({target:"Object",stat:!0,forced:a((function(){i(1)}))},{isExtensible:function(e){return!!o(e)&&(!i||i(e))}})},T5T7: +/*!*******************************!*\ + !*** ./src/styles/reset.less ***! + \*******************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},T5bk: +/*!************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/toArray.js ***! + \************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(/*! ./arrayWithHoles.js */"DSFK"),a=n(/*! ./iterableToArray.js */"25BE"),o=n(/*! ./unsupportedIterableToArray.js */"BsWD"),i=n(/*! ./nonIterableRest.js */"PYwp");function c(e){return Object(r.a)(e)||Object(a.a)(e)||Object(o.a)(e)||Object(i.a)()}},TMUv: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/set-global.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/create-non-enumerable-property */"lz10");e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},TOwV: +/*!****************************************!*\ + !*** ./node_modules/react-is/index.js ***! + \****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=n(/*! ./cjs/react-is.production.min.js */"qT12")},TPcJ: +/*!***********************************!*\ + !*** ./src/models/paths/index.ts ***! + \***********************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/paths */"Mgx3"),c={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{getCourse:o.a.mark((function e(t,n){var a,c,u,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,s=a,e.next=5,c(i.y,a);case 5:return l=e.sent,e.next=8,u({type:"save",payload:Object(r.a)({listParams:s},l)});case 8:return e.abrupt("return",l);case 9:case"end":return e.stop()}}),e)})),getMenus:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.z,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{menus:u}});case 7:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),clearListParams:o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,n.call,r=n.put,e.next=4,r({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},TSYQ: +/*!******************************************!*\ + !*** ./node_modules/classnames/index.js ***! + \******************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t=0;t--){var n=e[t][i];n.modified||(Array.isArray(n.base)?T(n)&&O(n):C(n)&&O(n))}}function C(e){for(var t=e.base,n=e.draft,r=Object.keys(n),a=r.length-1;a>=0;a--){var o=r[a],c=t[o];if(void 0===c&&!m(t,o))return!0;var u=n[o],s=u&&u[i];if(s?s.base!==c:!b(u,c))return!0}return r.length!==Object.keys(t).length}function T(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var A=Object.freeze({willFinalize:function(e,t,n){e.drafts.forEach((function(e){e[i].finalizing=!0})),n?c(t)&&t[i].scope===e&&P(e.drafts):(e.patches&&function e(t){if(!t||"object"!=typeof t)return;var n=t[i];if(!n)return;var r=n.base,a=n.draft,o=n.assigned;if(Array.isArray(t)){if(T(n)){if(O(n),o.length=!0,a.lengthl&&i[p-1]===c[p+s-1];)--p;for(var f=l;f=p;--b){var y=t.concat([b]);n[m+b-p]={op:"add",path:y,value:c[b]},h&&r.push({op:"remove",path:y})}h||r.push({op:"replace",path:t.concat(["length"]),value:i.length})}(e,t,n,r):function(e,t,n,r){var a=e.base,o=e.copy;d(e.assigned,(function(e,i){var c=a[e],u=o[e],s=i?e in a?"replace":"add":"remove";if(c!==u||"replace"!==s){var l=t.concat(e);n.push("remove"===s?{op:s,path:l}:{op:s,path:l,value:u}),r.push("add"===s?{op:"remove",path:l}:"remove"===s?{op:"add",path:l,value:c}:{op:"replace",path:l,value:c})}}))}(e,t,n,r)}function z(e,t){for(var n=0;n0;)n[r]=arguments[r+1];return o.produce(e,(function(e){return t.call.apply(t,[e,e].concat(n))}))}}if("function"!=typeof t)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("The third argument to `produce` must be a function or undefined");if(u(e)){var c=y.enter(),s=this.createProxy(e),l=!0;try{r=t.call(s,s),l=!1}finally{l?c.revoke():c.leave()}return r instanceof Promise?r.then((function(e){return c.usePatches(n),o.processResult(e,c)}),(function(e){throw c.revoke(),e})):(c.usePatches(n),this.processResult(r,c))}return void 0===(r=t(e))?e:r!==a?r:void 0},q.prototype.createDraft=function(e){if(!u(e))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=y.enter(),n=this.createProxy(e);return n[i].isManual=!0,t.leave(),n},q.prototype.finishDraft=function(e,t){var n=e&&e[i];if(!n||!n.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw new Error("The given draft is already finalized");var r=n.scope;return r.usePatches(t),this.processResult(void 0,r)},q.prototype.setAutoFreeze=function(e){this.autoFreeze=e},q.prototype.setUseProxies=function(e){this.useProxies=e,l(this,e?F:A)},q.prototype.applyPatches=function(e,t){return c(e)?z(e,t):this.produce(e,(function(e){return z(e,t)}))},q.prototype.processResult=function(e,t){var n=t.drafts[0],r=void 0!==e&&e!==n;if(this.willFinalize(t,e,r),r){if(n[i].modified)throw t.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");u(e)&&(e=this.finalize(e,null,t)),t.patches&&(t.patches.push({op:"replace",path:[],value:e}),t.inversePatches.push({op:"replace",path:[],value:n[i].base}))}else e=this.finalize(n,[],t);return t.revoke(),t.patches&&t.patchListener(t.patches,t.inversePatches),e!==a?e:void 0},q.prototype.finalize=function(e,t,n){var r=this,a=e[i];if(!a)return Object.isFrozen(e)?e:this.finalizeTree(e,null,n);if(a.scope!==n)return e;if(!a.modified)return a.base;if(!a.finalized){if(a.finalized=!0,this.finalizeTree(a.draft,t,n),this.onDelete)if(this.useProxies){var o=a.assigned;for(var c in o)o[c]||this.onDelete(a,c)}else{var u=a.base,s=a.copy;d(u,(function(e){m(s,e)||r.onDelete(a,e)}))}this.onCopy&&this.onCopy(a),this.autoFreeze&&n.canAutoFreeze&&Object.freeze(a.copy),t&&n.patches&&U(a,t,n.patches,n.inversePatches)}return a.copy},q.prototype.finalizeTree=function(e,t,n){var r=this,a=e[i];a&&(this.useProxies||(a.copy=f(a.draft,!0)),e=a.copy);var o=!!t&&!!n.patches,s=function(i,l,p){if(l===p)throw Error("Immer forbids circular references");var f=!!a&&p===e;if(c(l)){var m=f&&o&&!a.assigned[i]?t.concat(i):null;if(c(l=r.finalize(l,m,n))&&(n.canAutoFreeze=!1),Array.isArray(p)||h(p,i)?p[i]=l:Object.defineProperty(p,i,{value:l}),f&&l===a.base[i])return}else{if(f&&b(l,a.base[i]))return;u(l)&&!Object.isFrozen(l)&&d(l,s)}f&&r.onAssign&&r.onAssign(a,i,l)};return d(e,s),e};var B=new q,W=B.produce,H=B.setAutoFreeze.bind(B),G=B.setUseProxies.bind(B),Y=B.applyPatches.bind(B),K=B.createDraft.bind(B),Q=B.finishDraft.bind(B);t.default=W}.call(this,n(/*! ./../../node-libs-browser/mock/process.js */"Q2Ig"))},V0Bj: +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.symbol.observable.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("observable")},V0Rq: +/*!*********************************!*\ + !*** ./src/service/exercise.ts ***! + \*********************************/ +/*! exports provided: getExerciseList, getExerciseIdentityPhotos, getVideoPushUrl, queryIdentityPhotoState, getExerciseStatistics, getBrankList, saveBanks, getExerciseCourses, getCommonHeader, addExercise, putExercise, editExercise, getTagDiscipline, editExerciseQuestion, addExerciseQuestion, exeriseMoveUpDown, exeriseQuestionDelete, getEndGroups, getPublishGroups, getReviewExercise, putAdjustScore, putBatchAdjustScore, putExerciseAdjustScore, delayedTime, getWorkSetting, updateSetting, getReviewGroupExercise, exportList, getExerciseStartAnswer, getExerciseStart, updateExerciseAnswers, submitExerciseAnswer, submitSimulateExerciseAnswer, redoExercise, resetMyGame, startProgram, beginCommit, simulateBeginCommit, getExaminationIntelligentSettings, getRandomEditExercises, getObjectiveScores, getRedoModal, getUserExercise, getExerciseExportHeadData, allowCloseCamera, getExerciseUserInfo, recordScreen, unbindIp, checkIp, makeUpStudents, getCodeReviewDetail, changeScore, simulateExercise, startSimulateAnswer, exerciseLeftTime, commitScreenAt */ +/*! exports used: addExercise, addExerciseQuestion, allowCloseCamera, beginCommit, changeScore, checkIp, commitScreenAt, delayedTime, editExercise, editExerciseQuestion, exerciseLeftTime, exeriseMoveUpDown, exeriseQuestionDelete, exportList, getBrankList, getCodeReviewDetail, getCommonHeader, getEndGroups, getExaminationIntelligentSettings, getExerciseCourses, getExerciseExportHeadData, getExerciseIdentityPhotos, getExerciseList, getExerciseStart, getExerciseStartAnswer, getExerciseStatistics, getExerciseUserInfo, getObjectiveScores, getPublishGroups, getRandomEditExercises, getRedoModal, getReviewExercise, getReviewGroupExercise, getTagDiscipline, getUserExercise, getWorkSetting, makeUpStudents, putAdjustScore, putBatchAdjustScore, putExercise, putExerciseAdjustScore, queryIdentityPhotoState, recordScreen, redoExercise, resetMyGame, saveBanks, simulateBeginCommit, simulateExercise, startProgram, startSimulateAnswer, submitExerciseAnswer, submitSimulateExerciseAnswer, unbindIp, updateExerciseAnswers, updateSetting */function(e,t,n){"use strict";n.d(t,"w",(function(){return u})),n.d(t,"v",(function(){return l})),n.d(t,"P",(function(){return f})),n.d(t,"z",(function(){return h})),n.d(t,"o",(function(){return b})),n.d(t,"T",(function(){return v})),n.d(t,"t",(function(){return _})),n.d(t,"q",(function(){return w})),n.d(t,"a",(function(){return O})),n.d(t,"N",(function(){return E})),n.d(t,"i",(function(){return P})),n.d(t,"H",(function(){return T})),n.d(t,"j",(function(){return I})),n.d(t,"b",(function(){return L})),n.d(t,"l",(function(){return R})),n.d(t,"m",(function(){return F})),n.d(t,"r",(function(){return z})),n.d(t,"C",(function(){return q})),n.d(t,"F",(function(){return W})),n.d(t,"L",(function(){return G})),n.d(t,"M",(function(){return K})),n.d(t,"O",(function(){return J})),n.d(t,"h",(function(){return Z})),n.d(t,"J",(function(){return ee})),n.d(t,"cb",(function(){return ne})),n.d(t,"G",(function(){return ae})),n.d(t,"n",(function(){return ie})),n.d(t,"y",(function(){return ue})),n.d(t,"x",(function(){return se})),n.d(t,"bb",(function(){return le})),n.d(t,"Y",(function(){return fe})),n.d(t,"Z",(function(){return he})),n.d(t,"R",(function(){return be})),n.d(t,"S",(function(){return ve})),n.d(t,"W",(function(){return ge})),n.d(t,"d",(function(){return _e})),n.d(t,"U",(function(){return xe})),n.d(t,"s",(function(){return we})),n.d(t,"D",(function(){return je})),n.d(t,"B",(function(){return Oe})),n.d(t,"E",(function(){return ke})),n.d(t,"I",(function(){return Ee})),n.d(t,"u",(function(){return Se})),n.d(t,"c",(function(){return Pe})),n.d(t,"A",(function(){return Ce})),n.d(t,"Q",(function(){return Te})),n.d(t,"ab",(function(){return Ae})),n.d(t,"f",(function(){return Ie})),n.d(t,"K",(function(){return Me})),n.d(t,"p",(function(){return Le})),n.d(t,"e",(function(){return Re})),n.d(t,"V",(function(){return Fe})),n.d(t,"X",(function(){return ze})),n.d(t,"k",(function(){return qe})),n.d(t,"g",(function(){return We}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_lists.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_identity_photos.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/query_identity_photo_state.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_result.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/bank_list.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/save_banks.json",{method:"POST",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/exercises/publish_modal.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/common_header.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/exercises.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.exerciseId,".json"),{method:"put",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,".json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/tag_disciplines.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,delete t.id,e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(n,".json"),{method:"put",body:Object(r.a)({},t)}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_questions.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.id,"/up_down.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/exercises/end_modal.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/publish_groups.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e){return H.apply(this,arguments)}function H(){return(H=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.exerciseId,"/review_exercise.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.id,"/adjust_score.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return Q.apply(this,arguments)}function Q(){return(Q=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.id,"/batch_adjust_score.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){return X.apply(this,arguments)}function X(){return(X=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.id,"/adjust_score.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return $.apply(this,arguments)}function $(){return($=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.id,"/delayed_time.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){return te.apply(this,arguments)}function te(){return(te=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_setting.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e){return re.apply(this,arguments)}function re(){return(re=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/commit_setting.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(e){return oe.apply(this,arguments)}function oe(){return(oe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.exerciseId,"/review_exercises_by_students.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e){return ce.apply(this,arguments)}function ce(){return(ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_lists.xlsx"),{method:"get",params:Object(r.a)(Object(r.a)({},t),{},{export:!0})}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(e){return Object(c.a)("/api/exercises/".concat(e.categoryId,"/start_answer.json"),{method:"get",params:Object(r.a)({},e)})}function se(e){return Object(c.a)("/api/exercises/".concat(e.categoryId,"/start.json"),{method:"get",params:Object(r.a)({},e)})}function le(e){return pe.apply(this,arguments)}function pe(){return(pe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.questionId,"/exercise_answers.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(e){return de.apply(this,arguments)}function de(){return(de=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/commit_exercise.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){return me.apply(this,arguments)}function me(){return(me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/simulate_commit_exercise.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return ye.apply(this,arguments)}function ye(){return(ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/redo_exercise.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(e){return Object(c.a)("/api/".concat(e.url),{method:"get",params:Object(r.a)({},e)})}function ge(e){return Object(c.a)("/api/problems/".concat(e.id,"/start.json"),{method:"get",params:Object(r.a)({},e)})}function _e(e){return Object(c.a)("/api/exercises/".concat(e.id,"/begin_commit.json"),{method:"get",params:Object(r.a)({},e)})}function xe(e){return Object(c.a)("/api/exercises/".concat(e.id,"/simulate_begin_commit.json"),{method:"get",params:Object(r.a)({},e)})}function we(e){return Object(c.a)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:Object(r.a)({},e)})}function je(e){return console.log("params:",e),Object(c.a)("/api/exercises/".concat(e.categoryId,"/edit.json"),{method:"get",params:Object(r.a)({},e)})}function Oe(e){return Object(c.a)("/api/exercises/".concat(e.id,"/get_objective_scores.json"),{method:"get",params:Object(r.a)({},e)})}function ke(e){return Object(c.a)("/api/exercises/".concat(e.categoryId,"/redo_modal.json"),{method:"get",params:Object(r.a)({},e)})}function Ee(e){return Object(c.a)("/api/exercises/get_user_exercises.json",{method:"get",params:e})}function Se(e){return Object(c.a)("/api/exercises/".concat(e.id,"/exercise_header.json"),{method:"get",params:Object(r.a)({},e)})}function Pe(e){return Object(c.a)("/api/exercises/".concat(e.categoryId,"/allow_close_camera.json"),{method:"post",body:Object(r.a)({},e)})}function Ce(e){return Object(c.a)("/api/exercises/".concat(e.categoryId,"/get_exercise_user_info.json"),{method:"get",params:Object(r.a)({},e)})}function Te(e){return Object(c.a)("/api/exercises/".concat(e.id,"/record_screen"),{method:"post",params:Object(r.a)({},e)})}function Ae(e){return Object(c.a)("/api/exercises/".concat(e.id,"/unbind_ip.json"),{method:"post",body:Object(r.a)({},e)})}function Ie(e){return Object(c.a)("/api/exercises/".concat(e.id,"/check_ip.json"),{method:"get",params:Object(r.a)({},e)})}function Me(e){return Object(c.a)("/api/exercises/".concat(e.id,"/make_up_students.json"),{method:"get",params:Object(r.a)({},e)})}function Le(e){return De.apply(this,arguments)}function De(){return(De=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/exercises/code_review_detail.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Re(e){return Ne.apply(this,arguments)}function Ne(){return(Ne=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercise_questions/".concat(t.question_id,"/adjust_score.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Fe(e){return Ue.apply(this,arguments)}function Ue(){return(Ue=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/examination_banks/".concat(t.categoryId,"/simulate_exercise.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ze(e){return Ve.apply(this,arguments)}function Ve(){return(Ve=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/simulate_start_answer.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function qe(e){return Be.apply(this,arguments)}function Be(){return(Be=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/exercise_time.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function We(e){return He.apply(this,arguments)}function He(){return(He=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/exercises/".concat(t.categoryId,"/commit_screen_at.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},V61k: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/math-expm1.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},V85Q: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/create-html.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/require-object-coercible */"FCfD"),a=/"/g;e.exports=function(e,t,n,o){var i=String(r(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(o).replace(a,""")+'"'),c+">"+i+""}},V93i: +/*!*********************************************************************************!*\ + !*** ./node_modules/history-with-query/node_modules/strict-uri-encode/index.js ***! + \*********************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())}))}},VAJa: +/*!********************************************!*\ + !*** ./node_modules/side-channel/index.js ***! + \********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! get-intrinsic */"AM7I"),a=n(/*! call-bind/callBound */"VF6F"),o=n(/*! object-inspect */"JxQ3"),i=r("%TypeError%"),c=r("%WeakMap%",!0),u=r("%Map%",!0),s=a("WeakMap.prototype.get",!0),l=a("WeakMap.prototype.set",!0),p=a("WeakMap.prototype.has",!0),f=a("Map.prototype.get",!0),d=a("Map.prototype.set",!0),h=a("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},get:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(e)return s(e,r)}else if(u){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,a){c&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new c),l(e,r,a)):u?(t||(t=new u),d(t,r,a)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,a))}};return r}},VF6F: +/*!*********************************************!*\ + !*** ./node_modules/call-bind/callBound.js ***! + \*********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! get-intrinsic */"AM7I"),a=n(/*! ./ */"PrET"),o=a(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?a(n):n}},VQRL: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.replace.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("replace")},VSU6: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-fill.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/to-object */"cTDu"),a=n(/*! ../internals/to-absolute-index */"bIKR"),o=n(/*! ../internals/to-length */"oa35");e.exports=function(e){for(var t=r(this),n=o(t.length),i=arguments.length,c=a(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,s=void 0===u?n:a(u,n);s>c;)t[c++]=e;return t}},VTBJ: +/*!******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! + \******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(/*! ./defineProperty.js */"rePB");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;x(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},VuYY: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.observable.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/descriptors */"tny8"),o=n(/*! ../internals/set-species */"ssJt"),i=n(/*! ../internals/a-function */"cT1L"),c=n(/*! ../internals/an-object */"f1E4"),u=n(/*! ../internals/is-object */"tSXo"),s=n(/*! ../internals/an-instance */"igoe"),l=n(/*! ../internals/object-define-property */"YfKC").f,p=n(/*! ../internals/create-non-enumerable-property */"lz10"),f=n(/*! ../internals/redefine-all */"ujhg"),d=n(/*! ../internals/get-iterator */"qcmB"),h=n(/*! ../internals/iterate */"IuhT"),m=n(/*! ../internals/host-report-errors */"dnEI"),b=n(/*! ../internals/well-known-symbol */"2kyd"),y=n(/*! ../internals/internal-state */"1aI8"),v=b("observable"),g=y.get,_=y.set,x=function(e){return null==e?void 0:i(e)},w=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(e){m(e)}}},j=function(e){return void 0===e.observer},O=function(e,t){if(!a){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},k=function(e,t){var n,r=_(this,{cleanup:void 0,observer:c(e),subscriptionObserver:void 0});a||(this.closed=!1);try{(n=x(e.start))&&n.call(e,this)}catch(e){m(e)}if(!j(r)){var o=r.subscriptionObserver=new E(this);try{var u=t(o),s=u;null!=u&&(r.cleanup="function"==typeof u.unsubscribe?function(){s.unsubscribe()}:i(u))}catch(e){return void o.error(e)}j(r)&&w(r)}};k.prototype=f({},{unsubscribe:function(){var e=g(this);j(e)||(O(this,e),w(e))}}),a&&l(k.prototype,"closed",{configurable:!0,get:function(){return j(g(this))}});var E=function(e){_(this,{subscription:e}),a||(this.closed=!1)};E.prototype=f({},{next:function(e){var t=g(g(this).subscription);if(!j(t)){var n=t.observer;try{var r=x(n.next);r&&r.call(n,e)}catch(e){m(e)}}},error:function(e){var t=g(this).subscription,n=g(t);if(!j(n)){var r=n.observer;O(t,n);try{var a=x(r.error);a?a.call(r,e):m(e)}catch(e){m(e)}w(n)}},complete:function(){var e=g(this).subscription,t=g(e);if(!j(t)){var n=t.observer;O(e,t);try{var r=x(n.complete);r&&r.call(n)}catch(e){m(e)}w(t)}}}),a&&l(E.prototype,"closed",{configurable:!0,get:function(){return j(g(g(this).subscription))}});var S=function(e){s(this,S,"Observable"),_(this,{subscriber:i(e)})};f(S.prototype,{subscribe:function(e){var t=arguments.length;return new k("function"==typeof e?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:u(e)?e:{},g(this).subscriber)}}),f(S,{from:function(e){var t="function"==typeof this?this:S,n=x(c(e)[v]);if(n){var r=c(n.call(e));return r.constructor===t?r:new t((function(e){return r.subscribe(e)}))}var a=d(e);return new t((function(e){h(a,(function(t){if(e.next(t),e.closed)return h.stop()}),void 0,!1,!0),e.complete()}))},of:function(){for(var e="function"==typeof this?this:S,t=arguments.length,n=new Array(t),r=0;r1?arguments[1]:void 0,3),a=new(s(t,o("Map"))),f=c(a.set);return p(n,(function(e,n){f.call(a,r(n,e,t),n)}),void 0,!0,!0),a}})},W8MJ: +/*!************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/createClass.js ***! + \************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){function n(e,t){for(var n=0;n0})).map((function(e,t){var n;return Object(r.a)(Object(r.a)({},e),{number:c[t+1],questions:null==e||null===(n=e.questions)||void 0===n?void 0:n.map((function(e){return Object(r.a)(Object(r.a)({},e),{},{shixun:e.examination_bank_shixun_challenges})}))})}))}}},s=n("6fQ5"),l={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{getDisciplines:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.g,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{disciplinesData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCustomDisciplines:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.f,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{disciplinesData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getEditDisciplines:o.a.mark((function e(t,n){var a,c,u,l,p,f;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.g,a);case 4:return l=e.sent,p=null==l?void 0:l.disciplines,f=Object(s.a)(p),e.next=9,u({type:"save",payload:{courseOptions:f,disciplinesData:Object(r.a)({},l)}});case 9:return e.abrupt("return",l);case 10:case"end":return e.stop()}}),e)})),getTeachGroupData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.j,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{teachGroupData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPaperData:o.a.mark((function e(t,n){var r,a,c,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.h,r);case 4:return s=e.sent,l=u(s),e.next=8,c({type:"save",payload:{paperData:l}});case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})),getPaperlibraryList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.o,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),handleDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.k,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCourseList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),sendToClass:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.m,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),adjustPosition:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.a,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.p,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),handleDeleteEditQuestion:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.l,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchSetScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updatePaper:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.r,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=l},WRkp: +/*!**********************************************!*\ + !*** ./node_modules/hash.js/lib/hash/sha.js ***! + \**********************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";t.sha1=n(/*! ./sha/1 */"E+IA"),t.sha224=n(/*! ./sha/224 */"B/J0"),t.sha256=n(/*! ./sha/256 */"bu2F"),t.sha384=n(/*! ./sha/384 */"i5UE"),t.sha512=n(/*! ./sha/512 */"tSWc")},"WU/Z": +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.for-each.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-iteration */"zv1X").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},WbBG: +/*!*************************************************************!*\ + !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***! + \*************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},WkPL: +/*!*****************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***! + \*****************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);no;)a.push(arguments[o++]);if(r=t,(d(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),a[1]=t,H.apply(null,a)}});W.prototype[z]||S(W.prototype,z,W.prototype.valueOf),R(W,"Symbol"),A[U]=!0},Xq8t: +/*!************************************!*\ + !*** ./src/models/forums/index.ts ***! + \************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/forums */"h+Ho"),c={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,sort:"published_at",search:"",limit:10}},effects:{getForumsData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.o,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{listParams:a,forumsData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},Xq8v: +/*!***********************************!*\ + !*** ./src/service/attachment.ts ***! + \***********************************/ +/*! exports provided: allAttachment, mineAttachment, fileImport, getDetail, updateFiles, updateVisits */ +/*! exports used: allAttachment, fileImport, getDetail, mineAttachment, updateFiles, updateVisits */function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return v}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/files/public_with_course_and_project",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/files/mine_with_course_and_project.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/files/import.json",{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/files/".concat(t.id,".json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,delete t.id,e.abrupt("return",Object(c.a)("/api/files/".concat(n,".json"),{method:"put",body:Object(r.a)({},t)}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/files/".concat(t.id,"/update_visits.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},XuYy: +/*!***********************************!*\ + !*** ./src/models/user/detail.ts ***! + \***********************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/user */"jb+D"),c={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{getHomeworkBanksDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.k,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{homeworkBanksDetail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getSystemUpdate:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.r,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{systemUpdate:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getHomepageInfo:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.j,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{homepageInfo:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),signed:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.A,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCourses:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getShixuns:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.q,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getPaths:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.m,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getProjects:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.n,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getVideos:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.w,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getReviewVideos:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.p,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteVideo:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.h,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getQuestionBanks:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.o,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),topicsSetPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.E,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),topicsDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.D,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),topicGetCourseList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.B,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),topicSendToClass:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.C,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),logWatchHistory:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.x,r);case 4:return c=e.sent,e.abrupt("return",null==c?void 0:c.log_id);case 6:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},"Xxk+": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.weak-set.from.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"WeakSet",stat:!0},{from:n(/*! ../internals/collection-from */"aF2d")})},Y3g6: +/*!****************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/call-with-safe-iteration-closing.js ***! + \****************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/an-object */"f1E4");e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},Y9hK: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***! + \*********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},YJ9l: +/*!****************************************************************************!*\ + !*** ./node_modules/history-with-query/node_modules/query-string/index.js ***! + \****************************************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/slicedToArray */"5wUe"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/createForOfIteratorHelper */"bfL6"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/toConsumableArray */"R5yR"),i=n(/*! strict-uri-encode */"V93i"),c=n(/*! decode-uri-component */"8jRI"),u=n(/*! split-on-first */"8yz6"),s=n(/*! filter-obj */"c0go");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function p(e,t){return t.encode?t.strict?i(e):encodeURIComponent(e):e}function f(e,t){return t.decode?c(e):e}function d(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function h(e){var t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function b(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return function(t,n,r){var a="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!a&&f(n,e).includes(e.arrayFormatSeparator);n=o?f(n,e):n;var i=a||o?n.split(e.arrayFormatSeparator).map((function(t){return f(t,e)})):null===n?n:f(n,e);r[t]=i};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;var i,c=a(e.split("&"));try{for(c.s();!(i=c.n()).done;){var s=i.value;if(""!==s){var p=u(t.decode?s.replace(/\+/g," "):s,"="),d=r(p,2),h=d[0],b=d[1];b=void 0===b?null:["comma","separator"].includes(t.arrayFormat)?b:f(b,t),n(f(h,t),b,o)}}}catch(e){c.e(e)}finally{c.f()}for(var y=0,v=Object.keys(o);y0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var n=u(e,"#"),a=r(n,2),o=a[0],i=a[1];return Object.assign({url:o.split("?")[0]||"",query:b(h(e),t)},t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:f(i,t)}:{})},t.stringifyUrl=function(e,n){n=Object.assign({encode:!0,strict:!0},n);var r=d(e.url).split("?")[0]||"",a=t.extract(e.url),o=t.parse(a,{sort:!1}),i=Object.assign(o,e.query),c=t.stringify(i,n);c&&(c="?".concat(c));var u=function(e){var t="",n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u="#".concat(p(e.fragmentIdentifier,n))),"".concat(r).concat(c).concat(u)},t.pick=function(e,n,r){r=Object.assign({parseFragmentIdentifier:!0},r);var a=t.parseUrl(e,r),o=a.url,i=a.query,c=a.fragmentIdentifier;return t.stringifyUrl({url:o,query:s(i,n),fragmentIdentifier:c},r)},t.exclude=function(e,n,r){var a=Array.isArray(n)?function(e){return!n.includes(e)}:function(e,t){return!n(e,t)};return t.pick(e,a,r)}},YJpY: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.flat-map.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/flatten-into-array */"hKmx"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/array-species-create */"nMuc");r({target:"Array",proto:!0},{flatMap:function(e){var t,n=o(this),r=i(n.length);return c(e),(t=u(n,0)).length=a(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},YMoz: +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/math-scale.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=Math.scale||function(e,t,n,r,a){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||a!=a?NaN:e===1/0||e===-1/0?e:(e-t)*(a-r)/(n-t)+r}},YON3: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/is-regexp.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo"),a=n(/*! ../internals/classof-raw */"UwrT"),o=n(/*! ../internals/well-known-symbol */"2kyd")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==a(e))}},YS25: +/*!********************************************************************!*\ + !*** ./node_modules/history-with-query/esm/history.js + 2 modules ***! + \********************************************************************/ +/*! exports provided: createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath */ +/*! exports used: createBrowserHistory, createHashHistory, createLocation, createMemoryHistory, createPath, locationsAreEqual */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/rc-menu/es/SubPopupMenu.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/history-with-query/node_modules/query-string/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js because of ./node_modules/react-router-dom/esm/react-router-dom.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return b}));var r=n("wx14");function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var d=i[f];"."===d?o(i,f):".."===d?(o(i,f),p++):p&&(o(i,f),p--)}if(!s)for(;p--;p)i.unshift("..");!s||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),a=c(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n("YJ9l"),l=n.n(s),p=n("9R94");function f(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function y(e,t,n,a){var o;"string"==typeof e?((o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).query=o.search?l.a.parse(o.search):{},o.state=t):(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?("?"!==o.search.charAt(0)&&(o.search="?"+o.search),o.query=l.a.parse(o.search)):(o.search=o.query?l.a.stringify(o.query):"",o.query=o.query||{}),o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),p({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=y(e,t,f(),_.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(_.entries[_.index]=r,p({action:"REPLACE",location:r}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=_.index+e;return t>=0&&t<_.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return _}},Yanh: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.anchor.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("anchor")},{anchor:function(e){return a(this,"a","name",e)}})},YceZ: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.join.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/get-set-iterator */"jbR1"),c=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{join:function(e){var t=o(this),n=i(t),r=void 0===e?",":String(e),a=[];return c(n,a.push,a,!1,!0),a.join(r)}})},YdpX: +/*!**********************************!*\ + !*** ./src/styles/animated.less ***! + \**********************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},YfKC: +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-define-property.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/ie8-dom-define */"/yC2"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/to-primitive */"gFfw"),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},YjZU: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.reflect.construct.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/get-built-in */"29mP"),o=n(/*! ../internals/a-function */"cT1L"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/is-object */"tSXo"),u=n(/*! ../internals/object-create */"u+7+"),s=n(/*! ../internals/function-bind */"+SQA"),l=n(/*! ../internals/fails */"MVys"),p=a("Reflect","construct"),f=l((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),d=!l((function(){p((function(){}))})),h=f||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){o(e),i(t);var n=arguments.length<3?e:o(arguments[2]);if(d&&!f)return p(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var a=n.prototype,l=u(c(a)?a:Object.prototype),h=Function.apply.call(e,l,t);return c(h)?h:l}})},YrtM: +/*!**************************************************!*\ + !*** ./node_modules/rc-util/es/hooks/useMemo.js ***! + \**************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! react */"q1tI");function a(e,t,n){var a=r.useRef({});return"value"in a.current&&!n(a.current.condition,t)||(a.current.value=e(),a.current.condition=t),a.current.value}},"Z+8a": +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/collection-add-all.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/an-object */"f1E4"),a=n(/*! ../internals/a-function */"cT1L");e.exports=function(){for(var e=r(this),t=a(e.add),n=0,o=arguments.length;n1||"".split(/.?/).length?function(e,n){var r=String(i(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);for(var c,u,s,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,f+"g");(c=p.call(m,r))&&!((u=m.lastIndex)>h&&(l.push(r.slice(h,c.index)),c.length>1&&c.index=o));)m.lastIndex===c.index&&m.lastIndex++;return h===r.length?!s&&m.test("")||l.push(""):l.push(r.slice(h)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=i(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var p=o(e),f=String(this),d=c(p,RegExp),b=p.unicode,y=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(m?"y":"g"),v=new d(m?p:"^(?:"+p.source+")",y),g=void 0===a?4294967295:a>>>0;if(0===g)return[];if(0===f.length)return null===l(v,f)?[f]:[];for(var _=0,x=0,w=[];x>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},L=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},D=function(e){return C(e,23,4)},R=function(e){return C(e,52,8)},N=function(e,t){y(e.prototype,t,{get:function(){return x(this)[t]}})},F=function(e,t,n,r){var a=f(n),o=x(e);if(a+t>o.byteLength)throw P("Wrong index");var i=x(o.buffer).bytes,c=a+o.byteOffset,u=i.slice(c,c+t);return r?u:u.reverse()},U=function(e,t,n,r,a,o){var i=f(n),c=x(e);if(i+t>c.byteLength)throw P("Wrong index");for(var u=x(c.buffer).bytes,s=i+c.byteOffset,l=r(+a),p=0;pB;)(z=q[B++])in O||i(O,z,j[z]);V.constructor=O}m&&h(E)!==S&&m(E,S);var W=new k(new O(2)),H=E.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(E,{setInt8:function(e,t){H.call(this,e,t<<24>>24)},setUint8:function(e,t){H.call(this,e,t<<24>>24)}},{unsafe:!0})}else O=function(e){s(this,O,"ArrayBuffer");var t=f(e);w(this,{bytes:v.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},k=function(e,t,n){s(this,k,"DataView"),s(e,O,"DataView");var r=x(e).byteLength,o=l(t);if(o<0||o>r)throw P("Wrong offset");if(o+(n=void 0===n?r-o:p(n))>r)throw P("Wrong length");w(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(N(O,"byteLength"),N(k,"buffer"),N(k,"byteLength"),N(k,"byteOffset")),c(k.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return L(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return L(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return T(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return T(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,A,t)},setUint8:function(e,t){U(this,1,e,A,t)},setInt16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,R,t,arguments.length>2?arguments[2]:void 0)}});g(O,"ArrayBuffer"),g(k,"DataView"),e.exports={ArrayBuffer:O,DataView:k}},ZW6p: +/*!******************************************************!*\ + !*** ./src/.umi-production/plugin-locale/locale.tsx ***! + \******************************************************/ +/*! exports provided: event, LANG_CHANGE_EVENT, _onCreate, _LocaleContainer */ +/*! exports used: LANG_CHANGE_EVENT, _LocaleContainer, _onCreate, event */function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return m})),n.d(t,"b",(function(){return b}));n(/*! antd/es/config-provider/style */"GNNt");var r=n(/*! antd/es/config-provider */"wEI+"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),i=n(/*! react */"q1tI"),c=n.n(i),u=n(/*! events */"+qE3"),s=n.n(u),l=n(/*! moment */"wd/R"),p=n.n(l),f=(n(/*! moment/locale/zh-cn */"XDpg"),n(/*! ./localeExports */"Fghh")),d=new s.a;d.setMaxListeners(5);var h=Symbol("LANG_CHANGE");function m(){var e,t=Object(f.d)();null!==p.a&&void 0!==p.a&&p.a.locale&&p.a.locale((null===(e=f.e[t])||void 0===e?void 0:e.momentLocale)||"zh-cn");Object(f.f)(t)}var b=function(e){var t,i=c.a.useState((function(){return Object(f.d)()})),u=Object(o.a)(i,2),s=u[0],l=u[1],m=c.a.useState((function(){return Object(f.c)(s,!0)})),b=Object(o.a)(m,2),y=b[0],v=b[1],g=function(e){var t;null!==p.a&&void 0!==p.a&&p.a.locale&&p.a.locale((null===(t=f.e[e])||void 0===t?void 0:t.momentLocale)||"en");l(e),v(Object(f.c)(e))};c.a.useLayoutEffect((function(){return d.on(h,g),function(){d.off(h,g)}}),[]);var _=Object(a.a)({},n(/*! antd/es/locale/zh_CN */"+Gva").default),x=Object(f.b)();return c.a.createElement(r.b,{direction:x,locale:(null===(t=f.e[s])||void 0===t?void 0:t.antd)||_},c.a.createElement(f.a,{value:y},e.children))}},ZahQ: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.define-getter.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/descriptors */"tny8"),o=n(/*! ../internals/object-prototype-accessors-forced */"i7kj"),i=n(/*! ../internals/to-object */"cTDu"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/object-define-property */"YfKC");a&&r({target:"Object",proto:!0,forced:o},{__defineGetter__:function(e,t){u.f(i(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},Zcjx: +/*!***************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/is-pure.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=!1},Ze4s: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/number-parse-int.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/string-trim */"mTKU").trim,o=n(/*! ../internals/whitespaces */"Tfd0"),i=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==i(o+"08")||22!==i(o+"0x16");e.exports=u?function(e,t){var n=a(String(e));return i(n,t>>>0||(c.test(n)?16:10))}:i},ZhPi: +/*!***************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! + \***************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./arrayLikeToArray.js */"WkPL");e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},ZkJ9: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/native-weak-map.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/inspect-source */"J3Yn"),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},Zkxe: +/*!******************************************!*\ + !*** ./src/models/problemset/preview.ts ***! + \******************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/problemset */"WCUW"),c=n(/*! ./util */"6fQ5"),u={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{getPaperData:o.a.mark((function e(t,n){var r,a,u,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,u=n.put,e.next=4,a(i.w,r);case 4:return s=e.sent,l=Object(c.b)(s),e.next=8,u({type:"save",payload:{paperData:l}});case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})),getEditDisciplines:o.a.mark((function e(t,n){var a,u,s,l,p,f;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,u=n.call,s=n.put,e.next=4,u(i.s,a);case 4:return l=e.sent,p=null==l?void 0:l.disciplines,f=Object(c.a)(p),e.next=9,s({type:"save",payload:{courseOptions:f,disciplinesData:Object(r.a)({},l)}});case 9:return e.abrupt("return",l);case 10:case"end":return e.stop()}}),e)})),setScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.P,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),handleDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.B,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchSetScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),adjustPosition:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.c,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),newPreviewProblemset:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.F,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=u},Zm9Q: +/*!*****************************************************!*\ + !*** ./node_modules/rc-util/es/Children/toArray.js ***! + \*****************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(/*! react */"q1tI"),a=n.n(r),o=n(/*! react-is */"TOwV");function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return a.a.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):Object(o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},ZqBY: +/*!****************************************************!*\ + !*** ./node_modules/umi-request/dist/index.esm.js ***! + \****************************************************/ +/*! exports provided: default, Onion, RequestError, ResponseError, extend, fetch */ +/*! exports used: extend */ +/*! ModuleConcatenation bailout: Module uses injected variables (process) */function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return K}));var r=n(/*! qs */"Qyje");n(/*! isomorphic-fetch */"LpSC");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1,defaultInstance:!1},a=!1,o=!1,c=!1;"number"==typeof r?(e&&Object({NODE_ENV:"production"}),a=!0,o=!1):"object"===i(r)&&r&&(o=r.global||!1,a=r.core||!1,c=r.defaultInstance||!1),o?t.globalMiddlewares.splice(t.globalMiddlewares.length-t.defaultGlobalMiddlewaresLength,0,n):a?t.coreMiddlewares.splice(t.coreMiddlewares.length-t.defaultCoreMiddlewaresLength,0,n):c?this.defaultMiddlewares.push(n):this.middlewares.push(n)}},{key:"execute",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=x([].concat(g(this.middlewares),g(this.defaultMiddlewares),g(t.globalMiddlewares),g(t.coreMiddlewares)));return n(e)}}]),t}();w.globalMiddlewares=[],w.defaultGlobalMiddlewaresLength=0,w.coreMiddlewares=[],w.defaultCoreMiddlewaresLength=0;var j=function(){function e(t){c(this,e),this.cache=new Map,this.timer={},this.extendOptions(t)}return s(e,[{key:"extendOptions",value:function(e){this.maxCache=e.maxCache||0}},{key:"get",value:function(e){return this.cache.get(JSON.stringify(e))}},{key:"set",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var a=g(this.cache.keys())[0];this.cache.delete(a),this.timer[a]&&clearTimeout(this.timer[a])}var o=JSON.stringify(e);this.cache.set(o,t),r>0&&(this.timer[o]=setTimeout((function(){n.cache.delete(o),delete n.timer[o]}),r))}},{key:"delete",value:function(e){var t=JSON.stringify(e);return delete this.timer[t],this.cache.delete(t)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),e}(),O=function(e){p(n,e);var t=v(n);function n(e,r){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"RequestError";return c(this,n),(a=t.call(this,e)).name="RequestError",a.request=r,a.type=o,a}return n}(b(Error)),k=function(e){p(n,e);var t=v(n);function n(e,r,a,o){var i,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ResponseError";return c(this,n),(i=t.call(this,r||e.statusText)).name="ResponseError",i.data=a,i.response=e,i.request=o,i.type=u,i}return n}(b(Error));function E(e){return new Promise((function(t,n){var r=new FileReader;r.onload=function(){t(r.result)},r.onerror=n,r.readAsText(e,"GBK")}))}function S(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;try{return JSON.parse(e)}catch(a){if(t)throw new k(n,"JSON.parse fail",e,r,"ParseError")}return e}function P(e,t,n){return new Promise((function(r,a){setTimeout((function(){a(new O(t||"timeout of ".concat(e,"ms exceeded"),n,"Timeout"))}),e)}))}function C(e){return new Promise((function(t,n){e.cancelToken&&e.cancelToken.promise.then((function(e){n(e)}))}))}var T=Object.prototype.toString;function A(){var t;return void 0!==e&&"[object process]"===T.call(e)&&(t="NODE"),"undefined"!=typeof XMLHttpRequest&&(t="BROWSER"),t}function I(e){return"object"===i(e)&&"[object Array]"===Object.prototype.toString.call(e)}function M(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function L(e){return null!==e&&"object"===i(e)}function D(e,t){if(e)if("object"!==i(e)&&(e=[e]),I(e))for(var n=0;n=200&&n.status<300)return c?void(e.res={data:t,response:n}):void(e.res=t);throw new k(n,"http error",t,a,"HttpError")}}})).catch((function(t){if(t instanceof O||t instanceof k)throw t;var n=e.req,r=e.res;throw t.request=t.request||n,t.response=t.response||r,t.type=t.type||t.name,t.data=t.data||void 0,t}))}],q=[function(t,n){if(!t)return n();var r=t.req,a=(r=void 0===r?{}:r).options,o=void 0===a?{}:a,i=r.url,c=void 0===i?"":i,u=t.cache,s=t.responseInterceptors,l=o.timeout,p=void 0===l?0:l,f=o.timeoutMessage,d=o.__umiRequestCoreType__,h=void 0===d?"normal":d,m=o.useCache,b=void 0!==m&&m,y=o.method,v=void 0===y?"get":y,g=o.params,_=o.ttl,x=o.validateCache,w=void 0===x?U:x;if("normal"!==h)return e&&Object({NODE_ENV:"production"}),n();var j=fetch;if(!j)throw new Error("Global fetch not exist!");var O,k="BROWSER"===A(),E=w(c,o)&&b&&k;if(E){var S=u.get({url:c,params:g,method:v});if(S)return(S=S.clone()).useCache=!0,t.res=S,n()}return O=p>0?Promise.race([C(o),j(c,o),P(p,f,t.req)]):Promise.race([C(o),j(c,o)]),s.forEach((function(e){O=O.then((function(t){var n="function"==typeof t.clone?t.clone():t;return e(n,o)}))})),O.then((function(e){if(E&&200===e.status){var r=e.clone();r.useCache=!0,u.set({url:c,params:g,method:v},r,_)}return t.res=e,n()}))}];w.globalMiddlewares=V,w.defaultGlobalMiddlewaresLength=V.length,w.coreMiddlewares=q,w.defaultCoreMiddlewaresLength=q.length;var B=function(){function e(t){c(this,e),this.onion=new w([]),this.fetchIndex=0,this.mapCache=new j(t),this.initOptions=t,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return s(e,[{key:"use",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1,core:!1};return this.onion.use(e,t),this}},{key:"extendOptions",value:function(e){this.initOptions=F(this.initOptions,e),this.mapCache.extendOptions(e)}},{key:"dealRequestInterceptors",value:function(t){return[].concat(g(e.requestInterceptors),g(this.instanceRequestInterceptors)).reduce((function(e,n){return e.then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.req.url=e.url||t.req.url,t.req.options=e.options||t.req.options,n(t.req.url,t.req.options)}))}),Promise.resolve()).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.req.url=e.url||t.req.url,t.req.options=e.options||t.req.options,Promise.resolve()}))}},{key:"request",value:function(t,n){var r=this,a=this.onion,i={req:{url:t,options:o(o({},n),{},{url:t})},res:null,cache:this.mapCache,responseInterceptors:[].concat(g(e.responseInterceptors),g(this.instanceResponseInterceptors))};if("string"!=typeof t)throw new Error("url MUST be a string");return new Promise((function(e,t){r.dealRequestInterceptors(i).then((function(){return a.execute(i)})).then((function(){e(i.res)})).catch((function(n){var r=i.req.options.errorHandler;if(r)try{var a=r(n);e(a)}catch(e){t(e)}else t(n)}))}))}}],[{key:"requestUse",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof t)throw new TypeError("Interceptor must be function!");n.global?e.requestInterceptors.push(t):this.instanceRequestInterceptors.push(t)}},{key:"responseUse",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!0};if("function"!=typeof t)throw new TypeError("Interceptor must be function!");n.global?e.responseInterceptors.push(t):this.instanceResponseInterceptors.push(t)}}]),e}();function W(e){this.message=e}function H(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new W(e),t(n.reason))}))}function G(e){return!(!e||!e.__CANCEL__)}B.requestInterceptors=[function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.prefix,r=t.suffix;return n&&(e="".concat(n).concat(e)),r&&(e="".concat(e).concat(r)),{url:e,options:t}}],B.responseInterceptors=[],W.prototype.toString=function(){return this.message?"Cancel: ".concat(this.message):"Cancel"},W.prototype.__CANCEL__=!0,H.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},H.source=function(){var e;return{token:new H((function(t){e=t})),cancel:e}};var Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new B(e),n=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=F(t.initOptions,n);return t.request(e,r)};n.use=t.use.bind(t),n.fetchIndex=t.fetchIndex,n.interceptors={request:{use:B.requestUse.bind(t)},response:{use:B.responseUse.bind(t)}};var r=["get","post","delete","put","patch","head","options","rpc"];return r.forEach((function(e){n[e]=function(t,r){return n(t,o(o({},r),{},{method:e}))}})),n.Cancel=W,n.CancelToken=H,n.isCancel=G,n.extendOptions=t.extendOptions.bind(t),n.middlewares={instance:t.onion.middlewares,defaultInstance:t.onion.defaultMiddlewares,global:w.globalMiddlewares,core:w.coreMiddlewares},n},K=function(e){return Y(e)};Y({parseResponse:!1}),Y({})}).call(this,n(/*! ./../../node-libs-browser/mock/process.js */"Q2Ig"))},a1gu: +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! + \**************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./typeof.js */"cDf5").default,a=n(/*! ./assertThisInitialized.js */"PJYZ");e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},a3WO: +/*!*********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! + \*********************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[u>>>5]|=128<>>9<<4)]=u;var h=c._ff,m=c._gg,b=c._hh,y=c._ii;for(d=0;d>>0,l=l+g>>>0,p=p+_>>>0,f=f+x>>>0}return r.endian([s,l,p,f])})._ff=function(e,t,n,r,a,o,i){var c=e+(t&n|~t&r)+(a>>>0)+i;return(c<>>32-o)+t},c._gg=function(e,t,n,r,a,o,i){var c=e+(t&r|n&~r)+(a>>>0)+i;return(c<>>32-o)+t},c._hh=function(e,t,n,r,a,o,i){var c=e+(t^n^r)+(a>>>0)+i;return(c<>>32-o)+t},c._ii=function(e,t,n,r,a,o,i){var c=e+(n^(t|~r))+(a>>>0)+i;return(c<>>32-o)+t},c._blocksize=16,c._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(c(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)}},aF2d: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/collection-from.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/a-function */"cT1L"),a=n(/*! ../internals/function-bind-context */"7BAe"),o=n(/*! ../internals/iterate */"IuhT");e.exports=function(e){var t,n,i,c,u=arguments.length,s=u>1?arguments[1]:void 0;return r(this),(t=void 0!==s)&&r(s),null==e?new this:(n=[],t?(i=0,c=a(s,u>2?arguments[2]:void 0,2),o(e,(function(e){n.push(c(e,i++))}))):o(e,n.push,n),new this(n))}},aHGi: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.to-string-tag.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("toStringTag")},aI7X: +/*!******************************************************!*\ + !*** ./node_modules/function-bind/implementation.js ***! + \******************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",a=Array.prototype.slice,o=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError(r+t);for(var n,i=a.call(arguments,1),c=function(){if(this instanceof n){var r=t.apply(this,i.concat(a.call(arguments)));return Object(r)===r?r:this}return t.apply(e,i.concat(a.call(arguments)))},u=Math.max(0,t.length-i.length),s=[],l=0;l1)&&(e=1),e}function o(e){return e<=1?100*Number(e)+"%":e}function i(e){return 1===e.length?"0"+e:String(e)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return i}))},b48C: +/*!*************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***! + \*************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},b6mv: +/*!********************************!*\ + !*** ./src/models/homePage.ts ***! + \********************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/home */"6CvP"),c={namespace:"homePage",state:{name:"首页",loading:!0},effects:{home:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.a,{payload:a});case 4:return s=e.sent,e.next=7,u({type:"save",payload:Object(r.a)({},s)});case 7:case"end":return e.stop()}}),e)})),query:o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,n.call,r=n.put,e.next=4,r({type:"save",payload:{name:"linlu"}});case 4:case"end":return e.stop()}}),e)})),getHomeNotice:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)})),UploadNotice:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return c=e.sent,e.abrupt("return",c);case 6:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},b6st: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/native-promise-constructor.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv");e.exports=r.Promise},"b8+j": +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.reflect.set-prototype-of.js ***! + \*********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/an-object */"f1E4"),o=n(/*! ../internals/a-possible-prototype */"JS3A"),i=n(/*! ../internals/object-set-prototype-of */"g1ZG");i&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){a(e),o(t);try{return i(e,t),!0}catch(e){return!1}}})},bCY9: +/*!********************************************!*\ + !*** ./src/.umi-production/core/plugin.ts ***! + \********************************************/ +/*! exports provided: plugin */ +/*! exports used: plugin */function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=new(n(/*! ./node_modules/@umijs/runtime */"LtsZ").b)({validKeys:["modifyClientRenderOpts","patchRoutes","rootContainer","render","onRouteChange","__mfsu","dva","getInitialState","locale","locale","request"]})},bDgo: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.is-integer.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Number",stat:!0},{isInteger:n(/*! ../internals/is-integer */"M3b6")})},"bF+Q": +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/is-array-iterator-method.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/well-known-symbol */"2kyd"),a=n(/*! ../internals/iterators */"5yw/"),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},bIKR: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/to-absolute-index.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-integer */"m0kY"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},bPAU: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.match-all.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-iterator-constructor */"uoF6"),o=n(/*! ../internals/require-object-coercible */"FCfD"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/an-object */"f1E4"),s=n(/*! ../internals/classof-raw */"UwrT"),l=n(/*! ../internals/is-regexp */"YON3"),p=n(/*! ../internals/regexp-flags */"k/J9"),f=n(/*! ../internals/create-non-enumerable-property */"lz10"),d=n(/*! ../internals/fails */"MVys"),h=n(/*! ../internals/well-known-symbol */"2kyd"),m=n(/*! ../internals/species-constructor */"/dTS"),b=n(/*! ../internals/advance-string-index */"xH5X"),y=n(/*! ../internals/internal-state */"1aI8"),v=n(/*! ../internals/is-pure */"Zcjx"),g=h("matchAll"),_=y.set,x=y.getterFor("RegExp String Iterator"),w=RegExp.prototype,j=w.exec,O="".matchAll,k=!!O&&!d((function(){"a".matchAll(/./)})),E=a((function(e,t,n,r){_(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=x(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return j.call(e,t)}(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=b(n,i(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),S=function(e){var t,n,r,a,o,c,s=u(this),l=String(e);return t=m(s,RegExp),void 0===(n=s.flags)&&s instanceof RegExp&&!("flags"in w)&&(n=p.call(s)),r=void 0===n?"":String(n),a=new t(t===RegExp?s.source:s,r),o=!!~r.indexOf("g"),c=!!~r.indexOf("u"),a.lastIndex=i(s.lastIndex),new E(a,l,o,c)};r({target:"String",proto:!0,forced:k},{matchAll:function(e){var t,n,r,a=o(this);if(null!=e){if(l(e)&&!~String(o("flags"in w?e.flags:p.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(k)return O.apply(a,arguments);if(void 0===(n=e[g])&&v&&"RegExp"==s(e)&&(n=S),null!=n)return c(n).call(e,a)}else if(k)return O.apply(a,arguments);return t=String(a),r=new RegExp(e,"g"),v?S.call(r,t):r[g](t)}}),v||g in w||f(w,g,S)},bQgK: +/*!*************************************************************!*\ + !*** ./node_modules/performance-now/lib/performance-now.js ***! + \*************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){(function(t){(function(){var n,r,a,o,i,c;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},r=t.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),c=1e9*t.uptime(),i=o-c):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return(new Date).getTime()-a},a=(new Date).getTime())}).call(this)}).call(this,n(/*! ./../../node-libs-browser/mock/process.js */"Q2Ig"))},bZMm: +/*!********************************************!*\ + !*** ./node_modules/whatwg-fetch/fetch.js ***! + \********************************************/ +/*! exports provided: Headers, Request, Response, DOMException, fetch */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/isomorphic-fetch/fetch-npm-browserify.js (referenced with cjs require) */function(e,t,n){"use strict";n.r(t),n.d(t,"Headers",(function(){return h})),n.d(t,"Request",(function(){return x})),n.d(t,"Response",(function(){return j})),n.d(t,"DOMException",(function(){return k})),n.d(t,"fetch",(function(){return E}));var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,a="URLSearchParams"in r,o="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(e){return!1}}(),c="FormData"in r,u="ArrayBuffer"in r;if(u)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function p(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function b(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=b(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:c&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:a&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=m(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var e,t,n,r=m(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=b(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&a)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(a),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}})),t}function j(e,t){if(!(this instanceof j))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},j.error=function(){var e=new j(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];j.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new j(null,{status:t,headers:{location:e}})};var k=r.DOMException;try{new k}catch(e){(k=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),k.prototype.constructor=k}function E(e,t){return new Promise((function(n,a){var o=new x(e,t);if(o.signal&&o.signal.aborted)return a(new k("Aborted","AbortError"));var c=new XMLHttpRequest;function s(){c.abort()}c.onload=function(){var e,t,r={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var a=n.join(":").trim();t.append(r,a)}})),t)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var a="response"in c?c.response:c.responseText;setTimeout((function(){n(new j(a,r))}),0)},c.onerror=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){a(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){a(new k("Aborted","AbortError"))}),0)},c.open(o.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(t){return e}}(o.url),!0),"include"===o.credentials?c.withCredentials=!0:"omit"===o.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":u&&o.headers.get("Content-Type")&&-1!==o.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof h?o.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){c.setRequestHeader(e,f(t.headers[e]))})),o.signal&&(o.signal.addEventListener("abort",s),c.onreadystatechange=function(){4===c.readyState&&o.signal.removeEventListener("abort",s)}),c.send(void 0===o._bodyInit?null:o._bodyInit)}))}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=h,r.Request=x,r.Response=j)},bcvT: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.dom-collections.for-each.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/dom-iterables */"XX5T"),o=n(/*! ../internals/array-for-each */"PHrn"),i=n(/*! ../internals/create-non-enumerable-property */"lz10");for(var c in a){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==o)try{i(s,"forEach",o)}catch(e){s.forEach=o}}},bdgK: +/*!*************************************************************************!*\ + !*** ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js ***! + \*************************************************************************/ +/*! exports provided: default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module uses injected variables (global) */function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;i.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),s=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,w=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new _(t,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){w.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var j=void 0!==a.ResizeObserver?a.ResizeObserver:w;t.default=j}.call(this,n(/*! ./../../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},beyn: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.trim-end.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-trim */"mTKU").end,o=n(/*! ../internals/string-trim-forced */"HKQd")("trimEnd"),i=o?function(){return a(this)}:"".trimEnd;r({target:"String",proto:!0,forced:o},{trimEnd:i,trimRight:i})},bfL6: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./unsupportedIterableToArray */"mGKP");e.exports=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){u=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw i}}}}},bkVK: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.link.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("link")},{link:function(e){return a(this,"a","href",e)}})},bmMU: +/*!**************************************************!*\ + !*** ./node_modules/react-fast-compare/index.js ***! + \**************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n="undefined"!=typeof Element,r="function"==typeof Map,a="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;var c,u,s,l;if(Array.isArray(t)){if((c=t.length)!=i.length)return!1;for(u=c;0!=u--;)if(!e(t[u],i[u]))return!1;return!0}if(r&&t instanceof Map&&i instanceof Map){if(t.size!==i.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!i.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!e(u.value[1],i.get(u.value[0])))return!1;return!0}if(a&&t instanceof Set&&i instanceof Set){if(t.size!==i.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!i.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(i)){if((c=t.length)!=i.length)return!1;for(u=c;0!=u--;)if(t[u]!==i[u])return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((c=(s=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(u=c;0!=u--;)if(!Object.prototype.hasOwnProperty.call(i,s[u]))return!1;if(n&&t instanceof Element)return!1;for(u=c;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!t.$$typeof)&&!e(t[s[u]],i[s[u]]))return!1;return!0}return t!=t&&i!=i}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},bntm: +/*!*********************************!*\ + !*** ./src/utils/fullscreen.ts ***! + \*********************************/ +/*! exports provided: requestFullScreen, exitFull, fullscreenChange, IsFull */ +/*! exports used: IsFull, exitFull, fullscreenChange, requestFullScreen */function(e,t,n){"use strict";function r(e){try{e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()}catch(e){console.log(e,":e")}}function a(){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()}n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var o=function(){return document.webkitExitFullscreen?"webkitfullscreenchange":document.exitFullscreen?"fullscreenchange":document.msExitFullscreen?"msfullscreenchange":document.mozCancelFullScreen?"mozfullscreenchange":void 0};function i(){var e=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement;document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return null!=e}},bu2F: +/*!**************************************************!*\ + !*** ./node_modules/hash.js/lib/hash/sha/256.js ***! + \**************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../utils */"w8CP"),a=n(/*! ../common */"7ckf"),o=n(/*! ./common */"qlaj"),i=n(/*! minimalistic-assert */"2j6C"),c=r.sum32,u=r.sum32_4,s=r.sum32_5,l=o.ch32,p=o.maj32,f=o.s0_256,d=o.s1_256,h=o.g0_256,m=o.g1_256,b=a.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}r.inherits(v,b),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r=0)return t[e].splice(a,1),!0}return!1},publish:function(e){if(!t[e])return!1;var n=Array.prototype.slice.call(arguments,1);return t[e].forEach((function(e){e.apply(null,n)})),this}};return e?Object.assign(e,n):n};t.a=r},dnEI: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/host-report-errors.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},dnZx: +/*!*************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.url.js ***! + \*************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";n(/*! ../modules/es.string.iterator */"KvPC");var r,a=n(/*! ../internals/export */"MMxC"),o=n(/*! ../internals/descriptors */"tny8"),i=n(/*! ../internals/native-url */"lgSf"),c=n(/*! ../internals/global */"ukPv"),u=n(/*! ../internals/object-define-properties */"HctQ"),s=n(/*! ../internals/redefine */"NMFW"),l=n(/*! ../internals/an-instance */"igoe"),p=n(/*! ../internals/has */"jtLI"),f=n(/*! ../internals/object-assign */"qitQ"),d=n(/*! ../internals/array-from */"1H91"),h=n(/*! ../internals/string-multibyte */"eYKs").codeAt,m=n(/*! ../internals/string-punycode-to-ascii */"Di6M"),b=n(/*! ../internals/set-to-string-tag */"kiNa"),y=n(/*! ../modules/web.url-search-params */"5JgN"),v=n(/*! ../internals/internal-state */"1aI8"),g=c.URL,_=y.URLSearchParams,x=y.getState,w=v.set,j=v.getterFor("URL"),O=Math.floor,k=Math.pow,E=/[A-Za-z]/,S=/[\d+-.A-Za-z]/,P=/\d/,C=/^(0x|0X)/,T=/^[0-7]+$/,A=/^\d+$/,I=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,R=/[\u0009\u000A\u000D]/g,N=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=m(t),M.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(L.test(t))return"Invalid host";for(n="",r=d(t),a=0;a4)return e;for(n=[],r=0;r1&&"0"==a.charAt(0)&&(o=C.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?A:8==o?T:I).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r=k(256,5-t))return null}else if(i>255)return null;for(c=n.pop(),r=0;r6)return;for(r=0;f();){if(a=null,r>0){if(!("."==f()&&r<4))return;p++}if(!P.test(f()))return;for(;P.test(f());){if(o=parseInt(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;p++}u[s]=256*u[s]+a,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==f()){if(p++,!f())return}else if(f())return;u[s++]=t}else{if(null!==l)return;p++,l=++s}}if(null!==l)for(i=s-l,s=7;0!=s&&i>0;)c=u[s],u[s--]=u[l+i-1],u[l+--i]=c;else if(8!=s)return;return u},z=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=O(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t}(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},V={},q=f({},V,{" ":1,'"':1,"<":1,">":1,"`":1}),B=f({},q,{"#":1,"?":1,"{":1,"}":1}),W=f({},B,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var n=h(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},G={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return p(G,e.scheme)},K=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},J=function(e,t){var n;return 2==e.length&&E.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&J(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&J(t[0],!0)||t.pop()},$=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ae={},oe={},ie={},ce={},ue={},se={},le={},pe={},fe={},de={},he={},me={},be={},ye={},ve={},ge={},_e={},xe=function(e,t,n,a){var o,i,c,u,s,l=n||ee,f=0,h="",m=!1,b=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(R,""),o=d(t);f<=o.length;){switch(i=o[f],l){case ee:if(!i||!E.test(i)){if(n)return"Invalid scheme";l=ne;continue}h+=i.toLowerCase(),l=te;break;case te:if(i&&(S.test(i)||"+"==i||"-"==i||"."==i))h+=i.toLowerCase();else{if(":"!=i){if(n)return"Invalid scheme";h="",l=ne,f=0;continue}if(n&&(Y(e)!=p(G,h)||"file"==h&&(K(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Y(e)&&G[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=de:Y(e)&&a&&a.scheme==e.scheme?l=re:Y(e)?l=ce:"/"==o[f+1]?(l=ae,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=ve)}break;case ne:if(!a||a.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,l=_e;break}l="file"==a.scheme?de:oe;continue;case re:if("/"!=i||"/"!=o[f+1]){l=oe;continue}l=ue,f++;break;case ae:if("/"==i){l=se;break}l=ye;continue;case oe:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&Y(e))l=ie;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",l=ge;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),l=ye;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=_e}break;case ie:if(!Y(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,l=ye;continue}l=se}else l=ue;break;case ce:if(l=ue,"/"!=i||"/"!=h.charAt(f+1))continue;f++;break;case ue:if("/"!=i&&"\\"!=i){l=se;continue}break;case se:if("@"==i){m&&(h="%40"+h),m=!0,c=d(h);for(var v=0;v65535)return"Invalid port";e.port=Y(e)&&x===G[e.scheme]?null:x,h=""}if(n)return;l=be;continue}return"Invalid port"}h+=i;break;case de:if(e.scheme="file","/"==i||"\\"==i)l=he;else{if(!a||"file"!=a.scheme){l=ye;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",l=ge;else{if("#"!=i){X(o.slice(f).join(""))||(e.host=a.host,e.path=a.path.slice(),Z(e)),l=ye;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=_e}}break;case he:if("/"==i||"\\"==i){l=me;break}a&&"file"==a.scheme&&!X(o.slice(f).join(""))&&(J(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),l=ye;continue;case me:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&J(h))l=ye;else if(""==h){if(e.host="",n)return;l=be}else{if(u=N(e,h))return u;if("localhost"==e.host&&(e.host=""),n)return;h="",l=be}continue}h+=i;break;case be:if(Y(e)){if(l=ye,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(l=ye,"/"!=i))continue}else e.fragment="",l=_e;else e.query="",l=ge;break;case ye:if(i==r||"/"==i||"\\"==i&&Y(e)||!n&&("?"==i||"#"==i)){if(".."===(s=(s=h).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(Z(e),"/"==i||"\\"==i&&Y(e)||e.path.push("")):$(h)?"/"==i||"\\"==i&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&J(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(i==r||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",l=ge):"#"==i&&(e.fragment="",l=_e)}else h+=H(i,B);break;case ve:"?"==i?(e.query="",l=ge):"#"==i?(e.fragment="",l=_e):i!=r&&(e.path[0]+=H(i,V));break;case ge:n||"#"!=i?i!=r&&("'"==i&&Y(e)?e.query+="%27":e.query+="#"==i?"%23":H(i,V)):(e.fragment="",l=_e);break;case _e:i!=r&&(e.fragment+=H(i,q))}f++}},we=function(e){var t,n,r=l(this,we,"URL"),a=arguments.length>1?arguments[1]:void 0,i=String(e),c=w(r,{type:"URL"});if(void 0!==a)if(a instanceof we)t=j(a);else if(n=xe(t={},String(a)))throw TypeError(n);if(n=xe(c,i,null,t))throw TypeError(n);var u=c.searchParams=new _,s=x(u);s.updateSearchParams(c.query),s.updateURL=function(){c.query=String(u)||null},o||(r.href=Oe.call(r),r.origin=ke.call(r),r.protocol=Ee.call(r),r.username=Se.call(r),r.password=Pe.call(r),r.host=Ce.call(r),r.hostname=Te.call(r),r.port=Ae.call(r),r.pathname=Ie.call(r),r.search=Me.call(r),r.searchParams=Le.call(r),r.hash=De.call(r))},je=we.prototype,Oe=function(){var e=j(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,c=e.query,u=e.fragment,s=t+":";return null!==a?(s+="//",K(e)&&(s+=n+(r?":"+r:"")+"@"),s+=z(a),null!==o&&(s+=":"+o)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==c&&(s+="?"+c),null!==u&&(s+="#"+u),s},ke=function(){var e=j(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+z(e.host)+(null!==n?":"+n:""):"null"},Ee=function(){return j(this).scheme+":"},Se=function(){return j(this).username},Pe=function(){return j(this).password},Ce=function(){var e=j(this),t=e.host,n=e.port;return null===t?"":null===n?z(t):z(t)+":"+n},Te=function(){var e=j(this).host;return null===e?"":z(e)},Ae=function(){var e=j(this).port;return null===e?"":String(e)},Ie=function(){var e=j(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=j(this).query;return e?"?"+e:""},Le=function(){return j(this).searchParams},De=function(){var e=j(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&u(je,{href:Re(Oe,(function(e){var t=j(this),n=String(e),r=xe(t,n);if(r)throw TypeError(r);x(t.searchParams).updateSearchParams(t.query)})),origin:Re(ke),protocol:Re(Ee,(function(e){var t=j(this);xe(t,String(e)+":",ee)})),username:Re(Se,(function(e){var t=j(this),n=d(String(e));if(!Q(t)){t.username="";for(var r=0;r children");r=e}})),r}var d=n("UwPn"),h={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}},m=function(){function e(e,t){for(var n=0;n children");return a.a.createElement(g,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var o=t.component;if(o){var i=t;return"string"==typeof o&&(i=_({className:t.className,style:t.style},t.componentProps)),a.a.createElement(o,i,r)}return r[0]||null}}]),t}(a.a.Component);k.isAnimate=!0,k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:O,onEnter:O,onLeave:O,onAppear:O};var E=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var a=l(j(r));e.isValidChildByKey(a,t)?"appear"===n?h.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):h.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,a,o,i,c=l(j(n));if(e.isValidChildByKey(c,t))e.performEnter(t);else{var u=function(){h.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,a=c,o=n.showProp,(i=r.length===a.length)&&r.forEach((function(e,t){var n=a[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||o&&e.props[o]!==n.props[o])&&(i=!1)})),i?u():e.setState({children:c},u)}}}},S=s(k),P=Object.assign||function(e){for(var t=1;t=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(i=c.charCodeAt(u+1))<56320||i>57343?e?c.charAt(u):o:e?c.slice(u,u+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},ecuC: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.string.code-points.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-iterator-constructor */"uoF6"),o=n(/*! ../internals/require-object-coercible */"FCfD"),i=n(/*! ../internals/internal-state */"1aI8"),c=n(/*! ../internals/string-multibyte */"eYKs"),u=c.codeAt,s=c.charAt,l=i.set,p=i.getterFor("String Iterator"),f=a((function(e){l(this,{type:"String Iterator",string:e,index:0})}),"String",(function(){var e,t=p(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=s(n,r),t.index+=e.length,{value:{codePoint:u(e,0),position:r},done:!1})}));r({target:"String",proto:!0},{codePoints:function(){return new f(String(o(this)))}})},edbT: +/*!***********************************************************!*\ + !*** ./node_modules/react-redux/es/utils/Subscription.js ***! + \***********************************************************/ +/*! exports provided: createSubscription */ +/*! exports used: createSubscription */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(/*! ./batch */"TfIc");var a={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=a;function i(){u.onStateChange&&u.onStateChange()}function c(){var a,c,u;n||(n=t?t.addNestedSub(i):e.subscribe(i),a=Object(r.a)(),c=null,u=null,o={clear:function(){c=null,u=null},notify:function(){a((function(){for(var e=c;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=c;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=u={callback:e,next:null,prev:u};return n.prev?n.prev.next=n:c=n,function(){t&&null!==c&&(t=!1,n.next?n.next.prev=n.prev:u=n.prev,n.prev?n.prev.next=n.next:c=n.next)}}})}var u={addNestedSub:function(e){return c(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:c,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=a)},getListeners:function(){return o}};return u}},"egz/": +/*!******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/math-log1p.js ***! + \******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},ehAy: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.find-index.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/array-iteration */"zv1X").findIndex,o=n(/*! ../internals/add-to-unscopables */"eNh0"),i=n(/*! ../internals/array-method-uses-to-length */"kGMc"),c=!0,u=i("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},en47: +/*!*********************************!*\ + !*** ./src/models/paths/new.ts ***! + \*********************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/paths */"Mgx3"),c={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{editCourse:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.u,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),submitCourse:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.R,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getEditCourseData:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.B,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getSchoolOption:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.F,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),appplySchool:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.j,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},evbn: +/*!***********************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/uid.js ***! + \***********************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},"f/k9": +/*!******************************************************************************!*\ + !*** ./node_modules/use-subscription/cjs/use-subscription.production.min.js ***! + \******************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/** @license React vundefined + * use-subscription.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(/*! object-assign */"MgzW"),a=n(/*! react */"q1tI");t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,o=a.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=o[0];var i=o[1];return o=e.value,e.getCurrentValue===t&&e.subscribe===n||(o=t(),i({getCurrentValue:t,subscribe:n,value:o})),a.useDebugValue(o),a.useEffect((function(){function e(){if(!a){var e=t();i((function(a){return a.getCurrentValue!==t||a.subscribe!==n||a.value===e?a:r({},a,{value:e})}))}}var a=!1,o=n(e);return e(),function(){a=!0,o()}}),[t,n]),o}},f1E4: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/an-object.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},fDrP: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.splice.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/to-absolute-index */"bIKR"),o=n(/*! ../internals/to-integer */"m0kY"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/to-object */"cTDu"),u=n(/*! ../internals/array-species-create */"nMuc"),s=n(/*! ../internals/create-property */"arQb"),l=n(/*! ../internals/array-method-has-species-support */"jMDO"),p=n(/*! ../internals/array-method-uses-to-length */"kGMc"),f=l("splice"),d=p("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!f||!d},{splice:function(e,t){var n,r,l,p,f,d,b=c(this),y=i(b.length),v=a(e,y),g=arguments.length;if(0===g?n=r=0:1===g?(n=0,r=y-v):(n=g-2,r=m(h(o(t),0),y-v)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(b,r),p=0;py-r+n;p--)delete b[p-1]}else if(n>r)for(p=y-r;p>v;p--)d=p+n-1,(f=p+r-1)in b?b[d]=b[f]:delete b[d];for(p=0;p1?arguments[1]:void 0)}}),o("includes")},fIMf: +/*!*******************************************!*\ + !*** ./src/models/virtualSpaces/index.ts ***! + \*******************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/virtualSpaces */"m47v"),c={namespace:"virtualSpaces",state:{showMenu:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[]},effects:{setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),setShowMenu:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showMenu:r}});case 4:case"end":return e.stop()}}),e)})),getVirtualSpacesDetails:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.c,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{virtualSpacesDetails:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getVirtualSpacesMenus:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.d,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{menus:u}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=c},fL0r: +/*!***************************************!*\ + !*** ./node_modules/intl/lib/core.js ***! + \***************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";(function(t){var n,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,r,a){var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&o)for(var c in o)void 0===t[c]&&(t[c]=o[c]);else t||(t=o||{});if(1===i)t.children=a;else if(i>1){for(var u=Array(i),s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},possibleConstructorReturn:function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},selfGlobal:u,set:function e(t,n,r,a){var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);null!==i&&e(i,n,r,a)}else if("value"in o&&o.writable)o.value=r;else{var c=o.set;void 0!==c&&c.call(a,r)}return r},slicedToArray:s,slicedToArrayLoose:function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],a=e[Symbol.iterator]();!(n=a.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},taggedTemplateLiteral:function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},taggedTemplateLiteralLoose:function(e,t){return e.raw=t,e},temporalRef:function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},temporalUndefined:{},toArray:function(e){return Array.isArray(e)?e:Array.from(e)},toConsumableArray:function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t="a"&&n<="z"&&(e=e.slice(0,t)+n.toUpperCase()+e.slice(t+1))}return e}function V(e){return!!L.test(e)&&(!D.test(e)&&!R.test(e))}function q(e){for(var t=void 0,n=void 0,r=1,a=(n=(e=e.toLowerCase()).split("-")).length;r1&&(t.sort(),e=e.replace(RegExp("(?:"+N.source+")+","i"),_.call(t,""))),d.call(U.tags,e)&&(e=U.tags[e]);for(var o=1,i=(n=e.split("-")).length;o-1)return n;var r=n.lastIndexOf("-");if(r<0)return;r>=2&&"-"===n.charAt(r-2)&&(r-=2),n=n.substring(0,r)}}function Y(e,t){for(var n=0,r=t.length,a=void 0,o=void 0,i=void 0;n2){var w=c[x+1];-1!==_.call(y,w)&&(g="-"+b+"-"+(v=w))}else{-1!==_(y,"true")&&(v="true")}}if(d.call(n,"[["+b+"]]")){var j=n["[["+b+"]]"];-1!==_.call(y,j)&&j!==v&&(v=j,g="")}l["[["+b+"]]"]=v,p+=g,f++}if(p.length>2){var O=i.indexOf("-x-");if(-1===O)i+=p;else{var E=i.substring(0,O),S=i.substring(O);i=E+p+S}i=q(i)}return l["[[locale]]"]=i,l}function Q(e,t){for(var n=t.length,r=new E,a=0;ar)throw new RangeError("Value is not a number or outside accepted range");return Math.floor(o)}return a}var $={};Object.defineProperty($,"getCanonicalLocales",{enumerable:!1,configurable:!0,writable:!0,value:function(e){for(var t=H(e),n=[],r=t.length,a=0;ao;o++){var i=n[o],c={};c.type=i["[[type]]"],c.value=i["[[value]]"],r[a]=c,a+=1}return r}function oe(e,t){var n=A(e),r=n["[[dataLocale]]"],a=n["[[numberingSystem]]"],o=j.NumberFormat["[[localeData]]"][r],i=o.symbols[a]||o.symbols.latn,c=void 0;!isNaN(t)&&t<0?(t=-t,c=n["[[negativePattern]]"]):c=n["[[positivePattern]]"];for(var u=new E,s=c.indexOf("{",0),l=0,p=0,f=c.length;s>-1&&sp){var h=c.substring(p,s);g.call(u,{"[[type]]":"literal","[[value]]":h})}var m=c.substring(s+1,l);if("number"===m)if(isNaN(t)){var b=i.nan;g.call(u,{"[[type]]":"nan","[[value]]":b})}else if(isFinite(t)){"percent"===n["[[style]]"]&&isFinite(t)&&(t*=100);var y=void 0;y=d.call(n,"[[minimumSignificantDigits]]")&&d.call(n,"[[maximumSignificantDigits]]")?ce(t,n["[[minimumSignificantDigits]]"],n["[[maximumSignificantDigits]]"]):ue(t,n["[[minimumIntegerDigits]]"],n["[[minimumFractionDigits]]"],n["[[maximumFractionDigits]]"]),se[a]?function(){var e=se[a];y=String(y).replace(/\d/g,(function(t){return e[t]}))}():y=String(y);var v=void 0,_=void 0,w=y.indexOf(".",0);if(w>0?(v=y.substring(0,w),_=y.substring(w+1,w.length)):(v=y,_=void 0),!0===n["[[useGrouping]]"]){var O=i.group,k=[],S=o.patterns.primaryGroupSize||3,P=o.patterns.secondaryGroupSize||S;if(v.length>S){var C=v.length-S,T=C%P,I=v.slice(0,T);for(I.length&&g.call(k,I);Ta;a++){r+=n[a]["[[value]]"]}return r}function ce(e,t,n){var r=n,a=void 0,o=void 0;if(0===e)a=_.call(Array(r+1),"0"),o=0;else{o=function(e){if("function"==typeof Math.log10)return Math.floor(Math.log10(e));var t=Math.round(Math.log(e)*Math.LOG10E);return t-(Number("1e"+t)>e)}(Math.abs(e));var i=Math.round(Math.exp(Math.abs(o-r+1)*Math.LN10));a=String(Math.round(o-r+1<0?e*i:e/i))}if(o>=r)return a+_.call(Array(o-r+1+1),"0");if(o===r-1)return a;if(o>=0?a=a.slice(0,o+1)+"."+a.slice(o+1):o<0&&(a="0."+_.call(Array(1-(o+1)),"0")+a),a.indexOf(".")>=0&&n>t){for(var c=n-t;c>0&&"0"===a.charAt(a.length-1);)a=a.slice(0,-1),c--;"."===a.charAt(a.length-1)&&(a=a.slice(0,-1))}return a}function ue(e,t,n,r){var a,o=r,i=Math.pow(10,o)*e,c=0===i?"0":i.toFixed(0),u=(a=c.indexOf("e"))>-1?c.slice(a+1):0;u&&(c=c.slice(0,a).replace(".",""),c+=_.call(Array(u-(c.length-1)+1),"0"));var s=void 0;if(0!==o){var l=c.length;if(l<=o)c=_.call(Array(o+1-l+1),"0")+c,l=o+1;var p=c.substring(0,l-o),f=c.substring(l-o,c.length);c=p+"."+f,s=p.length}else s=c.length;for(var d=r-n;d>0&&"0"===c.slice(-1);)c=c.slice(0,-1),d--;("."===c.slice(-1)&&(c=c.slice(0,-1)),sn&&(n=c,r=i),a++}return r}(c,w);else{var P=X(n,"hour12","boolean");c.hour12=void 0===P?x.hour12:P,_=function(e,t){var n=[];for(var r in Ee)d.call(Ee,r)&&void 0!==e["[["+r+"]]"]&&n.push(r);if(1===n.length){var a=function(e,t){var n;if(xe[e]&&xe[e][t])return n={originalPattern:xe[e][t],_:i({},e,t),extendedPattern:"{"+e+"}"},i(n,e,t),i(n,"pattern12","{"+e+"}"),i(n,"pattern","{"+e+"}"),n}(n[0],e["[["+n[0]+"]]"]);if(a)return a}var o=-1/0,c=void 0,u=0,s=t.length;for(;u=2||_>=2&&g<=1?x>0?p-=6:x<0&&(p-=8):x>1?p-=3:x<-1&&(p-=6)}}l._.hour12!==e.hour12&&(p-=1),p>o&&(o=p,c=l),u++}return c}(c,w)}for(var C in Ee)if(d.call(Ee,C)&&d.call(_,C)){var T=_[C];T=_._&&d.call(_._,C)?_._[C]:T,r["[["+C+"]]"]=T}var I=void 0,M=X(n,"hour12","boolean");if(r["[[hour]]"])if(M=void 0===M?x.hour12:M,r["[[hour12]]"]=M,!0===M){var L=x.hourNo0;r["[[hourNo0]]"]=L,I=_.pattern12}else I=_.pattern;else I=_.pattern;return r["[[pattern]]"]=I,r["[[boundFormat]]"]=void 0,r["[[initializedDateTimeFormat]]"]=!0,f&&(e.format=Pe.call(e)),a(),e}h($,"DateTimeFormat",{configurable:!0,writable:!0,value:Oe}),h(Oe,"prototype",{writable:!1});var Ee={weekday:["narrow","short","long"],era:["narrow","short","long"],year:["2-digit","numeric"],month:["2-digit","numeric","narrow","short","long"],day:["2-digit","numeric"],hour:["2-digit","numeric"],minute:["2-digit","numeric"],second:["2-digit","numeric"],timeZoneName:["short","long"]};function Se(e,t,n){if(void 0===e)e=null;else{var r=P(e);for(var a in e=new k,r)e[a]=r[a]}e=b(e);var o=!0;return"date"!==t&&"any"!==t||void 0===e.weekday&&void 0===e.year&&void 0===e.month&&void 0===e.day||(o=!1),"time"!==t&&"any"!==t||void 0===e.hour&&void 0===e.minute&&void 0===e.second||(o=!1),!o||"date"!==n&&"all"!==n||(e.year=e.month=e.day="numeric"),!o||"time"!==n&&"all"!==n||(e.hour=e.minute=e.second="numeric"),e}function Pe(){var e=null!==this&&"object"===l.typeof(this)&&A(this);if(!e||!e["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for format() is not an initialized Intl.DateTimeFormat object.");if(void 0===e["[[boundFormat]]"]){var t=w.call((function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=void 0===e?Date.now():C(e);return Te(this,t)}),this);e["[[boundFormat]]"]=t}return e["[[boundFormat]]"]}function Ce(e,t){if(!isFinite(t))throw new RangeError("Invalid valid date passed to format");var n=e.__getInternalProperties(O);S();for(var r,a,o,i,c=n["[[locale]]"],u=new $.NumberFormat([c],{useGrouping:!1}),s=new $.NumberFormat([c],{minimumIntegerDigits:2,useGrouping:!1}),l=(r=t,n["[[calendar]]"],a=n["[[timeZone]]"],new k({"[[weekday]]":(o=new Date(r))[(i="get"+(a||""))+"Day"](),"[[era]]":+(o[i+"FullYear"]()>=0),"[[year]]":o[i+"FullYear"](),"[[month]]":o[i+"Month"](),"[[day]]":o[i+"Date"](),"[[hour]]":o[i+"Hours"](),"[[minute]]":o[i+"Minutes"](),"[[second]]":o[i+"Seconds"](),"[[inDST]]":!1})),p=n["[[pattern]]"],f=new E,d=0,h=p.indexOf("{"),m=0,b=n["[[dataLocale]]"],y=j.DateTimeFormat["[[localeData]]"][b].calendars,v=n["[[calendar]]"];-1!==h;){var _=void 0;if(-1===(m=p.indexOf("}",h)))throw new Error("Unclosed pattern");h>d&&g.call(f,{type:"literal",value:p.substring(d,h)});var x=p.substring(h+1,m);if(Ee.hasOwnProperty(x)){var w=n["[["+x+"]]"],P=l["[["+x+"]]"];if("year"===x&&P<=0?P=1-P:"month"===x?P++:"hour"===x&&!0===n["[[hour12]]"]&&0===(P%=12)&&!0===n["[[hourNo0]]"]&&(P=12),"numeric"===w)_=ie(u,P);else if("2-digit"===w)(_=ie(s,P)).length>2&&(_=_.slice(-2));else if(w in we)switch(x){case"month":_=je(y,v,"months",w,l["[["+x+"]]"]);break;case"weekday":try{_=je(y,v,"days",w,l["[["+x+"]]"])}catch(e){throw new Error("Could not find weekday data for locale "+c)}break;case"timeZoneName":_="";break;case"era":try{_=je(y,v,"eras",w,l["[["+x+"]]"])}catch(e){throw new Error("Could not find era data for locale "+c)}break;default:_=l["[["+x+"]]"]}g.call(f,{type:x,value:_})}else if("ampm"===x){_=je(y,v,"dayPeriods",l["[[hour]]"]>11?"pm":"am",null),g.call(f,{type:"dayPeriod",value:_})}else g.call(f,{type:"literal",value:p.substring(h,m+1)});d=m+1,h=p.indexOf("{",d)}return ma;a++){r+=n[a].value}return r}function Ae(e,t){for(var n=Ce(e,t),r=[],a=0;n.length>a;a++){var o=n[a];r.push({type:o.type,value:o.value})}return r}j.DateTimeFormat={"[[availableLocales]]":[],"[[relevantExtensionKeys]]":["ca","nu"],"[[localeData]]":{}},h($.DateTimeFormat,"supportedLocalesOf",{configurable:!0,writable:!0,value:w.call((function(e){if(!d.call(this,"[[availableLocales]]"))throw new TypeError("supportedLocalesOf() is not a constructor");var t=S(),n=arguments[1],r=this["[[availableLocales]]"],a=H(e);return t(),J(r,a,n)}),j.NumberFormat)}),h($.DateTimeFormat.prototype,"format",{configurable:!0,get:Pe}),Object.defineProperty($.DateTimeFormat.prototype,"formatToParts",{enumerable:!1,writable:!0,configurable:!0,value:function(){var e=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0],t=null!==this&&"object"===l.typeof(this)&&A(this);if(!t||!t["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for formatToParts() is not an initialized Intl.DateTimeFormat object.");var n=void 0===e?Date.now():C(e);return Ae(this,n)}}),h($.DateTimeFormat.prototype,"resolvedOptions",{writable:!0,configurable:!0,value:function(){var e=void 0,t=new k,n=["locale","calendar","numberingSystem","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"],r=null!==this&&"object"===l.typeof(this)&&A(this);if(!r||!r["[[initializedDateTimeFormat]]"])throw new TypeError("`this` value for resolvedOptions() is not an initialized Intl.DateTimeFormat object.");for(var a=0,o=n.length;a2&&4===a[1].length&&g.call(r,a[0]+"-"+a[2]);for(;n=x.call(r);)g.call(j.NumberFormat["[[availableLocales]]"],n),j.NumberFormat["[[localeData]]"][n]=e.number,e.date&&(e.date.nu=e.number.nu,g.call(j.DateTimeFormat["[[availableLocales]]"],n),j.DateTimeFormat["[[localeData]]"][n]=e.date);void 0===F&&function(e){F=e}(t)}(e,e.locale)}}),h($,"__disableRegExpRestore",{value:function(){j.disableRegExpRestore=!0}}),e.exports=$}).call(this,n(/*! ./../../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},fQri: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.add-all.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/collection-add-all */"Z+8a");r({target:"Set",proto:!0,real:!0,forced:a},{addAll:function(){return o.apply(this,arguments)}})},fWQN: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! + \********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},fZJM: +/*!******************************************!*\ + !*** ./node_modules/hash.js/lib/hash.js ***! + \******************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=t;r.utils=n(/*! ./hash/utils */"w8CP"),r.common=n(/*! ./hash/common */"7ckf"),r.sha=n(/*! ./hash/sha */"WRkp"),r.ripemd=n(/*! ./hash/ripemd */"u0Sq"),r.hmac=n(/*! ./hash/hmac */"ITfd"),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},foSv: +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},"g+eg": +/*!****************************************!*\ + !*** ./src/pages/Engineering/util.tsx ***! + \****************************************/ +/*! exports provided: verifyModal, localSelect */ +/*! exports used: localSelect, verifyModal */function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));n(/*! antd/es/modal/style */"2qtc");var r=n(/*! antd/es/modal */"kLXV"),a=n(/*! @/utils/authority */"xKgJ"),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";r.a.confirm({centered:!0,width:520,okText:"确定",cancelText:"取消",title:"提示",content:t,onOk:e})},i={setItem:function(e,t){var n,r=e+"-engineering"+(null===(n=Object(a.x)())||void 0===n?void 0:n.school_id),o=JSON.stringify(t);localStorage.setItem(r,o)},getItem:function(e){var t,n=e+"-engineering"+(null===(t=Object(a.x)())||void 0===t?void 0:t.school_id),r=localStorage.getItem(n);return null!==r&&"[object Object]"!==r?JSON.parse(r):[]},clear:function(e){var t,n=e+"-engineering"+(null===(t=Object(a.x)())||void 0===t?void 0:t.school_id);localStorage.removeItem(n)}}},g1ZG: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-set-prototype-of.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/an-object */"f1E4"),a=n(/*! ../internals/a-possible-prototype */"JS3A");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},g8rt: +/*!******************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-get-own-property-descriptor.js ***! + \******************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/object-property-is-enumerable */"e3V2"),o=n(/*! ../internals/create-property-descriptor */"HhvW"),i=n(/*! ../internals/to-indexed-object */"0qr0"),c=n(/*! ../internals/to-primitive */"gFfw"),u=n(/*! ../internals/has */"jtLI"),s=n(/*! ../internals/ie8-dom-define */"/yC2"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=i(e),t=c(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!a.f.call(e,t),e[t])}},gFfw: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/to-primitive.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-object */"tSXo");e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},gVIt: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.copy-within.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-copy-within */"AmH5"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return a.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},ggIM: +/*!****************************************!*\ + !*** ./src/models/classrooms/video.ts ***! + \****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/video */"qdXH"),c={namespace:"video",state:{name:"资源",loading:!0,actionTabs:{},videoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{getVideoStatisticsList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.k,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{videoStatisticsList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getVideoPeopleStatics:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.i,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{videoPeopleStatics:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getVideoDurationStatics:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.f,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{videoDurationStatics:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getVideoStatistics:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.j,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{videoStatistics:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getOneVideoStatisticsList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.b,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{oneVideoStatisticsList:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),getStudentVideoStatisticsList:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,c=n.call,u=n.put,e.next=4,c(i.d,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{StudentvideoStatistics:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},gweS: +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.uint16-array.js ***! + \*********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/typed-array-constructor */"Mi8B")("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"h+Ho": +/*!*******************************!*\ + !*** ./src/service/forums.ts ***! + \*******************************/ +/*! exports provided: getForumSections, getForumsData, changeTopOrDown, changeIsFine, changeWatchMemo, deleteMemosForum, confirmDelete, getForumMemosHead, saveCollectionTheme, getForumMemosList, getForumMemosRight, saveForumSections, getForumMemosDetail, getRelatedMemos, memosPriseForums, getTargetMoreReply, addMemoReply, deleteMemoReply, getUserInfo, uploadAvatar, saveEditBrief, getMyMemos, getSelectSections, getMyInterested, forumSectionIsWatch, getForumsShixunData, stickyOrCancel, deleteForums, getForumsNewData, getForumsEditData, newForums, updateForums, getForumsDetailData, watch, cancelWatch, rewardCode, like, reply, getMoreReply, changeUserCommentAuth */ +/*! exports used: addMemoReply, changeIsFine, changeTopOrDown, changeUserCommentAuth, changeWatchMemo, confirmDelete, deleteMemoReply, deleteMemosForum, forumSectionIsWatch, getForumMemosDetail, getForumMemosHead, getForumMemosList, getForumMemosRight, getForumSections, getForumsData, getForumsDetailData, getMyInterested, getMyMemos, getRelatedMemos, getSelectSections, getTargetMoreReply, getUserInfo, memosPriseForums, saveCollectionTheme, saveEditBrief, saveForumSections, uploadAvatar */function(e,t,n){"use strict";n.d(t,"n",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"c",(function(){return p})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return m})),n.d(t,"h",(function(){return y})),n.d(t,"f",(function(){return g})),n.d(t,"k",(function(){return x})),n.d(t,"x",(function(){return j})),n.d(t,"l",(function(){return k})),n.d(t,"m",(function(){return S})),n.d(t,"z",(function(){return C})),n.d(t,"j",(function(){return A})),n.d(t,"s",(function(){return M})),n.d(t,"w",(function(){return D})),n.d(t,"u",(function(){return N})),n.d(t,"a",(function(){return U})),n.d(t,"g",(function(){return V})),n.d(t,"v",(function(){return B})),n.d(t,"A",(function(){return H})),n.d(t,"y",(function(){return Y})),n.d(t,"r",(function(){return Q})),n.d(t,"t",(function(){return X})),n.d(t,"q",(function(){return $})),n.d(t,"i",(function(){return te})),n.d(t,"p",(function(){return re})),n.d(t,"d",(function(){return oe}));n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw");var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/utils/fetch */"ErOA");function c(e){return u.apply(this,arguments)}function u(){return(u=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/forum_sections.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,"/set_top_or_down.json"),{method:"get",params:{sticky:t.sticky}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,"/is_fine.json"),{method:"post",body:{is_fine:t.is_fine}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return b.apply(this,arguments)}function b(){return(b=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,"/watch_memo.json"),{method:"post",body:{is_watch:t.is_watch}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return v.apply(this,arguments)}function v(){return(v=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return _.apply(this,arguments)}function _(){return(_=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,"/confirm_delete.json"),{method:"post",body:{is_apply:t.is_apply}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return w.apply(this,arguments)}function w(){return(w=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/forum_memos_head/".concat(t,".json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return O.apply(this,arguments)}function O(){return(O=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/forum_memos/".concat(t.id,"/is_watch.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return E.apply(this,arguments)}function E(){return(E=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/forum_memos/".concat(t.id,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return P.apply(this,arguments)}function P(){return(P=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/forum_memos_right/".concat(t,".json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e){return T.apply(this,arguments)}function T(){return(T=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/forum_sections/".concat(t.plateId,"/edit_notice.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e){return I.apply(this,arguments)}function I(){return(I=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.memo_id,".json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(e){return L.apply(this,arguments)}function L(){return(L=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.memo_id,"/related_memos.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(e){return R.apply(this,arguments)}function R(){return(R=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,"/plus.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(e){return F.apply(this,arguments)}function F(){return(F=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/".concat(t.target_type,"/").concat(t.target_id,"/more_reply.json"),{method:"get",params:{page:t.page,limit:t.limit}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function U(e){return z.apply(this,arguments)}function z(){return(z=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.parent_id,"/reply.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function V(e){return q.apply(this,arguments)}function q(){return(q=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(e){return W.apply(this,arguments)}function W(){return(W=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/users/".concat(t,"/user_info.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function H(e){return G.apply(this,arguments)}function G(){return(G=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/upload_avatar.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y(e){return K.apply(this,arguments)}function K(){return(K=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/users/".concat(t.login,"/edit_brief.json"),{method:"post",body:{content:t.content}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Q(e){return J.apply(this,arguments)}function J(){return(J=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/my_memos/".concat(t.user_login,"/memos.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function X(){return Z.apply(this,arguments)}function Z(){return(Z=Object(r.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/forum_sections/select_sections.json",{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $(e){return ee.apply(this,arguments)}function ee(){return(ee=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/my_memos/".concat(t.user_login,"/my_interested.json"),{method:"get",params:{limit:t.limit,page:t.page}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function te(e){return ne.apply(this,arguments)}function ne(){return(ne=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/forum_memos/".concat(t.id,"/is_watch.json"),{method:"post",body:{is_watch:t.is_watch}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function re(e){return ae.apply(this,arguments)}function ae(){return(ae=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t.id,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(e,t){return ie.apply(this,arguments)}function ie(){return(ie=Object(r.a)(o.a.mark((function e(t,n){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/memos/".concat(t,"/banned_user.json"),{method:"post",body:n}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},h0XC: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/nonIterableRest.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},hD9M: +/*!***************************************!*\ + !*** ./src/service/onlineLearning.ts ***! + \***************************************/ +/*! exports provided: getOnlineLearning, updateStage, addStage, satgeAddShixunToStage, selectShixunToStage, addVideoToStage, addCoursewareToStage, addShixunToStage, upPosition, downPosition, deleteStage, stagesMovePosition, deleteStages */ +/*! exports used: addCoursewareToStage, addStage, addVideoToStage, deleteStage, deleteStages, downPosition, getOnlineLearning, satgeAddShixunToStage, selectShixunToStage, stagesMovePosition, upPosition, updateStage */function(e,t,n){"use strict";n.d(t,"g",(function(){return u})),n.d(t,"l",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"a",(function(){return _})),n.d(t,"k",(function(){return w})),n.d(t,"f",(function(){return O})),n.d(t,"d",(function(){return E})),n.d(t,"j",(function(){return P})),n.d(t,"e",(function(){return T}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/online_learning.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,".json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/course_stages.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/add_shixun_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/select_shixun_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/add_video_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/add_attachment_to_stage.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/up_position.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,"/down_position.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.stage_id,"/items/move_position.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_stages/".concat(t.stage_id,"/items/").concat(t.id),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},hJwl: +/*!*************************************!*\ + !*** ./src/service/competitions.ts ***! + \*************************************/ +/*! exports provided: getCompetitionsList, addApplytojoincourse, competitionTeams, getStaff, getHeader, getItem, updateMdContent, getTeamList, getTeamDetail, UpTeam, ExitTeam, DeleteTeam, AddTeam, JoinTeam, getTeacher, getStudents, SubmitTeam, Reward, ChartRules, Charts, Results, TabResults, Prize, Accounts, getVerification, PhoneBind, EmailBind, Professional, Authentication, setleader, getShixun, getCourse, deletAttachments, getCertificateInfo */ +/*! exports used: Accounts, AddTeam, Authentication, ChartRules, Charts, DeleteTeam, EmailBind, ExitTeam, JoinTeam, PhoneBind, Prize, Professional, Results, Reward, SubmitTeam, TabResults, UpTeam, addApplytojoincourse, competitionTeams, deletAttachments, getCertificateInfo, getCompetitionsList, getCourse, getHeader, getItem, getShixun, getStaff, getStudents, getTeacher, getTeamDetail, getTeamList, getVerification, setleader, updateMdContent */function(e,t,n){"use strict";n.d(t,"v",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return f})),n.d(t,"A",(function(){return h})),n.d(t,"x",(function(){return b})),n.d(t,"y",(function(){return v})),n.d(t,"H",(function(){return _})),n.d(t,"E",(function(){return w})),n.d(t,"D",(function(){return O})),n.d(t,"q",(function(){return E})),n.d(t,"h",(function(){return P})),n.d(t,"f",(function(){return T})),n.d(t,"b",(function(){return I})),n.d(t,"i",(function(){return L})),n.d(t,"C",(function(){return R})),n.d(t,"B",(function(){return F})),n.d(t,"o",(function(){return z})),n.d(t,"n",(function(){return q})),n.d(t,"d",(function(){return W})),n.d(t,"e",(function(){return G})),n.d(t,"m",(function(){return K})),n.d(t,"p",(function(){return J})),n.d(t,"k",(function(){return Z})),n.d(t,"a",(function(){return ee})),n.d(t,"F",(function(){return ne})),n.d(t,"j",(function(){return ae})),n.d(t,"g",(function(){return ie})),n.d(t,"l",(function(){return ue})),n.d(t,"c",(function(){return le})),n.d(t,"G",(function(){return fe})),n.d(t,"z",(function(){return he})),n.d(t,"w",(function(){return be})),n.d(t,"t",(function(){return ve})),n.d(t,"u",(function(){return _e}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions.json",{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/apply_to_join_course.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_staff.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/common_header.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/".concat(t.url),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/update_md_content.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.Teannameid,"/edit.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.Teannameid,".json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.id,"/leave.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/join.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/teachers.json?"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/students.json?"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.teamid,"/crud_team_members.json?"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/competition_reward.json?",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e){return H.apply(this,arguments)}function H(){return(H=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/chart_rules.json?"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/charts.json?"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return Q.apply(this,arguments)}function Q(){return(Q=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/results.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){return X.apply(this,arguments)}function X(){return(X=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/md_tab_rules.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return $.apply(this,arguments)}function $(){return($=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/prize.json?"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){return te.apply(this,arguments)}function te(){return(te=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/accounts/".concat(t.id,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(e){return re.apply(this,arguments)}function re(){return(re=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/accounts/get_verification_code.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(e){return oe.apply(this,arguments)}function oe(){return(oe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/accounts/".concat(t.userid,"/phone_bind.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e){return ce.apply(this,arguments)}function ce(){return(ce=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/accounts/".concat(t.userid,"/email_bind.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(e){return se.apply(this,arguments)}function se(){return(se=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/accounts/".concat(t.userid,"/professional_auth_apply.json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(e){return pe.apply(this,arguments)}function pe(){return(pe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/accounts/".concat(t.userid,"/authentication_apply.json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(e){return de.apply(this,arguments)}function de(){return(de=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/prize_leader_account.json"),{method:"patch",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function he(e){return me.apply(this,arguments)}function me(){return(me=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.teamid,"/shixun_detail.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function be(e){return ye.apply(this,arguments)}function ye(){return(ye=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.identifier,"/competition_teams/").concat(t.teamid,"/course_detail.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(e){return ge.apply(this,arguments)}function ge(){return(ge=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/attachments/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(e){return xe.apply(this,arguments)}function xe(){return(xe=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/competitions/".concat(t.id,"/get_certificate_info.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},hKmx: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/flatten-into-array.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/is-array */"Un+d"),a=n(/*! ../internals/to-length */"oa35"),o=n(/*! ../internals/function-bind-context */"7BAe"),i=function(e,t,n,c,u,s,l,p){for(var f,d=u,h=0,m=!!l&&o(l,p,3);h0&&r(f))d=i(e,t,f,a(f.length),d,s-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=f}d++}h++}return d};e.exports=i},"hOG+": +/*!*****************************!*\ + !*** (webpack)/4/module.js ***! + \*****************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){(function(t){e.exports=function(){var e={311:function(e){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}},n={};function r(t){if(n[t])return n[t].exports;var a=n[t]={exports:{}},o=!0;try{e[t](a,a.exports,r),o=!1}finally{o&&delete n[t]}return a.exports}return r.ab=t+"/",r(311)}()}).call(this,"/")},hRxt: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/engine-v8-version.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,a,o=n(/*! ../internals/global */"ukPv"),i=n(/*! ../internals/engine-user-agent */"Qlla"),c=o.process,u=c&&c.versions,s=u&&u.v8;s?a=(r=s.split("."))[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},hYqy: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.math.degrees.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=180/Math.PI;r({target:"Math",stat:!0},{degrees:function(e){return e*a}})},haHa: +/*!*********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.is-disjoint-from.js ***! + \*********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/a-function */"cT1L"),c=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{isDisjointFrom:function(e){var t=o(this),n=i(t.has);return!c(e,(function(e){if(!0===n.call(t,e))return c.stop()})).stopped}})},hh8c: +/*!*************************!*\ + !*** ./src/global.less ***! + \*************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},hilM: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.slice.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-object */"tSXo"),o=n(/*! ../internals/is-array */"Un+d"),i=n(/*! ../internals/to-absolute-index */"bIKR"),c=n(/*! ../internals/to-length */"oa35"),u=n(/*! ../internals/to-indexed-object */"0qr0"),s=n(/*! ../internals/create-property */"arQb"),l=n(/*! ../internals/well-known-symbol */"2kyd"),p=n(/*! ../internals/array-method-has-species-support */"jMDO"),f=n(/*! ../internals/array-method-uses-to-length */"kGMc"),d=p("slice"),h=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),b=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!d||!h},{slice:function(e,t){var n,r,l,p=u(this),f=c(p.length),d=i(e,f),h=i(void 0===t?f:t,f);if(o(p)&&("function"!=typeof(n=p.constructor)||n!==Array&&!o(n.prototype)?a(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return b.call(p,d,h);for(r=new(void 0===n?Array:n)(y(h-d,0)),l=0;d1?arguments[1]:void 0,3);return!u(n,(function(e){if(!r(e,e,t))return u.stop()}),void 0,!1,!0).stopped}})},"iUp/": +/*!************************************!*\ + !*** ./src/models/video/detail.ts ***! + \************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray */"oBTY"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/service/video */"qdXH"),u=n(/*! @/service/paths */"Mgx3"),s=n(/*! @/service/onlineLearning */"hD9M"),l=function(){var e,t,n,r,a,o=window.location.href.split("/");if(o.includes("video")){var i=null===(e=o[o.length-1])||void 0===e?void 0:e.split("?")[0];i=Number(i);var c=null===(t=o[o.length-1])||void 0===t||null===(n=t.split("?")[1])||void 0===n?void 0:n.split("=")[1];return"subject_id"===(null===(r=o[o.length-1])||void 0===r||null===(a=r.split("?")[1])||void 0===a?void 0:a.split("=")[0])?{videoId:i,subject_id:c}:{videoId:i,course_id:c}}},p={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:l(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{getVideoDetail:i.a.mark((function e(t,n){var r,o,u,s,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,o=t.callback,u=n.call,s=n.put,e.next=4,u(c.e,r);case 4:if(l=e.sent,!o){e.next=9;break}o(l),e.next=11;break;case 9:return e.next=11,s({type:"save",payload:{detail:Object(a.a)({},l)}});case 11:case"end":return e.stop()}}),e)})),setActionTabs:i.a.mark((function e(t,n){var r,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,o=n.put,e.next=4,o({type:"save",payload:{actionTabs:Object(a.a)({},r)}});case 4:case"end":return e.stop()}}),e)})),setSelectValue:i.a.mark((function e(t,n){var r,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,o=n.put,e.next=4,o({type:"save",payload:{selectParams:Object(a.a)({},r)}});case 4:case"end":return e.stop()}}),e)})),handleList:i.a.mark((function e(t,n){var o,c,u,s,p,f,d,h;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.payload,c=n.put,u=n.select,console.log("select;",u),e.next=5,u((function(e){return e.videoDetail}));case 5:return s=e.sent,p=s.videoList,f=s.attachmentList,d=o.videoId||o.attachmentId,h=[].concat(Object(r.a)(p),Object(r.a)(f)).find((function(e){return String(e.id)===String(d)})),console.log(h,l(),222),e.next=13,c({type:"save",payload:{active:h,queryParams:Object(a.a)(Object(a.a)({},l()),o)}});case 13:case"end":return e.stop()}}),e)})),getStageData:i.a.mark((function e(t,n){var r,a,o,s,l,p,f,d,h,m,b,y,v;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,o=n.put,s=n.select,e.next=4,a(c.c,r);case 4:return l=e.sent,e.next=7,a(u.D,{id:r.subject_id});case 7:return p=e.sent,e.next=10,s((function(e){return e.videoDetail}));case 10:return f=e.sent,d=f.queryParams,h=l.stages,b=[],y=[],v={},null==(m=void 0===h?[]:h)||m.forEach((function(e){e.items.forEach((function(e){String(e.id)===String(d.videoId)&&(v=e),"VideoItem"===e.item_type?b.push(e):"Attachment"===e.item_type&&y.push(e),e.children&&e.children.length&&e.children.forEach((function(e){String(e.id)===String(d.videoId)&&(v=e),"VideoItem"===e.item_type?b.push(e):"Attachment"===e.item_type&&y.push(e)}))}))})),window.filterVideoSign=[].concat(b),e.next=20,o({type:"save",payload:{stages:m,active:v,cust_seq:p.cust_seq,videoList:b,attachmentList:y}});case 20:case"end":return e.stop()}}),e)})),getCourseStageData:i.a.mark((function e(t,n){var r,a,o,c,u,l,p,f,d,h,m;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,o=n.put,c=n.select,e.next=4,a(s.g,r);case 4:return u=e.sent,e.next=7,c((function(e){return e.videoDetail}));case 7:return l=e.sent,p=l.queryParams,f=u.stages,d=[],h=[],m={},null==f||f.forEach((function(e){e.items.forEach((function(e){String(e.id)===String(p.videoId)&&(m=e),"VideoItem"===e.item_type?d.push(e):"Attachment"===e.item_type&&h.push(e),e.children&&e.children.length&&e.children.forEach((function(e){String(e.id)===String(p.videoId)&&(m=e),"VideoItem"===e.item_type?d.push(e):"Attachment"===e.item_type&&h.push(e)}))}))})),window.filterVideoSign=[].concat(d),e.next=17,o({type:"save",payload:{active:m,stages:f,cust_seq:!0,videoList:d,attachmentList:h}});case 17:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(a.a)(Object(a.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=p},igoe: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/an-instance.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},izsi: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.parse-float.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/number-parse-float */"rn5R");r({target:"Number",stat:!0,forced:Number.parseFloat!=a},{parseFloat:a})},jGFG: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.slice.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/species-constructor */"/dTS"),o=n(/*! ../internals/fails */"MVys"),i=r.aTypedArray,c=r.aTypedArrayConstructor,u=r.exportTypedArrayMethod,s=[].slice;u("slice",(function(e,t){for(var n=s.call(i(this),e,t),r=a(this,this.constructor),o=0,u=n.length,l=new(c(r))(u);u>o;)l[o]=n[o++];return l}),o((function(){new Int8Array(1).slice()})))},jHRr: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.find.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/an-object */"f1E4"),i=n(/*! ../internals/function-bind-context */"7BAe"),c=n(/*! ../internals/get-map-iterator */"PPXv"),u=n(/*! ../internals/iterate */"IuhT");r({target:"Map",proto:!0,real:!0,forced:a},{find:function(e){var t=o(this),n=c(t),r=i(e,arguments.length>1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop(n)}),void 0,!0,!0).result}})},jIZW: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.map.delete-all.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/collection-delete-all */"+X1D");r({target:"Map",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},jMDO: +/*!****************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/array-method-has-species-support.js ***! + \****************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/fails */"MVys"),a=n(/*! ../internals/well-known-symbol */"2kyd"),o=n(/*! ../internals/engine-v8-version */"hRxt"),i=a("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"jb+D": +/*!*****************************!*\ + !*** ./src/service/user.ts ***! + \*****************************/ +/*! exports provided: LoginIn, LoginOut, getUserInfo, getNavigationInfo, getSystemUpdate, getHomepageInfo, signed, getCourses, getShixuns, getPaths, getProjects, getVideos, getReviewVideos, deleteVideo, logWatchHistory, getQuestionBanks, topicsSetPublic, topicsDelete, topicGetCourseList, topicSendToClass, getHomeworkBanksDetail, deleteQuestionBanks, batchPublish, cancelShixun, getEngineerUrl, postUserChoiceLearnPath, getUserPersona, getUserLearnPath, validateName, getValidateCode, register, wechatRegister, changPassword, resetPassword, LoginForPhone */ +/*! exports used: LoginForPhone, LoginIn, LoginOut, batchPublish, cancelShixun, changPassword, deleteQuestionBanks, deleteVideo, getCourses, getHomepageInfo, getHomeworkBanksDetail, getNavigationInfo, getPaths, getProjects, getQuestionBanks, getReviewVideos, getShixuns, getSystemUpdate, getUserInfo, getUserLearnPath, getUserPersona, getValidateCode, getVideos, logWatchHistory, register, resetPassword, signed, topicGetCourseList, topicSendToClass, topicsDelete, topicsSetPublic, validateName */function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"s",(function(){return f})),n.d(t,"l",(function(){return h})),n.d(t,"r",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"A",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"q",(function(){return O})),n.d(t,"m",(function(){return E})),n.d(t,"n",(function(){return P})),n.d(t,"w",(function(){return T})),n.d(t,"p",(function(){return I})),n.d(t,"h",(function(){return L})),n.d(t,"x",(function(){return R})),n.d(t,"o",(function(){return F})),n.d(t,"E",(function(){return z})),n.d(t,"D",(function(){return q})),n.d(t,"B",(function(){return W})),n.d(t,"C",(function(){return G})),n.d(t,"k",(function(){return K})),n.d(t,"g",(function(){return J})),n.d(t,"d",(function(){return Z})),n.d(t,"e",(function(){return ee})),n.d(t,"u",(function(){return ne})),n.d(t,"t",(function(){return ae})),n.d(t,"F",(function(){return ie})),n.d(t,"v",(function(){return ce})),n.d(t,"y",(function(){return ue})),n.d(t,"f",(function(){return se})),n.d(t,"z",(function(){return le})),n.d(t,"a",(function(){return pe}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/accounts/login.json",{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/accounts/logout.json",{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/get_user_info.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/get_navigation_info.json",{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/system_update.json",{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/homepage_info.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/attendance.json",{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/courses.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/shixuns.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/subjects.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/projects.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/videos.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/videos/review.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/videos/").concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){return N.apply(this,arguments)}function N(){return(N=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/watch_video_histories.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e){return U.apply(this,arguments)}function U(){return(U=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/question_banks.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function z(e){return V.apply(this,arguments)}function V(){return(V=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/multi_public.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function q(e){return B.apply(this,arguments)}function B(){return(B=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/multi_delete.json",{method:"delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e){return H.apply(this,arguments)}function H(){return(H=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/my_courses.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function G(e){return Y.apply(this,arguments)}function Y(){return(Y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/send_to_course.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function K(e){return Q.apply(this,arguments)}function Q(){return(Q=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/homework_banks/".concat(t.topicId,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(e){return X.apply(this,arguments)}function X(){return(X=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/question_banks/multi_delete.json",{method:"delete",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e){return $.apply(this,arguments)}function $(){return($=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/".concat(t.username,"/videos/batch_publish.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ee(e){return te.apply(this,arguments)}function te(){return(te=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/myshixuns/".concat(t.identifier,"/cancel.json"),{method:"delete",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ne(){return re.apply(this,arguments)}function re(){return(re=Object(a.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/intelligent_recommendations/persona.json",{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(){return oe.apply(this,arguments)}function oe(){return(oe=Object(a.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ie(e){return Object(c.a)("/api/accounts/valid_email_and_phone.json",{method:"get",params:e})}function ce(e){return Object(c.a)("/api/accounts/get_verification_code.json",{method:"get",params:e})}function ue(e){return Object(c.a)("/api/accounts/register.json",{method:"post",body:Object(r.a)({},e)})}function se(e){return Object(c.a)("/api/users/accounts/".concat(e.login,"/password.json"),{method:"put",body:Object(r.a)({},e)})}function le(e){return Object(c.a)("/api/accounts/reset_password.json",{method:"post",body:Object(r.a)({},e)})}function pe(e){return Object(c.a)("/api/accounts/login_for_phone.json",{method:"get",params:Object(r.a)({},e)})}},jbR1: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/get-set-iterator.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-pure */"Zcjx"),a=n(/*! ../internals/get-iterator */"qcmB");e.exports=r?a:function(e){return Set.prototype.values.call(e)}},"jdp+": +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/math-fround.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/math-sign */"u93E"),a=Math.abs,o=Math.pow,i=o(2,-52),c=o(2,-23),u=o(2,127)*(2-c),s=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=a(e),l=r(e);return ou||n!=n?l*(1/0):l*n}},jhyg: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.seal.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-object */"tSXo"),o=n(/*! ../internals/internal-metadata */"a5mf").onFreeze,i=n(/*! ../internals/freezing */"R/Zn"),c=n(/*! ../internals/fails */"MVys"),u=Object.seal;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!i},{seal:function(e){return u&&a(e)?u(o(e)):e}})},jksQ: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.set.map.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/get-built-in */"29mP"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/a-function */"cT1L"),u=n(/*! ../internals/function-bind-context */"7BAe"),s=n(/*! ../internals/species-constructor */"/dTS"),l=n(/*! ../internals/get-set-iterator */"jbR1"),p=n(/*! ../internals/iterate */"IuhT");r({target:"Set",proto:!0,real:!0,forced:a},{map:function(e){var t=i(this),n=l(t),r=u(e,arguments.length>1?arguments[1]:void 0,3),a=new(s(t,o("Set"))),f=c(a.add);return p(n,(function(e){f.call(a,r(e,e,t))}),void 0,!1,!0),a}})},joe6: +/*!***********************************************************!*\ + !*** ./node_modules/react-redux/es/components/Context.js ***! + \***********************************************************/ +/*! exports provided: ReactReduxContext, default */ +/*! exports used: ReactReduxContext */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! react */"q1tI"),a=n.n(r).a.createContext(null)},jrin: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! + \********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},jtLI: +/*!***********************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/has.js ***! + \***********************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"k/J9": +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/regexp-flags.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/an-object */"f1E4");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},k1fw: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***! + \*******************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(/*! @babel/runtime/helpers/esm/defineProperty */"jrin");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t1?arguments[1]:void 0)}))},leS6: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***! + \**********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?r:n)(e)}},m3pO: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/microtask.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r,a,o,i,c,u,s,l,p=n(/*! ../internals/global */"ukPv"),f=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,d=n(/*! ../internals/classof-raw */"UwrT"),h=n(/*! ../internals/task */"C3pJ").set,m=n(/*! ../internals/engine-is-ios */"xRZI"),b=p.MutationObserver||p.WebKitMutationObserver,y=p.process,v=p.Promise,g="process"==d(y),_=f(p,"queueMicrotask"),x=_&&_.value;x||(r=function(){var e,t;for(g&&(e=y.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?i():o=void 0,e}}o=void 0,e&&e.enter()},g?i=function(){y.nextTick(r)}:b&&!m?(c=!0,u=document.createTextNode(""),new b(r).observe(u,{characterData:!0}),i=function(){u.data=c=!c}):v&&v.resolve?(s=v.resolve(void 0),l=s.then,i=function(){l.call(s,r)}):i=function(){h.call(p,r)}),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},m3rI: +/*!**************************!*\ + !*** ./src/utils/env.ts ***! + \**************************/ +/*! exports provided: GlobalConfig, default */ +/*! exports used: default */function(e,t,n){"use strict";var r={dev:n(/*! ./env/dev */"e76B").a,build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"",SSH_SERVER:"",QQLoginCB:encodeURIComponent("")}};t.a=r[window.ENV||"dev"]},m47v: +/*!**************************************!*\ + !*** ./src/service/virtualSpaces.ts ***! + \**************************************/ +/*! exports provided: getVirtualSpacesDetails, getVirtualSpacesMenus, upvideos, Addmember, change_creator */ +/*! exports used: Addmember, change_creator, getVirtualSpacesDetails, getVirtualSpacesMenus, upvideos */function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/utils/fetch */"ErOA");function c(e){return u.apply(this,arguments)}function u(){return(u=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/virtual_classrooms/".concat(null==t?void 0:t.id,".json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/virtual_classrooms/".concat(null==t?void 0:t.id,"/modules.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/virtual_classrooms/".concat(t.id,"/videos/batch_publish.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/virtual_classrooms/".concat(t.virtual_spacesId,"/members.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return b.apply(this,arguments)}function b(){return(b=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/virtual_classrooms/".concat(t.virtual_spacesId,"/members/").concat(t.id,"/change_creator.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},m71J: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.code-point-at.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-multibyte */"eYKs").codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return a(this,e)}})},mGKP: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ./arrayLikeToArray */"EdiO");e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},mLN8: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.array.flat.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/flatten-into-array */"hKmx"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/to-integer */"m0kY"),u=n(/*! ../internals/array-species-create */"nMuc");r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=i(t.length),r=u(t,0);return r.length=a(r,t,t,n,0,void 0===e?1:c(e)),r}})},mMun: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.constructor.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/global */"ukPv"),o=n(/*! ../internals/is-forced */"kkxG"),i=n(/*! ../internals/redefine */"NMFW"),c=n(/*! ../internals/has */"jtLI"),u=n(/*! ../internals/classof-raw */"UwrT"),s=n(/*! ../internals/inherit-if-required */"+vfm"),l=n(/*! ../internals/to-primitive */"gFfw"),p=n(/*! ../internals/fails */"MVys"),f=n(/*! ../internals/object-create */"u+7+"),d=n(/*! ../internals/object-get-own-property-names */"uGHk").f,h=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,m=n(/*! ../internals/object-define-property */"YfKC").f,b=n(/*! ../internals/string-trim */"mTKU").trim,y=a.Number,v=y.prototype,g="Number"==u(f(v)),_=function(e){var t,n,r,a,o,i,c,u,s=l(e,!1);if("string"==typeof s&&s.length>2)if(43===(t=(s=b(s)).charCodeAt(0))||45===t){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(s.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+s}for(i=(o=s.slice(2)).length,c=0;ca)return NaN;return parseInt(o,r)}return+s};if(o("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,w=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof w&&(g?p((function(){v.valueOf.call(n)})):"Number"!=u(n))?s(new y(_(t)),n,w):_(t)},j=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;j.length>O;O++)c(y,x=j[O])&&!c(w,x)&&m(w,x,h(y,x));w.prototype=v,v.constructor=w,i(a,"Number",w)}},mTKU: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-trim.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/require-object-coercible */"FCfD"),a="["+n(/*! ../internals/whitespaces */"Tfd0")+"]",o=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(i,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},maeH: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.function.name.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/object-define-property */"YfKC").f,o=Function.prototype,i=o.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in o)&&a(o,"name",{configurable:!0,get:function(){try{return i.call(this).match(c)[1]}catch(e){return""}}})},mcGr: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.pad-start.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-pad */"2FZw").start;r({target:"String",proto:!0,forced:n(/*! ../internals/string-pad-webkit-bug */"y9mK")},{padStart:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},md7G: +/*!******************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***! + \******************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(/*! ./typeof.js */"U8pU"),a=n(/*! ./assertThisInitialized.js */"JX7q");function o(e,t){if(t&&("object"===Object(r.a)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Object(a.a)(e)}},mmNF: +/*!*****************************************!*\ + !*** ./node_modules/charenc/charenc.js ***! + \*****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n=e.student_data.goal_score?a:null),i.min.push(a>=e.student_data.goal_score?null:a),u.push(t.name),s.push(t.student_id),l.push(t.clazz)})),c[t+1]={name:t+1,average_score:e.student_data.average_score,goal_score:e.student_data.goal_score,xData:n,yData:i,name_data:u,student_ids:s,class_data:l,goal_scoreData:new Array(e.student_data.detail.length).fill(e.student_data.goal_score),average_scoreData:new Array(e.student_data.detail.length).fill(e.student_data.average_score)}})),n.history.forEach((function(e){i=Object(o.a)(Object(o.a)({},i),{},{xData:[].concat(Object(a.a)(i.xData),[e.year]),seriesData:[].concat(Object(a.a)(i.seriesData),[e.total_score])})})),Object(o.a)(Object(o.a)({},e),{},{name:n.course_name||"",tabListData:n.ec_course_target,echartsData:{barData:r,lineData:i,scatterData:c}})}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=p},nkhd: +/*!****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.aggregate-error.js ***! + \****************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/descriptors */"tny8"),o=n(/*! ../internals/object-get-prototype-of */"Acmb"),i=n(/*! ../internals/object-set-prototype-of */"g1ZG"),c=n(/*! ../internals/object-create */"u+7+"),u=n(/*! ../internals/object-define-property */"YfKC"),s=n(/*! ../internals/create-property-descriptor */"HhvW"),l=n(/*! ../internals/iterate */"IuhT"),p=n(/*! ../internals/create-non-enumerable-property */"lz10"),f=n(/*! ../internals/internal-state */"1aI8"),d=f.set,h=f.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);i&&(n=i(new Error(t),o(n)));var r=[];return l(e,r.push,r),a?d(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&p(n,"message",String(t)),n};m.prototype=c(Error.prototype,{constructor:s(5,m),message:s(5,""),name:s(5,"AggregateError")}),a&&u.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},nlPz: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.regexp.exec.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/regexp-exec */"NcLc");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},nmq7: +/*!**************************************!*\ + !*** ./node_modules/qs/lib/parse.js ***! + \**************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./utils */"0jNN"),a=Object.prototype.hasOwnProperty,o=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},s=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(o),s=c?o.slice(0,c.index):o,l=[];if(s){if(!n.plainObjects&&a.call(Object.prototype,s)&&!n.allowPrototypes)return;l.push(s)}for(var p=0;n.depth>0&&null!==(c=i.exec(o))&&p=0;--o){var i,c=e[o];if("[]"===c&&n.parseArrays)i=[].concat(a);else{i=n.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,l=parseInt(s,10);n.parseArrays||""!==s?!isNaN(l)&&c!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(i=[])[l]=a:"__proto__"!==s&&(i[s]=a):i={0:a}}a=i}return a}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,s={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,p),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(b=o(b)?[b]:b),a.call(s,m)?s[m]=r.combine(s[m],b):s[m]=b}return s}(e,n):e,p=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d1?arguments[1]:void 0,3);return!u(n,(function(e,n){if(!r(n,e,t))return u.stop()}),void 0,!0,!0).stopped}})},oZsa: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***! + \********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},oa35: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/to-length.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/to-integer */"m0kY"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},oat3: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.last-index-of.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-last-index-of */"QQ4S"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return a.apply(o(this),arguments)}))},"p/G/": +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.join.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=r.aTypedArray,o=r.exportTypedArrayMethod,i=[].join;o("join",(function(e){return i.apply(a(this),arguments)}))},p1ln: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.assign.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/object-assign */"qitQ");r({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},p5yU: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/web.queue-microtask.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/global */"ukPv"),o=n(/*! ../internals/microtask */"m3pO"),i=n(/*! ../internals/classof-raw */"UwrT"),c=a.process,u="process"==i(c);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=u&&c.domain;o(t?t.bind(e):e)}})},p6E5: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.weak-set.delete-all.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-pure */"Zcjx"),o=n(/*! ../internals/collection-delete-all */"+X1D");r({target:"WeakSet",proto:!0,real:!0,forced:a},{deleteAll:function(){return o.apply(this,arguments)}})},pVnL: +/*!********************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/extends.js ***! + \********************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return[{name:"内容审核情况",id:"Content",status:null==i||null===(e=i.content_info)||void 0===e?void 0:e.status,username:null==i||null===(t=i.content_info)||void 0===t?void 0:t.username,time:null==i||null===(n=i.content_info)||void 0===n?void 0:n.time},{name:"性能审核情况",id:"Performance",status:null==i||null===(r=i.perference_info)||void 0===r?void 0:r.status,username:null==i||null===(a=i.perference_info)||void 0===a?void 0:a.username,time:null==i||null===(o=i.perference_info)||void 0===o?void 0:o.time}]},u=n("1vsH"),s={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:void 0,auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{getShixunsDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.hb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getMirrorApplies:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.U,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{mirrorApplies:Object(r.a)({},(null==s?void 0:s.data)||{})}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getRightData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.bb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{rightData:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.G,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challenges:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),execJupyter:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.z,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),execOpeni:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.A,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),execShixun:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.B,r);case 4:return-3===(null==(c=e.sent)?void 0:c.status)&&Object(u.o)(),e.abrupt("return",c);case 7:case"end":return e.stop()}}),e)})),openChallenge:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.sb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),challengeMoveUp:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.m,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),challengeMoveDown:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.l,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelCollect:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),collect:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.o,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),searchUserCourses:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.yb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),sendToCourse:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.zb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelRelease:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.k,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.j,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),applyPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.g,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),release:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.ub,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateAuditSituation:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Db,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCollaboratorsData:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.K,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addCollaborator:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addTeachGroupMember:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.f,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getChangeManager:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.J,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),changeManager:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.n,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteCollaborators:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.u,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRankingList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Y,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getMirrorScript:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.V,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getScriptContent:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.cb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCustomScript:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.L,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateSettingBasicInfo:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Ob,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getShixunQuote:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.gb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteShixun:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.x,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),permanentClose:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.tb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getDepartments:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.M,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updatePermissionSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Lb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateLearnSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Kb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Nb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getSetData:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.eb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteDataSet:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.v,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteGitFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.w,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),moveGitFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.rb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRepository:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.Z,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{repository:Object(r.a)({},s)}});case 7:return e.abrupt("return",Object(r.a)({},s));case 8:case"end":return e.stop()}}),e)})),getSecretRepository:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.db,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{secretRepository:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),addRepositoryFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRepositoryCommit:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.ab,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getFileContent:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.Q,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{fileContent:Object(r.a)(Object(r.a)({},s),{},{params:a})}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),updateRepositoryFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Mb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),uploadGitFolder:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Pb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateCollaboratorEditable:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Ib,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getSettingsData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.fb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{setting:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesNew:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.I,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challengesNew:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesEdit:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.H,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challengesEdit:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getAuditSituationData:o.a.mark((function e(t,n){var r,a,u,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,u=n.put,e.next=4,a(i.D,r);case 4:return s=e.sent,l=c(s),e.next=8,u({type:"save",payload:{auditSituationData:l}});case 8:case"end":return e.stop()}}),e)})),getEditChallengesQuestion:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.N,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{editChallengesQuestion:u}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),getInfoWithJupyterLab:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.S,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{infoWithJupyterLab:u}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return console.log("reducers:",e,t),Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=s},q1tI: +/*!*************************************!*\ + !*** ./node_modules/react/index.js ***! + \*************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=n(/*! ./cjs/react.production.min.js */"viRO")},qA1w: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/collection-of.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},qDJ8: +/*!****************************************!*\ + !*** ./node_modules/isobject/index.js ***! + \****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},qRPo: +/*!****************************************************!*\ + !*** ./node_modules/rc-util/lib/Dom/dynamicCSS.js ***! + \****************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! @babel/runtime/helpers/interopRequireDefault */"TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.injectCSS=i,t.updateCSS=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=o(n);if(!c.has(r)){var a=i("",n),u=a.parentNode;c.set(r,u),u.removeChild(a)}var s=Array.from(c.get(r).children).find((function(e){return"STYLE"===e.tagName&&e["rc-util-key"]===t}));if(s){var l,p,f;if((null===(l=n.csp)||void 0===l?void 0:l.nonce)&&s.nonce!==(null===(p=n.csp)||void 0===p?void 0:p.nonce))s.nonce=null===(f=n.csp)||void 0===f?void 0:f.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var d=i(e,n);return d["rc-util-key"]=t,d};var a=r(n(/*! ./canUseDom */"3Mug"));function o(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function i(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,a.default)())return null;var r,i=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(i.nonce=null===(r=n.csp)||void 0===r?void 0:r.nonce);i.innerHTML=e;var c=o(n),u=c.firstChild;return n.prepend&&c.prepend?c.prepend(i):n.prepend&&u?c.insertBefore(i,u):c.appendChild(i),i}var c=new Map},qS6X: +/*!*******************************************!*\ + !*** ./src/models/classrooms/exercise.ts ***! + \*******************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty */"jrin"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/service/exercise */"V0Rq"),u={namespace:"exercise",state:{name:"普通试卷,随机试卷详情页面",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:"kepukehuan.educoder.net"===window.document.domain||"test-kepukehuan.educoder.net"===window.document.domain},effects:{getUserExercise:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.I,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{userExerciseList:Object(a.a)({},(null==s?void 0:s.data)||{})}});case 7:return console.log("getUserExercise-res:",s),e.abrupt("return",null==s?void 0:s.data);case 9:case"end":return e.stop()}}),e)})),getExerciseIdentityPhotos:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.v,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{exerciseIdentityPhotos:Object(a.a)({},(null==s?void 0:s.data)||{})}});case 7:return e.abrupt("return",null==s?void 0:s.data);case 8:case"end":return e.stop()}}),e)})),getExerciseExportHeadData:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.u,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{exerciseExportHeadData:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getExerciseUserInfo:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.A,r);case 4:if(0!==(null==(s=e.sent)?void 0:s.status)){e.next=8;break}return e.next=8,u({type:"save",payload:Object(a.a)({},{exerciseUserInfo:Object(a.a)({},s.data)})});case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})),getExaminationIntelligentSettings:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.s,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{examinationIntelligentSettings:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getRandomEditExercises:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.D,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{editRandomExercises:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getExerciseList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.w,r);case 4:if(null!=(s=e.sent)&&s.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(s.total_exercise_users)}catch(e){}return e.next=8,u({type:"save",payload:{exerciseList:Object(a.a)({},s)}});case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})),getExerciseStatistics:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.z,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{statisticsList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getBrankList:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.o,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{brankList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),saveBanks:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.T,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),getExerciseCourses:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.t,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{exerciseCoursesList:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),addExercise:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.a,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),editExercise:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.i,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{editData:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getTagDiscipline:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.H,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{tagDisciplineData:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),editExerciseQuestion:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.j,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),addExerciseQuestion:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.b,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),exeriseMoveUpDown:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.l,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),getEndGroups:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.r,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{endGroups:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPublishGroups:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.C,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{publishGroups:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCommonHeader:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.q,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{commonHeader:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getReviewExercise:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.F,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{reviewExercise:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),clearData:i.a.mark((function e(t,n){var a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,t.callback,n.call,o=n.put,e.next=4,o({type:"save",payload:Object(r.a)({},a.key,{})});case 4:case"end":return e.stop()}}),e)})),getReviewGroupExercise:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.G,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{reviewGroupExercise:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getWorkSetting:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.J,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{workSetting:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getRedoModal:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.E,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{redoModal:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCodeReviewDetail:i.a.mark((function e(t,n){var r,o,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,o=n.call,u=n.put,e.next=4,o(c.p,r);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{codeReviewDetail:Object(a.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),changeScore:i.a.mark((function e(t,n){var r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,t.callback,a=n.call,n.put,e.next=4,a(c.e,r);case 4:return o=e.sent,e.abrupt("return",o);case 6:case"end":return e.stop()}}),e)})),setActionTabs:i.a.mark((function e(t,n){var r,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,o=n.put,e.next=4,o({type:"save",payload:{actionTabs:Object(a.a)({},r)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(a.a)(Object(a.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=u},qT12: +/*!**************************************************************!*\ + !*** ./node_modules/react-is/cjs/react-is.production.min.js ***! + \**************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r="function"==typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,b=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case p:case f:case i:case u:case c:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case b:case s:return e;default:return t}}case o:return t}}}function j(e){return w(e)===f}t.AsyncMode=p,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=s,t.Element=a,t.ForwardRef=d,t.Fragment=i,t.Lazy=y,t.Memo=b,t.Portal=o,t.Profiler=u,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||w(e)===p},t.isConcurrentMode=j,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===b},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===u},t.isStrictMode=function(e){return w(e)===c},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===u||e===c||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===b||e.$$typeof===s||e.$$typeof===l||e.$$typeof===d||e.$$typeof===g||e.$$typeof===_||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},qcmB: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/get-iterator.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/an-object */"f1E4"),a=n(/*! ../internals/get-iterator-method */"9SZg");e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},qdXH: +/*!******************************!*\ + !*** ./src/service/video.ts ***! + \******************************/ +/*! exports provided: getVideoStatisticsList, getVideoStatistics, getOneVideoStatisticsList, getStudentVideoStatisticsList, getVideoDetail, addVideoItems, getVideoEditData, getVideoEditDatas, starVideo, updateVideo, videoSendToCourse, getVideoMyCourses, viewVideo, addSchool, getVideoPeopleStatics, getVideoDurationStatics, getStageData */ +/*! exports used: addSchool, getOneVideoStatisticsList, getStageData, getStudentVideoStatisticsList, getVideoDetail, getVideoDurationStatics, getVideoEditDatas, getVideoMyCourses, getVideoPeopleStatics, getVideoStatistics, getVideoStatisticsList, starVideo, videoSendToCourse, viewVideo */function(e,t,n){"use strict";n.d(t,"k",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"b",(function(){return f})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return w})),n.d(t,"h",(function(){return O})),n.d(t,"n",(function(){return E})),n.d(t,"a",(function(){return P})),n.d(t,"i",(function(){return T})),n.d(t,"f",(function(){return I})),n.d(t,"c",(function(){return L}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/watch_video_histories.json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/watch_statics.json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/course_videos/".concat(t.videoId,"/watch_histories.json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/own_watch_histories.json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/video_items/".concat(t.id,".json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stage_shixuns/".concat(t.id,"/edit.json"),{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/video_items/".concat(t.id,"/star.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/video_items/".concat(t.id,"/send_to_course.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/my_courses.json",{method:"Get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/video_items/".concat(t.id,"/view_video.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/video_items/".concat(t.id,"/add_school.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.course_id,"/video_people_statics.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.course_id,"/video_duration_statics.json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e){return D.apply(this,arguments)}function D(){return(D=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/stages.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},qhky: +/*!************************************************!*\ + !*** ./node_modules/react-helmet/es/Helmet.js ***! + \************************************************/ +/*! exports provided: default, Helmet */ +/*! ModuleConcatenation bailout: Module uses injected variables (global) */function(e,t,n){"use strict";(function(e){var t,r,a,o,i=n(/*! prop-types */"17x9"),c=n.n(i),u=n(/*! react-side-effect */"8+s/"),s=n.n(u),l=n(/*! react-fast-compare */"bmMU"),p=n.n(l),f=n(/*! react */"q1tI"),d=n.n(f),h=n(/*! object-assign */"MgzW"),m=n.n(h),b="bodyAttributes",y="htmlAttributes",v="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},_=(Object.keys(g).map((function(e){return g[e]})),"charset"),x="cssText",w="href",j="http-equiv",O="innerHTML",k="itemprop",E="name",S="property",P="rel",C="src",T="target",A={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",M="defer",L="encodeSpecialCharacters",D="onChangeClientState",R="titleTemplate",N=Object.keys(A).reduce((function(e,t){return e[A[t]]=t,e}),{}),F=[g.NOSCRIPT,g.SCRIPT,g.STYLE],U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},V=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},W=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},H=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},G=function(e){var t=X(e,g.TITLE),n=X(e,R);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,I);return t||r||void 0},Y=function(e){return X(e,D)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},Q=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Z=(t=Date.now(),function(e){var n=Date.now();n-t>16?(t=n,e(n)):setTimeout((function(){Z(e)}),0)}),$=function(e){return clearTimeout(e)},ee="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Z:e.requestAnimationFrame||Z,te="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||$:e.cancelAnimationFrame||$,ne=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},re=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,l=e.styleTags,p=e.title,f=e.titleAttributes;ce(g.BODY,r),ce(g.HTML,a),ie(p,f);var d={baseTag:ue(g.BASE,n),linkTags:ue(g.LINK,o),metaTags:ue(g.META,i),noscriptTags:ue(g.NOSCRIPT,c),scriptTags:ue(g.SCRIPT,s),styleTags:ue(g.STYLE,l)},h={},m={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=d[e].oldTags)})),t&&t(),u(e,h,m)},oe=function(e){return Array.isArray(e)?e.join(""):e},ie=function(e,t){void 0!==e&&document.title!==e&&(document.title=oe(e)),ce(g.TITLE,t)},ce=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),c=0;c=0;p--)n.removeAttribute(o[p]);a.length===o.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==i.join(",")&&n.setAttribute("data-react-helmet",i.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(g.HEAD),r=n.querySelectorAll(e+"[data-react-helmet]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===O)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute("data-react-helmet","true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},se=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[A[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})["data-react-helmet"]=!0,a=le(n,r),[d.a.createElement(g.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=se(n),o=oe(t);return a?"<"+e+' data-react-helmet="true" '+a+">"+H(o,r)+"":"<"+e+' data-react-helmet="true">'+H(o,r)+""}(e,t.title,t.titleAttributes,n)}};case b:case y:return{toComponent:function(){return le(t)},toString:function(){return se(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(t).forEach((function(e){var n=A[e]||e;if(n===O||n===x){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),d.a.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===O||e===x)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+H(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===F.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+a+(i?"/>":">"+o+"")}),"")}(e,t,n)}}}},fe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,c=e.noscriptTags,u=e.scriptTags,s=e.styleTags,l=e.title,p=void 0===l?"":l,f=e.titleAttributes;return{base:pe(g.BASE,t,r),bodyAttributes:pe(b,n,r),htmlAttributes:pe(y,a,r),link:pe(g.LINK,o,r),meta:pe(g.META,i,r),noscript:pe(g.NOSCRIPT,c,r),script:pe(g.SCRIPT,u,r),style:pe(g.STYLE,s,r),title:pe(g.TITLE,{title:p,titleAttributes:f},r)}},de=s()((function(e){return{baseTag:Q([w,T],e),bodyAttributes:K(b,e),defer:X(e,M),encode:X(e,L),htmlAttributes:K(y,e),linkTags:J(g.LINK,[P,w],e),metaTags:J(g.META,[E,_,j,S,k],e),noscriptTags:J(g.NOSCRIPT,[O],e),onChangeClientState:Y(e),scriptTags:J(g.SCRIPT,[C,O],e),styleTags:J(g.STYLE,[x],e),title:G(e),titleAttributes:K(v,e)}}),(function(e){re&&te(re),e.defer?re=ee((function(){ae(e,(function(){re=null}))})):(ae(e),re=null)}),fe)((function(){return null})),he=(r=de,o=a=function(e){function t(){return z(this,t),W(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!p()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},a,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return q({},a,((t={})[r.type]=i,t.titleAttributes=q({},o),t));case g.BODY:return q({},a,{bodyAttributes:q({},o)});case g.HTML:return q({},a,{htmlAttributes:q({},o)})}return q({},a,((n={})[r.type]=q({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return d.a.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[N[n]||n]=e[n],t}),t)}(B(a,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=B(e,["children"]),a=q({},n);return t&&(a=this.mapChildrenToProps(t,a)),d.a.createElement(r,a)},V(t,null,[{key:"canUseDOM",set:function(e){r.canUseDOM=e}}]),t}(d.a.Component),a.propTypes={base:c.a.object,bodyAttributes:c.a.object,children:c.a.oneOfType([c.a.arrayOf(c.a.node),c.a.node]),defaultTitle:c.a.string,defer:c.a.bool,encodeSpecialCharacters:c.a.bool,htmlAttributes:c.a.object,link:c.a.arrayOf(c.a.object),meta:c.a.arrayOf(c.a.object),noscript:c.a.arrayOf(c.a.object),onChangeClientState:c.a.func,script:c.a.arrayOf(c.a.object),style:c.a.arrayOf(c.a.object),title:c.a.string,titleAttributes:c.a.object,titleTemplate:c.a.string},a.defaultProps={defer:!0,encodeSpecialCharacters:!0},a.peek=r.peek,a.rewind=function(){var e=r.rewind();return e||(e=fe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},o);he.renderStatic=he.rewind}).call(this,n(/*! ./../../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},qitQ: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-assign.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/object-keys */"P0e2"),i=n(/*! ../internals/object-get-own-property-symbols */"kyO0"),c=n(/*! ../internals/object-property-is-enumerable */"e3V2"),u=n(/*! ../internals/to-object */"cTDu"),s=n(/*! ../internals/indexed-object */"EzR6"),l=Object.assign,p=Object.defineProperty;e.exports=!l||a((function(){if(r&&1!==l({b:1},l(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=o(l({},t)).join("")}))?function(e,t){for(var n=u(e),a=arguments.length,l=1,p=i.f,f=c.f;a>l;)for(var d,h=s(arguments[l++]),m=p?o(h).concat(p(h)):o(h),b=m.length,y=0;b>y;)d=m[y++],r&&!f.call(h,d)||(n[d]=h[d]);return n}:l},qkSU: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.promise.try.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/new-promise-capability */"LUyE"),o=n(/*! ../internals/perform */"WJ3H");r({target:"Promise",stat:!0},{try:function(e){var t=a.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},qlaj: +/*!*****************************************************!*\ + !*** ./node_modules/hash.js/lib/hash/sha/common.js ***! + \*****************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../utils */"w8CP").rotr32;function a(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function i(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?i(t,n,r):2===e?o(t,n,r):void 0},t.ch32=a,t.maj32=o,t.p32=i,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},qtVS: +/*!********************************!*\ + !*** ./src/service/teacher.ts ***! + \********************************/ +/*! exports provided: getList, getApplyList, getGraduationGroupList, getAllCourseGroups, setAllCourseGroups, joinGraduationGroup, createGraduationGroup, deleteCourseTeacher, deleteCourseStudents, changeMemberRole, changeCourseAdmin, teacherApplicationReview, getStudentsList */ +/*! exports used: changeCourseAdmin, changeMemberRole, createGraduationGroup, deleteCourseStudents, deleteCourseTeacher, getAllCourseGroups, getApplyList, getGraduationGroupList, getList, getStudentsList, joinGraduationGroup, setAllCourseGroups, teacherApplicationReview */function(e,t,n){"use strict";n.d(t,"i",(function(){return u})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"f",(function(){return h})),n.d(t,"l",(function(){return b})),n.d(t,"k",(function(){return v})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return w})),n.d(t,"d",(function(){return O})),n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return P})),n.d(t,"m",(function(){return T})),n.d(t,"j",(function(){return I}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/teachers.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/apply_teachers.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/graduation_group_list.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/all_course_groups.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/set_course_group.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return g.apply(this,arguments)}function g(){return(g=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/join_graduation_group.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(e){return x.apply(this,arguments)}function x(){return(x=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/create_graduation_group.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return j.apply(this,arguments)}function j(){return(j=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/delete_course_teacher.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/delete_from_course.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return S.apply(this,arguments)}function S(){return(S=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/change_member_role.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function P(e){return C.apply(this,arguments)}function C(){return(C=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/change_course_admin.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e){return A.apply(this,arguments)}function A(){return(A=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/teacher_application_review.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function I(e){return M.apply(this,arguments)}function M(){return(M=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/students.json"),{method:"get",params:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},quHW: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.reflect.apply.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/get-built-in */"29mP"),o=n(/*! ../internals/a-function */"cT1L"),i=n(/*! ../internals/an-object */"f1E4"),c=n(/*! ../internals/fails */"MVys"),u=a("Reflect","apply"),s=Function.apply;r({target:"Reflect",stat:!0,forced:!c((function(){u((function(){}))}))},{apply:function(e,t,n){return o(e),i(n),u?u(e,t,n):s.call(e,t,n)}})},qx4F: +/*!*****************************************************!*\ + !*** ./node_modules/rc-util/es/getScrollBarSize.js ***! + \*****************************************************/ +/*! exports provided: default, getTargetScrollBarSize */ +/*! exports used: default */function(e,t,n){"use strict";var r;function a(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),a=n.style;a.position="absolute",a.top="0",a.left="0",a.pointerEvents="none",a.visibility="hidden",a.width="200px",a.height="150px",a.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var i=t.offsetWidth;o===i&&(i=n.clientWidth),document.body.removeChild(n),r=o-i}return r}n.d(t,"a",(function(){return a}))},rE4C: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.is-frozen.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/is-object */"tSXo"),i=Object.isFrozen;r({target:"Object",stat:!0,forced:a((function(){i(1)}))},{isFrozen:function(e){return!o(e)||!!i&&i(e)}})},rS2G: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.is-finite.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/export */"MMxC")({target:"Number",stat:!0},{isFinite:n(/*! ../internals/number-is-finite */"8Cw2")})},rUU2: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.replace.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/fix-regexp-well-known-symbol-logic */"ENif"),a=n(/*! ../internals/an-object */"f1E4"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/to-integer */"m0kY"),u=n(/*! ../internals/require-object-coercible */"FCfD"),s=n(/*! ../internals/advance-string-index */"xH5X"),l=n(/*! ../internals/regexp-exec-abstract */"dagG"),p=Math.max,f=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var b=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,v=b?"$":"$0";return[function(n,r){var a=u(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!b&&y||"string"==typeof r&&-1===r.indexOf(v)){var o=n(t,e,this,r);if(o.done)return o.value}var u=a(e),d=String(this),h="function"==typeof r;h||(r=String(r));var m=u.global;if(m){var _=u.unicode;u.lastIndex=0}for(var x=[];;){var w=l(u,d);if(null===w)break;if(x.push(w),!m)break;""===String(w[0])&&(u.lastIndex=s(d,i(u.lastIndex),_))}for(var j,O="",k=0,E=0;E=k&&(O+=d.slice(k,P)+M,k=P+S.length)}return O+d.slice(k)}];function g(e,n,r,a,i,c){var u=r+e.length,s=a.length,l=m;return void 0!==i&&(i=o(i),l=h),t.call(c,l,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=i[o.slice(1,-1)];break;default:var l=+o;if(0===l)return t;if(l>s){var p=d(l/10);return 0===p?t:p<=s?void 0===a[p-1]?o.charAt(1):a[p-1]+o.charAt(1):t}c=a[l-1]}return void 0===c?"":c}))}}))},rVgK: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.string.at.js ***! + \**********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/string-multibyte */"eYKs").charAt;r({target:"String",proto:!0},{at:function(e){return a(this,e)}})},rYFv: +/*!**********************************************!*\ + !*** ./src/models/engineering/navigation.ts ***! + \**********************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r,a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty */"CiB2"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty */"jrin"),c=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),u=n.n(c),s=n(/*! @/service/engineering */"rbmi"),l=n(/*! ./evaluateList */"7KHo"),p=n(/*! @/pages/Engineering/util */"g+eg"),f={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"认证导航",dataSource:(r={},Object(i.a)(r,l.b[0],{width:235,placeholder:"请选择".concat(l.b[0]),loading:"engineeringNavigtion/getMajorList",dataList:[]}),Object(i.a)(r,l.b[1],{width:138,placeholder:"请选择".concat(l.b[1]),loading:"engineeringNavigtion/getYearList",dataList:[]}),r),active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"指标评价",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"毕业指标",value:"/engineering/graduationindex"},{icon:"icon-biyejuzhen",label:"毕业矩阵",value:"/engineering/graduatedMatrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"毕业要求",value:"-",unit:"项"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"指标点",value:"-",unit:"项"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"已达成毕业要求",value:"-",unit:"项"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"未达成毕业要求",value:"-",unit:"项"}]},course:{title:"课程评价",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"课程列表",value:"/engineering/courseList"},{icon:"icon-kechengjuzhen",label:"课程矩阵",value:"/engineering/courseMatrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"课程数量",value:"-",unit:"门"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"课程目标",value:"-",unit:"项"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"已达成课程数量",value:"-",unit:"门"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"未达成课程数量",value:"-",unit:"门"}]}},teamData:{teach:{title:"授课团队",tabBarContent:"0人",listData:[]},work:{title:"工作团队",tabBarContent:"0人",listData:[]}}},totalListData:[{key:"student_count",title:"当前学生总数",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"转入学生总数",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"转出学生总数",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{setActionTabs:u.a.mark((function e(t,n){var r,a;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{actionTabs:Object(o.a)({},r)}});case 4:case"end":return e.stop()}}),e)})),getMajorList:u.a.mark((function e(t,n){var r,o,i,c,f,d,h;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(a.a)(t),r=n.call,o=n.put,i=n.select,e.next=4,i((function(e){return e.user}));case 4:if(c=e.sent,null==(f=c.userInfo)||!f.school_id){e.next=14;break}return e.next=9,r(s.i,f.school_id);case 9:if(!(d=e.sent)||!d.data){e.next=14;break}return h=p.a.getItem(null==f?void 0:f.login),e.next=14,o({type:"setMajorOrYearDataSource",payload:{key:l.b[0],value:d.data.map((function(e){return{label:e.name,value:e.ec_major_school_id}})),active:d.data.length>0?h[0]||d.data[0].ec_major_school_id:void 0}});case 14:case"end":return e.stop()}}),e)})),getYearList:u.a.mark((function e(t,n){var r,a,o,i,c,f,d,h;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,o=n.put,i=n.select,e.next=4,a(s.k,r.id);case 4:return c=e.sent,e.next=7,i((function(e){return e.user}));case 7:if(f=e.sent,d=f.userInfo,!c||!c.data){e.next=13;break}return h=p.a.getItem(null==d?void 0:d.login),e.next=13,o({type:"setMajorOrYearDataSource",payload:{key:l.b[1],value:c.data.map((function(e){return{label:e.year,value:e.ec_year_id}})),active:c.data.length>0?r.firstEnter?h[1]:c.data[0].ec_year_id:void 0}});case 13:case"end":return e.stop()}}),e)})),getTopPage:u.a.mark((function e(t,n){var r,o,i,c,f,d,h,m,b,y;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(a.a)(t),r=n.call,o=n.put,i=n.select,e.next=4,i((function(e){return e.engineeringNavigtion}));case 4:return c=e.sent,f=c.headerData,e.next=8,i((function(e){return e.user}));case 8:if(d=e.sent,h=d.userInfo,m={},!f.active[l.b[1]]||!h.school_id){e.next=20;break}return b=[f.active[l.b[0]],f.active[l.b[1]]],p.a.setItem(null==h?void 0:h.login,b),e.next=16,r(s.j,{ec_year_id:f.active[l.b[1]],school_id:h.school_id});case 16:return(y=e.sent)&&y.data&&(m=y.data),e.next=20,o({type:"setTopPage",payload:m});case 20:case"end":return e.stop()}}),e)})),putTopPageName:u.a.mark((function e(t,n){var r,a,o,i,c;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=t.callback,o=n.call,n.put,e.prev=2,e.next=5,o(s.r,r);case 5:i=e.sent,a(i),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),c="",e.t0&&(c=JSON.stringify(e.t0),e.t0.message&&(c=e.t0.message)),a({message:c,status:999});case 14:case"end":return e.stop()}}),e,null,[[2,9]])}))},reducers:{save:function(e,t){return Object(o.a)(Object(o.a)({},e),t.payload)},setMajorOrYearDataSource:function(e,t){var n=t.payload,r=e.headerData.active;return n.active&&(r=Object(o.a)(Object(o.a)({},r),{},Object(i.a)({},n.key,n.active))),Object(o.a)(Object(o.a)({},e),{},{headerData:Object(o.a)(Object(o.a)({},e.headerData),{},{dataSource:Object(o.a)(Object(o.a)({},e.headerData.dataSource),{},Object(i.a)({},n.key,Object(o.a)(Object(o.a)({},e.headerData.dataSource[n.key]),{},{dataList:n.value}))),active:r})})},setMajorOrYearActive:function(e,t){var n=t.payload;return Object(o.a)(Object(o.a)({},e),{},{headerData:Object(o.a)(Object(o.a)({},e.headerData),{},{active:Object(o.a)(Object(o.a)({},e.headerData.active),{},Object(i.a)({},n.key,n.value))})})},setTopPage:function(e,t){var n=t.payload;return Object(o.a)(Object(o.a)({},e),{},{headerData:Object(o.a)(Object(o.a)({},e.headerData),{},{name:n.name,tabBarContent:{user_name:n.user_name,user_school:n.user_school,user_type:n.user_type}}),cardListData:Object(o.a)(Object(o.a)({},e.cardListData),{},{appraiseData:Object(o.a)(Object(o.a)({},e.cardListData.appraiseData),{},{norm:Object(o.a)(Object(o.a)({},e.cardListData.appraiseData.norm),{},{result:n.graduaiton_result,listData:e.cardListData.appraiseData.norm.listData.map((function(e){return Object(o.a)(Object(o.a)({},e),{},{value:n[e.key]||0})}))}),course:Object(o.a)(Object(o.a)({},e.cardListData.appraiseData.course),{},{result:n.course_result,listData:e.cardListData.appraiseData.course.listData.map((function(e){return Object(o.a)(Object(o.a)({},e),{},{value:n[e.key]||0})}))})}),teamData:{teach:Object(o.a)(Object(o.a)({},e.cardListData.teamData.teach),{},{tabBarContent:"".concat(n.course_teachers?n.course_teachers.length:0,"人"),listData:n.course_teachers||[]}),work:Object(o.a)(Object(o.a)({},e.cardListData.teamData.work),{},{tabBarContent:"".concat(n.work_teachers?n.work_teachers.length:0,"人"),listData:n.work_teachers||[]})}}),totalListData:e.totalListData.map((function(e){return Object(o.a)(Object(o.a)({},e),{},{value:n[e.key]||0})}))})}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=f},rbmi: +/*!******************************************************!*\ + !*** ./src/service/engineering/index.ts + 1 modules ***! + \******************************************************/ +/*! exports provided: getCourseResultsService, exportCourseService, getCourseResultDetailClass, getCourseResultDetailService, postComputeAllService, postComputeCourseSingleService, exportGraduationService, postComputeAllGraduationService, postComputeGraduationSingleService, getGraduationResultsService, getFormulasService, putFormulasService, getGraduationResultDetailService, putGoalValueService, getMajorListService, getYearListService, getTopPageService, putTopPageService */ +/*! exports used: exportCourseService, exportGraduationService, getCourseResultDetailClass, getCourseResultDetailService, getCourseResultsService, getFormulasService, getGraduationResultDetailService, getGraduationResultsService, getMajorListService, getTopPageService, getYearListService, postComputeAllGraduationService, postComputeAllService, postComputeCourseSingleService, postComputeGraduationSingleService, putFormulasService, putGoalValueService, putTopPageService */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/UserAgents.tsx */function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"m",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"l",(function(){return b})),n.d(t,"o",(function(){return y})),n.d(t,"h",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"p",(function(){return _})),n.d(t,"g",(function(){return x})),n.d(t,"q",(function(){return w})),n.d(t,"i",(function(){return j})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return k})),n.d(t,"r",(function(){return E}));var r=n("9og8"),a=n("WmNS"),o=n.n(a),i=n("ErOA"),c=n("k1fw"),u=n("PpiC"),s=function(){var e=Object(r.a)(o.a.mark((function e(t){var n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,r=Object(u.a)(t,["id"]),e.abrupt("return",Object(i.a)("/api/ec_years/".concat(n,"/course_results.json"),{method:"get",params:r}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/course_results.xlsx"),t.style.display="none",document.body.appendChild(t)},p=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/get_class.json"),{method:"get"})},f=function(e){var t=e.ec_year_id,n=e.id,r=e.class_name,a=void 0===r?null:r;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/").concat(n,".json"),{method:"get",params:{class_name:a}})},d=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_courses/1/evaluations/compute_all_courses_data?ec_year_id=".concat(t),{method:"post"})},h=function(e){var t=e.ec_course_id;return Object(i.a)("/api/ec_courses/".concat(t,"/evaluations/evaluation_data"),{method:"POST"})},m=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/ec_graduation_results.xlsx"),t.style.display="none",document.body.appendChild(t)},b=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_all"),{method:"post"})},y=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_single?id=").concat(n),{method:"POST"})},v=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results.json"),{method:"get"})},g=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results/get_formulas.json"),{method:"get"})},_=function(e){var t=e.ec_year_id,n=e.formula_one,r=e.formula_two,a=e.formula_three;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_formulas.json?formula_one_id=").concat(n,"&formula_two_id=").concat(r,"&formula_three_id=").concat(a),{method:"PUT"})},x=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/").concat(n,".json"),{method:"get"})},w=function(e){var t=e.ec_year_id,n=e.type,r=e.goal_value,a=Object(u.a)(e,["ec_year_id","type","goal_value"]),o="?type=".concat(n),s={method:"PUT"};return"all"===n&&(o+="&goal_value=".concat(r)),"each"===n&&(s=Object(c.a)(Object(c.a)({},s),{},{body:a})),Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_goal_value").concat(o),s)},j=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/schools/".concat(t,"/ec_majors/get_major_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/ec_major_schools/".concat(t,"/ec_years/get_year_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(e){var t=e.ec_year_id,n=e.school_id;return Object(i.a)("/api/ec_years/".concat(t,"/top_pages.json"),{method:"get",params:{school_id:n}})},E=function(e){var t=e.id,n=e.name;return Object(i.a)("/api/ec_years/1/top_pages/".concat(t,"?name=").concat(n),{method:"PUT"})}},rePB: +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},"rhT+": +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/iterableToArray.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},rjJZ: +/*!********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/not-a-regexp.js ***! + \********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-regexp */"YON3");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},rn5R: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/number-parse-float.js ***! + \**************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/global */"ukPv"),a=n(/*! ../internals/string-trim */"mTKU").trim,o=n(/*! ../internals/whitespaces */"Tfd0"),i=r.parseFloat,c=1/i(o+"-0")!=-1/0;e.exports=c?function(e){var t=a(String(e)),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},rpUR: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.ends-with.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r,a=n(/*! ../internals/export */"MMxC"),o=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f,i=n(/*! ../internals/to-length */"oa35"),c=n(/*! ../internals/not-a-regexp */"rjJZ"),u=n(/*! ../internals/require-object-coercible */"FCfD"),s=n(/*! ../internals/correct-is-regexp-logic */"C7V6"),l=n(/*! ../internals/is-pure */"Zcjx"),p="".endsWith,f=Math.min,d=s("endsWith");a({target:"String",proto:!0,forced:!!(l||d||(r=o(String.prototype,"endsWith"),!r||r.writable))&&!d},{endsWith:function(e){var t=String(u(this));c(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),a=void 0===n?r:f(i(n),r),o=String(e);return p?p.call(t,o,a):t.slice(a-o.length,a)===o}})},rtIu: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.set.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/to-length */"oa35"),o=n(/*! ../internals/to-offset */"nCqj"),i=n(/*! ../internals/to-object */"cTDu"),c=n(/*! ../internals/fails */"MVys"),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){u(this);var t=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),c=a(r.length),s=0;if(c+t>n)throw RangeError("Wrong length");for(;s=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[L]=t,!(e.then((function(){}))instanceof t)})),Q=K||!w((function(e){U.all(e).catch((function(){}))})),J=function(e){var t;return!(!b(e)||"function"!=typeof(t=e.then))&&t},X=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;k((function(){for(var a=t.value,o=1==t.state,i=0;r.length>i;){var c,u,s,l=r[i++],p=o?l.ok:l.fail,f=l.resolve,d=l.reject,h=l.domain;try{p?(o||(2===t.rejection&&te(e,t),t.rejection=1),!0===p?c=a:(h&&h.enter(),c=p(a),h&&(h.exit(),s=!0)),c===l.promise?d(z("Promise-chain cycle")):(u=J(c))?u.call(c,f,d):f(c)):d(a)}catch(e){h&&!s&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&$(e,t)}))}},Z=function(e,t,n){var r,a;Y?((r=V.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},(a=s["on"+e])?a(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},$=function(e,t){O.call(s,(function(){var n,r=t.value;if(ee(t)&&(n=C((function(){G?q.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){O.call(s,(function(){G?q.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(a){e(t,n,a,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,X(e,t,!0))},ae=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw z("Promise can't be resolved itself");var a=J(n);a?k((function(){var r={done:!1};try{a.call(n,ne(ae,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,X(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};K&&(U=function(e){v(this,U,D),y(e),r.call(this);var t=R(this);try{e(ne(ae,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){N(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var n=F(this),r=W(j(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=G?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&X(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=R(e);this.promise=e,this.resolve=ne(ae,e,t),this.reject=ne(re,e,t)},P.f=W=function(e){return e===U||e===o?new a(e):H(e)},u||"function"!=typeof p||(i=p.prototype.then,f(p.prototype,"then",(function(e,t){var n=this;return new U((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof B&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return E(U,B.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:K},{Promise:U}),h(U,D,!1,!0),m(D),o=l(D),c({target:D,stat:!0,forced:K},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:D,stat:!0,forced:u||K},{resolve:function(e){return E(u&&this===o?U:this,e)}}),c({target:D,stat:!0,forced:Q},{all:function(e){var t=this,n=W(t),r=n.resolve,a=n.reject,o=C((function(){var n=y(t.resolve),o=[],i=0,c=1;x(e,(function(e){var u=i++,s=!1;o.push(void 0),c++,n.call(t,e).then((function(e){s||(s=!0,o[u]=e,--c||r(o))}),a)})),--c||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,a=C((function(){var a=y(t.resolve);x(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},s4An: +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},s7vb: +/*!********************************!*\ + !*** ./src/service/restful.ts ***! + \********************************/ +/*! exports provided: getRestful, getRestfulDetail, deleteRestFul */ +/*! exports used: deleteRestFul, getRestful, getRestfulDetail */function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return p}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/utils/fetch */"ErOA");function c(e){return u.apply(this,arguments)}function u(){return(u=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/restfuls.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/restfuls/".concat(t.id,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/restfuls/".concat(t.id,".json"),{method:"delete",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},s8TD: +/*!****************************************!*\ + !*** ./src/components/Exercise/ip.tsx ***! + \****************************************/ +/*! exports provided: findLocalIp */ +/*! exports used: findLocalIp */function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toArray */"Pv/L"),a=(n(/*! antd/es/row/style */"14J3"),n(/*! antd/es/row */"BMrR")),o=(n(/*! antd/es/col/style */"jCWc"),n(/*! antd/es/col */"kPKH")),i=(n(/*! antd/es/modal/style */"2qtc"),n(/*! antd/es/modal */"kLXV")),c=n(/*! react */"q1tI"),u=n.n(c),s=n(/*! @/utils/validate */"dfu6"),l=function(e){return new Promise((function(t,n){if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,void 0===window.RTCPeerConnection)return n("WebRTC not supported by browser");var c=new RTCPeerConnection,l=[];c.createDataChannel(""),c.createOffer().then((function(e){return c.setLocalDescription(e)})).catch((function(e){return n(e)})),c.onicecandidate=function(c){console.log("event:",c);if(!c||!c.candidate){if(console.log("ips",l),0==l.length||!Object(s.a)(l[0])){var p=i.a.info({title:u.a.createElement(a.a,null,u.a.createElement(o.a,{flex:"1"},"提示"),u.a.createElement(o.a,null,u.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return p.destroy()}}))),icon:null,width:500,className:"custom-modal-divider",content:u.a.createElement(a.a,null,u.a.createElement(o.a,null,"当前考试已启用限制考试访问IP(限制公共IP+内网IP)。",("inner"===e.ip_limit||e.ip_bind)&&u.a.createElement(u.a.Fragment,null,u.a.createElement("span",{className:"c-red"},"(只允许在Chrome谷歌浏览器作答,并且需要安装WebRTC Leak Prevent插件)"),u.a.createElement("br",null),u.a.createElement("a",{href:"/forums/4478",target:"_blank"},"如何安装WebRTC Leak Prevent插件?"))))});return n("WebRTC disabled or restricted by browser")}var f=l.filter((function(e){return Object(s.a)(e)}));return f&&f.length?t(f.join("")):n("IP获取失败")}var d=c.candidate.candidate.split(" "),h=Object(r.a)(d),m=h[0],b=h[1],y=h[2],v=h[3],g=h[4],_=h[5],x=h[7],w=h.slice(8);if(console.log("event:",c),l.some((function(e){return e==g}))||l.push(g),console.log(" candidate: "+m.split(":")[1]),console.log(" component: "+["rtp","rtpc"][b-1]),console.log(" protocol: "+y),console.log(" priority: "+v),console.log(" ip: "+g),console.log(" port: "+_),console.log(" type: "+x),w.length){console.log("attributes: ");for(var j=0;j "+w[j]+": "+w[j+1])}}}))}},sFpY: +/*!******************************************************************!*\ + !*** ./node_modules/@umijs/plugin-model/lib/helpers/executor.js ***! + \******************************************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var c=a?Object.getOwnPropertyDescriptor(e,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(/*! react */"q1tI"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}t.default=function(e){var t=e.hook,n=e.onUpdate,r=e.namespace,o=(0,a.useRef)(n);o.current=n;var i,c=(0,a.useRef)(!1);try{i=t()}catch(e){console.error("plugin-model: Invoking '".concat(r||"unknown","' model failed:"),e)}return(0,a.useMemo)((function(){o.current(i),c.current=!1}),[]),(0,a.useEffect)((function(){c.current?o.current(i):c.current=!0})),a.default.createElement(a.default.Fragment,null)}},sPVm: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.expm1.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/math-expm1 */"V61k");r({target:"Math",stat:!0,forced:a!=Math.expm1},{expm1:a})},sdAH: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.math.hypot.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=Math.hypot,o=Math.abs,i=Math.sqrt;r({target:"Math",stat:!0,forced:!!a&&a(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,a=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*i(a)}})},sgqd: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.reflect.delete-property.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/an-object */"f1E4"),o=n(/*! ../internals/object-get-own-property-descriptor */"g8rt").f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=o(a(e),t);return!(n&&!n.configurable)&&delete e[t]}})},ssJt: +/*!*******************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/set-species.js ***! + \*******************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/get-built-in */"29mP"),a=n(/*! ../internals/object-define-property */"YfKC"),o=n(/*! ../internals/well-known-symbol */"2kyd"),i=n(/*! ../internals/descriptors */"tny8"),c=o("species");e.exports=function(e){var t=r(e),n=a.f;i&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},sxOR: +/*!****************************************!*\ + !*** ./node_modules/qs/lib/formats.js ***! + \****************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=String.prototype.replace,a=/%20/g,o="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return r.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:i}},tB8F: +/*!*************************************************!*\ + !*** ./src/.umi-production/umi.ts + 12 modules ***! + \*************************************************/ +/*! exports provided: default */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./src/pages/HttpStatus/404.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/history.ts because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/plugin.ts because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-dva/runtime.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-locale/locale.tsx because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-model/useModel.tsx because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/layouts/Loading.tsx because of ./src/pages/Classrooms/Lists/PlaceholderPage/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/plugin-model/lib/helpers/constant.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/plugin-model/lib/helpers/dispatcher.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/plugin-model/lib/helpers/executor.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/runtime/dist/index.esm.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/moment/moment.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js because of ./src/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"dva",(function(){return p}));var a={};n.r(a),n.d(a,"rootContainer",(function(){return y}));var o={};n.r(o),n.d(o,"rootContainer",(function(){return g}));var i={};n.r(i),n.d(i,"rootContainer",(function(){return T}));n("Xn8V"),n("6spV"),n("wpse"),n("KUpu"),n("8OGu"),n("LtxK"),n("n7Qr"),n("VQRL"),n("SGZ1"),n("nEGZ"),n("IC/V"),n("H8Ov"),n("aHGi"),n("M5u2"),n("0O5u"),n("Xf/b"),n("QpGB"),n("NYJX"),n("CWID"),n("ehAy"),n("mLN8"),n("YJpY"),n("dLjG"),n("fF/C"),n("FbcW"),n("oNMB"),n("+l9e"),n("yxVd"),n("vnQr"),n("5Blz"),n("hilM"),n("v/6r"),n("fDrP"),n("1vuE"),n("Q3OH"),n("IyrG"),n("4rKd"),n("X5kU"),n("maeH"),n("4Mzw"),n("Pp3M"),n("v0/P"),n("CkqQ"),n("5QGz"),n("66pj"),n("JDCn"),n("ls3p"),n("sPVm"),n("AGcU"),n("sdAH"),n("CSFr"),n("GYRj"),n("Bnwu"),n("kP48"),n("NEdc"),n("JnaH"),n("MRpI"),n("EgRx"),n("/8Wl"),n("mMun"),n("oLb5"),n("rS2G"),n("bDgo"),n("eCOq"),n("uVHs"),n("ReSd"),n("pkYH"),n("izsi"),n("lSoN"),n("xtlo"),n("p1ln"),n("ZahQ"),n("nZC5"),n("HjuX"),n("pZem"),n("A9H8"),n("DMUC"),n("B/G0"),n("DVom"),n("v3oe"),n("9zP7"),n("T/5g"),n("rE4C"),n("Sb5z"),n("Pq08"),n("Dyhc"),n("WQuA"),n("y4z8"),n("jhyg"),n("Qqe/"),n("J428"),n("s1ay"),n("Rw1i"),n("quHW"),n("YjZU"),n("uln6"),n("sgqd"),n("zsCH"),n("WIyh"),n("cnT9"),n("D1Ff"),n("WlFw"),n("QxII"),n("NHo6"),n("O9az"),n("b8+j"),n("yIAO"),n("nlPz"),n("2KAr"),n("3dhw"),n("zTPR"),n("m71J"),n("rpUR"),n("EnLX"),n("9/ry"),n("KvPC"),n("z9fm"),n("43iI"),n("mcGr"),n("8DXf"),n("OmS+"),n("rUU2"),n("6cL7"),n("ZDb2"),n("EOz7"),n("JI6M"),n("beyn"),n("A+b4"),n("Yanh"),n("Rbmm"),n("M1bg"),n("9Y4n"),n("yZgL"),n("hwEt"),n("xxWa"),n("R3M+"),n("bkVK"),n("aKgm"),n("PDVC"),n("P84e"),n("AQ/w"),n("3Us1"),n("eP3D"),n("Mn2j"),n("BtTS"),n("yiTY"),n("Uc1W"),n("y36+"),n("gweS"),n("URK0"),n("gVIt"),n("lV6h"),n("waHm"),n("RVXi"),n("Lj+q"),n("IVhM"),n("WU/Z"),n("1jPx"),n("8Lo7"),n("Iw+M"),n("FIIH"),n("p/G/"),n("oat3"),n("BLTA"),n("I5+W"),n("PaaY"),n("JO4c"),n("eDW+"),n("rtIu"),n("jGFG"),n("NId1"),n("IUJg"),n("F1NP"),n("ti1D"),n("NQz/"),n("UHn5"),n("/vMi"),n("nkhd"),n("+u1y"),n("9BQv"),n("Tz1E"),n("U9fH"),n("+4le"),n("jIZW"),n("oYEA"),n("7yTQ"),n("jHRr"),n("Rka6"),n("8Ubs"),n("FK48"),n("Auwt"),n("KAxK"),n("/0sN"),n("VvX1"),n("2aV/"),n("aKtI"),n("VUky"),n("9bAj"),n("xF6R"),n("Dbv2"),n("KHCi"),n("i/DM"),n("hYqy"),n("JXee"),n("+Hw1"),n("FBts"),n("3UWB"),n("S5nV"),n("xD7I"),n("aNdP"),n("UIoa"),n("Osgv"),n("FKIO"),n("Sf9Y"),n("VuYY"),n("ue5M"),n("80Z6"),n("qkSU"),n("xaQh"),n("GPZX"),n("eCow"),n("/R3g"),n("0pSW"),n("85tw"),n("UvYY"),n("DVoG"),n("aLaE"),n("fQri"),n("RDHo"),n("9Rzw"),n("iMhB"),n("/mKc"),n("u6Ie"),n("9znl"),n("+GPJ"),n("haHa"),n("RhWa"),n("PUJJ"),n("YceZ"),n("jksQ"),n("FuvP"),n("Uq4z"),n("+2a4"),n("Gw+j"),n("CO2k"),n("rVgK"),n("ecuC"),n("HQPm"),n("IbaC"),n("s00F"),n("V0Bj"),n("hwEL"),n("d/5L"),n("oJGl"),n("6FCX"),n("OAmA"),n("p6E5"),n("Xxk+"),n("L5O0"),n("bcvT"),n("CRpX"),n("aRU8"),n("p5yU"),n("dnZx"),n("NMu4"),n("5JgN"),n("VWci"),n("FoZm");var c=n("bCY9"),u=(n("miYZ"),n("tsqr")),s=n("wd/R"),l=n.n(s);n("/EoS"),n("4MGa"),n("22qN"),n("YdpX"),n("T5T7"),n("58Ye"),n("OIXA");l.a.locale("ZH-cn");var p={config:{onError:function(e){u.b.error(e.message,3)}}},f=n("L874"),d=n("q1tI"),h=n.n(d),m=n("I5X1");if("function"!=typeof m.a)throw new Error("[plugin-initial-state]: useModel is not a function, @umijs/plugin-model is required.");var b=function(e){var t=e.children,n=Object(d.useRef)(!1),r=(Object(m.a)("@@initialState")||{}).loading,a=void 0!==r&&r;return Object(d.useEffect)((function(){a||(n.current=!0)}),[a]),a&&!n.current?null:t};function y(e){return h.a.createElement(b,null,e)}var v=n("ZW6p");function g(e){return h.a.createElement(v.b,null,e)}var _=n("tJVT"),x=n("7xWI"),w=n.n(x),j=n("sFpY"),O=n.n(j),k=n("FMtG"),E={"@@initialState":function(){return{loading:!1,refresh:function(){}}}},S=new w.a,P=O.a,C=function(e){var t=e.children;return h.a.createElement(k.UmiContext.Provider,{value:S},Object.entries(E).map((function(e){return h.a.createElement(P,{key:e[0],namespace:e[0],hook:e[1],onUpdate:function(t){var n=e,r=Object(_.a)(n,1)[0];S.data[r]=t,S.update(r)}})})),t)};function T(e){return h.a.createElement(C,null,e)}c.a.register({apply:r,path:"E:/gonshi/develops/dev_local_v7_pengcheng/src/app.tsx"}),c.a.register({apply:f,path:"E:/gonshi/develops/dev_local_v7_pengcheng/src/.umi-production/plugin-dva/runtime.tsx"}),c.a.register({apply:a,path:"../plugin-initial-state/runtime"}),c.a.register({apply:o,path:"E:/gonshi/develops/dev_local_v7_pengcheng/src/.umi-production/plugin-locale/runtime.tsx"}),c.a.register({apply:i,path:"../plugin-model/runtime"});var A=n("FfOG"),I=n("LtsZ"),M=n("Ty5D"),L=n("i8i4");n("wx14");function D(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var r=e.path?Object(M.f)(t,e):n.length?n[n.length-1].match:M.c.computeRootMatch(t);return r&&(n.push({route:e,match:r}),e.routes&&D(e.routes,t,n)),r})),n}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}(e,t)||W(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw o}}}}function Y(e){return h.a.createElement(M.e.Consumer,null,(function(t){var n=e.location||t.location,r=e.computedMatch,a=N(N({},t),{},{location:n,match:r}),o=e.render;return h.a.createElement(M.e.Provider,{value:a},a.match?o(N(N({},e.layoutProps),a)):null)}))}var K=["children"];function Q(e){return h.a.createElement(M.e.Consumer,null,(function(t){var n,r=e.children,a=q(e,K),o=e.location||t.location,i=null;return d.Children.forEach(r,(function(e){if(null===i&&Object(d.isValidElement)(e)){n=e;var r=e.props.path||e.props.from;i=r?Object(M.f)(o.pathname,N(N({},e.props),{},{path:r})):t.match}})),i?Object(d.cloneElement)(n,{location:o,computedMatch:i,layoutProps:a}):null}))}var J=["component"];function X(e){var t,n,r,a=e.route,o=e.index,i=e.opts,c={key:a.key||o,exact:a.exact,strict:a.strict,sensitive:a.sensitive,path:a.path};return a.redirect?h.a.createElement(M.a,V({},c,{from:a.path,to:a.redirect})):(!i.ssrProps||i.isServer||(null===(t=a.component)||void 0===t?void 0:t.wrapInitialPropsLoaded)||!(null===(n=a.component)||void 0===n?void 0:n.getInitialProps)&&!(null===(r=a.component)||void 0===r?void 0:r.preload)||(a.component=function(e,t){e.component;var n=q(e,J),r=e.component;function a(a){var o=B(Object(d.useState)((function(){return window.g_initialProps})),2),i=o[0],c=o[1];return Object(d.useEffect)((function(){var o=function(){var o=U(regeneratorRuntime.mark((function o(){var i,u,s,l,p;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(u=r,!r.preload){o.next=6;break}return o.next=4,r.preload();case 4:u=(u=o.sent).default||u;case 6:if(s=N(N({isServer:!1,match:null==a?void 0:a.match,history:null==a?void 0:a.history,route:e},t.getInitialPropsCtx||{}),n),!(null===(i=u)||void 0===i?void 0:i.getInitialProps)){o.next=15;break}return o.next=10,t.plugin.applyPlugins({key:"ssr.modifyGetInitialPropsCtx",type:I.a.modify,initialValue:s,async:!0});case 10:return l=o.sent,o.next=13,u.getInitialProps(l||s);case 13:p=o.sent,c(p);case 15:case"end":return o.stop()}}),o)})));return function(){return o.apply(this,arguments)}}();window.g_initialProps||o()}),[window.location.pathname,window.location.search]),h.a.createElement(r,V({},a,i))}return a.wrapInitialPropsLoaded=!0,a.displayName="ComponentWithInitialPropsFetch",a}(a,i)),h.a.createElement(Y,V({},c,{render:function(e){return function(e){var t=e.route,n=e.opts,r=e.props,a=Z(N(N({},n),{},{routes:t.routes||[],rootRoutes:n.rootRoutes}),{location:r.location}),o=t.component,i=t.wrappers;if(o){var c=n.isServer?{}:window.g_initialProps,u=N(N(N(N({},r),n.extraProps),n.pageInitialProps||c),{},{route:t,routes:n.rootRoutes}),s=h.a.createElement(o,u,a);if(i)for(var l=i.length-1;l>=0;)s=Object(d.createElement)(i[l],u,s),l-=1;return s}return a}({route:a,opts:i,props:e})}})))}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.routes?h.a.createElement(Q,t,e.routes.map((function(t,n){return X({route:t,index:n,opts:N(N({},e),{},{rootRoutes:e.rootRoutes||e.routes})})}))):null}var $=["history"];function ee(e){var t=e.history,n=q(e,$);return Object(d.useEffect)((function(){function r(t,r){var a=D(e.routes,t.pathname);"undefined"!=typeof document&&void 0!==n.defaultTitle&&(document.title=a.length&&a[a.length-1].route.title||n.defaultTitle||""),e.plugin.applyPlugins({key:"onRouteChange",type:I.a.event,args:{routes:e.routes,matchedRoutes:a,location:t,action:r}})}return window.g_useSSR&&(window.g_initialProps=null),r(t.location,"POP"),t.listen(r)}),[t]),h.a.createElement(M.c,{history:t},Z(n))}function te(e){return ne.apply(this,arguments)}function ne(){return(ne=U(regeneratorRuntime.mark((function e(t){var n,r,a,o,i,c,u,s,l=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=l.length>1&&void 0!==l[1]?l[1]:window.location.pathname,r=D(t,n),a=G(r),e.prev=3,a.s();case 5:if((o=a.n()).done){e.next=19;break}if(c=o.value,"string"==typeof(u=c.route).component||!(null===(i=u.component)||void 0===i?void 0:i.preload)){e.next=13;break}return e.next=11,u.component.preload();case 11:s=e.sent,u.component=s.default||s;case 13:if(!u.routes){e.next=17;break}return e.next=16,te(u.routes,n);case 16:u.routes=e.sent;case 17:e.next=5;break;case 19:e.next=24;break;case 21:e.prev=21,e.t0=e.catch(3),a.e(e.t0);case 24:return e.prev=24,a.f(),e.finish(24);case 27:return e.abrupt("return",t);case 28:case"end":return e.stop()}}),e,null,[[3,21,24,27]])})))).apply(this,arguments)}function re(e){var t=e.plugin.applyPlugins({type:I.a.modify,key:"rootContainer",initialValue:h.a.createElement(ee,{history:e.history,routes:e.routes,plugin:e.plugin,ssrProps:e.ssrProps,defaultTitle:e.defaultTitle}),args:{history:e.history,routes:e.routes,plugin:e.plugin}});if(!e.rootElement)return t;var n="string"==typeof e.rootElement?document.getElementById(e.rootElement):e.rootElement,r=e.callback||function(){};window.g_useSSR?e.dynamicImport?te(e.routes).then((function(){Object(L.hydrate)(t,n,r)})):Object(L.hydrate)(t,n,r):Object(L.render)(t,n,r)}var ae=n("ltSN");function oe(){var e=[{path:"/",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__index */[n.e(0),n.e(3),n.e(10),n.e(13),n.e(24)]).then(n.bind(null,/*! @/layouts/index */"+ego"))},loading:ae.a}),routes:[{path:"/paperlibrary",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/paperlibrary",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(173)]).then(n.bind(null,/*! @/pages/Paperlibrary/index */"Ynr3"))},loading:ae.a}),exact:!0},{path:"/paperlibrary/see/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__See__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(172)]).then(n.bind(null,/*! @/pages/Paperlibrary/See/index */"VN4U"))},loading:ae.a}),exact:!0},{path:"/paperlibrary/edit/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Edit__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(167)]).then(n.bind(null,/*! @/pages/Paperlibrary/Edit/index */"DXt6"))},loading:ae.a}),exact:!0},{path:"/paperlibrary/edit_select/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(183)]).then(n.bind(null,/*! @/pages/Problemset/index */"JUtD"))},loading:ae.a}),exact:!0}]},{path:"/paths",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/paths",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__Index */[n.e(0),n.e(1),n.e(2),n.e(10),n.e(177)]).then(n.bind(null,/*! @/pages/Paths/Index */"fEdH"))},loading:ae.a}),exact:!0},{path:"/paths/higherVocationalEducation",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__HigherVocationalEducation__index */[n.e(0),n.e(176)]).then(n.bind(null,/*! @/pages/Paths/HigherVocationalEducation/index */"aPPP"))},loading:ae.a}),exact:!0},{path:"/paths/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__New */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(178)]).then(n.bind(null,/*! @/pages/Paths/New */"X8EC"))},loading:ae.a}),exact:!0},{path:"/paths/guidance",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Guidance */[n.e(0),n.e(5),n.e(7),n.e(150)]).then(n.bind(null,/*! @/pages/Guidance */"ObO0"))},loading:ae.a}),exact:!0},{path:"/paths/:pathId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__Detail__id */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(175)]).then(n.bind(null,/*! @/pages/Paths/Detail/[id] */"AZ8Y"))},loading:ae.a}),exact:!0},{path:"/paths/:pathId/statistics",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__Detail__Statistics */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(174)]).then(n.bind(null,/*! @/pages/Paths/Detail/Statistics */"NLfx"))},loading:ae.a}),exact:!0},{path:"/paths/:pathId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paths__New */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(178)]).then(n.bind(null,/*! @/pages/Paths/New */"X8EC"))},loading:ae.a}),exact:!0}]},{path:"/classrooms",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/classrooms",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Index */[n.e(0),n.e(9),n.e(10),n.e(38)]).then(n.bind(null,/*! @/pages/Classrooms/Index */"OLqU"))},loading:ae.a}),exact:!0},{path:"/classrooms/examList",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__ExamList__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(37)]).then(n.bind(null,/*! @/pages/Classrooms/ExamList/index */"KBoB"))},loading:ae.a}),exact:!0},{path:"/classrooms/classicCases",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__ClassicCases__index */[n.e(0),n.e(36)]).then(n.bind(null,/*! @/pages/Classrooms/ClassicCases/index */"VHPi"))},loading:ae.a}),exact:!0},{path:"/classrooms/index",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Index */[n.e(0),n.e(9),n.e(10),n.e(38)]).then(n.bind(null,/*! @/pages/Classrooms/Index */"OLqU"))},loading:ae.a}),exact:!0},{path:"/classrooms/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__New */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(115)]).then(n.bind(null,/*! @/pages/Classrooms/New */"PDLG"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__New */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(115)]).then(n.bind(null,/*! @/pages/Classrooms/New */"PDLG"))},loading:ae.a}),exact:!0},{path:"/classrooms/news/:subjectid/newgold/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__New__StartClass */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(116)]).then(n.bind(null,/*! @/pages/Classrooms/New/StartClass */"GpDF"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/newgolds/settings",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__New__StartClass */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(116)]).then(n.bind(null,/*! @/pages/Classrooms/New/StartClass */"GpDF"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(94)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/CodeReview/Detail/index */"OipY"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(95)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index */"TS7/"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(92)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index */"5gs/"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(93)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/Commitsummary/index */"Q16u"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Detail__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(78)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/Detail/index */"gbAR"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Detail__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(48)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/Detail/index */"J44v"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Review__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(51)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/Review/index */"isY5"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(81)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/Review/index */"Sdqs"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(82)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index */"Yoi/"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(79)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index */"5K9Z"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(60)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail */"1h7y"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(61)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Detail/index */"JNOM"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(183)]).then(n.bind(null,/*! @/pages/Problemset/index */"JUtD"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(59)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Answer/index */"MvOs"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(64)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index */"cQPA"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(62)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Edit/index */"E7pt"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Random__ExerciseEdit__index */[n.e(0),n.e(1),n.e(2),n.e(170)]).then(n.bind(null,/*! @/pages/Paperlibrary/Random/ExerciseEdit/index */"zytX"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(171)]).then(n.bind(null,/*! @/pages/Paperlibrary/Random/PreviewEdit/index */"sDPU"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[n.e(0),n.e(4),n.e(3),n.e(16),n.e(57)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Add/index */"0yVv"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(65)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index */"E2MH"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Review__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(66)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Review/index */"zrbX"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export/:userId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(63)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Export/index */"mrIW"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Export__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(63)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/Export/index */"mrIW"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(74)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Topics/Detail/index */"b7x8"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(73)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Topics/Add/index */"3Rgl"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(75)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Topics/Edit/index */"vKdk"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(69)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Tasks/Add/index */"/P1P"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(71)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Tasks/Edit/index */"c5ks"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(70)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Tasks/Detail/index */"6UeF"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(47)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/Add/index */"gnOq"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(50)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/Edit/index */"to1l"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__SubmitWork__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(52)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/SubmitWork/index */"qduV"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__EditWork__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(49)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/EditWork/index */"yBfY"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(77)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/Add/index */"tt94"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(80)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/Edit/index */"99tC"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(87)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/Add/index */"pFvy"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(90)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/Edit/index */"0eFd"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Detail__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(89)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/Detail/index */"JHUA"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__Answer__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(88)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/Answer/index */"5b1O"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Board__Add__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(43)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Board/Add/index */"KI3f"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Board__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(45)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Board/Edit/index */"5aFj"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Board__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(44)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Board/Detail/index */"0A3i"))},loading:ae.a}),exact:!0},{path:"/classrooms/:courseId/template/:templateId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Template__teacher__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(109)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Template/teacher/index */"saVb"))},loading:ae.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Template__student__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(108)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Template/student/index */"rrYs"))},loading:ae.a}),exact:!0},{path:"/classrooms/guidance",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Guidance */[n.e(0),n.e(5),n.e(7),n.e(150)]).then(n.bind(null,/*! @/pages/Guidance */"ObO0"))},loading:ae.a}),exact:!0},{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Template__detail__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(106)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Template/detail/index */"65Jc"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__AnswerCheck__index */[n.e(0),n.e(4),n.e(6),n.e(17),n.e(58)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/AnswerCheck/index */"gctT"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/Studentdetail/:login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentDetail */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(98)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/StudentDetail */"TljI"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__ShixunDetail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(22)]).then(n.bind(null,/*! @/layouts/ShixunDetail/index */"NRst"))},loading:ae.a}),routes:[{path:"/classrooms/:coursesId/shixun_homework/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(96)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/index */"cgge"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/shixun_homework",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(96)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ShixunHomeworks/index */"cgge"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_topics/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Topics__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(76)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Topics/index */"xBOz"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(72)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Tasks/index */"qAxr"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Graduation__Tasks__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(72)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Graduation/Tasks/index */"qAxr"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(67)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/index */"NO2p"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exercise",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(67)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Exercise/index */"NO2p"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(91)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/index */"A06Q"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/poll",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Polls__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(91)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Polls/index */"A06Q"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(53)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/index */"hIhZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/common_homework",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CommonHomework__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(53)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CommonHomework/index */"hIhZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(83)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/index */"2doZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/group_homework",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(83)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/GroupHomework/index */"2doZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/teachers",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Teachers */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(105)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Teachers */"L/F1"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/students",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Students */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(104)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Students */"KsYo"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/attendance",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(42)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Attendance/index */"VmvX"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(42)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Attendance/index */"VmvX"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Attendance__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(41)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Attendance/Detail/index */"kvwo"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/announcement",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(39)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Announcement/index */"kHcA"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/announcement/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Announcement__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(39)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Announcement/index */"kHcA"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(85)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/OnlineLearning/index */"ADTG"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/online_learning/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__OnlineLearning__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(85)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/OnlineLearning/index */"ADTG"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/attachment/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(40)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Attachment/index */"QGk1"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/attachment",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Attachment__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(40)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Attachment/index */"QGk1"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(114)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/index */"iVQj"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(114)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/index */"iVQj"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(112)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/Statistics/index */"5vIh"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video/:username/upload",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__Upload__index */[n.e(0),n.e(6),n.e(11),n.e(113)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/Upload/index */"1v2r"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(110)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/Statistics/Detail/index */"XeVE"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/live_video/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(84)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/LiveVideo/index */"dxBZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/live_video",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__LiveVideo__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(84)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/LiveVideo/index */"dxBZ"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Video__Statistics__StudentDetail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(111)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Video/Statistics/StudentDetail/index */"QLuO"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/board/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(46)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Board/index */"KRdP"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/board",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Board__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(46)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Board/index */"KRdP"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/course_group",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(55)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CourseGroup/List/index */"VQsq"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__List__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(55)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CourseGroup/List/index */"VQsq"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/course_group/:categoryId/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(54)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CourseGroup/Detail/index */"zr3n"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(56)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CourseGroup/NotList/index */"sl2e"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/not_course_group",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__CourseGroup__NotList__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(56)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/CourseGroup/NotList/index */"sl2e"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(103)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/index */"bTuv"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/statistics/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(103)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/index */"bTuv"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/statistics_video/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__VideoStatistics__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(102)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/VideoStatistics/index */"CQHe"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/statistics_quality/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StatisticsQuality__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(97)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/StatisticsQuality/index */"CfqN"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(100)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/index */"G1O7"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(99)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/StudentStatistics/Detail/index */"w+VK"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Statistics__StudentVideo__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(101)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Statistics/StudentVideo/index */"cfGd"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId/exportlist/:type",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__ExportList__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(68)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/ExportList/index */"9Bz6"))},loading:ae.a}),exact:!0},{path:"/classrooms/:courseId/template",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Classrooms__Lists__Template__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(107)]).then(n.bind(null,/*! @/pages/Classrooms/Lists/Template/index */"aQrL"))},loading:ae.a}),exact:!0},{path:"/classrooms/:coursesId",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__Classrooms__Lists__PlaceholderPage */86).then(n.bind(null,/*! @/pages/Classrooms/Lists/PlaceholderPage */"gb4D"))},loading:ae.a}),exact:!0}]}]},{path:"/competitions",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/competitions/index",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(122)]).then(n.bind(null,/*! @/pages/Competitions/Index */"QgcY"))},loading:ae.a}),exact:!0},{path:"/competitions/exports",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Exports__ */[n.e(0),n.e(9),n.e(18),n.e(121)]).then(n.bind(null,/*! @/pages/Competitions/Exports/ */"tYMO"))},loading:ae.a}),exact:!0},{path:"/competitions",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(122)]).then(n.bind(null,/*! @/pages/Competitions/Index */"QgcY"))},loading:ae.a}),exact:!0},{path:"/competitions/index/:identifier",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Detail */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(118)]).then(n.bind(null,/*! @/pages/Competitions/Detail */"GRO8"))},loading:ae.a}),exact:!0},{path:"/competitions/index/:identifier/enroll",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Entered */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(119)]).then(n.bind(null,/*! @/pages/Competitions/Entered */"Hm3h"))},loading:ae.a}),exact:!0},{path:"/competitions/index/:identifier/UpdateTeanname/:Teannameid",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Update */[n.e(0),n.e(3),n.e(15),n.e(123)]).then(n.bind(null,/*! @/pages/Competitions/Update */"jmm4"))},loading:ae.a}),exact:!0},{path:"/competitions/index/:identifier/teamDetail/:Teamid",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(120)]).then(n.bind(null,/*! @/pages/Competitions/Entered/Assembly/TeamDateil */"mKwH"))},loading:ae.a}),exact:!0}]},{path:"/forums",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/forums",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__Forums__Index__redirect */146).then(n.bind(null,/*! @/pages/Forums/Index/redirect */"Ij5S"))},loading:ae.a}),exact:!0},{path:"/forums/categories/:memoType",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__Index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(145)]).then(n.bind(null,/*! @/pages/Forums/Index */"IeBn"))},loading:ae.a}),exact:!0},{path:"/forums/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__New */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(147)]).then(n.bind(null,/*! @/pages/Forums/New */"CKgm"))},loading:ae.a}),exact:!0},{path:"/forums/:memoId/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__New */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(147)]).then(n.bind(null,/*! @/pages/Forums/New */"CKgm"))},loading:ae.a}),exact:!0},{path:"/forums/:memoId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__Detail */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(144)]).then(n.bind(null,/*! @/pages/Forums/Detail */"zeoU"))},loading:ae.a}),exact:!0},{path:"/forums/subject/:plateMainId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__Subject */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(148)]).then(n.bind(null,/*! @/pages/Forums/Subject */"Zz01"))},loading:ae.a}),exact:!0},{path:"/forums/accounts/:login/:key",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Forums__User */[n.e(0),n.e(3),n.e(6),n.e(149)]).then(n.bind(null,/*! @/pages/Forums/User */"lt96"))},loading:ae.a}),exact:!0}]},{path:"/problemset",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/problemset",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(183)]).then(n.bind(null,/*! @/pages/Problemset/index */"JUtD"))},loading:ae.a}),exact:!0},{path:"/problemset/newitem",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__NewItem__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(180)]).then(n.bind(null,/*! @/pages/Problemset/NewItem/index */"0dNJ"))},loading:ae.a}),exact:!0},{path:"/problemset/:type/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__NewItem__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(180)]).then(n.bind(null,/*! @/pages/Problemset/NewItem/index */"0dNJ"))},loading:ae.a}),exact:!0},{path:"/problemset/preview",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__Preview__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(182)]).then(n.bind(null,/*! @/pages/Problemset/Preview/index */"DaK5"))},loading:ae.a}),exact:!0},{path:"/problemset/preview_new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__Preview__New__index */[n.e(0),n.e(3),n.e(16),n.e(181)]).then(n.bind(null,/*! @/pages/Problemset/Preview/New/index */"JA47"))},loading:ae.a}),exact:!0},{path:"/problemset/preview_select",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problemset__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(183)]).then(n.bind(null,/*! @/pages/Problemset/index */"JUtD"))},loading:ae.a}),exact:!0}]},{path:"/shixuns",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/shixuns",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Index */[n.e(0),n.e(1),n.e(2),n.e(10),n.e(221)]).then(n.bind(null,/*! @/pages/Shixuns/Index */"VgI9"))},loading:ae.a}),exact:!0},{path:"/shixuns/exports",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Exports */[n.e(0),n.e(5),n.e(7),n.e(18),n.e(220)]).then(n.bind(null,/*! @/pages/Shixuns/Exports */"kzkF"))},loading:ae.a}),exact:!0},{path:"/shixuns/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__New */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(222)]).then(n.bind(null,/*! @/pages/Shixuns/New */"dugo"))},loading:ae.a}),exact:!0},{path:"/shixuns/new/CreateImg",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__New__CreateImg */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(223)]).then(n.bind(null,/*! @/pages/Shixuns/New/CreateImg */"qK93"))},loading:ae.a}),exact:!0},{path:"/shixuns/new/:id/imagepreview",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__New__ImagePreview */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(224)]).then(n.bind(null,/*! @/pages/Shixuns/New/ImagePreview */"iJb0"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/Merge",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Merge__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(204)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Merge/index */"U2tx"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(212)]).then(n.bind(null,/*! @/pages/Shixuns/Edit */"WO9J"))},loading:ae.a}),routes:[{path:"/shixuns/:id/edit/shixuns/:id/edit/warehouse",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Warehouse */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(219)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Warehouse */"ch0t"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/newquestion",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(217)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/NewQuestion */"5v/u"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(215)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion */"UeE2"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(215)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/EditQuestion */"UeE2"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(216)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice */"Ly88"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__NewPractice */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(216)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/NewPractice */"Ly88"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=2",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(214)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeSetting */"xdT8"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=3",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(213)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/EditPracticeAnswer */"389U"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/edit/:challengesId/tab=4",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Edit__body__Level__Challenges__RankingSetting */[n.e(0),n.e(218)]).then(n.bind(null,/*! @/pages/Shixuns/Edit/body/Level/Challenges/RankingSetting */"/hLF"))},loading:ae.a}),exact:!0}]},{path:"/shixuns/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__id */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(211)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/[id] */"Nv+3"))},loading:ae.a}),routes:[{path:"/shixuns/:id/challenges",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__index */[n.e(0),n.e(4),n.e(5),n.e(6),n.e(199)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/index */"HTtE"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/newquestion",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__NewQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(197)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/NewQuestion */"wxaI"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__EditQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(195)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/EditQuestion */"kvPc"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editquestion/:questionId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__EditQuestion */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(195)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/EditQuestion */"kvPc"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/new",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__NewPractice */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(196)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/NewPractice */"dNgX"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/editcheckpoint",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__NewPractice */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(196)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/NewPractice */"dNgX"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=2",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__EditPracticeSetting */[n.e(0),n.e(1),n.e(2),n.e(9),n.e(194)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/EditPracticeSetting */"Yczt"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=3",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__EditPracticeAnswer */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(193)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/EditPracticeAnswer */"5EEG"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/challenges/:challengesId/tab=4",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Challenges__RankingSetting */[n.e(0),n.e(9),n.e(198)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Challenges/RankingSetting */"mWt4"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/repository",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[n.e(0),n.e(4),n.e(1),n.e(6),n.e(209)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/index */"C8/M"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/secret_repository",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[n.e(0),n.e(4),n.e(1),n.e(6),n.e(209)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/index */"C8/M"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/collaborators",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Collaborators__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(200)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Collaborators/index */"FMhn"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/dataset",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Dataset__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(201)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Dataset/index */"SYY+"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/shixun_discuss",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Discuss__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(202)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Discuss/index */"cx3v"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/ranking_list",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__RankingList__index */[n.e(0),n.e(4),n.e(6),n.e(9),n.e(205)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/RankingList/index */"LiYo"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/settings",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Settings__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(210)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Settings/index */"2WWx"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/repository/:repoId/commits",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[n.e(0),n.e(4),n.e(6),n.e(9),n.e(207)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/Commit/index */"gCRP"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/secret_repository/:repoId/commits",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__Commit__index */[n.e(0),n.e(4),n.e(6),n.e(9),n.e(207)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/Commit/index */"gCRP"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/repository/upload_file",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[n.e(0),n.e(6),n.e(208)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/UploadFile/index */"wXW8"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/secret_repository/upload_file",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__UploadFile__index */[n.e(0),n.e(6),n.e(208)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/UploadFile/index */"wXW8"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/repository/add_file",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[n.e(0),n.e(1),n.e(2),n.e(206)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/AddFile/index */"baNF"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/secret_repository/add_file",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__AddFile__index */[n.e(0),n.e(1),n.e(2),n.e(206)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/AddFile/index */"baNF"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[n.e(0),n.e(4),n.e(1),n.e(6),n.e(209)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/index */"C8/M"))},loading:ae.a})},{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__Repository__index */[n.e(0),n.e(4),n.e(1),n.e(6),n.e(209)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/Repository/index */"C8/M"))},loading:ae.a})},{path:"/shixuns/:id/audit_situation",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__AuditSituation__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(192)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/AuditSituation/index */"VllQ"))},loading:ae.a}),exact:!0},{path:"/shixuns/:id/fork_list",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Shixuns__Detail__ForkList__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(203)]).then(n.bind(null,/*! @/pages/Shixuns/Detail/ForkList/index */"e2kQ"))},loading:ae.a}),exact:!0}]}]},{path:"/users",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/users/:username/videos/upload",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Videos__Upload__index */[n.e(0),n.e(3),n.e(6),n.e(11),n.e(252)]).then(n.bind(null,/*! @/pages/User/Detail/Videos/Upload/index */"kryb"))},loading:ae.a}),exact:!0},{path:"/users/:username/videos/protocol",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Videos__Protocol__index */[n.e(0),n.e(3),n.e(250)]).then(n.bind(null,/*! @/pages/User/Detail/Videos/Protocol/index */"MvYd"))},loading:ae.a}),exact:!0},{path:"/users/:username/videos/success",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Videos__Success__index */[n.e(0),n.e(3),n.e(251)]).then(n.bind(null,/*! @/pages/User/Detail/Videos/Success/index */"p0R4"))},loading:ae.a}),exact:!0},{path:"/users/:username/topicbank/:topicstype",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(248)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/index */"ZgjG"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(241)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Detail/index */"VdzU"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Detail__index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(241)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Detail/index */"VdzU"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/normal/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Normal__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(245)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Normal/index */"R7cW"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/group/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Group__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(244)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Group/index */"6xqJ"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(243)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Exercise/Edit/index */"pr0Y"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Exercise__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(242)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Exercise/Detail/index */"NcEG"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(247)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Poll/Edit/index */"VSi8"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicId/:topictype/poll/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__Poll__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(246)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/Poll/Detail/index */"/OCd"))},loading:ae.a}),exact:!0},{path:"/users/:username",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__id */[n.e(0),n.e(3),n.e(254)]).then(n.bind(null,/*! @/pages/User/Detail/[id] */"bp/9"))},loading:ae.a}),routes:[{path:"/users/:username",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(228)]).then(n.bind(null,/*! @/pages/User/Detail/Classrooms/index */"NQ7k"))},loading:ae.a}),exact:!0},{path:"/users/:username/classrooms",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Classrooms__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(228)]).then(n.bind(null,/*! @/pages/User/Detail/Classrooms/index */"NQ7k"))},loading:ae.a}),exact:!0},{path:"/users/:username/shixuns",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Shixuns__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(239)]).then(n.bind(null,/*! @/pages/User/Detail/Shixuns/index */"0eau"))},loading:ae.a}),exact:!0},{path:"/users/:username/userPortrait",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__UserPortrait__index */[n.e(0),n.e(4),n.e(9),n.e(249)]).then(n.bind(null,/*! @/pages/User/Detail/UserPortrait/index */"Yej6"))},loading:ae.a}),exact:!0},{path:"/users/:username/learningPath",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__LearningPath__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(231)]).then(n.bind(null,/*! @/pages/User/Detail/LearningPath/index */"NFd+"))},loading:ae.a}),exact:!0},{path:"/users/:username/teach-group",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__TeachGroup__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(240)]).then(n.bind(null,/*! @/pages/User/Detail/TeachGroup/index */"UK/q"))},loading:ae.a}),exact:!0},{path:"/users/:username/experiment-img",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__ExperImentImg__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(230)]).then(n.bind(null,/*! @/pages/User/Detail/ExperImentImg/index */"03Vo"))},loading:ae.a}),exact:!0},{path:"/users/:username/experiment-img/:experid/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__ExperImentImg__Detail__index */[n.e(0),n.e(5),n.e(7),n.e(229)]).then(n.bind(null,/*! @/pages/User/Detail/ExperImentImg/Detail/index */"CF0a"))},loading:ae.a}),exact:!0},{path:"/users/:username/certificate",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Certificate__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(227)]).then(n.bind(null,/*! @/pages/User/Detail/Certificate/index */"Oe6r"))},loading:ae.a}),exact:!0},{path:"/users/:username/otherResources",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__OtherResources__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(236)]).then(n.bind(null,/*! @/pages/User/Detail/OtherResources/index */"epD4"))},loading:ae.a}),exact:!0},{path:"/users/:username/paths",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Paths__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(237)]).then(n.bind(null,/*! @/pages/User/Detail/Paths/index */"2nTg"))},loading:ae.a}),exact:!0},{path:"/users/:username/projects",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Projects__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(238)]).then(n.bind(null,/*! @/pages/User/Detail/Projects/index */"T+0Y"))},loading:ae.a}),exact:!0},{path:"/users/:username/videos",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Videos__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(253)]).then(n.bind(null,/*! @/pages/User/Detail/Videos/index */"XxMO"))},loading:ae.a}),exact:!0},{path:"/users/:username/topics/:topicstype",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Topics__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(248)]).then(n.bind(null,/*! @/pages/User/Detail/Topics/index */"ZgjG"))},loading:ae.a}),exact:!0},{path:"/users/:username/vspaces",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__virtualSpaces__index */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(255)]).then(n.bind(null,/*! @/pages/User/Detail/virtualSpaces/index */"jjXQ"))},loading:ae.a}),exact:!0}]}]},{path:"/problems",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__index */[n.e(0),n.e(3),n.e(10),n.e(13),n.e(24)]).then(n.bind(null,/*! @/layouts/index */"+ego"))},loading:ae.a}),routes:[{path:"/problems/:id/edit",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problems__OjForm__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(179)]).then(n.bind(null,/*! @/pages/Problems/OjForm/index */"PHyj"))},loading:ae.a})},{path:"/problems/new",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Problems__OjForm__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(179)]).then(n.bind(null,/*! @/pages/Problems/OjForm/index */"PHyj"))},loading:ae.a})},{path:"/problems/:id/oj/:save_identifier",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__OjProblem */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(187)]).then(n.bind(null,/*! @/pages/Question/OjProblem */"W7jJ"))},loading:ae.a}),exact:!0},{path:"/problems/:id/record-detail/:submitId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__OjProblem__RecordDetail */[n.e(0),n.e(5),n.e(7),n.e(20),n.e(188)]).then(n.bind(null,/*! @/pages/Question/OjProblem/RecordDetail */"OPwS"))},loading:ae.a}),exact:!0},{path:"/problems/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__AddOrEdit */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(184)]).then(n.bind(null,/*! @/pages/Question/AddOrEdit */"rWjI"))},loading:ae.a}),exact:!0},{path:"/problems/:id/ojedit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__AddOrEdit */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(184)]).then(n.bind(null,/*! @/pages/Question/AddOrEdit */"rWjI"))},loading:ae.a}),exact:!0},{path:"/problems",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/problems",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__Index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(186)]).then(n.bind(null,/*! @/pages/Question/Index */"y3Jh"))},loading:ae.a}),exact:!0},{path:"/problems/batchAdd",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Question__AddOrEdit__BatchAdd */[n.e(0),n.e(6),n.e(185)]).then(n.bind(null,/*! @/pages/Question/AddOrEdit/BatchAdd */"pSk9"))},loading:ae.a}),exact:!0}]}]},{path:"/engineering",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/engineering",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering */[n.e(0),n.e(3),n.e(127)]).then(n.bind(null,/*! @/pages/Engineering */"as6h"))},loading:ae.a}),routes:[{path:"/engineering/teacherList",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__TeacherList */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(136)]).then(n.bind(null,/*! @/pages/Engineering/Lists/TeacherList */"dRIv"))},loading:ae.a}),exact:!0},{path:"/engineering/studentList",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__StudentList */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(135)]).then(n.bind(null,/*! @/pages/Engineering/Lists/StudentList */"FAcQ"))},loading:ae.a}),exact:!0},{path:"/engineering/trainingProgram",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(138)]).then(n.bind(null,/*! @/pages/Engineering/Lists/TrainingProgram */"mUbb"))},loading:ae.a}),exact:!0},{path:"/engineering/trainingProgram/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Add */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(139)]).then(n.bind(null,/*! @/pages/Engineering/Lists/TrainingProgram/Add */"BfvP"))},loading:ae.a}),exact:!0},{path:"/engineering/trainingProgram/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__TrainingProgram__Edit */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(140)]).then(n.bind(null,/*! @/pages/Engineering/Lists/TrainingProgram/Edit */"AG+i"))},loading:ae.a}),exact:!0},{path:"/engineering/trainingObjectives",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__TrainingObjectives */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(137)]).then(n.bind(null,/*! @/pages/Engineering/Lists/TrainingObjectives */"bnOO"))},loading:ae.a}),exact:!0},{path:"/engineering/graduationindex",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__GraduationIndex */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(134)]).then(n.bind(null,/*! @/pages/Engineering/Lists/GraduationIndex */"g9Gb"))},loading:ae.a}),exact:!0},{path:"/engineering/graduatedMatrix",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__GraduatedMatrix */[n.e(0),n.e(1),n.e(2),n.e(10),n.e(133)]).then(n.bind(null,/*! @/pages/Engineering/Lists/GraduatedMatrix */"DAqD"))},loading:ae.a}),exact:!0},{path:"/engineering/courseList",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__CourseList */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(130)]).then(n.bind(null,/*! @/pages/Engineering/Lists/CourseList */"mMz9"))},loading:ae.a}),exact:!0},{path:"/engineering/cursesetting",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__CurseSetting */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(132)]).then(n.bind(null,/*! @/pages/Engineering/Lists/CurseSetting */"5hVI"))},loading:ae.a}),exact:!0},{path:"/engineering/courseMatrix",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Lists__CourseMatrix */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(131)]).then(n.bind(null,/*! @/pages/Engineering/Lists/CourseMatrix */"3ICd"))},loading:ae.a}),exact:!0},{path:"/engineering/navigation",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Navigation__Home */[n.e(0),n.e(1),n.e(2),n.e(141)]).then(n.bind(null,/*! @/pages/Engineering/Navigation/Home */"zOaB"))},loading:ae.a}),exact:!0},{path:"/engineering/evaluate/course",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Evaluate__List */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(129)]).then(n.bind(null,/*! @/pages/Engineering/Evaluate/List */"b8A+"))},loading:ae.a}),exact:!0},{path:"/engineering/evaluate/course/:ec_year_id/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Evaluate__Detail */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(128)]).then(n.bind(null,/*! @/pages/Engineering/Evaluate/Detail */"3+U2"))},loading:ae.a}),exact:!0},{path:"/engineering/evaluate/norm",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Engineering__Norm__List */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(143)]).then(n.bind(null,/*! @/pages/Engineering/Norm/List */"M7eO"))},loading:ae.a}),exact:!0},{path:"/engineering/evaluate/norm/:ec_year_id/:id",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__Engineering__Norm__Detail */142).then(n.bind(null,/*! @/pages/Engineering/Norm/Detail */"4rn5"))},loading:ae.a}),exact:!0},{path:"/engineering/*",redirect:"/404",exact:!0}]}]},{path:"/vspaces",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/vspaces",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Index */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(266)]).then(n.bind(null,/*! @/pages/virtualSpaces/Index */"A0re"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/syllabuses/add",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(273)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit */"gHQ5"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/syllabuses/:id/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__AddOrEdit */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(273)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Syllabuses/AddOrEdit */"gHQ5"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__virtualDetail__index */[n.e(0),n.e(6),n.e(14),n.e(26)]).then(n.bind(null,/*! @/layouts/virtualDetail/index */"GY4K"))},loading:ae.a}),routes:[{path:"/vspaces/:virtual_spacesId/syllabuses",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(275)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Syllabuses/index */"Zxkz"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/syllabuses/:id/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Syllabuses__Detail */[n.e(0),n.e(5),n.e(7),n.e(274)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Syllabuses/Detail */"sUF3"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/courses",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Course__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(268)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Course/index */"vJub"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/shixuns",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Shixuns__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(272)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Shixuns/index */"khc3"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/videos",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(277)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Video/index */"+Ee2"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/videos/:username/upload",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Video__Upload__index */[n.e(0),n.e(6),n.e(11),n.e(276)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Video/Upload/index */"/heT"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/members",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Member__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(270)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Member/index */"1QoP"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/notices",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Notices__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(271)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Notices/index */"s/Zd"))},loading:ae.a}),exact:!0},{path:"/vspaces/:virtual_spacesId/managements",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__virtualSpaces__Lists__Managements__index */[n.e(0),n.e(6),n.e(14),n.e(269)]).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Managements/index */"v6re"))},loading:ae.a}),exact:!0},{path:"/vspaces/*",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__virtualSpaces__Lists__Construction__index */267).then(n.bind(null,/*! @/pages/virtualSpaces/Lists/Construction/index */"1iAk"))},loading:ae.a}),exact:!0}]}]},{path:"/course",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/course",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Course__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(124)]).then(n.bind(null,/*! @/pages/Course/index */"L39O"))},loading:ae.a}),exact:!0}]},{path:"/educoder-demo",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Demo__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(125)]).then(n.bind(null,/*! @/pages/Demo/index */"4K8j"))},loading:ae.a})},{path:"/otherlogin",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__OtherLogin */[n.e(0),n.e(12),n.e(257)]).then(n.bind(null,/*! @/pages/User/OtherLogin */"6y+p"))},loading:ae.a})},{path:"/otherloginqq",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__QQLogin */[n.e(0),n.e(258)]).then(n.bind(null,/*! @/pages/User/QQLogin */"/pIo"))},loading:ae.a})},{path:"/otherloginstart",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__WechatLogin */[n.e(0),n.e(261)]).then(n.bind(null,/*! @/pages/User/WechatLogin */"o5Na"))},loading:ae.a})},{path:"/tasks/:taskId",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__tasks__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(265)]).then(n.bind(null,/*! @/pages/tasks/index */"yi/R"))},loading:ae.a})},{path:"/tasks/:identifier/jupyter/",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__tasks__Jupyter */[n.e(0),n.e(4),n.e(5),n.e(7),n.e(264)]).then(n.bind(null,/*! @/pages/tasks/Jupyter */"sUu2"))},loading:ae.a})},{path:"/myproblems/:id/record-detail/:submitId",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MyProblem__RecordDetail */[n.e(0),n.e(5),n.e(7),n.e(20),n.e(165)]).then(n.bind(null,/*! @/pages/MyProblem/RecordDetail */"xTsT"))},loading:ae.a})},{path:"/myproblems/:id",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MyProblem__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(166)]).then(n.bind(null,/*! @/pages/MyProblem/index */"QUZ3"))},loading:ae.a})},{path:"/login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__user */[n.e(0),n.e(3),n.e(13),n.e(25)]).then(n.bind(null,/*! @/layouts/user */"zCei"))},loading:ae.a}),routes:[{path:"/login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Login */[n.e(0),n.e(256)]).then(n.bind(null,/*! @/pages/User/Login */"8orJ"))},loading:ae.a}),exact:!0}]},{path:"/user",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__user */[n.e(0),n.e(3),n.e(13),n.e(25)]).then(n.bind(null,/*! @/layouts/user */"zCei"))},loading:ae.a}),routes:[{path:"/user/login",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Login */[n.e(0),n.e(256)]).then(n.bind(null,/*! @/pages/User/Login */"8orJ"))},loading:ae.a}),exact:!0},{path:"/user/register",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Register */[n.e(0),n.e(12),n.e(259)]).then(n.bind(null,/*! @/pages/User/Register */"7rcX"))},loading:ae.a}),exact:!0},{path:"/user/reset-password",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__ResetPassword */[n.e(0),n.e(12),n.e(260)]).then(n.bind(null,/*! @/pages/User/ResetPassword */"LsG1"))},loading:ae.a}),exact:!0}]},{path:"/account",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/account/:username",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account */[n.e(15),n.e(28)]).then(n.bind(null,/*! @/pages/Account */"m3a9"))},loading:ae.a}),routes:[{path:"/account/profile",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account__Profile__index */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(32)]).then(n.bind(null,/*! @/pages/Account/Profile/index */"4w5S"))},loading:ae.a}),exact:!0},{path:"/account/profile/edit",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account__Profile__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(31)]).then(n.bind(null,/*! @/pages/Account/Profile/Edit/index */"Z3SC"))},loading:ae.a}),exact:!0},{path:"/account/certification",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account__Certification__index */[n.e(0),n.e(1),n.e(2),n.e(6),n.e(30)]).then(n.bind(null,/*! @/pages/Account/Certification/index */"doOU"))},loading:ae.a}),exact:!0},{path:"/account/secure",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account__Secure__index */[n.e(0),n.e(34)]).then(n.bind(null,/*! @/pages/Account/Secure/index */"0NIp"))},loading:ae.a}),exact:!0},{path:"/account/binding",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__Account__Binding__index */29).then(n.bind(null,/*! @/pages/Account/Binding/index */"JMrj"))},loading:ae.a}),exact:!0},{path:"/account/Results",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Account__Results__index */[n.e(0),n.e(33)]).then(n.bind(null,/*! @/pages/Account/Results/index */"a90+"))},loading:ae.a}),exact:!0}]}]},{path:"/ch/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/ch/rest/edit/:categoryId/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__RestFul__Edit__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(190)]).then(n.bind(null,/*! @/pages/RestFul/Edit/index */"VwnK"))},loading:ae.a}),exact:!0},{path:"/ch/rest/",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__RestFul */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(189)]).then(n.bind(null,/*! @/pages/RestFul */"Etsf"))},loading:ae.a})},{path:"/ch/rest/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__RestFul */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(189)]).then(n.bind(null,/*! @/pages/RestFul */"Etsf"))},loading:ae.a}),exact:!0}]},{path:"/order",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/order",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Order__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(232)]).then(n.bind(null,/*! @/pages/User/Detail/Order/index */"udqy"))},loading:ae.a}),exact:!0},{path:"/order/:courseId/information",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Order__pages__orderInformation__index */[n.e(0),n.e(233)]).then(n.bind(null,/*! @/pages/User/Detail/Order/pages/orderInformation/index */"kpVO"))},loading:ae.a}),exact:!0},{path:"/order/:courseId/pay",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Order__pages__orderPay__index */[n.e(0),n.e(17),n.e(234)]).then(n.bind(null,/*! @/pages/User/Detail/Order/pages/orderPay/index */"EiJb"))},loading:ae.a}),exact:!0},{path:"/order/:orderNum/result",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__User__Detail__Order__pages__result__index */[n.e(0),n.e(235)]).then(n.bind(null,/*! @/pages/User/Detail/Order/pages/result/index */"Mcyw"))},loading:ae.a}),exact:!0}]},{path:"/colleges",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/colleges/:id/statistics",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Colleges__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(117)]).then(n.bind(null,/*! @/pages/Colleges/index */"hk80"))},loading:ae.a}),exact:!0}]},{path:"/help",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/help/:id",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Help__Index */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(151)]).then(n.bind(null,/*! @/pages/Help/Index */"TNY5"))},loading:ae.a}),exact:!0}]},{path:"/messages",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/messages/:userId/user_tidings",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Messages__Tidings */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(160)]).then(n.bind(null,/*! @/pages/Messages/Tidings */"YmwD"))},loading:ae.a}),exact:!0},{path:"/messages/:userId/private_messages",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Messages__Private */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(159)]).then(n.bind(null,/*! @/pages/Messages/Private */"EjUQ"))},loading:ae.a}),exact:!0},{path:"/messages/:userId/message_detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Messages__Detail */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(158)]).then(n.bind(null,/*! @/pages/Messages/Detail */"fB9n"))},loading:ae.a}),exact:!0}]},{path:"/video",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/video/:videoId",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Video__Detail__id */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(262)]).then(n.bind(null,/*! @/pages/Video/Detail/[id] */"96GE"))},loading:ae.a}),exact:!0}]},{path:"/terminal",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Terminal__ */[n.e(0),n.e(6),n.e(19),n.e(225)]).then(n.bind(null,/*! @/pages/Terminal/ */"PYMJ"))},loading:ae.a}),exact:!0},{path:"/detail",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Editor */[n.e(19),n.e(126)]).then(n.bind(null,/*! @/pages/Editor */"6xWC"))},loading:ae.a}),exact:!0},{path:"/",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | layouts__SimpleLayouts */[n.e(0),n.e(3),n.e(5),n.e(7),n.e(23)]).then(n.bind(null,/*! @/layouts/SimpleLayouts */"H8y1"))},loading:ae.a}),routes:[{path:"/",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__index */[n.e(0),n.e(4),n.e(1),n.e(2),n.e(263)]).then(n.bind(null,/*! @/pages/index */"QeBL"))},loading:ae.a})},{path:"/api/*",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__Api */35).then(n.bind(null,/*! @/pages/Api */"y3wM"))},loading:ae.a}),exact:!0},{path:"/search",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Search__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(191)]).then(n.bind(null,/*! @/pages/Search/index */"XQ9l"))},loading:ae.a})},{path:"/moop_cases",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MoopCases__index */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(164)]).then(n.bind(null,/*! @/pages/MoopCases/index */"9Oz4"))},loading:ae.a})},{path:"/moop_cases/new",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MoopCases__FormPanel */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(161)]).then(n.bind(null,/*! @/pages/MoopCases/FormPanel */"nojB"))},loading:ae.a})},{path:"/moop_cases/:caseId",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MoopCases__InfoPanel */[n.e(0),n.e(5),n.e(7),n.e(162)]).then(n.bind(null,/*! @/pages/MoopCases/InfoPanel */"ymAh"))},loading:ae.a})},{path:"/moop_cases/:caseId/edit",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__MoopCases__FormPanel */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(161)]).then(n.bind(null,/*! @/pages/MoopCases/FormPanel */"nojB"))},loading:ae.a})},{path:"/moop_cases/:caseId/publish-success",exact:!0,component:Object(I.c)({loader:function(){return n.e(/*! import() | p__MoopCases__Success */163).then(n.bind(null,/*! @/pages/MoopCases/Success */"NbJ3"))},loading:ae.a})},{path:"/randompaper",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(168)]).then(n.bind(null,/*! @/pages/Paperlibrary/Random/AddAndEdit/index */"Dvv+"))},loading:ae.a})},{path:"/randompaper/edit/:id",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Random__AddAndEdit__index */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(168)]).then(n.bind(null,/*! @/pages/Paperlibrary/Random/AddAndEdit/index */"Dvv+"))},loading:ae.a})},{path:"/randompaper/detail/:id",exact:!0,component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(169)]).then(n.bind(null,/*! @/pages/Paperlibrary/Random/Detail/index */"MpT9"))},loading:ae.a})},{path:"/403",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__HttpStatus__403 */152).then(n.bind(null,/*! @/pages/HttpStatus/403 */"BqfQ"))},loading:ae.a}),exact:!0},{path:"/500",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__HttpStatus__500 */154).then(n.bind(null,/*! @/pages/HttpStatus/500 */"IKT+"))},loading:ae.a}),exact:!0},{path:"/404",component:Object(I.c)({loader:function(){return n.e(/*! import() | p__HttpStatus__404 */153).then(n.bind(null,/*! @/pages/HttpStatus/404 */"Qgpj"))},loading:ae.a}),exact:!0},{path:"/iwce",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(155)]).then(n.bind(null,/*! @/pages/HttpStatus/HpcCourse */"gkVt"))},loading:ae.a}),exact:!0},{path:"/Activities",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__HttpStatus__SixActivities */[n.e(0),n.e(3),n.e(156)]).then(n.bind(null,/*! @/pages/HttpStatus/SixActivities */"KLXD"))},loading:ae.a}),exact:!0},{path:"/iwce/:itemname",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(155)]).then(n.bind(null,/*! @/pages/HttpStatus/HpcCourse */"gkVt"))},loading:ae.a}),exact:!0},{path:"/hpc-course",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__HttpStatus__HpcCourse */[n.e(0),n.e(1),n.e(2),n.e(5),n.e(155)]).then(n.bind(null,/*! @/pages/HttpStatus/HpcCourse */"gkVt"))},loading:ae.a}),exact:!0},{path:"/user_agents",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__HttpStatus__UserAgents */[n.e(0),n.e(1),n.e(2),n.e(8),n.e(157)]).then(n.bind(null,/*! @/pages/HttpStatus/UserAgents */"CRnD"))},loading:ae.a}),exact:!0},{path:"/three",component:Object(I.c)({loader:function(){return Promise.all(/*! import() | p__Three */[n.e(0),n.e(1),n.e(2),n.e(3),n.e(226)]).then(n.bind(null,/*! @/pages/Three */"T+//"))},loading:ae.a}),exact:!0},{component:Object(I.c)({loader:function(){return n.e(/*! import() | p__HttpStatus__404 */153).then(n.bind(null,/*! @/pages/HttpStatus/404 */"Qgpj"))},loading:ae.a}),exact:!0},{component:Object(I.c)({loader:function(){return n.e(/*! import() | p__HttpStatus__404 */153).then(n.bind(null,/*! @/pages/HttpStatus/404 */"Qgpj"))},loading:ae.a})}]}]}];return c.a.applyPlugins({key:"patchRoutes",type:I.a.event,args:{routes:e}}),e}n("hh8c");Object(v.c)();var ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c.a.applyPlugins({key:"render",type:I.a.compose,initialValue:function(){return re(c.a.applyPlugins({key:"modifyClientRenderOpts",type:I.a.modify,initialValue:{routes:e.routes||oe(),plugin:c.a,history:Object(A.a)(e.hot),isServer:Object({NODE_ENV:"production"}).__IS_SERVER,dynamicImport:!0,rootElement:"root",defaultTitle:"启梦行动"}}))},args:e})}();t.default=ie();window.g_umi={version:"3.5.23"}},tEiQ: +/*!******************************************************************!*\ + !*** ./node_modules/mini-create-react-context/dist/esm/index.js ***! + \******************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module uses injected variables (global) */function(e,t,n){"use strict";(function(e){var r=n(/*! react */"q1tI"),a=n.n(r),o=n(/*! @babel/runtime/helpers/esm/inheritsLoose */"dI71"),i=n(/*! prop-types */"17x9"),c=n.n(i),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:{};function s(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var l=a.a.createContext||function(e,t){var n,a,i,l="__create-react-context-"+((u[i="__global_unique_id__"]=(u[i]||0)+1)+"__"),p=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=s(t.props.value),t}Object(o.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},r.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[l]=c.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(o.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},r.getValue=function(){return this.context[l]?this.context[l].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((a={})[l]=c.a.object,a),{Provider:p,Consumer:f}};t.a=l}).call(this,n(/*! ./../../../@umijs/deps/compiled/webpack/4/global.js */"IyRk"))},tJVT: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules ***! + \*******************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js because of ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("+kx5");var a=n("Qw5x"),o=n("u6e6");function i(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},tRgb: +/*!***************************************************************!*\ + !*** ./node_modules/connected-react-router/esm/middleware.js ***! + \***************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./actions */"AU/w");function a(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=s("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete h.prototype[i[n]];return h()};c[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=a(e),n=new f,f.prototype=null,n[p]=e):n=h(),void 0===t?n:o(n,t)}},u0Sq: +/*!*************************************************!*\ + !*** ./node_modules/hash.js/lib/hash/ripemd.js ***! + \*************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ./utils */"w8CP"),a=n(/*! ./common */"7ckf"),o=r.rotl32,i=r.sum32,c=r.sum32_3,u=r.sum32_4,s=a.BlockHash;function l(){if(!(this instanceof l))return new l;s.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function p(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function f(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function d(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(l,s),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],v=n,g=r,_=a,x=s,w=l,j=0;j<80;j++){var O=i(o(u(n,p(j,r,a,s),e[h[j]+t],f(j)),b[j]),l);n=l,l=s,s=o(a,10),a=r,r=O,O=i(o(u(v,p(79-j,g,_,x),e[m[j]+t],d(j)),y[j]),w),v=w,w=x,x=o(_,10),_=g,g=O}O=c(this.h[1],a,x),this.h[1]=c(this.h[2],s,w),this.h[2]=c(this.h[3],l,v),this.h[3]=c(this.h[4],n,g),this.h[4]=c(this.h[0],r,_),this.h[0]=O},l.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},u4tm: +/*!**********************************************************************!*\ + !*** ./node_modules/connected-react-router/esm/index.js + 5 modules ***! + \**********************************************************************/ +/*! exports provided: LOCATION_CHANGE, CALL_HISTORY_METHOD, onLocationChanged, push, replace, go, goBack, goForward, routerActions, routerMiddleware, ConnectedRouter, connectRouter, getLocation, getAction, getHash, getSearch, createMatchSelector */ +/*! exports used: connectRouter */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/connected-react-router/esm/actions.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/prop-types/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-redux/es/index.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js because of ./src/pages/Engineering/Lists/TrainingProgram/Edit/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("q1tI"),n("17x9"),n("/MKj");var r=n("Ty5D"),a=n("AU/w");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=function(e){var t=e.getIn,n=e.toJS,a=function(e){var r,a=n(t(e,["router"]));if(null==(r=a)||"object"!==o(r)||!t(r,["location"])||!t(r,["action"]))throw'Could not find router reducer in state tree, it must be mounted under "router"';return a},i=function(e){return n(t(a(e),["location"]))};return{getLocation:i,getAction:function(e){return n(t(a(e),["action"]))},getRouter:a,getSearch:function(e){return n(t(a(e),["location","search"]))},getHash:function(e){return n(t(a(e),["location","hash"]))},createMatchSelector:function(e){var t=null,n=null;return function(a){var o=(i(a)||{}).pathname;if(o===t)return n;t=o;var c=Object(r.f)(o,e);return c&&n&&c.url===n.url||(n=c),n}}}};var c=function(e){var t=e.fromJS,n=e.merge;return function(e){var r=t({location:e.location,action:e.action});return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.type,c=o.payload;if(i===a.b){var u=c.location,s=c.action,l=c.isFirstRendering;return l?e:n(e,{location:t(u),action:s})}return e}}};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s={fromJS:function(e){return e},getIn:function(e,t){if(!e)return e;var n=t.length;if(n){for(var r=e,a=0;a1?arguments[1]:void 0,3);return u(n,(function(e){if(r(e,e,t))return u.stop(e)}),void 0,!1,!0).result}})},u6e6: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***! + \*********************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},u93E: +/*!*****************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/math-sign.js ***! + \*****************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},uGHk: +/*!*************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/object-get-own-property-names.js ***! + \*************************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/object-keys-internal */"Srjj"),a=n(/*! ../internals/enum-bug-keys */"De94").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},uMwj: +/*!***********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/define-iterator.js ***! + \***********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-iterator-constructor */"uoF6"),o=n(/*! ../internals/object-get-prototype-of */"Acmb"),i=n(/*! ../internals/object-set-prototype-of */"g1ZG"),c=n(/*! ../internals/set-to-string-tag */"kiNa"),u=n(/*! ../internals/create-non-enumerable-property */"lz10"),s=n(/*! ../internals/redefine */"NMFW"),l=n(/*! ../internals/well-known-symbol */"2kyd"),p=n(/*! ../internals/is-pure */"Zcjx"),f=n(/*! ../internals/iterators */"5yw/"),d=n(/*! ../internals/iterators-core */"JXem"),h=d.IteratorPrototype,m=d.BUGGY_SAFARI_ITERATORS,b=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,d,v,g){a(n,t,l);var _,x,w,j=function(e){if(e===d&&P)return P;if(!m&&e in E)return E[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",k=!1,E=e.prototype,S=E[b]||E["@@iterator"]||d&&E[d],P=!m&&S||j(d),C="Array"==t&&E.entries||S;if(C&&(_=o(C.call(new e)),h!==Object.prototype&&_.next&&(p||o(_)===h||(i?i(_,h):"function"!=typeof _[b]&&u(_,b,y)),c(_,O,!0,!0),p&&(f[O]=y))),"values"==d&&S&&"values"!==S.name&&(k=!0,P=function(){return S.call(this)}),p&&!g||E[b]===P||u(E,b,P),f[t]=P,d)if(x={values:j("values"),keys:v?P:j("keys"),entries:j("entries")},g)for(w in x)(m||k||!(w in E))&&s(E,w,x[w]);else r({target:t,proto:!0,forced:m||k},x);return x}},uVHs: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.is-safe-integer.js ***! + \*******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-integer */"M3b6"),o=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return a(e)&&o(e)<=9007199254740991}})},uciX: +/*!*********************************************************!*\ + !*** ./node_modules/rc-trigger/es/index.js + 5 modules ***! + \*********************************************************/ +/*! exports provided: generateTrigger, default */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-select/es/Select.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-align/es/index.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/PopupInner.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/PopupInner.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/PopupInner.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js because of ./node_modules/rc-motion/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Portal.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/antd/es/form/FormItem.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("VTBJ"),a=n("1OyB"),o=n("vuIU"),i=n("JX7q"),c=n("Ji7U"),u=n("LK+K"),s=n("q1tI"),l=n.n(s),p=n("i8i4"),f=n.n(p),d=n("l4aY"),h=n("m+aA"),m=n("c+Xe"),b=n("zT1h"),y=n("QC+M"),v=n("TSYQ"),g=n.n(v);function _(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n("Ff2n"),w=n("xEkU"),j=n.n(w),O=n("9mu1"),k=n("8XRh"),E=s.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.children,i=e.onMouseEnter,c=e.onMouseLeave,u=e.onMouseDown,l=e.onTouchStart,p=o;return s.Children.count(o)>1&&(p=s.createElement("div",{className:"".concat(n,"-content")},o)),s.createElement("div",{ref:t,className:r,onMouseEnter:i,onMouseLeave:c,onMouseDown:u,onTouchStart:l,style:a},p)}));E.displayName="PopupInner";var S=E;function P(e){var t=e.prefixCls,n=e.motion,r=e.animation,a=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:a?{motionName:a}:null)}function C(e){return e&&e.motionName}var T=function(e){Object(c.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},e.popupRef=l.a.createRef(),e.alignRef=l.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,a=e.props,o=a.getClassNameFromAlign,i=a.onAlign,c=o(n);"align"===r?e.setState({alignClassName:c,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:c,status:"afterAlign"}),i(t,n)):e.setState({alignClassName:c})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable",inMotion:!1})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=Object(r.a)(Object(r.a)({},e.nextFrameState),t),e.nextFrameId=j()((function(){var t=Object(r.a)({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return Object(r.a)({},P(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){j.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,a=t.targetHeight,o=t.targetWidth,i=t.alignClassName,c=e.props,u=c.prefixCls,s=c.className,p=c.style,f=c.stretch,d=c.visible,h=c.align,b=c.destroyPopupOnHide,y=c.onMouseEnter,v=c.onMouseLeave,_=c.onMouseDown,x=c.onTouchStart,w=c.children,j=g()(u,s,i),E="".concat(u,"-hidden"),P={};f&&(-1!==f.indexOf("height")?P.height=a:-1!==f.indexOf("minHeight")&&(P.minHeight=a),-1!==f.indexOf("width")?P.width=o:-1!==f.indexOf("minWidth")&&(P.minWidth=o));var C=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},P),e.getZIndexStyle()),p),{},{opacity:"stable"!==n&&d?0:void 0,pointerEvents:"stable"!==n&&d?"none":void 0}),T=e.getMotion(),A=d;d&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(T.motionAppear=!1,T.motionEnter=!1,T.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(A=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach((function(t){var n=null==T?void 0:T[t];T[t]=function(){for(var t=arguments.length,r=new Array(t),a=0;a94906265.62425156?i(e)+u:a(e-1+c(e-1)*c(e+1))}})},v3oe: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.get-prototype-of.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/fails */"MVys"),o=n(/*! ../internals/to-object */"cTDu"),i=n(/*! ../internals/object-get-prototype-of */"Acmb"),c=n(/*! ../internals/correct-prototype-getter */"SprQ");r({target:"Object",stat:!0,forced:a((function(){i(1)})),sham:!c},{getPrototypeOf:function(e){return i(o(e))}})},vCeJ: +/*!*************************************!*\ + !*** ./src/service/paperlibrary.ts ***! + \*************************************/ +/*! exports provided: getDisciplines, getCustomDisciplines, getPaperlibraryList, setPublic, setPrivate, handleDelete, getCourseList, sendToClass, getPaperData, setScore, setShixunScore, handleDeleteEditQuestion, batchSetScore, batchDelete, adjustPosition, updatePaper, getTeachGroupData, batchPublic */ +/*! exports used: adjustPosition, batchDelete, batchPublic, batchSetScore, getCourseList, getCustomDisciplines, getDisciplines, getPaperData, getPaperlibraryList, getTeachGroupData, handleDelete, handleDeleteEditQuestion, sendToClass, setPrivate, setPublic, setScore, setShixunScore, updatePaper */function(e,t,n){"use strict";n.d(t,"g",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"i",(function(){return p})),n.d(t,"o",(function(){return d})),n.d(t,"n",(function(){return m})),n.d(t,"k",(function(){return y})),n.d(t,"e",(function(){return g})),n.d(t,"m",(function(){return x})),n.d(t,"h",(function(){return j})),n.d(t,"p",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"l",(function(){return C})),n.d(t,"d",(function(){return A})),n.d(t,"b",(function(){return M})),n.d(t,"a",(function(){return D})),n.d(t,"r",(function(){return N})),n.d(t,"j",(function(){return U})),n.d(t,"c",(function(){return V}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/utils/fetch */"ErOA");function c(e){return u.apply(this,arguments)}function u(){return(u=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/disciplines.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function s(e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/disciplines/by_examination_banks.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/set_public.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return b.apply(this,arguments)}function b(){return(b=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/set_private.json"),{method:"post"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return v.apply(this,arguments)}function v(){return(v=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(e){return _.apply(this,arguments)}function _(){return(_=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/question_banks/my_courses.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){return w.apply(this,arguments)}function w(){return(w=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/send_to_course.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return O.apply(this,arguments)}function O(){return(O=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,".json"),{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return E.apply(this,arguments)}function E(){return(E=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/").concat(t.itemId,"/set_score"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(e){return P.apply(this,arguments)}function P(){return(P=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/").concat(t.itemId,"/set_shixun_score.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function C(e){return T.apply(this,arguments)}function T(){return(T=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/").concat(t.itemId,".json"),{method:"delete"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e){return I.apply(this,arguments)}function I(){return(I=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/batch_set_score.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(e){return L.apply(this,arguments)}function L(){return(L=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/destroy_by_item_type.json"),{method:"delete",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(e){return R.apply(this,arguments)}function R(){return(R=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,"/examination_banks_item_banks/").concat(t.itemId,"/adjust_position.json"),{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(e){return F.apply(this,arguments)}function F(){return(F=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/".concat(t.id,".json"),{method:"put",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function U(e){return z.apply(this,arguments)}function z(){return(z=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/teach_group_shares.json",{method:"get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function V(e){return q.apply(this,arguments)}function q(){return(q=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/examination_banks/set_batch_public.json",{method:"post",body:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},vO0A: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/collection-strong.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/object-define-property */"YfKC").f,a=n(/*! ../internals/object-create */"u+7+"),o=n(/*! ../internals/redefine-all */"ujhg"),i=n(/*! ../internals/function-bind-context */"7BAe"),c=n(/*! ../internals/an-instance */"igoe"),u=n(/*! ../internals/iterate */"IuhT"),s=n(/*! ../internals/define-iterator */"uMwj"),l=n(/*! ../internals/set-species */"ssJt"),p=n(/*! ../internals/descriptors */"tny8"),f=n(/*! ../internals/internal-metadata */"a5mf").fastKey,d=n(/*! ../internals/internal-state */"1aI8"),h=d.set,m=d.getterFor;e.exports={getConstructor:function(e,t,n,s){var l=e((function(e,r){c(e,l,t),h(e,{type:t,index:a(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=r&&u(r,e[s],e,n)})),d=m(t),b=function(e,t,n){var r,a,o=d(e),i=y(e,t);return i?i.value=n:(o.last=i={index:a=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),p?o.size++:e.size++,"F"!==a&&(o.index[a]=i)),e},y=function(e,t){var n,r=d(e),a=f(t);if("F"!==a)return r.index[a];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,a=n.previous;delete t.index[n.index],n.removed=!0,a&&(a.next=r),r&&(r.previous=a),t.first==n&&(t.first=r),t.last==n&&(t.last=a),p?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=i(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),o(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return b(this,0===e?0:e,t)}}:{add:function(e){return b(this,e=0===e?0:e,e)}}),p&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",a=m(t),o=m(r);s(e,t,(function(e,t){h(this,{type:r,target:e,state:a(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},vRGJ: +/*!**********************************************!*\ + !*** ./node_modules/path-to-regexp/index.js ***! + \**********************************************/ +/*! no static exports found */ +/*! exports used: default */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! isarray */"AqCL");e.exports=d,e.exports.parse=o,e.exports.compile=function(e,t){return c(o(e,t),t)},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,c="",l=t&&t.delimiter||"/";null!=(n=a.exec(e));){var p=n[0],f=n[1],d=n.index;if(c+=e.slice(i,d),i=d+p.length,f)c+=f[1];else{var h=e[i],m=n[2],b=n[3],y=n[4],v=n[5],g=n[6],_=n[7];c&&(r.push(c),c="");var x=null!=m&&null!=h&&h!==m,w="+"===g||"*"===g,j="?"===g||"*"===g,O=n[2]||l,k=y||v;r.push({name:b||o++,prefix:m||"",delimiter:O,optional:j,repeat:w,partial:x,asterisk:!!_,pattern:k?s(k):_?".*":"[^"+u(O)+"]+?"})}}return iA.length&&A.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,a){var c=typeof t;"undefined"!==c&&"boolean"!==c||(t=null);var u=!1;if(null===t)u=!0;else switch(c){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case i:u=!0}}if(u)return r(a,t,""===n?"."+D(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s1?arguments[1]:void 0)}})},vpQ4: +/*!*****************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectSpread.js ***! + \*****************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(/*! ./defineProperty.js */"rePB");function a(e){for(var t=1;t=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function i(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a>6|192,n[r++]=63&i|128):o(e,a)?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++a)),n[r++]=i>>18|240,n[r++]=i>>12&63|128,n[r++]=i>>6&63|128,n[r++]=63&i|128):(n[r++]=i>>12|224,n[r++]=i>>6&63|128,n[r++]=63&i|128)}else for(a=0;a>>0}return i},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],o=r+e[t+1]>>>0,i=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,o,i,c){var u=0,s=t;return u+=(s=s+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,a,o,i,c){return t+r+o+c>>>0},t.sum64_5_hi=function(e,t,n,r,a,o,i,c,u,s){var l=0,p=t;return l+=(p=p+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,a,o,i,c,u,s){return t+r+o+c+s>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},wCfY: +/*!**************************************!*\ + !*** ./src/models/classrooms/new.ts ***! + \**************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),i=n(/*! @/service/classrooms */"oUNq"),c={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{getSchoolList:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.kb,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{schoolList:(null==u?void 0:u.school_names)||[]}});case 7:case"end":return e.stop()}}),e)})),getSearchCourseList:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.lb,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{searchCourseList:(null==u?void 0:u.course_lists)||[]}});case 7:case"end":return e.stop()}}),e)})),submitCourses:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Ab,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),appplySchool:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.c,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),joincoursegroup:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.rb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=c},wTVA: +/*!***************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! + \***************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},waHm: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.fill.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/array-buffer-view-core */"FVwB"),a=n(/*! ../internals/array-fill */"VSU6"),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return a.apply(o(this),arguments)}))},wgJM: +/*!****************************************!*\ + !*** ./node_modules/rc-util/es/raf.js ***! + \****************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=function(e){return+setTimeout(e,16)},a=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},a=function(e){return window.cancelAnimationFrame(e)});var o=0,i=new Map;function c(e){i.delete(e)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=o+=1;function a(t){if(0===t)c(n),e();else{var o=r((function(){a(t-1)}));i.set(n,o)}}return a(t),n}u.cancel=function(e){var t=i.get(e);return c(t),a(t)}},wgKq: +/*!*************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/use-symbol-as-uid.js ***! + \*************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/native-symbol */"Fs9M");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},wkBT: +/*!****************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***! + \****************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},wpse: +/*!******************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.async-iterator.js ***! + \******************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/define-well-known-symbol */"I65O")("asyncIterator")},wx14: +/*!************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/extends.js ***! + \************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0,3);return u(n,(function(e,n){if(r(n,e,t))return u.stop()}),void 0,!0,!0).stopped}})},xKgJ: +/*!********************************!*\ + !*** ./src/utils/authority.ts ***! + \********************************/ +/*! exports provided: getRoleAuth, isMainSite, courseIsEnd, getAuthentication, isAdmin, isAdminOrAssistant, isAdminOrAuthor, isSuperAdmin, isAdminOrCreator, isSuperAdmins, isAdminAndCreator, isAdminOrTeacher, isAssistant, isTeacher, isStudent, isAdminOrStudent, isAdmins, isNotMember, canCommonAdd, canCommonDelete, canCommonUpdate, isStudents, canCommonView, canCommonDownload, canShixunAdd, canShixunDelete, canShixunUpdate, canShixunView, canShixunSendToClassroom, canShixunViewAnswer, canShixunCancelPublic, canProblemsetAdd, canProblemsetDelete, canProblemsetUpdate, canProblemsetView, canProblemsetGroup, canProblemsetCancelPublic, canProblemsetCorrection, canProblemsetCollect, canProblemsetViewAnalysis, canPaperlibraryAdd, canPaperlibraryDelete, canPaperlibraryUpdate, canPaperlibraryView, canPaperlibraryCancelPublic, canPaperlibrarySendToClassroom, authentication, isCommonSuperAdmin, isCommonSuperAdminOrOperation, isCommonStudent, isCommonAdminOrCreator, isLogin, userInfo */ +/*! exports used: canShixunAdd, courseIsEnd, isAdmin, isAdminAndCreator, isAdminOrAssistant, isAdminOrAuthor, isAdminOrCreator, isAdminOrStudent, isAdminOrTeacher, isAdmins, isAssistant, isCommonAdminOrCreator, isCommonStudent, isCommonSuperAdmin, isCommonSuperAdminOrOperation, isLogin, isMainSite, isNotMember, isStudent, isStudents, isSuperAdmin, isSuperAdmins, isTeacher, userInfo */function(e,t,n){"use strict";n.d(t,"q",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return f})),n.d(t,"u",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"k",(function(){return v})),n.d(t,"w",(function(){return g})),n.d(t,"s",(function(){return _})),n.d(t,"h",(function(){return x})),n.d(t,"j",(function(){return w})),n.d(t,"r",(function(){return j})),n.d(t,"t",(function(){return O})),n.d(t,"a",(function(){return k})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return S})),n.d(t,"m",(function(){return P})),n.d(t,"l",(function(){return C})),n.d(t,"p",(function(){return T})),n.d(t,"x",(function(){return A}));var r,a,o=n(/*! umi */"9kvl");!function(e){e[e.SuperAdmin=1]="SuperAdmin",e[e.Operation=2]="Operation",e[e.CertifiedTeacher=5]="CertifiedTeacher",e[e.TrainingProduction=8]="TrainingProduction",e[e.UncertifiedTeacher=12]="UncertifiedTeacher",e[e.Student=15]="Student"}(r||(r={})),function(e){e[e.SuperAdmin=1]="SuperAdmin",e[e.Operation=2]="Operation",e[e.Admin=5]="Admin",e[e.Teacher=8]="Teacher",e[e.Assistant=12]="Assistant",e[e.Student=15]="Student"}(a||(a={}));var i=function(e){var t=Object(o.c)()._store.getState().user.userInfo;return e.some((function(e){return e==(null==t?void 0:t.role)}))},c=function(e){var t=Object(o.c)()._store.getState().user.userInfo;return!(null==t||!t.own)||e.some((function(e){var n;return e==(null==t||null===(n=t.course)||void 0===n?void 0:n.course_role)}))},u=function(){return Object(o.c)()._store.getState().user.userInfo.main_site},s=function(){var e,t=Object(o.c)()._store.getState().user.userInfo;return null==t||null===(e=t.course)||void 0===e?void 0:e.course_is_end},l=function(){return c([a.SuperAdmin,a.Operation,a.Admin,a.Teacher,a.Assistant])},p=function(){return c([a.SuperAdmin,a.Teacher,a.Admin,a.Assistant,a.Operation])},f=function(){return c([a.SuperAdmin,a.Teacher,a.Admin])},d=function(){return c([a.SuperAdmin])},h=function(){return c([a.SuperAdmin,a.Operation,a.Admin])},m=function(){return i([a.SuperAdmin,a.Operation])},b=function(){return c([a.SuperAdmin,a.Admin])},y=function(){return c([a.SuperAdmin,a.Operation,a.Admin,a.Teacher])},v=function(){return c([a.Assistant])},g=function(){return c([a.Teacher])},_=function(){return c([a.Student])},x=function(){return c([a.SuperAdmin,a.Operation,a.Admin,a.Teacher,a.Assistant,a.Student])},w=function(){return c([a.SuperAdmin,a.Operation,a.Admin,a.Teacher,a.Assistant])},j=function(){var e,t=Object(o.c)()._store.getState().user.userInfo;return null===(null==t||null===(e=t.course)||void 0===e?void 0:e.course_role)},O=function(){return i([a.Student])},k=function(){return i([r.SuperAdmin,r.Operation,r.CertifiedTeacher,r.TrainingProduction])},E=function(){return i([r.SuperAdmin])},S=function(){return i([r.SuperAdmin,r.Operation])},P=function(){return i([r.Student])},C=function(){return i([r.SuperAdmin,r.Operation,r.CertifiedTeacher])},T=function(){var e;return!(null===(e=Object(o.c)()._store.getState().user.userInfo)||void 0===e||!e.login)},A=function(){return Object(o.c)()._store.getState().user.userInfo}},xRZI: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/engine-is-ios.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/engine-user-agent */"Qlla");e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},xaQh: +/*!************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/esnext.reflect.define-metadata.js ***! + \************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/reflect-metadata */"ls1J"),o=n(/*! ../internals/an-object */"f1E4"),i=a.toKey,c=a.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:i(arguments[3]);c(e,t,o(n),r)}})},xtlo: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.number.to-fixed.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/to-integer */"m0kY"),o=n(/*! ../internals/this-number-value */"F52u"),i=n(/*! ../internals/string-repeat */"+rjg"),c=n(/*! ../internals/fails */"MVys"),u=1..toFixed,s=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}))},{toFixed:function(e){var t,n,r,c,u=o(this),p=a(e),f=[0,0,0,0,0,0],d="",h="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=s(r/1e7)},b=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=s(n/e),n=n%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*l(2,69,1))-69)<0?u*l(2,-t,1):u/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=p;r>=7;)m(1e7,0),r-=7;for(m(l(10,r,1),0),r=t-1;r>=23;)b(1<<23),r-=23;b(1<0?d+((c=h.length)<=p?"0."+i.call("0",p-c)+h:h.slice(0,c-p)+"."+h.slice(c-p)):d+h}})},xxWa: +/*!************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.fontsize.js ***! + \************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("fontsize")},{fontsize:function(e){return a(this,"font","size",e)}})},xxaU: +/*!**************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/shared.js ***! + \**************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/is-pure */"Zcjx"),a=n(/*! ../internals/shared-store */"pb5k");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"y36+": +/*!****************************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.uint8-clamped-array.js ***! + \****************************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/typed-array-constructor */"Mi8B")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},y4z8: +/*!**********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.object.prevent-extensions.js ***! + \**********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/is-object */"tSXo"),o=n(/*! ../internals/internal-metadata */"a5mf").onFreeze,i=n(/*! ../internals/freezing */"R/Zn"),c=n(/*! ../internals/fails */"MVys"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!i},{preventExtensions:function(e){return u&&a(e)?u(o(e)):e}})},y9mK: +/*!*****************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/string-pad-webkit-bug.js ***! + \*****************************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/engine-user-agent */"Qlla");e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},yIAO: +/*!***************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.regexp.constructor.js ***! + \***************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/descriptors */"tny8"),a=n(/*! ../internals/global */"ukPv"),o=n(/*! ../internals/is-forced */"kkxG"),i=n(/*! ../internals/inherit-if-required */"+vfm"),c=n(/*! ../internals/object-define-property */"YfKC").f,u=n(/*! ../internals/object-get-own-property-names */"uGHk").f,s=n(/*! ../internals/is-regexp */"YON3"),l=n(/*! ../internals/regexp-flags */"k/J9"),p=n(/*! ../internals/regexp-sticky-helpers */"M8HR"),f=n(/*! ../internals/redefine */"NMFW"),d=n(/*! ../internals/fails */"MVys"),h=n(/*! ../internals/internal-state */"1aI8").set,m=n(/*! ../internals/set-species */"ssJt"),b=n(/*! ../internals/well-known-symbol */"2kyd")("match"),y=a.RegExp,v=y.prototype,g=/a/g,_=/a/g,x=new y(g)!==g,w=p.UNSUPPORTED_Y;if(r&&o("RegExp",!x||w||d((function(){return _[b]=!1,y(g)!=g||y(_)==_||"/a/i"!=y(g,"i")})))){for(var j=function(e,t){var n,r=this instanceof j,a=s(e),o=void 0===t;if(!r&&a&&e.constructor===j&&o)return e;x?a&&!o&&(e=e.source):e instanceof j&&(o&&(t=l.call(e)),e=e.source),w&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=i(x?new y(e,t):y(e,t),r?this:v,j);return w&&n&&h(c,{sticky:n}),c},O=function(e){e in j||c(j,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})},k=u(y),E=0;k.length>E;)O(k[E++]);v.constructor=j,j.prototype=v,f(a,"RegExp",j)}m("RegExp")},yKVA: +/*!**************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/inherits.js + 1 modules ***! + \**************************************************************************************************************/ +/*! exports provided: default */ +/*! exports used: default */function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return a}))},yMj0: +/*!*************************************!*\ + !*** ./src/service/announcement.ts ***! + \*************************************/ +/*! exports provided: informUp, informDown, updateInforms, newInforms */ +/*! exports used: informDown, informUp, newInforms, updateInforms */function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return h}));var r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),i=n.n(o),c=n(/*! @/utils/fetch */"ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/inform_up.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/inform_down.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return d.apply(this,arguments)}function d(){return(d=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/update_informs.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=Object(a.a)(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/courses/".concat(t.coursesId,"/new_informs.json"),{method:"post",body:Object(r.a)({},t)}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},yZgL: +/*!*********************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.string.fixed.js ***! + \*********************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict";var r=n(/*! ../internals/export */"MMxC"),a=n(/*! ../internals/create-html */"V85Q");r({target:"String",proto:!0,forced:n(/*! ../internals/string-html-forced */"NQQk")("fixed")},{fixed:function(){return a(this,"tt","","")}})},yiTY: +/*!********************************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.int32-array.js ***! + \********************************************************************************************************************/ +/*! no static exports found */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){n(/*! ../internals/typed-array-constructor */"Mi8B")("Int32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},yj7k: +/*!************************************************************************************************!*\ + !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/internals/html.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var r=n(/*! ../internals/get-built-in */"29mP");e.exports=r("document","documentElement")},yl30: +/*!****************************************************************!*\ + !*** ./node_modules/react-dom/cjs/react-dom.production.min.js ***! + \****************************************************************/ +/*! no static exports found */ +/*! all exports used */ +/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){"use strict"; +/** @license React v16.12.0 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(/*! react */"q1tI"),a=n(/*! object-assign */"MgzW"),o=n(/*! scheduler */"QCnb");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n