You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Paths__Detail__id.async.js

1 line
748 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(self.webpackChunk=self.webpackChunk||[]).push([[23332,49130],{42712:function(e,n,t){var i,r,a,o,l=t(31468).default;o=function(e){"use strict";function n(e,n,t){var i=Math.abs(n-e)/Math.max(0,t),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),a=i/r;return a>=ss?r*=10:a>=us?r*=5:a>=cs&&(r*=2),n<e?-r:r}function t(e){return e.length}function i(e,n,t){var i=e(t);return"translate("+(isFinite(i)?i:n(t))+",0)"}function r(e,n,t){var i=e(t);return"translate(0,"+(isFinite(i)?i:n(t))+")"}function a(e){var n=e.bandwidth()/2;return e.round()&&(n=Math.round(n)),function(t){return e(t)+n}}function o(){return!this.__axis}function s(e,n){function t(t){var h,p=null==s?n.ticks?n.ticks.apply(n,l):n.domain():s,v=null==u?n.tickFormat?n.tickFormat.apply(n,l):gs:u,m=Math.max(c,0)+f,x=e===ys||e===_s?i:r,g=n.range(),y=g[0]+.5,b=g[g.length-1]+.5,_=(n.bandwidth?a:gs)(n.copy()),j=t.selection?t.selection():t,w=j.selectAll(".domain").data([null]),k=j.selectAll(".tick").data(p,n).order(),P=k.exit(),T=k.enter().append("g").attr("class","tick"),N=k.select("line"),S=k.select("text"),C=e===ys||e===js?-1:1,M=e===js||e===bs?(h="x","y"):(h="y","x");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),k=k.merge(T),N=N.merge(T.append("line").attr("stroke","#000").attr(h+"2",C*c).attr(M+"1",.5).attr(M+"2",.5)),S=S.merge(T.append("text").attr("fill","#000").attr(h,C*m).attr(M,.5).attr("dy",e===ys?"0em":e===_s?"0.71em":"0.32em")),t!==j&&(w=w.transition(t),k=k.transition(t),N=N.transition(t),S=S.transition(t),P=P.transition(t).attr("opacity",ws).attr("transform",(function(e){return x(_,this.parentNode.__axis||_,e)})),T.attr("opacity",ws).attr("transform",(function(e){return x(this.parentNode.__axis||_,_,e)}))),P.remove(),w.attr("d",e===js||e==bs?"M"+C*d+","+y+"H0.5V"+b+"H"+C*d:"M"+y+","+C*d+"V0.5H"+b+"V"+C*d),k.attr("opacity",1).attr("transform",(function(e){return x(_,_,e)})),N.attr(h+"2",C*c),S.attr(h,C*m).text(v),j.filter(o).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===bs?"start":e===js?"end":"middle"),j.each((function(){this.__axis=_}))}var l=[],s=null,u=null,c=6,d=6,f=3;return t.scale=function(e){return arguments.length?(n=e,t):n},t.ticks=function(){return l=xs.call(arguments),t},t.tickArguments=function(e){return arguments.length?(l=null==e?[]:xs.call(e),t):l.slice()},t.tickValues=function(e){return arguments.length?(s=null==e?null:xs.call(e),t):s&&s.slice()},t.tickFormat=function(e){return arguments.length?(u=e,t):u},t.tickSize=function(e){return arguments.length?(c=d=+e,t):c},t.tickSizeInner=function(e){return arguments.length?(c=+e,t):c},t.tickSizeOuter=function(e){return arguments.length?(d=+e,t):d},t.tickPadding=function(e){return arguments.length?(f=+e,t):f},t}function u(){for(var e,n=0,t=arguments.length,i={};n<t;++n){if(!(e=arguments[n]+"")||e in i)throw new Error("illegal type: "+e);i[e]=[]}return new c(i)}function c(e){this._=e}function d(e,n){return e.trim().split(/^|\s+/).map((function(e){var t="",i=e.indexOf(".");if(i>=0&&(t=e.slice(i+1),e=e.slice(0,i)),e&&!n.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))}function f(e,n){for(var t,i=0,r=e.length;i<r;++i)if((t=e[i]).name===n)return t.value}function h(e,n,t){for(var i=0,r=e.length;i<r;++i)if(e[i].name===n){e[i]=ks,e=e.slice(0,i).concat(e.slice(i+1));break}return null!=t&&e.push({name:n,value:t}),e}function p(e){return function(){var n=this.ownerDocument,t=this.namespaceURI;return t===Ps&&n.documentElement.namespaceURI===Ps?n.createElement(e):n.createElementNS(t,e)}}function v(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function m(){return new x}function x(){this._="@"+(++Cs).toString(36)}function g(e,n,t){return e=y(e,n,t),function(n){var t=n.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||e.call(this,n)}}function y(n,t,i){return function(r){var a=e.event;e.event=r;try{n.call(this,this.__data__,t,i)}finally{e.event=a}}}function b(e){return e.trim().split(/^|\s+/).map((function(e){var n="",t=e.indexOf(".");return t>=0&&(n=e.slice(t+1),e=e.slice(0,t)),{type:e,name:n}}))}function _(e){return function(){var n=this.__on;if(n){for(var t,i=0,r=-1,a=n.length;i<a;++i)t=n[i],e.type&&t.type!==e.type||t.name!==e.name?n[++r]=t:this.removeEventListener(t.type,t.listener,t.capture);++r?n.length=r:delete this.__on}}}function j(e,n,t){var i=Zs.hasOwnProperty(e.type)?g:y;return function(r,a,o){var l,s=this.__on,u=i(n,a,o);if(s)for(var c=0,d=s.length;c<d;++c)if((l=s[c]).type===e.type&&l.name===e.name)return this.removeEventListener(l.type,l.listener,l.capture),this.addEventListener(l.type,l.listener=u,l.capture=t),void(l.value=n);this.addEventListener(e.type,u,t),l={type:e.type,name:e.name,value:n,listener:u,capture:t},s?s.push(l):this.__on=[l]}}function w(n,t,i,r){var a=e.event;n.sourceEvent=e.event,e.event=n;try{return t.apply(i,r)}finally{e.event=a}}function k(){}function P(){return[]}function T(e,n){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=n}function N(e,n,t,i,r,a){for(var o,l=0,s=n.length,u=a.length;l<u;++l)(o=n[l])?(o.__data__=a[l],i[l]=o):t[l]=new T(e,a[l]);for(;l<s;++l)(o=n[l])&&(r[l]=o)}function S(e,n,t,i,r,a,o){var l,s,u,c={},d=n.length,f=a.length,h=new Array(d);for(l=0;l<d;++l)(s=n[l])&&(h[l]=u=Rs+o.call(s,s.__data__,l,n),u in c?r[l]=s:c[u]=s);for(l=0;l<f;++l)(s=c[u=Rs+o.call(e,a[l],l,a)])?(i[l]=s,s.__data__=a[l],c[u]=null):t[l]=new T(e,a[l]);for(l=0;l<d;++l)(s=n[l])&&c[h[l]]===s&&(r[l]=s)}function C(e,n){return e<n?-1:e>n?1:e>=n?0:NaN}function M(e){return function(){this.removeAttribute(e)}}function A(e){return function(){this.removeAttributeNS(e.space,e.local)}}function I(e,n){return function(){this.setAttribute(e,n)}}function L(e,n){return function(){this.setAttributeNS(e.space,e.local,n)}}function Z(e,n){return function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}}function z(e,n){return function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}}function D(e){return function(){this.style.removeProperty(e)}}function F(e,n,t){return function(){this.style.setProperty(e,n,t)}}function E(e,n,t){return function(){var i=n.apply(this,arguments);null==i?this.style.removeProperty(e):this.style.setProperty(e,i,t)}}function X(e){return function(){delete this[e]}}function O(e,n){return function(){this[e]=n}}function R(e,n){return function(){var t=n.apply(this,arguments);null==t?delete this[e]:this[e]=t}}function H(e){return e.trim().split(/^|\s+/)}function q(e){return e.classList||new V(e)}function V(e){this._node=e,this._names=H(e.getAttribute("class")||"")}function B(e,n){for(var t=q(e),i=-1,r=n.length;++i<r;)t.add(n[i])}function J(e,n){for(var t=q(e),i=-1,r=n.length;++i<r;)t.remove(n[i])}function K(e){return function(){B(this,e)}}function U(e){return function(){J(this,e)}}function W(e,n){return function(){(n.apply(this,arguments)?B:J)(this,e)}}function G(){this.textContent=""}function Q(e){return function(){this.textContent=e}}function Y(e){return function(){var n=e.apply(this,arguments);this.textContent=null==n?"":n}}function $(){this.innerHTML=""}function ee(e){return function(){this.innerHTML=e}}function ne(e){return function(){var n=e.apply(this,arguments);this.innerHTML=null==n?"":n}}function te(){this.nextSibling&&this.parentNode.appendChild(this)}function ie(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function re(){return null}function ae(){var e=this.parentNode;e&&e.removeChild(this)}function oe(e,n,t){var i=Hs(e),r=i.CustomEvent;r?r=new r(n,t):(r=i.document.createEvent("Event"),t?(r.initEvent(n,t.bubbles,t.cancelable),r.detail=t.detail):r.initEvent(n,!1,!1)),e.dispatchEvent(r)}function le(e,n){return function(){return oe(this,e,n)}}function se(e,n){return function(){return oe(this,e,n.apply(this,arguments))}}function ue(e,n){this._groups=e,this._parents=n}function ce(){return new ue([[document.documentElement]],qs)}function de(){e.event.stopImmediatePropagation()}function fe(e,n){var t=e.document.documentElement,i=Vs(e).on("dragstart.drag",null);n&&(i.on("click.drag",Js,!0),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in t?i.on("selectstart.drag",null):(t.style.MozUserSelect=t.__noselect,delete t.__noselect)}function he(e,n,t,i,r,a,o,l,s,u){this.target=e,this.type=n,this.subject=t,this.identifier=i,this.active=r,this.x=a,this.y=o,this.dx=l,this.dy=s,this._=u}function pe(){return!e.event.button}function ve(){return this.parentNode}function me(n){return null==n?{x:e.event.x,y:e.event.y}:n}function xe(e,n){var t=Object.create(e.prototype);for(var i in n)t[i]=n[i];return t}function ge(){}function ye(e){var n;return e=(e+"").trim().toLowerCase(),(n=nu.exec(e))?new ke((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=tu.exec(e))?be(parseInt(n[1],16)):(n=iu.exec(e))?new ke(n[1],n[2],n[3],1):(n=ru.exec(e))?new ke(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=au.exec(e))?_e(n[1],n[2],n[3],n[4]):(n=ou.exec(e))?_e(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=lu.exec(e))?Pe(n[1],n[2]/100,n[3]/100,1):(n=su.exec(e))?Pe(n[1],n[2]/100,n[3]/100,n[4]):uu.hasOwnProperty(e)?be(uu[e]):"transparent"===e?new ke(NaN,NaN,NaN,0):null}function be(e){return new ke(e>>16&255,e>>8&255,255&e,1)}function _e(e,n,t,i){return i<=0&&(e=n=t=NaN),new ke(e,n,t,i)}function je(e){return e instanceof ge||(e=ye(e)),e?new ke((e=e.rgb()).r,e.g,e.b,e.opacity):new ke}function we(e,n,t,i){return 1===arguments.length?je(e):new ke(e,n,t,null==i?1:i)}function ke(e,n,t,i){this.r=+e,this.g=+n,this.b=+t,this.opacity=+i}function Pe(e,n,t,i){return i<=0?e=n=t=NaN:t<=0||t>=1?e=n=NaN:n<=0&&(e=NaN),new Se(e,n,t,i)}function Te(e){if(e instanceof Se)return new Se(e.h,e.s,e.l,e.opacity);if(e instanceof ge||(e=ye(e)),!e)return new Se;if(e instanceof Se)return e;var n=(e=e.rgb()).r/255,t=e.g/255,i=e.b/255,r=Math.min(n,t,i),a=Math.max(n,t,i),o=NaN,l=a-r,s=(a+r)/2;return l?(o=n===a?(t-i)/l+6*(t<i):t===a?(i-n)/l+2:(n-t)/l+4,l/=s<.5?a+r:2-a-r,o*=60):l=s>0&&s<1?0:o,new Se(o,l,s,e.opacity)}function Ne(e,n,t,i){return 1===arguments.length?Te(e):new Se(e,n,t,null==i?1:i)}function Se(e,n,t,i){this.h=+e,this.s=+n,this.l=+t,this.opacity=+i}function Ce(e,n,t){return 255*(e<60?n+(t-n)*e/60:e<180?t:e<240?n+(t-n)*(240-e)/60:n)}function Me(e){if(e instanceof Ie)return new Ie(e.l,e.a,e.b,e.opacity);if(e instanceof Xe){var n=e.h*cu;return new Ie(e.l,Math.cos(n)*e.c,Math.sin(n)*e.c,e.opacity)}e instanceof ke||(e=je(e));var t=De(e.r),i=De(e.g),r=De(e.b),a=Le((.4124564*t+.3575761*i+.1804375*r)/fu),o=Le((.2126729*t+.7151522*i+.072175*r)/hu);return new Ie(116*o-16,500*(a-o),200*(o-Le((.0193339*t+.119192*i+.9503041*r)/pu)),e.opacity)}function Ae(e,n,t,i){return 1===arguments.length?Me(e):new Ie(e,n,t,null==i?1:i)}function Ie(e,n,t,i){this.l=+e,this.a=+n,this.b=+t,this.opacity=+i}function Le(e){return e>gu?Math.pow(e,1/3):e/xu+vu}function Ze(e){return e>mu?e*e*e:xu*(e-vu)}function ze(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function De(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Fe(e){if(e instanceof Xe)return new Xe(e.h,e.c,e.l,e.opacity);e instanceof Ie||(e=Me(e));var n=Math.atan2(e.b,e.a)*du;return new Xe(n<0?n+360:n,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function Ee(e,n,t,i){return 1===arguments.length?Fe(e):new Xe(e,n,t,null==i?1:i)}function Xe(e,n,t,i){this.h=+e,this.c=+n,this.l=+t,this.opacity=+i}function Oe(e){if(e instanceof He)return new He(e.h,e.s,e.l,e.opacity);e instanceof ke||(e=je(e));var n=e.r/255,t=e.g/255,i=e.b/255,r=(Tu*i+ku*n-Pu*t)/(Tu+ku-Pu),a=i-r,o=(wu*(t-r)-_u*a)/ju,l=Math.sqrt(o*o+a*a)/(wu*r*(1-r)),s=l?Math.atan2(o,a)*du-120:NaN;return new He(s<0?s+360:s,l,r,e.opacity)}function Re(e,n,t,i){return 1===arguments.length?Oe(e):new He(e,n,t,null==i?1:i)}function He(e,n,t,i){this.h=+e,this.s=+n,this.l=+t,this.opacity=+i}function qe(e,n,t,i,r){var a=e*e,o=a*e;return((1-3*e+3*a-o)*n+(4-6*a+3*o)*t+(1+3*e+3*a-3*o)*i+o*r)/6}function Ve(e,n){return function(t){return e+t*n}}function Be(e,n){var t=n-e;return t?Ve(e,t>180||t<-180?t-360*Math.round(t/360):t):zu(isNaN(e)?n:e)}function Je(e){return 1==(e=+e)?Ke:function(n,t){return t-n?function(e,n,t){return e=Math.pow(e,t),n=Math.pow(n,t)-e,t=1/t,function(i){return Math.pow(e+i*n,t)}}(n,t,e):zu(isNaN(n)?t:n)}}function Ke(e,n){var t=n-e;return t?Ve(e,t):zu(isNaN(e)?n:e)}function Ue(e){return function(n){var t,i,r=n.length,a=new Array(r),o=new Array(r),l=new Array(r);for(t=0;t<r;++t)i=we(n[t]),a[t]=i.r||0,o[t]=i.g||0,l[t]=i.b||0;return a=e(a),o=e(o),l=e(l),i.opacity=1,function(e){return i.r=a(e),i.g=o(e),i.b=l(e),i+""}}}function We(e,n,t,i){function r(e){return e.length?e.pop()+" ":""}function a(e,i,r,a,o,l){if(e!==r||i!==a){var s=o.push("translate(",null,n,null,t);l.push({i:s-4,x:Ru(e,r)},{i:s-2,x:Ru(i,a)})}else(r||a)&&o.push("translate("+r+n+a+t)}function o(e,n,t,a){e!==n?(e-n>180?n+=360:n-e>180&&(e+=360),a.push({i:t.push(r(t)+"rotate(",null,i)-2,x:Ru(e,n)})):n&&t.push(r(t)+"rotate("+n+i)}function l(e,n,t,a){e!==n?a.push({i:t.push(r(t)+"skewX(",null,i)-2,x:Ru(e,n)}):n&&t.push(r(t)+"skewX("+n+i)}function s(e,n,t,i,a,o){if(e!==t||n!==i){var l=a.push(r(a)+"scale(",null,",",null,")");o.push({i:l-4,x:Ru(e,t)},{i:l-2,x:Ru(n,i)})}else 1===t&&1===i||a.push(r(a)+"scale("+t+","+i+")")}return function(n,t){var i=[],r=[];return n=e(n),t=e(t),a(n.translateX,n.translateY,t.translateX,t.translateY,i,r),o(n.rotate,t.rotate,i,r),l(n.skewX,t.skewX,i,r),s(n.scaleX,n.scaleY,t.scaleX,t.scaleY,i,r),n=t=null,function(e){for(var n,t=-1,a=r.length;++t<a;)i[(n=r[t]).i]=n.x(e);return i.join("")}}}function Ge(e){return((e=Math.exp(e))+1/e)/2}function Qe(e){return function(n,t){var i=e((n=Ne(n)).h,(t=Ne(t)).h),r=Ke(n.s,t.s),a=Ke(n.l,t.l),o=Ke(n.opacity,t.opacity);return function(e){return n.h=i(e),n.s=r(e),n.l=a(e),n.opacity=o(e),n+""}}}function Ye(e){return function(n,t){var i=e((n=Ee(n)).h,(t=Ee(t)).h),r=Ke(n.c,t.c),a=Ke(n.l,t.l),o=Ke(n.opacity,t.opacity);return function(e){return n.h=i(e),n.c=r(e),n.l=a(e),n.opacity=o(e),n+""}}}function $e(e){return function n(t){function i(n,i){var r=e((n=Re(n)).h,(i=Re(i)).h),a=Ke(n.s,i.s),o=Ke(n.l,i.l),l=Ke(n.opacity,i.opacity);return function(e){return n.h=r(e),n.s=a(e),n.l=o(Math.pow(e,t)),n.opacity=l(e),n+""}}return t=+t,i.gamma=n,i}(1)}function en(){return fc||(vc(nn),fc=pc.now()+hc)}function nn(){fc=0}function tn(){this._call=this._time=this._next=null}function rn(e,n,t){var i=new tn;return i.restart(e,n,t),i}function an(){en(),++lc;for(var e,n=Au;n;)(e=fc-n._time)>=0&&n._call.call(null,e),n=n._next;--lc}function on(){fc=(dc=pc.now())+hc,lc=sc=0;try{an()}finally{lc=0,function(){for(var e,n,t=Au,i=1/0;t;)t._call?(i>t._time&&(i=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Au=n);Iu=e,sn(i)}(),fc=0}}function ln(){var e=pc.now(),n=e-dc;n>cc&&(hc-=n,dc=e)}function sn(e){if(!lc){sc&&(sc=clearTimeout(sc));var n=e-fc;n>24?(e<1/0&&(sc=setTimeout(on,n)),uc&&(uc=clearInterval(uc))):(uc||(dc=fc,uc=setInterval(ln,cc)),lc=1,vc(on))}}function un(e,n){var t=e.__transition;if(!t||!(t=t[n])||t.state>yc)throw new Error("too late");return t}function cn(e,n){var t=e.__transition;if(!t||!(t=t[n])||t.state>_c)throw new Error("too late");return t}function dn(e,n){var t=e.__transition;if(!t||!(t=t[n]))throw new Error("too late");return t}function fn(e,n){var t,i;return function(){var r=cn(this,e),a=r.tween;if(a!==t)for(var o=0,l=(i=t=a).length;o<l;++o)if(i[o].name===n){(i=i.slice()).splice(o,1);break}r.tween=i}}function hn(e,n,t){var i,r;if("function"!=typeof t)throw new Error;return function(){var a=cn(this,e),o=a.tween;if(o!==i){r=(i=o).slice();for(var l={name:n,value:t},s=0,u=r.length;s<u;++s)if(r[s].name===n){r[s]=l;break}s===u&&r.push(l)}a.tween=r}}function pn(e,n,t){var i=e._id;return e.each((function(){var e=cn(this,i);(e.value||(e.value={}))[n]=t.apply(this,arguments)})),function(e){return dn(e,i).value[n]}}function vn(e){return function(){this.removeAttribute(e)}}function mn(e){return function(){this.removeAttributeNS(e.space,e.local)}}function xn(e,n,t){var i,r;return function(){var a=this.getAttribute(e);return a===t?null:a===i?r:r=n(i=a,t)}}function gn(e,n,t){var i,r;return function(){var a=this.getAttributeNS(e.space,e.local);return a===t?null:a===i?r:r=n(i=a,t)}}function yn(e,n,t){var i,r,a;return function(){var o,l=t(this);return null==l?void this.removeAttribute(e):(o=this.getAttribute(e))===l?null:o===i&&l===r?a:a=n(i=o,r=l)}}function bn(e,n,t){var i,r,a;return function(){var o,l=t(this);return null==l?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local))===l?null:o===i&&l===r?a:a=n(i=o,r=l)}}function _n(e,n){function t(){var t=this,i=n.apply(t,arguments);return i&&function(n){t.setAttributeNS(e.space,e.local,i(n))}}return t._value=n,t}function jn(e,n){function t(){var t=this,i=n.apply(t,arguments);return i&&function(n){t.setAttribute(e,i(n))}}return t._value=n,t}function wn(e,n){return function(){un(this,e).delay=+n.apply(this,arguments)}}function kn(e,n){return n=+n,function(){un(this,e).delay=n}}function Pn(e,n){return function(){cn(this,e).duration=+n.apply(this,arguments)}}function Tn(e,n){return n=+n,function(){cn(this,e).duration=n}}function Nn(e,n){if("function"!=typeof n)throw new Error;return function(){cn(this,e).ease=n}}function Sn(e,n,t){var i,r,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var n=e.indexOf(".");return n>=0&&(e=e.slice(0,n)),!e||"start"===e}))}(n)?un:cn;return function(){var o=a(this,e),l=o.on;l!==i&&(r=(i=l).copy()).on(n,t),o.on=r}}function Cn(e,n,t){function i(){var i=this,r=n.apply(i,arguments);return r&&function(n){i.style.setProperty(e,r(n),t)}}return i._value=n,i}function Mn(e,n,t,i){this._groups=e,this._parents=n,this._name=t,this._id=i}function An(e){return ce().transition(e)}function In(){return++Mc}function Ln(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function Zn(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}function zn(e){return(1-Math.cos(zc*e))/2}function Dn(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}function Fn(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}function En(e){return(e=+e)<Fc?Jc*e*e:e<Xc?Jc*(e-=Ec)*e+Oc:e<Hc?Jc*(e-=Rc)*e+qc:Jc*(e-=Vc)*e+Bc}function Xn(e,n){for(var t;!(t=e.__transition)||!(t=t[n]);)if(!(e=e.parentNode))return nd.time=en(),nd;return t}function On(){e.event.stopImmediatePropagation()}function Rn(e){return{type:e}}function Hn(){return!e.event.button}function qn(){var e=this.ownerSVGElement||this;return[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function Vn(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function Bn(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function Jn(n){function t(e){var t=e.property("__brush",l).selectAll(".overlay").data([Rn("overlay")]);t.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",hd.overlay).merge(t).each((function(){var e=Vn(this).extent;Vs(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])})),e.selectAll(".selection").data([Rn("selection")]).enter().append("rect").attr("class","selection").attr("cursor",hd.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(n.handles,(function(e){return e.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(e){return"handle handle--"+e.type})).attr("cursor",(function(e){return hd[e.type]})),e.each(i).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",o)}function i(){var e=Vs(this),n=Vn(this).selection;n?(e.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),e.selectAll(".handle").style("display",null).attr("x",(function(e){return"e"===e.type[e.type.length-1]?n[1][0]-h/2:n[0][0]-h/2})).attr("y",(function(e){return"s"===e.type[0]?n[1][1]-h/2:n[0][1]-h/2})).attr("width",(function(e){return"n"===e.type||"s"===e.type?n[1][0]-n[0][0]+h:h})).attr("height",(function(e){return"e"===e.type||"w"===e.type?n[1][1]-n[0][1]+h:h}))):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function r(e,n){return e.__brush.emitter||new a(e,n)}function a(e,n){this.that=e,this.args=n,this.state=e.__brush,this.active=0}function o(){function t(){var e=Fs(k);!D||j||w||(Math.abs(e[0]-E[0])>Math.abs(e[1]-E[1])?w=!0:j=!0),E=e,_=!0,ad(),a()}function a(){var e;switch(y=E[0]-F[0],b=E[1]-F[1],T){case ld:case od:N&&(y=Math.max(I-c,Math.min(Z-v,y)),f=c+y,m=v+y),S&&(b=Math.max(L-h,Math.min(z-x,b)),p=h+b,g=x+b);break;case sd:N<0?(y=Math.max(I-c,Math.min(Z-c,y)),f=c+y,m=v):N>0&&(y=Math.max(I-v,Math.min(Z-v,y)),f=c,m=v+y),S<0?(b=Math.max(L-h,Math.min(z-h,b)),p=h+b,g=x):S>0&&(b=Math.max(L-x,Math.min(z-x,b)),p=h,g=x+b);break;case ud:N&&(f=Math.max(I,Math.min(Z,c-y*N)),m=Math.max(I,Math.min(Z,v+y*N))),S&&(p=Math.max(L,Math.min(z,h-b*S)),g=Math.max(L,Math.min(z,x+b*S)))}m<f&&(N*=-1,e=c,c=v,v=e,e=f,f=m,m=e,P in pd&&R.attr("cursor",hd[P=pd[P]])),g<p&&(S*=-1,e=h,h=x,x=e,e=p,p=g,g=e,P in vd&&R.attr("cursor",hd[P=vd[P]])),C.selection&&(A=C.selection),j&&(f=A[0][0],m=A[1][0]),w&&(p=A[0][1],g=A[1][1]),A[0][0]===f&&A[0][1]===p&&A[1][0]===m&&A[1][1]===g||(C.selection=[[f,p],[m,g]],i.call(k),X.brush())}function o(){if(On(),e.event.touches){if(e.event.touches.length)return;s&&clearTimeout(s),s=setTimeout((function(){s=null}),500),O.on("touchmove.brush touchend.brush touchcancel.brush",null)}else fe(e.event.view,_),H.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);O.attr("pointer-events","all"),R.attr("cursor",hd.overlay),C.selection&&(A=C.selection),Bn(A)&&(C.selection=null,i.call(k)),X.end()}function l(){switch(e.event.keyCode){case 16:D=N&&S;break;case 18:T===sd&&(N&&(v=m-y*N,c=f+y*N),S&&(x=g-b*S,h=p+b*S),T=ud,a());break;case 32:T!==sd&&T!==ud||(N<0?v=m-y:N>0&&(c=f-y),S<0?x=g-b:S>0&&(h=p-b),T=ld,R.attr("cursor",hd.selection),a());break;default:return}ad()}function u(){switch(e.event.keyCode){case 16:D&&(j=w=D=!1,a());break;case 18:T===ud&&(N<0?v=m:N>0&&(c=f),S<0?x=g:S>0&&(h=p),T=sd,a());break;case 32:T===ld&&(e.event.altKey?(N&&(v=m-y*N,c=f+y*N),S&&(x=g-b*S,h=p+b*S),T=ud):(N<0?v=m:N>0&&(c=f),S<0?x=g:S>0&&(h=p),T=sd),R.attr("cursor",hd[P]),a());break;default:return}ad()}if(e.event.touches){if(e.event.changedTouches.length<e.event.touches.length)return ad()}else if(s)return;if(d.apply(this,arguments)){var c,f,h,p,v,m,x,g,y,b,_,j,w,k=this,P=e.event.target.__data__.type,T="selection"===(e.event.metaKey?P="overlay":P)?od:e.event.altKey?ud:sd,N=n===dd?null:md[P],S=n===cd?null:xd[P],C=Vn(k),M=C.extent,A=C.selection,I=M[0][0],L=M[0][1],Z=M[1][0],z=M[1][1],D=N&&S&&e.event.shiftKey,F=Fs(k),E=F,X=r(k,arguments).beforestart();"overlay"===P?C.selection=A=[[c=n===dd?I:F[0],h=n===cd?L:F[1]],[v=n===dd?Z:c,x=n===cd?z:h]]:(c=A[0][0],h=A[0][1],v=A[1][0],x=A[1][1]),f=c,p=h,m=v,g=x;var O=Vs(k).attr("pointer-events","none"),R=O.selectAll(".overlay").attr("cursor",hd[P]);if(e.event.touches)O.on("touchmove.brush",t,!0).on("touchend.brush touchcancel.brush",o,!0);else{var H=Vs(e.event.view).on("keydown.brush",l,!0).on("keyup.brush",u,!0).on("mousemove.brush",t,!0).on("mouseup.brush",o,!0);Ks(e.event.view)}On(),Nc(k),i.call(k),X.start()}}function l(){var e=this.__brush||{selection:null};return e.extent=c.apply(this,arguments),e.dim=n,e}var s,c=qn,d=Hn,f=u(t,"start","brush","end"),h=6;return t.move=function(e,t){e.selection?e.on("start.brush",(function(){r(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){r(this,arguments).end()})).tween("brush",(function(){function e(e){o.selection=1===e&&Bn(u)?null:c(e),i.call(a),l.brush()}var a=this,o=a.__brush,l=r(a,arguments),s=o.selection,u=n.input("function"==typeof t?t.apply(this,arguments):t,o.extent),c=Ju(s,u);return s&&u?e:e(1)})):e.each((function(){var e=this,a=arguments,o=e.__brush,l=n.input("function"==typeof t?t.apply(e,a):t,o.extent),s=r(e,a).beforestart();Nc(e),o.selection=null==l||Bn(l)?null:l,i.call(e),s.start().brush().end()}))},a.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){w(new rd(t,e,n.output(this.state.selection)),f.apply,f,[e,this.that,this.args])}},t.extent=function(e){return arguments.length?(c="function"==typeof e?e:id([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),t):c},t.filter=function(e){return arguments.length?(d="function"==typeof e?e:id(!!e),t):d},t.handleSize=function(e){return arguments.length?(h=+e,t):h},t.on=function(){var e=f.on.apply(f,arguments);return e===f?t:e},t}function Kn(e){return function(n,t){return e(n.source.value+n.target.value,t.source.value+t.target.value)}}function Un(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Wn(){return new Un}function Gn(e){return e.source}function Qn(e){return e.target}function Yn(e){return e.radius}function $n(e){return e.startAngle}function et(e){return e.endAngle}function nt(){}function tt(e,n){var t=new nt;if(e instanceof nt)e.each((function(e,n){t.set(n,e)}));else if(Array.isArray(e)){var i,r=-1,a=e.length;if(null==n)for(;++r<a;)t.set(r,e[r]);else for(;++r<a;)t.set(n(i=e[r],r,e),i)}else if(e)for(var o in e)t.set(o,e[o]);return t}function it(){return{}}function rt(e,n,t){e[n]=t}function at(){return tt()}function ot(e,n,t){e.set(n,t)}function lt(){}function st(e,n){var t=new lt;if(e instanceof lt)e.each((function(e){t.add(e)}));else if(e){var i=-1,r=e.length;if(null==n)for(;++i<r;)t.add(e[i]);else for(;++i<r;)t.add(n(e[i],i,e))}return t}function ut(e){return new Function("d","return {"+e.map((function(e,n){return JSON.stringify(e)+": d["+n+"]"})).join(",")+"}")}function ct(e,n,t,i){if(isNaN(n)||isNaN(t))return e;var r,a,o,l,s,u,c,d,f,h=e._root,p={data:i},v=e._x0,m=e._y0,x=e._x1,g=e._y1;if(!h)return e._root=p,e;for(;h.length;)if((u=n>=(a=(v+x)/2))?v=a:x=a,(c=t>=(o=(m+g)/2))?m=o:g=o,r=h,!(h=h[d=c<<1|u]))return r[d]=p,e;if(l=+e._x.call(null,h.data),s=+e._y.call(null,h.data),n===l&&t===s)return p.next=h,r?r[d]=p:e._root=p,e;do{r=r?r[d]=new Array(4):e._root=new Array(4),(u=n>=(a=(v+x)/2))?v=a:x=a,(c=t>=(o=(m+g)/2))?m=o:g=o}while((d=c<<1|u)==(f=(s>=o)<<1|l>=a));return r[f]=h,r[d]=p,e}function dt(e){return e[0]}function ft(e){return e[1]}function ht(e,n,t){var i=new pt(null==n?dt:n,null==t?ft:t,NaN,NaN,NaN,NaN);return null==e?i:i.addAll(e)}function pt(e,n,t,i,r,a){this._x=e,this._y=n,this._x0=t,this._y0=i,this._x1=r,this._y1=a,this._root=void 0}function vt(e){for(var n={data:e.data},t=n;e=e.next;)t=t.next={data:e.data};return n}function mt(e){return e.x+e.vx}function xt(e){return e.y+e.vy}function gt(e){return e.index}function yt(e,n){var t=e.get(n);if(!t)throw new Error("missing: "+n);return t}function bt(e){return e.x}function _t(e){return e.y}function jt(e){if(!(n=$d.exec(e)))throw new Error("invalid format: "+e);var n,t=n[1]||" ",i=n[2]||">",r=n[3]||"-",a=n[4]||"",o=!!n[5],l=n[6]&&+n[6],s=!!n[7],u=n[8]&&+n[8].slice(1),c=n[9]||"";"n"===c?(s=!0,c="g"):Yd[c]||(c=""),(o||"0"===t&&"="===i)&&(o=!0,t="0",i="="),this.fill=t,this.align=i,this.sign=r,this.symbol=a,this.zero=o,this.width=l,this.comma=s,this.precision=u,this.type=c}function wt(e){return e}function kt(n){return nf=rf(n),e.format=nf.format,e.formatPrefix=nf.formatPrefix,nf}function Pt(){this.reset()}function Tt(e,n,t){var i=e.s=n+t,r=i-n,a=i-r;e.t=n-a+(t-r)}function Nt(e){return e>1?0:e<-1?Hf:Math.acos(e)}function St(e){return e>1?qf:e<-1?-qf:Math.asin(e)}function Ct(e){return(e=th(e/2))*e}function Mt(){}function At(e,n){e&&lh.hasOwnProperty(e.type)&&lh[e.type](e,n)}function It(e,n,t){var i,r=-1,a=e.length-t;for(n.lineStart();++r<a;)i=e[r],n.point(i[0],i[1],i[2]);n.lineEnd()}function Lt(e,n){var t=-1,i=e.length;for(n.polygonStart();++t<i;)It(e[t],n,1);n.polygonEnd()}function Zt(){dh.point=Dt}function zt(){Ft(uf,cf)}function Dt(e,n){dh.point=Ft,uf=e,cf=n,df=e*=Kf,ff=Qf(n=(n*=Kf)/2+Vf),hf=th(n)}function Ft(e,n){var t=(e*=Kf)-df,i=t>=0?1:-1,r=i*t,a=Qf(n=(n*=Kf)/2+Vf),o=th(n),l=hf*o,s=ff*a+l*Qf(r),u=l*i*th(r);uh.add(Gf(u,s)),df=e,ff=a,hf=o}function Et(e){return[Gf(e[1],e[0]),St(e[2])]}function Xt(e){var n=e[0],t=e[1],i=Qf(t);return[i*Qf(n),i*th(n),th(t)]}function Ot(e,n){return e[0]*n[0]+e[1]*n[1]+e[2]*n[2]}function Rt(e,n){return[e[1]*n[2]-e[2]*n[1],e[2]*n[0]-e[0]*n[2],e[0]*n[1]-e[1]*n[0]]}function Ht(e,n){e[0]+=n[0],e[1]+=n[1],e[2]+=n[2]}function qt(e,n){return[e[0]*n,e[1]*n,e[2]*n]}function Vt(e){var n=rh(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=n,e[1]/=n,e[2]/=n}function Bt(e,n){jf.push(wf=[pf=e,mf=e]),n<vf&&(vf=n),n>xf&&(xf=n)}function Jt(e,n){var t=Xt([e*Kf,n*Kf]);if(_f){var i=Rt(_f,t),r=Rt([i[1],-i[0],0],i);Vt(r),r=Et(r);var a,o=e-gf,l=o>0?1:-1,s=r[0]*Jf*l,u=Uf(o)>180;u^(l*gf<s&&s<l*e)?(a=r[1]*Jf)>xf&&(xf=a):u^(l*gf<(s=(s+360)%360-180)&&s<l*e)?(a=-r[1]*Jf)<vf&&(vf=a):(n<vf&&(vf=n),n>xf&&(xf=n)),u?e<gf?Yt(pf,e)>Yt(pf,mf)&&(mf=e):Yt(e,mf)>Yt(pf,mf)&&(pf=e):mf>=pf?(e<pf&&(pf=e),e>mf&&(mf=e)):e>gf?Yt(pf,e)>Yt(pf,mf)&&(mf=e):Yt(e,mf)>Yt(pf,mf)&&(pf=e)}else jf.push(wf=[pf=e,mf=e]);n<vf&&(vf=n),n>xf&&(xf=n),_f=t,gf=e}function Kt(){hh.point=Jt}function Ut(){wf[0]=pf,wf[1]=mf,hh.point=Bt,_f=null}function Wt(e,n){if(_f){var t=e-gf;fh.add(Uf(t)>180?t+(t>0?360:-360):t)}else yf=e,bf=n;dh.point(e,n),Jt(e,n)}function Gt(){dh.lineStart()}function Qt(){Wt(yf,bf),dh.lineEnd(),Uf(fh)>Rf&&(pf=-(mf=180)),wf[0]=pf,wf[1]=mf,_f=null}function Yt(e,n){return(n-=e)<0?n+360:n}function $t(e,n){return e[0]-n[0]}function ei(e,n){return e[0]<=e[1]?e[0]<=n&&n<=e[1]:n<e[0]||e[1]<n}function ni(e,n){e*=Kf;var t=Qf(n*=Kf);ti(t*Qf(e),t*th(e),th(n))}function ti(e,n,t){++kf,Tf+=(e-Tf)/kf,Nf+=(n-Nf)/kf,Sf+=(t-Sf)/kf}function ii(){ph.point=ri}function ri(e,n){e*=Kf;var t=Qf(n*=Kf);Ff=t*Qf(e),Ef=t*th(e),Xf=th(n),ph.point=ai,ti(Ff,Ef,Xf)}function ai(e,n){e*=Kf;var t=Qf(n*=Kf),i=t*Qf(e),r=t*th(e),a=th(n),o=Gf(rh((o=Ef*a-Xf*r)*o+(o=Xf*i-Ff*a)*o+(o=Ff*r-Ef*i)*o),Ff*i+Ef*r+Xf*a);Pf+=o,Cf+=o*(Ff+(Ff=i)),Mf+=o*(Ef+(Ef=r)),Af+=o*(Xf+(Xf=a)),ti(Ff,Ef,Xf)}function oi(){ph.point=ni}function li(){ph.point=ui}function si(){ci(zf,Df),ph.point=ni}function ui(e,n){zf=e,Df=n,e*=Kf,n*=Kf,ph.point=ci;var t=Qf(n);Ff=t*Qf(e),Ef=t*th(e),Xf=th(n),ti(Ff,Ef,Xf)}function ci(e,n){e*=Kf;var t=Qf(n*=Kf),i=t*Qf(e),r=t*th(e),a=th(n),o=Ef*a-Xf*r,l=Xf*i-Ff*a,s=Ff*r-Ef*i,u=rh(o*o+l*l+s*s),c=Ff*i+Ef*r+Xf*a,d=u&&-St(u)/u,f=Gf(u,c);If+=d*o,Lf+=d*l,Zf+=d*s,Pf+=f,Cf+=f*(Ff+(Ff=i)),Mf+=f*(Ef+(Ef=r)),Af+=f*(Xf+(Xf=a)),ti(Ff,Ef,Xf)}function di(e,n){return[e>Hf?e-Bf:e<-Hf?e+Bf:e,n]}function fi(e,n,t){return(e%=Bf)?n||t?mh(pi(e),vi(n,t)):pi(e):n||t?vi(n,t):di}function hi(e){return function(n,t){return[(n+=e)>Hf?n-Bf:n<-Hf?n+Bf:n,t]}}function pi(e){var n=hi(e);return n.invert=hi(-e),n}function vi(e,n){function t(e,n){var t=Qf(n),l=Qf(e)*t,s=th(e)*t,u=th(n),c=u*i+l*r;return[Gf(s*a-c*o,l*i-u*r),St(c*a+s*o)]}var i=Qf(e),r=th(e),a=Qf(n),o=th(n);return t.invert=function(e,n){var t=Qf(n),l=Qf(e)*t,s=th(e)*t,u=th(n),c=u*a-s*o;return[Gf(s*a+u*o,l*i+c*r),St(c*i-l*r)]},t}function mi(e,n,t,i,r,a){if(t){var o=Qf(n),l=th(n),s=i*t;null==r?(r=n+i*Bf,a=n-s/2):(r=xi(o,r),a=xi(o,a),(i>0?r<a:r>a)&&(r+=i*Bf));for(var u,c=r;i>0?c>a:c<a;c-=s)u=Et([o,-l*Qf(c),-l*th(c)]),e.point(u[0],u[1])}}function xi(e,n){(n=Xt(n))[0]-=e,Vt(n);var t=Nt(-n[1]);return((-n[2]<0?-t:t)+Bf-Rf)%Bf}function gi(e,n,t,i){this.x=e,this.z=n,this.o=t,this.e=i,this.v=!1,this.n=this.p=null}function yi(e){if(n=e.length){for(var n,t,i=0,r=e[0];++i<n;)r.n=t=e[i],t.p=r,r=t;r.n=t=e[0],t.p=r}}function bi(e,n,t,i){function r(r,a){return e<=r&&r<=t&&n<=a&&a<=i}function a(r,a,l,u){var c=0,d=0;if(null==r||(c=o(r,l))!==(d=o(a,l))||s(r,a)<0^l>0)do{u.point(0===c||3===c?e:t,c>1?i:n)}while((c=(c+l+4)%4)!==d);else u.point(a[0],a[1])}function o(i,r){return Uf(i[0]-e)<Rf?r>0?0:3:Uf(i[0]-t)<Rf?r>0?2:1:Uf(i[1]-n)<Rf?r>0?1:0:r>0?3:2}function l(e,n){return s(e.x,n.x)}function s(e,n){var t=o(e,1),i=o(n,1);return t!==i?t-i:0===t?n[1]-e[1]:1===t?e[0]-n[0]:2===t?e[1]-n[1]:n[0]-e[0]}return function(o){function s(e,n){r(e,n)&&j.point(e,n)}function u(){for(var n=0,t=0,r=f.length;t<r;++t)for(var a,o,l=f[t],s=1,u=l.length,c=l[0],d=c[0],h=c[1];s<u;++s)a=d,o=h,d=(c=l[s])[0],h=c[1],o<=i?h>i&&(d-a)*(i-o)>(h-o)*(e-a)&&++n:h<=i&&(d-a)*(i-o)<(h-o)*(e-a)&&--n;return n}function c(a,o){var l=r(a,o);if(f&&h.push([a,o]),b)p=a,v=o,m=l,b=!1,l&&(j.lineStart(),j.point(a,o));else if(l&&y)j.point(a,o);else{var s=[x=Math.max(Lh,Math.min(Ih,x)),g=Math.max(Lh,Math.min(Ih,g))],u=[a=Math.max(Lh,Math.min(Ih,a)),o=Math.max(Lh,Math.min(Ih,o))];Ch(s,u,e,n,t,i)?(y||(j.lineStart(),j.point(s[0],s[1])),j.point(u[0],u[1]),l||j.lineEnd(),_=!1):l&&(j.lineStart(),j.point(a,o),_=!1)}x=a,g=o,y=l}var d,f,h,p,v,m,x,g,y,b,_,j=o,w=Sh(),k={point:s,lineStart:function(){k.point=c,f&&f.push(h=[]),b=!0,y=!1,x=g=NaN},lineEnd:function(){d&&(c(p,v),m&&y&&w.rejoin(),d.push(w.result())),k.point=s,y&&j.lineEnd()},polygonStart:function(){j=w,d=[],f=[],_=!0},polygonEnd:function(){var e=u(),n=_&&e,t=(d=ps(d)).length;(n||t)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),t&&Ah(d,l,e,a,o),o.polygonEnd()),j=o,d=f=h=null}};return k}}function _i(){zh.point=zh.lineEnd=Mt}function ji(e,n){xh=e*=Kf,gh=th(n*=Kf),yh=Qf(n),zh.point=wi}function wi(e,n){e*=Kf;var t=th(n*=Kf),i=Qf(n),r=Uf(e-xh),a=Qf(r),o=i*th(r),l=yh*t-gh*i*a,s=gh*t+yh*i*a;Zh.add(Gf(rh(o*o+l*l),s)),xh=e,gh=t,yh=i}function ki(e,n,t){var i=ls(e,n-Rf,t).concat(n);return function(e){return i.map((function(n){return[e,n]}))}}function Pi(e,n,t){var i=ls(e,n-Rf,t).concat(n);return function(e){return i.map((function(n){return[n,e]}))}}function Ti(){function e(){return{type:"MultiLineString",coordinates:n()}}function n(){return ls(Yf(a/m)*m,r,m).map(f).concat(ls(Yf(u/x)*x,s,x).map(h)).concat(ls(Yf(i/p)*p,t,p).filter((function(e){return Uf(e%m)>Rf})).map(c)).concat(ls(Yf(l/v)*v,o,v).filter((function(e){return Uf(e%x)>Rf})).map(d))}var t,i,r,a,o,l,s,u,c,d,f,h,p=10,v=p,m=90,x=360,g=2.5;return e.lines=function(){return n().map((function(e){return{type:"LineString",coordinates:e}}))},e.outline=function(){return{type:"Polygon",coordinates:[f(a).concat(h(s).slice(1),f(r).reverse().slice(1),h(u).reverse().slice(1))]}},e.extent=function(n){return arguments.length?e.extentMajor(n).extentMinor(n):e.extentMinor()},e.extentMajor=function(n){return arguments.length?(a=+n[0][0],r=+n[1][0],u=+n[0][1],s=+n[1][1],a>r&&(n=a,a=r,r=n),u>s&&(n=u,u=s,s=n),e.precision(g)):[[a,u],[r,s]]},e.extentMinor=function(n){return arguments.length?(i=+n[0][0],t=+n[1][0],l=+n[0][1],o=+n[1][1],i>t&&(n=i,i=t,t=n),l>o&&(n=l,l=o,o=n),e.precision(g)):[[i,l],[t,o]]},e.step=function(n){return arguments.length?e.stepMajor(n).stepMinor(n):e.stepMinor()},e.stepMajor=function(n){return arguments.length?(m=+n[0],x=+n[1],e):[m,x]},e.stepMinor=function(n){return arguments.length?(p=+n[0],v=+n[1],e):[p,v]},e.precision=function(n){return arguments.length?(g=+n,c=ki(l,o,90),d=Pi(i,t,g),f=ki(u,s,90),h=Pi(a,r,g),e):g},e.extentMajor([[-180,-90+Rf],[180,90-Rf]]).extentMinor([[-180,-80-Rf],[180,80+Rf]])}function Ni(){Hh.point=Si}function Si(e,n){Hh.point=Ci,bh=jh=e,_h=wh=n}function Ci(e,n){Rh.add(wh*e-jh*n),jh=e,wh=n}function Mi(){Ci(bh,_h)}function Ai(e,n){Uh+=e,Wh+=n,++Gh}function Ii(){ip.point=Li}function Li(e,n){ip.point=Zi,Ai(Th=e,Nh=n)}function Zi(e,n){var t=e-Th,i=n-Nh,r=rh(t*t+i*i);Qh+=r*(Th+e)/2,Yh+=r*(Nh+n)/2,$h+=r,Ai(Th=e,Nh=n)}function zi(){ip.point=Ai}function Di(){ip.point=Ei}function Fi(){Xi(kh,Ph)}function Ei(e,n){ip.point=Xi,Ai(kh=Th=e,Ph=Nh=n)}function Xi(e,n){var t=e-Th,i=n-Nh,r=rh(t*t+i*i);Qh+=r*(Th+e)/2,Yh+=r*(Nh+n)/2,$h+=r,ep+=(r=Nh*e-Th*n)*(Th+e),np+=r*(Nh+n),tp+=3*r,Ai(Th=e,Nh=n)}function Oi(e){this._context=e}function Ri(e,n){cp.point=Hi,ap=lp=e,op=sp=n}function Hi(e,n){lp-=e,sp-=n,up.add(rh(lp*lp+sp*sp)),lp=e,sp=n}function qi(){this._string=[]}function Vi(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Bi(e){return e.length>1}function Ji(e,n){return((e=e.x)[0]<0?e[1]-qf-Rf:qf-e[1])-((n=n.x)[0]<0?n[1]-qf-Rf:qf-n[1])}function Ki(e){return function(n){var t=new Ui;for(var i in e)t[i]=e[i];return t.stream=n,t}}function Ui(){}function Wi(e,n,t){var i=n[1][0]-n[0][0],r=n[1][1]-n[0][1],a=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=a&&e.clipExtent(null),sh(t,e.stream(Kh));var o=Kh.result(),l=Math.min(i/(o[1][0]-o[0][0]),r/(o[1][1]-o[0][1])),s=+n[0][0]+(i-l*(o[1][0]+o[0][0]))/2,u=+n[0][1]+(r-l*(o[1][1]+o[0][1]))/2;return null!=a&&e.clipExtent(a),e.scale(150*l).translate([s,u])}function Gi(e,n,t){return Wi(e,[[0,0],n],t)}function Qi(e){return Yi((function(){return e}))()}function Yi(e){function n(e){return[(e=c(e[0]*Kf,e[1]*Kf))[0]*m+l,s-e[1]*m]}function t(e){return(e=c.invert((e[0]-l)/m,(s-e[1])/m))&&[e[0]*Jf,e[1]*Jf]}function i(e,n){return[(e=o(e,n))[0]*m+l,s-e[1]*m]}function r(){c=mh(u=fi(_,j,w),o);var e=o(y,b);return l=x-e[0]*m,s=g+e[1]*m,a()}function a(){return p=v=null,n}var o,l,s,u,c,d,f,h,p,v,m=150,x=480,g=250,y=0,b=0,_=0,j=0,w=0,k=null,P=hp,T=null,N=Xh,S=.5,C=xp(i,S);return n.stream=function(e){return p&&v===e?p:p=gp(P(u,C(N(v=e))))},n.clipAngle=function(e){return arguments.length?(P=+e?pp(k=e*Kf,6*Kf):(k=null,hp),a()):k*Jf},n.clipExtent=function(e){return arguments.length?(N=null==e?(T=d=f=h=null,Xh):bi(T=+e[0][0],d=+e[0][1],f=+e[1][0],h=+e[1][1]),a()):null==T?null:[[T,d],[f,h]]},n.scale=function(e){return arguments.length?(m=+e,r()):m},n.translate=function(e){return arguments.length?(x=+e[0],g=+e[1],r()):[x,g]},n.center=function(e){return arguments.length?(y=e[0]%360*Kf,b=e[1]%360*Kf,r()):[y*Jf,b*Jf]},n.rotate=function(e){return arguments.length?(_=e[0]%360*Kf,j=e[1]%360*Kf,w=e.length>2?e[2]%360*Kf:0,r()):[_*Jf,j*Jf,w*Jf]},n.precision=function(e){return arguments.length?(C=xp(i,S=e*e),a()):rh(S)},n.fitExtent=function(e,t){return Wi(n,e,t)},n.fitSize=function(e,t){return Gi(n,e,t)},function(){return o=e.apply(this,arguments),n.invert=o.invert&&t,r()}}function $i(e){var n=0,t=Hf/3,i=Yi(e),r=i(n,t);return r.parallels=function(e){return arguments.length?i(n=e[0]*Kf,t=e[1]*Kf):[n*Jf,t*Jf]},r}function er(e,n){function t(e,n){var t=rh(a-2*r*th(n))/r;return[t*th(e*=r),o-t*Qf(e)]}var i=th(e),r=(i+th(n))/2;if(Uf(r)<Rf)return function(e){function n(e,n){return[e*t,th(n)/t]}var t=Qf(e);return n.invert=function(e,n){return[e/t,St(n*t)]},n}(e);var a=1+i*(2*r-i),o=rh(a)/r;return t.invert=function(e,n){var t=o-n;return[Gf(e,Uf(t))/r*ih(t),St((a-(e*e+t*t)*r*r)/(2*r))]},t}function nr(e){return function(n,t){var i=Qf(n),r=Qf(t),a=e(i*r);return[a*r*th(n),a*th(t)]}}function tr(e){return function(n,t){var i=rh(n*n+t*t),r=e(i),a=th(r),o=Qf(r);return[Gf(n*a,i*o),St(i&&t*a/i)]}}function ir(e,n){return[e,eh(ah((qf+n)/2))]}function rr(e){var n,t=Qi(e),i=t.scale,r=t.translate,a=t.clipExtent;return t.scale=function(e){return arguments.length?(i(e),n&&t.clipExtent(null),t):i()},t.translate=function(e){return arguments.length?(r(e),n&&t.clipExtent(null),t):r()},t.clipExtent=function(e){if(!arguments.length)return n?null:a();if(n=null==e){var o=Hf*i(),l=r();e=[[l[0]-o,l[1]-o],[l[0]+o,l[1]+o]]}return a(e),t},t.clipExtent(null)}function ar(e){return ah((qf+e)/2)}function or(e,n){function t(e,n){a>0?n<-qf+Rf&&(n=-qf+Rf):n>qf-Rf&&(n=qf-Rf);var t=a/nh(ar(n),r);return[t*th(r*e),a-t*Qf(r*e)]}var i=Qf(e),r=e===n?th(e):eh(i/Qf(n))/eh(ar(n)/ar(e)),a=i*nh(ar(e),r)/r;return r?(t.invert=function(e,n){var t=a-n,i=ih(r)*rh(e*e+t*t);return[Gf(e,Uf(t))/r*ih(t),2*Wf(nh(a/i,1/r))-qf]},t):ir}function lr(e,n){return[e,n]}function sr(e,n){function t(e,n){var t=a-n,i=r*e;return[t*th(i),a-t*Qf(i)]}var i=Qf(e),r=e===n?th(e):(i-Qf(n))/(n-e),a=i/r+e;return Uf(r)<Rf?lr:(t.invert=function(e,n){var t=a-n;return[Gf(e,Uf(t))/r*ih(t),a-ih(r)*rh(e*e+t*t)]},t)}function ur(e,n){var t=Qf(n),i=Qf(e)*t;return[t*th(e)/i,th(n)/i]}function cr(e,n,t,i){return 1===e&&1===n&&0===t&&0===i?Xh:Ki({point:function(r,a){this.stream.point(r*e+t,a*n+i)}})}function dr(e,n){return[Qf(n)*th(e),th(n)]}function fr(e,n){var t=Qf(n),i=1+Qf(e)*t;return[t*th(e)/i,th(n)/i]}function hr(e,n){return[eh(ah((qf+n)/2)),-e]}function pr(e,n){return e.parent===n.parent?1:2}function vr(e,n){return e+n.x}function mr(e,n){return Math.max(e,n.y)}function xr(e){var n=0,t=e.children,i=t&&t.length;if(i)for(;--i>=0;)n+=t[i].value;else n=1;e.value=n}function gr(e,n){var t,i,r,a,o,l=new jr(e),s=+e.value&&(l.value=e.value),u=[l];for(null==n&&(n=yr);t=u.pop();)if(s&&(t.value=+t.data.value),(r=n(t.data))&&(o=r.length))for(t.children=new Array(o),a=o-1;a>=0;--a)u.push(i=t.children[a]=new jr(r[a])),i.parent=t,i.depth=t.depth+1;return l.eachBefore(_r)}function yr(e){return e.children}function br(e){e.data=e.data.data}function _r(e){var n=0;do{e.height=n}while((e=e.parent)&&e.height<++n)}function jr(e){this.data=e,this.depth=this.height=0,this.parent=null}function wr(e){this._=e,this.next=null}function kr(e,n){var t=n.x-e.x,i=n.y-e.y,r=e.r-n.r;return r*r+1e-6>t*t+i*i}function Pr(e,n){var t,i,r,a=null,o=e.head;switch(n.length){case 1:t=function(e){return{x:e.x,y:e.y,r:e.r}}(n[0]);break;case 2:t=function(e,n){var t=e.x,i=e.y,r=e.r,a=n.x,o=n.y,l=n.r,s=a-t,u=o-i,c=l-r,d=Math.sqrt(s*s+u*u);return{x:(t+a+s/d*c)/2,y:(i+o+u/d*c)/2,r:(d+r+l)/2}}(n[0],n[1]);break;case 3:t=function(e,n,t){var i=e.x,r=e.y,a=e.r,o=n.x,l=n.y,s=n.r,u=t.x,c=t.y,d=t.r,f=2*(i-o),h=2*(r-l),p=2*(s-a),v=i*i+r*r-a*a-o*o-l*l+s*s,m=2*(i-u),x=2*(r-c),g=2*(d-a),y=i*i+r*r-a*a-u*u-c*c+d*d,b=m*h-f*x,_=(h*y-x*v)/b-i,j=(x*p-h*g)/b,w=(m*v-f*y)/b-r,k=(f*g-m*p)/b,P=j*j+k*k-1,T=2*(_*j+w*k+a),N=_*_+w*w-a*a,S=(-T-Math.sqrt(T*T-4*P*N))/(2*P);return{x:_+j*S+i,y:w+k*S+r,r:S}}(n[0],n[1],n[2])}for(;o;)r=o._,i=o.next,t&&kr(t,r)?a=o:(a?(e.tail=a,a.next=null):e.head=e.tail=null,n.push(r),t=Pr(e,n),n.pop(),e.head?(o.next=e.head,e.head=o):(o.next=null,e.head=e.tail=o),(a=e.tail).next=i),o=i;return e.tail=a,t}function Tr(e,n,t){var i=e.x,r=e.y,a=n.r+t.r,o=e.r+t.r,l=n.x-i,s=n.y-r,u=l*l+s*s;if(u){var c=.5+((o*=o)-(a*=a))/(2*u),d=Math.sqrt(Math.max(0,2*a*(o+u)-(o-=u)*o-a*a))/(2*u);t.x=i+c*l+d*s,t.y=r+c*s-d*l}else t.x=i+o,t.y=r}function Nr(e,n){var t=n.x-e.x,i=n.y-e.y,r=e.r+n.r;return r*r-1e-6>t*t+i*i}function Sr(e,n){for(var t=e._.r;e!==n;)t+=2*(e=e.next)._.r;return t-n._.r}function Cr(e,n,t){var i=e._,r=e.next._,a=i.r+r.r,o=(i.x*r.r+r.x*i.r)/a-n,l=(i.y*r.r+r.y*i.r)/a-t;return o*o+l*l}function Mr(e){this._=e,this.next=null,this.previous=null}function Ar(e){if(!(r=e.length))return 0;var n,t,i,r;if((n=e[0]).x=0,n.y=0,!(r>1))return n.r;if(t=e[1],n.x=-t.r,t.x=n.r,t.y=0,!(r>2))return n.r+t.r;Tr(t,n,i=e[2]);var a,o,l,s,u,c,d,f=n.r*n.r,h=t.r*t.r,p=i.r*i.r,v=f+h+p,m=f*n.x+h*t.x+p*i.x,x=f*n.y+h*t.y+p*i.y;n=new Mr(n),t=new Mr(t),i=new Mr(i),n.next=i.previous=t,t.next=n.previous=i,i.next=t.previous=n;e:for(l=3;l<r;++l){Tr(n._,t._,i=e[l]),i=new Mr(i),s=t.next,u=n.previous,c=t._.r,d=n._.r;do{if(c<=d){if(Nr(s._,i._)){c+n._.r+t._.r>Sr(s,t)?n=s:t=s,n.next=t,t.previous=n,--l;continue e}c+=s._.r,s=s.next}else{if(Nr(u._,i._)){Sr(n,u)>d+n._.r+t._.r?n=u:t=u,n.next=t,t.previous=n,--l;continue e}d+=u._.r,u=u.previous}}while(s!==u.next);for(i.previous=n,i.next=t,n.next=t.previous=t=i,v+=p=i._.r*i._.r,f=Cr(n,a=(m+=p*i._.x)/v,o=(x+=p*i._.y)/v);(i=i.next)!==t;)(p=Cr(i,a,o))<f&&(n=i,f=p);t=n.next}for(n=[t._],i=t;(i=i.next)!==t;)n.push(i._);for(i=wp(n),l=0;l<r;++l)(n=e[l]).x-=i.x,n.y-=i.y;return i.r}function Ir(e){return null==e?null:Lr(e)}function Lr(e){if("function"!=typeof e)throw new Error;return e}function Zr(){return 0}function zr(e){return Math.sqrt(e.value)}function Dr(e){return function(n){n.children||(n.r=Math.max(0,+e(n)||0))}}function Fr(e,n){return function(t){if(i=t.children){var i,r,a,o=i.length,l=e(t)*n||0;if(l)for(r=0;r<o;++r)i[r].r+=l;if(a=Ar(i),l)for(r=0;r<o;++r)i[r].r-=l;t.r=a+l}}}function Er(e){return function(n){var t=n.parent;n.r*=e,t&&(n.x=t.x+e*n.x,n.y=t.y+e*n.y)}}function Xr(e){return e.id}function Or(e){return e.parentId}function Rr(e,n){return e.parent===n.parent?1:2}function Hr(e){var n=e.children;return n?n[0]:e.t}function qr(e){var n=e.children;return n?n[n.length-1]:e.t}function Vr(e,n,t){var i=t/(n.i-e.i);n.c-=i,n.s+=t,e.c+=i,n.z+=t,n.m+=t}function Br(e,n,t){return e.a.parent===n.parent?e.a:t}function Jr(e,n){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function Kr(e,n,t,i,r,a){for(var o,l,s,u,c,d,f,h,p,v,m,x=[],g=n.children,y=0,b=0,_=g.length,j=n.value;y<_;){s=r-t,u=a-i;do{c=g[b++].value}while(!c&&b<_);for(d=f=c,m=c*c*(v=Math.max(u/s,s/u)/(j*e)),p=Math.max(f/m,m/d);b<_;++b){if(c+=l=g[b].value,l<d&&(d=l),l>f&&(f=l),m=c*c*v,(h=Math.max(f/m,m/d))>p){c-=l;break}p=h}x.push(o={value:c,dice:s<u,children:g.slice(y,b)}),o.dice?Tp(o,t,i,r,j?i+=u*c/j:a):Cp(o,t,i,j?t+=s*c/j:r,a),j-=c,y=b}return x}function Ur(e,n){return e[0]-n[0]||e[1]-n[1]}function Wr(e){for(var n=e.length,t=[0,1],i=2,r=2;r<n;++r){for(;i>1&&Lp(e[t[i-2]],e[t[i-1]],e[r])<=0;)--i;t[i++]=r}return t.slice(0,i)}function Gr(e){if(!(e>=1))throw new Error;this._size=e,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function Qr(e){if(!e._start)try{!function(e){for(;e._start=e._waiting&&e._active<e._size;){var n=e._ended+e._active,t=e._tasks[n],i=t.length-1,r=t[i];t[i]=Yr(e,n),--e._waiting,++e._active,t=r.apply(null,t),e._tasks[n]&&(e._tasks[n]=t||zp)}}(e)}catch(n){if(e._tasks[e._ended+e._active-1])$r(e,n);else if(!e._data)throw n}}function Yr(e,n){return function(t,i){e._tasks[n]&&(--e._active,++e._ended,e._tasks[n]=null,null==e._error&&(null!=t?$r(e,t):(e._data[n]=i,e._waiting?Qr(e):ea(e))))}}function $r(e,n){var t,i=e._tasks.length;for(e._error=n,e._data=void 0,e._waiting=NaN;--i>=0;)if((t=e._tasks[i])&&(e._tasks[i]=null,t.abort))try{t.abort()}catch(e){}e._active=NaN,ea(e)}function ea(e){if(!e._active&&e._call){var n=e._data;e._data=void 0,e._call(e._error,n)}}function na(e){return new Gr(arguments.length?+e:1/0)}function ta(e,n){return function(t){return e(t.responseText,n)}}function ia(e){function n(n){var a=n+"",o=t.get(a);if(!o){if(r!==Gp)return r;t.set(a,o=i.push(n))}return e[(o-1)%e.length]}var t=tt(),i=[],r=Gp;return e=null==e?[]:Wp.call(e),n.domain=function(e){if(!arguments.length)return i.slice();i=[],t=tt();for(var r,a,o=-1,l=e.length;++o<l;)t.has(a=(r=e[o])+"")||t.set(a,i.push(r));return n},n.range=function(t){return arguments.length?(e=Wp.call(t),n):e.slice()},n.unknown=function(e){return arguments.length?(r=e,n):r},n.copy=function(){return ia().domain(i).range(e).unknown(r)},n}function ra(){function e(){var e=r().length,i=o[1]<o[0],d=o[i-0],f=o[1-i];n=(f-d)/Math.max(1,e-s+2*u),l&&(n=Math.floor(n)),d+=(f-d-n*(e-s))*c,t=n*(1-s),l&&(d=Math.round(d),t=Math.round(t));var h=ls(e).map((function(e){return d+n*e}));return a(i?h.reverse():h)}var n,t,i=ia().unknown(void 0),r=i.domain,a=i.range,o=[0,1],l=!1,s=0,u=0,c=.5;return delete i.unknown,i.domain=function(n){return arguments.length?(r(n),e()):r()},i.range=function(n){return arguments.length?(o=[+n[0],+n[1]],e()):o.slice()},i.rangeRound=function(n){return o=[+n[0],+n[1]],l=!0,e()},i.bandwidth=function(){return t},i.step=function(){return n},i.round=function(n){return arguments.length?(l=!!n,e()):l},i.padding=function(n){return arguments.length?(s=u=Math.max(0,Math.min(1,n)),e()):s},i.paddingInner=function(n){return arguments.length?(s=Math.max(0,Math.min(1,n)),e()):s},i.paddingOuter=function(n){return arguments.length?(u=Math.max(0,Math.min(1,n)),e()):u},i.align=function(n){return arguments.length?(c=Math.max(0,Math.min(1,n)),e()):c},i.copy=function(){return ra().domain(r()).range(o).round(l).paddingInner(s).paddingOuter(u).align(c)},e()}function aa(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return aa(n())},e}function oa(e,n){return(n-=e=+e)?function(t){return(t-e)/n}:Qp(n)}function la(e,n,t,i){var r=e[0],a=e[1],o=n[0],l=n[1];return a<r?(r=t(a,r),o=i(l,o)):(r=t(r,a),o=i(o,l)),function(e){return o(r(e))}}function sa(e,n,t,i){var r=Math.min(e.length,n.length)-1,a=new Array(r),o=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),n=n.slice().reverse());++l<r;)a[l]=t(e[l],e[l+1]),o[l]=i(n[l],n[l+1]);return function(n){var t=Gl(e,n,1,r)-1;return o[t](a[t](n))}}function ua(e,n){return n.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function ca(e,n){function t(){return r=Math.min(l.length,s.length)>2?sa:la,a=o=null,i}function i(n){return(a||(a=r(l,s,c?function(e){return function(n,t){var i=e(n=+n,t=+t);return function(e){return e<=n?0:e>=t?1:i(e)}}}(e):e,u)))(+n)}var r,a,o,l=$p,s=$p,u=Ju,c=!1;return i.invert=function(e){return(o||(o=r(s,l,oa,c?function(e){return function(n,t){var i=e(n=+n,t=+t);return function(e){return e<=0?n:e>=1?t:i(e)}}}(n):n)))(+e)},i.domain=function(e){return arguments.length?(l=Up.call(e,Yp),t()):l.slice()},i.range=function(e){return arguments.length?(s=Wp.call(e),t()):s.slice()},i.rangeRound=function(e){return s=Wp.call(e),u=Ku,t()},i.clamp=function(e){return arguments.length?(c=!!e,t()):c},i.interpolate=function(e){return arguments.length?(u=e,t()):u},t()}function da(e){var t=e.domain;return e.ticks=function(e){var n=t();return ds(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return ev(t(),e,n)},e.nice=function(i){var r=t(),a=r.length-1,o=null==i?10:i,l=r[0],s=r[a],u=n(l,s,o);return u&&(u=n(Math.floor(l/u)*u,Math.ceil(s/u)*u,o),r[0]=Math.floor(l/u)*u,r[a]=Math.ceil(s/u)*u,t(r)),e},e}function fa(e,n){return(n=Math.log(n/e))?function(t){return Math.log(t/e)/n}:Qp(n)}function ha(e,n){return e<0?function(t){return-Math.pow(-n,t)*Math.pow(-e,1-t)}:function(t){return Math.pow(n,t)*Math.pow(e,1-t)}}function pa(e){return isFinite(e)?+("1e"+e):e<0?0:e}function va(e){return 10===e?pa:e===Math.E?Math.exp:function(n){return Math.pow(e,n)}}function ma(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(n){return Math.log(n)/e})}function xa(e){return function(n){return-e(-n)}}function ga(e,n){return e<0?-Math.pow(-e,n):Math.pow(e,n)}function ya(){var e=1,n=ca((function(n,t){return(t=ga(t,e)-(n=ga(n,e)))?function(i){return(ga(i,e)-n)/t}:Qp(t)}),(function(n,t){return t=ga(t,e)-(n=ga(n,e)),function(i){return ga(n+t*i,1/e)}})),t=n.domain;return n.exponent=function(n){return arguments.length?(e=+n,t(t())):e},n.copy=function(){return ua(n,ya().exponent(e))},da(n)}function ba(e,n,t,i){function r(n){return e(n=new Date(+n)),n}return r.floor=r,r.ceil=function(t){return e(t=new Date(t-1)),n(t,1),e(t),t},r.round=function(e){var n=r(e),t=r.ceil(e);return e-n<t-e?n:t},r.offset=function(e,t){return n(e=new Date(+e),null==t?1:Math.floor(t)),e},r.range=function(t,i,a){var o=[];if(t=r.ceil(t),a=null==a?1:Math.floor(a),!(t<i&&a>0))return o;do{o.push(new Date(+t))}while(n(t,a),e(t),t<i);return o},r.filter=function(t){return ba((function(n){if(n>=n)for(;e(n),!t(n);)n.setTime(n-1)}),(function(e,i){if(e>=e)for(;--i>=0;)for(;n(e,1),!t(e););}))},t&&(r.count=function(n,i){return tv.setTime(+n),iv.setTime(+i),e(tv),e(iv),Math.floor(t(tv,iv))},r.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?r.filter(i?function(n){return i(n)%e==0}:function(n){return r.count(0,n)%e==0}):r:null}),r}function _a(e){return ba((function(n){n.setDate(n.getDate()-(n.getDay()+7-e)%7),n.setHours(0,0,0,0)}),(function(e,n){e.setDate(e.getDate()+7*n)}),(function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*lv)/cv}))}function ja(e){return ba((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-e)%7),n.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCDate(e.getUTCDate()+7*n)}),(function(e,n){return(n-e)/cv}))}function wa(e){if(0<=e.y&&e.y<100){var n=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return n.setFullYear(e.y),n}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ka(e){if(0<=e.y&&e.y<100){var n=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return n.setUTCFullYear(e.y),n}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Pa(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function Ta(e){function n(e,n){return function(t){var i,r,a,o=[],l=-1,s=0,u=e.length;for(t instanceof Date||(t=new Date(+t));++l<u;)37===e.charCodeAt(l)&&(o.push(e.slice(s,l)),null!=(r=sm[i=e.charAt(++l)])?i=e.charAt(++l):r="e"===i?" ":"0",(a=n[i])&&(i=a(t,r)),o.push(i),s=l+1);return o.push(e.slice(s,l)),o.join("")}}function t(e,n){return function(t){var r=Pa(1900);if(i(r,e,t+="",0)!=t.length)return null;if("p"in r&&(r.H=r.H%12+12*r.p),"W"in r||"U"in r){"w"in r||(r.w="W"in r?1:0);var a="Z"in r?ka(Pa(r.y)).getUTCDay():n(Pa(r.y)).getDay();r.m=0,r.d="W"in r?(r.w+6)%7+7*r.W-(a+5)%7:r.w+7*r.U-(a+6)%7}return"Z"in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,ka(r)):n(r)}}function i(e,n,t,i){for(var r,a,o=0,l=n.length,s=t.length;o<l;){if(i>=s)return-1;if(37===(r=n.charCodeAt(o++))){if(r=n.charAt(o++),!(a=k[r in sm?n.charAt(o++):r])||(i=a(e,t,i))<0)return-1}else if(r!=t.charCodeAt(i++))return-1}return i}var r=e.dateTime,a=e.date,o=e.time,l=e.periods,s=e.days,u=e.shortDays,c=e.months,d=e.shortMonths,f=Ca(l),h=Ma(l),p=Ca(s),v=Ma(s),m=Ca(u),x=Ma(u),g=Ca(c),y=Ma(c),b=Ca(d),_=Ma(d),j={a:function(e){return u[e.getDay()]},A:function(e){return s[e.getDay()]},b:function(e){return d[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Ba,e:Ba,H:Ja,I:Ka,j:Ua,L:Wa,m:Ga,M:Qa,p:function(e){return l[+(e.getHours()>=12)]},S:Ya,U:$a,w:eo,W:no,x:null,X:null,y:to,Y:io,Z:ro,"%":bo},w={a:function(e){return u[e.getUTCDay()]},A:function(e){return s[e.getUTCDay()]},b:function(e){return d[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:ao,e:ao,H:oo,I:lo,j:so,L:uo,m:co,M:fo,p:function(e){return l[+(e.getUTCHours()>=12)]},S:ho,U:po,w:vo,W:mo,x:null,X:null,y:xo,Y:go,Z:yo,"%":bo},k={a:function(e,n,t){var i=m.exec(n.slice(t));return i?(e.w=x[i[0].toLowerCase()],t+i[0].length):-1},A:function(e,n,t){var i=p.exec(n.slice(t));return i?(e.w=v[i[0].toLowerCase()],t+i[0].length):-1},b:function(e,n,t){var i=b.exec(n.slice(t));return i?(e.m=_[i[0].toLowerCase()],t+i[0].length):-1},B:function(e,n,t){var i=g.exec(n.slice(t));return i?(e.m=y[i[0].toLowerCase()],t+i[0].length):-1},c:function(e,n,t){return i(e,r,n,t)},d:Ea,e:Ea,H:Oa,I:Oa,j:Xa,L:qa,m:Fa,M:Ra,p:function(e,n,t){var i=f.exec(n.slice(t));return i?(e.p=h[i[0].toLowerCase()],t+i[0].length):-1},S:Ha,U:Ia,w:Aa,W:La,x:function(e,n,t){return i(e,a,n,t)},X:function(e,n,t){return i(e,o,n,t)},y:za,Y:Za,Z:Da,"%":Va};return j.x=n(a,j),j.X=n(o,j),j.c=n(r,j),w.x=n(a,w),w.X=n(o,w),w.c=n(r,w),{format:function(e){var t=n(e+="",j);return t.toString=function(){return e},t},parse:function(e){var n=t(e+="",wa);return n.toString=function(){return e},n},utcFormat:function(e){var t=n(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var n=t(e,ka);return n.toString=function(){return e},n}}}function Na(e,n,t){var i=e<0?"-":"",r=(i?-e:e)+"",a=r.length;return i+(a<t?new Array(t-a+1).join(n)+r:r)}function Sa(e){return e.replace(dm,"\\$&")}function Ca(e){return new RegExp("^(?:"+e.map(Sa).join("|")+")","i")}function Ma(e){for(var n={},t=-1,i=e.length;++t<i;)n[e[t].toLowerCase()]=t;return n}function Aa(e,n,t){var i=um.exec(n.slice(t,t+1));return i?(e.w=+i[0],t+i[0].length):-1}function Ia(e,n,t){var i=um.exec(n.slice(t));return i?(e.U=+i[0],t+i[0].length):-1}function La(e,n,t){var i=um.exec(n.slice(t));return i?(e.W=+i[0],t+i[0].length):-1}function Za(e,n,t){var i=um.exec(n.slice(t,t+4));return i?(e.y=+i[0],t+i[0].length):-1}function za(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.y=+i[0]+(+i[0]>68?1900:2e3),t+i[0].length):-1}function Da(e,n,t){var i=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(n.slice(t,t+6));return i?(e.Z=i[1]?0:-(i[2]+(i[3]||"00")),t+i[0].length):-1}function Fa(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.m=i[0]-1,t+i[0].length):-1}function Ea(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.d=+i[0],t+i[0].length):-1}function Xa(e,n,t){var i=um.exec(n.slice(t,t+3));return i?(e.m=0,e.d=+i[0],t+i[0].length):-1}function Oa(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.H=+i[0],t+i[0].length):-1}function Ra(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.M=+i[0],t+i[0].length):-1}function Ha(e,n,t){var i=um.exec(n.slice(t,t+2));return i?(e.S=+i[0],t+i[0].length):-1}function qa(e,n,t){var i=um.exec(n.slice(t,t+3));return i?(e.L=+i[0],t+i[0].length):-1}function Va(e,n,t){var i=cm.exec(n.slice(t,t+1));return i?t+i[0].length:-1}function Ba(e,n){return Na(e.getDate(),n,2)}function Ja(e,n){return Na(e.getHours(),n,2)}function Ka(e,n){return Na(e.getHours()%12||12,n,2)}function Ua(e,n){return Na(1+xv.count(zv(e),e),n,3)}function Wa(e,n){return Na(e.getMilliseconds(),n,3)}function Ga(e,n){return Na(e.getMonth()+1,n,2)}function Qa(e,n){return Na(e.getMinutes(),n,2)}function Ya(e,n){return Na(e.getSeconds(),n,2)}function $a(e,n){return Na(yv.count(zv(e),e),n,2)}function eo(e){return e.getDay()}function no(e,n){return Na(bv.count(zv(e),e),n,2)}function to(e,n){return Na(e.getFullYear()%100,n,2)}function io(e,n){return Na(e.getFullYear()%1e4,n,4)}function ro(e){var n=e.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Na(n/60|0,"0",2)+Na(n%60,"0",2)}function ao(e,n){return Na(e.getUTCDate(),n,2)}function oo(e,n){return Na(e.getUTCHours(),n,2)}function lo(e,n){return Na(e.getUTCHours()%12||12,n,2)}function so(e,n){return Na(1+Rv.count(am(e),e),n,3)}function uo(e,n){return Na(e.getUTCMilliseconds(),n,3)}function co(e,n){return Na(e.getUTCMonth()+1,n,2)}function fo(e,n){return Na(e.getUTCMinutes(),n,2)}function ho(e,n){return Na(e.getUTCSeconds(),n,2)}function po(e,n){return Na(qv.count(am(e),e),n,2)}function vo(e){return e.getUTCDay()}function mo(e,n){return Na(Vv.count(am(e),e),n,2)}function xo(e,n){return Na(e.getUTCFullYear()%100,n,2)}function go(e,n){return Na(e.getUTCFullYear()%1e4,n,4)}function yo(){return"+0000"}function bo(){return"%"}function _o(n){return om=Ta(n),e.timeFormat=om.format,e.timeParse=om.parse,e.utcFormat=om.utcFormat,e.utcParse=om.utcParse,om}function jo(e){return new Date(e)}function wo(e){return e instanceof Date?+e:+new Date(+e)}function ko(e,t,i,r,a,o,l,s,u){function c(n){return(l(n)<n?v:o(n)<n?m:a(n)<n?x:r(n)<n?g:t(n)<n?i(n)<n?y:b:e(n)<n?_:j)(n)}function d(t,i,r,a){if(null==t&&(t=10),"number"==typeof t){var o=Math.abs(r-i)/t,l=Ul((function(e){return e[2]})).right(w,o);l===w.length?(a=n(i/_m,r/_m,t),t=e):l?(a=(l=w[o/w[l-1][2]<w[l][2]/o?l-1:l])[1],t=l[0]):(a=n(i,r,t),t=s)}return null==a?t:t.every(a)}var f=ca(oa,Ru),h=f.invert,p=f.domain,v=u(".%L"),m=u(":%S"),x=u("%I:%M"),g=u("%I %p"),y=u("%a %d"),b=u("%b %d"),_=u("%B"),j=u("%Y"),w=[[l,1,vm],[l,5,5*vm],[l,15,15*vm],[l,30,30*vm],[o,1,mm],[o,5,5*mm],[o,15,15*mm],[o,30,30*mm],[a,1,xm],[a,3,3*xm],[a,6,6*xm],[a,12,12*xm],[r,1,gm],[r,2,2*gm],[i,1,ym],[t,1,bm],[t,3,3*bm],[e,1,_m]];return f.invert=function(e){return new Date(h(e))},f.domain=function(e){return arguments.length?p(Up.call(e,wo)):p().map(jo)},f.ticks=function(e,n){var t,i=p(),r=i[0],a=i[i.length-1],o=a<r;return o&&(t=r,r=a,a=t),t=(t=d(e,r,a,n))?t.range(r,a+1):[],o?t.reverse():t},f.tickFormat=function(e,n){return null==n?c:u(n)},f.nice=function(e,n){var t=p();return(e=d(e,t[0],t[t.length-1],n))?p(nv(t,e)):f},f.copy=function(){return ua(f,ko(e,t,i,r,a,o,l,s,u))},f}function Po(e){var n=e.length;return function(t){return e[Math.max(0,Math.min(n-1,Math.floor(t*n)))]}}function To(e){return e.innerRadius}function No(e){return e.outerRadius}function So(e){return e.startAngle}function Co(e){return e.endAngle}function Mo(e){return e&&e.padAngle}function Ao(e){return e>=1?Em:e<=-1?-Em:Math.asin(e)}function Io(e,n,t,i,r,a,o,l){var s=t-e,u=i-n,c=o-r,d=l-a,f=(c*(n-a)-d*(e-r))/(d*s-c*u);return[e+f*s,n+f*u]}function Lo(e,n,t,i,r,a,o){var l=e-t,s=n-i,u=(o?a:-a)/Math.sqrt(l*l+s*s),c=u*s,d=-u*l,f=e+c,h=n+d,p=t+c,v=i+d,m=(f+p)/2,x=(h+v)/2,g=p-f,y=v-h,b=g*g+y*y,_=r-a,j=f*v-p*h,w=(y<0?-1:1)*Math.sqrt(Math.max(0,_*_*b-j*j)),k=(j*y-g*w)/b,P=(-j*g-y*w)/b,T=(j*y+g*w)/b,N=(-j*g+y*w)/b,S=k-m,C=P-x,M=T-m,A=N-x;return S*S+C*C>M*M+A*A&&(k=T,P=N),{cx:k,cy:P,x01:-c,y01:-d,x11:k*(r/_-1),y11:P*(r/_-1)}}function Zo(e){this._context=e}function zo(e){return e[0]}function Do(e){return e[1]}function Fo(e){this._curve=e}function Eo(e){function n(n){return new Fo(e(n))}return n._curve=e,n}function Xo(e){var n=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?n(Eo(e)):n()._curve},e}function Oo(e,n,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+n)/6,(e._y0+4*e._y1+t)/6)}function Ro(e){this._context=e}function Ho(e){this._context=e}function qo(e){this._context=e}function Vo(e,n){this._basis=new Ro(e),this._beta=n}function Bo(e,n,t){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-n),e._y2+e._k*(e._y1-t),e._x2,e._y2)}function Jo(e,n){this._context=e,this._k=(1-n)/6}function Ko(e,n){this._context=e,this._k=(1-n)/6}function Uo(e,n){this._context=e,this._k=(1-n)/6}function Wo(e,n,t){var i=e._x1,r=e._y1,a=e._x2,o=e._y2;if(e._l01_a>Dm){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,s=3*e._l01_a*(e._l01_a+e._l12_a);i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/s,r=(r*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/s}if(e._l23_a>Dm){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-n*e._l12_2a)/c,o=(o*u+e._y1*e._l23_2a-t*e._l12_2a)/c}e._context.bezierCurveTo(i,r,a,o,e._x2,e._y2)}function Go(e,n){this._context=e,this._alpha=n}function Qo(e,n){this._context=e,this._alpha=n}function Yo(e,n){this._context=e,this._alpha=n}function $o(e){this._context=e}function el(e){return e<0?-1:1}function nl(e,n,t){var i=e._x1-e._x0,r=n-e._x1,a=(e._y1-e._y0)/(i||r<0&&-0),o=(t-e._y1)/(r||i<0&&-0),l=(a*r+o*i)/(i+r);return(el(a)+el(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(l))||0}function tl(e,n){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-n)/2:n}function il(e,n,t){var i=e._x0,r=e._y0,a=e._x1,o=e._y1,l=(a-i)/3;e._context.bezierCurveTo(i+l,r+l*n,a-l,o-l*t,a,o)}function rl(e){this._context=e}function al(e){this._context=new ol(e)}function ol(e){this._context=e}function ll(e){this._context=e}function sl(e){var n,t,i=e.length-1,r=new Array(i),a=new Array(i),o=new Array(i);for(r[0]=0,a[0]=2,o[0]=e[0]+2*e[1],n=1;n<i-1;++n)r[n]=1,a[n]=4,o[n]=4*e[n]+2*e[n+1];for(r[i-1]=2,a[i-1]=7,o[i-1]=8*e[i-1]+e[i],n=1;n<i;++n)t=r[n]/a[n-1],a[n]-=t,o[n]-=t*o[n-1];for(r[i-1]=o[i-1]/a[i-1],n=i-2;n>=0;--n)r[n]=(o[n]-r[n+1])/a[n];for(a[i-1]=(e[i]+r[i-1])/2,n=0;n<i-1;++n)a[n]=2*e[n+1]-r[n+1];return[r,a]}function ul(e,n){this._context=e,this._t=n}function cl(e,n){return e[n]}function dl(e){for(var n,t=0,i=-1,r=e.length;++i<r;)(n=+e[i][1])&&(t+=n);return t}function fl(e){return e[0]}function hl(e){return e[1]}function pl(){this._=null}function vl(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function ml(e,n){var t=n,i=n.R,r=t.U;r?r.L===t?r.L=i:r.R=i:e._=i,i.U=r,t.U=i,t.R=i.L,t.R&&(t.R.U=t),i.L=t}function xl(e,n){var t=n,i=n.L,r=t.U;r?r.L===t?r.L=i:r.R=i:e._=i,i.U=r,t.U=i,t.L=i.R,t.L&&(t.L.U=t),i.R=t}function gl(e){for(;e.L;)e=e.L;return e}function yl(e,n,t,i){var r=[null,null],a=Nx.push(r)-1;return r.left=e,r.right=n,t&&_l(r,e,n,t),i&&_l(r,n,e,i),Px[e.index].halfedges.push(a),Px[n.index].halfedges.push(a),r}function bl(e,n,t){var i=[n,t];return i.left=e,i}function _l(e,n,t,i){e[0]||e[1]?e.left===t?e[1]=i:e[0]=i:(e[0]=i,e.left=n,e.right=t)}function jl(e,n,t,i,r){var a,o=e[0],l=e[1],s=o[0],u=o[1],c=0,d=1,f=l[0]-s,h=l[1]-u;if(a=n-s,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<d&&(d=a)}else if(f>0){if(a>d)return;a>c&&(c=a)}if(a=i-s,f||!(a<0)){if(a/=f,f<0){if(a>d)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<d&&(d=a)}if(a=t-u,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<d&&(d=a)}else if(h>0){if(a>d)return;a>c&&(c=a)}if(a=r-u,h||!(a<0)){if(a/=h,h<0){if(a>d)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<d&&(d=a)}return!(c>0||d<1)||(c>0&&(e[0]=[s+c*f,u+c*h]),d<1&&(e[1]=[s+d*f,u+d*h]),!0)}}}}}function wl(e,n,t,i,r){var a=e[1];if(a)return!0;var o,l,s=e[0],u=e.left,c=e.right,d=u[0],f=u[1],h=c[0],p=c[1],v=(d+h)/2,m=(f+p)/2;if(p===f){if(v<n||v>=i)return;if(d>h){if(s){if(s[1]>=r)return}else s=[v,t];a=[v,r]}else{if(s){if(s[1]<t)return}else s=[v,r];a=[v,t]}}else if(l=m-(o=(d-h)/(p-f))*v,o<-1||o>1)if(d>h){if(s){if(s[1]>=r)return}else s=[(t-l)/o,t];a=[(r-l)/o,r]}else{if(s){if(s[1]<t)return}else s=[(r-l)/o,r];a=[(t-l)/o,t]}else if(f<p){if(s){if(s[0]>=i)return}else s=[n,o*n+l];a=[i,o*i+l]}else{if(s){if(s[0]<n)return}else s=[i,o*i+l];a=[n,o*n+l]}return e[0]=s,e[1]=a,!0}function kl(e,n){var t=e.site,i=n.left,r=n.right;return t===r&&(r=i,i=t),r?Math.atan2(r[1]-i[1],r[0]-i[0]):(t===i?(i=n[1],r=n[0]):(i=n[0],r=n[1]),Math.atan2(i[0]-r[0],r[1]-i[1]))}function Pl(e,n){return n[+(n.left!==e.site)]}function Tl(e,n){return n[+(n.left===e.site)]}function Nl(){vl(this),this.x=this.y=this.arc=this.site=this.cy=null}function Sl(e){var n=e.P,t=e.N;if(n&&t){var i=n.site,r=e.site,a=t.site;if(i!==a){var o=r[0],l=r[1],s=i[0]-o,u=i[1]-l,c=a[0]-o,d=a[1]-l,f=2*(s*d-u*c);if(!(f>=-Ax)){var h=s*s+u*u,p=c*c+d*d,v=(d*h-u*p)/f,m=(s*p-c*h)/f,x=Sx.pop()||new Nl;x.arc=e,x.site=r,x.x=v+o,x.y=(x.cy=m+l)+Math.sqrt(v*v+m*m),e.circle=x;for(var g=null,y=Tx._;y;)if(x.y<y.y||x.y===y.y&&x.x<=y.x){if(!y.L){g=y.P;break}y=y.L}else{if(!y.R){g=y;break}y=y.R}Tx.insert(g,x),g||(wx=x)}}}}function Cl(e){var n=e.circle;n&&(n.P||(wx=n.N),Tx.remove(n),Sx.push(n),vl(n),e.circle=null)}function Ml(){vl(this),this.edge=this.site=this.circle=null}function Al(e){var n=Cx.pop()||new Ml;return n.site=e,n}function Il(e){Cl(e),kx.remove(e),Cx.push(e),vl(e)}function Ll(e){var n=e.circle,t=n.x,i=n.cy,r=[t,i],a=e.P,o=e.N,l=[e];Il(e);for(var s=a;s.circle&&Math.abs(t-s.circle.x)<Mx&&Math.abs(i-s.circle.cy)<Mx;)a=s.P,l.unshift(s),Il(s),s=a;l.unshift(s),Cl(s);for(var u=o;u.circle&&Math.abs(t-u.circle.x)<Mx&&Math.abs(i-u.circle.cy)<Mx;)o=u.N,l.push(u),Il(u),u=o;l.push(u),Cl(u);var c,d=l.length;for(c=1;c<d;++c)u=l[c],s=l[c-1],_l(u.edge,s.site,u.site,r);s=l[0],(u=l[d-1]).edge=yl(s.site,u.site,null,r),Sl(s),Sl(u)}function Zl(e){for(var n,t,i,r,a=e[0],o=e[1],l=kx._;l;)if((i=zl(l,o)-a)>Mx)l=l.L;else{if(!((r=a-Dl(l,o))>Mx)){i>-Mx?(n=l.P,t=l):r>-Mx?(n=l,t=l.N):n=t=l;break}if(!l.R){n=l;break}l=l.R}!function(e){Px[e.index]={site:e,halfedges:[]}}(e);var s=Al(e);if(kx.insert(n,s),n||t){if(n===t)return Cl(n),t=Al(n.site),kx.insert(s,t),s.edge=t.edge=yl(n.site,s.site),Sl(n),void Sl(t);if(!t)return void(s.edge=yl(n.site,s.site));Cl(n),Cl(t);var u=n.site,c=u[0],d=u[1],f=e[0]-c,h=e[1]-d,p=t.site,v=p[0]-c,m=p[1]-d,x=2*(f*m-h*v),g=f*f+h*h,y=v*v+m*m,b=[(m*g-h*y)/x+c,(f*y-v*g)/x+d];_l(t.edge,u,p,b),s.edge=yl(u,e,null,b),t.edge=yl(e,p,null,b),Sl(n),Sl(t)}}function zl(e,n){var t=e.site,i=t[0],r=t[1],a=r-n;if(!a)return i;var o=e.P;if(!o)return-1/0;var l=(t=o.site)[0],s=t[1],u=s-n;if(!u)return l;var c=l-i,d=1/a-1/u,f=c/u;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*u)-s+u/2+r-a/2)))/d+i:(i+l)/2}function Dl(e,n){var t=e.N;if(t)return zl(t,n);var i=e.site;return i[1]===n?i[0]:1/0}function Fl(e,n,t){return(e[0]-t[0])*(n[1]-e[1])-(e[0]-n[0])*(t[1]-e[1])}function El(e,n){return n[1]-e[1]||n[0]-e[0]}function Xl(e,n){var t,i,r,a=e.sort(El).pop();for(Nx=[],Px=new Array(e.length),kx=new pl,Tx=new pl;;)if(r=wx,a&&(!r||a[1]<r.y||a[1]===r.y&&a[0]<r.x))a[0]===t&&a[1]===i||(Zl(a),t=a[0],i=a[1]),a=e.pop();else{if(!r)break;Ll(r.arc)}if(function(){for(var e,n,t,i,r=0,a=Px.length;r<a;++r)if((e=Px[r])&&(i=(n=e.halfedges).length)){var o=new Array(i),l=new Array(i);for(t=0;t<i;++t)o[t]=t,l[t]=kl(e,Nx[n[t]]);for(o.sort((function(e,n){return l[n]-l[e]})),t=0;t<i;++t)l[t]=n[o[t]];for(t=0;t<i;++t)n[t]=l[t]}}(),n){var o=+n[0][0],l=+n[0][1],s=+n[1][0],u=+n[1][1];(function(e,n,t,i){for(var r,a=Nx.length;a--;)wl(r=Nx[a],e,n,t,i)&&jl(r,e,n,t,i)&&(Math.abs(r[0][0]-r[1][0])>Mx||Math.abs(r[0][1]-r[1][1])>Mx)||delete Nx[a]})(o,l,s,u),function(e,n,t,i){var r,a,o,l,s,u,c,d,f,h,p,v,m=Px.length,x=!0;for(r=0;r<m;++r)if(a=Px[r]){for(o=a.site,l=(s=a.halfedges).length;l--;)Nx[s[l]]||s.splice(l,1);for(l=0,u=s.length;l<u;)p=(h=Tl(a,Nx[s[l]]))[0],v=h[1],d=(c=Pl(a,Nx[s[++l%u]]))[0],f=c[1],(Math.abs(p-d)>Mx||Math.abs(v-f)>Mx)&&(s.splice(l,0,Nx.push(bl(o,h,Math.abs(p-e)<Mx&&i-v>Mx?[e,Math.abs(d-e)<Mx?f:i]:Math.abs(v-i)<Mx&&t-p>Mx?[Math.abs(f-i)<Mx?d:t,i]:Math.abs(p-t)<Mx&&v-n>Mx?[t,Math.abs(d-t)<Mx?f:n]:Math.abs(v-n)<Mx&&p-e>Mx?[Math.abs(f-n)<Mx?d:e,n]:null))-1),++u);u&&(x=!1)}if(x){var g,y,b,_=1/0;for(r=0,x=null;r<m;++r)(a=Px[r])&&(b=(g=(o=a.site)[0]-e)*g+(y=o[1]-n)*y)<_&&(_=b,x=a);if(x){var j=[e,n],w=[e,i],k=[t,i],P=[t,n];x.halfedges.push(Nx.push(bl(o=x.site,j,w))-1,Nx.push(bl(o,w,k))-1,Nx.push(bl(o,k,P))-1,Nx.push(bl(o,P,j))-1)}}for(r=0;r<m;++r)(a=Px[r])&&(a.halfedges.length||delete Px[r])}(o,l,s,u)}this.edges=Nx,this.cells=Px,kx=Tx=Nx=Px=null}function Ol(e,n,t){this.target=e,this.type=n,this.transform=t}function Rl(e,n,t){this.k=e,this.x=n,this.y=t}function Hl(e){return e.__zoom||Lx}function ql(){e.event.stopImmediatePropagation()}function Vl(){return!e.event.button}function Bl(){var e,n,t=this;return t instanceof SVGElement?(e=(t=t.ownerSVGElement||t).width.baseVal.value,n=t.height.baseVal.value):(e=t.clientWidth,n=t.clientHeight),[[0,0],[e,n]]}function Jl(){return this.__zoom||Lx}var Kl=function(e,n){return e<n?-1:e>n?1:e>=n?0:NaN},Ul=function(e){return 1===e.length&&(e=function(e){return function(n,t){return Kl(e(n),t)}}(e)),{left:function(n,t,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var a=i+r>>>1;e(n[a],t)<0?i=a+1:r=a}return i},right:function(n,t,i,r){for(null==i&&(i=0),null==r&&(r=n.length);i<r;){var a=i+r>>>1;e(n[a],t)>0?r=a:i=a+1}return i}}},Wl=Ul(Kl),Gl=Wl.right,Ql=Wl.left,Yl=function(e){return null===e?NaN:+e},$l=function(e,n){var t,i,r=e.length,a=0,o=0,l=-1,s=0;if(null==n)for(;++l<r;)isNaN(t=Yl(e[l]))||(o+=(i=t-a)*(t-(a+=i/++s)));else for(;++l<r;)isNaN(t=Yl(n(e[l],l,e)))||(o+=(i=t-a)*(t-(a+=i/++s)));if(s>1)return o/(s-1)},es=function(e,n){var t=$l(e,n);return t?Math.sqrt(t):t},ns=function(e,n){var t,i,r,a=-1,o=e.length;if(null==n){for(;++a<o;)if(null!=(i=e[a])&&i>=i){t=r=i;break}for(;++a<o;)null!=(i=e[a])&&(t>i&&(t=i),r<i&&(r=i))}else{for(;++a<o;)if(null!=(i=n(e[a],a,e))&&i>=i){t=r=i;break}for(;++a<o;)null!=(i=n(e[a],a,e))&&(t>i&&(t=i),r<i&&(r=i))}return[t,r]},ts=Array.prototype,is=ts.slice,rs=ts.map,as=function(e){return function(){return e}},os=function(e){return e},ls=function(e,n,t){e=+e,n=+n,t=(r=arguments.length)<2?(n=e,e=0,1):r<3?1:+t;for(var i=-1,r=0|Math.max(0,Math.ceil((n-e)/t)),a=new Array(r);++i<r;)a[i]=e+i*t;return a},ss=Math.sqrt(50),us=Math.sqrt(10),cs=Math.sqrt(2),ds=function(e,t,i){var r=n(e,t,i);return ls(Math.ceil(e/r)*r,Math.floor(t/r)*r+r/2,r)},fs=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},hs=function(e,n,t){if(null==t&&(t=Yl),i=e.length){if((n=+n)<=0||i<2)return+t(e[0],0,e);if(n>=1)return+t(e[i-1],i-1,e);var i,r=(i-1)*n,a=Math.floor(r),o=+t(e[a],a,e);return o+(+t(e[a+1],a+1,e)-o)*(r-a)}},ps=function(e){for(var n,t,i,r=e.length,a=-1,o=0;++a<r;)o+=e[a].length;for(t=new Array(o);--r>=0;)for(n=(i=e[r]).length;--n>=0;)t[--o]=i[n];return t},vs=function(e,n){var t,i,r=-1,a=e.length;if(null==n){for(;++r<a;)if(null!=(i=e[r])&&i>=i){t=i;break}for(;++r<a;)null!=(i=e[r])&&t>i&&(t=i)}else{for(;++r<a;)if(null!=(i=n(e[r],r,e))&&i>=i){t=i;break}for(;++r<a;)null!=(i=n(e[r],r,e))&&t>i&&(t=i)}return t},ms=function(e){if(!(a=e.length))return[];for(var n=-1,i=vs(e,t),r=new Array(i);++n<i;)for(var a,o=-1,l=r[n]=new Array(a);++o<a;)l[o]=e[o][n];return r},xs=Array.prototype.slice,gs=function(e){return e},ys=1,bs=2,_s=3,js=4,ws=1e-6,ks={value:function(){}};c.prototype=u.prototype={constructor:c,on:function(e,n){var t,i=this._,r=d(e+"",i),a=-1,o=r.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a<o;)if(t=(e=r[a]).type)i[t]=h(i[t],e.name,n);else if(null==n)for(t in i)i[t]=h(i[t],e.name,null);return this}for(;++a<o;)if((t=(e=r[a]).type)&&(t=f(i[t],e.name)))return t},copy:function(){var e={},n=this._;for(var t in n)e[t]=n[t].slice();return new c(e)},call:function(e,n){if((t=arguments.length-2)>0)for(var t,i,r=new Array(t),a=0;a<t;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,t=(i=this._[e]).length;a<t;++a)i[a].value.apply(n,r)},apply:function(e,n,t){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],r=0,a=i.length;r<a;++r)i[r].value.apply(n,t)}};var Ps="http://www.w3.org/1999/xhtml",Ts={svg:"http://www.w3.org/2000/svg",xhtml:Ps,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Ns=function(e){var n=e+="",t=n.indexOf(":");return t>=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Ts.hasOwnProperty(n)?{space:Ts[n],local:e}:e},Ss=function(e){var n=Ns(e);return(n.local?v:p)(n)},Cs=0;x.prototype=m.prototype={constructor:x,get:function(e){for(var n=this._;!(n in e);)if(!(e=e.parentNode))return;return e[n]},set:function(e,n){return e[this._]=n},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var Ms=function(e){return function(){return this.matches(e)}};if("undefined"!=typeof document){var As=document.documentElement;if(!As.matches){var Is=As.webkitMatchesSelector||As.msMatchesSelector||As.mozMatchesSelector||As.oMatchesSelector;Ms=function(e){return function(){return Is.call(this,e)}}}}var Ls=Ms,Zs={};e.event=null,"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Zs={mouseenter:"mouseover",mouseleave:"mouseout"}));var zs=function(){for(var n,t=e.event;n=t.sourceEvent;)t=n;return t},Ds=function(e,n){var t=e.ownerSVGElement||e;if(t.createSVGPoint){var i=t.createSVGPoint();return i.x=n.clientX,i.y=n.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}var r=e.getBoundingClientRect();return[n.clientX-r.left-e.clientLeft,n.clientY-r.top-e.clientTop]},Fs=function(e){var n=zs();return n.changedTouches&&(n=n.changedTouches[0]),Ds(e,n)},Es=function(e){return null==e?k:function(){return this.querySelector(e)}},Xs=function(e){return null==e?P:function(){return this.querySelectorAll(e)}},Os=function(e){return new Array(e.length)};T.prototype={constructor:T,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,n){return this._parent.insertBefore(e,n)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var Rs="$",Hs=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};V.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var n=this._names.indexOf(e);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var qs=[null];ue.prototype=ce.prototype={constructor:ue,select:function(e){"function"!=typeof e&&(e=Es(e));for(var n=this._groups,t=n.length,i=new Array(t),r=0;r<t;++r)for(var a,o,l=n[r],s=l.length,u=i[r]=new Array(s),c=0;c<s;++c)(a=l[c])&&(o=e.call(a,a.__data__,c,l))&&("__data__"in a&&(o.__data__=a.__data__),u[c]=o);return new ue(i,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=Xs(e));for(var n=this._groups,t=n.length,i=[],r=[],a=0;a<t;++a)for(var o,l=n[a],s=l.length,u=0;u<s;++u)(o=l[u])&&(i.push(e.call(o,o.__data__,u,l)),r.push(o));return new ue(i,r)},filter:function(e){"function"!=typeof e&&(e=Ls(e));for(var n=this._groups,t=n.length,i=new Array(t),r=0;r<t;++r)for(var a,o=n[r],l=o.length,s=i[r]=[],u=0;u<l;++u)(a=o[u])&&e.call(a,a.__data__,u,o)&&s.push(a);return new ue(i,this._parents)},data:function(e,n){if(!e)return h=new Array(this.size()),u=-1,this.each((function(e){h[++u]=e})),h;var t=n?S:N,i=this._parents,r=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var a=r.length,o=new Array(a),l=new Array(a),s=new Array(a),u=0;u<a;++u){var c=i[u],d=r[u],f=d.length,h=e.call(c,c&&c.__data__,u,i),p=h.length,v=l[u]=new Array(p),m=o[u]=new Array(p);t(c,d,v,m,s[u]=new Array(f),h,n);for(var x,g,y=0,b=0;y<p;++y)if(x=v[y]){for(y>=b&&(b=y+1);!(g=m[b])&&++b<p;);x._next=g||null}}return(o=new ue(o,i))._enter=l,o._exit=s,o},enter:function(){return new ue(this._enter||this._groups.map(Os),this._parents)},exit:function(){return new ue(this._exit||this._groups.map(Os),this._parents)},merge:function(e){for(var n=this._groups,t=e._groups,i=n.length,r=t.length,a=Math.min(i,r),o=new Array(i),l=0;l<a;++l)for(var s,u=n[l],c=t[l],d=u.length,f=o[l]=new Array(d),h=0;h<d;++h)(s=u[h]||c[h])&&(f[h]=s);for(;l<i;++l)o[l]=n[l];return new ue(o,this._parents)},order:function(){for(var e=this._groups,n=-1,t=e.length;++n<t;)for(var i,r=e[n],a=r.length-1,o=r[a];--a>=0;)(i=r[a])&&(o&&o!==i.nextSibling&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(e){function n(n,t){return n&&t?e(n.__data__,t.__data__):!n-!t}e||(e=C);for(var t=this._groups,i=t.length,r=new Array(i),a=0;a<i;++a){for(var o,l=t[a],s=l.length,u=r[a]=new Array(s),c=0;c<s;++c)(o=l[c])&&(u[c]=o);u.sort(n)}return new ue(r,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),n=-1;return this.each((function(){e[++n]=this})),e},node:function(){for(var e=this._groups,n=0,t=e.length;n<t;++n)for(var i=e[n],r=0,a=i.length;r<a;++r){var o=i[r];if(o)return o}return null},size:function(){var e=0;return this.each((function(){++e})),e},empty:function(){return!this.node()},each:function(e){for(var n=this._groups,t=0,i=n.length;t<i;++t)for(var r,a=n[t],o=0,l=a.length;o<l;++o)(r=a[o])&&e.call(r,r.__data__,o,a);return this},attr:function(e,n){var t=Ns(e);if(arguments.length<2){var i=this.node();return t.local?i.getAttributeNS(t.space,t.local):i.getAttribute(t)}return this.each((null==n?t.local?A:M:"function"==typeof n?t.local?z:Z:t.local?L:I)(t,n))},style:function(e,n,t){var i;return arguments.length>1?this.each((null==n?D:"function"==typeof n?E:F)(e,n,null==t?"":t)):Hs(i=this.node()).getComputedStyle(i,null).getPropertyValue(e)},property:function(e,n){return arguments.length>1?this.each((null==n?X:"function"==typeof n?R:O)(e,n)):this.node()[e]},classed:function(e,n){var t=H(e+"");if(arguments.length<2){for(var i=q(this.node()),r=-1,a=t.length;++r<a;)if(!i.contains(t[r]))return!1;return!0}return this.each(("function"==typeof n?W:n?K:U)(t,n))},text:function(e){return arguments.length?this.each(null==e?G:("function"==typeof e?Y:Q)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?$:("function"==typeof e?ne:ee)(e)):this.node().innerHTML},raise:function(){return this.each(te)},lower:function(){return this.each(ie)},append:function(e){var n="function"==typeof e?e:Ss(e);return this.select((function(){return this.appendChild(n.apply(this,arguments))}))},insert:function(e,n){var t="function"==typeof e?e:Ss(e),i=null==n?re:"function"==typeof n?n:Es(n);return this.select((function(){return this.insertBefore(t.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(ae)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,n,t){var i,r,a=b(e+""),o=a.length;if(!(arguments.length<2)){for(l=n?j:_,null==t&&(t=!1),i=0;i<o;++i)this.each(l(a[i],n,t));return this}var l=this.node().__on;if(l)for(var s,u=0,c=l.length;u<c;++u)for(i=0,s=l[u];i<o;++i)if((r=a[i]).type===s.type&&r.name===s.name)return s.value},dispatch:function(e,n){return this.each(("function"==typeof n?se:le)(e,n))}};var Vs=function(e){return"string"==typeof e?new ue([[document.querySelector(e)]],[document.documentElement]):new ue([[e]],qs)},Bs=function(e,n,t){arguments.length<3&&(t=n,n=zs().changedTouches);for(var i,r=0,a=n?n.length:0;r<a;++r)if((i=n[r]).identifier===t)return Ds(e,i);return null},Js=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()},Ks=function(e){var n=e.document.documentElement,t=Vs(e).on("dragstart.drag",Js,!0);"onselectstart"in n?t.on("selectstart.drag",Js,!0):(n.__noselect=n.style.MozUserSelect,n.style.MozUserSelect="none")},Us=function(e){return function(){return e}};he.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var Ws=function(e,n,t){e.prototype=n.prototype=t,t.constructor=e},Gs=.7,Qs=1/Gs,Ys="\\s*([+-]?\\d+)\\s*",$s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",nu=/^#([0-9a-f]{3})$/,tu=/^#([0-9a-f]{6})$/,iu=new RegExp("^rgb\\("+[Ys,Ys,Ys]+"\\)$"),ru=new RegExp("^rgb\\("+[eu,eu,eu]+"\\)$"),au=new RegExp("^rgba\\("+[Ys,Ys,Ys,$s]+"\\)$"),ou=new RegExp("^rgba\\("+[eu,eu,eu,$s]+"\\)$"),lu=new RegExp("^hsl\\("+[$s,eu,eu]+"\\)$"),su=new RegExp("^hsla\\("+[$s,eu,eu,$s]+"\\)$"),uu={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ws(ge,ye,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Ws(ke,we,xe(ge,{brighter:function(e){return e=null==e?Qs:Math.pow(Qs,e),new ke(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Gs:Math.pow(Gs,e),new ke(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Ws(Se,Ne,xe(ge,{brighter:function(e){return e=null==e?Qs:Math.pow(Qs,e),new Se(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Gs:Math.pow(Gs,e),new Se(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),n=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*n,r=2*t-i;return new ke(Ce(e>=240?e-240:e+120,r,i),Ce(e,r,i),Ce(e<120?e+240:e-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var cu=Math.PI/180,du=180/Math.PI,fu=.95047,hu=1,pu=1.08883,vu=4/29,mu=6/29,xu=3*mu*mu,gu=mu*mu*mu;Ws(Ie,Ae,xe(ge,{brighter:function(e){return new Ie(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Ie(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,n=isNaN(this.a)?e:e+this.a/500,t=isNaN(this.b)?e:e-this.b/200;return e=hu*Ze(e),new ke(ze(3.2404542*(n=fu*Ze(n))-1.5371385*e-.4985314*(t=pu*Ze(t))),ze(-.969266*n+1.8760108*e+.041556*t),ze(.0556434*n-.2040259*e+1.0572252*t),this.opacity)}})),Ws(Xe,Ee,xe(ge,{brighter:function(e){return new Xe(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Xe(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Me(this).rgb()}}));var yu=-.14861,bu=1.78277,_u=-.29227,ju=-.90649,wu=1.97294,ku=wu*ju,Pu=wu*bu,Tu=bu*_u-ju*yu;Ws(He,Re,xe(ge,{brighter:function(e){return e=null==e?Qs:Math.pow(Qs,e),new He(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Gs:Math.pow(Gs,e),new He(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*cu,n=+this.l,t=isNaN(this.s)?0:this.s*n*(1-n),i=Math.cos(e),r=Math.sin(e);return new ke(255*(n+t*(yu*i+bu*r)),255*(n+t*(_u*i+ju*r)),255*(n+t*(wu*i)),this.opacity)}}));var Nu,Su,Cu,Mu,Au,Iu,Lu=function(e){var n=e.length-1;return function(t){var i=t<=0?t=0:t>=1?(t=1,n-1):Math.floor(t*n),r=e[i],a=e[i+1],o=i>0?e[i-1]:2*r-a,l=i<n-1?e[i+2]:2*a-r;return qe((t-i/n)*n,o,r,a,l)}},Zu=function(e){var n=e.length;return function(t){var i=Math.floor(((t%=1)<0?++t:t)*n),r=e[(i+n-1)%n],a=e[i%n],o=e[(i+1)%n],l=e[(i+2)%n];return qe((t-i/n)*n,r,a,o,l)}},zu=function(e){return function(){return e}},Du=function e(n){function t(e,n){var t=i((e=we(e)).r,(n=we(n)).r),r=i(e.g,n.g),a=i(e.b,n.b),o=Ke(e.opacity,n.opacity);return function(n){return e.r=t(n),e.g=r(n),e.b=a(n),e.opacity=o(n),e+""}}var i=Je(n);return t.gamma=e,t}(1),Fu=Ue(Lu),Eu=Ue(Zu),Xu=function(e,n){var t,i=n?n.length:0,r=e?Math.min(i,e.length):0,a=new Array(i),o=new Array(i);for(t=0;t<r;++t)a[t]=Ju(e[t],n[t]);for(;t<i;++t)o[t]=n[t];return function(e){for(t=0;t<r;++t)o[t]=a[t](e);return o}},Ou=function(e,n){var t=new Date;return n-=e=+e,function(i){return t.setTime(e+n*i),t}},Ru=function(e,n){return n-=e=+e,function(t){return e+n*t}},Hu=function(e,n){var t,i={},r={};for(t in null!==e&&"object"==l(e)||(e={}),null!==n&&"object"==l(n)||(n={}),n)t in e?i[t]=Ju(e[t],n[t]):r[t]=n[t];return function(e){for(t in i)r[t]=i[t](e);return r}},qu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Vu=new RegExp(qu.source,"g"),Bu=function(e,n){var t,i,r,a=qu.lastIndex=Vu.lastIndex=0,o=-1,l=[],s=[];for(e+="",n+="";(t=qu.exec(e))&&(i=Vu.exec(n));)(r=i.index)>a&&(r=n.slice(a,r),l[o]?l[o]+=r:l[++o]=r),(t=t[0])===(i=i[0])?l[o]?l[o]+=i:l[++o]=i:(l[++o]=null,s.push({i:o,x:Ru(t,i)})),a=Vu.lastIndex;return a<n.length&&(r=n.slice(a),l[o]?l[o]+=r:l[++o]=r),l.length<2?s[0]?function(e){return function(n){return e(n)+""}}(s[0].x):function(e){return function(){return e}}(n):(n=s.length,function(e){for(var t,i=0;i<n;++i)l[(t=s[i]).i]=t.x(e);return l.join("")})},Ju=function(e,n){var t,i=l(n);return null==n||"boolean"===i?zu(n):("number"===i?Ru:"string"===i?(t=ye(n))?(n=t,Du):Bu:n instanceof ye?Du:n instanceof Date?Ou:Array.isArray(n)?Xu:isNaN(n)?Hu:Ru)(e,n)},Ku=function(e,n){return n-=e=+e,function(t){return Math.round(e+n*t)}},Uu=180/Math.PI,Wu={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Gu=function(e,n,t,i,r,a){var o,l,s;return(o=Math.sqrt(e*e+n*n))&&(e/=o,n/=o),(s=e*t+n*i)&&(t-=e*s,i-=n*s),(l=Math.sqrt(t*t+i*i))&&(t/=l,i/=l,s/=l),e*i<n*t&&(e=-e,n=-n,s=-s,o=-o),{translateX:r,translateY:a,rotate:Math.atan2(n,e)*Uu,skewX:Math.atan(s)*Uu,scaleX:o,scaleY:l}},Qu=We((function(e){return"none"===e?Wu:(Nu||(Nu=document.createElement("DIV"),Su=document.documentElement,Cu=document.defaultView),Nu.style.transform=e,e=Cu.getComputedStyle(Su.appendChild(Nu),null).getPropertyValue("transform"),Su.removeChild(Nu),e=e.slice(7,-1).split(","),Gu(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}),"px, ","px)","deg)"),Yu=We((function(e){return null==e?Wu:(Mu||(Mu=document.createElementNS("http://www.w3.org/2000/svg","g")),Mu.setAttribute("transform",e),(e=Mu.transform.baseVal.consolidate())?(e=e.matrix,Gu(e.a,e.b,e.c,e.d,e.e,e.f)):Wu)}),", ",")",")"),$u=Math.SQRT2,ec=function(e,n){var t,i,r=e[0],a=e[1],o=e[2],l=n[0],s=n[1],u=n[2],c=l-r,d=s-a,f=c*c+d*d;if(f<1e-12)i=Math.log(u/o)/$u,t=function(e){return[r+e*c,a+e*d,o*Math.exp($u*e*i)]};else{var h=Math.sqrt(f),p=(u*u-o*o+4*f)/(2*o*2*h),v=(u*u-o*o-4*f)/(2*u*2*h),m=Math.log(Math.sqrt(p*p+1)-p),x=Math.log(Math.sqrt(v*v+1)-v);i=(x-m)/$u,t=function(e){var n=e*i,t=Ge(m),l=o/(2*h)*(t*function(e){return((e=Math.exp(2*e))-1)/(e+1)}($u*n+m)-function(e){return((e=Math.exp(e))-1/e)/2}(m));return[r+l*c,a+l*d,o*t/Ge($u*n+m)]}}return t.duration=1e3*i,t},nc=Qe(Be),tc=Qe(Ke),ic=Ye(Be),rc=Ye(Ke),ac=$e(Be),oc=$e(Ke),lc=0,sc=0,uc=0,cc=1e3,dc=0,fc=0,hc=0,pc="object"==("undefined"==typeof performance?"undefined":l(performance))&&performance.now?performance:Date,vc="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){setTimeout(e,17)};tn.prototype=rn.prototype={constructor:tn,restart:function(e,n,t){if("function"!=typeof e)throw new TypeError("callback is not a function");t=(null==t?en():+t)+(null==n?0:+n),this._next||Iu===this||(Iu?Iu._next=this:Au=this,Iu=this),this._call=e,this._time=t,sn()},stop:function(){this._call&&(this._call=null,this._time=1/0,sn())}};var mc=function(e,n,t){var i=new tn;return n=null==n?0:+n,i.restart((function(t){i.stop(),e(t+n)}),n,t),i},xc=u("start","end","interrupt"),gc=[],yc=0,bc=1,_c=2,jc=3,wc=4,kc=5,Pc=6,Tc=function(e,n,t,i,r,a){var o=e.__transition;if(o){if(t in o)return}else e.__transition={};!function(e,n,t){function i(s){var u,c,d,f;if(t.state!==bc)return a();for(u in l)if((f=l[u]).name===t.name){if(f.state===jc)return mc(i);f.state===wc?(f.state=Pc,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete l[u]):+u<n&&(f.state=Pc,f.timer.stop(),delete l[u])}if(mc((function(){t.state===jc&&(t.state=wc,t.timer.restart(r,t.delay,t.time),r(s))})),t.state=_c,t.on.call("start",e,e.__data__,t.index,t.group),t.state===_c){for(t.state=jc,o=new Array(d=t.tween.length),u=0,c=-1;u<d;++u)(f=t.tween[u].value.call(e,e.__data__,t.index,t.group))&&(o[++c]=f);o.length=c+1}}function r(n){for(var i=n<t.duration?t.ease.call(null,n/t.duration):(t.timer.restart(a),t.state=kc,1),r=-1,l=o.length;++r<l;)o[r].call(null,i);t.state===kc&&(t.on.call("end",e,e.__data__,t.index,t.group),a())}function a(){for(var i in t.state=Pc,t.timer.stop(),delete l[n],l)return;delete e.__transition}var o,l=e.__transition;l[n]=t,t.timer=rn((function(e){t.state=bc,t.timer.restart(i,t.delay,t.time),t.delay<=e&&i(e-t.delay)}),0,t.time)}(e,t,{name:n,index:i,group:r,on:xc,tween:gc,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:yc})},Nc=function(e,n){var t,i,r,a=e.__transition,o=!0;if(a){for(r in n=null==n?null:n+"",a)(t=a[r]).name===n?(i=t.state>_c&&t.state<kc,t.state=Pc,t.timer.stop(),i&&t.on.call("interrupt",e,e.__data__,t.index,t.group),delete a[r]):o=!1;o&&delete e.__transition}},Sc=function(e,n){var t;return("number"==typeof n?Ru:n instanceof ye?Du:(t=ye(n))?(n=t,Du):Bu)(e,n)},Cc=ce.prototype.constructor,Mc=0,Ac=ce.prototype;Mn.prototype=An.prototype={constructor:Mn,select:function(e){var n=this._name,t=this._id;"function"!=typeof e&&(e=Es(e));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o<r;++o)for(var l,s,u=i[o],c=u.length,d=a[o]=new Array(c),f=0;f<c;++f)(l=u[f])&&(s=e.call(l,l.__data__,f,u))&&("__data__"in l&&(s.__data__=l.__data__),d[f]=s,Tc(d[f],n,t,f,d,dn(l,t)));return new Mn(a,this._parents,n,t)},selectAll:function(e){var n=this._name,t=this._id;"function"!=typeof e&&(e=Xs(e));for(var i=this._groups,r=i.length,a=[],o=[],l=0;l<r;++l)for(var s,u=i[l],c=u.length,d=0;d<c;++d)if(s=u[d]){for(var f,h=e.call(s,s.__data__,d,u),p=dn(s,t),v=0,m=h.length;v<m;++v)(f=h[v])&&Tc(f,n,t,v,h,p);a.push(h),o.push(s)}return new Mn(a,o,n,t)},filter:function(e){"function"!=typeof e&&(e=Ls(e));for(var n=this._groups,t=n.length,i=new Array(t),r=0;r<t;++r)for(var a,o=n[r],l=o.length,s=i[r]=[],u=0;u<l;++u)(a=o[u])&&e.call(a,a.__data__,u,o)&&s.push(a);return new Mn(i,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var n=this._groups,t=e._groups,i=n.length,r=t.length,a=Math.min(i,r),o=new Array(i),l=0;l<a;++l)for(var s,u=n[l],c=t[l],d=u.length,f=o[l]=new Array(d),h=0;h<d;++h)(s=u[h]||c[h])&&(f[h]=s);for(;l<i;++l)o[l]=n[l];return new Mn(o,this._parents,this._name,this._id)},selection:function(){return new Cc(this._groups,this._parents)},transition:function(){for(var e=this._name,n=this._id,t=In(),i=this._groups,r=i.length,a=0;a<r;++a)for(var o,l=i[a],s=l.length,u=0;u<s;++u)if(o=l[u]){var c=dn(o,n);Tc(o,e,t,u,l,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new Mn(i,this._parents,e,t)},call:Ac.call,nodes:Ac.nodes,node:Ac.node,size:Ac.size,empty:Ac.empty,each:Ac.each,on:function(e,n){var t=this._id;return arguments.length<2?dn(this.node(),t).on.on(e):this.each(Sn(t,e,n))},attr:function(e,n){var t=Ns(e),i="transform"===t?Yu:Sc;return this.attrTween(e,"function"==typeof n?(t.local?bn:yn)(t,i,pn(this,"attr."+e,n)):null==n?(t.local?mn:vn)(t):(t.local?gn:xn)(t,i,n))},attrTween:function(e,n){var t="attr."+e;if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==n)return this.tween(t,null);if("function"!=typeof n)throw new Error;var i=Ns(e);return this.tween(t,(i.local?_n:jn)(i,n))},style:function(e,n,t){var i="transform"==(e+="")?Qu:Sc;return null==n?this.styleTween(e,function(e,n){var t,i,r;return function(){var a=Hs(this).getComputedStyle(this,null),o=a.getPropertyValue(e),l=(this.style.removeProperty(e),a.getPropertyValue(e));return o===l?null:o===t&&l===i?r:r=n(t=o,i=l)}}(e,i)).on("end.style."+e,function(e){return function(){this.style.removeProperty(e)}}(e)):this.styleTween(e,"function"==typeof n?function(e,n,t){var i,r,a;return function(){var o=Hs(this).getComputedStyle(this,null),l=o.getPropertyValue(e),s=t(this);return null==s&&(this.style.removeProperty(e),s=o.getPropertyValue(e)),l===s?null:l===i&&s===r?a:a=n(i=l,r=s)}}(e,i,pn(this,"style."+e,n)):function(e,n,t){var i,r;return function(){var a=Hs(this).getComputedStyle(this,null).getPropertyValue(e);return a===t?null:a===i?r:r=n(i=a,t)}}(e,i,n),t)},styleTween:function(e,n,t){var i="style."+(e+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==n)return this.tween(i,null);if("function"!=typeof n)throw new Error;return this.tween(i,Cn(e,n,null==t?"":t))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var n=e(this);this.textContent=null==n?"":n}}(pn(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},remove:function(){return this.on("end.remove",function(e){return function(){var n=this.parentNode;for(var t in this.__transition)if(+t!==e)return;n&&n.removeChild(this)}}(this._id))},tween:function(e,n){var t=this._id;if(e+="",arguments.length<2){for(var i,r=dn(this.node(),t).tween,a=0,o=r.length;a<o;++a)if((i=r[a]).name===e)return i.value;return null}return this.each((null==n?fn:hn)(t,e,n))},delay:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?wn:kn)(n,e)):dn(this.node(),n).delay},duration:function(e){var n=this._id;return arguments.length?this.each(("function"==typeof e?Pn:Tn)(n,e)):dn(this.node(),n).duration},ease:function(e){var n=this._id;return arguments.length?this.each(Nn(n,e)):dn(this.node(),n).ease}};var Ic=function e(n){function t(e){return Math.pow(e,n)}return n=+n,t.exponent=e,t}(3),Lc=function e(n){function t(e){return 1-Math.pow(1-e,n)}return n=+n,t.exponent=e,t}(3),Zc=function e(n){function t(e){return((e*=2)<=1?Math.pow(e,n):2-Math.pow(2-e,n))/2}return n=+n,t.exponent=e,t}(3),zc=Math.PI,Dc=zc/2,Fc=4/11,Ec=6/11,Xc=8/11,Oc=.75,Rc=9/11,Hc=10/11,qc=.9375,Vc=21/22,Bc=63/64,Jc=1/Fc/Fc,Kc=1.70158,Uc=function e(n){function t(e){return e*e*((n+1)*e-n)}return n=+n,t.overshoot=e,t}(Kc),Wc=function e(n){function t(e){return--e*e*((n+1)*e+n)+1}return n=+n,t.overshoot=e,t}(Kc),Gc=function e(n){function t(e){return((e*=2)<1?e*e*((n+1)*e-n):(e-=2)*e*((n+1)*e+n)+2)/2}return n=+n,t.overshoot=e,t}(Kc),Qc=2*Math.PI,Yc=function e(n,t){function i(e){return n*Math.pow(2,10*--e)*Math.sin((r-e)/t)}var r=Math.asin(1/(n=Math.max(1,n)))*(t/=Qc);return i.amplitude=function(n){return e(n,t*Qc)},i.period=function(t){return e(n,t)},i}(1,.3),$c=function e(n,t){function i(e){return 1-n*Math.pow(2,-10*(e=+e))*Math.sin((e+r)/t)}var r=Math.asin(1/(n=Math.max(1,n)))*(t/=Qc);return i.amplitude=function(n){return e(n,t*Qc)},i.period=function(t){return e(n,t)},i}(1,.3),ed=function e(n,t){function i(e){return((e=2*e-1)<0?n*Math.pow(2,10*e)*Math.sin((r-e)/t):2-n*Math.pow(2,-10*e)*Math.sin((r+e)/t))/2}var r=Math.asin(1/(n=Math.max(1,n)))*(t/=Qc);return i.amplitude=function(n){return e(n,t*Qc)},i.period=function(t){return e(n,t)},i}(1,.3),nd={time:null,delay:0,duration:250,ease:Zn};ce.prototype.interrupt=function(e){return this.each((function(){Nc(this,e)}))},ce.prototype.transition=function(e){var n,t;e instanceof Mn?(n=e._id,e=e._name):(n=In(),(t=nd).time=en(),e=null==e?null:e+"");for(var i=this._groups,r=i.length,a=0;a<r;++a)for(var o,l=i[a],s=l.length,u=0;u<s;++u)(o=l[u])&&Tc(o,e,n,u,l,t||Xn(o,n));return new Mn(i,this._parents,e,n)};var td=[null],id=function(e){return function(){return e}},rd=function(e,n,t){this.target=e,this.type=n,this.selection=t},ad=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()},od={name:"drag"},ld={name:"space"},sd={name:"handle"},ud={name:"center"},cd={name:"x",handles:["e","w"].map(Rn),input:function(e,n){return e&&[[e[0],n[0][1]],[e[1],n[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},dd={name:"y",handles:["n","s"].map(Rn),input:function(e,n){return e&&[[n[0][0],e[0]],[n[1][0],e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},fd={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Rn),input:function(e){return e},output:function(e){return e}},hd={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},pd={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},vd={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},md={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},xd={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},gd=Math.cos,yd=Math.sin,bd=Math.PI,_d=bd/2,jd=2*bd,wd=Math.max,kd=Array.prototype.slice,Pd=function(e){return function(){return e}},Td=Math.PI,Nd=2*Td,Sd=1e-6,Cd=Nd-Sd;Un.prototype=Wn.prototype={constructor:Un,moveTo:function(e,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,n){this._+="L"+(this._x1=+e)+","+(this._y1=+n)},quadraticCurveTo:function(e,n,t,i){this._+="Q"+ +e+","+ +n+","+(this._x1=+t)+","+(this._y1=+i)},bezierCurveTo:function(e,n,t,i,r,a){this._+="C"+ +e+","+ +n+","+ +t+","+ +i+","+(this._x1=+r)+","+(this._y1=+a)},arcTo:function(e,n,t,i,r){e=+e,n=+n,t=+t,i=+i,r=+r;var a=this._x1,o=this._y1,l=t-e,s=i-n,u=a-e,c=o-n,d=u*u+c*c;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=n);else if(d>Sd)if(Math.abs(c*l-s*u)>Sd&&r){var f=t-a,h=i-o,p=l*l+s*s,v=f*f+h*h,m=Math.sqrt(p),x=Math.sqrt(d),g=r*Math.tan((Td-Math.acos((p+d-v)/(2*m*x)))/2),y=g/x,b=g/m;Math.abs(y-1)>Sd&&(this._+="L"+(e+y*u)+","+(n+y*c)),this._+="A"+r+","+r+",0,0,"+ +(c*f>u*h)+","+(this._x1=e+b*l)+","+(this._y1=n+b*s)}else this._+="L"+(this._x1=e)+","+(this._y1=n)},arc:function(e,n,t,i,r,a){e=+e,n=+n;var o=(t=+t)*Math.cos(i),l=t*Math.sin(i),s=e+o,u=n+l,c=1^a,d=a?i-r:r-i;if(t<0)throw new Error("negative radius: "+t);null===this._x1?this._+="M"+s+","+u:(Math.abs(this._x1-s)>Sd||Math.abs(this._y1-u)>Sd)&&(this._+="L"+s+","+u),t&&(d>Cd?this._+="A"+t+","+t+",0,1,"+c+","+(e-o)+","+(n-l)+"A"+t+","+t+",0,1,"+c+","+(this._x1=s)+","+(this._y1=u):(d<0&&(d=d%Nd+Nd),this._+="A"+t+","+t+",0,"+ +(d>=Td)+","+c+","+(this._x1=e+t*Math.cos(r))+","+(this._y1=n+t*Math.sin(r))))},rect:function(e,n,t,i){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+n)+"h"+ +t+"v"+ +i+"h"+-t+"Z"},toString:function(){return this._}};var Md="$";nt.prototype=tt.prototype={constructor:nt,has:function(e){return Md+e in this},get:function(e){return this[Md+e]},set:function(e,n){return this[Md+e]=n,this},remove:function(e){var n=Md+e;return n in this&&delete this[n]},clear:function(){for(var e in this)e[0]===Md&&delete this[e]},keys:function(){var e=[];for(var n in this)n[0]===Md&&e.push(n.slice(1));return e},values:function(){var e=[];for(var n in this)n[0]===Md&&e.push(this[n]);return e},entries:function(){var e=[];for(var n in this)n[0]===Md&&e.push({key:n.slice(1),value:this[n]});return e},size:function(){var e=0;for(var n in this)n[0]===Md&&++e;return e},empty:function(){for(var e in this)if(e[0]===Md)return!1;return!0},each:function(e){for(var n in this)n[0]===Md&&e(this[n],n.slice(1),this)}};var Ad=tt.prototype;lt.prototype=st.prototype={constructor:lt,has:Ad.has,add:function(e){return this[Md+(e+="")]=e,this},remove:Ad.remove,clear:Ad.clear,values:Ad.keys,size:Ad.size,empty:Ad.empty,each:Ad.each};var Id=function(e){function n(e,n){function t(){if(c>=u)return l;if(r)return r=!1,o;var n,t=c;if(34===e.charCodeAt(t)){for(var i=t;i++<u;)if(34===e.charCodeAt(i)){if(34!==e.charCodeAt(i+1))break;++i}return c=i+2,13===(n=e.charCodeAt(i+1))?(r=!0,10===e.charCodeAt(i+2)&&++c):10===n&&(r=!0),e.slice(t+1,i).replace(/""/g,'"')}for(;c<u;){var s=1;if(10===(n=e.charCodeAt(c++)))r=!0;else if(13===n)r=!0,10===e.charCodeAt(c)&&(++c,++s);else if(n!==a)continue;return e.slice(t,c-s)}return e.slice(t)}for(var i,r,o={},l={},s=[],u=e.length,c=0,d=0;(i=t())!==l;){for(var f=[];i!==o&&i!==l;)f.push(i),i=t();n&&null==(f=n(f,d++))||s.push(f)}return s}function t(n){return n.map(i).join(e)}function i(e){return null==e?"":r.test(e+="")?'"'+e.replace(/\"/g,'""')+'"':e}var r=new RegExp('["'+e+"\n]"),a=e.charCodeAt(0);return{parse:function(e,t){var i,r,a=n(e,(function(e,n){return i?i(e,n-1):(r=e,void(i=t?function(e,n){var t=ut(e);return function(i,r){return n(t(i),r,e)}}(e,t):ut(e)))}));return a.columns=r,a},parseRows:n,format:function(n,t){return null==t&&(t=function(e){var n=Object.create(null),t=[];return e.forEach((function(e){for(var i in e)i in n||t.push(n[i]=i)})),t}(n)),[t.map(i).join(e)].concat(n.map((function(n){return t.map((function(e){return i(n[e])})).join(e)}))).join("\n")},formatRows:function(e){return e.map(t).join("\n")}}},Ld=Id(","),Zd=Ld.parse,zd=Ld.parseRows,Dd=Ld.format,Fd=Ld.formatRows,Ed=Id("\t"),Xd=Ed.parse,Od=Ed.parseRows,Rd=Ed.format,Hd=Ed.formatRows,qd=function(e){return function(){return e}},Vd=function(){return 1e-6*(Math.random()-.5)},Bd=function(e,n,t,i,r){this.node=e,this.x0=n,this.y0=t,this.x1=i,this.y1=r},Jd=ht.prototype=pt.prototype;Jd.copy=function(){var e,n,t=new pt(this._x,this._y,this._x0,this._y0,this._x1,this._y1),i=this._root;if(!i)return t;if(!i.length)return t._root=vt(i),t;for(e=[{source:i,target:t._root=new Array(4)}];i=e.pop();)for(var r=0;r<4;++r)(n=i.source[r])&&(n.length?e.push({source:n,target:i.target[r]=new Array(4)}):i.target[r]=vt(n));return t},Jd.add=function(e){var n=+this._x.call(null,e),t=+this._y.call(null,e);return ct(this.cover(n,t),n,t,e)},Jd.addAll=function(e){var n,t,i,r,a=e.length,o=new Array(a),l=new Array(a),s=1/0,u=1/0,c=-1/0,d=-1/0;for(t=0;t<a;++t)isNaN(i=+this._x.call(null,n=e[t]))||isNaN(r=+this._y.call(null,n))||(o[t]=i,l[t]=r,i<s&&(s=i),i>c&&(c=i),r<u&&(u=r),r>d&&(d=r));for(c<s&&(s=this._x0,c=this._x1),d<u&&(u=this._y0,d=this._y1),this.cover(s,u).cover(c,d),t=0;t<a;++t)ct(this,o[t],l[t],e[t]);return this},Jd.cover=function(e,n){if(isNaN(e=+e)||isNaN(n=+n))return this;var t=this._x0,i=this._y0,r=this._x1,a=this._y1;if(isNaN(t))r=(t=Math.floor(e))+1,a=(i=Math.floor(n))+1;else{if(!(t>e||e>r||i>n||n>a))return this;var o,l,s=r-t,u=this._root;switch(l=(n<(i+a)/2)<<1|e<(t+r)/2){case 0:do{(o=new Array(4))[l]=u,u=o}while(a=i+(s*=2),e>(r=t+s)||n>a);break;case 1:do{(o=new Array(4))[l]=u,u=o}while(a=i+(s*=2),(t=r-s)>e||n>a);break;case 2:do{(o=new Array(4))[l]=u,u=o}while(i=a-(s*=2),e>(r=t+s)||i>n);break;case 3:do{(o=new Array(4))[l]=u,u=o}while(i=a-(s*=2),(t=r-s)>e||i>n)}this._root&&this._root.length&&(this._root=u)}return this._x0=t,this._y0=i,this._x1=r,this._y1=a,this},Jd.data=function(){var e=[];return this.visit((function(n){if(!n.length)do{e.push(n.data)}while(n=n.next)})),e},Jd.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Jd.find=function(e,n,t){var i,r,a,o,l,s,u,c=this._x0,d=this._y0,f=this._x1,h=this._y1,p=[],v=this._root;for(v&&p.push(new Bd(v,c,d,f,h)),null==t?t=1/0:(c=e-t,d=n-t,f=e+t,h=n+t,t*=t);s=p.pop();)if(!(!(v=s.node)||(r=s.x0)>f||(a=s.y0)>h||(o=s.x1)<c||(l=s.y1)<d))if(v.length){var m=(r+o)/2,x=(a+l)/2;p.push(new Bd(v[3],m,x,o,l),new Bd(v[2],r,x,m,l),new Bd(v[1],m,a,o,x),new Bd(v[0],r,a,m,x)),(u=(n>=x)<<1|e>=m)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=s)}else{var g=e-+this._x.call(null,v.data),y=n-+this._y.call(null,v.data),b=g*g+y*y;if(b<t){var _=Math.sqrt(t=b);c=e-_,d=n-_,f=e+_,h=n+_,i=v.data}}return i},Jd.remove=function(e){if(isNaN(a=+this._x.call(null,e))||isNaN(o=+this._y.call(null,e)))return this;var n,t,i,r,a,o,l,s,u,c,d,f,h=this._root,p=this._x0,v=this._y0,m=this._x1,x=this._y1;if(!h)return this;if(h.length)for(;;){if((u=a>=(l=(p+m)/2))?p=l:m=l,(c=o>=(s=(v+x)/2))?v=s:x=s,n=h,!(h=h[d=c<<1|u]))return this;if(!h.length)break;(n[d+1&3]||n[d+2&3]||n[d+3&3])&&(t=n,f=d)}for(;h.data!==e;)if(i=h,!(h=h.next))return this;return(r=h.next)&&delete h.next,i?(r?i.next=r:delete i.next,this):n?(r?n[d]=r:delete n[d],(h=n[0]||n[1]||n[2]||n[3])&&h===(n[3]||n[2]||n[1]||n[0])&&!h.length&&(t?t[f]=h:this._root=h),this):(this._root=r,this)},Jd.removeAll=function(e){for(var n=0,t=e.length;n<t;++n)this.remove(e[n]);return this},Jd.root=function(){return this._root},Jd.size=function(){var e=0;return this.visit((function(n){if(!n.length)do{++e}while(n=n.next)})),e},Jd.visit=function(e){var n,t,i,r,a,o,l=[],s=this._root;for(s&&l.push(new Bd(s,this._x0,this._y0,this._x1,this._y1));n=l.pop();)if(!e(s=n.node,i=n.x0,r=n.y0,a=n.x1,o=n.y1)&&s.length){var u=(i+a)/2,c=(r+o)/2;(t=s[3])&&l.push(new Bd(t,u,c,a,o)),(t=s[2])&&l.push(new Bd(t,i,c,u,o)),(t=s[1])&&l.push(new Bd(t,u,r,a,c)),(t=s[0])&&l.push(new Bd(t,i,r,u,c))}return this},Jd.visitAfter=function(e){var n,t=[],i=[];for(this._root&&t.push(new Bd(this._root,this._x0,this._y0,this._x1,this._y1));n=t.pop();){var r=n.node;if(r.length){var a,o=n.x0,l=n.y0,s=n.x1,u=n.y1,c=(o+s)/2,d=(l+u)/2;(a=r[0])&&t.push(new Bd(a,o,l,c,d)),(a=r[1])&&t.push(new Bd(a,c,l,s,d)),(a=r[2])&&t.push(new Bd(a,o,d,c,u)),(a=r[3])&&t.push(new Bd(a,c,d,s,u))}i.push(n)}for(;n=i.pop();)e(n.node,n.x0,n.y0,n.x1,n.y1);return this},Jd.x=function(e){return arguments.length?(this._x=e,this):this._x},Jd.y=function(e){return arguments.length?(this._y=e,this):this._y};var Kd,Ud=Math.PI*(3-Math.sqrt(5)),Wd=function(e,n){if((t=(e=n?e.toExponential(n-1):e.toExponential()).indexOf("e"))<0)return null;var t,i=e.slice(0,t);return[i.length>1?i[0]+i.slice(2):i,+e.slice(t+1)]},Gd=function(e){return(e=Wd(Math.abs(e)))?e[1]:NaN},Qd=function(e,n){var t=Wd(e,n);if(!t)return e+"";var i=t[0],r=t[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")},Yd={"":function(e,n){e:for(var t,i=(e=e.toPrecision(n)).length,r=1,a=-1;r<i;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;case"e":break e;default:a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e},"%":function(e,n){return(100*e).toFixed(n)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,n){return e.toExponential(n)},f:function(e,n){return e.toFixed(n)},g:function(e,n){return e.toPrecision(n)},o:function(e){return Math.round(e).toString(8)},p:function(e,n){return Qd(100*e,n)},r:Qd,s:function(e,n){var t=Wd(e,n);if(!t)return e+"";var i=t[0],r=t[1],a=r-(Kd=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return a===o?i:a>o?i+new Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Wd(e,Math.max(0,n+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},$d=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,ef=function(e){return new jt(e)};jt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var nf,tf=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],rf=function(e){function n(e){function n(e){var n,i,s,g=p,y=v;if("c"===h)y=m(e)+y,e="";else{var b=((e=+e)<0||1/e<0)&&(e*=-1,!0);if(e=m(e,f),b)for(n=-1,i=e.length,b=!1;++n<i;)if(48<(s=e.charCodeAt(n))&&s<58||"x"===h&&96<s&&s<103||"X"===h&&64<s&&s<71){b=!0;break}if(g=(b?"("===l?l:"-":"-"===l||"("===l?"":l)+g,y=y+("s"===h?tf[8+Kd/3]:"")+(b&&"("===l?")":""),x)for(n=-1,i=e.length;++n<i;)if(48>(s=e.charCodeAt(n))||s>57){y=(46===s?r+e.slice(n+1):e.slice(n))+y,e=e.slice(0,n);break}}d&&!u&&(e=t(e,1/0));var _=g.length+e.length+y.length,j=_<c?new Array(c-_+1).join(a):"";switch(d&&u&&(e=t(j+e,j.length?c-y.length:1/0),j=""),o){case"<":return g+e+y+j;case"=":return g+j+e+y;case"^":return j.slice(0,_=j.length>>1)+g+e+y+j.slice(_)}return j+g+e+y}var a=(e=ef(e)).fill,o=e.align,l=e.sign,s=e.symbol,u=e.zero,c=e.width,d=e.comma,f=e.precision,h=e.type,p="$"===s?i[0]:"#"===s&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",v="$"===s?i[1]:/[%p]/.test(h)?"%":"",m=Yd[h],x=!h||/[defgprs%]/.test(h);return f=null==f?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),n.toString=function(){return e+""},n}var t=e.grouping&&e.thousands?function(e,n){return function(t,i){for(var r=t.length,a=[],o=0,l=e[0],s=0;r>0&&l>0&&(s+l+1>i&&(l=Math.max(1,i-s)),a.push(t.substring(r-=l,r+l)),!((s+=l+1)>i));)l=e[o=(o+1)%e.length];return a.reverse().join(n)}}(e.grouping,e.thousands):wt,i=e.currency,r=e.decimal;return{format:n,formatPrefix:function(e,t){var i=n(((e=ef(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Gd(t)/3))),a=Math.pow(10,-r),o=tf[8+r/3];return function(e){return i(a*e)+o}}}};kt({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var af=function(e){return Math.max(0,-Gd(Math.abs(e)))},of=function(e,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Gd(n)/3)))-Gd(Math.abs(e)))},lf=function(e,n){return e=Math.abs(e),n=Math.abs(n)-e,Math.max(0,Gd(n)-Gd(e))+1},sf=function(){return new Pt};Pt.prototype={constructor:Pt,reset:function(){this.s=this.t=0},add:function(e){Tt(Of,e,this.t),Tt(this,Of.s,this.s),this.s?this.t+=Of.t:this.s=Of.t},valueOf:function(){return this.s}};var uf,cf,df,ff,hf,pf,vf,mf,xf,gf,yf,bf,_f,jf,wf,kf,Pf,Tf,Nf,Sf,Cf,Mf,Af,If,Lf,Zf,zf,Df,Ff,Ef,Xf,Of=new Pt,Rf=1e-6,Hf=Math.PI,qf=Hf/2,Vf=Hf/4,Bf=2*Hf,Jf=180/Hf,Kf=Hf/180,Uf=Math.abs,Wf=Math.atan,Gf=Math.atan2,Qf=Math.cos,Yf=Math.ceil,$f=Math.exp,eh=Math.log,nh=Math.pow,th=Math.sin,ih=Math.sign||function(e){return e>0?1:e<0?-1:0},rh=Math.sqrt,ah=Math.tan,oh={Feature:function(e,n){At(e.geometry,n)},FeatureCollection:function(e,n){for(var t=e.features,i=-1,r=t.length;++i<r;)At(t[i].geometry,n)}},lh={Sphere:function(e,n){n.sphere()},Point:function(e,n){e=e.coordinates,n.point(e[0],e[1],e[2])},MultiPoint:function(e,n){for(var t=e.coordinates,i=-1,r=t.length;++i<r;)e=t[i],n.point(e[0],e[1],e[2])},LineString:function(e,n){It(e.coordinates,n,0)},MultiLineString:function(e,n){for(var t=e.coordinates,i=-1,r=t.length;++i<r;)It(t[i],n,0)},Polygon:function(e,n){Lt(e.coordinates,n)},MultiPolygon:function(e,n){for(var t=e.coordinates,i=-1,r=t.length;++i<r;)Lt(t[i],n)},GeometryCollection:function(e,n){for(var t=e.geometries,i=-1,r=t.length;++i<r;)At(t[i],n)}},sh=function(e,n){e&&oh.hasOwnProperty(e.type)?oh[e.type](e,n):At(e,n)},uh=sf(),ch=sf(),dh={point:Mt,lineStart:Mt,lineEnd:Mt,polygonStart:function(){uh.reset(),dh.lineStart=Zt,dh.lineEnd=zt},polygonEnd:function(){var e=+uh;ch.add(e<0?Bf+e:e),this.lineStart=this.lineEnd=this.point=Mt},sphere:function(){ch.add(Bf)}},fh=sf(),hh={point:Bt,lineStart:Kt,lineEnd:Ut,polygonStart:function(){hh.point=Wt,hh.lineStart=Gt,hh.lineEnd=Qt,fh.reset(),dh.polygonStart()},polygonEnd:function(){dh.polygonEnd(),hh.point=Bt,hh.lineStart=Kt,hh.lineEnd=Ut,uh<0?(pf=-(mf=180),vf=-(xf=90)):fh>Rf?xf=90:fh<-Rf&&(vf=-90),wf[0]=pf,wf[1]=mf}},ph={sphere:Mt,point:ni,lineStart:ii,lineEnd:oi,polygonStart:function(){ph.lineStart=li,ph.lineEnd=si},polygonEnd:function(){ph.lineStart=ii,ph.lineEnd=oi}},vh=function(e){return function(){return e}},mh=function(e,n){function t(t,i){return t=e(t,i),n(t[0],t[1])}return e.invert&&n.invert&&(t.invert=function(t,i){return(t=n.invert(t,i))&&e.invert(t[0],t[1])}),t};di.invert=di;var xh,gh,yh,bh,_h,jh,wh,kh,Ph,Th,Nh,Sh=function(){var e,n=[];return{point:function(n,t){e.push([n,t])},lineStart:function(){n.push(e=[])},lineEnd:Mt,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var t=n;return n=[],e=null,t}}},Ch=function(e,n,t,i,r,a){var o,l=e[0],s=e[1],u=0,c=1,d=n[0]-l,f=n[1]-s;if(o=t-l,d||!(o>0)){if(o/=d,d<0){if(o<u)return;o<c&&(c=o)}else if(d>0){if(o>c)return;o>u&&(u=o)}if(o=r-l,d||!(o<0)){if(o/=d,d<0){if(o>c)return;o>u&&(u=o)}else if(d>0){if(o<u)return;o<c&&(c=o)}if(o=i-s,f||!(o>0)){if(o/=f,f<0){if(o<u)return;o<c&&(c=o)}else if(f>0){if(o>c)return;o>u&&(u=o)}if(o=a-s,f||!(o<0)){if(o/=f,f<0){if(o>c)return;o>u&&(u=o)}else if(f>0){if(o<u)return;o<c&&(c=o)}return u>0&&(e[0]=l+u*d,e[1]=s+u*f),c<1&&(n[0]=l+c*d,n[1]=s+c*f),!0}}}}},Mh=function(e,n){return Uf(e[0]-n[0])<Rf&&Uf(e[1]-n[1])<Rf},Ah=function(e,n,t,i,r){var a,o,l=[],s=[];if(e.forEach((function(e){if(!((n=e.length-1)<=0)){var n,t,i=e[0],o=e[n];if(Mh(i,o)){for(r.lineStart(),a=0;a<n;++a)r.point((i=e[a])[0],i[1]);return void r.lineEnd()}l.push(t=new gi(i,e,null,!0)),s.push(t.o=new gi(i,null,t,!1)),l.push(t=new gi(o,e,null,!1)),s.push(t.o=new gi(o,null,t,!0))}})),l.length){for(s.sort(n),yi(l),yi(s),a=0,o=s.length;a<o;++a)s[a].e=t=!t;for(var u,c,d=l[0];;){for(var f=d,h=!0;f.v;)if((f=f.n)===d)return;u=f.z,r.lineStart();do{if(f.v=f.o.v=!0,f.e){if(h)for(a=0,o=u.length;a<o;++a)r.point((c=u[a])[0],c[1]);else i(f.x,f.n.x,1,r);f=f.n}else{if(h)for(u=f.p.z,a=u.length-1;a>=0;--a)r.point((c=u[a])[0],c[1]);else i(f.x,f.p.x,-1,r);f=f.p}u=(f=f.o).z,h=!h}while(!f.v);r.lineEnd()}}},Ih=1e9,Lh=-Ih,Zh=sf(),zh={sphere:Mt,point:Mt,lineStart:function(){zh.point=ji,zh.lineEnd=_i},lineEnd:Mt,polygonStart:Mt,polygonEnd:Mt},Dh=function(e){return Zh.reset(),sh(e,zh),+Zh},Fh=[null,null],Eh={type:"LineString",coordinates:Fh},Xh=function(e){return e},Oh=sf(),Rh=sf(),Hh={point:Mt,lineStart:Mt,lineEnd:Mt,polygonStart:function(){Hh.lineStart=Ni,Hh.lineEnd=Mi},polygonEnd:function(){Hh.lineStart=Hh.lineEnd=Hh.point=Mt,Oh.add(Uf(Rh)),Rh.reset()},result:function(){var e=Oh/2;return Oh.reset(),e}},qh=1/0,Vh=qh,Bh=-qh,Jh=Bh,Kh={point:function(e,n){e<qh&&(qh=e),e>Bh&&(Bh=e),n<Vh&&(Vh=n),n>Jh&&(Jh=n)},lineStart:Mt,lineEnd:Mt,polygonStart:Mt,polygonEnd:Mt,result:function(){var e=[[qh,Vh],[Bh,Jh]];return Bh=Jh=-(Vh=qh=1/0),e}},Uh=0,Wh=0,Gh=0,Qh=0,Yh=0,$h=0,ep=0,np=0,tp=0,ip={point:Ai,lineStart:Ii,lineEnd:zi,polygonStart:function(){ip.lineStart=Di,ip.lineEnd=Fi},polygonEnd:function(){ip.point=Ai,ip.lineStart=Ii,ip.lineEnd=zi},result:function(){var e=tp?[ep/tp,np/tp]:$h?[Qh/$h,Yh/$h]:Gh?[Uh/Gh,Wh/Gh]:[NaN,NaN];return Uh=Wh=Gh=Qh=Yh=$h=ep=np=tp=0,e}};Oi.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,n){switch(this._point){case 0:this._context.moveTo(e,n),this._point=1;break;case 1:this._context.lineTo(e,n);break;default:this._context.moveTo(e+this._radius,n),this._context.arc(e,n,this._radius,0,Bf)}},result:Mt};var rp,ap,op,lp,sp,up=sf(),cp={point:Mt,lineStart:function(){cp.point=Ri},lineEnd:function(){rp&&Hi(ap,op),cp.point=Mt},polygonStart:function(){rp=!0},polygonEnd:function(){rp=null},result:function(){var e=+up;return up.reset(),e}};qi.prototype={_circle:Vi(4.5),pointRadius:function(e){return this._circle=Vi(e),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,n){switch(this._point){case 0:this._string.push("M",e,",",n),this._point=1;break;case 1:this._string.push("L",e,",",n);break;default:this._string.push("M",e,",",n,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}}};var dp=sf(),fp=function(e,n,t,i){return function(r,a){function o(n,t){var i=r(n,t);e(n=i[0],t=i[1])&&a.point(n,t)}function l(e,n){var t=r(e,n);m.point(t[0],t[1])}function s(){_.point=l,m.lineStart()}function u(){_.point=o,m.lineEnd()}function c(e,n){v.push([e,n]);var t=r(e,n);y.point(t[0],t[1])}function d(){y.lineStart(),v=[]}function f(){c(v[0][0],v[0][1]),y.lineEnd();var e,n,t,i,r=y.clean(),o=g.result(),l=o.length;if(v.pop(),h.push(v),v=null,l)if(1&r){if((n=(t=o[0]).length-1)>0){for(b||(a.polygonStart(),b=!0),a.lineStart(),e=0;e<n;++e)a.point((i=t[e])[0],i[1]);a.lineEnd()}}else l>1&&2&r&&o.push(o.pop().concat(o.shift())),p.push(o.filter(Bi))}var h,p,v,m=n(a),x=r.invert(i[0],i[1]),g=Sh(),y=n(g),b=!1,_={point:o,lineStart:s,lineEnd:u,polygonStart:function(){_.point=c,_.lineStart=d,_.lineEnd=f,p=[],h=[]},polygonEnd:function(){_.point=o,_.lineStart=s,_.lineEnd=u,p=ps(p);var e=function(e,n){var t=n[0],i=n[1],r=[th(t),-Qf(t),0],a=0,o=0;dp.reset();for(var l=0,s=e.length;l<s;++l)if(c=(u=e[l]).length)for(var u,c,d=u[c-1],f=d[0],h=d[1]/2+Vf,p=th(h),v=Qf(h),m=0;m<c;++m,f=g,p=b,v=_,d=x){var x=u[m],g=x[0],y=x[1]/2+Vf,b=th(y),_=Qf(y),j=g-f,w=j>=0?1:-1,k=w*j,P=k>Hf,T=p*b;if(dp.add(Gf(T*w*th(k),v*_+T*Qf(k))),a+=P?j+w*Bf:j,P^f>=t^g>=t){var N=Rt(Xt(d),Xt(x));Vt(N);var S=Rt(r,N);Vt(S);var C=(P^j>=0?-1:1)*St(S[2]);(i>C||i===C&&(N[0]||N[1]))&&(o+=P^j>=0?1:-1)}}return(a<-Rf||a<Rf&&dp<-Rf)^1&o}(h,x);p.length?(b||(a.polygonStart(),b=!0),Ah(p,Ji,e,t,a)):e&&(b||(a.polygonStart(),b=!0),a.lineStart(),t(null,null,1,a),a.lineEnd()),b&&(a.polygonEnd(),b=!1),p=h=null},sphere:function(){a.polygonStart(),a.lineStart(),t(null,null,1,a),a.lineEnd(),a.polygonEnd()}};return _}},hp=fp((function(){return!0}),(function(e){var n,t=NaN,i=NaN,r=NaN;return{lineStart:function(){e.lineStart(),n=1},point:function(a,o){var l=a>0?Hf:-Hf,s=Uf(a-t);Uf(s-Hf)<Rf?(e.point(t,i=(i+o)/2>0?qf:-qf),e.point(r,i),e.lineEnd(),e.lineStart(),e.point(l,i),e.point(a,i),n=0):r!==l&&s>=Hf&&(Uf(t-r)<Rf&&(t-=r*Rf),Uf(a-l)<Rf&&(a-=l*Rf),i=function(e,n,t,i){var r,a,o=th(e-t);return Uf(o)>Rf?Wf((th(n)*(a=Qf(i))*th(t)-th(i)*(r=Qf(n))*th(e))/(r*a*o)):(n+i)/2}(t,i,a,o),e.point(r,i),e.lineEnd(),e.lineStart(),e.point(l,i),n=0),e.point(t=a,i=o),r=l},lineEnd:function(){e.lineEnd(),t=i=NaN},clean:function(){return 2-n}}}),(function(e,n,t,i){var r;if(null==e)r=t*qf,i.point(-Hf,r),i.point(0,r),i.point(Hf,r),i.point(Hf,0),i.point(Hf,-r),i.point(0,-r),i.point(-Hf,-r),i.point(-Hf,0),i.point(-Hf,r);else if(Uf(e[0]-n[0])>Rf){var a=e[0]<n[0]?Hf:-Hf;r=t*a/2,i.point(-a,r),i.point(0,r),i.point(a,r)}else i.point(n[0],n[1])}),[-Hf,-qf]),pp=function(e,n){function t(e,n){return Qf(e)*Qf(n)>a}function i(e,n,t){var i=[1,0,0],r=Rt(Xt(e),Xt(n)),o=Ot(r,r),l=r[0],s=o-l*l;if(!s)return!t&&e;var u=a*o/s,c=-a*l/s,d=Rt(i,r),f=qt(i,u);Ht(f,qt(r,c));var h=d,p=Ot(f,h),v=Ot(h,h),m=p*p-v*(Ot(f,f)-1);if(!(m<0)){var x=rh(m),g=qt(h,(-p-x)/v);if(Ht(g,f),g=Et(g),!t)return g;var y,b=e[0],_=n[0],j=e[1],w=n[1];_<b&&(y=b,b=_,_=y);var k=_-b,P=Uf(k-Hf)<Rf;if(!P&&w<j&&(y=j,j=w,w=y),P||k<Rf?P?j+w>0^g[1]<(Uf(g[0]-b)<Rf?j:w):j<=g[1]&&g[1]<=w:k>Hf^(b<=g[0]&&g[0]<=_)){var T=qt(h,(-p+x)/v);return Ht(T,f),[g,Et(T)]}}}function r(n,t){var i=o?e:Hf-e,r=0;return n<-i?r|=1:n>i&&(r|=2),t<-i?r|=4:t>i&&(r|=8),r}var a=Qf(e),o=a>0,l=Uf(a)>Rf;return fp(t,(function(e){var n,a,s,u,c;return{lineStart:function(){u=s=!1,c=1},point:function(d,f){var h,p=[d,f],v=t(d,f),m=o?v?0:r(d,f):v?r(d+(d<0?Hf:-Hf),f):0;if(!n&&(u=s=v)&&e.lineStart(),v!==s&&(h=i(n,p),(Mh(n,h)||Mh(p,h))&&(p[0]+=Rf,p[1]+=Rf,v=t(p[0],p[1]))),v!==s)c=0,v?(e.lineStart(),h=i(p,n),e.point(h[0],h[1])):(h=i(n,p),e.point(h[0],h[1]),e.lineEnd()),n=h;else if(l&&n&&o^v){var x;m&a||!(x=i(p,n,!0))||(c=0,o?(e.lineStart(),e.point(x[0][0],x[0][1]),e.point(x[1][0],x[1][1]),e.lineEnd()):(e.point(x[1][0],x[1][1]),e.lineEnd(),e.lineStart(),e.point(x[0][0],x[0][1])))}!v||n&&Mh(n,p)||e.point(p[0],p[1]),n=p,s=v,a=m},lineEnd:function(){s&&e.lineEnd(),n=null},clean:function(){return c|(u&&s)<<1}}}),(function(t,i,r,a){mi(a,e,n,r,t,i)}),o?[0,-e]:[-Hf,e-Hf])};Ui.prototype={constructor:Ui,point:function(e,n){this.stream.point(e,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var vp=16,mp=Qf(30*Kf),xp=function(e,n){return+n?function(e,n){function t(i,r,a,o,l,s,u,c,d,f,h,p,v,m){var x=u-i,g=c-r,y=x*x+g*g;if(y>4*n&&v--){var b=o+f,_=l+h,j=s+p,w=rh(b*b+_*_+j*j),k=St(j/=w),P=Uf(Uf(j)-1)<Rf||Uf(a-d)<Rf?(a+d)/2:Gf(_,b),T=e(P,k),N=T[0],S=T[1],C=N-i,M=S-r,A=g*C-x*M;(A*A/y>n||Uf((x*C+g*M)/y-.5)>.3||o*f+l*h+s*p<mp)&&(t(i,r,a,o,l,s,N,S,P,b/=w,_/=w,j,v,m),m.point(N,S),t(N,S,P,b,_,j,u,c,d,f,h,p,v,m))}}return function(n){function i(t,i){t=e(t,i),n.point(t[0],t[1])}function r(){x=NaN,j.point=a,n.lineStart()}function a(i,r){var a=Xt([i,r]),o=e(i,r);t(x,g,m,y,b,_,x=o[0],g=o[1],m=i,y=a[0],b=a[1],_=a[2],vp,n),n.point(x,g)}function o(){j.point=i,n.lineEnd()}function l(){r(),j.point=s,j.lineEnd=u}function s(e,n){a(c=e,n),d=x,f=g,h=y,p=b,v=_,j.point=a}function u(){t(x,g,m,y,b,_,d,f,c,h,p,v,vp,n),j.lineEnd=o,o()}var c,d,f,h,p,v,m,x,g,y,b,_,j={point:i,lineStart:r,lineEnd:o,polygonStart:function(){n.polygonStart(),j.lineStart=l},polygonEnd:function(){n.polygonEnd(),j.lineStart=r}};return j}}(e,n):function(e){return Ki({point:function(n,t){n=e(n,t),this.stream.point(n[0],n[1])}})}(e)},gp=Ki({point:function(e,n){this.stream.point(e*Kf,n*Kf)}}),yp=function(){return $i(er).scale(155.424).center([0,33.6442])},bp=function(){return yp().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},_p=nr((function(e){return rh(2/(1+e))}));_p.invert=tr((function(e){return 2*St(e/2)}));var jp=nr((function(e){return(e=Nt(e))&&e/th(e)}));jp.invert=tr((function(e){return e})),ir.invert=function(e,n){return[e,2*Wf($f(n))-qf]},lr.invert=lr,ur.invert=tr(Wf),dr.invert=tr(St),fr.invert=tr((function(e){return 2*Wf(e)})),hr.invert=function(e,n){return[-n,2*Wf($f(e))-qf]},jr.prototype=gr.prototype={constructor:jr,count:function(){return this.eachAfter(xr)},each:function(e){var n,t,i,r,a=this,o=[a];do{for(n=o.reverse(),o=[];a=n.pop();)if(e(a),t=a.children)for(i=0,r=t.length;i<r;++i)o.push(t[i])}while(o.length);return this},eachAfter:function(e){for(var n,t,i,r=this,a=[r],o=[];r=a.pop();)if(o.push(r),n=r.children)for(t=0,i=n.length;t<i;++t)a.push(n[t]);for(;r=o.pop();)e(r);return this},eachBefore:function(e){for(var n,t,i=this,r=[i];i=r.pop();)if(e(i),n=i.children)for(t=n.length-1;t>=0;--t)r.push(n[t]);return this},sum:function(e){return this.eachAfter((function(n){for(var t=+e(n.data)||0,i=n.children,r=i&&i.length;--r>=0;)t+=i[r].value;n.value=t}))},sort:function(e){return this.eachBefore((function(n){n.children&&n.children.sort(e)}))},path:function(e){for(var n=this,t=function(e,n){if(e===n)return e;var t=e.ancestors(),i=n.ancestors(),r=null;for(e=t.pop(),n=i.pop();e===n;)r=e,e=t.pop(),n=i.pop();return r}(n,e),i=[n];n!==t;)n=n.parent,i.push(n);for(var r=i.length;e!==t;)i.splice(r,0,e),e=e.parent;return i},ancestors:function(){for(var e=this,n=[e];e=e.parent;)n.push(e);return n},descendants:function(){var e=[];return this.each((function(n){e.push(n)})),e},leaves:function(){var e=[];return this.eachBefore((function(n){n.children||e.push(n)})),e},links:function(){var e=this,n=[];return e.each((function(t){t!==e&&n.push({source:t.parent,target:t})})),n},copy:function(){return gr(this).eachBefore(br)}};var wp=function(e){return Pr(function(e){for(var n=(e=e.slice()).length,t=null,i=t;n;){var r=new wr(e[n-1]);i=i?i.next=r:t=r,e[void 0]=e[--n]}return{head:t,tail:i}}(e),[])},kp=function(e){return function(){return e}},Pp=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},Tp=function(e,n,t,i,r){for(var a,o=e.children,l=-1,s=o.length,u=e.value&&(i-n)/e.value;++l<s;)(a=o[l]).y0=t,a.y1=r,a.x0=n,a.x1=n+=a.value*u},Np={depth:-1},Sp={};Jr.prototype=Object.create(jr.prototype);var Cp=function(e,n,t,i,r){for(var a,o=e.children,l=-1,s=o.length,u=e.value&&(r-t)/e.value;++l<s;)(a=o[l]).x0=n,a.x1=i,a.y0=t,a.y1=t+=a.value*u},Mp=(1+Math.sqrt(5))/2,Ap=function e(n){function t(e,t,i,r,a){Kr(n,e,t,i,r,a)}return t.ratio=function(n){return e((n=+n)>1?n:1)},t}(Mp),Ip=function e(n){function t(e,t,i,r,a){if((o=e._squarify)&&o.ratio===n)for(var o,l,s,u,c,d=-1,f=o.length,h=e.value;++d<f;){for(s=(l=o[d]).children,u=l.value=0,c=s.length;u<c;++u)l.value+=s[u].value;l.dice?Tp(l,t,i,r,i+=(a-i)*l.value/h):Cp(l,t,i,t+=(r-t)*l.value/h,a),h-=l.value}else e._squarify=o=Kr(n,e,t,i,r,a),o.ratio=n}return t.ratio=function(n){return e((n=+n)>1?n:1)},t}(Mp),Lp=function(e,n,t){return(n[0]-e[0])*(t[1]-e[1])-(n[1]-e[1])*(t[0]-e[0])},Zp=[].slice,zp={};Gr.prototype=na.prototype={constructor:Gr,defer:function(e){if("function"!=typeof e||this._call)throw new Error;if(null!=this._error)return this;var n=Zp.call(arguments,1);return n.push(e),++this._waiting,this._tasks.push(n),Qr(this),this},abort:function(){return null==this._error&&$r(this,new Error("abort")),this},await:function(e){if("function"!=typeof e||this._call)throw new Error;return this._call=function(n,t){e.apply(null,[n].concat(t))},ea(this),this},awaitAll:function(e){if("function"!=typeof e||this._call)throw new Error;return this._call=e,ea(this),this}};var Dp=function(e,n){var t,i;return e=null==e?0:+e,n=null==n?1:+n,function(){var r;if(null!=t)r=t,t=null;else do{t=2*Math.random()-1,r=2*Math.random()-1,i=t*t+r*r}while(!i||i>1);return e+n*r*Math.sqrt(-2*Math.log(i)/i)}},Fp=function(e){return function(){for(var n=0,t=0;t<e;++t)n+=Math.random();return n}},Ep=function(e,n){function t(e){var n,t=c.status;if(!t&&function(e){var n=e.responseType;return n&&"text"!==n?e.response:e.responseText}(c)||t>=200&&t<300||304===t){if(a)try{n=a.call(i,c)}catch(e){return void l.call("error",i,e)}else n=c;l.call("load",i,n)}else l.call("error",i,e)}var i,r,a,o,l=u("beforesend","progress","load","error"),s=tt(),c=new XMLHttpRequest,d=null,f=null,h=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(e)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=t:c.onreadystatechange=function(e){c.readyState>3&&t(e)},c.onprogress=function(e){l.call("progress",i,e)},i={header:function(e,n){return e=(e+"").toLowerCase(),arguments.length<2?s.get(e):(null==n?s.remove(e):s.set(e,n+""),i)},mimeType:function(e){return arguments.length?(r=null==e?null:e+"",i):r},responseType:function(e){return arguments.length?(o=e,i):o},timeout:function(e){return arguments.length?(h=+e,i):h},user:function(e){return arguments.length<1?d:(d=null==e?null:e+"",i)},password:function(e){return arguments.length<1?f:(f=null==e?null:e+"",i)},response:function(e){return a=e,i},get:function(e,n){return i.send("GET",e,n)},post:function(e,n){return i.send("POST",e,n)},send:function(n,t,a){return c.open(n,e,!0,d,f),null==r||s.has("accept")||s.set("accept",r+",*/*"),c.setRequestHeader&&s.each((function(e,n){c.setRequestHeader(n,e)})),null!=r&&c.overrideMimeType&&c.overrideMimeType(r),null!=o&&(c.responseType=o),h>0&&(c.timeout=h),null==a&&"function"==typeof t&&(a=t,t=null),null!=a&&1===a.length&&(a=function(e){return function(n,t){e(null==n?t:null)}}(a)),null!=a&&i.on("error",a).on("load",(function(e){a(null,e)})),l.call("beforesend",i,c),c.send(null==t?null:t),i},abort:function(){return c.abort(),i},on:function(){var e=l.on.apply(l,arguments);return e===l?i:e}},null!=n){if("function"!=typeof n)throw new Error("invalid callback: "+n);return i.get(n)}return i},Xp=function(e,n){return function(t,i){var r=Ep(t).mimeType(e).response(n);if(null!=i){if("function"!=typeof i)throw new Error("invalid callback: "+i);return r.get(i)}return r}},Op=Xp("text/html",(function(e){return document.createRange().createContextualFragment(e.responseText)})),Rp=Xp("application/json",(function(e){return JSON.parse(e.responseText)})),Hp=Xp("text/plain",(function(e){return e.responseText})),qp=Xp("application/xml",(function(e){var n=e.responseXML;if(!n)throw new Error("parse error");return n})),Vp=function(e,n){return function(t,i,r){arguments.length<3&&(r=i,i=null);var a=Ep(t).mimeType(e);return a.row=function(e){return arguments.length?a.response(ta(n,i=e)):i},a.row(i),r?a.get(r):a}},Bp=Vp("text/csv",Zd),Jp=Vp("text/tab-separated-values",Xd),Kp=Array.prototype,Up=Kp.map,Wp=Kp.slice,Gp={name:"implicit"},Qp=function(e){return function(){return e}},Yp=function(e){return+e},$p=[0,1],ev=function(t,i,r){var a,o=t[0],l=t[t.length-1],s=n(o,l,null==i?10:i);switch((r=ef(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(l));return null!=r.precision||isNaN(a=of(s,u))||(r.precision=a),e.formatPrefix(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=lf(s,Math.max(Math.abs(o),Math.abs(l))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=af(s))||(r.precision=a-2*("%"===r.type))}return e.format(r)},nv=function(e,n){var t,i=0,r=(e=e.slice()).length-1,a=e[i],o=e[r];return o<a&&(t=i,i=r,r=t,t=a,a=o,o=t),e[i]=n.floor(a),e[r]=n.ceil(o),e},tv=new Date,iv=new Date,rv=ba((function(){}),(function(e,n){e.setTime(+e+n)}),(function(e,n){return n-e}));rv.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?ba((function(n){n.setTime(Math.floor(n/e)*e)}),(function(n,t){n.setTime(+n+t*e)}),(function(n,t){return(t-n)/e})):rv:null};var av=rv.range,ov=1e3,lv=6e4,sv=36e5,uv=864e5,cv=6048e5,dv=ba((function(e){e.setTime(Math.floor(e/ov)*ov)}),(function(e,n){e.setTime(+e+n*ov)}),(function(e,n){return(n-e)/ov}),(function(e){return e.getUTCSeconds()})),fv=dv.range,hv=ba((function(e){e.setTime(Math.floor(e/lv)*lv)}),(function(e,n){e.setTime(+e+n*lv)}),(function(e,n){return(n-e)/lv}),(function(e){return e.getMinutes()})),pv=hv.range,vv=ba((function(e){var n=e.getTimezoneOffset()*lv%sv;n<0&&(n+=sv),e.setTime(Math.floor((+e-n)/sv)*sv+n)}),(function(e,n){e.setTime(+e+n*sv)}),(function(e,n){return(n-e)/sv}),(function(e){return e.getHours()})),mv=vv.range,xv=ba((function(e){e.setHours(0,0,0,0)}),(function(e,n){e.setDate(e.getDate()+n)}),(function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*lv)/uv}),(function(e){return e.getDate()-1})),gv=xv.range,yv=_a(0),bv=_a(1),_v=_a(2),jv=_a(3),wv=_a(4),kv=_a(5),Pv=_a(6),Tv=yv.range,Nv=bv.range,Sv=_v.range,Cv=jv.range,Mv=wv.range,Av=kv.range,Iv=Pv.range,Lv=ba((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,n){e.setMonth(e.getMonth()+n)}),(function(e,n){return n.getMonth()-e.getMonth()+12*(n.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),Zv=Lv.range,zv=ba((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n)}),(function(e,n){return n.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));zv.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ba((function(n){n.setFullYear(Math.floor(n.getFullYear()/e)*e),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,t){n.setFullYear(n.getFullYear()+t*e)})):null};var Dv=zv.range,Fv=ba((function(e){e.setUTCSeconds(0,0)}),(function(e,n){e.setTime(+e+n*lv)}),(function(e,n){return(n-e)/lv}),(function(e){return e.getUTCMinutes()})),Ev=Fv.range,Xv=ba((function(e){e.setUTCMinutes(0,0,0)}),(function(e,n){e.setTime(+e+n*sv)}),(function(e,n){return(n-e)/sv}),(function(e){return e.getUTCHours()})),Ov=Xv.range,Rv=ba((function(e){e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCDate(e.getUTCDate()+n)}),(function(e,n){return(n-e)/uv}),(function(e){return e.getUTCDate()-1})),Hv=Rv.range,qv=ja(0),Vv=ja(1),Bv=ja(2),Jv=ja(3),Kv=ja(4),Uv=ja(5),Wv=ja(6),Gv=qv.range,Qv=Vv.range,Yv=Bv.range,$v=Jv.range,em=Kv.range,nm=Uv.range,tm=Wv.range,im=ba((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCMonth(e.getUTCMonth()+n)}),(function(e,n){return n.getUTCMonth()-e.getUTCMonth()+12*(n.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),rm=im.range,am=ba((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n)}),(function(e,n){return n.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));am.every=function(e){return isFinite(e=Math.floor(e))&&e>0?ba((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/e)*e),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,t){n.setUTCFullYear(n.getUTCFullYear()+t*e)})):null};var om,lm=am.range,sm={"-":"",_:" ",0:"0"},um=/^\s*\d+/,cm=/^%/,dm=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;_o({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var fm="%Y-%m-%dT%H:%M:%S.%LZ",hm=Date.prototype.toISOString?function(e){return e.toISOString()}:e.utcFormat(fm),pm=+new Date("2000-01-01T00:00:00.000Z")?function(e){var n=new Date(e);return isNaN(n)?null:n}:e.utcParse(fm),vm=1e3,mm=60*vm,xm=60*mm,gm=24*xm,ym=7*gm,bm=30*gm,_m=365*gm,jm=function(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))},wm=jm("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),km=jm("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Pm=jm("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Tm=jm("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Nm=oc(Re(300,.5,0),Re(-240,.5,1)),Sm=oc(Re(-100,.75,.35),Re(80,1.5,.8)),Cm=oc(Re(260,.75,.35),Re(80,1.5,.8)),Mm=Re(),Am=Po(jm("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Im=Po(jm("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Lm=Po(jm("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Zm=Po(jm("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),zm=function(e){return function(){return e}},Dm=1e-12,Fm=Math.PI,Em=Fm/2,Xm=2*Fm;Zo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;default:this._context.lineTo(e,n)}}};var Om=function(e){return new Zo(e)},Rm=function(){function e(e){var l,s,u,c=e.length,d=!1;for(null==r&&(o=a(u=Wn())),l=0;l<=c;++l)!(l<c&&i(s=e[l],l,e))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+n(s,l,e),+t(s,l,e));if(u)return o=null,u+""||null}var n=zo,t=Do,i=zm(!0),r=null,a=Om,o=null;return e.x=function(t){return arguments.length?(n="function"==typeof t?t:zm(+t),e):n},e.y=function(n){return arguments.length?(t="function"==typeof n?n:zm(+n),e):t},e.defined=function(n){return arguments.length?(i="function"==typeof n?n:zm(!!n),e):i},e.curve=function(n){return arguments.length?(a=n,null!=r&&(o=a(r)),e):a},e.context=function(n){return arguments.length?(null==n?r=o=null:o=a(r=n),e):r},e},Hm=function(){function e(e){var n,c,d,f,h,p=e.length,v=!1,m=new Array(p),x=new Array(p);for(null==l&&(u=s(h=Wn())),n=0;n<=p;++n){if(!(n<p&&o(f=e[n],n,e))===v)if(v=!v)c=n,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),d=n-1;d>=c;--d)u.point(m[d],x[d]);u.lineEnd(),u.areaEnd()}v&&(m[n]=+t(f,n,e),x[n]=+r(f,n,e),u.point(i?+i(f,n,e):m[n],a?+a(f,n,e):x[n]))}if(h)return u=null,h+""||null}function n(){return Rm().defined(o).curve(s).context(l)}var t=zo,i=null,r=zm(0),a=Do,o=zm(!0),l=null,s=Om,u=null;return e.x=function(n){return arguments.length?(t="function"==typeof n?n:zm(+n),i=null,e):t},e.x0=function(n){return arguments.length?(t="function"==typeof n?n:zm(+n),e):t},e.x1=function(n){return arguments.length?(i=null==n?null:"function"==typeof n?n:zm(+n),e):i},e.y=function(n){return arguments.length?(r="function"==typeof n?n:zm(+n),a=null,e):r},e.y0=function(n){return arguments.length?(r="function"==typeof n?n:zm(+n),e):r},e.y1=function(n){return arguments.length?(a=null==n?null:"function"==typeof n?n:zm(+n),e):a},e.lineX0=e.lineY0=function(){return n().x(t).y(r)},e.lineY1=function(){return n().x(t).y(a)},e.lineX1=function(){return n().x(i).y(r)},e.defined=function(n){return arguments.length?(o="function"==typeof n?n:zm(!!n),e):o},e.curve=function(n){return arguments.length?(s=n,null!=l&&(u=s(l)),e):s},e.context=function(n){return arguments.length?(null==n?l=u=null:u=s(l=n),e):l},e},qm=function(e,n){return n<e?-1:n>e?1:n>=e?0:NaN},Vm=function(e){return e},Bm=Eo(Om);Fo.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,n){this._curve.point(n*Math.sin(e),n*-Math.cos(e))}};var Jm={draw:function(e,n){var t=Math.sqrt(n/Fm);e.moveTo(t,0),e.arc(0,0,t,0,Xm)}},Km={draw:function(e,n){var t=Math.sqrt(n/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},Um=Math.sqrt(1/3),Wm=2*Um,Gm={draw:function(e,n){var t=Math.sqrt(n/Wm),i=t*Um;e.moveTo(0,-t),e.lineTo(i,0),e.lineTo(0,t),e.lineTo(-i,0),e.closePath()}},Qm=Math.sin(Fm/10)/Math.sin(7*Fm/10),Ym=Math.sin(Xm/10)*Qm,$m=-Math.cos(Xm/10)*Qm,ex={draw:function(e,n){var t=Math.sqrt(.8908130915292852*n),i=Ym*t,r=$m*t;e.moveTo(0,-t),e.lineTo(i,r);for(var a=1;a<5;++a){var o=Xm*a/5,l=Math.cos(o),s=Math.sin(o);e.lineTo(s*t,-l*t),e.lineTo(l*i-s*r,s*i+l*r)}e.closePath()}},nx={draw:function(e,n){var t=Math.sqrt(n),i=-t/2;e.rect(i,i,t,t)}},tx=Math.sqrt(3),ix={draw:function(e,n){var t=-Math.sqrt(n/(3*tx));e.moveTo(0,2*t),e.lineTo(-tx*t,-t),e.lineTo(tx*t,-t),e.closePath()}},rx=-.5,ax=Math.sqrt(3)/2,ox=1/Math.sqrt(12),lx=3*(ox/2+1),sx={draw:function(e,n){var t=Math.sqrt(n/lx),i=t/2,r=t*ox,a=i,o=t*ox+t,l=-a,s=o;e.moveTo(i,r),e.lineTo(a,o),e.lineTo(l,s),e.lineTo(rx*i-ax*r,ax*i+rx*r),e.lineTo(rx*a-ax*o,ax*a+rx*o),e.lineTo(rx*l-ax*s,ax*l+rx*s),e.lineTo(rx*i+ax*r,rx*r-ax*i),e.lineTo(rx*a+ax*o,rx*o-ax*a),e.lineTo(rx*l+ax*s,rx*s-ax*l),e.closePath()}},ux=[Jm,Km,Gm,nx,ex,ix,sx],cx=function(){};Ro.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Oo(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Oo(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},Ho.prototype={areaStart:cx,areaEnd:cx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._x2=e,this._y2=n;break;case 1:this._point=2,this._x3=e,this._y3=n;break;case 2:this._point=3,this._x4=e,this._y4=n,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+n)/6);break;default:Oo(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 3:this._point=4;default:Oo(this,e,n)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n}},Vo.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,n=this._y,t=e.length-1;if(t>0)for(var i,r=e[0],a=n[0],o=e[t]-r,l=n[t]-a,s=-1;++s<=t;)i=s/t,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+i*o),this._beta*n[s]+(1-this._beta)*(a+i*l));this._x=this._y=null,this._basis.lineEnd()},point:function(e,n){this._x.push(+e),this._y.push(+n)}};var dx=function e(n){function t(e){return 1===n?new Ro(e):new Vo(e,n)}return t.beta=function(n){return e(+n)},t}(.85);Jo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Bo(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2,this._x1=e,this._y1=n;break;case 2:this._point=3;default:Bo(this,e,n)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var fx=function e(n){function t(e){return new Jo(e,n)}return t.tension=function(n){return e(+n)},t}(0);Ko.prototype={areaStart:cx,areaEnd:cx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._x3=e,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=n);break;case 2:this._point=3,this._x5=e,this._y5=n;break;default:Bo(this,e,n)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var hx=function e(n){function t(e){return new Ko(e,n)}return t.tension=function(n){return e(+n)},t}(0);Uo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Bo(this,e,n)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var px=function e(n){function t(e){return new Uo(e,n)}return t.tension=function(n){return e(+n)},t}(0);Go.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){if(e=+e,n=+n,this._point){var t=this._x2-e,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Wo(this,e,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var vx=function e(n){function t(e){return n?new Go(e,n):new Jo(e,0)}return t.alpha=function(n){return e(+n)},t}(.5);Qo.prototype={areaStart:cx,areaEnd:cx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,n){if(e=+e,n=+n,this._point){var t=this._x2-e,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=n);break;case 2:this._point=3,this._x5=e,this._y5=n;break;default:Wo(this,e,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var mx=function e(n){function t(e){return n?new Qo(e,n):new Ko(e,0)}return t.alpha=function(n){return e(+n)},t}(.5);Yo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){if(e=+e,n=+n,this._point){var t=this._x2-e,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(t*t+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Wo(this,e,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var xx=function e(n){function t(e){return n?new Yo(e,n):new Uo(e,0)}return t.alpha=function(n){return e(+n)},t}(.5);$o.prototype={areaStart:cx,areaEnd:cx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,n){e=+e,n=+n,this._point?this._context.lineTo(e,n):(this._point=1,this._context.moveTo(e,n))}},rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:il(this,this._t0,tl(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,n){var t=NaN;if(n=+n,(e=+e)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;break;case 2:this._point=3,il(this,tl(this,t=nl(this,e,n)),t);break;default:il(this,this._t0,t=nl(this,e,n))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=n,this._t0=t}}},(al.prototype=Object.create(rl.prototype)).point=function(e,n){rl.prototype.point.call(this,n,e)},ol.prototype={moveTo:function(e,n){this._context.moveTo(n,e)},closePath:function(){this._context.closePath()},lineTo:function(e,n){this._context.lineTo(n,e)},bezierCurveTo:function(e,n,t,i,r,a){this._context.bezierCurveTo(n,e,i,t,a,r)}},ll.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,n=this._y,t=e.length;if(t)if(this._line?this._context.lineTo(e[0],n[0]):this._context.moveTo(e[0],n[0]),2===t)this._context.lineTo(e[1],n[1]);else for(var i=sl(e),r=sl(n),a=0,o=1;o<t;++a,++o)this._context.bezierCurveTo(i[0][a],r[0][a],i[1][a],r[1][a],e[o],n[o]);(this._line||0!==this._line&&1===t)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,n){this._x.push(+e),this._y.push(+n)}},ul.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,n){switch(e=+e,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(e,n);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,n)}}this._x=e,this._y=n}};var gx=Array.prototype.slice,yx=function(e,n){if((i=e.length)>1)for(var t,i,r=1,a=e[n[0]],o=a.length;r<i;++r){t=a,a=e[n[r]];for(var l=0;l<o;++l)a[l][1]+=a[l][0]=isNaN(t[l][1])?t[l][0]:t[l][1]}},bx=function(e){for(var n=e.length,t=new Array(n);--n>=0;)t[n]=n;return t},_x=function(e){var n=e.map(dl);return bx(e).sort((function(e,t){return n[e]-n[t]}))},jx=function(e){return function(){return e}};pl.prototype={constructor:pl,insert:function(e,n){var t,i,r;if(e){if(n.P=e,n.N=e.N,e.N&&(e.N.P=n),e.N=n,e.R){for(e=e.R;e.L;)e=e.L;e.L=n}else e.R=n;t=e}else this._?(e=gl(this._),n.P=null,n.N=e,e.P=e.L=n,t=e):(n.P=n.N=null,this._=n,t=null);for(n.L=n.R=null,n.U=t,n.C=!0,e=n;t&&t.C;)t===(i=t.U).L?(r=i.R)&&r.C?(t.C=r.C=!1,i.C=!0,e=i):(e===t.R&&(ml(this,t),t=(e=t).U),t.C=!1,i.C=!0,xl(this,i)):(r=i.L)&&r.C?(t.C=r.C=!1,i.C=!0,e=i):(e===t.L&&(xl(this,t),t=(e=t).U),t.C=!1,i.C=!0,ml(this,i)),t=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var n,t,i,r=e.U,a=e.L,o=e.R;if(t=a?o?gl(o):a:o,r?r.L===e?r.L=t:r.R=t:this._=t,a&&o?(i=t.C,t.C=e.C,t.L=a,a.U=t,t!==o?(r=t.U,t.U=e.U,e=t.R,r.L=e,t.R=o,o.U=t):(t.U=r,r=t,e=t.R)):(i=e.C,e=t),e&&(e.U=r),!i){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;if(e===r.L){if((n=r.R).C&&(n.C=!1,r.C=!0,ml(this,r),n=r.R),n.L&&n.L.C||n.R&&n.R.C){n.R&&n.R.C||(n.L.C=!1,n.C=!0,xl(this,n),n=r.R),n.C=r.C,r.C=n.R.C=!1,ml(this,r),e=this._;break}}else if((n=r.L).C&&(n.C=!1,r.C=!0,xl(this,r),n=r.L),n.L&&n.L.C||n.R&&n.R.C){n.L&&n.L.C||(n.R.C=!1,n.C=!0,ml(this,n),n=r.L),n.C=r.C,r.C=n.L.C=!1,xl(this,r),e=this._;break}n.C=!0,e=r,r=r.U}while(!e.C);e&&(e.C=!1)}}};var wx,kx,Px,Tx,Nx,Sx=[],Cx=[],Mx=1e-6,Ax=1e-12;Xl.prototype={constructor:Xl,polygons:function(){var e=this.edges;return this.cells.map((function(n){var t=n.halfedges.map((function(t){return Pl(n,e[t])}));return t.data=n.site.data,t}))},triangles:function(){var e=[],n=this.edges;return this.cells.forEach((function(t,i){if(a=(r=t.halfedges).length)for(var r,a,o,l=t.site,s=-1,u=n[r[a-1]],c=u.left===l?u.right:u.left;++s<a;)o=c,c=(u=n[r[s]]).left===l?u.right:u.left,o&&c&&i<o.index&&i<c.index&&Fl(l,o,c)<0&&e.push([l.data,o.data,c.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,n,t){for(var i,r,a=this,o=a._found||0,l=a.cells.length;!(r=a.cells[o]);)if(++o>=l)return null;var s=e-r.site[0],u=n-r.site[1],c=s*s+u*u;do{r=a.cells[i=o],o=null,r.halfedges.forEach((function(t){var i=a.edges[t],l=i.left;if(l!==r.site&&l||(l=i.right)){var s=e-l[0],u=n-l[1],d=s*s+u*u;d<c&&(c=d,o=l.index)}}))}while(null!==o);return a._found=i,null==t||c<=t*t?r.site:null}};var Ix=function(e){return function(){return e}};Rl.prototype={constructor:Rl,scale:function(e){return 1===e?this:new Rl(this.k*e,this.x,this.y)},translate:function(e,n){return 0===e&0===n?this:new Rl(this.k,this.x+this.k*e,this.y+this.k*n)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Lx=new Rl(1,0,0);Hl.prototype=Rl.prototype;var Zx=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()};e.version="4.6.0",e.bisect=Gl,e.bisectRight=Gl,e.bisectLeft=Ql,e.ascending=Kl,e.bisector=Ul,e.descending=function(e,n){return n<e?-1:n>e?1:n>=e?0:NaN},e.deviation=es,e.extent=ns,e.histogram=function(){function e(e){var r,a,o=e.length,l=new Array(o);for(r=0;r<o;++r)l[r]=n(e[r],r,e);var s=t(l),u=s[0],c=s[1],d=i(l,u,c);Array.isArray(d)||(d=ds(u,c,d));for(var f=d.length;d[0]<=u;)d.shift(),--f;for(;d[f-1]>=c;)d.pop(),--f;var h,p=new Array(f+1);for(r=0;r<=f;++r)(h=p[r]=[]).x0=r>0?d[r-1]:u,h.x1=r<f?d[r]:c;for(r=0;r<o;++r)u<=(a=l[r])&&a<=c&&p[Gl(d,a,0,f)].push(e[r]);return p}var n=os,t=ns,i=fs;return e.value=function(t){return arguments.length?(n="function"==typeof t?t:as(t),e):n},e.domain=function(n){return arguments.length?(t="function"==typeof n?n:as([n[0],n[1]]),e):t},e.thresholds=function(n){return arguments.length?(i="function"==typeof n?n:as(Array.isArray(n)?is.call(n):n),e):i},e},e.thresholdFreedmanDiaconis=function(e,n,t){return e=rs.call(e,Yl).sort(Kl),Math.ceil((t-n)/(2*(hs(e,.75)-hs(e,.25))*Math.pow(e.length,-1/3)))},e.thresholdScott=function(e,n,t){return Math.ceil((t-n)/(3.5*es(e)*Math.pow(e.length,-1/3)))},e.thresholdSturges=fs,e.max=function(e,n){var t,i,r=-1,a=e.length;if(null==n){for(;++r<a;)if(null!=(i=e[r])&&i>=i){t=i;break}for(;++r<a;)null!=(i=e[r])&&i>t&&(t=i)}else{for(;++r<a;)if(null!=(i=n(e[r],r,e))&&i>=i){t=i;break}for(;++r<a;)null!=(i=n(e[r],r,e))&&i>t&&(t=i)}return t},e.mean=function(e,n){var t,i=0,r=e.length,a=-1,o=r;if(null==n)for(;++a<r;)isNaN(t=Yl(e[a]))?--o:i+=t;else for(;++a<r;)isNaN(t=Yl(n(e[a],a,e)))?--o:i+=t;if(o)return i/o},e.median=function(e,n){var t,i=[],r=e.length,a=-1;if(null==n)for(;++a<r;)isNaN(t=Yl(e[a]))||i.push(t);else for(;++a<r;)isNaN(t=Yl(n(e[a],a,e)))||i.push(t);return hs(i.sort(Kl),.5)},e.merge=ps,e.min=vs,e.pairs=function(e){for(var n=0,t=e.length-1,i=e[0],r=new Array(t<0?0:t);n<t;)r[n]=[i,i=e[++n]];return r},e.permute=function(e,n){for(var t=n.length,i=new Array(t);t--;)i[t]=e[n[t]];return i},e.quantile=hs,e.range=ls,e.scan=function(e,n){if(t=e.length){var t,i,r=0,a=0,o=e[a];for(n||(n=Kl);++r<t;)(n(i=e[r],o)<0||0!==n(o,o))&&(o=i,a=r);return 0===n(o,o)?a:void 0}},e.shuffle=function(e,n,t){for(var i,r,a=(null==t?e.length:t)-(n=null==n?0:+n);a;)r=Math.random()*a--|0,i=e[a+n],e[a+n]=e[r+n],e[r+n]=i;return e},e.sum=function(e,n){var t,i=0,r=e.length,a=-1;if(null==n)for(;++a<r;)(t=+e[a])&&(i+=t);else for(;++a<r;)(t=+n(e[a],a,e))&&(i+=t);return i},e.ticks=ds,e.tickStep=n,e.transpose=ms,e.variance=$l,e.zip=function(){return ms(arguments)},e.axisTop=function(e){return s(ys,e)},e.axisRight=function(e){return s(bs,e)},e.axisBottom=function(e){return s(_s,e)},e.axisLeft=function(e){return s(js,e)},e.brush=function(){return Jn(fd)},e.brushX=function(){return Jn(cd)},e.brushY=function(){return Jn(dd)},e.brushSelection=function(e){var n=e.__brush;return n?n.dim.output(n.selection):null},e.chord=function(){function e(e){var a,o,l,s,u,c,d=e.length,f=[],h=ls(d),p=[],v=[],m=v.groups=new Array(d),x=new Array(d*d);for(a=0,u=-1;++u<d;){for(o=0,c=-1;++c<d;)o+=e[u][c];f.push(o),p.push(ls(d)),a+=o}for(t&&h.sort((function(e,n){return t(f[e],f[n])})),i&&p.forEach((function(n,t){n.sort((function(n,r){return i(e[t][n],e[t][r])}))})),s=(a=wd(0,jd-n*d)/a)?n:jd/d,o=0,u=-1;++u<d;){for(l=o,c=-1;++c<d;){var g=h[u],y=p[g][c],b=e[g][y],_=o,j=o+=b*a;x[y*d+g]={index:g,subindex:y,startAngle:_,endAngle:j,value:b}}m[g]={index:g,startAngle:l,endAngle:o,value:f[g]},o+=s}for(u=-1;++u<d;)for(c=u-1;++c<d;){var w=x[c*d+u],k=x[u*d+c];(w.value||k.value)&&v.push(w.value<k.value?{source:k,target:w}:{source:w,target:k})}return r?v.sort(r):v}var n=0,t=null,i=null,r=null;return e.padAngle=function(t){return arguments.length?(n=wd(0,t),e):n},e.sortGroups=function(n){return arguments.length?(t=n,e):t},e.sortSubgroups=function(n){return arguments.length?(i=n,e):i},e.sortChords=function(n){return arguments.length?(null==n?r=null:(r=Kn(n))._=n,e):r&&r._},e},e.ribbon=function(){function e(){var e,l=kd.call(arguments),s=n.apply(this,l),u=t.apply(this,l),c=+i.apply(this,(l[0]=s,l)),d=r.apply(this,l)-_d,f=a.apply(this,l)-_d,h=c*gd(d),p=c*yd(d),v=+i.apply(this,(l[0]=u,l)),m=r.apply(this,l)-_d,x=a.apply(this,l)-_d;if(o||(o=e=Wn()),o.moveTo(h,p),o.arc(0,0,c,d,f),d===m&&f===x||(o.quadraticCurveTo(0,0,v*gd(m),v*yd(m)),o.arc(0,0,v,m,x)),o.quadraticCurveTo(0,0,h,p),o.closePath(),e)return o=null,e+""||null}var n=Gn,t=Qn,i=Yn,r=$n,a=et,o=null;return e.radius=function(n){return arguments.length?(i="function"==typeof n?n:Pd(+n),e):i},e.startAngle=function(n){return arguments.length?(r="function"==typeof n?n:Pd(+n),e):r},e.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:Pd(+n),e):a},e.source=function(t){return arguments.length?(n=t,e):n},e.target=function(n){return arguments.length?(t=n,e):t},e.context=function(n){return arguments.length?(o=null==n?null:n,e):o},e},e.nest=function(){function e(n,r,o,l){if(r>=a.length)return null!=i?i(n):null!=t?n.sort(t):n;for(var s,u,c,d=-1,f=n.length,h=a[r++],p=tt(),v=o();++d<f;)(c=p.get(s=h(u=n[d])+""))?c.push(u):p.set(s,[u]);return p.each((function(n,t){l(v,t,e(n,r,o,l))})),v}function n(e,t){if(++t>a.length)return e;var r,l=o[t-1];return null!=i&&t>=a.length?r=e.entries():(r=[],e.each((function(e,i){r.push({key:i,values:n(e,t)})}))),null!=l?r.sort((function(e,n){return l(e.key,n.key)})):r}var t,i,r,a=[],o=[];return r={object:function(n){return e(n,0,it,rt)},map:function(n){return e(n,0,at,ot)},entries:function(t){return n(e(t,0,at,ot),0)},key:function(e){return a.push(e),r},sortKeys:function(e){return o[a.length-1]=e,r},sortValues:function(e){return t=e,r},rollup:function(e){return i=e,r}}},e.set=st,e.map=tt,e.keys=function(e){var n=[];for(var t in e)n.push(t);return n},e.values=function(e){var n=[];for(var t in e)n.push(e[t]);return n},e.entries=function(e){var n=[];for(var t in e)n.push({key:t,value:e[t]});return n},e.color=ye,e.rgb=we,e.hsl=Ne,e.lab=Ae,e.hcl=Ee,e.cubehelix=Re,e.dispatch=u,e.drag=function(){function n(e){e.on("mousedown.drag",t).on("touchstart.drag",a).on("touchmove.drag",o).on("touchend.drag touchcancel.drag",l).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function t(){if(!d&&f.apply(this,arguments)){var n=s("mouse",h.apply(this,arguments),Fs,this,arguments);n&&(Vs(e.event.view).on("mousemove.drag",i,!0).on("mouseup.drag",r,!0),Ks(e.event.view),de(),c=!1,n("start"))}}function i(){Js(),c=!0,v.mouse("drag")}function r(){Vs(e.event.view).on("mousemove.drag mouseup.drag",null),fe(e.event.view,c),Js(),v.mouse("end")}function a(){if(f.apply(this,arguments)){var n,t,i=e.event.changedTouches,r=h.apply(this,arguments),a=i.length;for(n=0;n<a;++n)(t=s(i[n].identifier,r,Bs,this,arguments))&&(de(),t("start"))}}function o(){var n,t,i=e.event.changedTouches,r=i.length;for(n=0;n<r;++n)(t=v[i[n].identifier])&&(Js(),t("drag"))}function l(){var n,t,i=e.event.changedTouches,r=i.length;for(d&&clearTimeout(d),d=setTimeout((function(){d=null}),500),n=0;n<r;++n)(t=v[i[n].identifier])&&(de(),t("end"))}function s(t,i,r,a,o){var l,s,u,c=r(i,t),d=m.copy();if(w(new he(n,"beforestart",l,t,x,c[0],c[1],0,0,d),(function(){return null!=(e.event.subject=l=p.apply(a,o))&&(s=l.x-c[0]||0,u=l.y-c[1]||0,!0)})))return function e(f){var h,p=c;switch(f){case"start":v[t]=e,h=x++;break;case"end":delete v[t],--x;case"drag":c=r(i,t),h=x}w(new he(n,f,l,t,h,c[0]+s,c[1]+u,c[0]-p[0],c[1]-p[1],d),d.apply,d,[f,a,o])}}var c,d,f=pe,h=ve,p=me,v={},m=u("start","drag","end"),x=0;return n.filter=function(e){return arguments.length?(f="function"==typeof e?e:Us(!!e),n):f},n.container=function(e){return arguments.length?(h="function"==typeof e?e:Us(e),n):h},n.subject=function(e){return arguments.length?(p="function"==typeof e?e:Us(e),n):p},n.on=function(){var e=m.on.apply(m,arguments);return e===m?n:e},n},e.dragDisable=Ks,e.dragEnable=fe,e.dsvFormat=Id,e.csvParse=Zd,e.csvParseRows=zd,e.csvFormat=Dd,e.csvFormatRows=Fd,e.tsvParse=Xd,e.tsvParseRows=Od,e.tsvFormat=Rd,e.tsvFormatRows=Hd,e.easeLinear=function(e){return+e},e.easeQuad=Ln,e.easeQuadIn=function(e){return e*e},e.easeQuadOut=function(e){return e*(2-e)},e.easeQuadInOut=Ln,e.easeCubic=Zn,e.easeCubicIn=function(e){return e*e*e},e.easeCubicOut=function(e){return--e*e*e+1},e.easeCubicInOut=Zn,e.easePoly=Zc,e.easePolyIn=Ic,e.easePolyOut=Lc,e.easePolyInOut=Zc,e.easeSin=zn,e.easeSinIn=function(e){return 1-Math.cos(e*Dc)},e.easeSinOut=function(e){return Math.sin(e*Dc)},e.easeSinInOut=zn,e.easeExp=Dn,e.easeExpIn=function(e){return Math.pow(2,10*e-10)},e.easeExpOut=function(e){return 1-Math.pow(2,-10*e)},e.easeExpInOut=Dn,e.easeCircle=Fn,e.easeCircleIn=function(e){return 1-Math.sqrt(1-e*e)},e.easeCircleOut=function(e){return Math.sqrt(1- --e*e)},e.easeCircleInOut=Fn,e.easeBounce=En,e.easeBounceIn=function(e){return 1-En(1-e)},e.easeBounceOut=En,e.easeBounceInOut=function(e){return((e*=2)<=1?1-En(1-e):En(e-1)+1)/2},e.easeBack=Gc,e.easeBackIn=Uc,e.easeBackOut=Wc,e.easeBackInOut=Gc,e.easeElastic=$c,e.easeElasticIn=Yc,e.easeElasticOut=$c,e.easeElasticInOut=ed,e.forceCenter=function(e,n){function t(){var t,r,a=i.length,o=0,l=0;for(t=0;t<a;++t)o+=(r=i[t]).x,l+=r.y;for(o=o/a-e,l=l/a-n,t=0;t<a;++t)(r=i[t]).x-=o,r.y-=l}var i;return null==e&&(e=0),null==n&&(n=0),t.initialize=function(e){i=e},t.x=function(n){return arguments.length?(e=+n,t):e},t.y=function(e){return arguments.length?(n=+e,t):n},t},e.forceCollide=function(e){function n(){function e(e,n,t,i,r){var a=e.data,l=e.r,h=d+l;if(!a)return n>u+h||i<u-h||t>c+h||r<c-h;if(a.index>s.index){var p=u-a.x-a.vx,v=c-a.y-a.vy,m=p*p+v*v;m<h*h&&(0===p&&(m+=(p=Vd())*p),0===v&&(m+=(v=Vd())*v),m=(h-(m=Math.sqrt(m)))/m*o,s.vx+=(p*=m)*(h=(l*=l)/(f+l)),s.vy+=(v*=m)*h,a.vx-=p*(h=1-h),a.vy-=v*h)}}for(var n,i,s,u,c,d,f,h=r.length,p=0;p<l;++p)for(i=ht(r,mt,xt).visitAfter(t),n=0;n<h;++n)s=r[n],d=a[s.index],f=d*d,u=s.x+s.vx,c=s.y+s.vy,i.visit(e)}function t(e){if(e.data)return e.r=a[e.data.index];for(var n=e.r=0;n<4;++n)e[n]&&e[n].r>e.r&&(e.r=e[n].r)}function i(){if(r){var n,t,i=r.length;for(a=new Array(i),n=0;n<i;++n)t=r[n],a[t.index]=+e(t,n,r)}}var r,a,o=1,l=1;return"function"!=typeof e&&(e=qd(null==e?1:+e)),n.initialize=function(e){r=e,i()},n.iterations=function(e){return arguments.length?(l=+e,n):l},n.strength=function(e){return arguments.length?(o=+e,n):o},n.radius=function(t){return arguments.length?(e="function"==typeof t?t:qd(+t),i(),n):e},n},e.forceLink=function(e){function n(n){for(var t=0,i=e.length;t<p;++t)for(var r,l,s,u,d,f,h,v=0;v<i;++v)l=(r=e[v]).source,u=(s=r.target).x+s.vx-l.x-l.vx||Vd(),d=s.y+s.vy-l.y-l.vy||Vd(),u*=f=((f=Math.sqrt(u*u+d*d))-o[v])/f*n*a[v],d*=f,s.vx-=u*(h=c[v]),s.vy-=d*h,l.vx+=u*(h=1-h),l.vy+=d*h}function t(){if(s){var n,t,f=s.length,h=e.length,p=tt(s,d);for(n=0,u=new Array(f);n<h;++n)(t=e[n]).index=n,"object"!=l(t.source)&&(t.source=yt(p,t.source)),"object"!=l(t.target)&&(t.target=yt(p,t.target)),u[t.source.index]=(u[t.source.index]||0)+1,u[t.target.index]=(u[t.target.index]||0)+1;for(n=0,c=new Array(h);n<h;++n)t=e[n],c[n]=u[t.source.index]/(u[t.source.index]+u[t.target.index]);a=new Array(h),i(),o=new Array(h),r()}}function i(){if(s)for(var n=0,t=e.length;n<t;++n)a[n]=+f(e[n],n,e)}function r(){if(s)for(var n=0,t=e.length;n<t;++n)o[n]=+h(e[n],n,e)}var a,o,s,u,c,d=gt,f=function(e){return 1/Math.min(u[e.source.index],u[e.target.index])},h=qd(30),p=1;return null==e&&(e=[]),n.initialize=function(e){s=e,t()},n.links=function(i){return arguments.length?(e=i,t(),n):e},n.id=function(e){return arguments.length?(d=e,n):d},n.iterations=function(e){return arguments.length?(p=+e,n):p},n.strength=function(e){return arguments.length?(f="function"==typeof e?e:qd(+e),i(),n):f},n.distance=function(e){return arguments.length?(h="function"==typeof e?e:qd(+e),r(),n):h},n},e.forceManyBody=function(){function e(e){var n,l=r.length,s=ht(r,bt,_t).visitAfter(t);for(o=e,n=0;n<l;++n)a=r[n],s.visit(i)}function n(){if(r){var e,n,t=r.length;for(l=new Array(t),e=0;e<t;++e)n=r[e],l[n.index]=+s(n,e,r)}}function t(e){var n,t,i,r,a,o=0;if(e.length){for(i=r=a=0;a<4;++a)(n=e[a])&&(t=n.value)&&(o+=t,i+=t*n.x,r+=t*n.y);e.x=i/o,e.y=r/o}else{(n=e).x=n.data.x,n.y=n.data.y;do{o+=l[n.data.index]}while(n=n.next)}e.value=o}function i(e,n,t,i){if(!e.value)return!0;var r=e.x-a.x,s=e.y-a.y,f=i-n,h=r*r+s*s;if(f*f/d<h)return h<c&&(0===r&&(h+=(r=Vd())*r),0===s&&(h+=(s=Vd())*s),h<u&&(h=Math.sqrt(u*h)),a.vx+=r*e.value*o/h,a.vy+=s*e.value*o/h),!0;if(!(e.length||h>=c)){(e.data!==a||e.next)&&(0===r&&(h+=(r=Vd())*r),0===s&&(h+=(s=Vd())*s),h<u&&(h=Math.sqrt(u*h)));do{e.data!==a&&(f=l[e.data.index]*o/h,a.vx+=r*f,a.vy+=s*f)}while(e=e.next)}}var r,a,o,l,s=qd(-30),u=1,c=1/0,d=.81;return e.initialize=function(e){r=e,n()},e.strength=function(t){return arguments.length?(s="function"==typeof t?t:qd(+t),n(),e):s},e.distanceMin=function(n){return arguments.length?(u=n*n,e):Math.sqrt(u)},e.distanceMax=function(n){return arguments.length?(c=n*n,e):Math.sqrt(c)},e.theta=function(n){return arguments.length?(d=n*n,e):Math.sqrt(d)},e},e.forceSimulation=function(e){function n(){t(),p.call("tick",a),o<l&&(h.stop(),p.call("end",a))}function t(){var n,t,i=e.length;for(o+=(c-o)*s,f.each((function(e){e(o)})),n=0;n<i;++n)null==(t=e[n]).fx?t.x+=t.vx*=d:(t.x=t.fx,t.vx=0),null==t.fy?t.y+=t.vy*=d:(t.y=t.fy,t.vy=0)}function i(){for(var n,t=0,i=e.length;t<i;++t){if((n=e[t]).index=t,isNaN(n.x)||isNaN(n.y)){var r=10*Math.sqrt(t),a=t*Ud;n.x=r*Math.cos(a),n.y=r*Math.sin(a)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function r(n){return n.initialize&&n.initialize(e),n}var a,o=1,l=.001,s=1-Math.pow(l,1/300),c=0,d=.6,f=tt(),h=rn(n),p=u("tick","end");return null==e&&(e=[]),i(),a={tick:t,restart:function(){return h.restart(n),a},stop:function(){return h.stop(),a},nodes:function(n){return arguments.length?(e=n,i(),f.each(r),a):e},alpha:function(e){return arguments.length?(o=+e,a):o},alphaMin:function(e){return arguments.length?(l=+e,a):l},alphaDecay:function(e){return arguments.length?(s=+e,a):+s},alphaTarget:function(e){return arguments.length?(c=+e,a):c},velocityDecay:function(e){return arguments.length?(d=1-e,a):1-d},force:function(e,n){return arguments.length>1?(null==n?f.remove(e):f.set(e,r(n)),a):f.get(e)},find:function(n,t,i){var r,a,o,l,s,u=0,c=e.length;for(null==i?i=1/0:i*=i,u=0;u<c;++u)(o=(r=n-(l=e[u]).x)*r+(a=t-l.y)*a)<i&&(s=l,i=o);return s},on:function(e,n){return arguments.length>1?(p.on(e,n),a):p.on(e)}}},e.forceX=function(e){function n(e){for(var n,t=0,o=i.length;t<o;++t)(n=i[t]).vx+=(a[t]-n.x)*r[t]*e}function t(){if(i){var n,t=i.length;for(r=new Array(t),a=new Array(t),n=0;n<t;++n)r[n]=isNaN(a[n]=+e(i[n],n,i))?0:+o(i[n],n,i)}}var i,r,a,o=qd(.1);return"function"!=typeof e&&(e=qd(null==e?0:+e)),n.initialize=function(e){i=e,t()},n.strength=function(e){return arguments.length?(o="function"==typeof e?e:qd(+e),t(),n):o},n.x=function(i){return arguments.length?(e="function"==typeof i?i:qd(+i),t(),n):e},n},e.forceY=function(e){function n(e){for(var n,t=0,o=i.length;t<o;++t)(n=i[t]).vy+=(a[t]-n.y)*r[t]*e}function t(){if(i){var n,t=i.length;for(r=new Array(t),a=new Array(t),n=0;n<t;++n)r[n]=isNaN(a[n]=+e(i[n],n,i))?0:+o(i[n],n,i)}}var i,r,a,o=qd(.1);return"function"!=typeof e&&(e=qd(null==e?0:+e)),n.initialize=function(e){i=e,t()},n.strength=function(e){return arguments.length?(o="function"==typeof e?e:qd(+e),t(),n):o},n.y=function(i){return arguments.length?(e="function"==typeof i?i:qd(+i),t(),n):e},n},e.formatDefaultLocale=kt,e.formatLocale=rf,e.formatSpecifier=ef,e.precisionFixed=af,e.precisionPrefix=of,e.precisionRound=lf,e.geoArea=function(e){return ch.reset(),sh(e,dh),2*ch},e.geoBounds=function(e){var n,t,i,r,a,o,l;if(xf=mf=-(pf=vf=1/0),jf=[],sh(e,hh),t=jf.length){for(jf.sort($t),n=1,a=[i=jf[0]];n<t;++n)ei(i,(r=jf[n])[0])||ei(i,r[1])?(Yt(i[0],r[1])>Yt(i[0],i[1])&&(i[1]=r[1]),Yt(r[0],i[1])>Yt(i[0],i[1])&&(i[0]=r[0])):a.push(i=r);for(o=-1/0,n=0,i=a[t=a.length-1];n<=t;i=r,++n)r=a[n],(l=Yt(i[1],r[0]))>o&&(o=l,pf=r[0],mf=i[1])}return jf=wf=null,pf===1/0||vf===1/0?[[NaN,NaN],[NaN,NaN]]:[[pf,vf],[mf,xf]]},e.geoCentroid=function(e){kf=Pf=Tf=Nf=Sf=Cf=Mf=Af=If=Lf=Zf=0,sh(e,ph);var n=If,t=Lf,i=Zf,r=n*n+t*t+i*i;return r<1e-12&&(n=Cf,t=Mf,i=Af,Pf<Rf&&(n=Tf,t=Nf,i=Sf),(r=n*n+t*t+i*i)<1e-12)?[NaN,NaN]:[Gf(t,n)*Jf,St(i/rh(r))*Jf]},e.geoCircle=function(){function e(){var e=i.apply(this,arguments),l=r.apply(this,arguments)*Kf,s=a.apply(this,arguments)*Kf;return n=[],t=fi(-e[0]*Kf,-e[1]*Kf,0).invert,mi(o,l,s,1),e={type:"Polygon",coordinates:[n]},n=t=null,e}var n,t,i=vh([0,0]),r=vh(90),a=vh(6),o={point:function(e,i){n.push(e=t(e,i)),e[0]*=Jf,e[1]*=Jf}};return e.center=function(n){return arguments.length?(i="function"==typeof n?n:vh([+n[0],+n[1]]),e):i},e.radius=function(n){return arguments.length?(r="function"==typeof n?n:vh(+n),e):r},e.precision=function(n){return arguments.length?(a="function"==typeof n?n:vh(+n),e):a},e},e.geoClipExtent=function(){var e,n,t,i=0,r=0,a=960,o=500;return t={stream:function(t){return e&&n===t?e:e=bi(i,r,a,o)(n=t)},extent:function(l){return arguments.length?(i=+l[0][0],r=+l[0][1],a=+l[1][0],o=+l[1][1],e=n=null,t):[[i,r],[a,o]]}}},e.geoDistance=function(e,n){return Fh[0]=e,Fh[1]=n,Dh(Eh)},e.geoGraticule=Ti,e.geoGraticule10=function(){return Ti()()},e.geoInterpolate=function(e,n){var t=e[0]*Kf,i=e[1]*Kf,r=n[0]*Kf,a=n[1]*Kf,o=Qf(i),l=th(i),s=Qf(a),u=th(a),c=o*Qf(t),d=o*th(t),f=s*Qf(r),h=s*th(r),p=2*St(rh(Ct(a-i)+o*s*Ct(r-t))),v=th(p),m=p?function(e){var n=th(e*=p)/v,t=th(p-e)/v,i=t*c+n*f,r=t*d+n*h,a=t*l+n*u;return[Gf(r,i)*Jf,Gf(a,rh(i*i+r*r))*Jf]}:function(){return[t*Jf,i*Jf]};return m.distance=p,m},e.geoLength=Dh,e.geoPath=function(e,n){function t(e){return e&&("function"==typeof a&&r.pointRadius(+a.apply(this,arguments)),sh(e,i(r))),r.result()}var i,r,a=4.5;return t.area=function(e){return sh(e,i(Hh)),Hh.result()},t.measure=function(e){return sh(e,i(cp)),cp.result()},t.bounds=function(e){return sh(e,i(Kh)),Kh.result()},t.centroid=function(e){return sh(e,i(ip)),ip.result()},t.projection=function(n){return arguments.length?(i=null==n?(e=null,Xh):(e=n).stream,t):e},t.context=function(e){return arguments.length?(r=null==e?(n=null,new qi):new Oi(n=e),"function"!=typeof a&&r.pointRadius(a),t):n},t.pointRadius=function(e){return arguments.length?(a="function"==typeof e?e:(r.pointRadius(+e),+e),t):a},t.projection(e).context(n)},e.geoAlbers=bp,e.geoAlbersUsa=function(){function e(e){var n=e[0],t=e[1];return l=null,r.point(n,t),l||(a.point(n,t),l)||(o.point(n,t),l)}function n(){return t=i=null,e}var t,i,r,a,o,l,s=bp(),u=yp().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=yp().rotate([157,0]).center([-3,19.9]).parallels([8,18]),d={point:function(e,n){l=[e,n]}};return e.invert=function(e){var n=s.scale(),t=s.translate(),i=(e[0]-t[0])/n,r=(e[1]-t[1])/n;return(r>=.12&&r<.234&&i>=-.425&&i<-.214?u:r>=.166&&r<.234&&i>=-.214&&i<-.115?c:s).invert(e)},e.stream=function(e){return t&&i===e?t:t=function(e){var n=e.length;return{point:function(t,i){for(var r=-1;++r<n;)e[r].point(t,i)},sphere:function(){for(var t=-1;++t<n;)e[t].sphere()},lineStart:function(){for(var t=-1;++t<n;)e[t].lineStart()},lineEnd:function(){for(var t=-1;++t<n;)e[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<n;)e[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<n;)e[t].polygonEnd()}}}([s.stream(i=e),u.stream(e),c.stream(e)])},e.precision=function(e){return arguments.length?(s.precision(e),u.precision(e),c.precision(e),n()):s.precision()},e.scale=function(n){return arguments.length?(s.scale(n),u.scale(.35*n),c.scale(n),e.translate(s.translate())):s.scale()},e.translate=function(e){if(!arguments.length)return s.translate();var t=s.scale(),i=+e[0],l=+e[1];return r=s.translate(e).clipExtent([[i-.455*t,l-.238*t],[i+.455*t,l+.238*t]]).stream(d),a=u.translate([i-.307*t,l+.201*t]).clipExtent([[i-.425*t+Rf,l+.12*t+Rf],[i-.214*t-Rf,l+.234*t-Rf]]).stream(d),o=c.translate([i-.205*t,l+.212*t]).clipExtent([[i-.214*t+Rf,l+.166*t+Rf],[i-.115*t-Rf,l+.234*t-Rf]]).stream(d),n()},e.fitExtent=function(n,t){return Wi(e,n,t)},e.fitSize=function(n,t){return Gi(e,n,t)},e.scale(1070)},e.geoAzimuthalEqualArea=function(){return Qi(_p).scale(124.75).clipAngle(179.999)},e.geoAzimuthalEqualAreaRaw=_p,e.geoAzimuthalEquidistant=function(){return Qi(jp).scale(79.4188).clipAngle(179.999)},e.geoAzimuthalEquidistantRaw=jp,e.geoConicConformal=function(){return $i(or).scale(109.5).parallels([30,30])},e.geoConicConformalRaw=or,e.geoConicEqualArea=yp,e.geoConicEqualAreaRaw=er,e.geoConicEquidistant=function(){return $i(sr).scale(131.154).center([0,13.9389])},e.geoConicEquidistantRaw=sr,e.geoEquirectangular=function(){return Qi(lr).scale(152.63)},e.geoEquirectangularRaw=lr,e.geoGnomonic=function(){return Qi(ur).scale(144.049).clipAngle(60)},e.geoGnomonicRaw=ur,e.geoIdentity=function(){function e(){return r=a=null,o}var n,t,i,r,a,o,l=1,s=0,u=0,c=1,d=1,f=Xh,h=null,p=Xh;return o={stream:function(e){return r&&a===e?r:r=f(p(a=e))},clipExtent:function(r){return arguments.length?(p=null==r?(h=n=t=i=null,Xh):bi(h=+r[0][0],n=+r[0][1],t=+r[1][0],i=+r[1][1]),e()):null==h?null:[[h,n],[t,i]]},scale:function(n){return arguments.length?(f=cr((l=+n)*c,l*d,s,u),e()):l},translate:function(n){return arguments.length?(f=cr(l*c,l*d,s=+n[0],u=+n[1]),e()):[s,u]},reflectX:function(n){return arguments.length?(f=cr(l*(c=n?-1:1),l*d,s,u),e()):c<0},reflectY:function(n){return arguments.length?(f=cr(l*c,l*(d=n?-1:1),s,u),e()):d<0},fitExtent:function(e,n){return Wi(o,e,n)},fitSize:function(e,n){return Gi(o,e,n)}}},e.geoProjection=Qi,e.geoProjectionMutator=Yi,e.geoMercator=function(){return rr(ir).scale(961/Bf)},e.geoMercatorRaw=ir,e.geoOrthographic=function(){return Qi(dr).scale(249.5).clipAngle(90+Rf)},e.geoOrthographicRaw=dr,e.geoStereographic=function(){return Qi(fr).scale(250).clipAngle(142)},e.geoStereographicRaw=fr,e.geoTransverseMercator=function(){var e=rr(hr),n=e.center,t=e.rotate;return e.center=function(e){return arguments.length?n([-e[1],e[0]]):[(e=n())[1],-e[0]]},e.rotate=function(e){return arguments.length?t([e[0],e[1],e.length>2?e[2]+90:90]):[(e=t())[0],e[1],e[2]-90]},t([0,0,90]).scale(159.155)},e.geoTransverseMercatorRaw=hr,e.geoRotation=function(e){function n(n){return(n=e(n[0]*Kf,n[1]*Kf))[0]*=Jf,n[1]*=Jf,n}return e=fi(e[0]*Kf,e[1]*Kf,e.length>2?e[2]*Kf:0),n.invert=function(n){return(n=e.invert(n[0]*Kf,n[1]*Kf))[0]*=Jf,n[1]*=Jf,n},n},e.geoStream=sh,e.geoTransform=function(e){return{stream:Ki(e)}},e.cluster=function(){function e(e){var a,o=0;e.eachAfter((function(e){var t=e.children;t?(e.x=function(e){return e.reduce(vr,0)/e.length}(t),e.y=function(e){return 1+e.reduce(mr,0)}(t)):(e.x=a?o+=n(e,a):0,e.y=0,a=e)}));var l=function(e){for(var n;n=e.children;)e=n[0];return e}(e),s=function(e){for(var n;n=e.children;)e=n[n.length-1];return e}(e),u=l.x-n(l,s)/2,c=s.x+n(s,l)/2;return e.eachAfter(r?function(n){n.x=(n.x-e.x)*t,n.y=(e.y-n.y)*i}:function(n){n.x=(n.x-u)/(c-u)*t,n.y=(1-(e.y?n.y/e.y:1))*i})}var n=pr,t=1,i=1,r=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(n){return arguments.length?(r=!1,t=+n[0],i=+n[1],e):r?null:[t,i]},e.nodeSize=function(n){return arguments.length?(r=!0,t=+n[0],i=+n[1],e):r?[t,i]:null},e},e.hierarchy=gr,e.pack=function(){function e(e){return e.x=t/2,e.y=i/2,n?e.eachBefore(Dr(n)).eachAfter(Fr(r,.5)).eachBefore(Er(1)):e.eachBefore(Dr(zr)).eachAfter(Fr(Zr,1)).eachAfter(Fr(r,e.r/Math.min(t,i))).eachBefore(Er(Math.min(t,i)/(2*e.r))),e}var n=null,t=1,i=1,r=Zr;return e.radius=function(t){return arguments.length?(n=Ir(t),e):n},e.size=function(n){return arguments.length?(t=+n[0],i=+n[1],e):[t,i]},e.padding=function(n){return arguments.length?(r="function"==typeof n?n:kp(+n),e):r},e},e.packSiblings=function(e){return Ar(e),e},e.packEnclose=wp,e.partition=function(){function e(e){var a=e.height+1;return e.x0=e.y0=i,e.x1=n,e.y1=t/a,e.eachBefore(function(e,n){return function(t){t.children&&Tp(t,t.x0,e*(t.depth+1)/n,t.x1,e*(t.depth+2)/n);var r=t.x0,a=t.y0,o=t.x1-i,l=t.y1-i;o<r&&(r=o=(r+o)/2),l<a&&(a=l=(a+l)/2),t.x0=r,t.y0=a,t.x1=o,t.y1=l}}(t,a)),r&&e.eachBefore(Pp),e}var n=1,t=1,i=0,r=!1;return e.round=function(n){return arguments.length?(r=!!n,e):r},e.size=function(i){return arguments.length?(n=+i[0],t=+i[1],e):[n,t]},e.padding=function(n){return arguments.length?(i=+n,e):i},e},e.stratify=function(){function e(e){var i,r,a,o,l,s,u,c=e.length,d=new Array(c),f={};for(r=0;r<c;++r)i=e[r],l=d[r]=new jr(i),null!=(s=n(i,r,e))&&(s+="")&&(f[u="$"+(l.id=s)]=u in f?Sp:l);for(r=0;r<c;++r)if(l=d[r],null!=(s=t(e[r],r,e))&&(s+="")){if(!(o=f["$"+s]))throw new Error("missing: "+s);if(o===Sp)throw new Error("ambiguous: "+s);o.children?o.children.push(l):o.children=[l],l.parent=o}else{if(a)throw new Error("multiple roots");a=l}if(!a)throw new Error("no root");if(a.parent=Np,a.eachBefore((function(e){e.depth=e.parent.depth+1,--c})).eachBefore(_r),a.parent=null,c>0)throw new Error("cycle");return a}var n=Xr,t=Or;return e.id=function(t){return arguments.length?(n=Lr(t),e):n},e.parentId=function(n){return arguments.length?(t=Lr(n),e):t},e},e.tree=function(){function e(e){var s=function(e){for(var n,t,i,r,a,o=new Jr(e,0),l=[o];n=l.pop();)if(i=n._.children)for(n.children=new Array(a=i.length),r=a-1;r>=0;--r)l.push(t=n.children[r]=new Jr(i[r],r)),t.parent=n;return(o.parent=new Jr(null,0)).children=[o],o}(e);if(s.eachAfter(n),s.parent.m=-s.z,s.eachBefore(t),l)e.eachBefore(i);else{var u=e,c=e,d=e;e.eachBefore((function(e){e.x<u.x&&(u=e),e.x>c.x&&(c=e),e.depth>d.depth&&(d=e)}));var f=u===c?1:r(u,c)/2,h=f-u.x,p=a/(c.x+f+h),v=o/(d.depth||1);e.eachBefore((function(e){e.x=(e.x+h)*p,e.y=e.depth*v}))}return e}function n(e){var n=e.children,t=e.parent.children,i=e.i?t[e.i-1]:null;if(n){!function(e){for(var n,t=0,i=0,r=e.children,a=r.length;--a>=0;)(n=r[a]).z+=t,n.m+=t,t+=n.s+(i+=n.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+r(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+r(e._,i._));e.parent.A=function(e,n,t){if(n){for(var i,a=e,o=e,l=n,s=a.parent.children[0],u=a.m,c=o.m,d=l.m,f=s.m;l=qr(l),a=Hr(a),l&&a;)s=Hr(s),(o=qr(o)).a=e,(i=l.z+d-a.z-u+r(l._,a._))>0&&(Vr(Br(l,e,t),e,i),u+=i,c+=i),d+=l.m,u+=a.m,f+=s.m,c+=o.m;l&&!qr(o)&&(o.t=l,o.m+=d-c),a&&!Hr(s)&&(s.t=a,s.m+=u-f,t=e)}return t}(e,i,e.parent.A||t[0])}function t(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function i(e){e.x*=a,e.y=e.depth*o}var r=Rr,a=1,o=1,l=null;return e.separation=function(n){return arguments.length?(r=n,e):r},e.size=function(n){return arguments.length?(l=!1,a=+n[0],o=+n[1],e):l?null:[a,o]},e.nodeSize=function(n){return arguments.length?(l=!0,a=+n[0],o=+n[1],e):l?[a,o]:null},e},e.treemap=function(){function e(e){return e.x0=e.y0=0,e.x1=r,e.y1=a,e.eachBefore(n),o=[0],i&&e.eachBefore(Pp),e}function n(e){var n=o[e.depth],i=e.x0+n,r=e.y0+n,a=e.x1-n,f=e.y1-n;a<i&&(i=a=(i+a)/2),f<r&&(r=f=(r+f)/2),e.x0=i,e.y0=r,e.x1=a,e.y1=f,e.children&&(n=o[e.depth+1]=l(e)/2,i+=d(e)-n,r+=s(e)-n,(a-=u(e)-n)<i&&(i=a=(i+a)/2),(f-=c(e)-n)<r&&(r=f=(r+f)/2),t(e,i,r,a,f))}var t=Ap,i=!1,r=1,a=1,o=[0],l=Zr,s=Zr,u=Zr,c=Zr,d=Zr;return e.round=function(n){return arguments.length?(i=!!n,e):i},e.size=function(n){return arguments.length?(r=+n[0],a=+n[1],e):[r,a]},e.tile=function(n){return arguments.length?(t=Lr(n),e):t},e.padding=function(n){return arguments.length?e.paddingInner(n).paddingOuter(n):e.paddingInner()},e.paddingInner=function(n){return arguments.length?(l="function"==typeof n?n:kp(+n),e):l},e.paddingOuter=function(n){return arguments.length?e.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n):e.paddingTop()},e.paddingTop=function(n){return arguments.length?(s="function"==typeof n?n:kp(+n),e):s},e.paddingRight=function(n){return arguments.length?(u="function"==typeof n?n:kp(+n),e):u},e.paddingBottom=function(n){return arguments.length?(c="function"==typeof n?n:kp(+n),e):c},e.paddingLeft=function(n){return arguments.length?(d="function"==typeof n?n:kp(+n),e):d},e},e.treemapBinary=function(e,n,t,i,r){var a,o,l=e.children,s=l.length,u=new Array(s+1);for(u[0]=o=a=0;a<s;++a)u[a+1]=o+=l[a].value;!function e(n,t,i,r,a,o,s){if(n>=t-1){var c=l[n];return c.x0=r,c.y0=a,c.x1=o,void(c.y1=s)}for(var d=u[n],f=i/2+d,h=n+1,p=t-1;h<p;){var v=h+p>>>1;u[v]<f?h=v+1:p=v}var m=u[h]-d,x=i-m;if(s-a>o-r){var g=(a*x+s*m)/i;e(n,h,m,r,a,o,g),e(h,t,x,r,g,o,s)}else{var y=(r*x+o*m)/i;e(n,h,m,r,a,y,s),e(h,t,x,y,a,o,s)}}(0,s,e.value,n,t,i,r)},e.treemapDice=Tp,e.treemapSlice=Cp,e.treemapSliceDice=function(e,n,t,i,r){(1&e.depth?Cp:Tp)(e,n,t,i,r)},e.treemapSquarify=Ap,e.treemapResquarify=Ip,e.interpolate=Ju,e.interpolateArray=Xu,e.interpolateBasis=Lu,e.interpolateBasisClosed=Zu,e.interpolateDate=Ou,e.interpolateNumber=Ru,e.interpolateObject=Hu,e.interpolateRound=Ku,e.interpolateString=Bu,e.interpolateTransformCss=Qu,e.interpolateTransformSvg=Yu,e.interpolateZoom=ec,e.interpolateRgb=Du,e.interpolateRgbBasis=Fu,e.interpolateRgbBasisClosed=Eu,e.interpolateHsl=nc,e.interpolateHslLong=tc,e.interpolateLab=function(e,n){var t=Ke((e=Ae(e)).l,(n=Ae(n)).l),i=Ke(e.a,n.a),r=Ke(e.b,n.b),a=Ke(e.opacity,n.opacity);return function(n){return e.l=t(n),e.a=i(n),e.b=r(n),e.opacity=a(n),e+""}},e.interpolateHcl=ic,e.interpolateHclLong=rc,e.interpolateCubehelix=ac,e.interpolateCubehelixLong=oc,e.quantize=function(e,n){for(var t=new Array(n),i=0;i<n;++i)t[i]=e(i/(n-1));return t},e.path=Wn,e.polygonArea=function(e){for(var n,t=-1,i=e.length,r=e[i-1],a=0;++t<i;)n=r,r=e[t],a+=n[1]*r[0]-n[0]*r[1];return a/2},e.polygonCentroid=function(e){for(var n,t,i=-1,r=e.length,a=0,o=0,l=e[r-1],s=0;++i<r;)n=l,l=e[i],s+=t=n[0]*l[1]-l[0]*n[1],a+=(n[0]+l[0])*t,o+=(n[1]+l[1])*t;return[a/(s*=3),o/s]},e.polygonHull=function(e){if((t=e.length)<3)return null;var n,t,i=new Array(t),r=new Array(t);for(n=0;n<t;++n)i[n]=[+e[n][0],+e[n][1],n];for(i.sort(Ur),n=0;n<t;++n)r[n]=[i[n][0],-i[n][1]];var a=Wr(i),o=Wr(r),l=o[0]===a[0],s=o[o.length-1]===a[a.length-1],u=[];for(n=a.length-1;n>=0;--n)u.push(e[i[a[n]][2]]);for(n=+l;n<o.length-s;++n)u.push(e[i[o[n]][2]]);return u},e.polygonContains=function(e,n){for(var t,i,r=e.length,a=e[r-1],o=n[0],l=n[1],s=a[0],u=a[1],c=!1,d=0;d<r;++d)t=(a=e[d])[0],(i=a[1])>l!=u>l&&o<(s-t)*(l-i)/(u-i)+t&&(c=!c),s=t,u=i;return c},e.polygonLength=function(e){for(var n,t,i=-1,r=e.length,a=e[r-1],o=a[0],l=a[1],s=0;++i<r;)n=o,t=l,n-=o=(a=e[i])[0],t-=l=a[1],s+=Math.sqrt(n*n+t*t);return s},e.quadtree=ht,e.queue=na,e.randomUniform=function(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return Math.random()*n+e}},e.randomNormal=Dp,e.randomLogNormal=function(){var e=Dp.apply(this,arguments);return function(){return Math.exp(e())}},e.randomBates=function(e){var n=Fp(e);return function(){return n()/e}},e.randomIrwinHall=Fp,e.randomExponential=function(e){return function(){return-Math.log(1-Math.random())/e}},e.request=Ep,e.html=Op,e.json=Rp,e.text=Hp,e.xml=qp,e.csv=Bp,e.tsv=Jp,e.scaleBand=ra,e.scalePoint=function(){return aa(ra().paddingInner(1))},e.scaleIdentity=function e(){function n(e){return+e}var t=[0,1];return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Up.call(e,Yp),n):t.slice()},n.copy=function(){return e().domain(t)},da(n)},e.scaleLinear=function e(){var n=ca(oa,Ru);return n.copy=function(){return ua(n,e())},da(n)},e.scaleLog=function n(){function t(){return o=ma(a),l=va(a),r()[0]<0&&(o=xa(o),l=xa(l)),i}var i=ca(fa,ha).domain([1,10]),r=i.domain,a=10,o=ma(10),l=va(10);return i.base=function(e){return arguments.length?(a=+e,t()):a},i.domain=function(e){return arguments.length?(r(e),t()):r()},i.ticks=function(e){var n,t=r(),i=t[0],s=t[t.length-1];(n=s<i)&&(f=i,i=s,s=f);var u,c,d,f=o(i),h=o(s),p=null==e?10:+e,v=[];if(!(a%1)&&h-f<p){if(f=Math.round(f)-1,h=Math.round(h)+1,i>0){for(;f<h;++f)for(c=1,u=l(f);c<a;++c)if(!((d=u*c)<i)){if(d>s)break;v.push(d)}}else for(;f<h;++f)for(c=a-1,u=l(f);c>=1;--c)if(!((d=u*c)<i)){if(d>s)break;v.push(d)}}else v=ds(f,h,Math.min(h-f,p)).map(l);return n?v.reverse():v},i.tickFormat=function(n,t){if(null==t&&(t=10===a?".0e":","),"function"!=typeof t&&(t=e.format(t)),n===1/0)return t;null==n&&(n=10);var r=Math.max(1,a*n/i.ticks().length);return function(e){var n=e/l(Math.round(o(e)));return n*a<a-.5&&(n*=a),n<=r?t(e):""}},i.nice=function(){return r(nv(r(),{floor:function(e){return l(Math.floor(o(e)))},ceil:function(e){return l(Math.ceil(o(e)))}}))},i.copy=function(){return ua(i,n().base(a))},i},e.scaleOrdinal=ia,e.scaleImplicit=Gp,e.scalePow=ya,e.scaleSqrt=function(){return ya().exponent(.5)},e.scaleQuantile=function e(){function n(){var e=0,n=Math.max(1,r.length);for(a=new Array(n-1);++e<n;)a[e-1]=hs(i,e/n);return t}function t(e){if(!isNaN(e=+e))return r[Gl(a,e)]}var i=[],r=[],a=[];return t.invertExtent=function(e){var n=r.indexOf(e);return n<0?[NaN,NaN]:[n>0?a[n-1]:i[0],n<a.length?a[n]:i[i.length-1]]},t.domain=function(e){if(!arguments.length)return i.slice();i=[];for(var t,r=0,a=e.length;r<a;++r)null==(t=e[r])||isNaN(t=+t)||i.push(t);return i.sort(Kl),n()},t.range=function(e){return arguments.length?(r=Wp.call(e),n()):r.slice()},t.quantiles=function(){return a.slice()},t.copy=function(){return e().domain(i).range(r)},t},e.scaleQuantize=function e(){function n(e){if(e<=e)return l[Gl(o,e,0,a)]}function t(){var e=-1;for(o=new Array(a);++e<a;)o[e]=((e+1)*r-(e-a)*i)/(a+1);return n}var i=0,r=1,a=1,o=[.5],l=[0,1];return n.domain=function(e){return arguments.length?(i=+e[0],r=+e[1],t()):[i,r]},n.range=function(e){return arguments.length?(a=(l=Wp.call(e)).length-1,t()):l.slice()},n.invertExtent=function(e){var n=l.indexOf(e);return n<0?[NaN,NaN]:n<1?[i,o[0]]:n>=a?[o[a-1],r]:[o[n-1],o[n]]},n.copy=function(){return e().domain([i,r]).range(l)},da(n)},e.scaleThreshold=function e(){function n(e){if(e<=e)return i[Gl(t,e,0,r)]}var t=[.5],i=[0,1],r=1;return n.domain=function(e){return arguments.length?(t=Wp.call(e),r=Math.min(t.length,i.length-1),n):t.slice()},n.range=function(e){return arguments.length?(i=Wp.call(e),r=Math.min(t.length,i.length-1),n):i.slice()},n.invertExtent=function(e){var n=i.indexOf(e);return[t[n-1],t[n]]},n.copy=function(){return e().domain(t).range(i)},n},e.scaleTime=function(){return ko(zv,Lv,yv,xv,vv,hv,dv,rv,e.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},e.scaleUtc=function(){return ko(am,im,qv,Rv,Xv,Fv,dv,rv,e.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},e.schemeCategory10=wm,e.schemeCategory20b=km,e.schemeCategory20c=Pm,e.schemeCategory20=Tm,e.interpolateCubehelixDefault=Nm,e.interpolateRainbow=function(e){(e<0||e>1)&&(e-=Math.floor(e));var n=Math.abs(e-.5);return Mm.h=360*e-100,Mm.s=1.5-1.5*n,Mm.l=.8-.9*n,Mm+""},e.interpolateWarm=Sm,e.interpolateCool=Cm,e.interpolateViridis=Am,e.interpolateMagma=Im,e.interpolateInferno=Lm,e.interpolatePlasma=Zm,e.scaleSequential=function e(n){function t(e){var t=(e-i)/(r-i);return n(a?Math.max(0,Math.min(1,t)):t)}var i=0,r=1,a=!1;return t.domain=function(e){return arguments.length?(i=+e[0],r=+e[1],t):[i,r]},t.clamp=function(e){return arguments.length?(a=!!e,t):a},t.interpolator=function(e){return arguments.length?(n=e,t):n},t.copy=function(){return e(n).domain([i,r]).clamp(a)},da(t)},e.creator=Ss,e.local=m,e.matcher=Ls,e.mouse=Fs,e.namespace=Ns,e.namespaces=Ts,e.select=Vs,e.selectAll=function(e){return"string"==typeof e?new ue([document.querySelectorAll(e)],[document.documentElement]):new ue([null==e?[]:e],qs)},e.selection=ce,e.selector=Es,e.selectorAll=Xs,e.touch=Bs,e.touches=function(e,n){null==n&&(n=zs().touches);for(var t=0,i=n?n.length:0,r=new Array(i);t<i;++t)r[t]=Ds(e,n[t]);return r},e.window=Hs,e.customEvent=w,e.arc=function(){function e(){var e,u,c=+n.apply(this,arguments),d=+t.apply(this,arguments),f=a.apply(this,arguments)-Em,h=o.apply(this,arguments)-Em,p=Math.abs(h-f),v=h>f;if(s||(s=e=Wn()),d<c&&(u=d,d=c,c=u),d>Dm)if(p>Xm-Dm)s.moveTo(d*Math.cos(f),d*Math.sin(f)),s.arc(0,0,d,f,h,!v),c>Dm&&(s.moveTo(c*Math.cos(h),c*Math.sin(h)),s.arc(0,0,c,h,f,v));else{var m,x,g=f,y=h,b=f,_=h,j=p,w=p,k=l.apply(this,arguments)/2,P=k>Dm&&(r?+r.apply(this,arguments):Math.sqrt(c*c+d*d)),T=Math.min(Math.abs(d-c)/2,+i.apply(this,arguments)),N=T,S=T;if(P>Dm){var C=Ao(P/c*Math.sin(k)),M=Ao(P/d*Math.sin(k));(j-=2*C)>Dm?(b+=C*=v?1:-1,_-=C):(j=0,b=_=(f+h)/2),(w-=2*M)>Dm?(g+=M*=v?1:-1,y-=M):(w=0,g=y=(f+h)/2)}var A=d*Math.cos(g),I=d*Math.sin(g),L=c*Math.cos(_),Z=c*Math.sin(_);if(T>Dm){var z=d*Math.cos(y),D=d*Math.sin(y),F=c*Math.cos(b),E=c*Math.sin(b);if(p<Fm){var X=j>Dm?Io(A,I,F,E,z,D,L,Z):[L,Z],O=A-X[0],R=I-X[1],H=z-X[0],q=D-X[1],V=1/Math.sin(Math.acos((O*H+R*q)/(Math.sqrt(O*O+R*R)*Math.sqrt(H*H+q*q)))/2),B=Math.sqrt(X[0]*X[0]+X[1]*X[1]);N=Math.min(T,(c-B)/(V-1)),S=Math.min(T,(d-B)/(V+1))}}w>Dm?S>Dm?(m=Lo(F,E,A,I,d,S,v),x=Lo(z,D,L,Z,d,S,v),s.moveTo(m.cx+m.x01,m.cy+m.y01),S<T?s.arc(m.cx,m.cy,S,Math.atan2(m.y01,m.x01),Math.atan2(x.y01,x.x01),!v):(s.arc(m.cx,m.cy,S,Math.atan2(m.y01,m.x01),Math.atan2(m.y11,m.x11),!v),s.arc(0,0,d,Math.atan2(m.cy+m.y11,m.cx+m.x11),Math.atan2(x.cy+x.y11,x.cx+x.x11),!v),s.arc(x.cx,x.cy,S,Math.atan2(x.y11,x.x11),Math.atan2(x.y01,x.x01),!v))):(s.moveTo(A,I),s.arc(0,0,d,g,y,!v)):s.moveTo(A,I),c>Dm&&j>Dm?N>Dm?(m=Lo(L,Z,z,D,c,-N,v),x=Lo(A,I,F,E,c,-N,v),s.lineTo(m.cx+m.x01,m.cy+m.y01),N<T?s.arc(m.cx,m.cy,N,Math.atan2(m.y01,m.x01),Math.atan2(x.y01,x.x01),!v):(s.arc(m.cx,m.cy,N,Math.atan2(m.y01,m.x01),Math.atan2(m.y11,m.x11),!v),s.arc(0,0,c,Math.atan2(m.cy+m.y11,m.cx+m.x11),Math.atan2(x.cy+x.y11,x.cx+x.x11),v),s.arc(x.cx,x.cy,N,Math.atan2(x.y11,x.x11),Math.atan2(x.y01,x.x01),!v))):s.arc(0,0,c,_,b,v):s.lineTo(L,Z)}else s.moveTo(0,0);if(s.closePath(),e)return s=null,e+""||null}var n=To,t=No,i=zm(0),r=null,a=So,o=Co,l=Mo,s=null;return e.centroid=function(){var e=(+n.apply(this,arguments)+ +t.apply(this,arguments))/2,i=(+a.apply(this,arguments)+ +o.apply(this,arguments))/2-Fm/2;return[Math.cos(i)*e,Math.sin(i)*e]},e.innerRadius=function(t){return arguments.length?(n="function"==typeof t?t:zm(+t),e):n},e.outerRadius=function(n){return arguments.length?(t="function"==typeof n?n:zm(+n),e):t},e.cornerRadius=function(n){return arguments.length?(i="function"==typeof n?n:zm(+n),e):i},e.padRadius=function(n){return arguments.length?(r=null==n?null:"function"==typeof n?n:zm(+n),e):r},e.startAngle=function(n){return arguments.length?(a="function"==typeof n?n:zm(+n),e):a},e.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:zm(+n),e):o},e.padAngle=function(n){return arguments.length?(l="function"==typeof n?n:zm(+n),e):l},e.context=function(n){return arguments.length?(s=null==n?null:n,e):s},e},e.area=Hm,e.line=Rm,e.pie=function(){function e(e){var l,s,u,c,d,f=e.length,h=0,p=new Array(f),v=new Array(f),m=+r.apply(this,arguments),x=Math.min(Xm,Math.max(-Xm,a.apply(this,arguments)-m)),g=Math.min(Math.abs(x)/f,o.apply(this,arguments)),y=g*(x<0?-1:1);for(l=0;l<f;++l)(d=v[p[l]=l]=+n(e[l],l,e))>0&&(h+=d);for(null!=t?p.sort((function(e,n){return t(v[e],v[n])})):null!=i&&p.sort((function(n,t){return i(e[n],e[t])})),l=0,u=h?(x-f*y)/h:0;l<f;++l,m=c)s=p[l],c=m+((d=v[s])>0?d*u:0)+y,v[s]={data:e[s],index:l,value:d,startAngle:m,endAngle:c,padAngle:g};return v}var n=Vm,t=qm,i=null,r=zm(0),a=zm(Xm),o=zm(0);return e.value=function(t){return arguments.length?(n="function"==typeof t?t:zm(+t),e):n},e.sortValues=function(n){return arguments.length?(t=n,i=null,e):t},e.sort=function(n){return arguments.length?(i=n,t=null,e):i},e.startAngle=function(n){return arguments.length?(r="function"==typeof n?n:zm(+n),e):r},e.endAngle=function(n){return arguments.length?(a="function"==typeof n?n:zm(+n),e):a},e.padAngle=function(n){return arguments.length?(o="function"==typeof n?n:zm(+n),e):o},e},e.radialArea=function(){var e=Hm().curve(Bm),n=e.curve,t=e.lineX0,i=e.lineX1,r=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return Xo(t())},delete e.lineX0,e.lineEndAngle=function(){return Xo(i())},delete e.lineX1,e.lineInnerRadius=function(){return Xo(r())},delete e.lineY0,e.lineOuterRadius=function(){return Xo(a())},delete e.lineY1,e.curve=function(e){return arguments.length?n(Eo(e)):n()._curve},e},e.radialLine=function(){return Xo(Rm().curve(Bm))},e.symbol=function(){function e(){var e;if(i||(i=e=Wn()),n.apply(this,arguments).draw(i,+t.apply(this,arguments)),e)return i=null,e+""||null}var n=zm(Jm),t=zm(64),i=null;return e.type=function(t){return arguments.length?(n="function"==typeof t?t:zm(t),e):n},e.size=function(n){return arguments.length?(t="function"==typeof n?n:zm(+n),e):t},e.context=function(n){return arguments.length?(i=null==n?null:n,e):i},e},e.symbols=ux,e.symbolCircle=Jm,e.symbolCross=Km,e.symbolDiamond=Gm,e.symbolSquare=nx,e.symbolStar=ex,e.symbolTriangle=ix,e.symbolWye=sx,e.curveBasisClosed=function(e){return new Ho(e)},e.curveBasisOpen=function(e){return new qo(e)},e.curveBasis=function(e){return new Ro(e)},e.curveBundle=dx,e.curveCardinalClosed=hx,e.curveCardinalOpen=px,e.curveCardinal=fx,e.curveCatmullRomClosed=mx,e.curveCatmullRomOpen=xx,e.curveCatmullRom=vx,e.curveLinearClosed=function(e){return new $o(e)},e.curveLinear=Om,e.curveMonotoneX=function(e){return new rl(e)},e.curveMonotoneY=function(e){return new al(e)},e.curveNatural=function(e){return new ll(e)},e.curveStep=function(e){return new ul(e,.5)},e.curveStepAfter=function(e){return new ul(e,1)},e.curveStepBefore=function(e){return new ul(e,0)},e.stack=function(){function e(e){var a,o,l=n.apply(this,arguments),s=e.length,u=l.length,c=new Array(u);for(a=0;a<u;++a){for(var d,f=l[a],h=c[a]=new Array(s),p=0;p<s;++p)h[p]=d=[0,+r(e[p],f,p,e)],d.data=e[p];h.key=f}for(a=0,o=t(c);a<u;++a)c[o[a]].index=a;return i(c,o),c}var n=zm([]),t=bx,i=yx,r=cl;return e.keys=function(t){return arguments.length?(n="function"==typeof t?t:zm(gx.call(t)),e):n},e.value=function(n){return arguments.length?(r="function"==typeof n?n:zm(+n),e):r},e.order=function(n){return arguments.length?(t=null==n?bx:"function"==typeof n?n:zm(gx.call(n)),e):t},e.offset=function(n){return arguments.length?(i=null==n?yx:n,e):i},e},e.stackOffsetExpand=function(e,n){if((i=e.length)>0){for(var t,i,r,a=0,o=e[0].length;a<o;++a){for(r=t=0;t<i;++t)r+=e[t][a][1]||0;if(r)for(t=0;t<i;++t)e[t][a][1]/=r}yx(e,n)}},e.stackOffsetNone=yx,e.stackOffsetSilhouette=function(e,n){if((t=e.length)>0){for(var t,i=0,r=e[n[0]],a=r.length;i<a;++i){for(var o=0,l=0;o<t;++o)l+=e[o][i][1]||0;r[i][1]+=r[i][0]=-l/2}yx(e,n)}},e.stackOffsetWiggle=function(e,n){if((r=e.length)>0&&(i=(t=e[n[0]]).length)>0){for(var t,i,r,a=0,o=1;o<i;++o){for(var l=0,s=0,u=0;l<r;++l){for(var c=e[n[l]],d=c[o][1]||0,f=(d-(c[o-1][1]||0))/2,h=0;h<l;++h){var p=e[n[h]];f+=(p[o][1]||0)-(p[o-1][1]||0)}s+=d,u+=f*d}t[o-1][1]+=t[o-1][0]=a,s&&(a-=u/s)}t[o-1][1]+=t[o-1][0]=a,yx(e,n)}},e.stackOrderAscending=_x,e.stackOrderDescending=function(e){return _x(e).reverse()},e.stackOrderInsideOut=function(e){var n,t,i=e.length,r=e.map(dl),a=bx(e).sort((function(e,n){return r[n]-r[e]})),o=0,l=0,s=[],u=[];for(n=0;n<i;++n)t=a[n],o<l?(o+=r[t],s.push(t)):(l+=r[t],u.push(t));return u.reverse().concat(s)},e.stackOrderNone=bx,e.stackOrderReverse=function(e){return bx(e).reverse()},e.timeInterval=ba,e.timeMillisecond=rv,e.timeMilliseconds=av,e.utcMillisecond=rv,e.utcMilliseconds=av,e.timeSecond=dv,e.timeSeconds=fv,e.utcSecond=dv,e.utcSeconds=fv,e.timeMinute=hv,e.timeMinutes=pv,e.timeHour=vv,e.timeHours=mv,e.timeDay=xv,e.timeDays=gv,e.timeWeek=yv,e.timeWeeks=Tv,e.timeSunday=yv,e.timeSundays=Tv,e.timeMonday=bv,e.timeMondays=Nv,e.timeTuesday=_v,e.timeTuesdays=Sv,e.timeWednesday=jv,e.timeWednesdays=Cv,e.timeThursday=wv,e.timeThursdays=Mv,e.timeFriday=kv,e.timeFridays=Av,e.timeSaturday=Pv,e.timeSaturdays=Iv,e.timeMonth=Lv,e.timeMonths=Zv,e.timeYear=zv,e.timeYears=Dv,e.utcMinute=Fv,e.utcMinutes=Ev,e.utcHour=Xv,e.utcHours=Ov,e.utcDay=Rv,e.utcDays=Hv,e.utcWeek=qv,e.utcWeeks=Gv,e.utcSunday=qv,e.utcSundays=Gv,e.utcMonday=Vv,e.utcMondays=Qv,e.utcTuesday=Bv,e.utcTuesdays=Yv,e.utcWednesday=Jv,e.utcWednesdays=$v,e.utcThursday=Kv,e.utcThursdays=em,e.utcFriday=Uv,e.utcFridays=nm,e.utcSaturday=Wv,e.utcSaturdays=tm,e.utcMonth=im,e.utcMonths=rm,e.utcYear=am,e.utcYears=lm,e.timeFormatDefaultLocale=_o,e.timeFormatLocale=Ta,e.isoFormat=hm,e.isoParse=pm,e.now=en,e.timer=rn,e.timerFlush=an,e.timeout=mc,e.interval=function(e,n,t){var i=new tn,r=n;return null==n?(i.restart(e,n,t),i):(n=+n,t=null==t?en():+t,i.restart((function a(o){o+=r,i.restart(a,r+=n,t),e(o)}),n,t),i)},e.transition=An,e.active=function(e,n){var t,i,r=e.__transition;if(r)for(i in n=null==n?null:n+"",r)if((t=r[i]).state>bc&&t.name===n)return new Mn([[e]],td,n,+i);return null},e.interrupt=Nc,e.voronoi=function(){function e(e){return new Xl(e.map((function(i,r){var a=[Math.round(n(i,r,e)/Mx)*Mx,Math.round(t(i,r,e)/Mx)*Mx];return a.index=r,a.data=i,a})),i)}var n=fl,t=hl,i=null;return e.polygons=function(n){return e(n).polygons()},e.links=function(n){return e(n).links()},e.triangles=function(n){return e(n).triangles()},e.x=function(t){return arguments.length?(n="function"==typeof t?t:jx(+t),e):n},e.y=function(n){return arguments.length?(t="function"==typeof n?n:jx(+n),e):t},e.extent=function(n){return arguments.length?(i=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],e):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},e.size=function(n){return arguments.length?(i=null==n?null:[[0,0],[+n[0],+n[1]]],e):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},e},e.zoom=function(){function n(e){e.on("wheel.zoom",c).on("mousedown.zoom",d).on("dblclick.zoom",f).on("touchstart.zoom",h).on("touchmove.zoom",p).on("touchend.zoom touchcancel.zoom",v).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",Jl)}function t(e,n){return(n=Math.max(b,Math.min(_,n)))===e.k?e:new Rl(n,e.x,e.y)}function i(e,n,t){var i=n[0]-t[0]*e.k,r=n[1]-t[1]*e.k;return i===e.x&&r===e.y?e:new Rl(e.k,i,r)}function r(e,n){var t=e.invertX(n[0][0])-j,i=e.invertX(n[1][0])-k,r=e.invertY(n[0][1])-P,a=e.invertY(n[1][1])-T;return e.translate(i>t?(t+i)/2:Math.min(0,t)||Math.max(0,i),a>r?(r+a)/2:Math.min(0,r)||Math.max(0,a))}function a(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function o(e,n,t){e.on("start.zoom",(function(){l(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){l(this,arguments).end()})).tween("zoom",(function(){var e=this,i=arguments,r=l(e,i),o=y.apply(e,i),s=t||a(o),u=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),c=e.__zoom,d="function"==typeof n?n.apply(e,i):n,f=S(c.invert(s).concat(u/c.k),d.invert(s).concat(u/d.k));return function(e){if(1===e)e=d;else{var n=f(e),t=u/n[2];e=new Rl(t,s[0]-n[0]*t,s[1]-n[1]*t)}r.zoom(null,e)}}))}function l(e,n){for(var t,i=0,r=C.length;i<r;++i)if((t=C[i]).that===e)return t;return new s(e,n)}function s(e,n){this.that=e,this.args=n,this.index=-1,this.active=0,this.extent=y.apply(e,n)}function c(){function n(){a.wheel=null,a.end()}if(g.apply(this,arguments)){var a=l(this,arguments),o=this.__zoom,s=Math.max(b,Math.min(_,o.k*Math.pow(2,-e.event.deltaY*(e.event.deltaMode?120:1)/500))),u=Fs(this);if(a.wheel)a.mouse[0][0]===u[0]&&a.mouse[0][1]===u[1]||(a.mouse[1]=o.invert(a.mouse[0]=u)),clearTimeout(a.wheel);else{if(o.k===s)return;a.mouse=[u,o.invert(u)],Nc(this),a.start()}Zx(),a.wheel=setTimeout(n,I),a.zoom("mouse",r(i(t(o,s),a.mouse[0],a.mouse[1]),a.extent))}}function d(){function n(){Zx(),a.moved=!0,a.zoom("mouse",r(i(a.that.__zoom,a.mouse[0]=Fs(a.that),a.mouse[1]),a.extent))}function t(){o.on("mousemove.zoom mouseup.zoom",null),fe(e.event.view,a.moved),Zx(),a.end()}if(!x&&g.apply(this,arguments)){var a=l(this,arguments),o=Vs(e.event.view).on("mousemove.zoom",n,!0).on("mouseup.zoom",t,!0),s=Fs(this);Ks(e.event.view),ql(),a.mouse=[s,this.__zoom.invert(s)],Nc(this),a.start()}}function f(){if(g.apply(this,arguments)){var a=this.__zoom,l=Fs(this),s=a.invert(l),u=a.k*(e.event.shiftKey?.5:2),c=r(i(t(a,u),l,s),y.apply(this,arguments));Zx(),N>0?Vs(this).transition().duration(N).call(o,c,l):Vs(this).call(n.transform,c)}}function h(){if(g.apply(this,arguments)){var n,t,i,r,a=l(this,arguments),o=e.event.changedTouches,s=o.length;for(ql(),t=0;t<s;++t)i=o[t],r=[r=Bs(this,o,i.identifier),this.__zoom.invert(r),i.identifier],a.touch0?a.touch1||(a.touch1=r):(a.touch0=r,n=!0);return m&&(m=clearTimeout(m),!a.touch1)?(a.end(),void((r=Vs(this).on("dblclick.zoom"))&&r.apply(this,arguments))):void(n&&(m=setTimeout((function(){m=null}),A),Nc(this),a.start()))}}function p(){var n,a,o,s,u=l(this,arguments),c=e.event.changedTouches,d=c.length;for(Zx(),m&&(m=clearTimeout(m)),n=0;n<d;++n)a=c[n],o=Bs(this,c,a.identifier),u.touch0&&u.touch0[2]===a.identifier?u.touch0[0]=o:u.touch1&&u.touch1[2]===a.identifier&&(u.touch1[0]=o);if(a=u.that.__zoom,u.touch1){var f=u.touch0[0],h=u.touch0[1],p=u.touch1[0],v=u.touch1[1],x=(x=p[0]-f[0])*x+(x=p[1]-f[1])*x,g=(g=v[0]-h[0])*g+(g=v[1]-h[1])*g;a=t(a,Math.sqrt(x/g)),o=[(f[0]+p[0])/2,(f[1]+p[1])/2],s=[(h[0]+v[0])/2,(h[1]+v[1])/2]}else{if(!u.touch0)return;o=u.touch0[0],s=u.touch0[1]}u.zoom("touch",r(i(a,o,s),u.extent))}function v(){var n,t,i=l(this,arguments),r=e.event.changedTouches,a=r.length;for(ql(),x&&clearTimeout(x),x=setTimeout((function(){x=null}),A),n=0;n<a;++n)t=r[n],i.touch0&&i.touch0[2]===t.identifier?delete i.touch0:i.touch1&&i.touch1[2]===t.identifier&&delete i.touch1;i.touch1&&!i.touch0&&(i.touch0=i.touch1,delete i.touch1),i.touch0||i.end()}var m,x,g=Vl,y=Bl,b=0,_=1/0,j=-_,k=_,P=j,T=k,N=250,S=ec,C=[],M=u("start","zoom","end"),A=500,I=150;return n.transform=function(e,n){var t=e.selection?e.selection():e;t.property("__zoom",Jl),e!==t?o(e,n):t.interrupt().each((function(){l(this,arguments).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},n.scaleBy=function(e,t){n.scaleTo(e,(function(){var e=this.__zoom.k,n="function"==typeof t?t.apply(this,arguments):t;return e*n}))},n.scaleTo=function(e,o){n.transform(e,(function(){var e=y.apply(this,arguments),n=this.__zoom,l=a(e),s=n.invert(l),u="function"==typeof o?o.apply(this,arguments):o;return r(i(t(n,u),l,s),e)}))},n.translateBy=function(e,t,i){n.transform(e,(function(){return r(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof i?i.apply(this,arguments):i),y.apply(this,arguments))}))},s.prototype={start:function(){return 1==++this.active&&(this.index=C.push(this)-1,this.emit("start")),this},zoom:function(e,n){return this.mouse&&"mouse"!==e&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(C.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(e){w(new Ol(n,e,this.that.__zoom),M.apply,M,[e,this.that,this.args])}},n.filter=function(e){return arguments.length?(g="function"==typeof e?e:Ix(!!e),n):g},n.extent=function(e){return arguments.length?(y="function"==typeof e?e:Ix([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),n):y},n.scaleExtent=function(e){return arguments.length?(b=+e[0],_=+e[1],n):[b,_]},n.translateExtent=function(e){return arguments.length?(j=+e[0][0],k=+e[1][0],P=+e[0][1],T=+e[1][1],n):[[j,P],[k,T]]},n.duration=function(e){return arguments.length?(N=+e,n):N},n.interpolate=function(e){return arguments.length?(S=e,n):S},n.on=function(){var e=M.on.apply(M,arguments);return e===M?n:e},n},e.zoomTransform=Hl,e.zoomIdentity=Lx,Object.defineProperty(e,"__esModule",{value:!0})},"object"==l(n)?o(n):(r=[n],void 0===(a="function"==typeof(i=o)?i.apply(n,r):i)||(e.exports=a))},66186:function(e,n,t){var i,r,a,o,l=t(31468).default;o=function(){return function e(n,t,i){function r(o,l){if(!t[o]){if(!n[o]){if(a)return a(o,!0);var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}var u=t[o]={exports:{}};n[o][0].call(u.exports,(function(e){var t=n[o][1][e];return r(t||e)}),u,u.exports,e,n,t,i)}return t[o].exports}for(var a=void 0,o=0;o<i.length;o++)r(i[o]);return r}({1:[function(e,n,t){"use strict";var i=e("./scripts/neo4jd3");n.exports=i},{"./scripts/neo4jd3":2}],2:[function(e,n,t){"use strict";n.exports=function(e,n){var t,i,r,a,o,l,s,u,c,d,f,h,p,v,m,x,g,y=!1,b={arrowSize:4,colors:["#68bdf6","#6dce9e","#faafc2","#f2baf6","#ff928c","#fcea7e","#ffc766","#405f9e","#a5abb6","#78cecb","#b88cbb","#ced2d9","#e84646","#fa5f86","#ffab1a","#fcda19","#797b80","#c9d96f","#47991f","#70edee","#ff75ea"],highlight:void 0,iconMap:{glass:"f000",music:"f001",search:"f002","envelope-o":"f003",heart:"f004",star:"f005","star-o":"f006",user:"f007",film:"f008","th-large":"f009",th:"f00a","th-list":"f00b",check:"f00c","remove,close,times":"f00d","search-plus":"f00e","search-minus":"f010","power-off":"f011",signal:"f012","gear,cog":"f013","trash-o":"f014",home:"f015","file-o":"f016","clock-o":"f017",road:"f018",download:"f019","arrow-circle-o-down":"f01a","arrow-circle-o-up":"f01b",inbox:"f01c","play-circle-o":"f01d","rotate-right,repeat":"f01e",refresh:"f021","list-alt":"f022",lock:"f023",flag:"f024",headphones:"f025","volume-off":"f026","volume-down":"f027","volume-up":"f028",qrcode:"f029",barcode:"f02a",tag:"f02b",tags:"f02c",book:"f02d",bookmark:"f02e",print:"f02f",camera:"f030",font:"f031",bold:"f032",italic:"f033","text-height":"f034","text-width":"f035","align-left":"f036","align-center":"f037","align-right":"f038","align-justify":"f039",list:"f03a","dedent,outdent":"f03b",indent:"f03c","video-camera":"f03d","photo,image,picture-o":"f03e",pencil:"f040","map-marker":"f041",adjust:"f042",tint:"f043","edit,pencil-square-o":"f044","share-square-o":"f045","check-square-o":"f046",arrows:"f047","step-backward":"f048","fast-backward":"f049",backward:"f04a",play:"f04b",pause:"f04c",stop:"f04d",forward:"f04e","fast-forward":"f050","step-forward":"f051",eject:"f052","chevron-left":"f053","chevron-right":"f054","plus-circle":"f055","minus-circle":"f056","times-circle":"f057","check-circle":"f058","question-circle":"f059","info-circle":"f05a",crosshairs:"f05b","times-circle-o":"f05c","check-circle-o":"f05d",ban:"f05e","arrow-left":"f060","arrow-right":"f061","arrow-up":"f062","arrow-down":"f063","mail-forward,share":"f064",expand:"f065",compress:"f066",plus:"f067",minus:"f068",asterisk:"f069","exclamation-circle":"f06a",gift:"f06b",leaf:"f06c",fire:"f06d",eye:"f06e","eye-slash":"f070","warning,exclamation-triangle":"f071",plane:"f072",calendar:"f073",random:"f074",comment:"f075",magnet:"f076","chevron-up":"f077","chevron-down":"f078",retweet:"f079","shopping-cart":"f07a",folder:"f07b","folder-open":"f07c","arrows-v":"f07d","arrows-h":"f07e","bar-chart-o,bar-chart":"f080","twitter-square":"f081","facebook-square":"f082","camera-retro":"f083",key:"f084","gears,cogs":"f085",comments:"f086","thumbs-o-up":"f087","thumbs-o-down":"f088","star-half":"f089","heart-o":"f08a","sign-out":"f08b","linkedin-square":"f08c","thumb-tack":"f08d","external-link":"f08e","sign-in":"f090",trophy:"f091","github-square":"f092",upload:"f093","lemon-o":"f094",phone:"f095","square-o":"f096","bookmark-o":"f097","phone-square":"f098",twitter:"f099","facebook-f,facebook":"f09a",github:"f09b",unlock:"f09c","credit-card":"f09d","feed,rss":"f09e","hdd-o":"f0a0",bullhorn:"f0a1",bell:"f0f3",certificate:"f0a3","hand-o-right":"f0a4","hand-o-left":"f0a5","hand-o-up":"f0a6","hand-o-down":"f0a7","arrow-circle-left":"f0a8","arrow-circle-right":"f0a9","arrow-circle-up":"f0aa","arrow-circle-down":"f0ab",globe:"f0ac",wrench:"f0ad",tasks:"f0ae",filter:"f0b0",briefcase:"f0b1","arrows-alt":"f0b2","group,users":"f0c0","chain,link":"f0c1",cloud:"f0c2",flask:"f0c3","cut,scissors":"f0c4","copy,files-o":"f0c5",paperclip:"f0c6","save,floppy-o":"f0c7",square:"f0c8","navicon,reorder,bars":"f0c9","list-ul":"f0ca","list-ol":"f0cb",strikethrough:"f0cc",underline:"f0cd",table:"f0ce",magic:"f0d0",truck:"f0d1",pinterest:"f0d2","pinterest-square":"f0d3","google-plus-square":"f0d4","google-plus":"f0d5",money:"f0d6","caret-down":"f0d7","caret-up":"f0d8","caret-left":"f0d9","caret-right":"f0da",columns:"f0db","unsorted,sort":"f0dc","sort-down,sort-desc":"f0dd","sort-up,sort-asc":"f0de",envelope:"f0e0",linkedin:"f0e1","rotate-left,undo":"f0e2","legal,gavel":"f0e3","dashboard,tachometer":"f0e4","comment-o":"f0e5","comments-o":"f0e6","flash,bolt":"f0e7",sitemap:"f0e8",umbrella:"f0e9","paste,clipboard":"f0ea","lightbulb-o":"f0eb",exchange:"f0ec","cloud-download":"f0ed","cloud-upload":"f0ee","user-md":"f0f0",stethoscope:"f0f1",suitcase:"f0f2","bell-o":"f0a2",coffee:"f0f4",cutlery:"f0f5","file-text-o":"f0f6","building-o":"f0f7","hospital-o":"f0f8",ambulance:"f0f9",medkit:"f0fa","fighter-jet":"f0fb",beer:"f0fc","h-square":"f0fd","plus-square":"f0fe","angle-double-left":"f100","angle-double-right":"f101","angle-double-up":"f102","angle-double-down":"f103","angle-left":"f104","angle-right":"f105","angle-up":"f106","angle-down":"f107",desktop:"f108",laptop:"f109",tablet:"f10a","mobile-phone,mobile":"f10b","circle-o":"f10c","quote-left":"f10d","quote-right":"f10e",spinner:"f110",circle:"f111","mail-reply,reply":"f112","github-alt":"f113","folder-o":"f114","folder-open-o":"f115","smile-o":"f118","frown-o":"f119","meh-o":"f11a",gamepad:"f11b","keyboard-o":"f11c","flag-o":"f11d","flag-checkered":"f11e",terminal:"f120",code:"f121","mail-reply-all,reply-all":"f122","star-half-empty,star-half-full,star-half-o":"f123","location-arrow":"f124",crop:"f125","code-fork":"f126","unlink,chain-broken":"f127",question:"f128",info:"f129",exclamation:"f12a",superscript:"f12b",subscript:"f12c",eraser:"f12d","puzzle-piece":"f12e",microphone:"f130","microphone-slash":"f131",shield:"f132","calendar-o":"f133","fire-extinguisher":"f134",rocket:"f135",maxcdn:"f136","chevron-circle-left":"f137","chevron-circle-right":"f138","chevron-circle-up":"f139","chevron-circle-down":"f13a",html5:"f13b",css3:"f13c",anchor:"f13d","unlock-alt":"f13e",bullseye:"f140","ellipsis-h":"f141","ellipsis-v":"f142","rss-square":"f143","play-circle":"f144",ticket:"f145","minus-square":"f146","minus-square-o":"f147","level-up":"f148","level-down":"f149","check-square":"f14a","pencil-square":"f14b","external-link-square":"f14c","share-square":"f14d",compass:"f14e","toggle-down,caret-square-o-down":"f150","toggle-up,caret-square-o-up":"f151","toggle-right,caret-square-o-right":"f152","euro,eur":"f153",gbp:"f154","dollar,usd":"f155","rupee,inr":"f156","cny,rmb,yen,jpy":"f157","ruble,rouble,rub":"f158","won,krw":"f159","bitcoin,btc":"f15a",file:"f15b","file-text":"f15c","sort-alpha-asc":"f15d","sort-alpha-desc":"f15e","sort-amount-asc":"f160","sort-amount-desc":"f161","sort-numeric-asc":"f162","sort-numeric-desc":"f163","thumbs-up":"f164","thumbs-down":"f165","youtube-square":"f166",youtube:"f167",xing:"f168","xing-square":"f169","youtube-play":"f16a",dropbox:"f16b","stack-overflow":"f16c",instagram:"f16d",flickr:"f16e",adn:"f170",bitbucket:"f171","bitbucket-square":"f172",tumblr:"f173","tumblr-square":"f174","long-arrow-down":"f175","long-arrow-up":"f176","long-arrow-left":"f177","long-arrow-right":"f178",apple:"f179",windows:"f17a",android:"f17b",linux:"f17c",dribbble:"f17d",skype:"f17e",foursquare:"f180",trello:"f181",female:"f182",male:"f183","gittip,gratipay":"f184","sun-o":"f185","moon-o":"f186",archive:"f187",bug:"f188",vk:"f189",weibo:"f18a",renren:"f18b",pagelines:"f18c","stack-exchange":"f18d","arrow-circle-o-right":"f18e","arrow-circle-o-left":"f190","toggle-left,caret-square-o-left":"f191","dot-circle-o":"f192",wheelchair:"f193","vimeo-square":"f194","turkish-lira,try":"f195","plus-square-o":"f196","space-shuttle":"f197",slack:"f198","envelope-square":"f199",wordpress:"f19a",openid:"f19b","institution,bank,university":"f19c","mortar-board,graduation-cap":"f19d",yahoo:"f19e",google:"f1a0",reddit:"f1a1","reddit-square":"f1a2","stumbleupon-circle":"f1a3",stumbleupon:"f1a4",delicious:"f1a5",digg:"f1a6","pied-piper-pp":"f1a7","pied-piper-alt":"f1a8",drupal:"f1a9",joomla:"f1aa",language:"f1ab",fax:"f1ac",building:"f1ad",child:"f1ae",paw:"f1b0",spoon:"f1b1",cube:"f1b2",cubes:"f1b3",behance:"f1b4","behance-square":"f1b5",steam:"f1b6","steam-square":"f1b7",recycle:"f1b8","automobile,car":"f1b9","cab,taxi":"f1ba",tree:"f1bb",spotify:"f1bc",deviantart:"f1bd",soundcloud:"f1be",database:"f1c0","file-pdf-o":"f1c1","file-word-o":"f1c2","file-excel-o":"f1c3","file-powerpoint-o":"f1c4","file-photo-o,file-picture-o,file-image-o":"f1c5","file-zip-o,file-archive-o":"f1c6","file-sound-o,file-audio-o":"f1c7","file-movie-o,file-video-o":"f1c8","file-code-o":"f1c9",vine:"f1ca",codepen:"f1cb",jsfiddle:"f1cc","life-bouy,life-buoy,life-saver,support,life-ring":"f1cd","circle-o-notch":"f1ce","ra,resistance,rebel":"f1d0","ge,empire":"f1d1","git-square":"f1d2",git:"f1d3","y-combinator-square,yc-square,hacker-news":"f1d4","tencent-weibo":"f1d5",qq:"f1d6","wechat,weixin":"f1d7","send,paper-plane":"f1d8","send-o,paper-plane-o":"f1d9",history:"f1da","circle-thin":"f1db",header:"f1dc",paragraph:"f1dd",sliders:"f1de","share-alt":"f1e0","share-alt-square":"f1e1",bomb:"f1e2","soccer-ball-o,futbol-o":"f1e3",tty:"f1e4",binoculars:"f1e5",plug:"f1e6",slideshare:"f1e7",twitch:"f1e8",yelp:"f1e9","newspaper-o":"f1ea",wifi:"f1eb",calculator:"f1ec",paypal:"f1ed","google-wallet":"f1ee","cc-visa":"f1f0","cc-mastercard":"f1f1","cc-discover":"f1f2","cc-amex":"f1f3","cc-paypal":"f1f4","cc-stripe":"f1f5","bell-slash":"f1f6","bell-slash-o":"f1f7",trash:"f1f8",copyright:"f1f9",at:"f1fa",eyedropper:"f1fb","paint-brush":"f1fc","birthday-cake":"f1fd","area-chart":"f1fe","pie-chart":"f200","line-chart":"f201",lastfm:"f202","lastfm-square":"f203","toggle-off":"f204","toggle-on":"f205",bicycle:"f206",bus:"f207",ioxhost:"f208",angellist:"f209",cc:"f20a","shekel,sheqel,ils":"f20b",meanpath:"f20c",buysellads:"f20d",connectdevelop:"f20e",dashcube:"f210",forumbee:"f211",leanpub:"f212",sellsy:"f213",shirtsinbulk:"f214",simplybuilt:"f215",skyatlas:"f216","cart-plus":"f217","cart-arrow-down":"f218",diamond:"f219",ship:"f21a","user-secret":"f21b",motorcycle:"f21c","street-view":"f21d",heartbeat:"f21e",venus:"f221",mars:"f222",mercury:"f223","intersex,transgender":"f224","transgender-alt":"f225","venus-double":"f226","mars-double":"f227","venus-mars":"f228","mars-stroke":"f229","mars-stroke-v":"f22a","mars-stroke-h":"f22b",neuter:"f22c",genderless:"f22d","facebook-official":"f230","pinterest-p":"f231",whatsapp:"f232",server:"f233","user-plus":"f234","user-times":"f235","hotel,bed":"f236",viacoin:"f237",train:"f238",subway:"f239",medium:"f23a","yc,y-combinator":"f23b","optin-monster":"f23c",opencart:"f23d",expeditedssl:"f23e","battery-4,battery-full":"f240","battery-3,battery-three-quarters":"f241","battery-2,battery-half":"f242","battery-1,battery-quarter":"f243","battery-0,battery-empty":"f244","mouse-pointer":"f245","i-cursor":"f246","object-group":"f247","object-ungroup":"f248","sticky-note":"f249","sticky-note-o":"f24a","cc-jcb":"f24b","cc-diners-club":"f24c",clone:"f24d","balance-scale":"f24e","hourglass-o":"f250","hourglass-1,hourglass-start":"f251","hourglass-2,hourglass-half":"f252","hourglass-3,hourglass-end":"f253",hourglass:"f254","hand-grab-o,hand-rock-o":"f255","hand-stop-o,hand-paper-o":"f256","hand-scissors-o":"f257","hand-lizard-o":"f258","hand-spock-o":"f259","hand-pointer-o":"f25a","hand-peace-o":"f25b",trademark:"f25c",registered:"f25d","creative-commons":"f25e",gg:"f260","gg-circle":"f261",tripadvisor:"f262",odnoklassniki:"f263","odnoklassniki-square":"f264","get-pocket":"f265","wikipedia-w":"f266",safari:"f267",chrome:"f268",firefox:"f269",opera:"f26a","internet-explorer":"f26b","tv,television":"f26c",contao:"f26d","500px":"f26e",amazon:"f270","calendar-plus-o":"f271","calendar-minus-o":"f272","calendar-times-o":"f273","calendar-check-o":"f274",industry:"f275","map-pin":"f276","map-signs":"f277","map-o":"f278",map:"f279",commenting:"f27a","commenting-o":"f27b",houzz:"f27c",vimeo:"f27d","black-tie":"f27e",fonticons:"f280","reddit-alien":"f281",edge:"f282","credit-card-alt":"f283",codiepie:"f284",modx:"f285","fort-awesome":"f286",usb:"f287","product-hunt":"f288",mixcloud:"f289",scribd:"f28a","pause-circle":"f28b","pause-circle-o":"f28c","stop-circle":"f28d","stop-circle-o":"f28e","shopping-bag":"f290","shopping-basket":"f291",hashtag:"f292",bluetooth:"f293","bluetooth-b":"f294",percent:"f295",gitlab:"f296",wpbeginner:"f297",wpforms:"f298",envira:"f299","universal-access":"f29a","wheelchair-alt":"f29b","question-circle-o":"f29c",blind:"f29d","audio-description":"f29e","volume-control-phone":"f2a0",braille:"f2a1","assistive-listening-systems":"f2a2","asl-interpreting,american-sign-language-interpreting":"f2a3","deafness,hard-of-hearing,deaf":"f2a4",glide:"f2a5","glide-g":"f2a6","signing,sign-language":"f2a7","low-vision":"f2a8",viadeo:"f2a9","viadeo-square":"f2aa",snapchat:"f2ab","snapchat-ghost":"f2ac","snapchat-square":"f2ad","pied-piper":"f2ae","first-order":"f2b0",yoast:"f2b1",themeisle:"f2b2","google-plus-circle,google-plus-official":"f2b3","fa,font-awesome":"f2b4"},icons:void 0,imageMap:{},images:void 0,infoPanel:!0,minCollision:void 0,neo4jData:void 0,neo4jDataUrl:void 0,nodeOutlineFillColor:void 0,nodeRadius:25,relationshipColor:"#a5abb6",zoomFit:!1};function _(e,n,t,i){var a=r.append("a");a.attr("href","#").attr("class",e).html("<strong>"+t+"</strong>"+(i?": "+i:"")),i||a.style("background-color",(function(e){return b.nodeOutlineFillColor?b.nodeOutlineFillColor:n?P(t):b.relationshipColor})).style("border-color",(function(e){return b.nodeOutlineFillColor?T(b.nodeOutlineFillColor):n?T(t):d3.rgb(b.colors[b.colors.length-1]).darker(1)})).style("color",(function(e){return b.nodeOutlineFillColor?T(b.nodeOutlineFillColor):"#fff"}))}function j(e,n,t){_(e,!1,n,t)}function w(){var e=a.enter().append("g").attr("class",(function(e){var n,t,i="node";if(e.labels[0],A(e)&&(i+=" node-icon"),I(e)&&(i+=" node-image"),b.highlight)for(t=0;t<b.highlight.length;t++)if(n=b.highlight[t],e.labels[0]===n.class&&e.properties[n.property]===n.value){i+=" node-highlighted";break}return i})).on("click",(function(e){e.fx=e.fy=null,"function"==typeof b.onNodeClick&&b.onNodeClick(e)})).on("dblclick",(function(e){"function"==typeof b.onNodeDoubleClick&&b.onNodeDoubleClick(e)})).on("mouseenter",(function(e){r&&q(e),"function"==typeof b.onNodeMouseEnter&&b.onNodeMouseEnter(e)})).on("mouseleave",(function(e){r&&N(),"function"==typeof b.onNodeMouseLeave&&b.onNodeMouseLeave(e)})).call(d3.drag().on("start",M).on("drag",C).on("end",S));return function(e){e.append("circle").attr("class","ring").attr("r",1.16*b.nodeRadius).append("title").text((function(e){return""}))}(e),function(e){e.append("circle").attr("class","outline").attr("r",b.nodeRadius).style("fill",(function(e){return b.nodeOutlineFillColor?b.nodeOutlineFillColor:P(e.labels[0])})).style("stroke",(function(e){return b.nodeOutlineFillColor?T(b.nodeOutlineFillColor):T(e.labels[0])})).append("title").text((function(e){return""}))}(e),b.icons&&function(e){e.append("text").attr("class",(function(e){return"text"+(A(e)?" icon":"")})).attr("fill","#ffffff").attr("font-size",(function(e){return A(e)?b.nodeRadius+"px":"10px"})).attr("pointer-events","none").attr("text-anchor","middle").attr("y",(function(e){return A(e)?parseInt(Math.round(.32*b.nodeRadius))+"px":"4px"})).html((function(e){return e.name.replace(new RegExp(".{4}","g"),"$&\n"),e.name}))}(e),b.images&&function(e){e.append("image").attr("height",(function(e){return A(e)?"24px":"30px"})).attr("x",(function(e){return A(e)?"5px":"-15px"})).attr("xlink:href",(function(e){return I(e)})).attr("y",(function(e){return A(e)?"5px":"-16px"})).attr("width",(function(e){return A(e)?"24px":"30px"}))}(e),e}function k(){return l.enter().append("g").attr("class","relationship").on("dblclick",(function(e){"function"==typeof b.onRelationshipDoubleClick&&b.onRelationshipDoubleClick(e)})).on("mouseenter",(function(e){r&&q(e)}))}function P(e){return b.colors[e]}function T(e){return d3.rgb(P(e)).darker(1)}function N(){r.html("")}function S(e){d3.event.active||h.alphaTarget(0),"function"==typeof b.onNodeDragEnd&&b.onNodeDragEnd(e)}function C(e){!function(e){e.fx=d3.event.x,e.fy=d3.event.y}(e)}function M(e){d3.event.active||h.alphaTarget(.3).restart(),e.fx=e.x,e.fy=e.y,"function"==typeof b.onNodeDragStart&&b.onNodeDragStart(e)}function A(e){var n;return b.iconMap&&b.showIcons&&b.icons&&(b.icons[e.labels[0]]&&b.iconMap[b.icons[e.labels[0]]]?n=b.iconMap[b.icons[e.labels[0]]]:b.iconMap[e.labels[0]]?n=b.iconMap[e.labels[0]]:b.icons[e.labels[0]]&&(n=b.icons[e.labels[0]])),n}function I(e){var n,t,i,r,a,o,l,s;if(b.images&&(t=b.imageMap[e.labels[0]]))for(r=0,n=0;n<t.length;n++){switch((o=t[n].split("|")).length){case 3:s=o[2];case 2:l=o[1];case 1:a=o[0]}e.labels[0]!==a||l&&void 0===e.properties[l]||s&&e.properties[l]!==s||o.length>r&&(i=b.images[t[n]],r=o.length)}return i}function L(e,n){Object.keys(n).forEach((function(t){e[t]=n[t]}))}function Z(e){var n={nodes:[],relationships:[]};return e.results.forEach((function(e){e.data.forEach((function(e){e.graph.nodes.forEach((function(e){var t,i;t=n.nodes,i=e.id,t.filter((function(e){return e.id===i})).length>0||n.nodes.push(e)})),e.graph.relationships.forEach((function(e){e.source=e.startNode,e.target=e.endNode,n.relationships.push(e)})),e.graph.relationships.sort((function(e,n){return e.source>n.source?1:e.source<n.source?-1:e.target>n.target?1:e.target<n.target?-1:0}));for(var t=0;t<e.graph.relationships.length;t++)0!==t&&e.graph.relationships[t].source===e.graph.relationships[t-1].source&&e.graph.relationships[t].target===e.graph.relationships[t-1].target?e.graph.relationships[t].linknum=e.graph.relationships[t-1].linknum+1:e.graph.relationships[t].linknum=1}))})),n}function z(e,n){var t,i,r,a,o,l={nodes:[],relationships:[]},s=1+(n*Math.random()<<0),u=E();for(t=0;t<s;t++)o=void 0,i=(o=Object.keys(b.iconMap))[o.length*Math.random()<<0],r={id:u.nodes+1+t,labels:[i],properties:{random:i},x:e.x,y:e.y},l.nodes[l.nodes.length]=r,a={id:u.relationships+1+t,type:i.toUpperCase(),startNode:e.id,endNode:u.nodes+1+t,properties:{from:Date.now()},source:e.id,target:u.nodes+1+t,linknum:u.relationships+1+t},l.relationships[l.relationships.length]=a;return l}function D(e,n,t){return function(e,n,t,i,r){var a=Math.PI/180*r,o=Math.cos(a),l=Math.sin(a);return{x:o*(t-e)+l*(i-n)+e,y:o*(i-n)-l*(t-e)+n}}(e.x,e.y,n.x,n.y,t)}function F(e,n){return 180*Math.atan2(n.y-e.y,n.x-e.x)/Math.PI}function E(){return{nodes:o.length,relationships:d.length}}function X(e,n,t){return D({x:0,y:0},O(e,n,t),90)}function O(e,n,t){var i=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))/Math.sqrt(t||1);return{x:(n.x-e.x)/i,y:(n.y-e.y)/i}}function R(e){var n;n=e.nodes,function(e){console.error("updateRelationships:",e),Array.prototype.push.apply(d,e),l=m.selectAll(".relationship").data(d,(function(e){return e.id}));var n=function(){var e=k(),n=e.append("text").attr("class","text").attr("fill","#000000").attr("font-size","8px").attr("pointer-events","none").attr("text-anchor","middle").text((function(e){return e.type})),t=function(e){return e.append("path").attr("class","outline").attr("fill","#a5abb6").attr("stroke","none")}(e),i=function(e){return e.append("path").attr("class","overlay")}(e);return{outline:t,overlay:i,relationship:e,text:n}}();l=n.relationship.merge(l),s=p.selectAll(".relationship .outline"),s=n.outline.merge(s),u=p.selectAll(".relationship .overlay"),u=n.overlay.merge(u),c=p.selectAll(".relationship .text"),c=n.text.merge(c)}(e.relationships),function(e){Array.prototype.push.apply(o,e),a=v.selectAll(".node").data(o,(function(e){return e.id}));var n=w();a=n.merge(a)}(n),h.nodes(o),h.force("link").links(d)}function H(e){R(Z(e))}function q(e){N(),e.labels?function(e,n){_(e,!0,n)}("class",e.labels[0]):function(e,n){_(e,!1,n)}("class",e.type),j("property","&lt;id&gt;",e.id),Object.keys(e.properties).forEach((function(n){j("property",n,JSON.stringify(e.properties[n]))}))}return function(e,n){var s;Object.keys(b.iconMap).forEach((function(e,n){var t=e.split(","),i=b.iconMap[e];t.forEach((function(e){b.iconMap[e]=i}))})),L(b,n),b.icons&&(b.showIcons=!0),b.minCollision||(b.minCollision=2*b.nodeRadius),function(){var e,n;for(e in b.images)b.images.hasOwnProperty(e)&&(n=e.split("|"),b.imageMap[n[0]]?b.imageMap[n[0]].push(e):b.imageMap[n[0]]=[e])}(),f=e,(i=d3.select(f)).attr("class","neo4jd3").html(""),b.infoPanel&&(r=function(e){return e.append("div").attr("class","neo4jd3-info")}(i)),function(e){t=d3.zoom().on("zoom",(function(){var e=d3.event.transform.k,n=[d3.event.transform.x,d3.event.transform.y];g&&(n[0]+=g[0],n[1]+=g[1]),x&&(e*=x),p.attr("transform","translate("+n[0]+", "+n[1]+") scale("+e+")")})),p=e.append("svg").attr("width","100%").attr("height","100%").attr("class","neo4jd3-graph").call(t).on("dblclick.zoom",null).append("g").attr("width","100%").attr("height","100%"),m=p.append("g").attr("class","relationships"),v=p.append("g").attr("class","nodes")}(i),h=function(){var e=d3.forceSimulation().force("collide",d3.forceCollide().radius((function(e){return b.minCollision})).iterations(2)).force("charge",d3.forceManyBody()).force("link",d3.forceLink().id((function(e){return e.id}))).force("center",d3.forceCenter(p.node().parentElement.parentElement.clientWidth/2,p.node().parentElement.parentElement.clientHeight/2)).on("tick",(function(){a&&a.attr("transform",(function(e){return"translate("+e.x+", "+e.y+")"})),l&&(l.attr("transform",(function(e){var n,t,i;if("前序"===e.type){var r=JSON.parse(JSON.stringify(e.source)),a=JSON.parse(JSON.stringify(e.target));r.y=r.y+6,a.y=a.y+6,n=F(r,a),t=r.x,i=r.y}else"后序"===e.type?(r=JSON.parse(JSON.stringify(e.source)),a=JSON.parse(JSON.stringify(e.target)),r.y=r.y-6,a.y=a.y-6,n=F(r,a),t=r.x,i=r.y):(n=F(e.source,e.target),t=e.source.x,i=e.source.y);return"translate("+t+", "+i+") rotate("+n+")"})),c.attr("transform",(function(e){var n=(F(e.source,e.target)+360)%360,t=n>90&&n<270,i={x:0,y:0},r=X(e.source,e.target),a=t?2:-3,o=D(i,{x:.5*(e.target.x-e.source.x)+r.x*a,y:.5*(e.target.y-e.source.y)+r.y*a},n);return"translate("+o.x+", "+o.y+") rotate("+(t?180:0)+")"})),l.each((function(e){var n=d3.select(this),t=n.select(".outline"),i=n.select(".text");i.node().getBBox(),t.attr("d",(function(e){var n={x:0,y:0},t=F(e.source,e.target),r=i.node().getBBox(),a=5,o=O(e.source,e.target),l={x:.5*(e.target.x-e.source.x-(r.width+a)*o.x),y:.5*(e.target.y-e.source.y-(r.width+a)*o.y)},s=X(e.source,e.target),u=D(n,{x:0+(b.nodeRadius+1)*o.x-s.x,y:0+(b.nodeRadius+1)*o.y-s.y},t),c=D(n,{x:l.x-s.x,y:l.y-s.y},t),d=D(n,{x:l.x,y:l.y},t),f=D(n,{x:0+(b.nodeRadius+1)*o.x,y:0+(b.nodeRadius+1)*o.y},t),h=D(n,{x:e.target.x-e.source.x-l.x-s.x,y:e.target.y-e.source.y-l.y-s.y},t),p=D(n,{x:e.target.x-e.source.x-(b.nodeRadius+1)*o.x-s.x-o.x*b.arrowSize,y:e.target.y-e.source.y-(b.nodeRadius+1)*o.y-s.y-o.y*b.arrowSize},t),v=D(n,{x:e.target.x-e.source.x-(b.nodeRadius+1)*o.x-s.x+(s.x-o.x)*b.arrowSize,y:e.target.y-e.source.y-(b.nodeRadius+1)*o.y-s.y+(s.y-o.y)*b.arrowSize},t),m=D(n,{x:e.target.x-e.source.x-(b.nodeRadius+1)*o.x,y:e.target.y-e.source.y-(b.nodeRadius+1)*o.y},t),x=D(n,{x:e.target.x-e.source.x-(b.nodeRadius+1)*o.x+(-s.x-o.x)*b.arrowSize,y:e.target.y-e.source.y-(b.nodeRadius+1)*o.y+(-s.y-o.y)*b.arrowSize},t),g=D(n,{x:e.target.x-e.source.x-(b.nodeRadius+1)*o.x-o.x*b.arrowSize,y:e.target.y-e.source.y-(b.nodeRadius+1)*o.y-o.y*b.arrowSize},t),y=D(n,{x:e.target.x-e.source.x-l.x,y:e.target.y-e.source.y-l.y},t);return"M "+u.x+" "+u.y+" L "+c.x+" "+c.y+" L "+d.x+" "+d.y+" L "+f.x+" "+f.y+" Z M "+h.x+" "+h.y+" L "+p.x+" "+p.y+" L "+v.x+" "+v.y+" L "+m.x+" "+m.y+" L "+x.x+" "+x.y+" L "+g.x+" "+g.y+" L "+y.x+" "+y.y+" Z"}))})),u.attr("d",(function(e){var n={x:0,y:0},t=F(e.source,e.target),i=X(e.source,e.target),r=X(e.source,e.target,50),a=D(n,{x:0-r.x,y:0-r.y},t),o=D(n,{x:e.target.x-e.source.x-r.x,y:e.target.y-e.source.y-r.y},t),l=D(n,{x:e.target.x-e.source.x+r.x-i.x,y:e.target.y-e.source.y+r.y-i.y},t),s=D(n,{x:0+r.x-i.x,y:0+r.y-i.y},t);return"M "+a.x+" "+a.y+" L "+o.x+" "+o.y+" L "+l.x+" "+l.y+" L "+s.x+" "+s.y+" Z"})))})).on("end",(function(){var e,n,t,i,r,a,o,l;b.zoomFit&&!y&&(y=!0,e=p.node().getBBox(),n=p.node().parentElement.parentElement,t=n.clientWidth,i=n.clientHeight,r=e.width,a=e.height,o=e.x+r/2,l=e.y+a/2,0!==r&&0!==a&&(x=.85/Math.max(r/t,a/i),g=[t/2-x*o,i/2-x*l],p.attr("transform","translate("+g[0]+", "+g[1]+") scale("+x+")")))}));return e}(),b.neo4jData?(b.neo4jData,o=[],d=[],H(b.neo4jData)):b.neo4jDataUrl?(s=b.neo4jDataUrl,o=[],d=[],d3.json(s,(function(e,n){if(e)throw e;H(n)}))):console.error("Error: both neo4jData and neo4jDataUrl are empty!")}(e,n),{appendRandomDataToNode:function(e,n){H(z(e,n))},neo4jDataToD3Data:Z,randomD3Data:z,size:E,updateWithD3Data:R,updateWithNeo4jData:H,version:function(){return"0.0.1"},zoomInOut:function(e){var n,r,a,o,l,s,u,c=i.select(".neo4jd3-graph");d3.zoom().on("zoom",(function(){var e=d3.event.transform.k,n=[d3.event.transform.x,d3.event.transform.y];g&&(n[0]+=g[0],n[1]+=g[1]),x&&(e*=x),c.attr("transform","translate("+n[0]+", "+n[1]+") scale("+e+")")})),1===e?(n=parseFloat(i.style("width")),r=parseFloat(i.style("height")),a=d3.zoomTransform(c.node()),o=1.2*a.k,l=n/2-1.2*(n/2-a.x),s=r/2-1.2*(r/2-a.y),u=d3.zoomIdentity.translate(l,s).scale(o),c.transition().duration(150).call(t.transform,u)):function(){var e=parseFloat(i.style("width")),n=parseFloat(i.style("height")),r=d3.zoomTransform(c.node()),a=.8*r.k,o=e/2-.8*(e/2-r.x),l=n/2-.8*(n/2-r.y),s=d3.zoomIdentity.translate(o,l).scale(a);c.transition().duration(150).call(t.transform,s)}()}}}},{}]},{},[1])(1)},"object"===l(n)?e.exports=o():(r=[],void 0===(a="function"==typeof(i=o)?i.apply(n,r):i)||(e.exports=a))},29730:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var i=t(7557),r=t.n(i),a=t(82242),o=t.n(a),l=t(37205),s=t.n(l),u=t(41498),c=t.n(u),d=t(79800),f=t.n(d),h=t(59301),p=t(7880),v=t(24905),m=t(12101),x=t(88996),g=t(51136),y=t(78241),b=t(57809),_={},j=t(37712),w=(v.Z.Group,(0,p.connect)((function(e){var n=e.classroomList,t=e.loading,i=e.globalSetting,r=e.user;return{classroomList:n,globalSetting:i,loading:t.effects,user:r}}))((function(e){e.classroomList,e.loading,e.user,e.exercise_id,e.homework_common_id;var n,t,i,a,l,s,u,d,v=e.setitem,m=e.item,x=(e.type,e.rz),w=(e.dispatch,(0,h.useState)([])),k=f()(w,2),P=(k[0],k[1],(0,h.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20})),T=f()(P,2),N=T[0],S=T[1],C=((0,p.useParams)(),(0,h.useState)(!1)),M=f()(C,2),A=(M[0],M[1],(0,h.useState)(!1)),I=f()(A,2),L=(I[0],I[1],y.Z.useForm()),Z=f()(L,1)[0];function z(){return(z=c()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("----",m),e.next=3,D(null==m?void 0:m.ec_major_school_id);case 3:return e.next=5,E(null==m?void 0:m.ec_year_id);case 5:return e.next=7,O(null==m?void 0:m.ec_course_id);case 7:Z.setFieldsValue({ec_course_id:null==m?void 0:m.ec_course_id,ec_major_school_id:null==m?void 0:m.ec_major_school_id,ec_point_ids:null==m?void 0:m.ec_point_ids,ec_year_id:null==m?void 0:m.ec_year_id});case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function D(e){return F.apply(this,arguments)}function F(){return(F=c()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.ZP)("/api/ec_major_schools/".concat(n,"/ec_years/get_year_list.json"),{method:"get"});case 2:t=e.sent,N.jbdatas=null==t?void 0:t.data,S(o()({},N)),Z.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return X.apply(this,arguments)}function X(){return(X=c()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.ZP)("/api/ec_years/".concat(n,"/ec_courses/get_courses.json"),{method:"get"});case 2:t=e.sent,N.kcdatas=null==t?void 0:t.data,S(o()({},N)),Z.setFieldsValue({ec_course_id:"",ec_point_ids:[]});case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,h.useEffect)((function(){x&&(N.zydatas=x,S(o()({},N)),null!=m&&m.ec_course_id&&function(){z.apply(this,arguments)}())}),[m,x]);var O=function(){var e=c()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.ZP)("/api/ec_courses/".concat(n,"/ec_points.json"),{method:"get",params:{ec_course_id:n}});case 2:t=e.sent,N.zsdatas=null==t?void 0:t.data,S(o()({},N));case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,j.jsx)("div",{className:_.from,children:(0,j.jsxs)(y.Z,{form:Z,layout:"inline",onValuesChange:function(e){console.log("----",e),e.ec_major_school_id&&(N.jbdatas=[],N.kcdatas=[],N.zsdatas=[],S(o()({},N)),D(e.ec_major_school_id)),e.ec_year_id&&(N.kcdatas=[],N.zsdatas=[],S(o()({},N)),E(e.ec_year_id)),e.ec_course_id&&(N.zsdatas=[],S(o()({},N)),O(e.ec_course_id))},onFinish:function(){var e=c()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:v(n);case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,j.jsx)(y.Z.Item,{label:"认证专业",name:"ec_major_school_id",children:(0,j.jsx)(b.default,{style:{width:150},disabled:(null===(n=N.zydatas)||void 0===n?void 0:n.length)<=0,placeholder:"请选择认证专业",children:null==N||null===(t=N.zydatas)||void 0===t?void 0:t.map((function(e,n){return(0,j.jsx)(b.default.Option,{value:null==e?void 0:e.ec_major_school_id,children:null==e?void 0:e.name},n)}))})}),(0,j.jsx)(y.Z.Item,{label:"认证届别",name:"ec_year_id",children:(0,j.jsx)(b.default,{style:{width:150},disabled:(null===(i=N.jbdatas)||void 0===i?void 0:i.length)<=0,placeholder:"请选择认证届别",children:null==N||null===(a=N.jbdatas)||void 0===a?void 0:a.map((function(e,n){return(0,j.jsx)(b.default.Option,{value:null==e?void 0:e.ec_year_id,children:null==e?void 0:e.year},n)}))})}),(0,j.jsx)(y.Z.Item,{label:"课程",name:"ec_course_id",children:(0,j.jsx)(b.default,{style:{width:150},disabled:(null===(l=N.kcdatas)||void 0===l?void 0:l.length)<=0,placeholder:"请选择课程",children:null==N||null===(s=N.kcdatas)||void 0===s?void 0:s.map((function(e,n){return(0,j.jsx)(b.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},n)}))})}),(0,j.jsx)(y.Z.Item,{label:"知识点",name:"ec_point_ids",children:(0,j.jsx)(b.default,{onChange:function(){Z.submit()},style:{width:150},mode:"multiple",disabled:(null===(u=N.zsdatas)||void 0===u?void 0:u.length)<=0,placeholder:"请选择知识点",children:null==N||null===(d=N.zsdatas)||void 0===d?void 0:d.map((function(e,n){return(0,j.jsx)(b.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},n)}))})})]})})}))),k=(v.Z.Group,(0,p.connect)((function(e){var n=e.classroomList,t=e.loading,i=e.globalSetting,r=e.user;return{classroomList:n,globalSetting:i,loading:t.effects,user:r}}))((function(e){e.classroomList,e.loading;var n,t,i=e.user,a=e.exercise_id,l=void 0===a?null:a,u=e.homework_common_id,d=void 0===u?null:u,p=e.setitem,v=(e.type,e.dispatch,(0,h.useState)([{}])),y=f()(v,2),b=y[0],_=y[1],k=(0,h.useState)([]),P=f()(k,2),T=P[0],N=P[1];function S(){return C.apply(this,arguments)}function C(){return(C=c()(r()().mark((function e(){var n,t,i,a,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.ZP)("/api/ec_courses/".concat(0,"/ec_points/get_work_points.json"),{method:"get",params:{exercise_id:l,homework_common_id:d}});case 2:(null==(t=e.sent)||null===(n=t.data)||void 0===n?void 0:n.length)>0&&(s=[],null==t||null===(i=t.data)||void 0===i||i.map((function(e){var n;null==e||null===(n=e.ec_point_ids)||void 0===n||n.map((function(e){s.push(e)}))})),p(o()(o()({},null==t||null===(a=t.data)||void 0===a?void 0:a[0]),{},{ec_point_ids:s})),_(null==t?void 0:t.data));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function M(){return(M=c()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.ZP)("/api/schools/".concat(null==i||null===(n=i.userInfo)||void 0===n||null===(n=n.course)||void 0===n?void 0:n.course_school_id,"/ec_majors/get_major_list.json"),{method:"get"});case 2:t=e.sent,N(null==t?void 0:t.data),(d||l)&&S();case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){var e;null!=i&&null!==(e=i.userInfo)&&void 0!==e&&null!==(e=e.course)&&void 0!==e&&e.course_school_id&&function(){M.apply(this,arguments)}()}),[null==i||null===(n=i.userInfo)||void 0===n||null===(n=n.course)||void 0===n?void 0:n.course_school_id]),(0,j.jsxs)("div",{style:{display:null!==(t=i.userInfo.course)&&void 0!==t&&t.is_openengineering?"":"none"},children:[(0,j.jsx)("p",{style:{fontSize:"16px",fontWeight:400},children:"工程认证考核知识点"}),null==b?void 0:b.map((function(e,n){return(0,j.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"10px"},children:[(0,j.jsx)(w,{rz:T,item:e,type:n,setitem:function(e){b.splice(n,1,e),_(s()(b));var t=[];null==b||b.map((function(e){var n;null==e||null===(n=e.ec_point_ids)||void 0===n||n.map((function(e){t.push(e)}))})),p(o()(o()({},e),{},{ec_point_ids:t}))}}),0!=n&&(0,j.jsx)(m.Z,{onClick:function(){b.splice(n,1),_(s()(b))},style:{marginLeft:10,fontSize:"20px"}}),(0,j.jsx)(x.Z,{onClick:function(){b.push({}),_(s()(b))},style:{marginLeft:10,fontSize:"20px"}})]},n)}))]})})))},37363:function(e,n,t){"use strict";t.d(n,{Z:function(){return T}});var i=t(7557),r=t.n(i),a=t(41498),o=t.n(a),l=t(79800),s=t.n(l),u=t(59301),c="list___KhJas",d="row___GGtIx",f="title___o_xqf",h="size___OVRoL",p="download___ZLcIH",v="preview___gi0kI",m="annotation___KVSwj",x=t(92310),g=t.n(x),y=t(84143),b=t(74908),_=t(6457),j=t(27065),w=t(51136),k=t(89918),P=t(37712),T=function(e){var n=e.className,t=e.style,i=e.dataSource,a=void 0===i?[]:i,l=e.authority,x=void 0!==l&&l,T=e.callback,N=e.showDimensions,S=void 0===N||N,C=(0,u.useState)({content:"",type:""}),M=s()(C,2),A=M[0],I=M[1],L=(0,u.useState)({}),Z=s()(L,2),z=Z[0],D=Z[1],F=(0,u.useState)(!1),E=s()(F,2),X=E[0],O=E[1],R=(0,u.useState)({title:"",visible:!1,src:"",snapshotData:{}}),H=s()(R,2),q=H[0],V=H[1],B=(0,u.useRef)(),J=function(){var e=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(D(n),"txt"!==n.file_type){e.next=6;break}return e.next=4,(0,w.ZP)(n.url,{method:"get",headers:{"Content-Type":"application/xml"}});case 4:t=e.sent,B.current=t;case 6:I({type:n.file_type,content:j.Z.API_SERVER+n.url});case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),K=function(e){var n;V({visible:!0,src:j.Z.API_SERVER+e.url,id:e.id,title:e.title,snapshotData:null==e||null===(n=e.subitem)||void 0===n?void 0:n.settings})},U=function(){var e=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I({type:n.file_type,content:j.Z.API_SERVER+(null==n||null===(t=n.subitem)||void 0===t?void 0:t.url)});case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return null!=a&&a.length?(0,P.jsxs)(u.Fragment,{children:[(0,P.jsx)("div",{className:g()(c,n),style:t,children:a.map((function(e,n){var t,i,r;return(0,P.jsxs)("div",{className:d,children:[(0,P.jsxs)("div",{className:f,onClick:function(){return J(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-fujian1"}),(0,P.jsx)("span",{title:e.title,children:e.title})]}),(0,P.jsx)("div",{className:h,children:e.filesize}),(0,P.jsxs)("div",{className:p,onClick:function(){var n;(0,_.Nd)("","".concat(j.Z.API_SERVER).concat(null===(n=e.url)||void 0===n?void 0:n.replace("disposition=inline","")))},children:[(0,P.jsx)("i",{className:"iconfont icon-xiazai4"}),"下载"]}),!["other","download"].includes(null==e?void 0:e.file_type)&&(0,P.jsxs)("div",{className:v,onClick:function(){return J(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-yulan"}),"预览"]}),["image"].includes(null==e?void 0:e.file_type)&&S&&(x?(0,P.jsxs)("div",{className:m,onClick:function(){return K(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-pizhu"}),null!==(t=e.subitem)&&void 0!==t&&t.id?"修改批注":"批注"]}):(null===(i=e.subitem)||void 0===i?void 0:i.id)&&(0,P.jsxs)("div",{className:m,onClick:function(){return U(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-chakanlaoshipizhu1"}),"查看老师批注"]})),["image"].includes(null==e?void 0:e.file_type)&&(null===(r=e.subitem)||void 0===r?void 0:r.id)&&(0,P.jsxs)("div",{className:p,style:{marginLeft:20},onClick:function(){var n;(0,_.Nd)("","".concat(j.Z.API_SERVER).concat(null==e||null===(n=e.subitem)||void 0===n||null===(n=n.url)||void 0===n?void 0:n.replace("disposition=inline","")))},children:[(0,P.jsx)("i",{className:"iconfont icon-xiazai4"}),"下载批注文件"]}),["office"].includes(null==e?void 0:e.file_type)&&(0,k.eB)()&&["xlsx","docx","pptx"].includes(null==e?void 0:e.file_sub)&&S&&(0,P.jsxs)("div",{className:m,onClick:function(){O(!0),J(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-pizhu"}),e.is_edit?"修改批注":"批注"]}),e.is_edit&&(0,k.dE)()&&S&&(0,P.jsxs)("div",{className:m,onClick:function(){J(e)},children:[(0,P.jsx)("i",{className:"iconfont icon-sousuo7"}),"查看老师批注"]})]},n)}))}),(0,P.jsx)(y.Z,{close:!0,data:null==A?void 0:A.content,type:null==A?void 0:A.type,hasMask:!0,editOffice:X?"edit":"view",monacoEditor:{value:B.current,language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onImgDimensions:x&&S&&"image"===A.type?function(){return K(z)}:null,onClose:function(){T(),O(!1),I({content:"",type:""})}}),(0,P.jsx)(b.Z,{onOk:function(){T(),V({visible:!1})},onClose:function(){return V({visible:!1})},data:q})]}):null}},60643:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var i=t(79800),r=t.n(i),a=t(78241),o=t(8772),l=t(3113),s=t(59301),u={search:"search___JA0r9",btn:"btn___GGtZC"},c=t(37712),d=function(e){var n=e.value,t=e.onChange,i=a.Z.useForm(),d=r()(i,1)[0],f=(0,s.useRef)(!1);(0,s.useEffect)((function(){n&&d.setFieldsValue(n)}),n);return(0,c.jsx)("div",{className:u.search,children:(0,c.jsxs)(a.Z,{className:u.formWrap,colon:!1,form:d,size:"large",layout:"inline",onFinish:function(e){f.current||function(e){f.current||t(e),f.current=!0,setTimeout((function(){f.current=!1}),2e3)}(e)},children:[(0,c.jsx)(a.Z.Item,{label:"实践项目名称",name:"keyword",initialValue:"",children:(0,c.jsx)(o.Z,{style:{width:280,height:40}})}),(0,c.jsx)(a.Z.Item,{label:"学校/单位",name:"schools",initialValue:"",style:{margin:"0 40px"},children:(0,c.jsx)(o.Z,{style:{width:280,height:40}})}),(0,c.jsx)(a.Z.Item,{label:"创建者/合作者",name:"creator",initialValue:"",children:(0,c.jsx)(o.Z,{style:{width:200,height:40}})}),(0,c.jsx)(l.ZP,{className:u.btn,type:"primary",htmlType:"submit",children:"搜索"})]})})}},58449:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var i=t(37205),r=t.n(i),a=t(82242),o=t.n(a),l=t(79800),s=t.n(l),u=t(39647),c=t.n(u),d=t(59301),f=t(9221),h=t(37712),p=["onResize","width"],v={header:{cell:function(e){var n=e.onResize,t=e.width,i=c()(e,p);return t?(0,h.jsx)(f.Resizable,{width:t,height:0,handle:(0,h.jsx)("span",{className:"react-resizable-handle",onClick:function(e){e.stopPropagation()}}),onResize:n,draggableOpts:{enableUserSelectHack:!1},children:(0,h.jsx)("th",o()({},i))}):(0,h.jsx)("th",o()({},i))}}},m=t(52306),x=["pagination","resColumns","dataSource","onRow"],g=function(e){var n=e.pagination,t=e.resColumns,i=e.dataSource,a=e.onRow,l=c()(e,x),u=(0,d.useState)(!1),f=s()(u,2),p=f[0],g=(f[1],(0,d.useState)([{}])),y=s()(g,2),b=y[0],_=y[1],j=(0,d.useRef)(null);(0,d.useEffect)((function(){var e=t;e=e.map((function(e,n){return o()(o()({},e),{},{onHeaderCell:function(e){return{width:e.width,onResize:w(n)}}})})),_(e)}),[]),(0,d.useEffect)((function(){j.current=b}),[b]);var w=function(e){return function(n,t){var i=t.size,a=r()(j.current);a[e]=o()(o()({},a[e]),{},{width:i.width}),_(a)}};return(0,h.jsx)("div",{children:(0,h.jsx)(m.Z,o()(o()({bordered:!0,components:v,columns:b,dataSource:i,pagination:n,loading:p,onRow:a},l),{},{rowKey:function(e){return e.key||e.id}}))})}},30941:function(e,n,t){"use strict";t.d(n,{Z:function(){return z},P:function(){return L}});var i=t(37205),r=t.n(i),a=t(39647),o=t.n(a),l=t(7557),s=t.n(l),u=t(82242),c=t.n(u),d=t(41498),f=t.n(d),h=t(79800),p=t.n(h),v=t(59301),m=t(78241),x=t(43418),g=t(5112),y=t(8772),b=t(52306),_="brief___LOzpE",j="contentTitle___xkdcN",w="content___Vtri0",k="antdTable___s8T2N",P="tableCell___kN9Fw",T="antdModal___WVBk3",N="orangeColor___ryB2u",S=t(85062),C=t(37712),M=["isImportMultipleCourse"],A=function(e){var n=e.studentNames,t=e.total;return t>3?(0,C.jsxs)(C.Fragment,{children:["课堂内有",(0,C.jsx)("span",{className:N,children:null==n?void 0:n.join("、")}),"等",(0,C.jsx)("span",{className:N,children:t}),"名学生"]}):(0,C.jsxs)(C.Fragment,{children:["课堂内有",(0,C.jsx)("span",{className:N,children:null==n?void 0:n.join("、")}),["","一","两","三"][t],"名学生"]})},I=function(e){var n=e.onCancel,t=e.onOk,i=e.visible,r=(e.inPaper,e.renderData),a=(e.type,e.isMultipleCourse),o=void 0!==a&&a,l=m.Z.useForm(),u=p()(l,1)[0],d=(0,v.useState)(1),h=p()(d,2),y=h[0],b=h[1],_=(0,v.useState)(!1),j=p()(_,2),k=j[0],P=j[1],S=(0,v.useMemo)((function(){return 1===(null==r?void 0:r.total_num)&&1===(null==r?void 0:r.can_copy_num)}),[r]),M=(0,v.useMemo)((function(){var e;return null==r||null===(e=r.course_data_list)||void 0===e?void 0:e.filter((function(e){return e.is_show}))}),[r]);return(0,C.jsx)(C.Fragment,{children:S?(0,C.jsxs)(x.Z,{centered:!0,closable:!0,open:i,destroyOnClose:!0,title:"提示",className:T,width:682,confirmLoading:k,onCancel:n,onOk:f()(s()().mark((function e(){var n,i,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!0),n=y,o&&(a=c()({},u.getFieldsValue()),n=null==r||null===(i=r.course_data_list)||void 0===i?void 0:i.map((function(e){return void 0!==a[e.id]?c()(c()({},e),{},{is_copy:a[e.id]}):e}))),e.next=5,t(n);case 5:P(!1);case 6:case"end":return e.stop()}}),e)}))),children:[(0,C.jsx)("div",{className:w,style:{marginBottom:20},children:o?"检测到以下课堂已在教学课堂中使用,请问是否复制成新的实训发送至教学课堂中?":(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(A,{studentNames:null==r?void 0:r.student_names,total:null==r?void 0:r.student_count}),"学习过该实践项目。该项目支持复制,请选择是否将该项目复制为新项目发送至课堂中?"]})}),o?(0,C.jsx)(m.Z,{form:u,preserve:!1,children:null==M?void 0:M.map((function(e){return(0,C.jsxs)(v.Fragment,{children:[(0,C.jsx)("h3",{className:"ml15 mb5",children:e.name}),(0,C.jsx)(m.Z.Item,{name:e.id,initialValue:1,children:(0,C.jsxs)(g.ZP.Group,{className:w,children:[(0,C.jsx)(g.ZP,{value:1,style:{color:"#464f66"},children:"复制实训"}),(0,C.jsx)(g.ZP,{value:0,style:{color:"#464f66"},children:"不复制实训"})]})})]},e.id)}))}):(0,C.jsxs)(g.ZP.Group,{value:y,onChange:function(e){return b(e.target.value)},className:w,style:{marginBottom:30},children:[(0,C.jsx)(g.ZP,{value:1,style:{color:"#464f66"},children:"复制"}),(0,C.jsx)(g.ZP,{value:0,style:{color:"#464f66"},children:"不复制"})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:w,style:{marginBottom:10},children:"* 说明:"}),(0,C.jsx)("div",{className:w,style:{marginBottom:20},children:"1、复制系统将复制并创建一个新的项目发送到课堂中使用不会复制学生的挑战记录新的项目支持进行编辑并与原项目信息互不影响。"}),(0,C.jsx)("div",{className:"".concat(w," ").concat(N),children:"2、不复制当前项目会被直接发送到课堂中使用挑战过该项目的学生再次进入项目开启挑战时会清空之前的挑战记录。"})]})]}):(0,C.jsx)(x.Z,{centered:!0,closable:!0,destroyOnClose:!0,open:i,confirmLoading:k,title:"提示",width:682,onCancel:n,onOk:f()(s()().mark((function e(){var n,i,a;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!0),n=0,o&&(a=c()({},u.getFieldsValue()),n=null==r||null===(i=r.course_data_list)||void 0===i?void 0:i.map((function(e){return void 0!==a[e.id]?c()(c()({},e),{},{is_use:a[e.id]}):e}))),e.next=5,t(n);case 5:P(!1);case 6:case"end":return e.stop()}}),e)}))),children:(0,C.jsxs)("div",{className:w,children:[(0,C.jsx)(A,{studentNames:null==r?void 0:r.student_names,total:null==r?void 0:r.student_count}),"学习过该实践项目。",o?(0,C.jsxs)(m.Z,{form:u,preserve:!1,children:[(0,C.jsx)("h3",{children:"当前实训不可复制,已经检测到以下课堂存在该实训,同一实训在课堂中重复使用时,会导致成绩互相影响,请确认是否继续使用"}),null==M?void 0:M.map((function(e){return(0,C.jsxs)(v.Fragment,{children:[(0,C.jsx)("h3",{className:"ml15 mb5",children:e.name}),(0,C.jsx)(m.Z.Item,{name:e.id,initialValue:1,children:(0,C.jsxs)(g.ZP.Group,{className:w,children:[(0,C.jsx)(g.ZP,{value:1,style:{color:"#464f66"},children:"继续使用"}),(0,C.jsx)(g.ZP,{value:0,style:{color:"#464f66"},children:"不使用"})]})})]},e.id)}))]}):(0,C.jsxs)("div",{children:["该项目不支持复制,若确认继续发送,",(0,C.jsx)("span",{className:N,children:"当前项目会被直接发送到课堂中使用,挑战过该项目的学生再次进入项目开启挑战时,会清空之前的挑战记录。"}),"(如果不想清空学生之前的挑战记录,建议参照该实践项目的内容自行创建一个新的项目,或者尝试联系项目创建人开放本项目的复制权限)。"]})]})})})},L=function(){var e=(0,v.useState)(!1),n=p()(e,2),t=n[0],i=n[1],r=(0,v.useState)(),a=p()(r,2),l=a[0],u=a[1],c=function(){var e=f()(s()().mark((function e(n){var t,r,a,l,c;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.isImportMultipleCourse,r=void 0!==t&&t,a=o()(n,M),console.log(n),e.t0=null==n?void 0:n.result,e.t0){e.next=7;break}return e.next=6,(0,S.Tr)(a);case 6:e.t0=e.sent;case 7:if(!("status"in(l=e.t0))){e.next=10;break}return e.abrupt("return",!1);case 10:if(!r){e.next=17;break}if(!(null==l||null===(c=l.course_data_list)||void 0===c?void 0:c.some((function(e){return e.is_show})))){e.next=16;break}return u(l),i(!0),e.abrupt("return",!0);case 16:return e.abrupt("return",l.course_data_list||[]);case 17:if(0!==l.student_count){e.next=19;break}return e.abrupt("return",!1);case 19:return u(l),i(!0),e.abrupt("return",!0);case 22:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return[t,function(){return i(!1)},l,c]},Z=function(e){var n=m.Z.useForm(),t=p()(n,1)[0],i=(0,v.useState)(!1),a=p()(i,2),o=a[0],l=a[1],u=e.onCancel,c=e.onOk,d=e.visible,h=e.inPaper,w=void 0!==h&&h,S=e.renderData,M=e.type,I=e.isMultipleCourse,L=void 0!==I&&I,Z=e.position,z=(0,v.useMemo)((function(){return w?[{title:"实践项目名称",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:P,render:function(e,n){return(0,C.jsx)("a",{href:"/shixuns/".concat(n.identifier,"/challenges"),target:"_blank",children:e})}},{title:"是否复制",dataIndex:"is_copy",align:"center",render:function(e,n){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?n.stage_shixun_id:n.shixun_course_id||n.id),"is_copy"],initialValue:1,children:(0,C.jsxs)(g.ZP.Group,{children:[(0,C.jsx)(g.ZP,{value:1,children:"是"}),(0,C.jsx)(g.ZP,{value:0,children:"否"})]})}),(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==n?void 0:n.stage_shixun_id:n.shixun_course_id||n.id),"is_use"],hidden:!0,initialValue:1,children:(0,C.jsx)(y.Z,{type:"hidden"})})]})}}]:[{title:"实践项目名称",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:P,render:function(e,n){return(0,C.jsx)("a",{href:"/shixuns/".concat(n.identifier,"/challenges"),target:"_blank",children:e})}},{title:"是否使用",dataIndex:"is_use",align:"center",render:function(e,n){return(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?n.stage_shixun_id:n.shixun_course_id||n.id),"is_use"],initialValue:1,children:(0,C.jsxs)(g.ZP.Group,{children:[(0,C.jsx)(g.ZP,{value:1,children:"是"}),(0,C.jsx)(g.ZP,{value:0,children:"否"})]})})}},{title:"是否复制",dataIndex:"is_copy",align:"center",render:function(e,n){return(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?n.stage_shixun_id:n.shixun_course_id||n.id),"is_copy"],initialValue:1,children:(0,C.jsxs)(g.ZP.Group,{children:[(0,C.jsx)(g.ZP,{value:1,children:"是"}),(0,C.jsx)(g.ZP,{value:0,children:"否"})]})})}}]}),[w]),D=(0,v.useMemo)((function(){return w?[{title:"实践项目名称",dataIndex:"name",width:424,className:P,align:"center",ellipsis:!0,render:function(e,n){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("a",{href:"/shixuns/".concat(n.identifier,"/challenges"),target:"_blank",children:e}),(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==n?void 0:n.stage_shixun_id:n.shixun_course_id||n.id),"is_copy"],hidden:!0,initialValue:0,children:(0,C.jsx)(y.Z,{type:"hidden"})}),(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==n?void 0:n.stage_shixun_id:n.shixun_course_id||n.id),"is_use"],hidden:!0,initialValue:1,children:(0,C.jsx)(y.Z,{type:"hidden"})})]})}}]:[{title:"实践项目名称",dataIndex:"name",width:424,className:P,ellipsis:!0,align:"center",render:function(e,n){return(0,C.jsx)("a",{href:"/shixuns/".concat(n.identifier,"/challenges"),target:"_blank",children:e})}},{title:"是否使用",dataIndex:"is_use",align:"center",render:function(e,n){return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==n?void 0:n.stage_shixun_id:n.shixun_course_id||n.id),"is_use"],initialValue:0,children:(0,C.jsxs)(g.ZP.Group,{children:[(0,C.jsx)(g.ZP,{value:1,children:"是"}),(0,C.jsx)(g.ZP,{value:0,children:"否"})]})}),(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==n?void 0:n.stage_shixun_id:n.shixun_course_id||n.id),"is_copy"],hidden:!0,initialValue:0,children:(0,C.jsx)(y.Z,{type:"hidden"})})]})}}]}),[w]);if(L){var F={title:"课堂名称",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:P,render:function(e,n){return(0,C.jsx)("a",{href:"/classrooms/".concat(n.course_id),children:e})}};z=[F].concat(r()(z)),D=[F].concat(r()(D))}var E=(0,v.useMemo)((function(){return function(e){var n=e.used,t=e.copy,i=e.canNotCopy,r=e.studentNames,a=e.studentCount,o=e.inPaper,l=e.is_random,s=void 0!==l&&l,u=e.position,c=(void 0===u?"":u)||(o?"试卷":"课程");return(0,C.jsxs)("span",{children:[(0,C.jsx)(A,{studentNames:r,total:a}),"学习过",c,"中的",(0,C.jsx)("span",{className:N,children:n}),"个项目,",t>0&&i>0?(0,C.jsxs)(C.Fragment,{children:["其中",(0,C.jsx)("span",{className:N,children:t}),"个项目支持复制,",(0,C.jsx)("span",{className:N,children:i}),"个项目不支持复制"]}):t>0&&0===i?(0,C.jsxs)(C.Fragment,{children:["其中",(0,C.jsx)("span",{className:N,children:t}),"个项目支持复制"]}):0===t&&i>0?(0,C.jsxs)(C.Fragment,{children:["其中",(0,C.jsx)("span",{className:N,children:i}),"个项目不支持复制"]}):void 0,"。请选择",s?"":"是否继续使用和","是否复制为新项目发送至课堂中?"]})}({used:null==S?void 0:S.repeat_shixun_num,copy:null==S?void 0:S.can_copy_num,canNotCopy:null==S?void 0:S.no_copy_num,studentNames:null==S?void 0:S.student_names,studentCount:null==S?void 0:S.student_count,is_random:null==S?void 0:S.is_random,inPaper:w,position:Z})}),[S,w,Z]);return(0,C.jsx)(x.Z,{title:"提示",centered:!0,open:d,confirmLoading:o,onOk:f()(s()().mark((function e(){var n,i;return s()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l(!0),n=t.getFieldsValue(),i=Object.keys(n).map((function(e){return{id:parseInt(e.split("_")[0]),course_id:parseInt(e.split("_")[1]),is_use:n[e].is_use,is_copy:n[e].is_copy}})),e.next=5,c(i);case 5:l(!1);case 6:case"end":return e.stop()}}),e)}))),onCancel:u,width:880,okText:"确认",className:T,destroyOnClose:!0,children:(0,C.jsxs)(m.Z,{form:t,preserve:!1,children:[(0,C.jsx)("div",{className:_,children:E}),(0,C.jsxs)("div",{style:{marginBottom:30},children:[(0,C.jsx)("div",{style:{marginBottom:20},children:"* 说明"}),(0,C.jsx)("div",{style:{marginBottom:20},children:"1、复制系统将复制并创建一个新的项目发送到课堂中使用不会复制学生的挑战记录新的项目支持进行编辑并与原项目信息互不影响。"}),(0,C.jsx)("div",{className:N,children:"2、不复制当前项目会被直接发送到课堂中使用挑战过该项目的学生再次进入项目开启挑战时会清空之前的挑战记录。"})]}),(null==S?void 0:S.can_copy_num)>0&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:j,children:"支持复制的项目"}),(0,C.jsx)(b.Z,{columns:z,className:k,dataSource:null==S?void 0:S.can_copy_list,rowKey:"subject"===M?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})]}),(null==S?void 0:S.no_copy_num)>0&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:j,children:"不支持复制的项目"}),(0,C.jsx)(b.Z,{columns:D,className:k,dataSource:null==S?void 0:S.no_copy_list,rowKey:"subject"===M?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})]}),(null==S?void 0:S.no_use_list.length)>0&&(null==S?void 0:S.no_use_list.map((function(e){return(0,C.jsxs)("div",{children:[(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==e?void 0:e.stage_shixun_id:e.shixun_course_id||e.id),"is_copy"],hidden:!0,initialValue:0,children:(0,C.jsx)(y.Z,{type:"hidden"})}),(0,C.jsx)(m.Z.Item,{name:["".concat("subject"===M?null==e?void 0:e.stage_shixun_id:e.shixun_course_id||e.id),"is_use"],hidden:!0,initialValue:1,children:(0,C.jsx)(y.Z,{type:"hidden"})})]},"subject"===M?e.stage_shixun_id:e.shixun_course_id||e.id)})))]})})},z=function(e){return"multiple"===e.modalType?(0,C.jsx)(Z,c()({},e)):(0,C.jsx)(I,c()({},e))}},24996:function(e,n,t){"use strict";t.d(n,{K:function(){return u}});t(59301);var i=t(43418),r=t(49130),a="modal___LGwws",o="closeIcon___vsUXI",l=t(24334),s=t(37712),u=function(e){var n=e.visible,t=e.width,u=e.videoId,c=e.file_url,d=e.course_id,f=(e.copyUrl,e.toLog),h=void 0===f||f,p=e.logWatchHistory,v=void 0===p?function(){}:p,m=e.allow_skip,x=e.onClose,g=void 0===x?function(){}:x,y=e.autoPlay,b=void 0!==y&&y,_=e.onPlayEnded,j=void 0===_?function(){}:_;return(0,s.jsxs)(i.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:n,title:null,footer:null,width:t,className:a,children:[(0,s.jsx)("i",{className:"".concat(o," iconfont icon-guanbi10"),onClick:g}),n&&(0,s.jsx)(r.Z,{onPlayEnded:j,autoPlay:b,allow_skip:m,courseId:d,src:null!=c&&c.startsWith("http")?c:l.Base64.decode(c),videoId:u,toLog:h,logWatchHistory:v})]})}},49130:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var i=t(79800),r=t.n(i),a=t(7557),o=t.n(a),l=t(41498),s=t.n(l),u=t(59301),c=t(8591),d=t(38854),f=t(21771),h=t(63824),p=t(89918),v=t(56102),m=t(3883),x={watermark:"watermark___hNYlv",videovideo:"videovideo___ovOkV",animate__loop:"animate__loop___mvL6s",upDown:"upDown___SlgHv",container:"container___g1WYG","video-container":"video-container___XPkWR","video-controls":"video-controls___to0Zq",hide:"hide___NA3DV","video-progress":"video-progress___gqHsd",seek:"seek___iZHBm","seek-tooltip":"seek-tooltip___uWyXx","bottom-controls":"bottom-controls___uoIBm","left-controls":"left-controls___mBEx4","right-controls":"right-controls___e9L6r",rateOverlay:"rateOverlay___HHBWe",controlText:"controlText___M_BWR","volume-controls":"volume-controls___fa3mE","fullscreen-button":"fullscreen-button___ur0es","fullscreen-button1":"fullscreen-button1___rfaXm","pip-button":"pip-button___GFO8W","playback-animation":"playback-animation___ndURq",volume:"volume___OTmpP",hidden:"hidden___o7GkT"},g=t(37712);function y(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var n=new Date(1e3*e).toISOString().substr(11,8);return{hour:n.substr(0,2),minutes:n.substr(3,2),seconds:n.substr(6,2)}}function b(e,n){return e-n}function _(e){e.sort(b);for(var n=0,t=0;t<e.length-1;t++){var i=Math.abs(e[t+1]-e[t]);i<21&&(n+=i)}return n}Object.defineProperty(HTMLMediaElement.prototype,"playing",{get:function(){return!!(this.currentTime>0&&!this.paused&&!this.ended&&this.readyState>2)}});var j=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i,w=(0,u.forwardRef)((function(e,n){var t,i,a=e.allow_skip,l=e.src,b=e.toLog,w=e.videoId,k=e.logWatchHistory,P=e.courseId,T=void 0===P?null:P,N=e.startTime,S=e.handlePause,C=void 0===S?function(){}:S,M=e.handlePlay,A=void 0===M?function(){}:M,I=e.handlePlayEnded,L=void 0===I?function(){}:I,Z=e.autoPlay,z=void 0!==Z&&Z,D=e.onPlayEnded,F=void 0===D?function(){}:D,E="flv"===(null===(i=l=null===(t=l)||void 0===t?void 0:t.replace("http://","https://"))||void 0===i||null===(i=i.split("."))||void 0===i?void 0:i.pop()),X=(0,u.useRef)(),O=(0,u.useRef)(),R=(0,u.useRef)(),H=(0,u.useRef)(),q=(0,u.useRef)(),V=(0,u.useRef)(),B=(0,u.useRef)(),J=(0,u.useRef)(),K=(0,u.useRef)(),U=(0,u.useRef)(),W=(0,u.useRef)(),G=(0,u.useRef)(),Q=(0,u.useRef)(),Y=(0,u.useRef)(),$=navigator.userAgent.toLowerCase().match(j),ee=$?$[0]:"pc",ne=(0,u.useRef)(!1),te=(0,p.eY)(),ie=0,re=0,ae=0,oe=null,le=!1,se=20,ue=1,ce=!1,de=!1,fe=[];(0,u.useImperativeHandle)(n,(function(){return{getLastUpdatedTime:function(){return X.current.currentTime},getDuration:function(){return X.current.duration}}})),c.ZP.config({maxCount:1,getContainer:function(){return R.current}});var he=(0,u.useCallback)((function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t={point:X.current.currentTime};function i(){return r.apply(this,arguments)}function r(){return(r=s()(o()().mark((function n(){var i;return o()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return ce=!0,n.next=3,null==k?void 0:k(t);case 3:i=n.sent,oe=i,ce=!1,e&&e();case 7:case"end":return n.stop()}}),n)})))).apply(this,arguments)}oe?(t.log_id=oe,t.watch_duration=_(fe),t.total_duration=re):(T?(t.video_id=parseInt(w,10),t.course_id=T):t.video_id=w,t.duration=ie,t.device=ee),n&&(t.ed="1"),i()}),[w,T]);function pe(){X.current.paused?(H.current.style.display="none",q.current.style.display="block"):(H.current.style.display="block",q.current.style.display="none")}function ve(){W.current.style.display="none",Q.current.style.display="none",G.current.style.display="none",X.current.muted||0===X.current.volume?W.current.style.display="block":X.current.volume>0&&X.current.volume<=.5?Q.current.style.display="block":G.current.style.display="block"}(0,u.useEffect)((function(){var e;X.current&&(H.current.style.display="none",q.current.style.display="block"),c.ZP.destroy();var n=null;return f.Z.isSupported&&E&&l&&(null===(e=l)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(n=f.Z.createPlayer({type:"flv",volume:.8,cors:!0,url:l,muted:!1}),X.current&&(n.attachMediaElement(X.current),n.load())):X.current.setAttribute("src",l),ve(),function(){n&&(n.unload(),n.pause(),n.destroy(),n=null)}}),[X,E,l]),(0,u.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){A(),N&&!ne.current&&(X.current.currentTime=N),ne.current=!0,fe.push(X.current.currentTime),le||(le=!0,b&&he())}function n(){return t.apply(this,arguments)}function t(){return(t=s()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:pe(),fe.push(X.current.currentTime),b&&he((function(){oe=null,ae=0,le=!1,ce=!1,de=!1,fe=[],re=0,ue=1}),!0),F();case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function i(){V.current.value=Math.round(X.current.currentTime),B.current.value=Math.round(X.current.currentTime)}function r(){var e=Math.round(X.current.duration);V.current.setAttribute("max",e),B.current.setAttribute("max",e);var n=y(e);J.current.innerText="".concat(n.hour>0?n.hour+":":"").concat(n.minutes,":").concat(n.seconds),J.current.setAttribute("datetime","".concat(n.hour>0?" "+n.hour+" ":"").concat(n.minutes,"m ").concat(n.seconds,"s"))}function l(){try{var e=Math.round(X.current.duration);V.current.setAttribute("max",e),B.current.setAttribute("max",e);var n=y(e);J.current.innerText="".concat(n.hour>0?n.hour+":":"").concat(n.minutes,":").concat(n.seconds),J.current.setAttribute("datetime","".concat(n.hour>0?" "+n.hour+" ":"").concat(n.minutes,"m ").concat(n.seconds,"s")),i(),function(){var e=y(Math.round(X.current.currentTime));K.current.innerText="".concat(e.hour>0?e.hour+":":"").concat(e.minutes,":").concat(e.seconds),K.current.setAttribute("datetime","".concat(e.hour>0?" "+e.hour+" ":"").concat(e.minutes,"m ").concat(e.seconds,"s"))}();var t=O.current.getBoundingClientRect(),r=t.width,a=(t.height,t.x),o=t.y;if(a<0||o<0||!r)return;if(!de){var l=X.current.currentTime,s=l-ae;Math.abs(s)<10?(re+=Math.abs(s),ae=l,ce||re-ue*se>=0&&(ue++,fe.push(ae),b&&he())):(ae=l,b&&he())}}catch(e){console.log(e)}}function u(){de=!0}function d(){X.current.playing&&fe.push(X.current.currentTime,ae),ae=X.current.currentTime,de=!1}function f(){(ie=X.current.duration)<=20&&(se=ie/3),X.current.addEventListener("play",e)}function h(){C()}function p(e){if(a){var n=e.target.dataset.seek?e.target.dataset.seek:e.target.value;X.current.currentTime=n,B.current.value=n,V.current.value=n}else c.ZP.warning("该视频禁止快进/后退播放")}function v(e){var n=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));V.current.setAttribute("data-seek",n);var t=y(n);U.current.textContent="".concat(t.hour>0?t.hour+":":"").concat(t.minutes,":").concat(t.seconds);var i=X.current.getBoundingClientRect();U.current.style.left="".concat(e.pageX-i.left,"px")}function x(e){switch(e.code){case"Space":e.preventDefault(),ye();break;case"ArrowRight":if(e.preventDefault(),!a){c.ZP.warning("该视频禁止快进/后退播放");break}if(X.current.currentTime>=X.current.duration)break;X.current.currentTime=parseInt(X.current.currentTime)+5,i();break;case"ArrowLeft":if(e.preventDefault(),!a){c.ZP.warning("该视频禁止快进/后退播放");break}if(0===X.current.currentTime)break;X.current.currentTime=parseInt(X.current.currentTime)-5,i();break;case"ArrowUp":e.preventDefault(),X.current.volume<1&&(X.current.volume=(parseInt(10*X.current.volume)+1)/10);break;case"ArrowDown":e.preventDefault(),X.current.volume>0&&(X.current.volume=(parseInt(10*X.current.volume)-1)/10)}}return R.current.addEventListener((0,m.gH)(),(function(e){e.preventDefault(),(0,m.vp)()?(X.current.style.width="100%",X.current.style.height="100%"):X.current.style.cssText=""})),X.current.addEventListener("canplay",f),X.current.addEventListener("ended",n),X.current.addEventListener("seeking",u),X.current.addEventListener("seeked",d),X.current.addEventListener("loadedmetadata",r),V.current.addEventListener("mousemove",v),V.current.addEventListener("input",p),X.current.addEventListener("timeupdate",l),X.current.addEventListener("pause",h),X.current.addEventListener("volumechange",ve),document.addEventListener("keydown",x),function(){var t,i,a,o,s,c,m,g,y,_,j,w;null===(t=X.current)||void 0===t||t.removeEventListener("canplay",f),null===(i=X.current)||void 0===i||i.removeEventListener("play",e),null===(a=X.current)||void 0===a||a.removeEventListener("ended",n),null===(o=X.current)||void 0===o||o.removeEventListener("seeking",u),null===(s=X.current)||void 0===s||s.removeEventListener("seeked",d),null===(c=V.current)||void 0===c||c.removeEventListener("mousemove",v),null===(m=V.current)||void 0===m||m.removeEventListener("input",p),null===(g=X.current)||void 0===g||g.removeEventListener("timeupdate",l),null===(y=X.current)||void 0===y||y.removeEventListener("pause",h),null===(_=X.current)||void 0===_||_.removeEventListener("loadedmetadata",r),null===(j=X.current)||void 0===j||j.removeEventListener("volumechange",ve),document.removeEventListener("keydown",x),null!==(w=X.current)&&void 0!==w&&w.playing&&(fe.push(ae,X.current.currentTime),b&&he())}}),[X,l]),(0,u.useEffect)((function(){var e;if(X.current.onended=function(){L(X)},X.current.oncontextmenu=function(){return!1},(null===(e=l)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(X.current.canPlayType("application/vnd.apple.mpegurl"))X.current.src=l;else if(h.ZP.isSupported()){var n=new h.ZP;n.loadSource(l),n.attachMedia(X.current)}}),[l]);var me=(0,u.useState)(1),xe=r()(me,2),ge=(xe[0],xe[1]),ye=function(){X.current.paused||X.current.ended?X.current.play():X.current.pause(),pe()};return(0,g.jsxs)("div",{style:{position:"relative"},ref:R,children:[(0,g.jsx)("div",{ref:O,className:"".concat(x.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(x.animate__loop),children:te?te.login:" "}),(0,g.jsx)("div",{className:x.container,children:(0,g.jsxs)("div",{className:x["video-container"],id:"video-container",children:[(0,g.jsx)("div",{className:x["playback-animation"],id:"playback-animation",children:(0,g.jsxs)("svg",{className:x["playback-icons"],children:[(0,g.jsx)("use",{className:"hidden",href:"#play-icon"}),(0,g.jsx)("use",{href:"#pause"})]})}),(0,g.jsx)("video",{className:x.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:X,autoPlay:z}),(0,g.jsxs)("div",{className:"".concat(x["video-controls"]," "),id:"video-controls",children:[(0,g.jsxs)("div",{className:x["bottom-controls"],children:[(0,g.jsxs)("div",{className:x["left-controls"],children:[(0,g.jsx)("button",{"data-title":"播放/暂停",id:"play",onClick:ye,children:(0,g.jsxs)("svg",{className:x["playback-icons"],children:[(0,g.jsx)("use",{ref:q,href:"#play-icon"}),(0,g.jsx)("use",{ref:H,style:{display:"none"},href:"#pause"})]})}),(0,g.jsxs)("div",{className:x.time,children:[(0,g.jsx)("time",{id:"time-elapsed",ref:K,children:"00:00"}),(0,g.jsx)("span",{children:" / "}),(0,g.jsx)("time",{id:"duration",ref:J,children:"00:00"})]})]}),(0,g.jsxs)("div",{className:x["right-controls"],children:[a&&(0,g.jsx)(d.Z,{placement:"top",overlayClassName:x.rateOverlay,getPopupContainer:function(e){return e.parentNode},menu:{items:[{key:"1",label:(0,g.jsx)("span",{onClick:function(){ge(1),X.current.playbackRate=1},children:"1.0x"})},{key:"2",label:(0,g.jsx)("span",{onClick:function(){ge(1.5),X.current.playbackRate=1.5},children:"1.5x"})},{key:"3",label:(0,g.jsx)("span",{onClick:function(){ge(2),X.current.playbackRate=2},children:"2.0x"})}]},children:(0,g.jsx)("div",{className:"".concat(x.controlText," mr5"),children:"倍速"})}),(0,g.jsx)(v.CopyToClipboard,{text:l,onCopy:function(){return c.ZP.success("复制成功")},children:(0,g.jsx)("button",{"data-title":"复制链接",children:(0,g.jsx)("i",{className:"icon-lianjie2 iconfont",style:{fontSize:"12px",color:"white"}})})}),(0,g.jsxs)("div",{className:x["volume-controls"],children:[(0,g.jsxs)("button",{"data-title":"开启/关闭声音",className:x["volume-button"],id:"volume-button",onClick:function(){X.current.muted=!X.current.muted,X.current.muted?(Y.current.setAttribute("data-volume",volume.value),Y.current.value=0):Y.current.value=Y.current.dataset.volume},children:[(0,g.jsx)("i",{ref:W,className:"icon-a-bianzu8 iconfont",style:{fontSize:"14px",color:"white"}}),(0,g.jsx)("i",{ref:Q,className:"icon-shengyinkaibeifen iconfont",style:{fontSize:"14px",color:"white"}}),(0,g.jsx)("i",{ref:G,className:"icon-shengyinkai iconfont",style:{fontSize:"14px",color:"white"}})]}),(0,g.jsx)("input",{className:x.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Y,style:{display:"none"},onClick:ve})]}),(0,g.jsx)("button",{"data-title":"全屏/退出全屏",className:x["fullscreen-button"],onClick:function(){(0,m.vp)()?(0,m.BU)():(0,m.Dj)(R.current)},children:(0,g.jsx)("i",{className:"icon-fangda1 iconfont",style:{fontSize:"12px",color:"white"}})})]})]}),(0,g.jsxs)("div",{className:x["video-progress"],children:[(0,g.jsx)("progress",{ref:B,value:"0",min:"0"}),(0,g.jsx)("input",{className:x.seek,ref:V,value:"0",min:"0",type:"range",step:"1"}),(0,g.jsx)("div",{className:x["seek-tooltip"],ref:U,id:"seek-tooltip",children:"00:00"})]})]})]})}),(0,g.jsx)("svg",{style:{display:"none"},children:(0,g.jsxs)("defs",{children:[(0,g.jsx)("symbol",{id:"pause",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})}),(0,g.jsx)("symbol",{id:"play-icon",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})}),(0,g.jsx)("symbol",{id:"volume-high",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})}),(0,g.jsx)("symbol",{id:"volume-low",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})}),(0,g.jsx)("symbol",{id:"volume-mute",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})}),(0,g.jsx)("symbol",{id:"fullscreen",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})}),(0,g.jsx)("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})}),(0,g.jsx)("symbol",{id:"pip",viewBox:"0 0 24 24",children:(0,g.jsx)("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})})]})})]})}))},98329:function(e,n,t){"use strict";var i=t(7557),r=t.n(i),a=t(37205),o=t.n(a),l=t(41498),s=t.n(l),u=t(82242),c=t.n(u),d=t(79800),f=t.n(d),h=t(59301),p=t(78241),v=t(43418),m=t(87876),x=t(95237),g=t(43604),y=t(6848),b=t(12563),_=t(99232),j=t.n(_),w=t(7880),k=t(27065),P=t(84143),T=t(6457),N=t(37712),S={delay_publish:0,is_public:[!1],description:"",title:"",link:"",publish_time:""};n.Z=(0,w.connect)((function(e){var n=e.attachment,t=e.loading;return{attachment:n,globalSetting:e.globalSetting,loading:t}}))((function(e){var n=e.attachment,t=e.dispatch,i=e.loading,a=e.globalSetting,l=(0,w.useParams)(),u=(n.detail,p.Z.useForm()),d=f()(u,1)[0],_=(0,h.useState)(!1),C=f()(_,2),M=C[0],A=C[1],I=(0,h.useState)([]),L=f()(I,2),Z=L[0],z=L[1],D=(0,h.useState)(c()({},S)),F=f()(D,2),E=F[0],X=F[1],O=(0,h.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),R=f()(O,2),H=R[0],q=R[1];l.id=l.coursesId,l.course_id=l.coursesId;var V=function(){var e=s()(r()().mark((function e(){var i,a,s,u,f,h;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s={},s="课程内教学课件预览"==(null==n||null===(i=n.actionTabs)||void 0===i||null===(i=i.params)||void 0===i?void 0:i.openType)?c()({},n.actionTabs.params):c()({},l),e.next=4,t({type:"attachment/getDetail",payload:s});case 4:(u=e.sent).delay_publish=u.delay_publish?1:0,E.is_public=[u.is_public],E.description=u.description,E.delay_publish=u.delay_publish,E.publish_time=u.publish_time,d.setFieldsValue(E),z([c()({},u)].concat(o()(null==u?void 0:u.attachment_histories))),null!=u&&null!==(a=u.attachment_histories)&&void 0!==a&&a.length?A(!0):u.link||"application/pdf"===u.content_type?((0,T.xg)(k.Z.IMG_SERVER+u.url),t({type:"attachment/setActionTabs",payload:{}})):(H.type=u.file_type,H.data=k.Z.API_SERVER+u.url,H.recordInfo={id:null==n||null===(f=n.actionTabs)||void 0===f||null===(f=f.selectArrs)||void 0===f?void 0:f.id,course_id:null==n||null===(h=n.actionTabs)||void 0===h||null===(h=h.params)||void 0===h?void 0:h.course_id},"txt"===u.file_type&&(H.monacoEditor.value=u.content),q(c()({},H)));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,h.useEffect)((function(){var e;"资源下载"===n.actionTabs.key?(l.id=null===(e=n.actionTabs.selectArrs)||void 0===e?void 0:e.id,d.resetFields(),V()):A(!1)}),[n.actionTabs.key,l.id]),(0,h.useEffect)((function(){return function(){q(c()(c()({},H),{},{type:""})),t({type:"attachment/setActionTabs",payload:{}})}}),[]),(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(v.Z,{centered:!0,title:"资源下载",open:M,okText:"确定",destroyOnClose:!0,maskClosable:!1,cancelText:"取消",width:600,onOk:s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:"attachment/setActionTabs",payload:{}});case 1:case"end":return e.stop()}}),e)}))),onCancel:function(){X(c()({},S)),t({type:"attachment/setActionTabs",payload:{}})},children:(0,N.jsx)("section",{className:"pl20 pr20 pt10",children:(0,N.jsxs)(m.Z,{loading:i["attachment/getDetail"],active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30",children:[(0,N.jsxs)(x.Z,{align:"middle",justify:"center",style:{background:"#eee"},gutter:[20,8],children:[(0,N.jsx)(g.Z,{flex:"307px",children:"资源名称"}),(0,N.jsx)(g.Z,{flex:"80px",children:"下载"}),(0,N.jsx)(g.Z,{flex:"140px",children:"版本号"})]}),null==Z?void 0:Z.map((function(e,n){return(0,N.jsxs)(x.Z,{align:"middle",justify:"center",style:{borderBottom:"1px solid #eaeaea"},gutter:[20,8],children:[(0,N.jsx)(g.Z,{flex:"307px",children:(0,N.jsx)(y.Z,{title:e.title,children:(0,N.jsxs)(x.Z,{children:[(0,N.jsx)(g.Z,{children:(0,N.jsx)("a",{href:k.Z.API_SERVER+e.url,target:"_blank",className:"multi_ellipsis1 c-grey-333 mr5",onClick:function(n){e.link||"application/pdf"===e.content_type||a.setting.is_local||(n.preventDefault(),H.type=e.file_type,H.data=k.Z.API_SERVER+e.url,"txt"===e.file_type&&(H.monacoEditor.value=e.content),q(c()({},H)))},children:e.title})}),(0,N.jsx)(g.Z,{children:(0,N.jsx)(b.Z,{className:"",color:0===n?"green":"orange",children:0===n?"当前版本":"历史版本"})})]})})}),(0,N.jsx)(g.Z,{flex:"80px",children:e.downloads_count}),(0,N.jsx)(g.Z,{flex:"140px",children:j()(e.created_on).format("YYYY-MM-DD HH:mm")})]},n)}))]})})}),(0,N.jsx)(P.Z,c()(c()({},H),{},{onClose:function(){q(c()(c()({},H),{},{type:""})),t({type:"attachment/setActionTabs",payload:{}})}}))]})}))},14743:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return gr}});var i=t(7557),r=t.n(i),a=t(82242),o=t.n(a),l=t(41498),s=t.n(l),u=t(79800),c=t.n(u),d=t(39647),f=t.n(d),h=t(59301),p=t(7880),v=t(37205),m=t.n(v),x=t(8591),g=t(43418),y=t(5112),b=t(6848),_=t(38854),j=t(20834),w=t(41750),k=t(3113),P=t(12078),T={flex_box_center:"flex_box_center___GMs27",flex_space_between:"flex_space_between___iZX2j",flex_box_vertical_center:"flex_box_vertical_center___FAqrL",flex_box_center_end:"flex_box_center_end___bcsHk",flex_box_column:"flex_box_column___bbK5J",banner:"banner___J_z1y",wrp:"wrp___J4x9Y",titleWrap:"titleWrap___PRimN",titleFlexEnd:"titleFlexEnd___iJ3Lp",title:"title___p7Rh_",titleName:"titleName___rfBg7",titleIcon:"titleIcon___krG4h",contentWrap:"contentWrap___TSTbZ",verticalLine:"verticalLine___I9rNF",contentLeftWrap:"contentLeftWrap___ctnXO",openCourseTag:"openCourseTag___GKlHI",tagsWrap:"tagsWrap___Fm7yN",ratingWrap:"ratingWrap___txiLS",ratingTitle:"ratingTitle___Q3b2_",rating:"rating___nWYrn",popoverWrap:"popoverWrap___OuHzS",popverLeft:"popverLeft___LE1m6",popoverRight:"popoverRight___qoc3O",popverScore:"popverScore___yjk5A",popoverRateWrap:"popoverRateWrap___LTwq7",popoverProgress:"popoverProgress___zgQTd",button:"button___laG3U",operationWrap:"operationWrap___HATT3",forkWrap:"forkWrap___JKLmo",fork:"fork___WAxXu",forkNum:"forkNum___mVT0B",buttonTransparent:"buttonTransparent___UvCv6",buttonLearnStatistics:"buttonLearnStatistics___clQ8y",publishPopverWrap:"publishPopverWrap___HdjD0",colorFF6802:"colorFF6802___qG9SX",w140:"w140___sbUdr",nav:"nav___MhhTj",navLeft:"navLeft___lqVWg",navContent:"navContent___n2s_9",flexRow:"flexRow___zwFIa",navRight:"navRight____4Spc",navLeftIcon:"navLeftIcon___WHxlM",colorOrange:"colorOrange___L2ZcR",contentItem:"contentItem___bTFib",contentItemTitle:"contentItemTitle___cRyCT",contentItemText:"contentItemText___p2VVW",classButton:"classButton___ht2ZK",bg28e:"bg28e___Lpwef",bgGray:"bgGray___ix5uS",btn:"btn___cK9ZK",laboratory:"laboratory___EJVoA",name:"name___bHCrt"},N=t(89918),S=t(70738),C=t(57809),M=t(95237),A=t(43604),I=t(24905),L=t(51589),Z=t(99232),z=t.n(Z),D="scoremodal___BKuJN",F="wrap___ptPf6",E="wrap_title___QhQIv",X="radioWrap___YOQsB",O="createMkdir___kT_2U",R="tree___an1x1",H=t(6457),q=t(30941),V=t(37712),B=["pathsDetail","globalSetting","loading","dispatch"],J=C.default.Option,K=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.loading;return{pathsDetail:n,globalSetting:e.globalSetting,loading:t.effects}}))((function(e){var n=e.pathsDetail,t=(e.globalSetting,e.loading,e.dispatch),i=(f()(e,B),(0,p.useParams)()),a=(0,h.useState)(),l=c()(a,2),u=l[0],d=l[1],v=(0,h.useState)([]),m=c()(v,2),y=m[0],_=m[1],j=(0,h.useState)([]),w=c()(j,2),k=w[0],P=w[1],T=(0,h.useState)([]),N=c()(T,2),Z=N[0],K=N[1],U=(0,h.useState)(),W=c()(U,2),G=W[0],Q=W[1],Y=(0,h.useState)(),$=c()(Y,2),ee=$[0],ne=$[1],te=(0,h.useState)(!0),ie=c()(te,2),re=ie[0],ae=ie[1];(0,h.useEffect)((function(){"PathsDetail-SendToClass"===n.actionTabs.key&&le()}),[n.actionTabs.key]);var oe=function(e){switch(e.item_type){case"Shixun":return(0,V.jsx)(b.Z,{title:null!=e&&e.is_published?"":null!=e&&e.edit_permission?"实训需要发布后才能发送到课堂,点击名称可前往实训详情":"实训需要发布后才能发送到课堂,请联系实训管理员发布",children:(0,V.jsxs)("span",{onClick:function(){null!=e&&e.is_published||null==e||!e.edit_permission||window.open("/shixuns/".concat(e.identifier,"/challenges"))},children:[(0,V.jsx)("span",{className:"mr5 c-light-primary",children:"实训"}),e.name,!(null!=e&&e.is_published)&&(0,V.jsx)("span",{style:{marginLeft:5,color:"rgb(216, 216, 216)"},children:"未发布"}),"Shixun"===e.item_type&&e.is_unity_3d&&(0,V.jsx)("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"},children:"虚拟仿真"}),"Shixun"===e.item_type&&e.is_jupyter_lab&&(0,V.jsx)("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"},children:"JupyterLab"}),"Shixun"===e.item_type&&e.is_jupyter&&(0,V.jsx)("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"},children:"Jupyter Notebook"})]})});case"Attachment":return(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5 c-cyan-blue",children:"课件"}),e.name]});case"ExaminationBank":return(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5",style:{color:"#e69917"},children:"测验"}),e.name]});case"HomeworkCommon":return(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5",style:{color:"#E99237"},children:"编程作业"}),e.name]});case"VideoItem":return(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5 c-purple-8C1",children:"视频"}),e.name]});case"SubjectHomework":return"group"==(null==e?void 0:e.homework_type)?(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5",style:{color:"#AABF07"},children:"分组作业"}),e.name]}):(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{className:"mr5",style:{color:"#20BB8A"},children:"图文作业"}),e.name]});case"StageCatalog":return(0,V.jsx)("span",{children:e.name});default:return""}},le=function(){var e=s()(r()().mark((function e(){var n,t,a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.MO)({id:i.pathId});case 2:(n=e.sent)&&(_((null==n?void 0:n.courses)||[]),a=null===(t=n.stages)||void 0===t?void 0:t.map((function(e,n){var t;return{title:e.state_name||"",key:n,children:null===(t=e.items)||void 0===t?void 0:t.map((function(e,t){var i;return o()(o()({},e),{},{title:oe(e),key:"".concat(n,"-").concat(t),disabled:"ExaminationBank"==(null==e?void 0:e.item_type)||"Shixun"===(null==e?void 0:e.item_type)&&!1===(null==e?void 0:e.is_published),children:null===(i=e.children)||void 0===i?void 0:i.map((function(i,r){return o()(o()({},i),{},{title:oe(i),disabled:"ExaminationBank"==(null==i?void 0:i.item_type)||"Shixun"===(null==e?void 0:e.item_type)&&!1===(null==e?void 0:e.is_published),key:"".concat(n,"-").concat(t,"-").concat(r)})}))})}))}})),P(a||[]));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=Z.filter((function(e){return"string"==typeof e})),n=[],t=[],i=[],r=[],a=[],o=[],l=[],s=[];return null==k||k.map((function(u,c){var d;null==u||null===(d=u.children)||void 0===d||d.map((function(u,d){var f;e.includes("".concat(c,"-").concat(d))&&(i.push(u.stage_item_id),"Shixun"===u.item_type?n.push(u.id):"Attachment"===u.item_type?r.push(u.id):"VideoItem"===u.item_type?t.push(u.id):"ExaminationBank"===u.item_type?l.push(u.id):"HomeworkCommon"===u.item_type?s.push(u.id):"SubjectHomework"===u.item_type&&("group"==u.homework_type?a.push(u.id):"normal"==u.homework_type&&o.push(u.id))),null==u||null===(f=u.children)||void 0===f||f.map((function(f,h){e.includes("".concat(c,"-").concat(d,"-").concat(h))&&(i.push(f.stage_item_id),"Shixun"===f.item_type?n.push(f.id):"Attachment"===f.item_type?r.push(f.id):"VideoItem"===f.item_type?t.push(f.id):"ExaminationBank"===u.item_type?l.push(f.id):"HomeworkCommon"===u.item_type?s.push(f.id):"SubjectHomework"===u.item_type&&("group"==u.homework_type?a.push(u.id):"normal"==u.homework_type&&o.push(u.id)))}))}))})),{shixunIds:n,videoItemIds:t,stageItemIds:i,coursewareIds:r,groupIds:a,normalIds:o,banksIds:l,hackIds:s}},ue=(0,q.P)(),ce=c()(ue,4),de=ce[0],fe=ce[1],he=ce[2],pe=ce[3],ve=function(){var e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=se(),t=n.stageItemIds,u){e.next=4;break}return x.ZP.info("您还未选择发送的课堂"),e.abrupt("return");case 4:if(be.length||je.length||Se.length||Me.length||Ie.length||ke.length||Te.length){e.next=7;break}return x.ZP.info("您还未选择实训、视频、分组作业、图文作业、测验或者编程作业"),e.abrupt("return");case 7:return ne(!0),e.next=10,pe({id:i.pathId,course_id:parseInt(u),type:"subject",stage_item_id:t,sync_catelog:re?1:0});case 10:if(e.sent){e.next=14;break}return e.next=14,me(t.map((function(e){return{id:e,is_copy:0,is_use:1}})));case 14:ne(!1),xe();case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),me=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.Q)({id:i.pathId,course_id:u,stage_shixuns:n.map((function(e){return{stage_shixun_id:e.id,is_copy:e.is_copy,is_use:e.is_use}})),sync_catelog:re?1:0});case 2:t=e.sent,d(null),fe(),1===(null==t?void 0:t.status)&&g.Z.confirm({title:"提示",centered:!0,okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",children:t.message}),onOk:function(){var e,n=null==t||null===(e=t.url.split("/"))||void 0===e?void 0:e[2];(0,H.xg)("/classrooms/".concat(n,"/shixun_homework"))}});case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),xe=function(){t({type:"pathsDetail/setActionTabs",payload:{}}),K([]),Q(null)},ge=se(),ye=ge.shixunIds,be=void 0===ye?[]:ye,_e=ge.videoItemIds,je=void 0===_e?[]:_e,we=ge.banksIds,ke=void 0===we?[]:we,Pe=ge.hackIds,Te=void 0===Pe?[]:Pe,Ne=ge.coursewareIds,Se=void 0===Ne?[]:Ne,Ce=ge.groupIds,Me=void 0===Ce?[]:Ce,Ae=ge.normalIds,Ie=void 0===Ae?[]:Ae;return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(g.Z,{title:"发送至课堂",keyboard:!1,destroyOnClose:!0,open:"PathsDetail-SendToClass"===n.actionTabs.key,width:800,centered:!0,confirmLoading:ee,className:D,onCancel:xe,onOk:ve,children:(0,V.jsxs)("div",{className:F,children:[(0,V.jsx)("div",{className:"mb10",children:(0,V.jsx)(C.default,{placeholder:"请选择您要发送的课堂",defaultOpen:!1,value:u,style:{width:"100%"},onSelect:function(e){return d(e)},optionLabelProp:"lable",children:null==y?void 0:y.map((function(e,n){return(0,V.jsx)(J,{value:e.course_id,lable:e.course_name,children:(0,V.jsxs)(M.Z,{justify:"space-between",children:[(0,V.jsx)(A.Z,{children:e.course_name}),(0,V.jsx)(A.Z,{children:z()(e.created_at).format("YYYY-MM-DD HH:mm")})]})},e.course_id)}))})}),(0,V.jsxs)("div",{className:E,children:["温馨提示:",(0,V.jsx)("br",{}),"1.请在本课程中选择所需项目发送到指定课堂,分组作业不会被发送至开放课堂;",(0,V.jsx)("br",{}),"2.未发布的实训不能发送至课堂"]}),(0,V.jsxs)("a",{onClick:function(){le()},children:[(0,V.jsx)("i",{className:"iconfont icon-shuaxin3 font14 mr5",style:{color:"#3061d0"}}),"刷新列表"]}),(0,V.jsxs)("div",{className:X,children:[(0,V.jsx)("div",{children:(0,V.jsx)(I.Z,{value:G,onChange:function(e){var n=e.target.checked,t=[];null==k||k.map((function(e,n){var i;t.push(n),null==e||null===(i=e.children)||void 0===i||i.map((function(i,r){var a;"ExaminationBank"==(null==i?void 0:i.item_type)||null!=i&&i.disabled||(t.push("".concat(n,"-").concat(r)),null==i||null===(a=i.children)||void 0===a||a.map((function(i,a){null!=e&&e.disabled||t.push("".concat(n,"-").concat(r,"-").concat(a))})))}))})),K(n?t:[])},className:"font14 ml20",children:"全选"})}),!(null==k||!k.length)&&(0,V.jsx)(L.Z,{className:R,checkable:!0,defaultExpandAll:!0,treeData:k,checkedKeys:Z,onCheck:function(e,n){return function(e,n){K(e)}(e)}})]}),(0,V.jsxs)("div",{className:O,children:[(0,V.jsx)(I.Z,{checked:re,onChange:function(e){return ae(e.target.checked)},className:"font14",children:"选中章节在课堂中同步生成目录"}),!!(be.length+je.length+Me.length+Ie.length+ke.length+Te.length)&&(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{children:"已选中:"}),!!be.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"c-light-primary",children:[be.length," "]}),(0,V.jsx)("span",{children:"个实训"})]}),!!je.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"c-purple-8C1 ml5",children:[je.length," "]}),(0,V.jsx)("span",{children:"个视频"})]}),!!Se.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"c-cyan-blue ml5",children:[Se.length," "]}),(0,V.jsx)("span",{children:"个课件"})]}),!!Me.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"ml5",style:{color:"#AABF07"},children:[Me.length," "]}),(0,V.jsx)("span",{children:"个分组作业"})]}),!!Ie.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"ml5",style:{color:"#20BB8A"},children:[Ie.length," "]}),(0,V.jsx)("span",{children:"个图文作业"})]}),!!ke.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"ml5",style:{color:"#e69917"},children:[ke.length," "]}),(0,V.jsx)("span",{children:"个测验"})]}),!!Te.length&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)("span",{className:"ml5",style:{color:"#e69917"},children:[Te.length," "]}),(0,V.jsx)("span",{children:"个编程作业"})]})]})]})]})}),(0,V.jsx)(q.Z,{visible:de,inPaper:!1,renderData:he,onCancel:fe,onOk:me,modalType:"multiple",type:"subject"})]})})),U=t(54506),W=t(56102),G=t(78241),Q=t(19842),Y=t(8772),$=t(71418),ee=t(51136),ne="applyPublicContainer___UVHD5",te="applyPublicContent___XjdaZ",ie="spin___xLRsh",re="tips___Hok1Y",ae="action___Wp5oZ",oe=function(e){var n=e.type,t=e.onCancel,i=e.onOk,a=G.Z.useForm(),o=c()(a,1)[0],l=(0,h.useState)(!0),u=c()(l,2),d=u[0],f=u[1],p=(0,h.useState)(!1),v=c()(p,2),m=v[0],y=v[1],b=(0,h.useState)([]),_=c()(b,2),j=_[0],w=_[1];(0,h.useEffect)((function(){k()}),[]);var k=function(){var e=s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=7;break}return y(!0),e.next=4,(0,ee.ZP)("/api/disciplines.json",{method:"get",params:{source:n}});case 4:t=e.sent,w(t.disciplines||[]),y(!1);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,V.jsx)(g.Z,{width:600,className:ne,title:"添加方向&课程弹窗",okText:"申请公开",open:!0,onCancel:t,onOk:function(){var e=o.getFieldsValue(),n=e.sub_discipline_id,t=e.discipline_name,r=e.sub_discipline_name;if((!n||n&&0===n.length)&&(!t||!r))return x.ZP.warning("请选择方向&课程"),!1;i({user_customize:n&&0===n.length||!n,sub_discipline_id:n,discipline_name:t,sub_discipline_name:r})},children:(0,V.jsxs)("div",{className:te,children:[(0,V.jsx)("div",{className:re,children:"需填写实践项目的方向&课程后,才能申请公开"}),(0,V.jsxs)(G.Z,{labelCol:{span:4},labelAlign:"right",form:o,children:[(0,V.jsxs)(G.Z.Item,{label:"方向&课程:",name:"sub_discipline_id",children:[(0,V.jsx)(Q.Z,{expandTrigger:"hover",placeholder:"请选择方向&课程",options:j,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:function(e,n){return o.setFieldsValue({sub_discipline_id:e})}}),(0,V.jsxs)("div",{className:ae,onClick:function(){return f(!d)},children:[(0,V.jsx)("div",{children:"自定义方向&课程"}),(0,V.jsxs)("div",{children:[(0,V.jsx)("span",{children:d?"展开":"收起"}),(0,V.jsx)("span",{children:(0,V.jsx)("i",{className:"iconfont ".concat(d?"icon-zhankai2":"icon-shouqi1")})})]})]})]}),!d&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(G.Z.Item,{label:"方向",name:"discipline_name",children:(0,V.jsx)(Y.Z,{placeholder:"请输入方向",autoComplete:"off"})}),(0,V.jsx)(G.Z.Item,{label:"课程",name:"sub_discipline_name",children:(0,V.jsx)(Y.Z,{placeholder:"请输入课程",autoComplete:"off"})})]})]}),m&&(0,V.jsx)("div",{className:ie,children:(0,V.jsx)($.Z,{})})]})})},le=t(42783);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var se="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiLz48cGF0aCBkPSJNNC41IDE3Ljk0UzUuNTg3IDguNDUgMTMuODYgOC40NVY1bDUuOTUyIDYuMDQtNS45NTMgNi4wMzd2LTMuNDVTNy45NTEgMTIuOTYgNC41IDE3Ljk0IiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+";Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var ue="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiLz48cGF0aCBkPSJNMTUuMjg0IDVBNC4xMDYgNC4xMDYgMCAwIDAgMTIgNi43MjcgNC4wOTQgNC4wOTQgMCAwIDAgOC43MTYgNUM2LjM5IDUgNC41IDcuMDc4IDQuNSA5LjYzYTYuMTYzIDYuMTYzIDAgMCAwIDEuMjIzIDMuNDUyYzEuNTgyIDIuNSA1LjU2NyA1LjYgNS43MzggNS43MjlhLjg2My44NjMgMCAwIDAgMS4wNzggMGMuMTczLS4xMjkgNC4xNDctMy4yMzggNS43MzgtNS43MjlBNi4xNjMgNi4xNjMgMCAwIDAgMTkuNSA5LjYzQzE5LjUgNy4wOCAxNy42MSA1IDE1LjI4NCA1WiIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==",ce=["pathsDetail","user","globalSetting","loading","dispatch"],de=[{name:"未发布",connect:"当前课程正在开发中,不可被他人使用",bkcolor:"#D8D8D8",txcolor:"#FFFFFF"},{name:"静默发布",connect:"当前课程已发布,可以通过分享链接使用,但不能被开放检索",bkcolor:"#7B92C7",txcolor:"#FFFFFF"},{name:"公开审核",connect:"当前课程已发布,申请纳入开放检索,目前平台正在审核中",bkcolor:"#F9AF7E",txcolor:"#A44C11"},{name:"公开发布",connect:"当前课程已发布,且可被开放检索",bkcolor:"#FFE9C1",txcolor:"#A45204"}],fe=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.user,i=e.loading;return{pathsDetail:n,user:t,globalSetting:e.globalSetting,loading:i.models.index}}))((function(e){var n,t,i,a,l,u,d,v,C,M,A,I,L,Z,z,D,F,E,X,O,R,q,B,J,G,Q,Y,$,ee,ne,te,ie,re,ae,fe,he,pe,ve,me,xe,ge,ye,be,_e,je,we,ke,Pe,Te,Ne,Se,Ce,Me,Ae,Ie,Le,Ze,ze,De,Fe,Ee,Xe,Oe,Re,He,qe,Ve,Be,Je,Ke,Ue,We,Ge,Qe,Ye,$e,en,nn,tn,rn,an,on,ln,sn,un,cn,dn,fn,hn,pn,vn,mn,xn,gn,yn,bn,_n,jn,wn,kn,Pn,Tn,Nn,Sn,Cn,Mn,An=e.pathsDetail,In=e.user,Ln=(e.globalSetting,e.loading,e.dispatch),Zn=(f()(e,ce),(0,p.useParams)()),zn=(0,h.useState)({}),Dn=c()(zn,2),Fn=Dn[0],En=Dn[1],Xn=(0,h.useRef)(1),On=(0,h.useState)(),Rn=c()(On,2),Hn=Rn[0],qn=Rn[1],Vn=(0,h.useState)(!1),Bn=c()(Vn,2),Jn=Bn[0],Kn=Bn[1],Un=(0,h.useState)(!1),Wn=c()(Un,2),Gn=Wn[0],Qn=Wn[1],Yn=(0,h.useRef)(null),$n=(0,h.useState)({status:!1}),et=c()($n,2),nt=et[0],tt=et[1];(null===(n=An.detail)||void 0===n?void 0:n.is_free)||null===(t=An.detail)||void 0===t||t.can_learning;(0,h.useEffect)((function(){tt({status:!1})}),[]),(0,h.useEffect)((function(){function e(){return(e=s()(r()().mark((function e(){var n,t,i,a,o,l,s,u,c;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:null!==(n=An.detail)&&void 0!==n&&n.courses&&(null!=(o=null===(t=An.detail)||void 0===t?void 0:t.courses)&&null!==(i=o.toast)&&void 0!==i&&i.is_open&&-1===(null===(a=o.toast)||void 0===a?void 0:a.open_num)?Qn(!0):null!=o&&null!==(l=o.toast)&&void 0!==l&&l.is_open&&1===(null==o||null===(s=o.toast)||void 0===s?void 0:s.open_num)?(c=JSON.parse(localStorage.getItem("pathsshow"))||[],(null===(u=c.filter((function(e){return e===(null==Zn?void 0:Zn.pathId)})))||void 0===u?void 0:u.length)>0?Qn(!1):(Qn(!0),c.push(null==Zn?void 0:Zn.pathId),localStorage.setItem("pathsshow",JSON.stringify(c)))):Qn(!1));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[null===(i=An.detail)||void 0===i?void 0:i.courses]),(0,h.useEffect)((function(){var e,n,t;if(null===(e=An.detail)||void 0===e||null===(e=e.courses)||void 0===e?void 0:e.length){var i;if(null!==(n=An.detail)&&void 0!==n&&n.has_start){var r,a=null===(r=An.detail)||void 0===r||null===(r=r.courses)||void 0===r?void 0:r.findIndex((function(e){var n;return 1===(null===(n=e.course_status)||void 0===n?void 0:n.status)}));i=a>-1?a:0}else{var o,l,s=null===(o=An.detail)||void 0===o||null===(o=o.courses)||void 0===o||null===(o=o.map((function(e){var n;return null===(n=e.course_status)||void 0===n?void 0:n.status})))||void 0===o?void 0:o.lastIndexOf(2);i=s>-1?s:0,i=(s=null===(l=An.detail)||void 0===l||null===(l=l.courses)||void 0===l?void 0:l.findIndex((function(e){var n;return 0===(null===(n=e.course_status)||void 0===n?void 0:n.status)})))>-1?s:i}En((null===(t=An.detail)||void 0===t?void 0:t.courses[i])||{})}}),[An.detail]);var it=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.rs)({container_id:Zn.pathId,container_type:"Subject"});case 2:0===(n=e.sent).status&&(vt(),x.ZP.success(n.message));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),rt=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.KM)({container_id:Zn.pathId,container_type:"Subject"});case 2:0===(n=e.sent).status&&(vt(),x.ZP.success(n.message));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),at=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({centered:!0,width:430,title:"提示",okText:"确定",cancelText:"取消",icon:null,content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"是否删除实践课程?"}),onOk:function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.eJ)({id:Zn.pathId});case 2:1===e.sent.status&&p.history.push("/paths");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ot=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.info({centered:!0,width:530,title:"提示",okText:"知道啦",icon:null,content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"课程发布后即可发送课堂使用"}),onOk:function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.Go)({id:Zn.pathId});case 2:0===(null==(n=e.sent)?void 0:n.status)&&(vt(),x.ZP.success(n.message));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),lt=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({centered:!0,width:430,title:"提示",okText:"确定",cancelText:"取消",icon:null,content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"是否确认撤销发布?"}),okButtonProps:{loading:Jn},onOk:function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Kn(!0),e.next=3,(0,S.fj)({id:Zn.pathId});case 3:1===(null==(n=e.sent)?void 0:n.status)&&(vt(),x.ZP.success("撤销发布成功")),Kn(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),st=function(){An.detail&&An.detail.has_sub_discipline?ct({user_customize:!1}):ut(!0)},ut=function(e){tt({status:e})},ct=function(e){var n;g.Z.confirm({centered:!0,width:590,title:"提示",okText:"确定申请",cancelText:"取消申请",icon:null,content:(0,V.jsxs)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:["公开课程需经过平台标准化审核审核周期为1-2天公开的课程将对平台所有人可见。",(0,V.jsx)("br",{}),"若仅本人教学使用则无需申请公开,直接发送到课堂即可",(0,V.jsx)("br",{})]}),onOk:(n=s()(r()().mark((function n(){var t,i;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t={user_customize:e.user_customize},e.user_customize?t=o()(o()({},t),{},{discipline_name:e.discipline_name,sub_discipline_name:e.sub_discipline_name}):e.sub_discipline_id&&(t=o()(o()({},t),{},{sub_discipline_id:e.sub_discipline_id})),n.next=4,(0,S.WO)(o()({id:Zn.pathId},t));case 4:0!==(null==(i=n.sent)?void 0:i.status)&&1!==(null==i?void 0:i.status)||(vt(),x.ZP.success("公开申请已提交,请等待管理员的审核"));case 6:case"end":return n.stop()}}),n)}))),function(){return n.apply(this,arguments)})})},dt=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",cancelText:"取消",icon:null,content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"是否确认撤销申请公开?"}),onOk:function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.Er)({id:Zn.pathId});case 2:0===(null==(n=e.sent)?void 0:n.status)&&(vt(),x.ZP.success("撤销申请公开成功"));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ft=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",cancelText:"取消",icon:null,content:(0,V.jsx)("div",{className:"ml20",children:(0,V.jsxs)(y.ZP.Group,{defaultValue:1,onChange:function(e){return Xn.current=e.target.value},children:[(0,V.jsxs)(y.ZP,{value:1,className:"mt10",style:{color:"#5F6367"},children:["开放课堂:",(0,V.jsx)("span",{children:"所有用户可以随时访问"})]}),(0,V.jsxs)(y.ZP,{value:0,className:"mt10",style:{color:"#5F6367"},children:["私有课堂:",(0,V.jsx)("span",{children:"仅报名参与的课堂成员可以访问"})]})]})}),onOk:function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,H.xg)("/classrooms/news/".concat(Zn.pathId,"/newgold/").concat(Xn.current));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ht=function(){var e;g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",cancelText:"取消",icon:null,content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"是否确认立即预约?"}),onOk:(e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.c3)({id:Zn.pathId});case 2:0===(n=e.sent).status&&(qn(!0),x.ZP.success(n.message));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},pt=function(){var e;(0,U.tJ)(Ln)&&g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",icon:null,cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",style:{color:"#5F6367",textAlign:"left"},children:"是否确定加入该课堂"}),onOk:(e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.JS)({id:null==Fn?void 0:Fn.course_id});case 2:0===(n=e.sent).status&&(x.ZP.success(n.message),Ln({type:"pathsDetail/getPathsDetail",payload:{id:Zn.pathId}}),1===(null===(t=Fn.course_status)||void 0===t?void 0:t.status)&&(0,H.xg)("/classrooms/".concat(null==Fn?void 0:Fn.course_id,"/shixun_homework")));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},vt=function(){Ln({type:"pathsDetail/getPathsDetail",payload:{id:Zn.pathId}}),Ln({type:"pathsDetail/getRightData",payload:{id:Zn.pathId}})},mt=!(null===(a=An.detail)||void 0===a||!a.participant_count||null!==(l=An.detail)&&void 0!==l&&l.allow_statistics),xt=(null===(u=An.detail)||void 0===u||null===(u=u.courses)||void 0===u?void 0:u.findIndex((function(e){return(null==e?void 0:e.course_id)===(null==Fn?void 0:Fn.course_id)})))+1,gt=xt===(null===(d=An.detail)||void 0===d||null===(d=d.courses)||void 0===d?void 0:d.length);return(0,V.jsxs)("section",{children:[(0,V.jsx)("aside",{className:T.banner,style:{backgroundImage:null!=An&&null!==(v=An.detail)&&void 0!==v&&null!==(v=v.attachments)&&void 0!==v&&null!==(v=v[0])&&void 0!==v&&v.url?"url(".concat(null==An||null===(C=An.detail)||void 0===C||null===(C=C.attachments)||void 0===C||null===(C=C[0])||void 0===C?void 0:C.url,")"):"url(".concat("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAADwCAYAAADhJ3mJAAAgAElEQVR4Xux9i5bdOMqu65LKpXvmvFA/z5znPzOdTlLXs+yydhAGAUKy8S7lX/+aTrYkI/gEH0iWb6a//u/blP2Z/3qT/xP8W/oZNoP/xvfc55chn0HPs52T+df/zvS34uDtbZpubqZp/t/sT8IJBkAa1/r7PDhlQPDQiywApgN/epufan0QmIQzXTCJMZM1WP/SAZ8Jh5vHA8cIl5feQm1aavzzkE+OcxK8sEvc+EfkX1X+MzUq+M8Mf8k/I2Ev60MK4G0gx45SWn5F/XWWKw0fXb6S+Vz6I+K/F5+LLleuMP/vAknOGWF8K+K/FxKnin9M+PLqwNN/V/1V4FPFXzvy0wt/ZZS8q/4qDD3kMyht5E8GZama/uvbw3R3t/J6jv5AeuSKfyqR6Ean4NcwfyLy95E/deb/DnxJXaPjj+Os879fwi/EJJWMahwA5ozZAxgC9Tv+v7y8Tv/7/rhy1nUsyF83/gUqXjJSo9/PnJ8k8zRShXuYpvymgp8uEyjwTy5/In01VacX6qdeBTbVn1cYov+QDyilAp+u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7bw1/FUeVJlWAT03+FH13FQvL5f3ipHQNNPqT1KN7Ul6rmeWT9mvVGpEMoMBnePOXfaGAqT9F9asCfirNdYb8BNbUh8pP0PYK1qUEH8k24u/SA4j8adVlKn9Kbah1zO9FXTRuoOJfjWXizNNNjAQ+q+RPjvic3L72K6Bx0ULyLT1AhWs2vYsrHGccCDxfPt8vH+B30lhyhH+w/B0UUVhUS9l3BDyOLl+PNZnzTEqPon05PAYBUnjl8ImTvO3vLPlyFJHZZyL5Xl63DWDRvpm6KOnmGk/wBLm/LX4V47HzW+icrl31WGJQoe9AcZmUtKp80gJU4HJX1GX8Z0UTJoeuqj+HSY2+TrrKp8AnxF9UvE0FRFg8k/hpoY276k8h+8zySfBQTL+sCSimUX7GhEcOhxI+sb9FM5olP5mIv0Zn6EepN2TpTxHfd5sOXHzncDhJ/pRKB8ucRJ3eM/tttUZq4BPhtPctXpIuZuKv0lx6/F5Vfw75PctfsUPqoTywmVlVjwVzexd+MFc/EkFGm74mvtoIn6Pz10O+XHDGb/OR/BW+YCDl87n5k1L8LH6tHNujmUK+/wO3vjWKBfux2gAAAABJRU5ErkJggg==",")"),marginBottom:null!==(M=An.detail)&&void 0!==M&&null!==(M=M.courses)&&void 0!==M&&M.length?70:20,paddingTop:20},children:(0,V.jsxs)("aside",{className:T.wrp,style:{backgroundImage:null!=An&&null!==(A=An.detail)&&void 0!==A&&null!==(A=A.attachments_b)&&void 0!==A&&null!==(A=A[0])&&void 0!==A&&A.url?"url(".concat(null==An||null===(I=An.detail)||void 0===I||null===(I=I.attachments_b)||void 0===I||null===(I=I[0])||void 0===I?void 0:I.url,")"):""},children:[(0,V.jsxs)("div",{className:T.operationWrap,children:[(null===(L=In.userInfo)||void 0===L?void 0:L.login)&&(null===(Z=An.detail)||void 0===Z?void 0:Z.is_collect)&&(0,V.jsxs)("span",{style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"20px",width:80,display:"flex"},onClick:it,children:[(0,V.jsx)(b.Z,{title:"取消收藏",children:(0,V.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiLz48cGF0aCBkPSJNMTUuMjg0IDVBNC4xMDYgNC4xMDYgMCAwIDAgMTIgNi43MjcgNC4wOTQgNC4wOTQgMCAwIDAgOC43MTYgNUM2LjM5IDUgNC41IDcuMDc4IDQuNSA5LjYzYTYuMTYzIDYuMTYzIDAgMCAwIDEuMjIzIDMuNDUyYzEuNTgyIDIuNSA1LjU2NyA1LjYgNS43MzggNS43MjlhLjg2My44NjMgMCAwIDAgMS4wNzggMGMuMTczLS4xMjkgNC4xNDctMy4yMzggNS43MzgtNS43MjlBNi4xNjMgNi4xNjMgMCAwIDAgMTkuNSA5LjYzQzE5LjUgNy4wOCAxNy42MSA1IDE1LjI4NCA1WiIgZmlsbD0iI0VFNUQ1RCIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9nPjwvc3ZnPg==",style:{marginRight:"10px"}})}),(0,V.jsx)("span",{style:{height:"24px"},children:"已收藏"})]}),(null===(z=In.userInfo)||void 0===z?void 0:z.login)&&!(null!==(D=An.detail)&&void 0!==D&&D.is_collect)&&(0,V.jsxs)("span",{style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",width:70,marginLeft:"20px",display:"flex"},onClick:rt,children:[(0,V.jsx)(b.Z,{title:"收藏",children:(0,V.jsx)("img",{src:ue,style:{marginRight:"10px"}})}),(0,V.jsx)("span",{style:{height:"24px"},children:"收藏"})]}),!(0,N.bg)()&&(0,V.jsxs)("span",{style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"20px",display:"flex",width:70},className:"mr15",onClick:function(){(0,U.tJ)(Ln)},children:[(0,V.jsx)("img",{src:ue,style:{marginRight:"10px"}}),(0,V.jsx)("span",{style:{height:"24px"},children:"收藏"})]}),!(null===(F=An.detail)||void 0===F||!F.is_free)&&0!==(null===(E=An.detail)||void 0===E?void 0:E.publish_status)&&((null===(X=An.detail)||void 0===X?void 0:X.allow_add_member)||!(0,N.JA)())&&(0,V.jsx)(b.Z,{title:"以课堂实验的形式发送到我的课堂",children:(0,V.jsxs)("span",{onClick:function(){var e;null!==(e=An.detail)&&void 0!==e&&e.need_authorize?(0,U.rX)(!1,"该课程中包含实训需授权后才可使用。 您可以在QQ服务群向管理员申请获得继续操作的权限。"):(0,U.tJ)(Ln)&&Ln({type:"pathsDetail/setActionTabs",payload:{key:"PathsDetail-SendToClass"}})},style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"26px"},children:[(0,V.jsx)("img",{src:se,style:{marginRight:"10px"}}),"发送课堂"]})}),(null===(O=An.detail)||void 0===O?void 0:O.allow_statistics)&&2===(null===(R=An.detail)||void 0===R?void 0:R.public_status)&&(0,V.jsxs)("span",{onClick:function(){return p.history.push("/paths/".concat(Zn.pathId,"/statistics"))},style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"26px"},children:[(0,V.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiLz48cGF0aCBkPSJNNy44NDMgMTcuOTY3VjkuMzRjMC0uMzQzLS4yNTgtLjYwOC0uNTY4LS42MDhINS41NjljLS4zMSAwLS41NjkuMjktLjU2OS42MDh2OC42MjdoMi44NDNabTMuNjE5IDBWNS42MzVjMC0uMzQzLS4yNTktLjYzNS0uNTY5LS42MzVIOS4xODhjLS4zMTEgMC0uNTcuMjktLjU3LjYzNXYxMi4zMzJoMi44NDRabTMuNjE5IDB2LTUuNDVjMC0uMzQ1LS4yNTktLjYzNi0uNTctLjYzNmgtMS43MDVjLS4zMSAwLS41NjkuMjktLjU2OS42MzR2NS40NTJoMi44NDNabTMuNjE4IDBWOS4zNGMwLS4zNDMtLjI1OS0uNjA4LS41NjktLjYwOGgtMS43MDZjLS4zMSAwLS41NjguMjktLjU2OC42MDh2OC42MjdoMi44NDNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+",style:{marginRight:"10px"}}),"学习统计"]}),(null===(q=An.detail)||void 0===q?void 0:q.is_share)&&(0,V.jsx)(W.CopyToClipboard,{text:"".concat(window.location.origin,"/paths/").concat(Zn.pathId,"?userid=").concat(null===(B=In.userInfo)||void 0===B?void 0:B.user_id),onCopy:function(){return x.ZP.success("已复制课程分享专属链接")},children:(0,V.jsxs)("span",{style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"26px"},children:[(0,V.jsx)("img",{src:se,style:{marginRight:"10px"}}),"分享课程"]})}),(null===(J=An.detail)||void 0===J?void 0:J.allow_add_member)&&(0,V.jsx)(_.Z,{dropdownRender:function(){var e,n,t,i,r,a,o,l,s,u,c,d,f,h,v,m,x;return(0,V.jsxs)(j.Z,{children:[(null===(e=An.detail)||void 0===e?void 0:e.courses)&&((null===(n=An.detail)||void 0===n?void 0:n.is_creator)&&!(null===(t=In.userInfo)||void 0===t||!t.professional_certification)||(0,N.ag)())&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:ft,children:"开课"}),(null===(i=An.detail)||void 0===i?void 0:i.allow_statistics)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){return p.history.push("/paths/".concat(Zn.pathId,"/edit"))},children:"编辑课程"}),(null===(r=An.detail)||void 0===r?void 0:r.allow_add_member)&&0===(null===(a=An.detail)||void 0===a?void 0:a.publish_status)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:ot,children:"发布课程"}),(null===(o=An.detail)||void 0===o?void 0:o.allow_statistics)&&2===(null===(l=An.detail)||void 0===l?void 0:l.publish_status)&&0===(null===(s=An.detail)||void 0===s?void 0:s.public_status)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:lt,children:"撤销发布"}),(null===(u=An.detail)||void 0===u?void 0:u.allow_statistics)&&2===(null===(c=An.detail)||void 0===c?void 0:c.publish_status)&&0===(null===(d=An.detail)||void 0===d?void 0:d.public_status)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:st,children:"公开课程"}),(null===(f=An.detail)||void 0===f?void 0:f.allow_statistics)&&1===(null===(h=An.detail)||void 0===h?void 0:h.public_status)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:dt,children:"撤销申请公开"}),(0,N.GJ)()&&(null===(v=An.detail)||void 0===v?void 0:v.allow_statistics)&&2===(null===(m=An.detail)||void 0===m?void 0:m.public_status)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:dt,children:"撤销公开"}),(null===(x=An.detail)||void 0===x?void 0:x.allow_delete)&&(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:at,children:"删除课程"})]})},children:(0,V.jsxs)("span",{style:{fontSize:"12px",color:"#fff",lineHeight:"24px",cursor:"pointer",marginLeft:"26px"},children:[(0,V.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjMDAwIiBvcGFjaX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DEuMTYuMjQxbC4wMjctLjAwOSAxLjg5My0xLjAyOS4wMjctLjAxOGEuOTQ0Ljk0NCAwIDAgMCAuMzI2LTEuMTQ2cy0uMTYzLS4zNjctLjE2My0uNjg5YTEuODMgMS44MyAwIDAgMSAxLjgzOS0xLjgxN2guMDcyYy4zNTQgMCAuNjM0LS4yOTUuNzI1LS43NTIgMC0uMDA5LjE1NC0uODE0LjE1NC0xLjQ1YTEwLjg4OCAxMC44ODggMCAwIDAtLjE3Mi0xLjQ2Wm0tNy4zNzMgNC4wNzNDMTAuNDg3IDE0LjYyMyA5LjMgMTMuNDQgOS4zIDEyYzAtMS40NSAxLjE5NS0yLjYyMyAyLjY1NC0yLjYyMyAxLjQ2NyAwIDIuNjU0IDEuMTgyIDIuNjU0IDIuNjIzIDAgMS40NDEtMS4xODcgMi42MjMtMi42NTQgMi42MjNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+",style:{marginRight:"10px"}}),"设置"]})})]}),(0,V.jsxs)("div",{style:{alignItems:"center"},className:[T.titleWrap,(null===(G=An.detail)||void 0===G||null===(G=G.name)||void 0===G?void 0:G.indexOf("\n"))&&T.titleFlexEnd].join(" "),children:[(0,V.jsxs)("div",{className:T.title,children:[(0,V.jsx)(b.Z,{title:null===(Q=An.detail)||void 0===Q||null===(Q=Q.name)||void 0===Q?void 0:Q.split("\n")[0],children:(0,V.jsx)("strong",{className:T.titleName,style:{maxWidth:(null==Yn||null===(Y=Yn.current)||void 0===Y?void 0:Y.offsetWidth)<150?810:730},children:null===($=An.detail)||void 0===$||null===($=$.name)||void 0===$?void 0:$.split("\n")[0]})}),(0,V.jsxs)("span",{className:"font24",children:[(0,V.jsx)("br",{}),null===(ee=An.detail)||void 0===ee||null===(ee=ee.name)||void 0===ee?void 0:ee.split("\n").filter((function(e,n){return 0!==n})).join("")]})]}),(0,V.jsx)("div",{children:(0,V.jsxs)("div",{className:T.tagsWrap,ref:Yn,children:[(null===(ne=An.detail)||void 0===ne?void 0:ne.allow_add_member)&&!(null!==(te=An.detail)&&void 0!==te&&te.excellent)&&(0,V.jsx)(b.Z,{title:null===(ie=de[(null===(re=An.detail)||void 0===re?void 0:re.shixun_tag_num)-1])||void 0===ie?void 0:ie.connect,children:(0,V.jsx)("div",{children:(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{backgroundColor:null===(ae=de[(null===(fe=An.detail)||void 0===fe?void 0:fe.shixun_tag_num)-1])||void 0===ae?void 0:ae.bkcolor,color:null===(he=de[(null===(pe=An.detail)||void 0===pe?void 0:pe.shixun_tag_num)-1])||void 0===he?void 0:he.txcolor,height:26,border:"1px solid ".concat(null===(ve=de[(null===(me=An.detail)||void 0===me?void 0:me.shixun_tag_num)-1])||void 0===ve?void 0:ve.bkcolor)},children:null===(xe=de[(null===(ge=An.detail)||void 0===ge?void 0:ge.shixun_tag_num)-1])||void 0===xe?void 0:xe.name})})}),(null===(ye=An.detail)||void 0===ye?void 0:ye.featured)>0&&(0,V.jsxs)("div",{children:[1===(null===(be=An.detail)||void 0===be?void 0:be.featured)&&(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#FF6500",border:"1px solid #FF6500"},children:"国家一流"}),2===(null===(_e=An.detail)||void 0===_e?void 0:_e.featured)&&(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#4361F2",border:"1px solid #4361F2"},children:"军队一流"}),3===(null===(je=An.detail)||void 0===je?void 0:je.featured)&&(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#E9AD5D",border:"1px solid #E9AD5D"},children:"省级一流"}),4===(null===(we=An.detail)||void 0===we?void 0:we.featured)&&(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#f7ce62",border:"1px solid #f7ce62"},children:"精品课程"})]}),(null===(ke=An.detail)||void 0===ke?void 0:ke.excellent)&&(null===(Pe=An.detail)||void 0===Pe?void 0:Pe.allow_add_member)&&"公开发布"==(null===(Te=de[(null===(Ne=An.detail)||void 0===Ne?void 0:Ne.shixun_tag_num)-1])||void 0===Te?void 0:Te.name)&&15!=(null==In||null===(Se=In.userInfo)||void 0===Se?void 0:Se.role)&&(0,V.jsx)("div",{children:(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#44D7B6",border:"1px solid #44D7B6"},children:"开放课程"})}),(null===(Ce=An.detail)||void 0===Ce?void 0:Ce.excellent)&&15==(null==In||null===(Me=In.userInfo)||void 0===Me?void 0:Me.role)&&(0,V.jsx)("div",{children:(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#44D7B6",border:"1px solid #44D7B6"},children:"开放课程"})}),(null===(Ae=An.detail)||void 0===Ae?void 0:Ae.is_plan)&&(0,V.jsx)(b.Z,{title:"教育部101计划计算机类课程",children:(0,V.jsx)("div",{children:(0,V.jsx)("div",{className:"".concat(T.openCourseTag," font14"),style:{background:"#19CB70",border:"1px solid #19CB70",marginRight:0},children:"101计划"})})})]})})]}),(null===(Ie=An.detail)||void 0===Ie?void 0:Ie.laboratory_name)&&(0,N.Ny)()&&(0,V.jsxs)("div",{className:T.laboratory,children:[(0,V.jsx)("span",{children:"云上实验室:"}),(0,V.jsx)(b.Z,{title:null===(Le=An.detail)||void 0===Le?void 0:Le.laboratory_name,children:(0,V.jsx)("a",{href:"https://".concat(null===(Ze=An.detail)||void 0===Ze?void 0:Ze.laboratory_url),target:"_blank",className:T.name,children:null===(ze=An.detail)||void 0===ze?void 0:ze.laboratory_name})})]}),(0,V.jsx)("div",{className:T.contentWrap,children:(0,V.jsxs)("div",{className:T.contentLeftWrap,children:[!(null===(De=An.detail)||void 0===De||!De.stages_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"章节"}),(0,V.jsx)("p",{className:"mt3",children:null===(Fe=An.detail)||void 0===Fe?void 0:Fe.stages_count})]}),!(null===(Ee=An.detail)||void 0===Ee||!Ee.shixuns_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"单元"}),(0,V.jsx)("p",{className:"mt3",children:null===(Xe=An.detail)||void 0===Xe?void 0:Xe.shixuns_count})]}),!(null===(Oe=An.detail)||void 0===Oe||!Oe.challenge_choose_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"选择题关卡"}),(0,V.jsx)("p",{className:"mt3",children:null===(Re=An.detail)||void 0===Re?void 0:Re.challenge_choose_count})]}),!(null===(He=An.detail)||void 0===He||!He.challenges_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"实践关卡"}),(0,V.jsx)("p",{className:"mt3",children:null===(qe=An.detail)||void 0===qe?void 0:qe.challenges_count})]}),!(null===(Ve=An.detail)||void 0===Ve||!Ve.videos_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"视频"}),(0,V.jsx)("p",{className:"mt3",children:null===(Be=An.detail)||void 0===Be?void 0:Be.videos_count})]}),!(null===(Je=An.detail)||void 0===Je||!Je.attachment_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"课件"}),(0,V.jsx)("p",{className:"mt3",children:null===(Ke=An.detail)||void 0===Ke?void 0:Ke.attachment_count})]}),0!==(null===(Ue=An.detail)||void 0===Ue?void 0:Ue.publish_status)&&!(null===(We=An.detail)||void 0===We||!We.subject_score)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsx)("span",{children:"经验值"}),(0,V.jsx)("p",{className:"mt3",children:null===(Ge=An.detail)||void 0===Ge?void 0:Ge.subject_score})]}),0!==(null===(Qe=An.detail)||void 0===Qe?void 0:Qe.publish_status)&&!(null===(Ye=An.detail)||void 0===Ye||!Ye.member_count)&&(0,V.jsxs)("div",{className:"mr30",children:[(0,V.jsxs)("span",{children:[(0,V.jsx)("span",{children:"学习人数"}),(0,V.jsx)(b.Z,{title:"更新时间:".concat((null===($e=An.detail)||void 0===$e?void 0:$e.member_count_update_at)||"--"),children:(0,V.jsx)("i",{className:"iconfont icon-xiaowenhao1 font14 ml5"})})]}),(0,V.jsx)("p",{className:"mt3",children:null===(en=An.detail)||void 0===en?void 0:en.member_count})]}),(null===(nn=An.detail)||void 0===nn?void 0:nn.subject_score)>0&&(0,V.jsxs)("span",{className:"font14 c-white",children:[(0,V.jsx)("span",{children:"评分"}),(0,V.jsx)("br",{}),(0,V.jsx)("div",{className:T.rating,children:(0,V.jsx)(w.Z,{allowHalf:!0,style:{fontSize:12},value:(0,H.og)(null===(tn=An.detail)||void 0===tn?void 0:tn.averge_star),disabled:!0})})]})]})}),!(null===(rn=An.detail)||void 0===rn||null===(rn=rn.courses)||void 0===rn||!rn.length)&&(0,V.jsxs)("aside",{className:T.nav,children:[(0,V.jsxs)("div",{className:T.navLeft,children:[Fn.course_identity<4&&(0,V.jsx)(b.Z,{placement:"bottom",title:"编辑课堂",children:(0,V.jsx)("a",{href:"/classrooms/".concat(null==Fn?void 0:Fn.course_id,"/newgolds/settings"),target:"_blank",children:(0,V.jsx)("i",{className:"iconfont icon-bianji1 ".concat(T.navLeftIcon)})})}),(0,V.jsx)(_.Z,{dropdownRender:function(){var e,n;return(0,V.jsx)(j.Z,{children:null===(e=m()(null===(n=An.detail)||void 0===n?void 0:n.courses))||void 0===e||null===(e=e.reverse())||void 0===e?void 0:e.map((function(e,n){var t;return(0,V.jsx)(j.Z.Item,{onClick:function(){return n=e.course_id,i=null===(t=An.detail)||void 0===t||null===(t=t.courses)||void 0===t?void 0:t.find((function(e){return e.course_id===n})),En(i||{}),void Ln({type:"classroomList/setActionTabs",payload:{key:"修改开课时间",name:n}});var n,t,i},children:(0,V.jsxs)("span",{className:"font14",children:["第",(null===(t=An.detail)||void 0===t||null===(t=t.courses)||void 0===t?void 0:t.length)-n,"期"]})},e.course_id)}))})},children:(0,V.jsxs)("div",{children:[(0,V.jsxs)("span",{className:"font14 current",children:["第",(0,V.jsx)("span",{className:T.colorOrange,children:xt}),"期"]}),(0,V.jsx)(P.Z,{})]})}),(0,V.jsxs)("div",{className:T.navContent,children:[(0,V.jsxs)("div",{className:T.contentItem,children:[(0,V.jsx)("div",{className:T.contentItemTitle,children:"开课时间:"}),(0,V.jsx)("div",{className:T.contentItemText,children:null==Fn?void 0:Fn.start_date})]}),(0,V.jsx)("div",{className:T.verticalLine}),(0,V.jsxs)("div",{className:T.contentItem,children:[(0,V.jsx)("div",{className:T.contentItemTitle,children:"结课时间:"}),(0,V.jsx)("div",{className:T.contentItemText,children:null==Fn?void 0:Fn.end_date})]}),(0,V.jsx)("div",{className:T.verticalLine}),(0,V.jsxs)("div",{className:T.contentItem,children:[(0,V.jsx)("div",{className:T.contentItemTitle,children:"本期选课人数"}),(0,V.jsxs)("div",{className:T.contentItemText,children:[null==Fn?void 0:Fn.student_count," 人"]})]})]})]}),(0,V.jsxs)("div",{className:T.navRight,style:{display:"none"},children:[(0,V.jsxs)("div",{className:T.flexRow,children:[1===(null==Fn||null===(an=Fn.course_status)||void 0===an?void 0:an.status)&&(0,V.jsx)("div",{className:"mr20 c-red-ee4",children:null==Fn||null===(on=Fn.course_status)||void 0===on?void 0:on.time}),2===(null==Fn||null===(ln=Fn.course_status)||void 0===ln?void 0:ln.status)&&Fn.course_identity<6&&(0,V.jsx)("div",{className:"current mr20 c-grey-9b9 font14",children:"已结束"}),2===(null===(sn=Fn.course_status)||void 0===sn?void 0:sn.status)&&(Fn.course_identity<6?(0,V.jsx)("a",{className:T.classButton,href:"/classrooms/".concat(null==Fn||null===(un=Fn.first_category_url)||void 0===un||null===(un=un.split("/"))||void 0===un?void 0:un[2],"/announcement"),target:"_blank",children:"进入课堂"}):(0,V.jsx)("div",{className:"current mr20 c-grey-9b9 font14",children:"已结束"})),1===(null===(cn=Fn.course_status)||void 0===cn?void 0:cn.status)&&Fn.course_identity>5&&(0,V.jsx)("div",{className:T.classButton,onClick:pt,children:"立即加入"}),1===(null===(dn=Fn.course_status)||void 0===dn?void 0:dn.status)&&5===Fn.course_identity&&(0,V.jsx)("a",{className:T.classButton,href:"/classrooms/".concat(null==Fn||null===(fn=Fn.first_category_url)||void 0===fn||null===(fn=fn.split("/"))||void 0===fn?void 0:fn[2],"/announcement"),target:"_blank",children:"立即学习"}),0===(null===(hn=Fn.course_status)||void 0===hn?void 0:hn.status)&&Fn.course_identity>5&&(0,V.jsx)("div",{className:T.classButton,onClick:pt,children:"立即报名"}),0===(null===(pn=Fn.course_status)||void 0===pn?void 0:pn.status)&&5===Fn.course_identity&&(0,V.jsx)("div",{className:T.classButton,children:"报名成功"}),(0===(null==Fn||null===(vn=Fn.course_status)||void 0===vn?void 0:vn.status)||1===(null==Fn||null===(mn=Fn.course_status)||void 0===mn?void 0:mn.status))&&Fn.course_identity<5&&(0,V.jsx)("a",{className:T.classButton,href:"/classrooms/".concat(null==Fn||null===(xn=Fn.first_category_url)||void 0===xn||null===(xn=xn.split("/"))||void 0===xn?void 0:xn[2],"/announcement"),target:"_blank",children:"进入课堂"}),mt&&gt&&(null===(gn=An.detail)||void 0===gn?void 0:gn.has_participate)&&(0,V.jsx)("span",{className:"".concat(T.classButton," ").concat(T.bgGray),children:"预约报名成功"}),mt&&gt&&!(null!==(yn=An.detail)&&void 0!==yn&&yn.has_participate)&&(Hn?(0,V.jsx)("span",{className:"".concat(T.classButton," ").concat(T.bgGray),children:"预约报名成功"}):(0,V.jsx)("span",{className:"".concat(T.classButton," ").concat(T.bg28e),onClick:ht,children:"期待开课并预约报名"}))]}),(0,V.jsxs)("div",{className:T.flexRow,children:[mt&&!(null===(bn=An.detail)||void 0===bn||null===(bn=bn.courses)||void 0===bn||!bn.length)&&gt&&(0,V.jsxs)("span",{className:"mt20",children:[(0,V.jsxs)("span",{className:"mr10",children:["当预约报名人数达到 ",null===(_n=An.detail)||void 0===_n?void 0:_n.student_count," ","人时即将开课"]}),(0,V.jsxs)("span",{className:"",children:["当前预约报名人数:",(0,V.jsx)("span",{className:"mr5 c-red-ee4",children:!0===Hn?(null===(jn=An.detail)||void 0===jn?void 0:jn.participant_count)+1:null===(wn=An.detail)||void 0===wn?void 0:wn.participant_count}),"人"]})]}),mt&&!(null!==(kn=An.detail)&&void 0!==kn&&null!==(kn=kn.courses)&&void 0!==kn&&kn.length)&&gt&&(0,V.jsxs)("span",{children:[!(null!==(Pn=An.detail)&&void 0!==Pn&&Pn.has_participate)&&(!0===Hn?(0,V.jsx)("span",{className:"".concat(T.classButton," ").concat(T.bgGray),children:"预约报名成功"}):(0,V.jsx)("a",{className:"".concat(T.classButton," ").concat(T.bg28e),onClick:ht,children:"期待开课并预约报名"})),(null===(Tn=An.detail)||void 0===Tn?void 0:Tn.has_participate)&&(0,V.jsx)("span",{className:"".concat(T.classButton," ").concat(T.bgGray),children:"预约报名成功"}),(0,V.jsxs)("span",{className:"mr10",children:["当预约报名人数达到 ",null===(Nn=An.detail)||void 0===Nn?void 0:Nn.student_count," ","人时即将开课"]}),(0,V.jsxs)("span",{className:"",children:["当前预约报名人数:",(0,V.jsx)("span",{className:"mr5 c-red-ee4",children:!0===Hn?(null===(Sn=An.detail)||void 0===Sn?void 0:Sn.participant_count)+1:null===(Cn=An.detail)||void 0===Cn?void 0:Cn.participant_count}),"人"]})]})]})]})]})]})}),(0,V.jsx)(K,{}),nt.status&&(0,V.jsx)(oe,{type:"subject",onCancel:function(){return ut(!1)},onOk:function(e){ut(!1),ct(e)}}),(0,V.jsx)(g.Z,{open:Gn,title:"课程公告",width:593,maskClosable:!1,onCancel:function(){Qn(!1)},centered:!0,footer:(0,V.jsx)("div",{children:(0,V.jsx)(k.ZP,{type:"primary",onClick:function(){Qn(!1)},children:"我知道了"})}),children:(0,V.jsx)(le.Z,{style:{maxHeight:378,overflow:"auto"},value:null==An||null===(Mn=An.detail)||void 0===Mn||null===(Mn=Mn.toast)||void 0===Mn?void 0:Mn.content})})]})})),he=t(27065),pe=t(93948),ve="rightWrap___trEKQ",me="qrCode___J87U9",xe="cardTop___sVfNE",ge="card___xqkwa",ye="flexRow___EJjLR",be="flexRowAbout___wsXZw",_e="skillWrap___H2LfA",je="skillTopWrap___Iy4yY",we="directionItemWrap___D3A3B",ke="groupActionWrap___uM9bY",Pe="classButton___kwIIq",Te="bg28e____4vxe",Ne="bgGray___bP0QM",Se="price___YtmIz",Ce="d1___kWoQd",Me="auto___j1TRz",Ae="disabled___acQun",Ie="d2___lGbRu",Le="d3___bWANm",Ze="d4___wyT_a",ze="imgradius___fmcxI",De="imageWrap___HkmiW",Fe="directionItemWrap___MKzHd",Ee="groupActionWrap___PB2b7",Xe="teamHeight___qj0wW",Oe="divHeight___MUuEe",Re=t(88522),He=t(52306),qe=t(26724),Ve=t.n(qe),Be=t(69363),Je=t(14386),Ke=(0,p.connect)((function(e){return{pathsDetail:e.pathsDetail,loading:e.loading}}))((function(e){e.pathsDetail,e.loading;var n=e.dispatch,t=e.open,i=e.onClose,a=e.onReloadData,l=void 0===a?function(){}:a,u=(0,p.useParams)(),d=(0,h.useState)([]),f=c()(d,2),v=f[0],y=f[1],_=(0,h.useState)(!0),j=c()(_,2),w=j[0],P=j[1],T=(0,h.useState)(!1),N=c()(T,2),M=N[0],A=N[1],L=G.Z.useForm(),Z=c()(L,1)[0],D=(0,h.useState)([]),F=c()(D,2),E=F[0],X=F[1],O=(0,h.useState)(1),R=c()(O,2),H=R[0],q=R[1],B=(0,h.useState)([]),J=c()(B,2),K=J[0],U=J[1],W=(0,h.useState)(!0),Q=c()(W,2),$=Q[0],ee=Q[1],ne=(0,h.useState)(!1),te=c()(ne,2),ie=te[0],re=te[1];(0,h.useEffect)((function(){t&&ae()}),[t]);var ae=function(){var e=s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n({type:"classroomList/getSchoolList",payload:{}});case 2:t=e.sent,y(t.map((function(e){return{value:e}})));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),oe=function(){var e=s()(r()().mark((function e(){var n,t,i,a,l,s=arguments;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>0&&void 0!==s[0]&&s[0],!(w&&!M||n)){e.next=11;break}return a=Z.getFieldValue(),A(!0),q(n?1:H+1),e.next=7,(0,Be.nQ)(o()(o()({page:n?1:H+1,container_id:u.pathId,container_type:3},a),{},{school_name:(null==a?void 0:a.school_name)||null,keyword:(null==a||null===(t=a.keyword)||void 0===t?void 0:t.trim())||null}));case 7:l=e.sent,X(n?m()(l.users):[].concat(m()(E),m()(l.users))),A(!1),(null===(i=l.users)||void 0===i?void 0:i.length)<10&&P(!1);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),le=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=K&&K.length){e.next=4;break}x.ZP.warning("请先在下面列表中选择要添加成员"),e.next=10;break;case 4:return re(!0),e.next=7,(0,S.mx)({id:u.pathId,user_ids:K});case 7:n=e.sent,re(!1),n&&(x.ZP.success("添加成功"),se(),l&&l());case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){Z.setFieldsValue({keyword:""}),i(),ee(!0),P(!0)},ue=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:function(e,n){return(0,V.jsx)(I.Z,{value:n.numid,checked:K.includes(String(n.numid)),disabled:!!e})}},{title:"姓名",width:100,ellipsis:!0,dataIndex:"username",render:function(e,n){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)(p.Link,{className:"bold c-black",to:"/users/".concat(n.login),target:"_blank",children:e||"--"})})}},{title:"手机号",width:100,dataIndex:"phone",ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"邮箱",dataIndex:"email",width:100,ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"学号/工号",width:100,dataIndex:"student_number",ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"学校/单位",width:150,dataIndex:"school_name",ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"院系/部门",dataIndex:"depart_name",width:130,ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"实名认证",dataIndex:"auth",width:100,render:function(e){return e?"是":"否"}},{title:"最后登录时间",dataIndex:"last_login_on",width:140,ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e&&z()(e).format("YYYY-MM-DD HH:mm"),children:(0,V.jsx)("span",{children:e&&z()(e).format("YYYY-MM-DD HH:mm")})})}},{title:"状态",dataIndex:"added",width:80,render:function(e){if(1===e)return(0,V.jsx)("span",{className:"c-green",children:"已添加"})}}];return(0,V.jsxs)(g.Z,{title:"添加合作者",open:t,okText:"确定",cancelText:"取消",width:1100,centered:!0,keyboard:!1,maskClosable:!1,destroyOnClose:!0,bodyStyle:{minHeight:200},confirmLoading:ie,onOk:le,onCancel:se,children:[(0,V.jsxs)(G.Z,{layout:"inline",form:Z,initialValues:{school_name:"",keyword:"",search_type:"1"},className:"mt10",onFinish:function(){var e;if(null===(e=Z.getFieldValue())||void 0===e||null===(e=e.keyword)||void 0===e||!e.trim())return x.ZP.warning("请输入搜索内容"),void X([]);ee(!1),P(!0),A(!1),q(1),U([]),oe(!0)},children:[(0,V.jsx)(G.Z.Item,{name:"search_type",label:"搜索类型",children:(0,V.jsxs)(C.default,{children:[(0,V.jsx)(C.default.Option,{value:"1",children:"姓名"}),(0,V.jsx)(C.default.Option,{value:"2",children:"手机号"}),(0,V.jsx)(C.default.Option,{value:"3",children:"邮箱"})]})}),(0,V.jsx)(G.Z.Item,{name:"keyword",label:"搜索内容",children:(0,V.jsx)(Y.Z,{allowClear:!0,style:{width:280},size:"middle",placeholder:"请输入内容"})}),(0,V.jsx)(G.Z.Item,{name:"school_name",label:"单位:",children:(0,V.jsx)(Re.Z,{allowClear:!0,defaultOpen:!1,options:v,style:{width:380},size:"middle",placeholder:"请输入单位名称",filterOption:function(e,n){return-1!==n.value.toUpperCase().indexOf(e.toUpperCase())}})}),(0,V.jsx)(G.Z.Item,{children:(0,V.jsx)(k.ZP,{htmlType:"submit",type:"primary",size:"middle",children:"搜索"})})]}),$&&(0,V.jsxs)("div",{className:"tc font16 c-light-black mt40",children:[(0,V.jsx)("img",{src:Je.RL,width:"100",alt:""}),(0,V.jsx)("br",{}),"请搜索要添加的人员"]}),!$&&(0,V.jsxs)("section",{children:[(0,V.jsx)("div",{className:"flexd-table-header mt20",children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:[],columns:ue})}),(0,V.jsx)("div",{style:{maxHeight:260,overflow:"auto"},children:(0,V.jsx)(Ve(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:function(e){oe()},hasMore:w,useWindow:!1,children:(0,V.jsx)(He.Z,{loading:M,showHeader:!1,pagination:!1,dataSource:E,columns:ue,onRow:function(e){return{onClick:function(e){e.currentTarget.querySelector("input").disabled||function(e){e=String(e);var n=K.indexOf(e);n<0?K.push(e):K.splice(n,1),U(m()(K))}(e.currentTarget.querySelector("input").value)}}}})})})]})]})})),Ue=(0,p.connect)((function(e){return{pathsDetail:e.pathsDetail,loading:e.loading}}))((function(e){var n=e.pathsDetail,t=(e.loading,e.dispatch),i=e.data,a=e.onReloadData,o=void 0===a?function(){}:a,l=(0,p.useParams)(),u=(0,h.useState)(!0),d=c()(u,2),f=d[0],v=d[1],y=(0,h.useState)(!1),_=c()(y,2),j=_[0],w=_[1],P=G.Z.useForm(),T=c()(P,1)[0],N=(0,h.useState)([]),C=c()(N,2),M=C[0],A=C[1],L=(0,h.useState)(1),Z=c()(L,2),z=Z[0],D=Z[1],F=(0,h.useState)([]),E=c()(F,2),X=E[0],O=E[1],R=(0,h.useState)(!0),H=c()(R,2),q=H[0],B=H[1],J=(0,h.useState)(!1),K=c()(J,2),U=K[0],W=K[1];(0,h.useEffect)((function(){"Collaborators-AddCourses"===n.actionTabs.key&&(B(!0),v(!0),Q())}),[n.actionTabs.key]);var Q=function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:"classroomList/getSchoolList",payload:{}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){var e=s()(r()().mark((function e(){var n,t,i,a,o,s=arguments;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>0&&void 0!==s[0]&&s[0],!(f&&!j||n)){e.next=11;break}return a=T.getFieldValue(),w(!0),D(n?1:z+1),e.next=7,(0,Be.FU)({page:n?1:z+1,container_id:l.pathId,container_type:3,manager_name:(null==a?void 0:a.manager_name)||null,course_name:(null==a||null===(t=a.course_name)||void 0===t?void 0:t.trim())||null});case 7:o=e.sent,A(n?m()(o.courses):[].concat(m()(M),m()(o.courses))),w(!1),(null===(i=o.courses)||void 0===i?void 0:i.length)<10&&v(!1);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ee=function(){var e=s()(r()().mark((function e(){var t,a,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=X&&X.length){e.next=4;break}x.ZP.warning("请先在下面列表中选择要添加课堂"),e.next=19;break;case 4:if(1==n.actionTabs.type){e.next=10;break}if(!((null==n||null===(t=n.Courses)||void 0===t||null===(t=t.spoc_courses)||void 0===t?void 0:t.length)+(null==X?void 0:X.length)>3)){e.next=8;break}return x.ZP.warning("一个实践课程只能加入3个spoc课堂"),e.abrupt("return");case 8:e.next=13;break;case 10:if(!((null==i||null===(a=i.spoc_courses)||void 0===a?void 0:a.length)+(null==X?void 0:X.length)>3)){e.next=13;break}return x.ZP.warning("一个实践课程只能加入3个历史课堂"),e.abrupt("return");case 13:return W(!0),e.next=16,(0,S.sm)({id:l.pathId,course_ids:X,course_type:n.actionTabs.type});case 16:s=e.sent,W(!1),s&&(x.ZP.success("添加成功"),ne(),o&&o());case 19:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ne=function(){T.setFieldsValue({course_name:"",manager_name:""}),O([]),t({type:"pathsDetail/setActionTabs",payload:{}})},te=[{title:"",dataIndex:"added",width:40,ellipsis:!0,render:function(e,n){return(0,V.jsx)(I.Z,{value:n.id,checked:X.includes(String(n.id)),disabled:!!e})}},{title:"课堂名称",dataIndex:"name",width:100,ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"管理者",width:100,dataIndex:"managers",ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"课堂所在学校",width:150,dataIndex:"school_name",ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}},{title:"创建时间",dataIndex:"created_at",width:140,ellipsis:!0,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e})})}},{title:"成员数量",dataIndex:"course_members_count",width:80,render:function(e){return(0,V.jsx)(b.Z,{placement:"bottom",title:e,children:(0,V.jsx)("span",{children:e||"--"})})}}];return(0,V.jsxs)(g.Z,{title:"添加课堂",open:"Collaborators-AddCourses"===n.actionTabs.key,okText:"确定",cancelText:"取消",width:1100,centered:!0,keyboard:!1,maskClosable:!1,bodyStyle:{minHeight:200},confirmLoading:U,onOk:ee,onCancel:ne,children:[(0,V.jsxs)(G.Z,{layout:"inline",form:T,initialValues:{course_name:"",manager_name:""},className:"mt10",onFinish:function(){B(!1),v(!0),w(!1),D(1),O([]),$(!0)},children:[(0,V.jsx)(G.Z.Item,{name:"course_name",label:"课堂名称",children:(0,V.jsx)(Y.Z,{allowClear:!0,style:{width:370},size:"middle",placeholder:"请输入课堂名称"})}),(0,V.jsx)(G.Z.Item,{name:"manager_name",label:"课堂管理者",children:(0,V.jsx)(Y.Z,{allowClear:!0,style:{width:370},size:"middle",placeholder:"请输入课堂管理者名称"})}),(0,V.jsx)(G.Z.Item,{children:(0,V.jsx)(k.ZP,{htmlType:"submit",type:"primary",size:"middle",children:"搜索"})})]}),q&&(0,V.jsxs)("div",{className:"tc font16 c-light-black mt40",children:[(0,V.jsx)("img",{src:Je.RL,width:"100",alt:""}),(0,V.jsx)("br",{}),"请搜索要添加的人员"]}),!q&&(0,V.jsxs)("section",{children:[(0,V.jsx)("div",{className:"flexd-table-header mt20",children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:[],columns:te})}),(0,V.jsx)("div",{style:{maxHeight:260,overflow:"auto"},children:(0,V.jsx)(Ve(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:function(e){$()},hasMore:f,useWindow:!1,children:(0,V.jsx)(He.Z,{loading:j,showHeader:!1,pagination:!1,dataSource:M,columns:te,onRow:function(e){return{onClick:function(e){e.currentTarget.querySelector("input").disabled||function(e){e=String(e);var n=X.indexOf(e);n<0?X.push(e):X.splice(n,1),O(m()(X))}(e.currentTarget.querySelector("input").value)}}}})})})]})]})})),We=t(37413),Ge=t(44589),Qe=t(39180),Ye=t.n(Qe),$e=(0,Ge.W8)((function(e){var n,t,i,r,a,o,l=e.item,s=(e.toIndex,e.params,e.isShow,e.setShow,e.dispatch),u=e.user,c=(e.classroomList,e.handleDeleteMember),d=e.pathsDetail;return(0,V.jsx)("span",{style:{display:"inline-block",width:"33%",padding:"5px",background:"#fff",marginTop:"10px"},children:(0,V.jsxs)("div",{className:Fe,children:[(0,V.jsxs)(b.Z,{color:"#ffffff",placement:"leftTop",autoAdjustOverflow:!1,title:(0,V.jsxs)("div",{className:Xe,children:[(0,V.jsxs)("div",{style:{display:"flex"},children:[(0,V.jsx)("div",{className:De,style:{marginRight:11},children:(0,V.jsx)("img",{className:De,src:he.Z.API_SERVER+"/images/"+(null==l?void 0:l.image_url)})}),(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{title:null==l?void 0:l.name,style:{fontSize:"14px",color:"#333333",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"200px",overflow:"hidden"},children:(null==l?void 0:l.name)||"--"}),(0,V.jsx)("div",{style:{color:"#999999",fontSize:"12px",width:"192px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},children:null==l?void 0:l.school})]})]}),(0,V.jsx)("div",{style:{height:"1px",width:"100%",border:"1px solid #f5f5f5",marginTop:"20px",marginBottom:"10px"}}),!(null!=l&&l.brief_introduction)&&(0,V.jsx)("div",{children:"暂无相关介绍"}),(null==l?void 0:l.brief_introduction)&&(0,V.jsx)("div",{className:Oe,children:null==l?void 0:l.brief_introduction}),(null==u||null===(n=u.userInfo)||void 0===n?void 0:n.user_id)===(null==l?void 0:l.id)&&(0,V.jsx)("div",{style:{position:"absolute",bottom:"15px",right:"23px",cursor:"pointer"},onClick:function(){return p.history.push("/account/profile")},children:(0,V.jsx)("i",{className:"iconfont icon-bianji_Hover",style:{color:"#3061D0"}})})]}),children:[(0,V.jsx)("img",{draggable:!1,className:ze,onClick:function(){(0,N.bg)()?p.history.push("".concat(l.user_url)):s({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})},src:he.Z.API_SERVER+"/images/"+(null==l?void 0:l.image_url)}),(0,V.jsxs)("div",{children:[(null==l||null===(t=l.name)||void 0===t?void 0:t.length)>6?(null==l||null===(i=l.name)||void 0===i?void 0:i.substr(0,6))+"...":(null==l?void 0:l.name)||"--",(0,V.jsx)("br",{}),(0,V.jsx)("span",{style:{color:"#999999"},children:(null==l||null===(r=l.school)||void 0===r?void 0:r.length)>6?(null==l||null===(a=l.school)||void 0===a?void 0:a.substr(0,6))+"...":(null==l?void 0:l.school)||"--"})]})]}),(0,V.jsx)("br",{}),(0,V.jsx)("span",{className:Ee,children:(0,V.jsx)("i",{style:{display:!(null!==(o=d.detail)&&void 0!==o&&o.allow_add_member)&&"none"},className:"iconfont icon-shanchu5 mr1 c-red font15 current",onClick:function(e){e.stopPropagation(),c(l.id)}})})]})})})),en=(0,Ge.JN)((function(e){var n=e.isShow,t=e.setShow,i=e.pathsDetail,r=e.items,a=e.params,o=e.dispatch,l=e.user,s=e.classroomList,u=e.handleDeleteMember;return(0,V.jsx)("div",{className:"task-list-container",children:null==r?void 0:r.map((function(e,r){return(0,V.jsx)($e,{isShow:n,setShow:t,dispatch:o,pathsDetail:i,handleDeleteMember:u,user:l,classroomList:s,toIndex:r+1,params:a,index:r,item:e},"".concat(e.id))}))})})),nn=(0,p.connect)((function(e){return{user:e.user,classroomList:e.classroomList,pathsDetail:e.pathsDetail}}))((function(e){var n=e.isupdate,t=e.setisupdate,i=e.data,a=e.user,o=e.classroomList,l=e.pathsDetail,u=e.operation,d=(e.callback,e.handleDeleteMember),f=(e.onCancel,e.dispatch),v=(e.visible,(0,h.useState)(i)),m=c()(v,2),x=m[0],g=m[1],y=(0,p.useParams)(),b=(0,h.useState)(),_=c()(b,2),j=(_[0],_[1],(0,h.useState)(!0)),w=c()(j,2),k=w[0],P=w[1];function T(){return(T=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/paths/".concat(null==y?void 0:y.pathId,"/move_subject_members.json"),{method:"post",body:{user_ids:n}});case 2:e.sent,f({type:"pathsDetail/getRightData",payload:{id:y.pathId}});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){n&&(!function(e){T.apply(this,arguments)}(x.map((function(e){return null==e?void 0:e.id}))),t(!1))}),[n]),(0,h.useEffect)((function(){g(i)}),[JSON.stringify(i)]),(0,V.jsx)("div",{style:{zIndex:1e3,width:"100%",position:"relative"},className:"sort-list-panel",children:(0,V.jsx)(en,{axis:"xy",helperClass:"dragging-li",isShow:k,setShow:P,distance:2,disableAutoscroll:!0,dispatch:f,pathsDetail:l,handleDeleteMember:d,user:a,classroomList:o,params:y,items:x,onSortEnd:function(e){var n=e.newIndex,t=e.oldIndex;u&&g(Ye()(x,t,n))}})})})),tn="imgradius___Iug8Z",rn="directionItemWrap___odBHm",an="groupActionWrap___u5Xgw",on="bottomdiv___MLbfq",ln=(0,Ge.W8)((function(e){var n,t,i,r,a=e.item,o=(e.toIndex,e.params,e.dispatch,e.classroomList,e.handleDeleteMember),l=e.pathsDetail;return(0,V.jsxs)("span",{onClick:function(){window.open(null==a?void 0:a.first_category_url)},style:{display:"inline-block",padding:"10px 20px",width:"100%",background:"#fff",marginTop:"5px"},children:[(0,V.jsxs)("div",{className:rn,children:[(0,V.jsx)("img",{className:tn,src:he.Z.API_SERVER+(null==a?void 0:a.default_image)}),(0,V.jsx)("span",{className:an,children:(0,V.jsx)(b.Z,{title:a.name,children:(0,V.jsx)("span",{style:{fontSize:"18px",color:"#ffffff"},children:(null===(n=a.name)||void 0===n?void 0:n.length)>7?(0,V.jsxs)("span",{children:[null===(t=a.name)||void 0===t?void 0:t.substring(0,7),(0,V.jsx)("br",{})," ",null===(i=a.name)||void 0===i?void 0:i.substring(7,14),(null==a?void 0:a.name.length)>14&&"..."]}):a.name})})})]}),(0,V.jsxs)("div",{className:on,children:[(0,V.jsx)(b.Z,{title:"访问数:".concat(null==a?void 0:a.visits),placement:"bottom",children:(0,V.jsxs)("span",{children:[(0,V.jsx)("i",{style:{marginRight:"3px",color:"#bbbbbb"},className:"iconfont icon-chakan ml3 font15 current"}),(0,V.jsx)("span",{style:{color:"rgba(0, 0, 0, 0.45)"},children:null==a?void 0:a.visits})]})}),(0,V.jsx)(b.Z,{title:"课堂成员数:".concat(null==a?void 0:a.course_members_count),placement:"bottom",children:(0,V.jsxs)("span",{children:[(0,V.jsx)("i",{style:{marginRight:"3px",color:"#bbbbbb"},className:"iconfont icon-ren ml3 font15 current"}),(0,V.jsxs)("span",{style:{color:"rgba(0, 0, 0, 0.45)"},children:[" ",null==a?void 0:a.course_members_count]})]})}),(0,V.jsx)(b.Z,{overlayStyle:{maxWidth:380},title:(0,V.jsxs)("div",{style:{whiteSpace:"nowrap"},children:["课堂的任务数(作业数+试卷数+问卷数)",null==a?void 0:a.tasks_count]}),placement:"bottom",children:(0,V.jsxs)("span",{children:[(0,V.jsx)("i",{style:{marginRight:"3px",color:"#bbbbbb"},className:"iconfont icon-wenjian2 ml3 font15 current"}),(0,V.jsxs)("span",{style:{color:"rgba(0, 0, 0, 0.45)"},children:[" ",null==a?void 0:a.tasks_count]})]})}),(0,V.jsx)(b.Z,{title:"删除",placement:"bottom",children:(0,V.jsx)("span",{children:(0,V.jsx)("i",{style:{color:"#bbbbbb",display:!(null!=l&&null!==(r=l.detail)&&void 0!==r&&r.allow_add_member)&&"none"},className:"iconfont icon-lajitong1 mr3 font15 current",onClick:function(e){e.stopPropagation(),o(a.id)}})})})]})]})})),sn=(0,Ge.JN)((function(e){var n=e.items,t=e.params,i=e.dispatch,r=e.classroomList,a=e.handleDeleteMember,o=e.pathsDetail;return(0,V.jsx)("div",{className:"task-list-container",style:{minHeight:240*(null==n?void 0:n.length)},children:null==n?void 0:n.map((function(e,n){return(0,V.jsx)(ln,{dispatch:i,pathsDetail:o,handleDeleteMember:a,classroomList:r,toIndex:n+1,params:t,index:n,item:e},"".concat(e.id))}))})})),un=(0,p.connect)((function(e){return{classroomList:e.classroomList,pathsDetail:e.pathsDetail}}))((function(e){var n=e.data,t=e.classroomList,i=e.pathsDetail,a=(e.callback,e.handleDeleteMember),o=(e.onCancel,e.dispatch),l=(e.visible,(0,h.useState)(n)),u=c()(l,2),d=u[0],f=u[1],v=(0,p.useParams)(),m=(0,h.useState)(),x=c()(m,2);x[0],x[1];function g(){return(g=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/paths/".concat(null==v?void 0:v.pathId,"/spoc_courses/move_position.json"),{method:"post",body:{ids:n}});case 2:e.sent;case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){f(n)}),[JSON.stringify(n)]),(0,V.jsx)("div",{style:{zIndex:9999,width:"100%"},className:"sort-list-panel",children:(0,V.jsx)(sn,{axis:"y",helperClass:"dragging-li",pathsDetail:i,distance:2,dispatch:o,handleDeleteMember:a,classroomList:t,params:v,items:d,onSortEnd:function(e){var n=e.newIndex,t=e.oldIndex;!function(e){g.apply(this,arguments)}(Ye()(d,t,n).map((function(e){return null==e?void 0:e.id}))),f(Ye()(d,t,n))}})})})),cn=t(83),dn=t(85062),fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAWCAYAAADTlvzyAAAAAXNSR0IArs4c6QAAA+JJREFUSA2dVltslEUUPmf+f7cXt+oKRKzVtCoICbARtVEJIA+mQiMaI00UXuCBRCT2AZPGaCJvWjUmQowPSBpN+kK8RKVNCIZLorIEVEqFmABVgxsuspi2wHZ3Z+f4za7/9r9sSe0k7Zz55pzzzZzL7M80zdHaJ7fnx+g9EeokptkklGGm/geX0PZDq1hP0w1MpzHm7pA5LLQfZKka6t/MaqZ1p7q4UGMvArkRBMC+IWnTpvC4EMeEzI+bD9NWoZpk1nzt1Yu0cXB44js27qMlY+pE0fAzqfjPtXxHCPcOFZdr0tuIlWOvfyXnnBWmTQjh1MNQtynSBVaynhFnROOFgZP6y84lbl/YSPmBPackAeBVOHc8vP8MuVgnvHWtGQdacO66ygT2jDw/eKLwUADDIkDYmNePIU/1fqWR626V3I8HZMT+eBYHCw3AHSEoSEjKzA0rzLuNcmGs1np+MnY5jDNJcxgL3NBRztWwwsuLdAy1PBbGQ+uRpclCJOwiEvEXINTaBPMAr66hFSieSPL9hErRVyLc7sfKsnL+CmMBwtzZ2K9EcsmvBLL2jpZiP4rvhh+vyrj9ylbqU8RPVzFPKBX3e6I3Bwi7uriE8O3yNu2MbuCuB/hZiBuwV/Lv4RATsxto/Y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sL/TkrhOCKykHcPztD1pgb5DzS+Dpeivwb99ubfOsqTDe5fuZihtyzG5F4bs9FqvwXTb2y1k7Ibw6vQIclsOrETk+IvDJ2s0em6qwiZrPWD02hh/H5t7+uLXNaworau37d8UU+K3SFBa8/1dh/i59jZa+GX2hi+JhhueE/8/NJNHZ14WRhCBtPuwpqgdllC7r+OU7oqhQaGtvSVYbay3CjcXGXPiiY14N7wjqlgQWeNIoPLxSQZnd/HBiRPYa2PAcKVz8rPddF9sEpCk6nx+WbUPmUTZN+TeMqqYOHk0OyoewqHm3ChdLes9VFGlVHgUzk0OyGyQXP2meKdmk1ZEUHuQHZD9oN8/NzQtYXEEvRb85DqbCogY2MSwFRjHFlHyVOrGW8RupGIelwwS0iwAAAABJRU5ErkJggg==",pn=t(30929),vn=t(42441),mn=(t(56047),["pathsDetail","user","globalSetting","loading","classroomList","dispatch"]);function xn(e){var n=e.target,t=function(e,n){if(e.localName===n)return e;for(var t=0,i=e;i=i.parentNode;t++){if(i.localName===n)return i;if(i==document.documentElement)return!1}}(n,"a");if(console.log([t],null==t?void 0:t.href,44),(null==t||!t.href)&&"IMG"===n.tagName.toUpperCase()){var i=n.src||n.getAttribute("src");i&&-1===i.indexOf("/images/avatars/User")&&(e.stopPropagation(),e.preventDefault(),pn.Z.publish("preview-image",i))}}var gn=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.user,i=e.loading,r=e.globalSetting,a=e.classroomList;return{pathsDetail:n,user:t,globalSetting:r,loading:i.models.index,classroomList:a}}))((function(e){var n,t,i,a,o,l,u,d,v,m,y,_,j,w,P,T,C,I,L,Z,z,D,F,E,X,O,R,q,B,J,K,W,G,Q,$,ne,te,ie,re,ae,oe,se,ue,ce,de,fe,Ee,Re,He,qe,Ve,Be,Ge,Qe,Ye,$e,en,tn,rn,an,on,ln,sn,pn,gn,yn,bn,_n,jn,wn,kn,Pn,Tn,Nn,Sn,Cn,Mn,An,In,Ln,Zn,zn,Dn,Fn,En,Xn,On,Rn,Hn=e.pathsDetail,qn=e.user,Vn=(e.globalSetting,e.loading,e.classroomList),Bn=e.dispatch,Jn=(f()(e,mn),(0,p.useSearchParams)()),Kn=c()(Jn,1)[0],Un=(0,p.useParams)(),Wn=(0,h.useState)(!0),Gn=c()(Wn,2),Qn=(Gn[0],Gn[1],(0,h.useState)(!1)),Yn=c()(Qn,2),$n=Yn[0],et=Yn[1],nt=(0,h.useState)(),tt=c()(nt,2),it=tt[0],rt=tt[1],at=(0,h.useState)(),ot=c()(at,2),lt=ot[0],st=ot[1],ut=(0,h.useState)({}),ct=c()(ut,2),dt=ct[0],ft=ct[1],ht=(0,h.useState)(),pt=c()(ht,2),vt=pt[0],mt=pt[1],xt=(0,h.useRef)(),gt=(0,h.useState)(!1),yt=c()(gt,2),bt=yt[0],_t=yt[1],jt=(0,h.useState)({}),wt=c()(jt,2),kt=wt[0],Pt=wt[1],Tt=(0,h.useState)(!1),Nt=c()(Tt,2),St=Nt[0],Ct=Nt[1],Mt=(0,h.useState)(!1),At=c()(Mt,2),It=At[0],Lt=At[1],Zt=(0,h.useState)(!1),zt=c()(Zt,2),Dt=zt[0],Ft=zt[1];(0,p.useLocation)();(0,h.useEffect)((function(){if(xt.current)return xt.current.addEventListener("mousedown",xn),function(){var e;null===(e=xt.current)||void 0===e||e.removeEventListener("mousedown",xn)}}),[xt.current]);var Et=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=lt&&lt.trim()){e.next=3;break}return x.ZP.warning("名称不能为空"),e.abrupt("return");case 3:return e.next=5,(0,S.bw)({id:Un.pathId,team_title:lt.trim()});case 5:n=e.sent,rt(!it),0===(null==n?void 0:n.status)&&(st(null),x.ZP.success(n.message),Bn({type:"pathsDetail/getRightData",payload:{id:Un.pathId}}));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function Xt(){return(Xt=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Pt,e.next=3,(0,S.ue)({id:Un.pathId,course_type:1});case 3:e.t1=e.sent,(0,e.t0)(e.t1);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,h.useEffect)((function(){var e,n;1===(null===(e=Hn.detail)||void 0===e?void 0:e.show_spoc)&&Bn({type:"pathsDetail/getCoureses",payload:{id:Un.pathId}}),null!==(n=Hn.detail)&&void 0!==n&&n.show_history&&function(){Xt.apply(this,arguments)}()}),[Hn.detail]),(0,h.useEffect)((function(){var e;if("修改开课时间"===(null===(e=Vn.actionTabs)||void 0===e?void 0:e.key)){var n,t=null===(n=Hn.detail)||void 0===n||null===(n=n.courses)||void 0===n?void 0:n.find((function(e){var n;return e.course_id===(null===(n=Vn.actionTabs)||void 0===n?void 0:n.name)}));ft(t||{})}}),[Vn.actionTabs]),(0,h.useEffect)((function(){var e,n,t,i;if(null!==(e=Hn.detail)&&void 0!==e&&e.has_start){var r,a=null===(r=Hn.detail)||void 0===r||null===(r=r.courses)||void 0===r?void 0:r.findIndex((function(e){var n;return 1===parseInt(null===(n=e.course_status)||void 0===n?void 0:n.status)}));t=a>-1?a:0}else{var o,l,s=null===(o=Hn.detail)||void 0===o||null===(o=o.courses)||void 0===o||null===(o=o.map((function(e){var n;return parseInt(null===(n=e.course_status)||void 0===n?void 0:n.status)})))||void 0===o?void 0:o.lastIndexOf(2);t=s>-1?s:0,t=(s=null===(l=Hn.detail)||void 0===l||null===(l=l.courses)||void 0===l?void 0:l.findIndex((function(e){var n;return 0===parseInt(null===(n=e.course_status)||void 0===n?void 0:n.status)})))>-1?s:t}null!==(n=Hn.detail)&&void 0!==n&&n.courses&&ft((null===(i=Hn.detail)||void 0===i?void 0:i.courses[t])||{})}),[Hn.detail]);var Ot,Rt=function(){var e=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({title:"提示",centered:!0,okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",children:"你确定要删除该成员吗?"}),onOk:function(){var e=s()(r()().mark((function e(){var t,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.EP)({id:Un.pathId,user_id:n});case 2:1===(null==(t=e.sent)?void 0:t.status)&&((null===(i=qn.userInfo)||void 0===i?void 0:i.user_id)===n&&(window.location.href=window.location.href),x.ZP.info(null==t?void 0:t.message),Bt());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Ht=function(){var e=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.Z.confirm({title:"提示",centered:!0,okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",children:"你确定要删除该课堂吗?"}),onOk:function(){var e=s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.$D)({id:Un.pathId,courseid:n});case 2:0===(null==(t=e.sent)?void 0:t.status)&&(x.ZP.info("删除成功"),Bt());case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),qt=function(){var e;g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",children:"是否确认立即预约?"}),onOk:(e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.c3)({id:Un.pathId});case 2:0===(n=e.sent).status&&(mt(!0),x.ZP.success(n.message));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},Vt=function(e){Bn({type:"pathsDetail/setActionTabs",payload:{key:"Collaborators-AddCourses",type:e}})},Bt=function(){Bn({type:"pathsDetail/getPathsDetail",payload:{id:Un.pathId}}),Bn({type:"pathsDetail/getRightData",payload:{id:Un.pathId}}),Bn({type:"pathsDetail/getCoureses",payload:{id:Un.pathId}})},Jt=function(){var e;(0,U.tJ)(Bn)&&g.Z.confirm({centered:!0,width:530,title:"提示",okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc",children:"是否确定加入该课堂"}),onOk:(e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.JS)({id:null==dt?void 0:dt.course_id});case 2:0===(n=e.sent).status&&(x.ZP.success(n.message),Bn({type:"pathsDetail/getPathsDetail",payload:{id:Un.pathId}}),1===parseInt(null===(t=dt.course_status)||void 0===t?void 0:t.status)&&(0,H.xg)("".concat(null==dt?void 0:dt.first_category_url)));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},Kt=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return et(!0),e.next=3,(0,ee.ZP)("/api/payments.json",{method:"POST",body:{subject_id:Un.pathId,payment_method:"wechat_qr"}});case 3:null!=(n=e.sent)&&n.num&&(et(!1),p.history.push(Kn.get("userid")?"/order/".concat(Un.pathId,"/pay?order_num=").concat(null==n?void 0:n.num,"&userid=").concat(Kn.get("userid")):"/order/".concat(Un.pathId,"/pay?order_num=").concat(null==n?void 0:n.num)));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Ut=function(){var e=s()(r()().mark((function e(n,t){var i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Bn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"正在进入实践项目,请稍后..."}}),!t){e.next=7;break}return e.next=4,(0,dn.BK)({id:n});case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,(0,dn.Ir)({id:n});case 9:e.t0=e.sent;case 10:if(i=e.t0,Bn({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),!(null!=i&&i.game_identifier||null!=i&&i.identifier)){e.next=15;break}return(0,H.xg)(t?"/tasks/".concat(null==i?void 0:i.identifier,"/jupyter"):"/tasks/".concat(i.game_identifier)),e.abrupt("return");case 15:2===(null==i?void 0:i.status)?Gt(null==i?void 0:i.message):3===(null==i?void 0:i.status)&&Wt(null==i?void 0:i.message);case 16:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Wt=function(e){g.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,V.jsxs)("div",{className:"tc font16",children:["目前该实践项目尚在内测中,将于",e,"之后开放,谢谢!"]})})},Gt=function e(n){var t,i;n=null!==(t=n)&&void 0!==t&&t.includes(".json")?n:"".concat(n,".json"),g.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,V.jsx)("div",{className:"tc font16",children:"实训已经更新了,正在为您重置!"}),onOk:(i=s()(r()().mark((function t(){var i,a;return r()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,cn.$Q)({url:n});case 2:if(i=t.sent){t.next=5;break}return t.abrupt("return");case 5:return x.ZP.success("重置成功,正在进入实践项目!"),t.next=8,(0,dn.Ir)({id:i.shixun_identifier});case 8:if(null==(a=t.sent)||!a.game_identifier){t.next=12;break}return(0,H.xg)("/tasks/".concat(a.game_identifier)),t.abrupt("return");case 12:2===(null==a?void 0:a.status)?e(null==a?void 0:a.message):3===(null==a?void 0:a.status)&&Wt(null==a?void 0:a.message);case 13:case"end":return t.stop()}}),t)}))),function(){return i.apply(this,arguments)})})},Qt=function(){var e;if((0,U.tJ)(Bn)){var n=[];null==Hn||null===(e=Hn.stageData)||void 0===e||e.forEach((function(e){var t,i;e.items&&null!==(t=e.items)&&void 0!==t&&t.length&&(null===(i=e.items)||void 0===i||i.forEach((function(e){var t;n.push(e),e.children&&null!==(t=e.children)&&void 0!==t&&t.length&&(n=n.concat(e.children))})))}));var t=n.find((function(e){return["VideoItem","Attachment","Shixun"].includes(e.item_type)}));console.log(t,"stageParam"),"VideoItem"!==t.item_type?"Attachment"!==t.item_type?"Shixun"!==t.item_type||Ut(t.identifier,t.is_jupyter):(0,H.xg)(t.url):(0,H.xg)("/video/".concat(t.id,"?subject_id=").concat(Un.pathId))}},Yt=function(){var e=s()(r()().mark((function e(){var n,t,i,a,o,l,u,c;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/users/".concat(qn.userInfo.login,"/subjects/request_certificate.json"),{method:"post",body:{subject_id:Un.pathId}});case 2:0===(null==(n=e.sent)?void 0:n.status)&&(x.ZP.info("提交成功"),Bn({type:"pathsDetail/getRightData",payload:{id:Un.pathId}}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),null!==(n=qn.userInfo)&&void 0!==n&&n.professional_certification){e.next=4;break}return g.Z.confirm({title:"提示",centered:!0,content:(0,V.jsx)("div",{className:"tc",children:"您需要去完成您的职业认证,才能使用此功能"}),okText:"立即完善",cancelText:"稍后完善",onOk:function(){(0,H.xg)("/account/certification")}}),e.abrupt("return",!1);case 4:if("drafted"!==(null===(t=Hn.rightData)||void 0===t||null===(t=t.progress)||void 0===t?void 0:t.certificated)){e.next=6;break}return e.abrupt("return",!1);case 6:if("none"!==(null===(i=Hn.rightData)||void 0===i||null===(i=i.progress)||void 0===i?void 0:i.certificated)&&"rejected"!==(null===(a=Hn.rightData)||void 0===a||null===(a=a.progress)||void 0===a?void 0:a.certificated)){e.next=9;break}return 100===(null===(u=Hn.rightData)||void 0===u?void 0:u.progress.learned)?g.Z.info({title:"申请证书",icon:null,className:"custom-modal-divider",centered:!0,width:400,content:'申请成功,可以在个人中心"我的证书"中查看',okText:"确定申请",cancelText:"取消",onOk:l}):g.Z.confirm({title:"申请证书",icon:null,className:"custom-modal-divider",centered:!0,width:400,content:"你目前学习进度为".concat(null===(c=Hn.rightData)||void 0===c?void 0:c.progress.learned,"%,建议申请后继续进行课程学习"),okText:"确定申请",cancelText:"取消",onOk:l}),e.abrupt("return",!1);case 9:"passed"===(null===(o=Hn.rightData)||void 0===o||null===(o=o.progress)||void 0===o?void 0:o.certificated)&&_t(!0);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$t=(0,h.useMemo)((function(){var e,n,t;if(null!==(e=Hn.rightData)&&void 0!==e&&null!==(e=e.tags)&&void 0!==e&&e.length)return(0,V.jsx)(vn.Z,{option:(t=new Image,t.src=Je.yt,{backgroundColor:"#fff",tooltip:{pointFormat:"{series.name}</b>"},series:[{type:"wordCloud",sizeRange:[10,30],rotationRange:[-90,90],rotationStep:45,gridSize:2,shape:"pentagon",maskImage:t,textStyle:{normal:{color:function(){return"rgb("+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+")"}}},left:"center",top:"center",right:null,bottom:null,width:"100%",height:"100%",data:(null===(n=Hn.rightData)||void 0===n||null===(n=n.tags)||void 0===n?void 0:n.map((function(e,n){return{name:e.tag_name,value:n}})))||[]}]}),style:{height:370},opts:{renderer:"svg"}})}),[null===(n=Hn.rightData)||void 0===n?void 0:n.tags]),ei=(0,h.useMemo)((function(){var e;return(0,V.jsx)("div",{style:{width:"100%"},children:null===(e=Hn.rightData)||void 0===e||null===(e=e.members)||void 0===e?void 0:e.map((function(e,n){var t,i,r,a,o;return(0,V.jsx)("div",{style:{display:"inline-block",width:"33%",padding:"5px",background:"#fff",marginTop:"10px"},children:(0,V.jsxs)("div",{className:Fe,children:[(0,V.jsxs)(b.Z,{autoAdjustOverflow:!1,color:"#ffffff",placement:"leftTop",title:(0,V.jsxs)("div",{className:Xe,children:[(0,V.jsxs)("div",{style:{display:"flex"},children:[(0,V.jsx)("div",{className:De,style:{marginRight:11},children:(0,V.jsx)("img",{className:De,src:he.Z.API_SERVER+"/images/"+(null==e?void 0:e.image_url)})}),(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{title:null==e?void 0:e.name,style:{fontSize:"14px",color:"#333333",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"200px",overflow:"hidden"},children:(null==e?void 0:e.name)||"--"}),(0,V.jsx)("div",{title:null==e?void 0:e.school,style:{color:"#999999",fontSize:"12px",width:"192px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},children:null==e?void 0:e.school})]})]}),(0,V.jsx)("div",{style:{height:"1px",width:"100%",border:"1px solid #f5f5f5",marginTop:"20px",marginBottom:"10px"}}),!(null!=e&&e.brief_introduction)&&(0,V.jsx)("div",{children:"暂无相关介绍"}),(null==e?void 0:e.brief_introduction)&&(0,V.jsx)("div",{className:Oe,children:null==e?void 0:e.brief_introduction}),(null==qn||null===(t=qn.userInfo)||void 0===t?void 0:t.user_id)===(null==e?void 0:e.id)&&(0,V.jsx)("div",{style:{position:"absolute",bottom:"15px",right:"23px",cursor:"pointer"},onClick:function(){return p.history.push("/account/profile")},children:(0,V.jsx)("i",{className:"iconfont icon-bianji_Hover",style:{color:"#3061D0"}})})]}),children:[(0,V.jsx)("img",{draggable:!1,className:ze,onClick:function(){(0,N.bg)()?p.history.push("".concat(e.user_url)):Bn({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})},src:he.Z.API_SERVER+"/images/"+(null==e?void 0:e.image_url)}),(0,V.jsxs)("div",{children:[(null==e||null===(i=e.name)||void 0===i?void 0:i.length)>6?(null==e||null===(r=e.name)||void 0===r?void 0:r.substr(0,6))+"...":(null==e?void 0:e.name)||"--",(0,V.jsx)("br",{}),(0,V.jsx)("span",{style:{color:"#999999"},children:(null==e||null===(a=e.school)||void 0===a?void 0:a.length)>6?(null==e||null===(o=e.school)||void 0===o?void 0:o.substr(0,6))+"...":(null==e?void 0:e.school)||"--"})]})]}),(0,V.jsx)("br",{})]})},n)}))})}),[null===(t=Hn.rightData)||void 0===t?void 0:t.members]),ni=!(null===(i=Hn.detail)||void 0===i||!i.participant_count||null!==(a=Hn.detail)&&void 0!==a&&a.allow_statistics),ti=(null===(o=Hn.detail)||void 0===o||null===(o=o.courses)||void 0===o?void 0:o.findIndex((function(e){return(null==e?void 0:e.course_id)===(null==dt?void 0:dt.course_id)})))+1===(null===(l=Hn.detail)||void 0===l||null===(l=l.courses)||void 0===l?void 0:l.length);return(0,V.jsxs)("section",{className:ve,children:[(null===(u=Hn.rightData)||void 0===u?void 0:u.qrcode_img)&&(0,V.jsx)("div",{className:me,children:(0,V.jsx)("img",{src:null===(d=Hn.rightData)||void 0===d?void 0:d.qrcode_img})}),(null===(v=Hn.rightData)||void 0===v?void 0:v.progress)&&(0,V.jsxs)("div",{className:"".concat(ge," ").concat(xe),style:{top:null!==(m=Hn.detail)&&void 0!==m&&null!==(m=m.courses)&&void 0!==m&&m.length?"-140px":"-70px"},children:[2===parseInt(null==dt||null===(y=dt.course_status)||void 0===y?void 0:y.status)&&dt.course_identity<6&&(0,V.jsx)("div",{className:"current mr20 c-grey-9b9 font14",children:"已结束"}),2===parseInt(null===(_=dt.course_status)||void 0===_?void 0:_.status)&&(dt.course_identity<6?"":(0,V.jsx)("div",{className:"current mr20 c-grey-9b9 font14",children:"已结束"})),(0,V.jsxs)("div",{className:ye,children:[ni&&!(null===(j=Hn.detail)||void 0===j||null===(j=j.courses)||void 0===j||!j.length)&&ti&&(0,V.jsxs)("span",{className:"mt20",children:[(0,V.jsxs)("span",{className:"mr10",children:["当预约报名人数达到 ",null===(w=Hn.detail)||void 0===w?void 0:w.student_count," 人时即将开课"]}),(0,V.jsxs)("p",{className:"",children:["当前预约报名人数:",(0,V.jsx)("span",{className:"mr5 c-red-ee4",children:!0===vt?(null===(P=Hn.detail)||void 0===P?void 0:P.participant_count)+1:null===(T=Hn.detail)||void 0===T?void 0:T.participant_count}),"人"]})]}),ni&&!(null!==(C=Hn.detail)&&void 0!==C&&null!==(C=C.courses)&&void 0!==C&&C.length)&&ti&&(0,V.jsxs)("span",{children:[!(null!==(I=Hn.detail)&&void 0!==I&&I.has_participate)&&(!0===vt?(0,V.jsx)("span",{className:"".concat(Pe," ").concat(Ne),children:"预约报名成功"}):(0,V.jsx)("a",{className:"".concat(Pe," ").concat(Te),onClick:qt,children:"期待开课并预约报名"})),(null===(L=Hn.detail)||void 0===L?void 0:L.has_participate)&&(0,V.jsx)("span",{className:"".concat(Pe," ").concat(Ne),children:"预约报名成功"}),(0,V.jsxs)("span",{className:"mr10",children:["当预约报名人数达到 ",null===(Z=Hn.detail)||void 0===Z?void 0:Z.student_count," 人时即将开课"]}),(0,V.jsxs)("p",{className:"",children:["当前预约报名人数:",(0,V.jsx)("span",{className:"mr5 c-red-ee4",children:!0===vt?(null===(z=Hn.detail)||void 0===z?void 0:z.participant_count)+1:null===(D=Hn.detail)||void 0===D?void 0:D.participant_count}),"人"]})]})]}),1===parseInt(null==dt||null===(F=dt.course_status)||void 0===F?void 0:F.status)&&(0,V.jsx)("div",{className:"mr20 c-red-ee4",children:null==dt||null===(E=dt.course_status)||void 0===E?void 0:E.time}),(0,V.jsxs)("p",{style:{display:dt.course_identity<6?"":"none"},className:"mb10 mt10 ".concat(be),children:[(0,V.jsxs)("span",{style:{display:(null===(X=dt.course_status)||void 0===X?void 0:X.status)<=1?"":"none"},className:"c-light-green font14",children:["已学",null===(O=Hn.rightData)||void 0===O?void 0:O.progress.learned,"%"]}),(0,V.jsxs)("span",{style:{display:(null===(R=dt.course_status)||void 0===R?void 0:R.status)<=1?"":"none"},className:"c-light-black",children:["学习耗时",(0,H.li)(null===(q=Hn.rightData)||void 0===q?void 0:q.progress.time)," "]}),"disabled"!=(null===(B=Hn.rightData)||void 0===B||null===(B=B.progress)||void 0===B?void 0:B.certificated)&&(0,V.jsxs)(k.ZP,{disabled:"drafted"===(null===(J=Hn.rightData)||void 0===J||null===(J=J.progress)||void 0===J?void 0:J.certificated),onClick:Yt,children:["none"===(null===(K=Hn.rightData)||void 0===K||null===(K=K.progress)||void 0===K?void 0:K.certificated)&&"申请证书","rejected"===(null===(W=Hn.rightData)||void 0===W||null===(W=W.progress)||void 0===W?void 0:W.certificated)&&"申请证书","drafted"===(null===(G=Hn.rightData)||void 0===G||null===(G=G.progress)||void 0===G?void 0:G.certificated)&&"审核中","passed"===(null===(Q=Hn.rightData)||void 0===Q||null===(Q=Q.progress)||void 0===Q?void 0:Q.certificated)&&"查看证书"]})]}),(0,V.jsxs)(b.Z,{placement:"bottom",title:"完成课程后可获取证书!",color:"yellow",children:[" ",(0,V.jsx)(pe.Z,{percent:null===($=Hn.rightData)||void 0===$?void 0:$.progress.learned,showInfo:!1,style:{display:(null===(ne=dt.course_status)||void 0===ne?void 0:ne.status)<=1&&dt.course_identity<6?"":"none"},status:"active",strokeColor:{"0%":"#29BD8B","100%":"#29BD8B"}})]}),2===parseInt(null===(te=dt.course_status)||void 0===te?void 0:te.status)&&(null===(ie=Hn.detail)||void 0===ie?void 0:ie.allow_add_member)&&(0,V.jsx)("a",{className:Pe,href:"".concat(null==dt?void 0:dt.first_category_url),target:"_blank",children:"进入课堂"}),1===parseInt(null===(re=dt.course_status)||void 0===re?void 0:re.status)&&dt.course_identity>5&&(0,V.jsx)("div",{className:Pe,onClick:Jt,children:"立即加入"}),1===parseInt(null===(ae=dt.course_status)||void 0===ae?void 0:ae.status)&&5===dt.course_identity&&(0,V.jsx)("a",{className:Pe,href:"".concat(null==dt?void 0:dt.first_category_url),target:"_blank",children:"立即学习"}),0===parseInt(null===(oe=dt.course_status)||void 0===oe?void 0:oe.status)&&dt.course_identity>5&&(0,V.jsx)("div",{className:Pe,onClick:Jt,children:"立即报名"}),0===parseInt(null===(se=dt.course_status)||void 0===se?void 0:se.status)&&5===dt.course_identity&&(0,V.jsx)("div",{className:Pe,children:"报名成功"}),(0===parseInt(null==dt||null===(ue=dt.course_status)||void 0===ue?void 0:ue.status)||1===parseInt(null==dt||null===(ce=dt.course_status)||void 0===ce?void 0:ce.status))&&dt.course_identity<5&&(0,V.jsx)("a",{className:Pe,href:"".concat(null==dt?void 0:dt.first_category_url),target:"_blank",children:"进入课堂"}),ni&&ti&&(null===(de=Hn.detail)||void 0===de?void 0:de.has_participate)&&(0,V.jsx)("span",{className:"".concat(Pe," ").concat(Ne),children:"预约报名成功"}),ni&&ti&&!(null!==(fe=Hn.detail)&&void 0!==fe&&fe.has_participate)&&(vt?(0,V.jsx)("span",{className:"".concat(Pe," ").concat(Ne),children:"预约报名成功"}):(0,V.jsx)("span",{className:"".concat(Pe," ").concat(Te),onClick:qt,children:"期待开课并预约报名"})),!(null!==(Ee=Hn.detail)&&void 0!==Ee&&Ee.excellent)&&!0!==(null===(Re=Hn.detail)||void 0===Re?void 0:Re.is_free)&&(0,V.jsxs)("div",{className:Se,children:[(0,V.jsxs)("div",{className:Ce,children:[(0,V.jsxs)("span",{children:[(0,V.jsx)(b.Z,{placement:"top",title:"课程有效期",color:"rgba(74,87,118,0.8)",children:(0,V.jsx)("i",{className:"iconfont icon-shijian3 mr8 font14 current",style:{color:"#707787"}})}),(0,V.jsxs)("span",{style:{color:"#333"},children:["1"===(null===(He=Hn.detail)||void 0===He||null===(He=He.expiration_type)||void 0===He?void 0:He.clazz)&&"永久有效","2"===(null===(qe=Hn.detail)||void 0===qe||null===(qe=qe.expiration_type)||void 0===qe?void 0:qe.clazz)&&"购买后".concat(null===(Ve=Hn.detail)||void 0===Ve||null===(Ve=Ve.expiration_type)||void 0===Ve||null===(Ve=Ve.days)||void 0===Ve?void 0:Ve[0],"天内有效"),"3"===(null===(Be=Hn.detail)||void 0===Be||null===(Be=Be.expiration_type)||void 0===Be?void 0:Be.clazz)&&"".concat(null===(Ge=Hn.detail)||void 0===Ge||null===(Ge=Ge.expiration_type)||void 0===Ge||null===(Ge=Ge.days)||void 0===Ge?void 0:Ge.join("到"))]})]}),function(){var e,n,t,i,r,a,o,l=null===(e=Hn.detail)||void 0===e||null===(e=e.learning_status)||void 0===e?void 0:e[0];null===(n=Hn.detail)||void 0===n||null===(n=n.learning_status)||void 0===n||n[1];return"disabled"===l?(0,V.jsx)(b.Z,{title:"完成课程学习即可获得结业证书",children:(0,V.jsx)("b",{className:Me,children:"申请证书"})}):"can"===l?(0,V.jsxs)("b",{className:"drafted"===(null===(t=Hn.rightData)||void 0===t||null===(t=t.progress)||void 0===t?void 0:t.certificated)?Ae:"",onClick:Yt,children:["none"===(null===(i=Hn.rightData)||void 0===i||null===(i=i.progress)||void 0===i?void 0:i.certificated)&&"申请证书","rejected"===(null===(r=Hn.rightData)||void 0===r||null===(r=r.progress)||void 0===r?void 0:r.certificated)&&"申请证书","drafted"===(null===(a=Hn.rightData)||void 0===a||null===(a=a.progress)||void 0===a?void 0:a.certificated)&&"审核中","passed"===(null===(o=Hn.rightData)||void 0===o||null===(o=o.progress)||void 0===o?void 0:o.certificated)&&"查看证书"]}):void 0}()]}),"can"===(null===(Qe=Hn.detail)||void 0===Qe||null===(Qe=Qe.learning_status)||void 0===Qe?void 0:Qe[0])?(0,V.jsxs)(h.Fragment,{children:[(0,V.jsxs)("div",{className:Ie,children:[(0,V.jsxs)("span",{children:["已学",null===(Ye=Hn.rightData)||void 0===Ye?void 0:Ye.progress.learned,"%"]}),(0,V.jsxs)("b",{children:["学习耗时",(0,H.li)(null===($e=Hn.rightData)||void 0===$e?void 0:$e.progress.time)]})]}),(0,V.jsx)("div",{className:Le,children:(0,V.jsx)("div",{style:{width:(null===(en=Hn.rightData)||void 0===en?void 0:en.progress.learned)+"%"}})})]}):(0,V.jsxs)("div",{className:Ze,children:[(null===(tn=Hn.detail)||void 0===tn?void 0:tn.is_discount)&&!(null===(rn=Hn.detail)||void 0===rn||!rn.origin_price)&&(0,V.jsxs)("span",{children:["课程原价",(0,V.jsx)("br",{}),(0,V.jsxs)("i",{children:["¥",null===(an=Hn.detail)||void 0===an?void 0:an.origin_price]})]}),(0,V.jsxs)("div",{style:{margin:"0 auto",display:"flex",alignItems:"center"},children:[(0,V.jsxs)("div",{children:[(0,V.jsx)("span",{style:{fontSize:"16px",marginRight:"4px"},children:"¥"}),null!==(on=Hn.detail)&&void 0!==on&&on.is_discount?null===(ln=Hn.detail)||void 0===ln?void 0:ln.price:null===(sn=Hn.detail)||void 0===sn?void 0:sn.origin_price]}),null!==(pn=Hn.detail)&&void 0!==pn&&pn.is_discount?(0,V.jsx)("div",{style:{fontSize:"12px",background:"#f9d1d1",color:"#dd4046",borderRadius:"3px",padding:"0 5px",marginLeft:"3px",lineHeight:"20px"},children:null!==(gn=Hn.detail)&&void 0!==gn&&gn.countdown?"倒计时:".concat(null===(yn=Hn.detail)||void 0===yn?void 0:yn.countdown):"限时优惠"}):(0,V.jsx)(V.Fragment,{})]})]}),function(){var e,n,t=null===(e=Hn.detail)||void 0===e||null===(e=e.learning_status)||void 0===e?void 0:e[0],i=null===(n=Hn.detail)||void 0===n||null===(n=n.learning_status)||void 0===n?void 0:n[1];if("can"===t)return(0,V.jsx)(k.ZP,{onClick:Qt,type:"primary",children:"开始学习"});if("disabled"===t){if("try"===i||"unpayed"===i)return(0,V.jsx)(k.ZP,{loading:$n,onClick:Kt,type:"primary",children:"立即购买"});if("expired"===i)return(0,V.jsx)(k.ZP,{disabled:!0,type:"primary",children:"已过期"});if("buyed"===i)return(0,V.jsx)(k.ZP,{disabled:!0,type:"primary",children:"未开始"})}}()]}),(0,V.jsx)("p",{className:"mb30",style:{marginTop:"15px"},children:(0,V.jsxs)("span",{className:"font16",style:{display:"flex",alignItems:"center"},children:[(0,V.jsx)("img",{style:{marginRight:"10px"},src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAv9JREFUSA2dVV1IVEEU/s7sqkuiUAahgREkQVjmS0FEBRWELz1Yj5ZSJBEaVm8RBOFbQSZIQUU9hFT4EqRuBdIP0oOia5lIZBRZoBWYy+a6O3M6s3DxXrurez1wOeee+b7zzZ05dwYIaD0x3dk9rNsD0hAOSgBjDwHTQXmBhZgwB7A8wcwjFI1xYYiw7sA2mshWJqRUHSkkso3b/LMPXJHOw9eaCko6OOUE1muY1pQx490xPuLOO3HZLV7b8BJz9X1QNnbybt8zok/plBlHwlxw5z1CIajbIMwQm87no1xugZeZVVkbN5S28YD5i2mTxmDmkdjm1t/geoux2O5hrpY9vCnhJOWrBzbnmOyr12T5Kg3M8UixunSyF8WJeXQxY7cX5X0jwmvZu9rH+5CeZXMxn1TH4uX/T8gpsfkOF83E0S8zrHRyS3rCu5Iwdo2eobgfzrN0bsCfWVzLWcQSGVt/p4WTxXy/aEM7b0wafBRyKAvPP03QBQoVX5ro82JA+MUYl+h5bKIwkge3IEZELCK1gUVsZZlYhgtcZWmQ6Ai2y5fk6VUYU6mkeaVZv02n9FDviD5m8TJYbf1KzOFGY6bFsB60tSmhn4SJ1HnA7JTZJCMR9TRTnFGyEhE315B6KHUjIhxWpPrCh6qoVwD2WTDCLxFemVmuWE0VfRPX6hTx7TrRGHIAQX02rq+QdE6XbJQOKmI5Ga4P0VfIticx7vrgl0xZjl9rW5KvkB1Yk4dzMsP3Ns7JBFtcBGksf8sqZI+Swnzsl3PsjT91IWsxFjt+gmYXst4oq5CFfTpNU43N2BtSaJBig16q/G+Ss2MWY7GLx93v0ua5W+YOSiFzfUAutu+N9DNXdk5C5R28Op1GnRQtcBc2QFwV4L4ILnnjWo7nKncXccc6jcPGoM2dc2Kex4TEUec9m8/pi44+4lD/FHbInxVxF9KM+I+zGLAHsTvvF+ck5BBLr3OL3KRNcjyxNMGVyWa654wt53NaOqeIzColcVL+L1nJTOwMLev/AaJkF76u7DFoAAAAAElFTkSuQmCC"})," ",null===(bn=Hn.detail)||void 0===bn?void 0:bn.learning_notes_title]})}),(0,V.jsx)("div",{ref:xt,children:(0,V.jsx)(le.Z,{className:"fon16",value:null===(_n=Hn.detail)||void 0===_n?void 0:_n.learning_notes})})]}),!(null===(jn=Hn.rightData)||void 0===jn||null===(jn=jn.members)||void 0===jn||!jn.length)&&(0,V.jsxs)("div",{className:"".concat(ge," pb0"),style:{marginTop:null!==(wn=Hn.detail)&&void 0!==wn&&null!==(wn=wn.courses)&&void 0!==wn&&wn.length?-135:-65},children:[null!==(kn=Hn.detail)&&void 0!==kn&&kn.allow_add_member?it?(0,V.jsxs)("div",{className:ye,children:[(0,V.jsx)(Y.Z,{placeholder:"例如:教学团队",value:lt,onChange:function(e){return st(e.target.value)}}),(0,V.jsx)(k.ZP,{className:"ml5",onClick:function(){return rt(!it)},children:"取消"}),(0,V.jsx)(k.ZP,{className:"ml5",type:"primary",onClick:Et,children:"确定"})]}):(0,V.jsxs)("div",{className:we,children:[(0,V.jsxs)("span",{style:{fontSize:"16px",display:"flex",alignItems:"center"},children:[" ",(0,V.jsx)("img",{style:{marginRight:"10px"},src:fn})," ",null===(Ot=Hn.rightData)||void 0===Ot?void 0:Ot.team_title]}),(0,V.jsx)("span",{className:ke,children:(0,V.jsx)("i",{className:"iconfont icon-xiugai mr1 c-light-primary font15 current",onClick:function(){return rt(!it)}})}),!St&&(0,V.jsx)("a",{style:{flex:"1",textAlign:"end"},onClick:function(){Ct(!0)},children:"编辑"}),St&&(0,V.jsxs)("div",{style:{flex:"1",textAlign:"end"},children:[(0,V.jsx)("a",{onClick:function(){Ct(!1)},children:"取消"}),(0,V.jsx)("a",{onClick:function(){Lt(!0),setTimeout((function(){Ct(!1)}),500)},style:{marginLeft:10},children:"完成"})]})]}):(0,V.jsxs)("span",{style:{fontSize:"16px",display:"flex",alignItems:"center"},children:[" ",(0,V.jsx)("img",{style:{marginRight:"10px"},src:fn})," ",null===(Pn=Hn.rightData)||void 0===Pn?void 0:Pn.team_title]}),St&&(0,V.jsx)(nn,{setisupdate:Lt,isupdate:It,data:null===(Tn=Hn.rightData)||void 0===Tn?void 0:Tn.members,operation:null===(Nn=Hn.detail)||void 0===Nn?void 0:Nn.allow_add_member,handleDeleteMember:Rt}),!St&&ei,(null===(Sn=Hn.detail)||void 0===Sn?void 0:Sn.allow_add_member)&&(0,V.jsx)(M.Z,{gutter:[0,40],justify:"center",align:"middle",className:"bg-white mt0 pb20",children:(0,V.jsx)(A.Z,{className:"c-blue current",onClick:function(){return Ft(!0)},children:"+ 添加合作者"})})]}),!(null===(Cn=Hn.rightData)||void 0===Cn||null===(Cn=Cn.tags)||void 0===Cn||!Cn.length)&&(null===(Mn=Hn.detail)||void 0===Mn?void 0:Mn.show_tag)&&(0,V.jsxs)("div",{className:_e,children:[(0,V.jsx)("p",{className:"".concat(je," font16 mb20"),children:(0,V.jsxs)("span",{children:["技能标签",(0,V.jsx)("span",{className:"ml5 c-grey-c",children:null===(An=Hn.rightData)||void 0===An||null===(An=An.tags)||void 0===An?void 0:An.length})]})}),$t]}),1===(null===(In=Hn.detail)||void 0===In?void 0:In.show_spoc)&&(0,V.jsxs)("div",{className:"".concat(ge," pb0"),style:{marginTop:15},children:[(0,V.jsxs)("p",{className:"font16",style:{display:"flex",alignItems:"center"},children:[(0,V.jsx)("img",{style:{marginRight:"10px"},src:hn}),"SPOC课堂"]}),(0,V.jsx)(un,{data:null===(Ln=Hn.Courses)||void 0===Ln?void 0:Ln.spoc_courses,handleDeleteMember:Ht}),1===(null===(Zn=Hn.detail)||void 0===Zn?void 0:Zn.show_spoc)&&(null==Hn||null===(zn=Hn.Courses)||void 0===zn||null===(zn=zn.spoc_courses)||void 0===zn?void 0:zn.length)<3&&(null===(Dn=Hn.detail)||void 0===Dn?void 0:Dn.allow_add_member)&&(0,V.jsx)(M.Z,{gutter:[0,40],justify:"center",align:"middle",className:"bg-white mt10 pb20",children:(0,V.jsx)(A.Z,{className:"c-blue current",onClick:function(){return Vt()},children:"+ 添加课堂"})})]}),(null===(Fn=Hn.detail)||void 0===Fn?void 0:Fn.show_history)&&(0,V.jsxs)("div",{className:"".concat(ge," pb0"),style:{marginTop:15},children:[(0,V.jsxs)("p",{className:"font16",style:{display:"flex",alignItems:"center"},children:[(0,V.jsx)("img",{style:{marginRight:"10px"},src:hn}),"历史课堂"]}),(0,V.jsx)(un,{data:null==kt?void 0:kt.spoc_courses,handleDeleteMember:Ht}),(null===(En=Hn.detail)||void 0===En?void 0:En.show_history)&&(null==kt||null===(Xn=kt.spoc_courses)||void 0===Xn?void 0:Xn.length)<3&&(null===(On=Hn.detail)||void 0===On?void 0:On.allow_add_member)&&(0,V.jsx)(M.Z,{gutter:[0,40],justify:"center",align:"middle",className:"bg-white mt0",children:(0,V.jsx)(A.Z,{className:"c-blue current",onClick:function(){return Vt(1)},children:"+ 添加课堂"})})]}),(0,V.jsx)(Ke,{open:Dt,onReloadData:Bt,onClose:function(){return Ft(!1)}}),(0,V.jsx)(Ue,{onReloadData:Bt,data:kt}),(0,V.jsx)(We.Z,{visible:bt,onCancel:function(){_t(!1)},data:(null===(Rn=Hn.rightData)||void 0===Rn||null===(Rn=Rn.progress)||void 0===Rn?void 0:Rn.info)||{}})]})})),yn={flex_box_center:"flex_box_center___q0S4d",flex_space_between:"flex_space_between___Fy02c",flex_box_vertical_center:"flex_box_vertical_center___K_FnU",flex_box_center_end:"flex_box_center_end___qmqaH",flex_box_column:"flex_box_column___WQzhZ",icons:"icons___aaBUJ",shixuns:"shixuns___x9sW9",buttons:"buttons___LxOPo",addStage:"addStage___o5akL",color4CA:"color4CA___SvYU_",color204:"color204___eoE_n",completed:"completed___gk1M4",actionTabs:"actionTabs____5k1w",tab:"tab___Bfp9d",s1:"s1___BkREC",s2:"s2___y46gT",tabActive:"tabActive___Tk1ym",learn:"learn___nzbq4",labelContainer:"labelContainer___o566h",text:"text___J_6Dy",tag:"tag____4FNA","tagsList-content":"tagsList-content___j8ztj",introContent:"introContent____8Ziq",introContentMaxHeight:"introContentMaxHeight___OQHN_"},bn=t(43428),_n=t(28103),jn=t(88590),wn=t(60643),kn="drawer___hKPci",Pn="menu___NmsZq",Tn="actived___VmSRs",Nn="listItem___rLCYD",Sn="info___ProlR",Cn="title___DtPu3",Mn="titleLeft___nAPKM",An="description___D_sXj",In="filter___UOLBV",Ln="menuCourse___gfJ2j",Zn="authorname___cTiR0",zn="tooltip-content___M1Rrn",Dn=(Y.Z.Search,[{id:"type",name:"筛选",children:[{name:"全部",id:"all",type:"type"},{name:"我的",id:"mine",type:"type"}]},{id:"diff",name:"难度",children:[{name:"全部",id:"",type:"diff"},{name:"初级",id:1,type:"diff"},{name:"中级",id:2,type:"diff"},{name:"中高级",id:3,type:"diff"},{name:"高级",id:4,type:"diff"}]}]),Fn=(0,p.connect)((function(e){return{classroomList:e.classroomList,loading:e.loading}}))((function(e){var n,t=e.classroomList,i=e.loading,a=e.dispatch,l=e.cb,u=e.shixunIds,d=void 0===u?[]:u,f=((0,p.useParams)(),(0,p.useLocation)(),t.actionTabs,G.Z.useForm()),v=(c()(f,1)[0],t.shixunLists),g=(0,h.useState)([]),y=c()(g,2),_=y[0],j=y[1],w=(0,h.useState)([]),P=c()(w,2),T=P[0],C=P[1],L=[{name:"最新",id:"created_at"},{name:"最热",id:"myshixuns_count"}].filter((function(e){return!!e})),Z=(0,h.useState)({page:1,type:(0,N.Ny)()?"all":"mine",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",group_id:null,need:1,load_jupyter_evaluate:!0,is_subject:!0}),z=c()(Z,2),D=z[0],F=z[1];(0,h.useEffect)((function(){"选用实践项目"===t.actionTabs.key&&(E(),D.page=1,a({type:"classroomList/getShixunLists",payload:o()({},D)}))}),[t.actionTabs.key]);var E=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});case 2:n=e.sent,j([{id:null,name:"全部"},{id:-1,name:"未加入目录"}].concat(m()((null==n?void 0:n.groups)||[])));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=function(){a({type:"classroomList/setActionTabs",payload:{}}),F({page:1,type:(0,N.Ny)()?"all":"mine",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",group_id:null,need:1,load_jupyter_evaluate:!0,is_subject:!0})};return"选用实践项目"!==t.actionTabs.key?null:(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"选用实践项目"===t.actionTabs.key,rootClassName:kn,footer:(0,V.jsxs)("div",{className:"tc",children:[(0,V.jsx)(k.ZP,{size:"middle",onClick:function(){X(),C([]),l("取消")},style:{marginRight:8},children:"取消"}),(0,V.jsx)(k.ZP,{size:"middle",onClick:s()(r()().mark((function e(){var n,i,a,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=T[a],!d.includes(n)){e.next=4;break}return x.ZP.info("请勿重复选择:".concat(null==v||null===(t=v.shixun_list)||void 0===t||null===(t=t.find((function(e){return e.id===n})))||void 0===t?void 0:t.title)),e.abrupt("return",{v:void 0});case 4:case"end":return e.stop()}}),e)})),a=0;case 2:if(!(a<(null==T?void 0:T.length))){e.next=10;break}return e.delegateYield(n(),"t0",4);case 4:if(!(i=e.t0)){e.next=7;break}return e.abrupt("return",i.v);case 7:a++,e.next=2;break;case 10:return e.next=12,(0,S.Ep)({id:t.actionTabs.id,subject_id:t.actionTabs.subject_id,shixun_ids:m()(T)});case 12:o=e.sent,C([]),null!=o&&o.shixuns_list&&(X(),l(o.shixuns_list));case 15:case"end":return e.stop()}}),e)}))),type:"primary",children:"确定"})]}),children:[(0,V.jsx)("section",{className:"tc",children:(0,V.jsx)(wn.Z,{onChange:function(e){F(o()(o()(o()({},D),e),{},{page:1})),a({type:"classroomList/getShixunLists",payload:o()(o()(o()({},D),e),{},{page:1})})}})}),(0,V.jsx)($.Z,{spinning:i.effects["classroomList/getShixunLists"],children:(0,V.jsxs)("section",{className:"edu-container",children:[Dn.map((function(e,n){var t;return(0,V.jsxs)("ul",{className:Pn,children:[(0,V.jsx)("li",{children:e.name}),null==e||null===(t=e.children)||void 0===t?void 0:t.map((function(n,t){return(0,N.Ny)()||"type"!==e.id||"全部"!==n.name?(0,V.jsx)("li",{className:D[e.id]==n.id?Tn:"",onClick:function(){D[e.id]=n.id,D.page=1,F(o()({},D)),a({type:"classroomList/getShixunLists",payload:o()({},D)})},children:(0,V.jsx)("strong",{children:n.name})},t):(0,V.jsx)(V.Fragment,{})}))]},n)})),"mine"===D.type&&(0,V.jsxs)("ul",{className:Pn,children:[(0,V.jsx)("li",{children:"目录"}),null==_?void 0:_.map((function(e,n){return(0,V.jsx)("li",{className:D.group_id==e.id?Tn:"",onClick:function(){D.group_id=e.id,D.page=1,F(o()({},D)),a({type:"classroomList/getShixunLists",payload:o()({},D)})},children:(0,V.jsx)("strong",{children:e.name})},e.name)}))]}),(0,V.jsxs)(M.Z,{align:"middle",children:[(0,V.jsx)(A.Z,{flex:"1",className:In,children:L.map((function(e,n){return(0,V.jsx)(k.ZP,{className:"mr20",type:D.sort===e.id?"primary":"default",onClick:function(){D.sort=e.id,F(o()({},D)),a({type:"classroomList/getShixunLists",payload:o()({},D)})},children:e.name},n)}))}),(0,V.jsx)(A.Z,{className:"c-grey-999",children:(0,V.jsx)("div",{className:Ln,children:(0,V.jsx)("ul",{children:(0,V.jsxs)("li",{className:"current",onClick:function(){D.order="asc"===D.order?"desc":"asc",F(o()({},D)),a({type:"classroomList/getShixunLists",payload:o()({},D)})},children:["学习人数",(0,V.jsxs)("p",{className:"edu-sorter current ".concat(D.order),children:[(0,V.jsx)("span",{className:"iconfont icon-sanjiaoxing-up"}),(0,V.jsx)("span",{className:"iconfont icon-sanjiaoxing-down"})]})]})})})})]}),null==v||null===(n=v.shixun_list)||void 0===n?void 0:n.map((function(e,n){return(0,V.jsxs)("div",{className:Nn,children:[(0,V.jsx)(I.Z,{checked:T.includes(e.id),value:e.id,onChange:function(n){T.indexOf(e.id);T.indexOf(e.id)>-1?C(T.filter((function(n){return n!==e.id}))):C(T.concat(e.id))},disabled:"未发布"==(null==e?void 0:e.shixun_tag_num_name)}),(0,V.jsxs)("div",{className:Sn,children:[(0,V.jsx)("div",{className:Cn,children:(0,V.jsxs)("div",{className:Mn,children:[(0,V.jsx)("a",{className:"c-black",href:"/shixuns/".concat(null==e?void 0:e.identifier,"/challenges"),target:"_blank",children:(0,V.jsx)("strong",{className:"font16",dangerouslySetInnerHTML:{__html:e.title}})}),(0,N.Ny)()&&1===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10",children:"正常"})}),(0,N.Ny)()&&2===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10",children:"需完善"})}),(0,N.Ny)()&&3===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10",children:"无法使用"})}),"未发布"==(null==e?void 0:e.shixun_tag_num_name)&&(0,V.jsx)(b.Z,{zIndex:1e4,title:"实训需发布后才能选用到课程中,点击名称可前往实训详情",children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#999"},className:"tag-style current ml10",children:"未发布"})})]})}),(0,V.jsx)("div",{className:"flex-wrp mt10 font14 c-light-black",children:(0,V.jsx)("span",{className:An,dangerouslySetInnerHTML:{__html:e.description}})}),(0,V.jsx)("div",{className:" mt15",children:e.challenge_names.map((function(e,n){return(0,V.jsxs)("span",{className:"mr30 font12",children:["第",n+1,"关 ",e," "]},n)}))}),(0,V.jsx)(_n.Z,{dashed:!0}),(0,V.jsxs)("div",{className:"c-light-black mt20 font12",style:{display:"flex",justifyContent:"space-between"},children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(b.Z,{overlayClassName:zn,title:(0,V.jsx)("div",{children:(0,V.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.member_user_names}})}),children:(0,V.jsx)("span",{className:Zn,dangerouslySetInnerHTML:{__html:null==e?void 0:e.member_user_names}})}),e.author_school_name&&(0,V.jsx)(h.Fragment,{children:(0,V.jsx)("span",{dangerouslySetInnerHTML:{__html:e.author_school_name}})})]}),(0,V.jsxs)("div",{children:[(0,V.jsxs)("span",{className:"mr30",children:["难度系数  ",e.level]}),(0,V.jsxs)("span",{children:["学习人数  ",e.study_count]})]})]})]})]},n)})),(0,V.jsx)("p",{})]})}),(0,V.jsx)("div",{className:"tc",children:(0,V.jsx)(jn.Z,{current:D.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:null==v?void 0:v.shixuns_count,onChange:function(e){D.page=e,a({type:"classroomList/getShixunLists",payload:o()({},D)})}})})]},"bottom")})),En=t(91232),Xn=t.n(En),On=t(12563),Rn=t(99313),Hn="scoremodal___lnIm4",qn="selectWrapper___Om9M5",Vn="search___eCZan",Bn="searchIcon___fI8IN",Jn="header_style___E1ylY",Kn="tabWrap___hzccg",Un="form_style___oK8LP",Wn=t(7406),Gn=t(37231),Qn="scoremodal___cmAHe",Yn="tabWrap___Xnuvu",$n="RenderHtml_content___pmH_q",et="RenderHtml_style___tvtS0",nt="content_list___jvOz0",tt="content_value___DkebT",it="content_text___oRKdm",rt=t(37363);z().locale("ZH-cn");var at=["","简单","中等","困难"],ot=function(e){var n,t,i,a,l=e.setScoreShow,u=e.ScoreShow,d=e.modalDdata,f=e.homeType,v=(e.homeId,(0,h.useState)(o()(o()({},(0,p.useParams)()),{},{per_page:10}))),m=c()(v,2),x=m[0],y=m[1],b=(0,h.useState)("1"),_=c()(b,2),j=_[0],w=_[1];return(0,h.useEffect)((function(){y(o()({},x))}),[]),(0,V.jsx)("div",{children:(0,V.jsxs)(g.Z,{title:"详情",footer:!1,open:u,width:900,centered:!0,className:Qn,onCancel:function(){l(!1)},children:[(0,V.jsx)(Rn.Z,{className:Yn,activeKey:j,onChange:function(e){w(e)},items:[{label:"".concat("HomeworkCommon"==f?"说明":"作业描述"),key:"1"},{label:"".concat("HomeworkCommon"==f?"题目列表":"参考答案"),key:"2"}]}),"HomeworkCommon"==f?(0,V.jsxs)("div",{className:$n,children:["1"==j&&(0,V.jsxs)("section",{className:" edu-container",style:{background:"#fff",width:"100%"},children:[!(null!=d&&d.description)&&(0,V.jsx)(Wn.Z,{customText:"暂无说明"}),(0,V.jsx)(le.Z,{value:(null==d?void 0:d.description)||""})]}),"2"==j&&(0,V.jsxs)("div",{children:[(0,V.jsx)("section",{className:" edu-container",style:{background:"#fff",width:"100%"},children:(null==d||null===(n=d.data)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.identifier)&&(0,V.jsx)(He.Z,{dataSource:null==d?void 0:d.data,rowKey:function(e){return null==e?void 0:e.identifier},pagination:!1,expandable:{expandedRowRender:function(e){return(0,V.jsxs)("div",{style:{padding:"10px 48px",borderRadius:2},children:[(0,V.jsxs)("p",{children:["题目:",null==e?void 0:e.name]}),(0,V.jsxs)("p",{children:["描述:",null==e?void 0:e.description]}),!(0,N.dE)()&&(0,V.jsxs)("p",{children:["题目解析:",(0,V.jsx)(le.Z,{style:{fontSize:"14px"},value:(null==e?void 0:e.analysis)||"暂无解析"})]})]})},defaultExpandedRowKeys:null==d||null===(t=d.data)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.identifier},columns:[{title:"题目",dataIndex:"name",ellipsis:!0,key:"name"},{title:"难度",dataIndex:"difficult",key:"difficult",render:function(e,n,t){return(0,V.jsx)("div",{children:at[e]})}},{title:"知识点",dataIndex:"tag_discipline",ellipsis:!0,key:"tag_discipline"},{title:"操作",dataIndex:"identifier",key:"identifier",render:function(e,n,t){return(0,V.jsx)("div",{children:(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/problems/".concat(null==n?void 0:n.identifier,"/start.json"),{method:"get"});case 2:(t=e.sent)&&window.open("/myproblems/".concat(null==t?void 0:t.identifier,"?type=1&backUrl=/paths/").concat(null==x?void 0:x.pathId));case 4:case"end":return e.stop()}}),e)}))),children:"体验"})})}}]})}),(0,V.jsx)("aside",{className:"tc mt30 pb30",children:(0,V.jsx)(jn.Z,{defaultCurrent:1,total:null==d?void 0:d.count,hideOnSinglePage:!0,showTotal:function(e){return(0,V.jsxs)("span",{children:["共",e,"条"]})},current:x.page||1,pageSize:x.per_page||10,onChange:function(e,n){x.page=e,x.per_page=n,y(o()({},x))}})})]})]}):(0,V.jsxs)("div",{className:$n,children:["1"==j&&(null!=d&&d.description||(null==d||null===(i=d.attachments)||void 0===i?void 0:i.length)>0?"group"==(null==d?void 0:d.homework_type)?(0,V.jsxs)("div",{children:[(0,V.jsx)(le.Z,{value:null==d?void 0:d.description,className:et,style:{color:"#5f6367"}}),(0,V.jsxs)("div",{className:nt,children:["分组要求",(0,V.jsxs)("span",{className:tt,children:[null==d?void 0:d.min_num,"-",null==d?void 0:d.max_num]}),"人",(0,V.jsx)("span",{className:it,children:"(学生提交作品时需要关联同组成员,组内成员作品共享)"})]}),(0,V.jsxs)("div",{className:nt,children:["基于项目实施",(0,V.jsx)("span",{className:tt,children:null!=d&&d.base_on_project?"是":"否"}),(0,V.jsx)("span",{className:it,children:null!=d&&d.base_on_project?"(学生必须在平台创建项目,项目管理员可以提交作品)":"(学生不需要在本平台创建项目,所有学生可以提交作品)"})]}),(0,V.jsx)(rt.Z,{callback:function(){},dataSource:null==d?void 0:d.attachments})]}):(0,V.jsxs)("div",{children:[(0,V.jsx)(le.Z,{value:null==d?void 0:d.description,style:{color:"#5f6367",fontSize:14}}),(0,V.jsx)(rt.Z,{callback:function(){},dataSource:null==d?void 0:d.attachments})]}):(0,V.jsx)(Wn.Z,{styles:{margin:"80px auto"}})),"2"==j&&(null!=d&&d.reference_answer||(null==d||null===(a=d.ref_attachments)||void 0===a?void 0:a.length)>0?(0,V.jsxs)("div",{children:[(0,V.jsx)(le.Z,{value:null==d?void 0:d.reference_answer,style:{color:"#5f6367",fontSize:14}}),(0,V.jsx)(rt.Z,{callback:function(){},dataSource:null==d?void 0:d.ref_attachments})]}):(0,V.jsx)(Wn.Z,{styles:{margin:"80px auto"}}))]})]})})},lt=t(84143),st=t(24996),ut=(0,p.connect)((function(e){return{user:e.user,dispatch:e.dispatch}}))((function(e){var n,t=e.setScoreShow,i=e.ScoreShow,a=e.modalType,l=e.user,u=e.id,d=e.subjectId,f=e.dispatch,v=e.getData,y=e.openPreview,b=(0,h.useState)({page:1,type:"1",per_page:10,category:"manage",search:"",homework_type:"3",association_id:""}),_=c()(b,2),j=_[0],w=_[1],k=(0,h.useState)([]),P=c()(k,2),T=P[0],N=P[1],M=(0,h.useState)([]),A=c()(M,2),I=A[0],L=A[1],Z=(0,h.useState)([]),z=c()(Z,2),D=z[0],F=z[1],E=(0,h.useState)(!1),X=c()(E,2),O=X[0],R=X[1],q=G.Z.useForm(),B=c()(q,1)[0],J=(0,h.useState)(0),K=c()(J,2),U=K[0],W=K[1],Q=(0,h.useState)(!1),$=c()(Q,2),ee=$[0],ne=$[1],te=(0,h.useState)(""),ie=c()(te,2),re=ie[0],ae=ie[1],oe=(0,h.useState)([]),le=c()(oe,2),se=le[0],ue=le[1],ce=(0,h.useRef)(new Set),de=(0,h.useRef)(new Set),fe=(0,h.useState)([{}]),he=c()(fe,2),pe=he[0],ve=he[1],me=(0,h.useState)(),xe=c()(me,2),ge=xe[0],ye=xe[1],be=(0,h.useState)({}),_e=c()(be,2),je=_e[0],we=_e[1],ke=(0,h.useState)(""),Pe=c()(ke,2),Te=Pe[0],Ne=Pe[1],Se=(0,h.useState)(""),Ce=c()(Se,2),Me=Ce[0],Ae=Ce[1],Ie=((0,p.useParams)(),[{title:"名称",dataIndex:"3"==(null==j?void 0:j.type)?"title":"name",key:"name",render:function(e,n,t){var i,r;return(0,V.jsxs)("div",{children:["1"==(null==j?void 0:j.homework_type)&&(null==n?void 0:n.name),"3"==(null==j?void 0:j.homework_type)&&(null==n?void 0:n.name),"5"==(null==j?void 0:j.homework_type)&&(null==n?void 0:n.name),"7"==(null==j?void 0:j.homework_type)&&(null==n||null===(i=n.video)||void 0===i?void 0:i.title),"8"==(null==j?void 0:j.homework_type)&&"1"==(null==j?void 0:j.type)?null==n?void 0:n.filename:null==n||null===(r=n.attachment)||void 0===r?void 0:r.filename,"3"==(null==j?void 0:j.type)&&e]})}},{title:"1"==(null==j?void 0:j.type)?"所属课堂":"所属实践课程",dataIndex:"1"==(null==j?void 0:j.type)?"course_name":"subject_name",width:"55%",key:"1"==(null==j?void 0:j.type)?"course_name":"subject_name",ellipsis:!0,hidden:"3"==(null==j?void 0:j.type)},{title:"操作",dataIndex:"id",width:"60px",key:"item_type",render:function(e,n,t){return(0,V.jsx)("div",{style:{flex:1,textAlign:"start"},children:(0,V.jsx)("a",{onClick:function(){if(null!=n&&n.link)(0,H.xg)(n.link);else if("教学课件"==a)y(n);else if("视频项目"==a){var e,t;if(null!=n&&n.video)ye(!0),we({videoId:null==n||null===(e=n.video)||void 0===e?void 0:e.id,file_url:null==n||null===(t=n.video)||void 0===t?void 0:t.play_url});else"3"==(null==j?void 0:j.type)?(ye(!0),we({videoId:n.id,file_url:n.play_url||n.file_url})):x.ZP.error("没有视频资源")}else"编程作业"==a?(0,S.NV)({id:null==n?void 0:n.id,source:"course"}).then((function(e){var n;0==(null==e?void 0:e.status)&&(ae(null==e||null===(n=e.data)||void 0===n?void 0:n.homework),Ae(null==e?void 0:e.course_id));Ne("HomeworkCommon"),ne(!0)})):(0,S.NV)({id:null==n?void 0:n.id,source:"1"==(null==j?void 0:j.type)?"course":"subject"}).then((function(e){var n;0==(null==e?void 0:e.status)&&ae(null==e||null===(n=e.data)||void 0===n?void 0:n.homework);ne(!0)}))},children:"查看"})})}}].filter((function(e){return!e.hidden}))),Le={type:"checkbox",selectedRowKeys:T,onSelect:function(e,n,t){if(n)N([].concat(m()(T),[e.id])),ue([].concat(m()(se),[e])),"2"===j.type?ce.current.add(e.id):de.current.add(e.id),W(1),L([].concat(m()(I),[e.id]));else{var i=se.filter((function(n){return n.id!==e.id}));ue(i);var r=i.map((function(e){return e.id}));N(m()(r)),"2"===j.type?ce.current.delete(e.id):de.current.delete(e.id);var a=I.filter((function(n){return n!==e.id}));L(a)}},onSelectAll:function(e,n,t){if(e){var i=t.map((function(e){return e.id}));ue([].concat(m()(se),m()(t))),N([].concat(m()(T),m()(i))),L([].concat(m()(I),m()(i)));var r,a=Xn()(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;"2"===j.type?ce.current.add(o.id):de.current.add(o.id)}}catch(e){a.e(e)}finally{a.f()}}else{var l=t.map((function(e){return e.id})),s=T.filter((function(e){return!l.some((function(n){return n===e}))})),u=se.filter((function(e){return!l.some((function(n){return n===e.id}))}));ue(u),N(m()(s)),L(m()(s));var c,d=Xn()(l);try{for(d.s();!(c=d.n()).done;){var f=c.value;"2"===j.type?ce.current.delete(f):de.current.delete(f)}}catch(e){d.e(e)}finally{d.f()}}}};(0,h.useEffect)((function(){i&&(j.search="",j.type="1",j.homework_type="分组作业"==a?"3":"图文作业"==a?"1":"视频项目"==a?"7":"编程作业"==a?"5":"8",w(j),Je(j),B.setFieldsValue({association_id:"",search:null}),ce.current.clear(),de.current.clear(),ue([]),N([]),L([]))}),[i]);var Ze=(0,h.useState)(1),ze=c()(Ze,2),De=ze[0],Fe=ze[1],Ee=(0,h.useState)([]),Xe=c()(Ee,2),Oe=Xe[0],Re=Xe[1];(0,h.useEffect)((function(){1!=De&&i&&qe(De)}),[De]),(0,h.useEffect)((function(){i&&(Re([]),Fe(1),qe(1))}),[j.type]);var qe=function(e){"1"==j.type?Ve(e):"2"==j.type&&Be(e)},Ve=function(e){var n;(0,Gn.Ho)({page:e,category:"manage",status:"",sort_by:"updated_at",sort_direction:"desc",username:null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login}).then((function(n){Re(1==e?[{id:"",name:"全部教学课堂"}].concat(m()(null==n?void 0:n.courses)):[].concat(m()(Oe),m()(null==n?void 0:n.courses)))}))},Be=function(e){var n;(0,Gn.w3)({page:e,category:"manage",status:"",sort_by:"updated_at",sort_direction:"desc",username:null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login}).then((function(n){Re(1==e?[{id:"",name:"全部实践课程"}].concat(m()(null==n?void 0:n.subjects)):[].concat(m()(Oe),m()(null==n?void 0:n.subjects)))}))};function Je(e){return Ke.apply(this,arguments)}function Ke(){return(Ke=s()(r()().mark((function e(n){var t,i,a,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(R(!0),w(o()({},n)),"1"!=n.type){e.next=6;break}(0,S.A7)(o()({user_id:null==l||null===(t=l.userInfo)||void 0===t?void 0:t.login},n)).then((function(e){0==(null==e?void 0:e.status)&&F(null==e?void 0:e.data)})),e.next=15;break;case 6:if("2"!=n.type){e.next=10;break}(0,S.jT)(o()({user_id:null==l||null===(i=l.userInfo)||void 0===i?void 0:i.login},n)).then((function(e){0==(null==e?void 0:e.status)&&F(null==e?void 0:e.data)})),e.next=15;break;case 10:if("3"!=n.type){e.next=15;break}return e.next=13,f({type:"userDetail/getVideos",payload:o()(o()({},n),{},{category:"all",sort_by:"published_at",sort_direction:"desc",username:null===(a=l.userInfo)||void 0===a?void 0:a.login})});case 13:s=e.sent,F({count:null==s?void 0:s.count,list:null==s?void 0:s.videos});case 15:R(!1);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){U>0&&setTimeout((function(){W(0)}),2e3)}),[U]),(0,V.jsxs)("div",{children:[(0,V.jsxs)(g.Z,{title:"选用"+a,open:i,width:900,centered:!0,zIndex:10,className:Hn,onCancel:function(){t(!1)},onOk:function(){(null==I?void 0:I.length)<=0?x.ZP.info("当前暂未选择数据"):(0,S._C)({id:u,subject_id:d,homework_type:"3"==j.type?"9":"分组作业"==a?"3":"图文作业"==a?"1":"视频项目"==a?"7":"编程作业"==a?"5":"8",homework_ids:m()(de.current),subject_homework_ids:m()(ce.current)}).then((function(e){0==(null==e?void 0:e.status)&&(x.ZP.success("选用成功"),v(),t(!1))}))},children:[(0,V.jsxs)("div",{className:Jn,children:[(0,V.jsx)(Rn.Z,{className:Kn,activeKey:j.type,onChange:function(e){j.type=e,j.page=1,j.updated_at="",j.association_id=null,j.search=null,B.setFieldsValue({association_id:"",search:null}),w(o()({},j)),Je(o()({},j))},items:[{label:"从教学课堂选用",key:"1"},"编程作业"!=a&&("视频项目"==a?{label:"从个人主页选用",key:"3"}:{label:"从实践课程选用",key:"2"})]}),(0,V.jsxs)(G.Z,{layout:"inline",className:Un,form:B,onValuesChange:function(e,n){j.page=1,e.search||""===e.search||B.submit()},onFinish:function(e){w(o()(o()({},j),e)),Je(o()(o()({},j),e))},children:["3"!=j.type&&(0,V.jsx)(G.Z.Item,{name:"association_id",children:(0,V.jsx)(C.default,{onPopupScroll:function(e){var n=e.target;n.scrollHeight-n.clientHeight===n.scrollTop&&Fe(De+1)},className:qn,style:{width:200},size:"large",children:Oe.map((function(e,n){return(0,V.jsx)(C.default.Option,{children:null==e?void 0:e.name},null==e?void 0:e.id)}))})}),(0,V.jsx)(G.Z.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"search",children:(0,V.jsx)(Y.Z.Search,{className:Vn,placeholder:"视频项目"==a?"请输入视频名称进行搜索":"教学课件"==a?"请输入课件名称进行搜索":"请输入作业名称进行搜索",allowClear:!0,suffix:(0,V.jsx)("i",{className:"iconfont icon-sousuo9 font14 ".concat(Bn),onClick:function(){return B.submit()}}),onSearch:function(e){B.submit()}})})]})]}),(null==D||null===(n=D.list)||void 0===n?void 0:n.length)>0?(0,V.jsx)(He.Z,{style:{marginTop:20,marginBottom:20},scroll:{y:260},dataSource:null==D?void 0:D.list,pagination:!1,loading:O,rowKey:function(e){return e.id},rowSelection:Le,columns:Ie}):(0,V.jsx)(Wn.Z,{}),(null==D?void 0:D.count)>0&&(0,V.jsx)(jn.Z,{current:j.page,total:null==D?void 0:D.count,style:{marginBottom:20},defaultPageSize:j.per_page,showTotal:function(e){return(0,V.jsxs)("span",{children:["共 ",(0,V.jsx)("span",{style:{color:"#165DFF"},children:e})," 条数据"]})},pageSize:j.per_page,onChange:function(e,n){j.page=e,j.per_page=n,w(o()({},j)),Je(o()({},j))}})]}),(0,V.jsx)(ot,{setScoreShow:ne,ScoreShow:ee,modalDdata:re,homeType:Te,homeId:Me}),(0,V.jsx)(lt.Z,{close:!0,data:null==pe?void 0:pe.content,type:null==pe?void 0:pe.type,hasMask:!0,monacoEditor:{value:"",language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:function(){ve({content:"",type:""})}}),(0,V.jsx)(st.K,o()(o()({},je),{},{visible:ge,allow_skip:!0,width:800,onClose:function(){ye(!1),we({})}}))]})})),ct=t(11094),dt=t(92838),ft=t(27776),ht=t(42658),pt=t(7695),vt=t(89392),mt=["pathsDetail","user","globalSetting","loading","val","allData","index","exercise","dispatch","classroomList","visibleTypeNew","visibleType","getData","setEditParentKey","parentEditKey","isAdd","setIsAdd","selectExercise","openPreview"],xt=["tagName"],gt=["application/pdf","application/msword","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/ZIP"],yt=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.user,i=e.loading,r=e.globalSetting,a=e.classroomList,o=e.exercise;return{pathsDetail:n,user:t,globalSetting:r,loading:i.effects,classroomList:a,exercise:o}}))((function(e){var n,t,i=e.pathsDetail,a=e.user,l=e.globalSetting,u=(e.loading,e.val),d=e.allData,v=e.index,w=(e.exercise,e.dispatch),P=(e.classroomList,e.visibleTypeNew),T=e.visibleType,C=e.getData,I=e.setEditParentKey,L=e.parentEditKey,Z=e.isAdd,z=e.setIsAdd,D=e.selectExercise,F=e.openPreview,E=f()(e,mt),X=(0,p.useParams)(),O=i.stageData,R=(0,h.useState)(),H=c()(R,2),q=H[0],B=H[1],J=(0,h.useState)(-1),K=c()(J,2),W=K[0],Q=K[1],$=(0,h.useState)(!1),ne=c()($,2),te=ne[0],ie=ne[1],re=(0,h.useState)(!1),ae=c()(re,2),oe=ae[0],se=ae[1],ue=(0,h.useState)(!1),ce=c()(ue,2),de=ce[0],fe=ce[1],he=(0,h.useState)({name:"",is_jupyter:!1}),pe=c()(he,2),ve=pe[0],me=pe[1],xe=G.Z.useForm(),ge=c()(xe,1)[0],ye=G.Z.useForm(),be=c()(ye,1)[0],_e=G.Z.useForm(),je=c()(_e,1)[0],we=G.Z.useForm(),ke=c()(we,1)[0],Pe=(0,h.useRef)(Z),Te=(0,h.useState)([]),Ne=c()(Te,2),Se=(Ne[0],Ne[1]),Ce=(0,h.useState)(!1),Me=c()(Ce,2),Ae=Me[0],Ie=Me[1],Le=(0,h.useState)(!1),Ze=c()(Le,2),ze=Ze[0],De=Ze[1],Fe=(0,h.useState)(0),Ee=c()(Fe,2),Xe=Ee[0],Oe=Ee[1],Re=(0,h.useState)(),He=c()(Re,2),qe=He[0],Ve=He[1],Be=(0,h.useState)(!1),Je=c()(Be,2),Ke=Je[0],Ue=Je[1],We=(0,h.useState)(!1),Ge=c()(We,2),Qe=Ge[0],Ye=Ge[1],$e=(0,h.useState)(""),en=c()($e,2),nn=en[0],tn=en[1],rn=(0,h.useState)(""),an=c()(rn,2),on=an[0],ln=an[1],sn=(0,h.useState)(""),un=c()(sn,2),cn=un[0],dn=un[1],fn=(0,h.useState)(""),hn=c()(fn,2),pn=hn[0],vn=hn[1],mn=(0,h.useRef)(),xn=(0,h.useState)(),gn=c()(xn,2),bn=gn[0],jn=gn[1],wn=(0,h.useState)(!0),kn=c()(wn,2),Pn=kn[0],Tn=kn[1],Nn=(0,h.useState)([{name:"全部",type:"All",number:0},{name:"实践项目",type:"Shixun",number:0},{name:"视频项目",type:"VideoItem",number:0},{name:"教学课件",type:"Attachment",number:0},{name:"分组作业",type:"group_count",number:0},{name:"图文作业",type:"normal_count",number:0},{name:"编程作业",type:"HomeworkCommon",number:0},{name:"测验",type:"ExaminationBank",number:0},{name:"讨论",type:"Discusses",number:0}]),Sn=c()(Nn,2),Cn=Sn[0],Mn=Sn[1],An=(0,h.useState)(),In=c()(An,2),Ln=In[0],Zn=In[1],zn=(0,h.useState)([]),Dn=c()(zn,2),Fn=Dn[0],En=Dn[1],Rn=(null===(n=i.detail)||void 0===n?void 0:n.is_free)||(null===(t=i.detail)||void 0===t?void 0:t.can_learning),Hn=function(){var e=i.detail,n=e.shixuns_count,t=void 0===n?0:n,r=e.videos_count,a=void 0===r?0:r,l=e.attachment_count,s=void 0===l?0:l,u=e.group_count,c=void 0===u?0:u,d=e.normal_count,f=void 0===d?0:d,h=e.disscuss_count,p=void 0===h?0:h,v=e.banks_count,m=void 0===v?0:v,x=e.hack_count,g=void 0===x?0:x,y={All:t+a+s+c+f+m+g,Shixun:t,VideoItem:a,Attachment:s,Discusses:p,group_count:c,normal_count:f,ExaminationBank:m,HomeworkCommon:g},b=Cn.map((function(e){return o()(o()({},e),{},{number:y[e.type]})}));Mn(b)};(0,h.useEffect)((function(){Hn()}),[i.detail]),(0,h.useEffect)((function(){L!==W&&L===v&&Q(L)}),[L]),(0,h.useEffect)((function(){B(o()({},u))}),[u]),(0,h.useEffect)((function(){Hn()}),[O]),(0,h.useEffect)((function(){if(mn.current){var e=function(){var e,n=new ResizeObserver((function(e){var n,t=Xn()(e);try{for(t.s();!(n=t.n()).done;){var i=n.value;jn(i.target.offsetHeight>=280)}}catch(e){t.e(e)}finally{t.f()}}));return n.observe(null===(e=mn.current)||void 0===e?void 0:e.firstElementChild),n}();return function(){var n,t;(null===(n=mn.current)||void 0===n?void 0:n.firstElementChild)&&e.unobserve(null===(t=mn.current)||void 0===t?void 0:t.firstElementChild)}}}),[mn.current,q]);var qn=function(){setTimeout((function(){Q(-1),I(-1)}),300)},Vn=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.Ex)(o()({},n));case 2:return t=e.sent,q.items=n.list,e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Bn=function(e){q.items=q.items.concat(e),B(o()({},q))},Jn=function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ln){e.next=8;break}return e.next=3,(0,S.A2)(o()({id:q.stage_id,subject_id:X.pathId},n));case 3:return(t=e.sent).id&&(Ie(!1),i=[o()({},t)],q.items=q.items.concat(i),B(o()({},q))),e.abrupt("return",t);case 8:return e.next=10,(0,S.M2)(o()(o()({id:null==Ln?void 0:Ln.id,subject_id:X.pathId},n),{},{video_id:(null==n?void 0:n.video_id)||(null==Ln||null===(a=Ln.video_item)||void 0===a?void 0:a.video_id),link:(null==n?void 0:n.link)||(null==Ln||null===(l=Ln.video_item)||void 0===l?void 0:l.link)}));case 10:return(s=e.sent)&&(x.ZP.success("修改成功"),Ie(!1),C()),e.abrupt("return",s);case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Kn=function(){var e=s()(r()().mark((function e(n,t){var i,a,l,s,u,c,d,h,p,v;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&n.name&&""!==(null==n?void 0:n.name.replace(/(^\s*)|(\s*$)/g,""))){e.next=2;break}return e.abrupt("return",x.ZP.info("请先输入章节名称!"));case 2:if(it(),l=[],null===(i=q.shixuns_list)||void 0===i||i.map((function(e){l.push({type:e.item_type,id:e.id})})),null===(a=q.attachments_list)||void 0===a||a.map((function(e){l.push({type:"Attachment",id:e.id})})),s=n.tagName,u=f()(n,xt),!Pe.current){e.next=16;break}return c=o()(o()({},u),{},{subject_id:X.pathId,pathId:X.pathId,list:l}),s&&(c=o()(o()({},c),{},{stage_tag_attributes:{name:s}})),e.next=12,(0,S.CI)(o()({},c));case 12:null!=(d=e.sent)&&d.subject_id&&(q=o()(o()(o()({},q),d),{},{stage_name:c.name,stage_description:c.description,tag:c.stage_tag_attributes}),Pe.current=!1,B(o()({},q))),e.next=24;break;case 16:return Array.from(new Set(l.map((function(e){return e.type})))),h=o()(o()({},u),{},{id:q.stage_id,type:Array.from(new Set(l.map((function(e){return e.type})))),list:l}),p=q.tag&&q.tag.id||"",h=o()(o()({},h),{},{stage_tag_attributes:p?{id:p,name:s}:{name:s||""}}),e.next=22,(0,S.xn)(o()({},h));case 22:null!=(v=e.sent)&&v.subject_id&&(q=o()(o()(o()({},q),v),{},{stage_name:h.name,stage_description:h.description,tag:h.stage_tag_attributes}),"edit"!==t&&B(o()({},q)));case 24:return z(!1),e.abrupt("return");case 26:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Un=function(e){var n;g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:"本操作将删除当前目录及下属子目录的全部内容,确认要删除吗?",onOk:(n=s()(r()().mark((function n(){return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,S.WW)(e);case 2:0===n.sent.status&&(x.ZP.success("删除成功"),C());case 4:case"end":return n.stop()}}),n)}))),function(){return n.apply(this,arguments)})})},Gn=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.FD)({id:null==n?void 0:n.stage_item_id,type:null==n?void 0:n.homework_type});case 2:(t=e.sent)&&("HomeworkCommon"==(null==n?void 0:n.item_type)?dn(null==t?void 0:t.hack_homework):dn(null==t?void 0:t.subject_homework),tn(null==n?void 0:n.item_type),ln(null==n?void 0:n.stage_item_id),Ye(!0));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Qn=function(){var e=s()(r()().mark((function e(n){var t,i,a,o,l,c;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("VideoItem"!==(null==n?void 0:n.item_type)){e.next=8;break}return e.next=3,(0,dt.TJ)({id:null==n?void 0:n.stage_item_id});case 3:t=e.sent,Zn(t),"VideoItem"===(null==n?void 0:n.item_type)?Ie(!0):(En((null==t||null===(i=t.tags)||void 0===i?void 0:i.map((function(e){return null==e?void 0:e.name})))||[]),je.setFieldsValue({files:[{uid:null==t||null===(a=t.attachment)||void 0===a?void 0:a.id,name:null==t?void 0:t.name,response:{id:null==t||null===(o=t.attachment)||void 0===o?void 0:o.id}}]}),se(!0)),e.next=9;break;case 8:"ExaminationBank"===(null==n?void 0:n.item_type)?p.history.push("/paperlibrary/add/".concat(null==n?void 0:n.id,"?defaultActiveKey=0&type=2&pageType=course&updateType=course&courseId=").concat(X.pathId,"&stageId=").concat(u.stage_id)):"HomeworkCommon"===(null==n?void 0:n.item_type)?p.history.push("/paths/".concat(X.pathId,"/").concat(q.stage_id,"/program_homework/").concat(null==n?void 0:n.id,"/edit")):"Attachment"===(null==n?void 0:n.item_type)?g.Z.confirm({title:"修改课件名称",icon:null,centered:!0,okText:"确认修改",cancelText:"取消",content:(0,V.jsx)(Y.Z,{value:l,onChange:function(e){l=e.target.value},placeholder:"请输入课件名称"}),onOk:function(){var e=s()(r()().mark((function e(){var t,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l){e.next=3;break}return x.ZP.info("名称不能为空"),e.abrupt("return",Promise.reject());case 3:return e.next=5,(0,ee.ZP)("/api/attachments/".concat(null==n?void 0:n.id,".json"),{method:"put",body:{name:l+(null==n||null===(t=n.name)||void 0===t?void 0:t.substr(null==n||null===(i=n.name)||void 0===i?void 0:i.lastIndexOf(".")))}});case 5:e.sent,l="",C();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}):"SubjectHomework"===(null==n?void 0:n.item_type)?w({type:"classroomList/setActionTabs",payload:{key:"group"==(null==n?void 0:n.homework_type)?"课程编辑分组作业":"课程编辑图文作业",id:null==n?void 0:n.stage_item_id,type:null==n?void 0:n.homework_type}}):g.Z.confirm({title:"修改小节名称",icon:null,centered:!0,okText:"确认修改",cancelText:"取消",content:(0,V.jsx)(Y.Z,{value:c,maxLength:40,onChange:function(e){c=e.target.value},placeholder:"请输入小节名称"}),onOk:function(){var e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c.replaceAll(" ","")){e.next=3;break}return x.ZP.info("名称不能为空"),e.abrupt("return",Promise.reject());case 3:return e.next=5,(0,ee.ZP)("/api/stages/".concat(null==n?void 0:n.stage_id,"/update_item_name.json"),{method:"put",body:{name:c,item_id:null==n?void 0:n.id}});case 5:e.sent,c="",C();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Yn=function(){me({name:"",is_jupyter:!1}),be.setFieldsValue({name:"",is_jupyter:!1}),De(!1),ie(!1)},$n=function(){var e=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(nt()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,S.ms)({id:n});case 4:1===e.sent.status&&C();case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),et=function(){var e=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(nt()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,S.yy)({id:n});case 4:1===e.sent.status&&C();case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),nt=function(){return-1===W||(g.Z.info({icon:null,className:"custom-modal-divider ",okText:"知道啦",title:"提示",content:(0,V.jsx)("div",{className:"mt10 font14",children:"当前单元有未保存的修改记录,请先保存!"}),onOk:function(){var e="Edit_".concat(W),n=document.getElementById(e);n&&setTimeout((function(){return n.scrollIntoView({block:"start",behavior:"smooth"})}))}}),!1)},tt=function(){Kn(ge.getFieldsValue(),"edit")},it=function(){z(!1)},rt=function(e){var n,t,i=[];e.items&&null!==(n=e.items)&&void 0!==n&&n.length&&(null===(t=e.items)||void 0===t||t.forEach((function(e){var n;i.push(e),e.children&&null!==(n=e.children)&&void 0!==n&&n.length&&(i=i.concat(e.children))})));return!!i.find((function(e){return(0,vt.isEqual)(e.learning_status,["can","try"])}))?(0,V.jsx)("aside",{className:yn.learn,children:"免费试学"}):null},at=function(e,n){var t,u,c,f,h,v,m;if("SubjectHomework"==P){var y,N;if("group_count"==T&&(null===(y=e.subject_homework_subs)||void 0===y||!y.includes("group")))return null;if("normal_count"==T&&(null===(N=e.subject_homework_subs)||void 0===N||!N.includes("normal")))return null}else{var L;if("All"!==P&&(null===(L=e.stage_tag)||void 0===L||!L.includes(P)))return null}var z=e.items;null!=E&&E.keywords&&(z=e.items.map((function(e){var n=new RegExp(null==E?void 0:E.keywords,"ig");return"StageCatalog"==e.item_type?function(e){if("StageCatalog"==e.item_type&&e.children.length>0){var n=e.children.filter((function(e){return new RegExp(null==E?void 0:E.keywords,"ig").test(e.name)&&(e.item_type==T||"All"==T)}));return n.length>0?o()(o()({},e),{},{children:n}):null}return null}(e):!n.test(e.name)||e.item_type!=T&&"All"!=T?void 0:e})),z=z.filter((function(e){return null!=e&&null!=e})));var F,R,H,J,K,$,ee,ne,te,re=!1,ae=!1,oe=!1;"All"===T&&(re=((null===(F=a.userInfo)||void 0===F?void 0:F.admin)||(null===(R=a.userInfo)||void 0===R?void 0:R.business)||(null===(H=i.detail)||void 0===H?void 0:H.allow_statistics))&&W===n&&!Z,null!==(J=i.detail)&&void 0!==J&&J.allow_add_member&&Rn&&W!==n&&(!0,n>0&&(ae=!0),n<(null==O?void 0:O.length)-1&&(oe=!0)));return null!=E&&E.keywords&&null!==(t=z)&&void 0!==t&&t.length||null==E||!E.keywords?(0,V.jsxs)("section",{className:"bg-white mt20 pt30 pb20",children:[(0,V.jsxs)("aside",{className:"pl20 pr20",children:[(0,V.jsxs)(M.Z,{gutter:[5,20],align:"middle",children:[(0,V.jsx)(A.Z,{flex:1,className:"tl font18 bold c-grey-333",children:(0,V.jsxs)("div",{className:yn.labelContainer,children:[(0,V.jsxs)("div",{className:"".concat(yn.text),children:[e.stage_name||"第".concat(null==d?void 0:d.length,"章节"),rt(e)]}),e.tag&&e.tag.name&&(0,V.jsx)("span",{className:yn.tag,children:e.tag.name})]})}),"All"===T&&!(null!=E&&E.keywords)&&(0,V.jsxs)(A.Z,{children:[re&&(0,V.jsx)(b.Z,{title:"删除",children:(0,V.jsx)("span",{onClick:function(){var n,t;n=e.stage_id,g.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:"确定删除该章节吗?",onOk:(t=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S._V)({id:n});case 2:1===e.sent.status&&(Q(-1),I(-1),x.ZP.success("删除成功"),C());case 4:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})})},className:"iconfont current icon-shanchu c-grey-c"})}),(null===(u=i.detail)||void 0===u?void 0:u.allow_add_member)&&Rn&&W!==n&&(0,V.jsxs)("div",{children:[ae&&(0,V.jsx)(b.Z,{title:"向上移动",children:(0,V.jsx)("span",{onClick:function(){return $n(e.stage_id)},className:"iconfont icon-xiangshangyi c-light-green font18 current"})}),oe&&(0,V.jsx)(b.Z,{title:"向下移动",children:(0,V.jsx)("span",{onClick:function(){return et(e.stage_id)},className:"iconfont icon-xiangxiayi c-light-green font18 current ml10"})}),(0,V.jsx)(b.Z,{title:"编辑",children:(0,V.jsx)("span",{onClick:function(){return function(e,n){nt()&&(Q(e),I(e),ge.setFieldsValue({name:n.stage_name,description:n.stage_description,tagName:n.tag&&n.tag.name||""}))}(n,e)},className:"iconfont icon-bianjidaibeijing c-light-green font18 current ml10"})})]})]})]}),!!e.stage_description&&(0,V.jsxs)("div",{children:[(0,V.jsx)("div",{ref:mn,className:"".concat(yn.introContent," ").concat(Pn?yn.introContentMaxHeight:""),children:(0,V.jsx)(le.Z,{value:null==e?void 0:e.stage_description})}),bn&&(0,V.jsx)("div",{onClick:function(e){e.stopPropagation(),Tn(!Pn)},children:(0,V.jsx)(_n.Z,{dashed:!1,className:"",style:{cursor:"pointer"},children:(0,V.jsxs)("a",{className:"font14 ".concat(yn.color999),children:[Pn?"阅读全文 ":"收起全文 ",(0,V.jsx)("i",{className:"iconfont font14 ".concat(Pn?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-")})]})})})]})]}),W===n&&(0,V.jsxs)("div",{className:"pl20 pr20",children:[(0,V.jsxs)("aside",{children:[(0,V.jsx)(G.Z.Item,{name:"name",label:"名称",rules:[{required:!0,message:"名称不能为空"},{whitespace:!0,message:"不能输入空格"}],children:(0,V.jsx)(Y.Z,{size:"middle",maxLength:60,placeholder:"请输入第".concat(n+1,"章节名称,最大限制60个字符"),onBlur:tt})}),(0,V.jsx)(G.Z.Item,{name:"description",label:"描述",className:"ml10",children:(0,V.jsx)(ct.Z,{defaultValue:null==e?void 0:e.stage_description,placeholder:"请输入第".concat(n+1,"章节描述"),height:300,onBlur:tt})})]}),(0,V.jsx)("aside",{children:(0,V.jsx)(G.Z.Item,{label:"标签",name:"tagName",rules:[{max:10,message:"标签不能超过10个字”"}],children:(0,V.jsx)(Y.Z,{placeholder:"请输入标签名称",onBlur:tt})})}),(0,V.jsxs)("aside",{className:"mt20 mb20",children:[(0,V.jsxs)(k.ZP,{size:"middle",style:{padding:"4px 11px"},ghost:!0,type:"primary",onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(De(!1),fe(!0),ke.resetFields())},children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5 "}),"小节"]}),(0,V.jsx)(_.Z,{placement:"bottomCenter",overlayClassName:yn.dro,dropdownRender:function(){return(0,V.jsxs)(j.Z,{children:[(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(0,U.xY)()&&(De(!1),ie(!0),be.setFieldsValue({name:"",is_jupyter:!1}))},children:"新建实践项目"},1),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){var n;if(!q.stage_id)return x.ZP.info("请先输入章节名称!");Oe(document.documentElement.scrollTop),w({type:"classroomList/setActionTabs",payload:{key:"选用实践项目",id:q.stage_id,subject_id:X.pathId}}),Se(null==e||null===(n=e.shixuns_list)||void 0===n?void 0:n.map((function(e){return e.id})))},children:"选用实践项目"},2)]})},children:(0,V.jsxs)(k.ZP,{size:"middle",style:{marginLeft:15,padding:"4px 11px"},ghost:!0,type:"primary",children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5"}),"实践项目"]})}),!(null!=l&&null!==(c=l.setting)&&void 0!==c&&c.is_local)&&(0,V.jsx)(V.Fragment,{children:(0,V.jsx)(_.Z,{placement:"bottomCenter",overlayClassName:yn.dro,dropdownRender:function(){return(0,V.jsxs)(j.Z,{children:[(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");Zn(""),Ie(!0)},children:"新建视频项目"},3),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Ve("视频项目"),Ue(!0),vn(q.stage_id))},children:"选用视频项目"},4)]})},children:(0,V.jsxs)(k.ZP,{size:"middle",style:{marginLeft:15,padding:"4px 11px"},ghost:!0,type:"primary",children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5 "}),"视频项目"]})})}),(0,V.jsx)(_.Z,{placement:"bottomCenter",overlayClassName:yn.dro,dropdownRender:function(){return(0,V.jsxs)(j.Z,{children:[(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Zn(""),En([]),De(!1),se(!0),je.resetFields())},children:"新建教学课件"},5),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Ve("教学课件"),Ue(!0),vn(q.stage_id))},children:"选用教学课件"},6)]})},children:(0,V.jsxs)(k.ZP,{size:"middle",style:{marginLeft:15,padding:"4px 11px"},ghost:!0,type:"primary",children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5 "}),"教学课件"]})}),(0,V.jsx)(_.Z,{placement:"bottomCenter",overlayClassName:yn.dro,dropdownRender:function(){return(0,V.jsxs)(j.Z,{children:[(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Oe(document.documentElement.scrollTop),w({type:"classroomList/setActionTabs",payload:{key:"课程新建分组作业",id:q.stage_id,subject_id:X.pathId}}))},children:"新建分组作业"},7),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&w({type:"classroomList/setActionTabs",payload:{key:"课程新建图文作业",id:q.stage_id,subject_id:X.pathId}})},children:"新建图文作业"},8),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&p.history.push("/paths/".concat(X.pathId,"/").concat(q.stage_id,"/program_homework/null/add"))},children:"新建编程作业"},9),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Ve("分组作业"),Ue(!0),vn(q.stage_id))},children:"选用分组作业"},10),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Ve("图文作业"),Ue(!0),vn(q.stage_id))},children:"选用图文作业"},11),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&(Ve("编程作业"),Ue(!0),vn(q.stage_id))},children:"选用编程作业"},12)]})},children:(0,V.jsxs)(k.ZP,{size:"middle",style:{marginLeft:15,padding:"4px 11px"},ghost:!0,type:"primary",children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5 "}),"作业"]})}),(0,V.jsx)(_.Z,{placement:"bottomCenter",overlayClassName:yn.dro,dropdownRender:function(){return(0,V.jsxs)(j.Z,{children:[(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){p.history.push("/paperlibrary/add?pageType=course&courseId=".concat(X.pathId,"&stageId=").concat(e.stage_id))},children:"新建试卷"},13),(0,V.jsx)(j.Z.Item,{style:{textAlign:"center"},onClick:function(){if(!q.stage_id)return x.ZP.info("请先输入章节名称!");(0,U.tJ)(w)&&D(e)},children:"选用试卷"},14)]})},children:(0,V.jsxs)(k.ZP,{size:"middle",style:{marginLeft:15,padding:"4px 11px"},ghost:!0,type:"primary",children:[(0,V.jsx)("span",{className:"iconfont icon-tianjiafangda mr5 "}),"测验"]},n)}),(0,V.jsx)("br",{})]}),(0,V.jsxs)("aside",{className:"c-light-black mt10 pb20",id:"Edit_".concat(n),children:["所有项目均可以通过拖动排序或升降级。",(0,V.jsx)("br",{}),"新建项目名称指本项目下没有实质内容,仅展示名称,不可点击。"]})]}),(0,V.jsx)("aside",{className:yn.shixuns,children:(0,V.jsx)("div",{className:"",children:!!z.length&&(0,V.jsx)(lt,{visibleType:P,subjectHomeworkType:T,data:z,stage_id:e.stage_id,disabled:W!==n,deleteStages:Un,editVidoItem:Qn,showInfoModal:Gn,updateSort:Vn,index:n,expandAll:null==i||null===(f=i.detail)||void 0===f?void 0:f.show_course_section,cust_seq:!(null==i||null===(h=i.detail)||void 0===h||!h.cust_seq),showVideoPlay:(null===(v=a.userInfo)||void 0===v?void 0:v.admin)||(null===(m=a.userInfo)||void 0===m?void 0:m.business)||((null===(K=i.detail)||void 0===K||null===(K=K.courses)||void 0===K?void 0:K.length)>0?null===($=i.detail)||void 0===$?void 0:$.allow_visit:!("学生"===(null===(ee=a.userInfo)||void 0===ee?void 0:ee.user_identity)&&null!==(ne=i.detail)&&void 0!==ne&&ne.allow_visit&&null!==(te=i.detail)&&void 0!==te&&te.courses)),isPaths:!0,isShowSchedule:i.isShowSchedule,getData:C,keywords:null==E?void 0:E.keywords})})}),W===n&&(0,V.jsxs)("aside",{className:yn.buttons,children:[(0,V.jsx)(k.ZP,{onClick:qn,type:"primary",size:"middle",ghost:!0,children:"取消"}),(0,V.jsx)(k.ZP,{onClick:s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:setTimeout((function(){W===q.length-1&&Z&&(it(),B(q.filter((function(e,n){return n!==q.length-1})))),C(),Q(-1),I(-1)}),300);case 1:case"end":return e.stop()}}),e)}))),size:"middle",type:"primary",children:"保存"})]})]},n):null},lt=h.memo(pt.Z),st=(0,h.useMemo)((function(){return q?at(q||[],v):null}),[q,W,E.keywords,P,T,bn,Pn]);return(0,V.jsxs)("section",{children:[(0,V.jsx)(G.Z,{form:ge,onFinish:Kn,children:st}),Cn.map((function(e,n){if(null!=E&&E.keywords&&e.type===T&&"Discusses"!==T&&0===e.number)return(0,V.jsx)(Wn.Z,{styles:{backgroundColor:"#fff",padding:"100px 0",margin:"20px auto"}})})),(0,V.jsx)(g.Z,{centered:!0,title:"新建实践项目",open:te,confirmLoading:ze,destroyOnClose:!0,onOk:s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,be.validateFields();case 2:return De(!0),e.next=5,(0,S.vf)(o()({id:q.stage_id,subject_id:X.pathId},ve));case 5:n=e.sent,Yn(),n.id&&(be.resetFields(),x.ZP.success("添加成功"),t=[n],setTimeout((function(){document.documentElement.scrollTop=Xe}),300),"取消"!==t&&(q.items=q.items.concat(t),B(o()({},q)))),De(!1);case 9:case"end":return e.stop()}var t}),e)}))),onCancel:Yn,children:(0,V.jsxs)(G.Z,{form:be,onValuesChange:function(e){me(o()(o()({},ve),e))},children:[(0,V.jsx)(G.Z.Item,{label:"类型",name:"is_jupyter",rules:[{required:!0,message:"请选择类型"}],children:(0,V.jsxs)(y.ZP.Group,{children:[(0,V.jsx)(y.ZP,{defaultChecked:!0,value:!1,children:"全栈实践项目"}),(0,V.jsx)(y.ZP,{value:!0,children:"Jupyter Notebook实践项目"})]})}),(0,V.jsx)(G.Z.Item,{label:"名称",name:"name",rules:[{required:!0,message:"请输入名称"}],children:(0,V.jsx)(Y.Z,{suffix:(0,V.jsxs)("span",{children:[ve.name.length,"/60"]})})})]})}),(0,V.jsx)(g.Z,{centered:!0,title:Ln?"编辑教学课件":"新建教学课件",open:oe,confirmLoading:ze,destroyOnClose:!0,onOk:s()(r()().mark((function e(){var n,t,i,a,o,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,je.validateFields();case 2:return De(!0),e.next=5,je.getFieldsValue();case 5:if(n=e.sent,t=!1,i="",n.files.forEach((function(e){e.response&&e.response.id||(t=!0,i=e.name)})),!t){e.next=11;break}return x.ZP.error("".concat(i," 文件上传失败,请重新上传")),e.abrupt("return");case 11:if(Ln){e.next=18;break}return e.next=14,(0,S.s0)({id:q.stage_id,subject_id:X.pathId,tags:Fn,attachment_ids:n.files.map((function(e){return e.response.id}))});case 14:0===(a=e.sent).status&&(x.ZP.success("修改成功"),se(!1),Bn(m()(a.items))),e.next=22;break;case 18:return e.next=20,(0,S.M2)({id:null==Ln?void 0:Ln.id,subject_id:X.pathId,tags:Fn,attachment_id:null===(o=n.files.map((function(e){return e.response.id})))||void 0===o?void 0:o[0]});case 20:0===(l=e.sent).status&&(x.ZP.success("修改成功"),se(!1),Bn(m()(l.items)));case 22:De(!1);case 23:case"end":return e.stop()}}),e)}))),onCancel:function(){se(!1),En([]),Zn("")},children:(0,V.jsxs)(G.Z,{form:je,children:[(0,V.jsx)(G.Z.Item,{label:"课件内容",name:"files",rules:[{required:!0,message:"请上传课件内容"}],children:(0,V.jsx)(ht.Z,{aloneClear:!0,maxSize:(0,N.Ny)()?500:100,accept:gt.toString(),number:Ln?1:10})}),(0,V.jsx)(G.Z.Item,{style:{marginLeft:8},label:"知识标签",name:"tag",children:(0,V.jsx)(Y.Z,{onKeyUp:function(e){if("Enter"==e.key){var n=je.getFieldValue("tag");if(je.setFieldsValue({tag:""}),!n)return void x.ZP.info("标签不能为空");if(Fn.filter((function(e){return e===n})).length>0)return void x.ZP.info("已有相同名称标签");Fn.push(n),En(m()(Fn))}}})}),(0,V.jsx)("div",{className:yn["tagsList-content"],children:Fn.map((function(e,n){return(0,V.jsx)(On.Z,{closable:!0,onClose:function(n){!function(e,n){e.preventDefault(),En(m()(Fn.filter((function(e){return e!=n}))))}(n,e)},children:e},n+e)}))}),(0,V.jsxs)("div",{children:[(0,V.jsx)("span",{className:"c-red",children:"注意:"}),(0,V.jsx)("br",{}),"1、上传课件即表示您已同意",(0,V.jsx)(p.Link,{to:"/users/mmipb3zhj/videos/protocol",target:"_blank",children:"上传内容协议"}),",不得上传未经他人授权的作品;",(0,V.jsx)("br",{}),"2、上传课件默认设置为不允许下载若要开启下载功能可进入课程编辑页面设置",(0,V.jsx)("br",{}),"3、不支持断点续传单个文件大小请勿超过",(0,N.Ny)()?500:100,"M",(0,V.jsx)("br",{}),"4、当前仅限支持pdf、word、excel、ppt、zip文件",(0,V.jsx)("br",{}),"5、文件名将被自动读取为系统内该课件的名称上传前请注意这一点",(0,V.jsx)("br",{}),"6、一次最多上传10个文件。"]})]})}),(0,V.jsx)(g.Z,{centered:!0,title:"新建小节名称",open:de,confirmLoading:ze,onOk:s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke.validateFields();case 2:return De(!0),e.next=5,ke.getFieldsValue();case 5:return n=e.sent,e.next=8,(0,S.Mt)({id:q.stage_id,subject_id:X.pathId,name:n.name});case 8:0===(t=e.sent).status&&(x.ZP.success("添加成功"),fe(!1),i=o()({},t),q.items=q.items.concat(o()(o()({},i),{},{children:[]})),B(o()({},q))),De(!1);case 11:case"end":return e.stop()}var i}),e)}))),onCancel:function(){return fe(!1)},children:(0,V.jsx)(G.Z,{form:ke,children:(0,V.jsx)(G.Z.Item,{label:"",name:"name",rules:[{required:!0,message:"请输入不超过40字的小节名称"}],children:(0,V.jsx)(Y.Z,{maxLength:40,placeholder:"请输入不超过40字的小节名称"})})})}),(0,V.jsx)(ft.Z,{visible:Ae,editData:Ln,onCancel:function(){return Ie(!1)},onOk:Jn}),(0,V.jsx)(ut,{setScoreShow:Ue,getData:C,ScoreShow:Ke,modalType:qe,subjectId:X.pathId,openPreview:F,id:pn}),(0,V.jsx)(ot,{setScoreShow:Ye,ScoreShow:Qe,homeType:nn,homeId:on,modalDdata:cn})]})})),bt=(t(96962),t(27308)),_t=t(97913),jt=(0,p.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){e.user;var n=e.onReplyDiscuss,t=e.dispatch,i=e.id,r=e.activeDiscussIndex,a=e.placeholder,o=(0,h.useState)(""),l=c()(o,2),s=l[0],u=l[1];var d=(0,p.useParams)();return(0,V.jsxs)("div",{className:"discuss-item-editor",style:{display:r===i?"block":"none",width:"100%"},children:[(0,V.jsx)(ct.Z,{miniToolbar:!0,startInit:r===i,defaultValue:s,id:i,noStorage:!0,watch:!1,height:155,placeholder:a||"我要回复",showResizeBar:!0,onChange:function(e){u(e)}}),(0,V.jsx)("a",{onClick:function(){s?(n(i,s),t({type:"pathsDetail/getPathsDetail",payload:{id:d.pathId}}),u("")):x.ZP.info("回复内容不能为空!")},className:"btn-send",children:"发送"})]},i)})),wt=(0,p.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){var n=e.user,t=e.upDataList,i=(e.page,e.getTypeNumber,e.dispatch,e.keywords),a=(0,p.useParams)(),o=function(){var e=s()(r()().mark((function e(n,a){var o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.WD)({id:n,content:a});case 2:0===(null==(o=e.sent)?void 0:o.status)&&t(1,i);case 4:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();return(0,V.jsxs)("div",{className:"discuss-item-container bg-white",children:[(0,V.jsx)("a",{href:"/users/".concat(n.login),target:"_blank",children:(0,V.jsx)("img",{alt:"用户头像",height:"50",src:"".concat(he.Z.IMG_SERVER,"/images/").concat(n.image_url),width:"50"})}),(0,V.jsx)("section",{children:(0,V.jsx)(jt,{id:a.pathId,activeDiscussIndex:a.pathId,onReplyDiscuss:o,placeholder:"我要讨论"})})]})})),kt=t(6080);function Pt(e,n){return(0,ee.v_)("/discusses/".concat(e,"/top_or_down_discuss.json"),{top:n})}function Tt(e,n){return(0,ee.v_)("/discusses/".concat(e,"/plus.json"),{container_type:"Discuss",type:n?1:0})}function Nt(e,n){return(0,ee.v_)("/discusses/".concat(e,"/hidden.json"),n)}function St(e,n){return(0,ee.v_)("/discusses/".concat(e,"/reward_code.json"),n)}function Ct(e){return(0,ee.ZP)("/api/discusses/".concat(e,".json"),{method:"delete"})}function Mt(e,n){return(0,ee.v_)("/discusses/".concat(e,"/reply.json"),{container_type:"Shixun",content:n})}var At=t(45286);function It(e){var n=e.data,t=e.index,i=e.adminOrOperator,r=e.parentDiscussIndex,a=e.shixunIdentifier,o=(e.isDelete,e.user,e.onSetRewardData),l=e.onSetActionType,s=e.deleteCommentAlert,u=e.shixunName,c=e.keywords,d=n.author,f=(n.can_delete,n.manage),h=n.content,p=n.hidden,v=n.id,m=n.reward,x=n.time;return(0,V.jsxs)("div",{className:"second-level-discuss",children:[(0,V.jsxs)("div",{className:"discuss-info-body",children:[(0,V.jsxs)("div",{className:"discuss-info",children:[(0,V.jsx)("a",{href:"/users/".concat(d.login),target:"_blank",children:d.name}),(0,V.jsx)("span",{className:"grey",children:x}),m?(0,V.jsxs)("a",{className:"c-orange gift",title:"已奖励金币".concat(m),children:[(0,V.jsx)("i",{className:"iconfont icon-gift c-orange "}),(0,V.jsx)("span",{children:m})]}):null]}),(0,V.jsxs)("div",{className:c?"hidden":"btn-group",children:[i?(0,V.jsx)("a",{onClick:function(){o({id:v,index:t,user_id:d.user_id,parentDiscussIndex:r})},title:"给TA奖励金币",children:(0,V.jsx)("i",{className:"iconfont icon-jiangli"})}):null,i?(0,V.jsx)("a",{onClick:function(){l({id:v,index:t,params:{hidden:p?"0":"1",container_identifier:a},type:"hidden-discuss",parentDiscussIndex:r,message:p?"确定要取消隐藏该条回复吗":"确定要隐藏该条回复吗"})},title:p?"取消隐藏":"隐藏评论",children:(0,V.jsx)("i",{className:p?"iconfont icon-yincangbiyan":"fa fa-eye"})}):null,f?(0,V.jsx)("a",{onClick:function(){s?g.Z.info({title:"提示",content:(0,V.jsxs)("div",{className:"tc",children:[" ","该条评论来自《",u,"》实践项目,您不是该实践项目的管理者,不能删除评论!"]}),onOk:function(){}}):l({id:v,index:t,type:"delete-discuss",parentDiscussIndex:r,message:"确定要删除该条回复吗"})},title:"删除",children:(0,V.jsx)("i",{className:"iconfont icon-shanchu"})}):null]})]}),(0,V.jsx)(le.Z,{className:"discuss-content",value:h,highlightKeywords:c})]})}var Lt=function(e){var n=e.data,t=e.index,i=e.shixunIdentifier,r=e.adminOrOperator,a=e.identity,o=(e.onTopOrDownDiscuss,e.onPlusDiscuss),l=e.onSetActionType,s=e.onSetRewardData,u=e.user,c=e.isDelete,d=e.activeDiscussIndex,f=e.onReplyDiscuss,h=e.onSetActiveDiscussIndex,p=e.keywords,v=n.content,m=n.children,x=n.game_url,y=n.hidden,b=n.id,_=n.position,j=n.praise_count,w=n.reward,k=(n.sticky,n.time),P=n.user_praise,T=n.game_passed,N=n.delete_comment_alert,S=n.author,C=n.shixun_name,M=n.manage;var A=function(e){var n=e.target,t=n.nodeName,i=n.src;"IMG"===t&&(pn.Z.publish("preview-image",i),console.log("src:",i))};return(0,V.jsxs)("div",{className:"discuss-item-container",children:[(0,V.jsx)("a",{href:"/users/".concat(S.login),target:"_blank",children:(0,V.jsx)("img",{alt:"用户头像",height:"50",src:"".concat(he.Z.IMG_SERVER,"/images/").concat(S.image_url),width:"50"})}),(0,V.jsxs)("section",{children:[(0,V.jsxs)("div",{className:"discuss-info",children:[(0,V.jsx)("a",{href:"/users/".concat(S.login),target:"_blank",children:S.name}),(0,V.jsx)("span",{className:"grey",children:k}),_?(0,V.jsxs)("span",{className:"c-green",children:[" [第",_,"关] "]}):null,x?(0,V.jsx)("a",{href:x,target:"_blank",className:"view-code",title:"点击查看TA的代码页面",children:"查看"}):null,w?(0,V.jsxs)("a",{className:"c-orange gift",title:"已奖励金币".concat(w),children:[(0,V.jsx)("i",{className:"iconfont icon-gift c-orange "}),(0,V.jsx)("span",{children:w})]}):null,a<=5?(0,V.jsx)("span",{style:{flex:"1",textAlign:"right",color:1===T?"#29bd8b":""},children:T||0===T?1===T?"已通关":"未通关":""}):null]}),(0,V.jsx)("div",{onClick:A,children:(0,V.jsx)(le.Z,{className:"discuss-content",value:v,highlightKeywords:p})}),m&&m.length>0?(0,V.jsx)("div",{className:"reply-discuss-container",onClick:A,children:m.map((function(e,n){return(0,V.jsx)(It,{data:e,index:n,deleteCommentAlert:N,shixunName:C,shixunIdentifier:i,adminOrOperator:r,user:u,isDelete:c,onSetRewardData:s,onSetActionType:l,parentDiscussIndex:t,keywords:p},e.id)}))}):null,(0,V.jsxs)("div",{className:p?"hidden":"btn-group",children:[r?(0,V.jsx)("a",{onClick:function(){s({id:b,index:t,user_id:S.user_id})},title:"给TA奖励金币",children:(0,V.jsx)("i",{className:"iconfont icon-jiangli"})}):null,r?(0,V.jsx)("a",{onClick:function(){l({id:b,index:t,params:{hidden:y?"0":"1",container_identifier:i},type:"hidden-discuss",message:y?"确定要取消隐藏该条回复吗":"确定要隐藏该条回复吗"})},title:y?"取消隐藏":"隐藏评论",children:(0,V.jsx)("i",{className:y?"iconfont icon-yincangbiyan":"fa fa-eye"})}):null,M&&(!m||0==m.length)&&(0,V.jsx)("a",{onClick:function(){N?g.Z.info({title:"提示",content:(0,V.jsxs)("div",{className:"tc",children:[" ","该条评论来自《",C,"》实践项目,您不是该实践项目的管理者,不能删除评论!"]}),onOk:function(){}}):l({id:b,index:t,type:"delete-discuss",message:"确定要删除该条回复吗"})},title:"删除",children:(0,V.jsx)("i",{className:"iconfont icon-shanchu"})}),(0,V.jsx)("a",{onClick:function(){h(b)},title:"回复",children:(0,V.jsx)("i",{className:"iconfont icon-huifu1"})}),(0,V.jsxs)("a",{onClick:function(){o(b,!P,t)},style:{whiteSpace:"nowrap"},className:P?"c-orange":"",children:[(0,V.jsx)("i",{className:P?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),(0,V.jsx)("span",{children:j||""})]})]}),(0,V.jsx)(jt,{id:b,activeDiscussIndex:d,onReplyDiscuss:f})]})]},b)},Zt={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function zt(e,n){switch(n.type){case kt.tD:return o()(o()({},e),{},{loading:!0});case kt.RS:return o()(o()({},e),{},{showRewardDialog:!0});case kt.t2:return o()(o()({},e),{},{showRewardDialog:!1});case kt.GR:case kt.u8:case kt.rM:case kt.yS:case kt.Vn:case kt.SX:return o()(o()({},e),n.payload);default:throw new Error}}var Dt=function(e){var n=e.shixunIdentifier,t=e.identity,i=e.activeIndex,a=e.user,l=(e.isShixunDetail,e.isDelete),u=e.getTypeNumber,d=e.keywords,f=e.refreshCount,v=(0,h.useReducer)(zt,Zt),m=c()(v,2),x=m[0],y=m[1],b=x.page,_=x.loading,j=x.data,w=x.actionType,k=x.showRewardDialog,P=x.activeDiscussIndex,T=(0,h.useRef)(),C=(0,h.useRef)(),M=(0,p.useParams)();function A(e){return I.apply(this,arguments)}function I(){return(I=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!_){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,y({type:kt.tD}),e.next=6,(0,S.Ax)(o()(o()({},M),{},{page:n,keywords:d}));case 6:t=e.sent,y({type:kt.GR,payload:{activeDiscussIndex:null,page:n,data:t,loading:!1}}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[2,10]])})))).apply(this,arguments)}function L(e){document.body.scrollIntoView(),A(e)}function Z(e,n,t){return z.apply(this,arguments)}function z(){return(z=s()(r()().mark((function e(n,t,i){var a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Tt(n,t);case 3:a=e.sent,K[i].user_praise=t,K[i].praise_count=a.praise_count,y({type:kt.rM,payload:{data:o()(o()({},j),{},{comments:K})}}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}function D(e,n,t){return F.apply(this,arguments)}function F(){return(F=s()(r()().mark((function e(n,t,i){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Pt(n,t);case 3:K[i].sticky=t,y({type:kt.u8,payload:{data:o()(o()({},j),{},{comments:K})}}),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)}function E(){return E=s()(r()().mark((function e(){var n,t,i,a,l,s,u,c;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=w.id,t=w.params,i=w.type,a=w.index,l=w.parentDiscussIndex,"hidden-discuss"!==i){e.next=6;break}return e.next=4,Nt(n,t);case 4:l?K[l].children[a].hidden=1==t.hidden:K[a].hidden=1==t.hidden,y({type:kt.yS,payload:{actionType:null,data:o()(o()({},j),{},{comments:K})}});case 6:if("delete-discuss"!==i){e.next=32;break}return e.next=9,Ct(n);case 9:if(!l&&0!==l){e.next=22;break}s=K[l].children,u=s.length-1;case 12:if(!(u>=0)){e.next=19;break}if(s[u].id!==n){e.next=16;break}return s.splice(u,1),e.abrupt("break",19);case 16:u--,e.next=12;break;case 19:K[l].children=s,e.next=30;break;case 22:c=K.length-1;case 23:if(!(c>=0)){e.next=30;break}if(K[c].id!==n){e.next=27;break}return K.splice(c,1),e.abrupt("break",30);case 27:c--,e.next=23;break;case 30:y({type:kt.yS,payload:{actionType:null,data:o()(o()({},j),{},{comments:K})}}),f();case 32:case"end":return e.stop()}}),e)}))),E.apply(this,arguments)}function X(e){y({type:kt.yS,payload:{actionType:e}})}function O(){return(O=s()(r()().mark((function e(){var n,t,i,a,l,s,u;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=T.current,t=n.id,i=n.index,a=n.score,l=n.user_id,s=n.parentDiscussIndex,e.next=3,St(t,{container_type:"Discusses",score:a,user_id:l});case 3:u=e.sent,s?K[s].children[i].reward=u.code:K[i].reward=u.code,y({type:kt.Vn,payload:{showRewardDialog:!1,data:o()(o()({},j),{},{comments:K})}}),T.current=null;case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(e){T.current=e,y({type:kt.RS})}function H(e,n){return q.apply(this,arguments)}function q(){return(q=s()(r()().mark((function e(n,t){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Mt(n,t);case 3:A(b),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.log(e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function B(e){y(P===e?{type:kt.SX,payload:{activeDiscussIndex:null}}:{type:kt.SX,payload:{activeDiscussIndex:e}})}if((0,h.useEffect)((function(){function e(){return(e=s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(3!==i||j||!n){e.next=3;break}return e.next=3,A(b);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[M.pathId,d]),(0,h.useEffect)((function(){A(b)}),[d]),!j)return(0,V.jsx)($.Z,{spinning:!0,children:(0,V.jsx)("div",{style:{height:"300px",width:"100%"}})});var J=j.disscuss_count,K=j.comments,U=(j.all,j.can_hidden);return(0,V.jsxs)(h.Fragment,{children:[(0,V.jsxs)("div",{className:"discuss-container",ref:C,children:[0===J?(0,V.jsx)(Wn.Z,{}):null,(0,N.bg)()&&!d&&(0,V.jsx)(wt,{getTypeNumber:u,upDataList:A,page:b,user:a,keywords:d}),(0,V.jsx)("aside",{className:"bg-white",children:null==K?void 0:K.map((function(e,i){return(0,V.jsx)(Lt,{user:a,data:e,index:i,identity:t,onPaginationChange:L,shixunIdentifier:n,isDelete:l,onSetActionType:X,onTopOrDownDiscuss:D,adminOrOperator:U,onPlusDiscuss:Z,onSetRewardData:R,activeDiscussIndex:P,onSetActiveDiscussIndex:B,onReplyDiscuss:H,keywords:d},e.id)}))}),J>10?(0,V.jsx)("div",{className:"pagination-container tc",children:(0,V.jsx)(jn.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:L,current:b,total:J})}):null]}),(0,V.jsxs)(bt.Z,{children:[(0,V.jsx)(g.Z,{centered:!0,title:"提示",open:!!w,onOk:function(){return E.apply(this,arguments)},onCancel:function(){y({type:kt.yS,payload:{actionType:null}})},children:(0,V.jsx)("p",{children:w?w.message:""})}),(0,V.jsx)(g.Z,{centered:!0,width:400,title:"奖励设置",open:k,onCancel:function(){y({type:kt.t2})},onOk:function(){return O.apply(this,arguments)},children:(0,V.jsx)(_t.Z,{placeholder:"请输入奖励的金币数量",min:1,onChange:function(e){T.current.score=e},style:{width:"228px"}})})]})]})},Ft="scoremodal___YNtb3",Et="wrap___BauIT",Xt="wrap_title___ZWoHv",Ot="radioWrap___Jh9vt",Rt="radio___Ydt8R",Ht="colorFF0000___JOb5w",qt="pagination___d1fv4",Vt="search___Pjuzg",Bt="searchIcon___v01bz",Jt=["shixunsDetail","dispatch"],Kt=(Y.Z.Search,(0,p.connect)((function(e){return{shixunsDetail:e.shixunsDetail}}))((function(e){var n,t,i,a,l,u=e.shixunsDetail,d=e.dispatch,v=(f()(e,Jt),(0,p.useParams)()),m=(0,h.useState)(0),x=c()(m,2),b=x[0],_=x[1],j=(0,h.useState)([]),w=c()(j,2),k=w[0],P=w[1],T=(0,h.useState)(""),N=c()(T,2),C=N[0],M=N[1],A=(0,h.useState)(),I=c()(A,2),L=I[0],Z=I[1],z=(0,h.useState)(!1),D=c()(z,2),F=D[0],E=D[1],X=(0,h.useState)(!1),O=c()(X,2),R=(O[0],O[1]),B=(0,h.useState)({page:1,limit:10,type:"video"}),J=c()(B,2),K=J[0],U=J[1];(0,h.useEffect)((function(){var e,n;if(M(""),"Stage-SendModal"===u.actionTabs.key)if("分组作业"==(null==u||null===(e=u.actionTabs)||void 0===e||null===(e=e.params)||void 0===e?void 0:e.title)){var t={page:1,limit:10,type:"group"};U(t),W(o()(o()({},t),{},{search:encodeURI(C)}))}else if("图文作业"==(null==u||null===(n=u.actionTabs)||void 0===n||null===(n=n.params)||void 0===n?void 0:n.title)){var i={page:1,limit:10,type:"normal"};U(i),W(o()(o()({},i),{},{search:encodeURI(C)}))}else U(K),W(o()(o()({},K),{},{search:encodeURI(C)}))}),[u.actionTabs.key]);var W=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({type:"shixunsDetail/searchUserCourses",payload:n});case 2:401===(t=e.sent).status?(d({type:"shixunsDetail/setActionTabs",payload:{}}),R(!1)):(_((null==t?void 0:t.courses_count)||0),P((null==t?void 0:t.course_list)||[]));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),G=(0,q.P)(),Q=c()(G,4),$=Q[0],ne=Q[1],te=Q[2],ie=Q[3],re=function(){var e=s()(r()().mark((function e(){var n,t,i,a,o,l,s,c,d;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(L){e.next=3;break}return E(!0),e.abrupt("return");case 3:return d=null===(n=u.actionTabs.params)||void 0===n?void 0:n.id,R(!1),e.next=7,ie({id:"测验"==(null==u||null===(t=u.actionTabs)||void 0===t||null===(t=t.params)||void 0===t?void 0:t.title)?null==u||null===(i=u.actionTabs)||void 0===i||null===(i=i.params)||void 0===i?void 0:i.examinationid:null==v?void 0:v.pathId,course_id:"测验"==(null==u||null===(a=u.actionTabs)||void 0===a||null===(a=a.params)||void 0===a?void 0:a.title)?[L]:L,type:"分组作业"==(null==u||null===(o=u.actionTabs)||void 0===o||null===(o=o.params)||void 0===o?void 0:o.title)?"group":"图文作业"==(null==u||null===(l=u.actionTabs)||void 0===l||null===(l=l.params)||void 0===l?void 0:l.title)?"normal":"测验"==(null==u||null===(s=u.actionTabs)||void 0===s||null===(s=s.params)||void 0===s?void 0:s.title)?"examination_bank":"编程作业"==(null==u||null===(c=u.actionTabs)||void 0===c||null===(c=c.params)||void 0===c?void 0:c.title)?"hack":"subject",stage_item_id:d,sync_catelog:0});case 7:if(e.sent){e.next=11;break}return e.next=11,ae(0);case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ae=function(){var e=s()(r()().mark((function e(n){var t,i,a,o,l,s,c,d,f,h,p,m,x,y,b,_;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=null===(t=u.actionTabs.params)||void 0===t?void 0:t.id,null===(i=u.actionTabs.params)||void 0===i||!i.is_jupyter){e.next=8;break}return c=null===(s=u.actionTabs.params)||void 0===s?void 0:s.identifier,e.next=5,(0,ee.ZP)("/api/shixuns/".concat(c,"/send_to_course.json"),{method:"Post",body:{courses:[{course_id:L,identifier:c,type:"normal",is_copy:n,is_use:1}]}});case 5:l=e.sent,e.next=17;break;case 8:if("测验"!=(null==u||null===(d=u.actionTabs)||void 0===d||null===(d=d.params)||void 0===d?void 0:d.title)){e.next=14;break}return e.next=11,(0,S.p4)({id:null==u||null===(f=u.actionTabs)||void 0===f||null===(f=f.params)||void 0===f?void 0:f.examinationid,course_id:[L],shixuns_info:n?null==n?void 0:n.map((function(e){return e.shixun_id=e.id,e})):[]});case 11:l=e.sent,e.next=17;break;case 14:return e.next=16,(0,S.Q)({id:null==v?void 0:v.pathId,course_id:L,stage_shixuns:[{stage_shixun_id:o,is_copy:n,is_use:1}],sync_catelog:0,type:"实训"===(null===(h=u.actionTabs.params)||void 0===h?void 0:h.title)?"shixun":"分组作业"==(null==u||null===(p=u.actionTabs)||void 0===p||null===(p=p.params)||void 0===p?void 0:p.title)?"group":"图文作业"==(null==u||null===(m=u.actionTabs)||void 0===m||null===(m=m.params)||void 0===m?void 0:m.title)?"normal":"视频"==(null==u||null===(x=u.actionTabs)||void 0===x||null===(x=x.params)||void 0===x?void 0:x.title)?"video":"编程作业"==(null==u||null===(y=u.actionTabs)||void 0===y||null===(y=y.params)||void 0===y?void 0:y.title)?"hack":""});case 16:l=e.sent;case 17:oe(),ne(),"测验"==(null==u||null===(a=u.actionTabs)||void 0===a||null===(a=a.params)||void 0===a?void 0:a.title)?0===(null===(b=l)||void 0===b?void 0:b.status)&&g.Z.confirm({title:"提示",centered:!0,icon:null,okText:"立即前往",cancelText:"稍后再说",content:(0,V.jsx)("div",{style:{textAlign:"left"},children:"发送成功!是否前往对应的教学课堂?"}),onOk:function(){(0,H.xg)("".concat(l.data[0].first_category_url,"/").concat(l.data[0].exercise_id,"/detail?random=").concat(l.data[0].is_random,"&tabs=3"))}}):1===(null===(_=l)||void 0===_?void 0:_.status)&&g.Z.confirm({title:"提示",centered:!0,icon:null,okText:"立即前往",cancelText:"稍后再说",content:(0,V.jsx)("div",{style:{textAlign:"left"},children:"发送成功!是否前往对应的教学课堂?"}),onOk:function(){var e,n,t,i,r,a;if(null!==(e=u.actionTabs.params)&&void 0!==e&&e.is_jupyter)(0,H.xg)(null===(r=l)||void 0===r?void 0:r.first_category_url);else if("分组作业"==(null==u||null===(n=u.actionTabs)||void 0===n||null===(n=n.params)||void 0===n?void 0:n.title)||"图文作业"==(null==u||null===(t=u.actionTabs)||void 0===t||null===(t=t.params)||void 0===t?void 0:t.title))(0,H.xg)(null===(a=l)||void 0===a?void 0:a.url);else if("编程作业"==(null==u||null===(i=u.actionTabs)||void 0===i||null===(i=i.params)||void 0===i?void 0:i.title)){var o,s=null===(o=l)||void 0===o||null===(o=o.url.split("/"))||void 0===o?void 0:o[2];(0,H.xg)("/classrooms/".concat(s,"/program_homework"))}else{var c,d=null===(c=l)||void 0===c||null===(c=c.url.split("/"))||void 0===c?void 0:c[2];(0,H.xg)("/classrooms/".concat(d,"/shixun_homework"))}}});case 20:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),oe=function(){M(""),Z(null),E(!1),d({type:"shixunsDetail/setActionTabs",payload:{}}),R(!1)};return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(g.Z,{title:"发送".concat((null===(n=u.actionTabs.params)||void 0===n?void 0:n.title)||"实训"),open:"Stage-SendModal"===u.actionTabs.key,centered:!0,className:Ft,onCancel:oe,onOk:re,children:(0,V.jsxs)("div",{className:Et,children:[(0,V.jsxs)("div",{className:Xt,children:["选择的","".concat((null===(t=u.actionTabs.params)||void 0===t?void 0:t.title)||"实训"),"将会发送到指定课堂"]}),(0,V.jsx)("div",{className:"mb10",children:(0,V.jsx)(Y.Z.Search,{className:Vt,placeholder:"输入课堂名称的关键字进行搜索",allowClear:!0,value:C,onChange:function(e){return M(e.target.value)},suffix:(0,V.jsx)("i",{className:"iconfont icon-sousuo9 font14 ".concat(Bt),onClick:function(){M(C);var e=o()(o()({},K),{page:1,limit:10,search:encodeURI(C)});U(e),W(e)}}),onSearch:function(e){M(e);var n=o()(o()({},K),{page:1,limit:10,search:encodeURI(e)});U(n),W(n)}})}),(0,V.jsx)("div",{className:Ot,children:(0,V.jsx)(y.ZP.Group,{value:L,onChange:function(e){Z(e.target.value),E(!1)},children:k.map((function(e,n){return(0,V.jsx)(y.ZP,{className:Rt,value:e.course_id,children:(0,V.jsx)("span",{title:e.name,children:e.name})},n)}))})}),F&&(0,V.jsx)("div",{className:Ht,children:"请选择你要发送的课堂"}),b>10&&(0,V.jsx)("div",{className:qt,children:(0,V.jsx)(jn.Z,{size:"small",className:"mb20",showQuickJumper:!0,showSizeChanger:!1,defaultCurrent:1,current:null==K?void 0:K.page,pageSize:10,total:b,onChange:function(e){var n=o()(o()({},K),{page:e,limit:10,search:encodeURI(C)});U(n),W(n)}})})]})}),(0,V.jsx)(q.Z,{visible:$,inPaper:!0,onOk:ae,onCancel:function(){oe(),ne()},renderData:te,modalType:"测验"==(null==u||null===(i=u.actionTabs)||void 0===i||null===(i=i.params)||void 0===i?void 0:i.title)?"multiple":"single",type:"测验"==(null==u||null===(a=u.actionTabs)||void 0===a||null===(a=a.params)||void 0===a?void 0:a.title)?"examination_bank":"subject",isMultipleCourse:"测验"==(null==u||null===(l=u.actionTabs)||void 0===l||null===(l=l.params)||void 0===l?void 0:l.title)})]})}))),Ut={bg:"bg___F_x5V",title:"title___QEshf",fieldWrap:"fieldWrap___zSBF2",mdWrap:"mdWrap___V2EBb",footer_style:"footer_style___lwvvM",submit_button:"submit_button___gNsfc",close_button:"close_button___K6_8I"},Wt=t(29730),Gt=(0,p.connect)((function(e){var n=e.shixunHomeworks,t=e.newCourse,i=e.loading,r=e.globalSetting;return{classroomList:e.classroomList,shixunHomeworks:n,newCourse:t,globalSetting:r,loading:i.effects}}))((function(e){var n,t,i=e.shixunHomeworks,a=(e.newCourse,e.globalSetting),l=(e.loading,e.dispatch),u=e.classroomList,d=((0,p.useParams)(),G.Z.useForm()),f=c()(d,1)[0],v=(0,h.useState)({}),m=c()(v,2),g=m[0],y=m[1],b=((0,h.useRef)(),i.commonHomeWorkAddDefaultData,(0,h.useState)({})),_=c()(b,2),j=_[0],w=_[1];(0,h.useEffect)((function(){f.resetFields()}),[u.actionTabs.key]);function k(e){return P.apply(this,arguments)}function P(){return(P=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=j&&j.ec_point_ids){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,ee.ZP)("/api/ec_courses/".concat(null==j?void 0:j.ec_course_id,"/ec_points/set_work_points.json"),{method:"post",body:o()({homework_common_id:n},j)});case 4:e.sent;case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"课程新建分组作业"===u.actionTabs.key,className:Ut.drawer,children:[(0,V.jsxs)("section",{className:Ut.bg,children:[(0,V.jsx)("aside",{className:Ut.title,children:"新建分组作业"}),(0,V.jsxs)(G.Z,{form:f,scrollToFirstError:!0,layout:"vertical",onValuesChange:function(){y(o()({},f.getFieldsValue()))},children:[(0,V.jsx)("div",{className:Ut.fieldWrap,children:(0,V.jsx)(G.Z.Item,{name:"name",label:"标题",rules:[{required:!0,message:"请输入标题"}],children:(0,V.jsx)(Y.Z,{maxLength:60,suffix:"".concat((null===(n=g.name)||void 0===n?void 0:n.length)||0,"/60"),placeholder:"例如从Python程序设计-入门精通"})})}),(0,V.jsxs)("div",{className:Ut.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"description",style:{marginTop:"-10px"},label:"内容",rules:[{required:!0,message:"请输入作业的简介"},{max:5e3,message:"作业简介最大限制5000个字符"}],children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:g.intro})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"attachment_ids",style:{marginTop:"-15px"},children:(0,V.jsx)(ht.Z,{})})}),(0,V.jsxs)(M.Z,{gutter:[20,20],style:{marginTop:20},children:[(0,V.jsx)(A.Z,{flex:"230px",children:(0,V.jsx)(G.Z.Item,{name:"min_num",label:"分组设置",rules:[{required:!0,message:"请填写每组最小人数"}],children:(0,V.jsx)(_t.Z,{style:{width:200,height:40},min:1,placeholder:"请填写每组最小人数"})})}),(0,V.jsx)(A.Z,{flex:"230px",children:(0,V.jsx)(G.Z.Item,{name:"max_num",label:(0,V.jsx)("div",{children:" "}),rules:[{validator:function(e,n){return n?Promise.resolve():Promise.reject(new Error("请填写每组最大人数"))}}],children:(0,V.jsx)(_t.Z,{style:{width:200,height:40},max:100,placeholder:"请填写每组最大人数"})})}),(0,V.jsx)(A.Z,{children:(0,V.jsx)("div",{className:"mt40",style:{color:"#536367",marginLeft:"-20px"},children:"(学生提交作品时需要关联同组成员,组内成员作品共享)"})})]}),!(null!=a&&null!==(t=a.setting)&&void 0!==t&&t.is_local)&&(0,V.jsx)(M.Z,{style:{marginTop:"-10px"},children:(0,V.jsxs)(A.Z,{children:[(0,V.jsx)(G.Z.Item,{name:"base_on_project",valuePropName:"checked",style:{marginBottom:5},children:(0,V.jsx)(I.Z,{value:!0,style:{color:"#5F6368"},children:"基于项目实施"})}),(0,V.jsx)("span",{className:"c-light-black",style:{color:"#999999"},children:"(选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品)"})]})})]}),(0,V.jsxs)("div",{className:Ut.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"reference_answer",label:"参考答案",style:{marginTop:10},children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:g.notice})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"reference_attachment_ids",style:{marginTop:"-15px"},children:(0,V.jsx)(ht.Z,{})})})]})]}),(0,V.jsx)("div",{className:Ut.mdWrap,children:(0,V.jsx)(Wt.Z,{setitem:function(e){return w(o()({},e))}})})]}),(0,V.jsxs)("div",{className:Ut.footer_style,children:[(0,V.jsx)("div",{className:Ut.close_button,onClick:function(){l({type:"classroomList/setActionTabs",payload:{key:""}})},children:"取消"}),(0,V.jsx)("div",{onClick:function(){f.validateFields().then(s()(r()().mark((function e(){var n,t,i,a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(g.min_num>g.max_num)){e.next=3;break}return x.ZP.info("最大人数不能小于最小人数"),e.abrupt("return");case 3:return(n=o()({},g)).attachment_ids&&(n.attachment_ids=null==n||null===(t=n.attachment_ids)||void 0===t?void 0:t.map((function(e){return e.response.id}))),n.reference_attachment_ids&&(n.reference_attachment_ids=null==n||null===(i=n.reference_attachment_ids)||void 0===i?void 0:i.map((function(e){return e.response.id}))),n.base_on_project||(n.base_on_project=!1),e.next=9,(0,S.DQ)(o()(o()({id:u.actionTabs.id,subject_id:u.actionTabs.subject_id},n),{},{homework_type:3}));case 9:0===(a=e.sent).status&&(k(a.homework_id),(0,H.L9)(["教学课堂","分组作业","新建分组作业"]),x.ZP.success("新建成功"),l({type:"classroomList/setActionTabs",payload:{key:"closePathsTabs"}}));case 11:case"end":return e.stop()}}),e)}))))},className:Ut.submit_button,children:"提交"})]})]},"bottom")})),Qt={bg:"bg___oLxz5",title:"title___bfvam",fieldWrap:"fieldWrap___A5u2u",mdWrap:"mdWrap___zugL3",footer_style:"footer_style___unO7C",submit_button:"submit_button___t8Hvx",close_button:"close_button___oswUb"},Yt=(0,p.connect)((function(e){var n=e.shixunHomeworks,t=e.newCourse,i=e.loading,r=e.globalSetting,a=e.classroomList;return{shixunHomeworks:n,newCourse:t,globalSetting:r,loading:i.effects,classroomList:a}}))((function(e){var n,t,i=e.shixunHomeworks,a=(e.newCourse,e.globalSetting),l=(e.loading,e.dispatch),u=e.classroomList,d=(0,p.useParams)(),f=G.Z.useForm(),v=c()(f,1)[0],m=(0,h.useState)({}),g=c()(m,2),y=g[0],b=g[1],_=(0,h.useState)(!1),j=c()(_,2),w=j[0],k=j[1],P=(0,h.useState)({}),T=c()(P,2),N=T[0],C=T[1],L=(0,h.useState)({}),Z=c()(L,2),z=Z[0],D=Z[1];(0,h.useRef)(),i.commonHomeWorkEditDefaultData;(0,h.useEffect)((function(){"课程编辑分组作业"==u.actionTabs.key&&F()}),[u.actionTabs.key]);var F=function(){var e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.FD)({id:u.actionTabs.id,type:u.actionTabs.type});case 2:(n=e.sent)&&(t=o()(o()({},n.subject_homework),{},{attachment_ids:(0,ht.z)(n.subject_homework.attachments),reference_attachment_ids:(0,ht.z)(n.subject_homework.ref_attachments)}),v.setFieldsValue(o()({},t)),b(o()({},t)),k(!0),D(new Date));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function E(e){return X.apply(this,arguments)}function X(){return(X=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=N&&N.ec_point_ids){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,ee.ZP)("/api/ec_courses/".concat(null==N?void 0:N.ec_course_id,"/ec_points/set_work_points.json"),{method:"post",body:o()({homework_common_id:n},N)});case 4:e.sent;case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"课程编辑分组作业"===u.actionTabs.key,className:Qt.drawer,children:[(0,V.jsxs)("section",{className:Qt.bg,children:[(0,V.jsx)("aside",{className:Qt.title,children:"编辑分组作业"}),(0,V.jsxs)(G.Z,{form:v,scrollToFirstError:!0,layout:"vertical",onValuesChange:function(){b(o()({},v.getFieldsValue()))},children:[(0,V.jsx)("div",{className:Qt.fieldWrap,children:(0,V.jsx)(G.Z.Item,{name:"name",label:"标题:",rules:[{required:!0,message:"请输入标题"}],children:(0,V.jsx)(Y.Z,{maxLength:60,suffix:"".concat((null===(n=y.name)||void 0===n?void 0:n.length)||0,"/60"),placeholder:"例如从Python程序设计-入门精通"})})}),(0,V.jsxs)("div",{className:Qt.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"description",label:"简介:",style:{marginTop:"-10px"},rules:[{required:!0,message:"请输入作业的简介"},{max:5e3,message:"作业简介最大限制5000个字符"}],children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:y.description})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"attachment_ids",style:{marginTop:"-15px"},children:w&&(0,V.jsx)(ht.Z,{},z)})}),(0,V.jsxs)(M.Z,{gutter:[20,20],style:{marginTop:20},children:[(0,V.jsx)(A.Z,{flex:"230px",children:(0,V.jsx)(G.Z.Item,{name:"min_num",label:"分组设置",rules:[{required:!0,message:"请填写每组最小人数"}],children:(0,V.jsx)(_t.Z,{style:{width:200,height:40},min:1,placeholder:"请填写每组最小人数"})})}),(0,V.jsx)(A.Z,{flex:"230px",children:(0,V.jsx)(G.Z.Item,{name:"max_num",label:(0,V.jsx)("div",{children:" "}),rules:[{validator:function(e,n){return n?Promise.resolve():Promise.reject(new Error("请填写每组最大人数"))}}],children:(0,V.jsx)(_t.Z,{style:{width:200,height:40},max:100,placeholder:"请填写每组最大人数"})})}),(0,V.jsx)(A.Z,{children:(0,V.jsx)("div",{className:"mt35",style:{color:"#536367",marginLeft:"-20px"},children:"(学生提交作品时需要关联同组成员,组内成员作品共享)"})})]}),!(null!=a&&null!==(t=a.setting)&&void 0!==t&&t.is_local)&&(0,V.jsx)(M.Z,{style:{marginTop:"-10px"},children:(0,V.jsxs)(A.Z,{children:[(0,V.jsx)(G.Z.Item,{name:"base_on_project",valuePropName:"checked",style:{marginBottom:5,marginTop:5},children:(0,V.jsx)(I.Z,{value:!0,defaultChecked:!0,style:{color:"#5F6368"},children:"基于项目实施"})}),(0,V.jsx)("span",{className:"c-light-black",style:{color:"#999999",marginTop:"-10px"},children:"(选中,则必须在本平台创建项目,项目管理员可以提交作品;不选中,无需在平台创建项目,任意小组成员均可以提交作品)"})]})})]}),(0,V.jsxs)("div",{className:Qt.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"reference_answer",label:"参考答案:",style:{marginTop:10},children:(0,V.jsx)(ct.Z,{defaultValue:y.reference_answer,watch:!0})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"reference_attachment_ids",style:{marginTop:"-15px"},children:w&&(0,V.jsx)(ht.Z,{},z)})})]})]}),(0,V.jsx)("div",{className:Qt.mdWrap,children:(0,V.jsx)(Wt.Z,{setitem:function(e){return C(o()({},e))},homework_common_id:d.categoryId})})]}),(0,V.jsxs)("div",{className:Qt.footer_style,children:[(0,V.jsx)("div",{className:Qt.close_button,onClick:function(){l({type:"classroomList/setActionTabs",payload:{key:""}})},children:"取消"}),(0,V.jsx)("div",{onClick:function(){v.validateFields().then(s()(r()().mark((function e(){var n,t,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(y.min_num>y.max_num)){e.next=3;break}return x.ZP.info("最大人数不能小于最小人数"),e.abrupt("return");case 3:return(n=o()({},y)).attachment_ids&&(n.attachment_ids=null==n||null===(t=n.attachment_ids)||void 0===t?void 0:t.map((function(e){return e.response.id}))),n.reference_attachment_ids&&(n.reference_attachment_ids=null==n||null===(i=n.reference_attachment_ids)||void 0===i?void 0:i.map((function(e){return e.response.id}))),n.base_on_project||(n.base_on_project=!1),e.next=9,(0,S.VO)(o()(o()(o()({},d),n),{},{base_on_project:n.base_on_project,homework_type:3,id:u.actionTabs.id}));case 9:0===e.sent.status&&(x.ZP.success("编辑成功"),E(d.categoryId),l({type:"classroomList/setActionTabs",payload:{key:"closePathsTabs"}}));case 11:case"end":return e.stop()}}),e)}))))},className:Qt.submit_button,children:"提交"})]})]},"bottom")})),$t={bg:"bg___fOlTw",title:"title___G3D9y",fieldWrap:"fieldWrap___imjS7",mdWrap:"mdWrap___aKGYo",footer_style:"footer_style___BWH5p",submit_button:"submit_button___yxKUd",close_button:"close_button___nRK7d"},ei=(0,p.connect)((function(e){var n=e.shixunHomeworks,t=e.newCourse,i=e.loading,r=e.globalSetting,a=e.classroomList;return{shixunHomeworks:n,newCourse:t,globalSetting:r,loading:i.effects,classroomList:a}}))((function(e){var n,t=e.shixunHomeworks,i=(e.newCourse,e.globalSetting,e.loading,e.dispatch),a=e.classroomList,l=((0,p.useParams)(),G.Z.useForm()),u=c()(l,1)[0],d=(0,h.useState)({}),f=c()(d,2),v=f[0],m=f[1],g=(0,h.useState)(),y=c()(g,2),b=(y[0],y[1],(0,h.useRef)(),t.commonHomeWorkAddDefaultData,(0,h.useState)({})),_=c()(b,2),j=_[0],w=_[1];(0,h.useEffect)((function(){u.resetFields()}),[a.actionTabs.key]);function k(e){return P.apply(this,arguments)}function P(){return(P=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=j&&j.ec_point_ids){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,ee.ZP)("/api/ec_courses/".concat(null==j?void 0:j.ec_course_id,"/ec_points/set_work_points.json"),{method:"post",body:o()({homework_common_id:n},j)});case 4:e.sent;case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"课程新建图文作业"===a.actionTabs.key,className:$t.drawer,children:[(0,V.jsxs)("section",{className:$t.bg,children:[(0,V.jsx)("aside",{className:$t.title,children:"新建图文作业"}),(0,V.jsxs)(G.Z,{form:u,scrollToFirstError:!0,layout:"vertical",onValuesChange:function(){console.log("onchange: ",u.getFieldsValue()),m(o()({},u.getFieldsValue()))},children:[(0,V.jsx)("div",{className:$t.fieldWrap,children:(0,V.jsx)(G.Z.Item,{name:"name",label:"标题:",rules:[{required:!0,message:"请输入标题"}],children:(0,V.jsx)(Y.Z,{maxLength:60,suffix:"".concat((null===(n=v.name)||void 0===n?void 0:n.length)||0,"/60"),placeholder:"例如从Python程序设计-入门精通"})})}),(0,V.jsxs)("div",{className:$t.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"description",label:"简介:",style:{marginTop:"-10px"},rules:[{required:!0,message:"请输入作业的简介"},{max:5e3,message:"作业简介最大限制5000个字符"}],children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:v.intro})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"attachment_ids",style:{marginTop:"-15px"},children:(0,V.jsx)(ht.Z,{})})})]}),(0,V.jsxs)("div",{className:$t.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"reference_answer",style:{marginTop:"-10px"},label:"参考答案:",children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:v.notice})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"reference_attachment_ids",style:{marginTop:"-15px"},children:(0,V.jsx)(ht.Z,{})})})]})]}),(0,V.jsx)("div",{className:$t.mdWrap,children:(0,V.jsx)(Wt.Z,{setitem:function(e){return w(o()({},e))}})})]}),(0,V.jsxs)("div",{className:$t.footer_style,children:[(0,V.jsx)("div",{className:$t.close_button,onClick:function(){i({type:"classroomList/setActionTabs",payload:{key:""}})},children:"取消"}),(0,V.jsx)("div",{onClick:function(){u.validateFields().then(s()(r()().mark((function e(){var n,t,l,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=o()({},v)).attachment_ids&&(n.attachment_ids=null==n||null===(t=n.attachment_ids)||void 0===t?void 0:t.map((function(e){return e.response.id}))),n.reference_attachment_ids&&(n.reference_attachment_ids=null==n||null===(l=n.reference_attachment_ids)||void 0===l?void 0:l.map((function(e){return e.response.id}))),e.next=5,(0,S.DQ)(o()(o()({id:a.actionTabs.id,subject_id:a.actionTabs.subject_id},n),{},{homework_type:1}));case 5:0===(null==(s=e.sent)?void 0:s.status)&&(k(s.homework_id),(0,H.L9)(["教学课堂","图文作业","新建图文作业"]),x.ZP.success("新建成功"),i({type:"classroomList/setActionTabs",payload:{key:"closePathsTabs"}}));case 7:case"end":return e.stop()}}),e)}))))},className:$t.submit_button,children:"提交"})]})]},"bottom")})),ni={bg:"bg___Sx8dX",title:"title___GKPKJ",fieldWrap:"fieldWrap___fIL9U",mdWrap:"mdWrap___iwCM_",footer_style:"footer_style___KYp6i",submit_button:"submit_button___Rnntu",close_button:"close_button___Drc5k"},ti=(0,p.connect)((function(e){var n=e.shixunHomeworks,t=e.newCourse,i=e.loading,r=e.globalSetting,a=e.classroomList;return{shixunHomeworks:n,newCourse:t,globalSetting:r,loading:i.effects,classroomList:a}}))((function(e){var n,t=e.shixunHomeworks,i=(e.newCourse,e.globalSetting,e.loading,e.dispatch),a=e.classroomList,l=(0,p.useParams)(),u=G.Z.useForm(),d=c()(u,1)[0],f=(0,h.useState)({}),v=c()(f,2),m=v[0],g=v[1],y=(0,h.useState)(!1),b=c()(y,2),_=b[0],j=b[1],w=(0,h.useState)({}),k=c()(w,2),P=k[0],T=k[1],N=(0,h.useState)({}),C=c()(N,2),M=C[0],A=C[1];(0,h.useRef)(),t.commonHomeWorkEditDefaultData;(0,h.useEffect)((function(){"课程编辑图文作业"==a.actionTabs.key&&I()}),[a.actionTabs.key]);var I=function(){var e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,S.FD)({id:a.actionTabs.id,type:a.actionTabs.type});case 2:(n=e.sent)&&(t={name:n.subject_homework.name,description:n.subject_homework.description,reference_answer:n.subject_homework.reference_answer,attachment_ids:(0,ht.z)(n.subject_homework.attachments),reference_attachment_ids:(0,ht.z)(n.subject_homework.ref_attachments)},console.log(t),d.setFieldsValue(o()({},t)),g(o()({},t)),j(!0),A(new Date));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function L(e){return Z.apply(this,arguments)}function Z(){return(Z=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=P&&P.ec_point_ids){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,ee.ZP)("/api/ec_courses/".concat(null==P?void 0:P.ec_course_id,"/ec_points/set_work_points.json"),{method:"post",body:o()({homework_common_id:n},P)});case 4:e.sent;case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"课程编辑图文作业"===a.actionTabs.key,className:ni.drawer,children:[(0,V.jsxs)("section",{className:ni.bg,children:[(0,V.jsx)("aside",{className:ni.title,children:"编辑图文作业"}),(0,V.jsxs)(G.Z,{form:d,scrollToFirstError:!0,layout:"vertical",onValuesChange:function(){g(o()({},d.getFieldsValue()))},children:[(0,V.jsx)("div",{className:ni.fieldWrap,children:(0,V.jsx)(G.Z.Item,{name:"name",label:"标题:",rules:[{required:!0,message:"请输入标题"}],children:(0,V.jsx)(Y.Z,{maxLength:60,suffix:"".concat((null===(n=m.name)||void 0===n?void 0:n.length)||0,"/60"),placeholder:"例如从Python程序设计-入门精通"})})}),(0,V.jsxs)("div",{className:ni.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"description",label:"简介:",style:{marginTop:"-10px"},rules:[{required:!0,message:"请输入作业的简介"},{max:5e3,message:"作业简介最大限制5000个字符"}],children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:m.description})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"attachment_ids",style:{marginTop:"-15px"},children:_&&(0,V.jsx)(ht.Z,{},M)})})]}),(0,V.jsxs)("div",{className:ni.mdWrap,children:[(0,V.jsx)(G.Z.Item,{name:"reference_answer",label:"参考答案:",style:{marginTop:"-10px"},children:(0,V.jsx)(ct.Z,{defaultValue:m.reference_answer,watch:!0})}),(0,V.jsx)("div",{children:(0,V.jsx)(G.Z.Item,{name:"reference_attachment_ids",style:{marginTop:"-15px"},children:_&&(0,V.jsx)(ht.Z,{},M)})})]})]}),(0,V.jsx)("div",{className:ni.mdWrap,children:(0,V.jsx)(Wt.Z,{setitem:function(e){return T(o()({},e))},homework_common_id:l.categoryId})})]}),(0,V.jsxs)("div",{className:ni.footer_style,children:[(0,V.jsx)("div",{className:ni.close_button,onClick:function(){i({type:"classroomList/setActionTabs",payload:{key:""}})},children:"取消"}),(0,V.jsx)("div",{onClick:function(){d.validateFields().then(s()(r()().mark((function e(){var n,t,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=o()({},m)).attachment_ids&&(n.attachment_ids=null==n||null===(t=n.attachment_ids)||void 0===t?void 0:t.map((function(e){var n;return null===(n=e.response)||void 0===n?void 0:n.id}))),n.reference_attachment_ids&&(n.reference_attachment_ids=null==n||null===(s=n.reference_attachment_ids)||void 0===s?void 0:s.map((function(e){var n;return null===(n=e.response)||void 0===n?void 0:n.id}))),e.next=5,(0,S.VO)(o()(o()(o()({},l),n),{},{base_on_project:!0,homework_type:1,id:a.actionTabs.id}));case 5:0===e.sent.status&&(x.ZP.success("编辑成功"),L(l.categoryId),i({type:"classroomList/setActionTabs",payload:{key:"closePathsTabs"}}));case 7:case"end":return e.stop()}}),e)}))))},className:ni.submit_button,children:"提交"})]})]},"bottom")})),ii=t(58449),ri=t(99436),ai=t(94433),oi=Rn.Z.TabPane,li=(0,p.connect)((function(e){return{exercise:e.exercise,loading:e.loading,classroomList:e.classroomList}}))((function(e){e.classroomList;var n,t=e.exercise,i=e.saveExercise,a=(e.loading,e.dispatch),l=(0,p.useParams)(),u=((0,p.useLocation)(),G.Z.useForm()),d=(c()(u,1)[0],t.brankList,(0,h.useState)(!0)),f=c()(d,2),v=f[0],y=f[1],b=(0,h.useState)(!1),_=c()(b,2),j=_[0],w=_[1],P=(0,h.useState)("myself"),T=c()(P,2),N=T[0],S=T[1],M=(0,h.useState)([]),A=c()(M,2),I=A[0],L=A[1],Z=(0,h.useState)([]),z=c()(Z,2),D=z[0],F=z[1],E=(0,h.useState)(),X=c()(E,2),O=X[0],R=X[1],B=(0,h.useState)([]),J=c()(B,2),K=J[0],W=J[1],Q=(0,h.useRef)(null),$=(0,h.useState)(!1),ee=c()($,2),ne=ee[0],te=ee[1],ie=(0,h.useState)(""),re=c()(ie,2),ae=re[0],oe=re[1],le=(0,h.useState)(""),se=c()(le,2),ue=se[0],ce=se[1],de=[{title:"试卷名称",dataIndex:"name",width:150,ellipsis:!0,align:"left"},{title:"知识点",dataIndex:"course_list_name",width:150,ellipsis:!0,align:"left"},{title:"类型",dataIndex:"is_random",width:90,align:"left",render:function(e){return e?"随机组卷":"人工组卷"}},{title:"更新时间",dataIndex:"updated_at",width:150,align:"left"},{title:"试题数",dataIndex:"item_num",width:60,align:"center"},{title:"总分",dataIndex:"total_score",width:60,align:"center"},{title:"操作",dataIndex:"is_random",width:60,align:"center",render:function(e,n){return(0,V.jsx)("a",{href:e?"/randompaper/detail/".concat(n.id):"/paperlibrary/see/".concat(n.id,"?defaultActiveKey=").concat("public"==(null==pe?void 0:pe.filter)?"1":"teacher"==(null==pe?void 0:pe.filter)?"2":"0"),target:"_blank>",children:"预览"})}}],fe=(0,h.useState)({page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself",is_random:null}),he=c()(fe,2),pe=he[0],ve=he[1];(0,h.useEffect)((function(){"试卷选用"===t.actionTabs.key&&(ge(),W([]),me())}),[t.actionTabs.key]);var me=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"paperlibrary/getTeachGroupData"});case 2:n=e.sent,F(n);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),xe=function(e){var n=parseInt(e);return isNaN(n)?"":n},ge=function(){var e=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!v){e.next=12;break}return++pe.page,y(!1),pe.is_random="myself"==pe.filter?2:null,e.next=6,a({type:"exercise/getBrankList",payload:o()({},pe)});case 6:t=e.sent,I=null!=t&&t.object_list?m()(I.concat(null==t?void 0:t.object_list)):I,R(t.is_teacher),(null===(n=t.object_list)||void 0===n?void 0:n.length)<pe.limit?y(!1):y(!0),L(m()(I));case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ye={selectedRowKeys:K,onChange:function(e){W(e)},type:"radio"},be=function(){ve(o()({},{page:0,limit:20,group_id:null,object_type:"examination_bank",search:"",filter:"myself"})),L([]),y(!0),S("myself"),a({type:"exercise/setActionTabs",payload:{}}),w(!1)},_e=(0,q.P)(),je=c()(_e,4),we=je[0],ke=je[1],Pe=je[2],Te=(je[3],function(){var e=s()(r()().mark((function e(n){var i,u,c,d,f;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=!1,I.forEach((function(e){K.includes(e.id)&&(i=e.is_random)})),u=n.map((function(e){return{shixun_id:e.id,is_use:e.is_use,is_copy:e.is_copy}})),i){e.next=9;break}return e.next=6,a({type:"exercise/saveBanks",payload:{course_id:l.coursesId,object_type:"examination_bank",bank_id:K,shixuns_info:u}});case 6:return 0===(null==(c=e.sent)?void 0:c.status)&&((0,H.L9)(["教学课堂","试卷","试卷选用"]),a({type:"classroomList/getClassroomExercisesList",payload:o()({},t.actionTabs.params)}),oe("/classrooms/".concat(l.coursesId,"/exercise/").concat(c.exercise_id,"/detail?random=").concat(c.is_random,"&tabs=3")),ce("/classrooms/".concat(l.coursesId,"/exercise/add/").concat(c.exercise_id,"?random=").concat(c.is_random,"&type=2")),te(!0),x.ZP.success("生成试卷成功"),ke(),be()),e.abrupt("return");case 9:a({type:"exercise/setActionTabs",payload:{}}),ke(),d=1,f=g.Z.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"配置出卷数量",content:(0,V.jsxs)("div",{className:ri.Z.modalColumn,children:[(0,V.jsxs)("div",{className:ri.Z.modalRow,children:[(0,V.jsx)("sup",{className:ri.Z.sup,children:"*"}),(0,V.jsx)("span",{style:{flexShrink:0},children:"随机出卷数量:"}),(0,V.jsx)(_t.Z,{parser:xe,style:{width:120},placeholder:"请输入试卷数量",min:1,defaultValue:d,onChange:function(e){d=e;var n=document.getElementById("model_error");n.style.display=d<1||d>50?"block":"none"}})]}),(0,V.jsx)("div",{style:{display:"none",marginLeft:106},id:"model_error",className:"c-red",children:"请输入1-50之间的整数"})]}),okText:"确认",cancelText:"取消",onCancel:be,onOk:function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(d<1||d>50)){e.next=4;break}return document.getElementById("model_error").style.display="block",e.abrupt("return",Promise.reject());case 4:return f.update({cancelButtonProps:{disabled:!0}}),e.next=7,a({type:"exercise/saveBanks",payload:{course_id:l.coursesId,object_type:"examination_bank",bank_id:K,shixuns_info:u,num:d}});case 7:n=e.sent,f.update({cancelButtonProps:{disabled:!1}}),n&&0===n.status?((0,H.L9)(["教学课堂","试卷","试卷选用"]),g.Z.destroyAll(),a({type:"classroomList/getClassroomExercisesList",payload:o()({},t.actionTabs.params)}),be(),ke(),x.ZP.success("生成试卷成功")):(be(),ke());case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(g.Z,{centered:!0,width:980,title:"选择试卷",maskClosable:!1,destroyOnClose:!0,open:"试卷选用"===t.actionTabs.key,okText:"确定",cancelText:"取消",confirmLoading:j,bodyStyle:{minHeight:200},wrapClassName:ri.Z.warpModal,onOk:s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(K.length){e.next=3;break}return x.ZP.error("请选择试卷"),e.abrupt("return");case 3:if(w(!0),n=!1,!1,I.forEach((function(e){K.includes(e.id)&&e.need_authorize&&(n=e.need_authorize),K.includes(e.id)&&e.is_random})),!n){e.next=10;break}return(0,U.rX)(!1,"该试卷中包含实训需授权后才可使用。 您可以在QQ服务群向管理员申请获得继续操作的权限。"),e.abrupt("return");case 10:i(K[0]),be(),w(!1);case 13:case"end":return e.stop()}}),e)}))),onCancel:be,children:[(0,V.jsxs)(Rn.Z,{activeKey:N,onTabClick:function(){var e=s()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Q.current.scrollTop=0,I=[],N!==n&&W([]),S(n),pe.page=0,pe.filter=n,pe.group_id=null,v=!0,ge();case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)(oi,{tab:(0,V.jsx)("span",{children:"我的试卷库"})},"myself"),(0,V.jsx)(oi,{tab:(0,V.jsx)("span",{children:"教研共享"})},"teacher"),(0,V.jsx)(oi,{tab:(0,V.jsx)("span",{children:"公共试卷库"})},"public")]}),(0,V.jsxs)("div",{className:ri.Z.tabSearch,children:["teacher"===N&&(0,V.jsxs)(C.default,{value:pe.group_id,onChange:function(e){Q.current.scrollTop=0,I=[],pe.page=0,pe.group_id=e,v=!0,W([]),ve(o()({},pe)),ge()},size:"middle",style:{width:200,marginRight:30},children:[(0,V.jsx)(C.default.Option,{value:null,children:"全部教研团队"}),null==D||null===(n=D.groups)||void 0===n?void 0:n.map((function(e){return(0,V.jsx)(C.default.Option,{value:null==e?void 0:e.group_id,children:null==e?void 0:e.name},null==e?void 0:e.group_id)}))]}),(0,V.jsx)(Y.Z.Search,{placeholder:"请输入试卷名称进行搜索",value:pe.search,onChange:function(e){pe.search=e.target.value,ve(o()({},pe))},onSearch:function(e){Q.current.scrollTop=0,I=[],pe.page=0,v=!0,W([]),e&&(0,ai.tk)({name:e,copywriting:e,position:"Exercise"}),ge()}})]}),(0,V.jsxs)("div",{ref:Q,style:{maxHeight:350,overflowY:"auto",overflowX:"hidden",marginTop:10,paddingBottom:20},children:[!O&&"public"===N&&(0,V.jsxs)("div",{style:{display:"flex",flexDirection:"column",paddingTop:"30px",alignItems:"center",justifyContent:"center"},children:[(0,V.jsx)("span",{children:"通过职业认证的教师才能访问公共课程资源库"}),(0,V.jsx)("p",{style:{cursor:"pointer",background:"#ff6800",height:"30px",textAlign:"center",marginTop:"5px",padding:"5px 0px",color:"#fff",width:"80px"},onClick:function(){window.open("/account/certification")},children:"立即认证"})]}),(0,V.jsx)(Ve(),{initialLoad:!1,pageStart:0,loadMore:function(){ge()},hasMore:v,useWindow:!1,children:"试卷选用"===t.actionTabs.key&&O&&(0,V.jsx)(ii.Z,{className:ri.Z.hideHeadCheckbox,pagination:!1,hideSelectAll:!0,dataSource:I,onRow:function(e){return{onClick:function(){W([null==e?void 0:e.id])}}},resColumns:de,rowSelection:ye})})]})]}),(0,V.jsx)(g.Z,{title:"提示",open:ne,confirmLoading:!1,centered:!0,okText:"设置规则",cancelText:"修改试卷",footer:(0,V.jsxs)("div",{children:[(0,V.jsx)(k.ZP,{onClick:function(){te(!1),p.history.push(ue)},children:"修改试卷"}),(0,V.jsx)(k.ZP,{type:"primary",onClick:function(){p.history.push(ae),te(!1)},children:"设置规则"})]}),onCancel:function(){te(!1)},children:(0,V.jsx)("p",{children:"试卷创建完成!目前处于未发布状态,是否设置考试规则?"})}),(0,V.jsx)(q.Z,{inPaper:!0,visible:we,onCancel:ke,onOk:Te,renderData:Pe,modalType:"multiple",type:"examination_bank"})]})})),si=t(98329),ui=["pathsDetail","user","globalSetting","loading","dispatch","classroomList","keywords"],ci=["tagName"],di=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.user,i=e.loading,r=e.globalSetting,a=e.classroomList;return{pathsDetail:n,user:t,globalSetting:r,loading:i.effects,classroomList:a}}))((function(e){var n,t,i,a=e.pathsDetail,l=e.user,u=(e.globalSetting,e.loading),d=e.dispatch,v=e.classroomList,y=e.keywords,b=f()(e,ui),_=(0,p.useParams)(),j=a.stageData,w=(0,h.useState)([]),k=c()(w,2),P=k[0],T=k[1],C=(0,h.useState)({content:"",type:""}),M=c()(C,2),A=M[0],I=M[1],L=(0,h.useState)(-1),Z=c()(L,2),z=Z[0],D=Z[1],F=(0,h.useState)(!1),E=c()(F,2),X=(E[0],E[1]),O=(0,h.useState)(!1),R=c()(O,2),H=(R[0],R[1],(0,h.useState)(!1)),q=c()(H,2),B=(q[0],q[1],(0,h.useState)({name:"",is_jupyter:!1})),J=c()(B,2),K=(J[0],J[1],G.Z.useForm()),U=c()(K,1)[0],W=G.Z.useForm(),Q=(c()(W,1)[0],G.Z.useForm()),Y=(c()(Q,1)[0],G.Z.useForm()),ee=(c()(Y,1)[0],(0,h.useState)(!1)),ne=c()(ee,2),te=ne[0],ie=ne[1],re=(0,h.useState)([]),ae=c()(re,2),oe=ae[0],le=(ae[1],(0,h.useState)(!1)),se=c()(le,2),ue=(se[0],se[1],(0,h.useState)("All")),ce=c()(ue,2),de=ce[0],fe=ce[1],pe=(0,h.useState)("All"),ve=c()(pe,2),me=ve[0],xe=ve[1],ge=(0,h.useState)(!1),ye=c()(ge,2),be=(ye[0],ye[1],(0,h.useState)(0)),_e=c()(be,2),je=(_e[0],_e[1],(0,h.useState)()),we=c()(je,2),ke=(we[0],we[1],(0,h.useState)(!1)),Pe=c()(ke,2),Te=(Pe[0],Pe[1],(0,h.useState)(!1)),Ne=c()(Te,2),Se=(Ne[0],Ne[1],(0,h.useState)("")),Ce=c()(Se,2),Me=Ce[0],Ae=Ce[1],Ie=(0,h.useState)(""),Le=c()(Ie,2),Ze=(Le[0],Le[1],(0,h.useState)([])),ze=c()(Ze,2),De=(ze[0],ze[1]),Fe=(0,h.useState)([{name:"全部",type:"All",number:0},{name:"实践项目",type:"Shixun",number:0},{name:"视频项目",type:"VideoItem",number:0},{name:"教学课件",type:"Attachment",number:0},{name:"分组作业",type:"group_count",number:0},{name:"图文作业",type:"normal_count",number:0},{name:"编程作业",type:"HomeworkCommon",number:0},{name:"测验",type:"ExaminationBank",number:0},{name:"讨论",type:"Discusses",number:0}]),Ee=c()(Fe,2),Xe=Ee[0],Oe=Ee[1],Re=function(){var e=a.detail,n=e.shixuns_count,t=void 0===n?0:n,i=e.videos_count,r=void 0===i?0:i,l=e.attachment_count,s=void 0===l?0:l,u=e.group_count,c=void 0===u?0:u,d=e.normal_count,f=void 0===d?0:d,h=e.disscuss_count,p=void 0===h?0:h,v=e.banks_count,m=void 0===v?0:v,x=e.hack_count,g=void 0===x?0:x,y={All:t+r+s+c+f+m+g,Shixun:t,VideoItem:r,Attachment:s,Discusses:p,group_count:c,normal_count:f,ExaminationBank:m,HomeworkCommon:g},b=Xe.map((function(e){return o()(o()({},e),{},{number:y[e.type]})}));Oe(b)};(0,h.useEffect)((function(){Re()}),[a.detail]),(0,h.useEffect)((function(){Re(),T(m()((0,vt.cloneDeep)(j)))}),[j]),(0,h.useEffect)((function(){"closePathsTabs"==v.actionTabs.key&&qe()}),[v.actionTabs.key]);(0,h.useEffect)((function(){if(te){var e={shixuns_list:[],attachments_list:[],items:[]};He(P.length,e),T([].concat(m()(P),[e]))}}),[te]);var He=function(e,n){Be()&&(D(e),U.setFieldsValue({name:n.stage_name,description:n.stage_description,tagName:n.tag&&n.tag.name||""}))},qe=function(){d({type:"pathsDetail/getStageData",payload:{subject_id:_.pathId}}),d({type:"pathsDetail/getPathsDetail",payload:{id:_.pathId}}),Ke()},Ve=function(){var e=s()(r()().mark((function e(n,t){var i,a,l,s,u,c,d,h,p,v;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=n&&n.name&&""!==(null==n?void 0:n.name.replace(/(^\s*)|(\s*$)/g,""))){e.next=2;break}return e.abrupt("return",x.ZP.info("请先输入章节名称!"));case 2:if(Ke(),l=[],null===(i=P[z].shixuns_list)||void 0===i||i.map((function(e){l.push({type:e.item_type,id:e.id})})),null===(a=P[z].attachments_list)||void 0===a||a.map((function(e){l.push({type:"Attachment",id:e.id})})),s=n.tagName,u=f()(n,ci),!te){e.next=16;break}return c=o()(o()({},u),{},{subject_id:_.pathId,pathId:_.pathId,list:l}),s&&(c=o()(o()({},c),{},{stage_tag_attributes:{name:s}})),e.next=12,(0,S.CI)(o()({},c));case 12:null!=(d=e.sent)&&d.subject_id&&(P[z]=o()(o()(o()({},P[z]),d),{},{stage_name:c.name,stage_description:c.description,tag:c.stage_tag_attributes}),T(m()(P))),e.next=24;break;case 16:return Array.from(new Set(l.map((function(e){return e.type})))),h=o()(o()({},u),{},{id:P[z].stage_id,type:Array.from(new Set(l.map((function(e){return e.type})))),list:l}),p=P[z].tag&&P[z].tag.id||"",h=o()(o()({},h),{},{stage_tag_attributes:p?{id:p,name:s}:{name:s}}),e.next=22,(0,S.xn)(o()({},h));case 22:null!=(v=e.sent)&&v.subject_id&&(P[z]=o()(o()(o()({},P[z]),v),{},{stage_name:h.name,stage_description:h.description,tag:h.stage_tag_attributes}),"edit"!==t&&T(m()(P)));case 24:return ie(!1),e.abrupt("return");case 26:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Be=function(){return-1===z||(g.Z.info({icon:null,className:"custom-modal-divider ",okText:"知道啦",title:"提示",content:(0,V.jsx)("div",{className:"mt10 font14",children:"当前单元有未保存的修改记录,请先保存!"}),onOk:function(){var e="Edit_".concat(z),n=document.getElementById(e);n&&setTimeout((function(){return n.scrollIntoView({block:"start",behavior:"smooth"})}))}}),!1)},Je=function(){Ve(U.getFieldsValue(),"edit")},Ke=function(){ie(!1)},Ue=(0,h.useMemo)((function(){return null==P?void 0:P.map((function(e,n){return(0,V.jsx)("div",{children:(0,V.jsx)(yt,{val:e,allData:P,index:n,selectExercise:function(e){Ae(null==e?void 0:e.stage_id),d({type:"exercise/setActionTabs",payload:{key:"试卷选用"}})},openPreview:function(e){var n,t;null!=e&&e.container_id?d({type:"attachment/setActionTabs",payload:{key:"资源下载",selectArrs:null==e?void 0:e.attachment_detail,params:{course_id:null==e?void 0:e.container_id,coursesId:null==e?void 0:e.container_id,id:null==e?void 0:e.id,openType:"课程内教学课件预览"}}}):I({content:he.Z.API_SERVER+(null==e||null===(n=e.attachment_detail)||void 0===n?void 0:n.url),type:null==e||null===(t=e.attachment_detail)||void 0===t?void 0:t.file_type})},visibleType:de,visibleTypeNew:me,subjectHomeworkType:de,handleBlur:Je,getData:qe,setShowAddShixun:X,setEditParentKey:D,parentEditKey:z,isAdd:te,setIsAdd:ie,keywords:y})},n)}))}),[P,me,de,y]);return(0,V.jsxs)("section",{children:[(0,V.jsxs)($.Z,{spinning:u["pathsDetail/getStageData"]||u["pathsDetail/getPathsDetail"],children:[(0,V.jsx)("aside",{className:yn.actionTabs,children:Xe.map((function(e,n){return(!(0,N.JA)()||"分组作业"!=(null==e?void 0:e.name)&&"图文作业"!=(null==e?void 0:e.name)&&"测验"!=(null==e?void 0:e.name)&&"编程作业"!=(null==e?void 0:e.name))&&(null!=P&&P.some((function(n){var t;return null===(t=n.stage_tag)||void 0===t?void 0:t.includes(e.type)}))||"All"==e.type||"Discusses"==e.type&&e.number>0||"group_count"==e.type&&e.number>0||"normal_count"==e.type&&e.number>0||"ExaminationBank"==e.type&&e.number>0?(0,V.jsxs)("div",{className:e.type===de?yn.tabActive:yn.tab,style:{margin:"0 5px 0 0 "},onClick:function(){-1===z?("group_count"==e.type||"normal_count"==e.type?xe("SubjectHomework"):xe(e.type),fe(e.type),D(-1)):x.ZP.warning("请先取消编辑状态")},children:[(0,V.jsx)("span",{className:yn.s1,children:e.name}),(0,V.jsx)("span",{className:yn.s2,children:e.number})]},n):void 0)}))}),"Discusses"!==de&&(0,V.jsxs)(V.Fragment,{children:[Ue,(null===(n=a.detail)||void 0===n?void 0:n.allow_statistics)&&"All"===de&&!te&&!(null!=b&&b.keywords)&&(0,V.jsxs)("div",{className:yn.addStage,onClick:function(){Be()&&ie(!0)},children:[(0,V.jsx)("span",{className:yn.color4CA,children:"+新建章节"}),"(添加一个或多个实训/视频项目,组成一个章节)"]})]}),"Discusses"===de&&(0,V.jsx)("aside",{className:"mt20",children:(0,V.jsx)(Dt,{activeIndex:3,isDelete:null===(t=a.detail)||void 0===t?void 0:t.allow_add_member,shixunIdentifier:11,identity:null===(i=l.userInfo)||void 0===i?void 0:i.role,getTypeNumber:Re,user:l.userInfo,isShixunDetail:!0,keywords:null==b?void 0:b.keywords,refreshCount:function(){d({type:"pathsDetail/getPathsDetail",payload:{id:_.pathId,keywords:null==b?void 0:b.keywords}})}})})]}),Xe.map((function(e,n){if(null!=b&&b.keywords&&e.type===de&&"Discusses"!==de&&0===e.number)return(0,V.jsx)(Wn.Z,{styles:{backgroundColor:"#fff",padding:"100px 0",margin:"20px auto"}})})),(0,V.jsx)(Kt,{}),(0,V.jsx)(Fn,{shixunIds:oe,cb:function(e){"取消"!==e&&(P[z].items=m()(P[z].items.concat(e)),T(JSON.parse(JSON.stringify(P))),qe())}}),(0,V.jsx)(Gt,{}),(0,V.jsx)(Yt,{}),(0,V.jsx)(ei,{}),(0,V.jsx)(ti,{}),(0,V.jsx)(li,{cb:function(){return De([])},saveExercise:function(e){(0,S._C)({id:Me,subject_id:_.pathId,homework_type:"exercise",examination_bank_ids:[e]}).then((function(e){0==(null==e?void 0:e.status)&&(x.ZP.success("选用成功"),qe())}))}}),(0,V.jsx)(si.Z,{}),(0,V.jsx)(lt.Z,{close:!0,data:null==A?void 0:A.content,type:null==A?void 0:A.type,hasMask:!0,monacoEditor:{language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:function(){I({content:"",type:""})}})]})})),fi=t(22744),hi=t(90963),pi="certificate___fHfxF",vi="actionsBtns___plapq",mi=["user"],xi=fi.default.RangePicker,gi=(0,p.connect)((function(e){return{user:e.user,pathsDetail:e.pathsDetail}}))((function(e){e.user,f()(e,mi);var n=G.Z.useForm(),t=c()(n,1)[0],i=(0,h.useState)([]),a=c()(i,2),l=a[0],u=a[1],d=(0,h.useState)(!0),v=c()(d,2),m=v[0],y=v[1],b=(0,h.useState)(!1),_=c()(b,2),j=_[0],w=_[1],k=(0,h.useState)(!1),P=c()(k,2),T=P[0],N=P[1],S=(0,h.useState)(0),M=c()(S,2),A=M[0],I=M[1],L=(0,h.useState)({}),Z=c()(L,2),D=Z[0],F=Z[1],E=(0,p.useParams)(),X=(0,h.useState)({page:1,limit:10}),O=c()(X,2),R=O[0],H=O[1],q=[{title:"姓名",dataIndex:"user_name",key:"user_name",align:"left"},{title:"申请时间",dataIndex:"created_at",key:"created_at",align:"left"},{title:"申请状态",dataIndex:"state",key:"state",align:"left",render:function(e,n){return(0,V.jsxs)(V.Fragment,{children:["drafted"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{children:"申请中"}),"rejected"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{style:{color:"#E53333"},children:"未通过"}),"passed"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{style:{color:"#2FA34F"},children:"通过"})]})}},{title:"学习进度",dataIndex:"process",key:"process",align:"left",render:function(e){return"".concat(e,"%")}},{title:"审批操作",dataIndex:"action",key:"action",align:"left",render:function(e,n){return(0,V.jsxs)("div",{className:vi,children:["drafted"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{onClick:function(){return B(n)},children:"同意"}),"drafted"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{onClick:function(){return J(n)},children:"拒绝"}),"rejected"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{onClick:function(){return K(n)},children:"拒绝原因"}),"passed"===(null==n?void 0:n.state)&&(0,V.jsx)("span",{onClick:function(){return U(n)},children:"查看证书"})]})}}].filter((function(e){return!!T||"学习进度"!==e.title&&"审批操作"!==e.title}));(0,h.useEffect)((function(){W(R)}),[]);var B=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/paths/".concat(null==E?void 0:E.pathId,"/process_certificate.json"),{method:"post",body:{certificate_id:null==n?void 0:n.id,op:"pass"}});case 2:0===(null==(t=e.sent)?void 0:t.status)&&W(R);case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),J=function(e){var n,t="";g.Z.confirm({title:"证书申请拒绝",icon:null,className:"custom-modal-divider",centered:!0,width:400,content:(0,V.jsxs)("div",{children:[(0,V.jsx)("p",{children:"拒绝证书发放需填写拒绝原因。"}),(0,V.jsxs)("aside",{className:"flex-container",children:[(0,V.jsx)("sup",{className:"c-red-ee4",children:"*"}),(0,V.jsx)("span",{children:"拒绝原因:"}),(0,V.jsx)(Y.Z,{maxLength:30,style:{width:284,marginLeft:10},onChange:function(e){return t=e.target.value}})]})]}),okText:"确定拒绝",cancelText:"取消",onOk:(n=s()(r()().mark((function n(){var i;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t){n.next=3;break}return x.ZP.warning("拒绝理由不能为空"),n.abrupt("return",Promise.reject());case 3:return n.next=5,(0,ee.ZP)("/api/paths/".concat(null==E?void 0:E.pathId,"/process_certificate.json"),{method:"post",body:{certificate_id:null==e?void 0:e.id,op:"reject",content:t}});case 5:0===(null==(i=n.sent)?void 0:i.status)&&W(R);case 7:case"end":return n.stop()}}),n)}))),function(){return n.apply(this,arguments)})})},K=function(e){g.Z.info({title:"拒绝原因",icon:null,className:"custom-modal-divider",centered:!0,width:400,content:(0,V.jsx)("div",{children:null==e?void 0:e.content}),okText:"确定"})},U=function(e){F((null==e?void 0:e.info)||{}),w(!0)},W=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.next=3,(0,ee.ZP)("/api/paths/".concat(null==E?void 0:E.pathId,"/request_certificates.json"),{method:"get",params:n});case 3:null!=(t=e.sent)&&t.data&&(u(null==t?void 0:t.data),I((null==t?void 0:t.total_count)||0),N(null==t?void 0:t.is_manage)),y(!1);case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,V.jsxs)("div",{className:pi,children:[(0,V.jsxs)(G.Z,{form:t,layout:"inline",className:"mb20",size:"large",onValuesChange:function(e,n){var t=n.state,i=void 0===t?"":t,r=n.keyword,a=void 0===r?"":r,l=n.time,s=void 0===l?[]:l,u=o()(o()({},R),{},{page:1,state:i,keyword:a,start_time:null!=s&&s[0]?z()(s[0]).format("YYYY-MM-DD"):"",end_time:null!=s&&s[1]?z()(s[1]).format("YYYY-MM-DD"):""});H(u),W(u)},children:[(0,V.jsx)(G.Z.Item,{name:"state",initialValue:"",className:"mr10",children:(0,V.jsxs)(C.default,{style:{width:104},children:[(0,V.jsx)(C.default.Option,{value:"",children:"全部状态"}),(0,V.jsx)(C.default.Option,{value:"drafted",children:"申请中"}),(0,V.jsx)(C.default.Option,{value:"passed",children:"通过"}),(0,V.jsx)(C.default.Option,{value:"3",children:"未通过"})]})}),(0,V.jsx)(G.Z.Item,{name:"time",children:(0,V.jsx)(xi,{onChange:function(e,n){console.log(n,22)},placeholder:["申请开始时间","申请结束时间"]})}),(0,V.jsx)(G.Z.Item,{style:{marginLeft:"auto",marginRight:0},name:"keyword",children:(0,V.jsx)(hi.t7,{style:{width:193},placeholder:"请输入学生姓名"})})]}),(0,V.jsx)(He.Z,{dataSource:l,rowKey:function(e){return e.id},columns:q,loading:m,pagination:{pageSize:R.limit,total:A,current:R.page,onChange:function(e,n){var t=o()(o()({},R),{},{page:e,limit:n});H(t),W(t)},showQuickJumper:!0,hideOnSinglePage:!0,position:["bottomCenter"]}}),(0,V.jsx)(We.Z,{visible:j,onCancel:function(){w(!1),F({})},data:D})]})}));z().locale("ZH-cn");var yi=Rn.Z.TabPane,bi=function(e){e.data;var n=(0,h.useState)("1"),t=c()(n,2),i=t[0],a=t[1],o=(0,h.useState)(1),l=c()(o,2),u=l[0],d=l[1],f=(0,h.useState)(),v=c()(f,2),m=v[0],x=v[1],g=(0,h.useState)(!0),y=c()(g,2),b=y[0],_=y[1],j=(0,p.useParams)();function w(){return(w=s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _(!0),"1"===i?n="/api/paths/".concat(j.pathId,"/study_ranking_shixuns_passed.json"):"2"===i?n="/api/paths/".concat(j.pathId,"/study_ranking_videos.json"):"3"===i?n="/api/paths/".concat(j.pathId,"/study_ranking_pdf_attachments.json"):"4"===i&&(n="/api/paths/".concat(j.pathId,"/study_ranking_discusses.json")),e.next=4,(0,ee.ZP)(n,{method:"get",params:{page:u}});case 4:t=e.sent,_(!1),x(t);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,h.useEffect)((function(){!function(){w.apply(this,arguments)}()}),[u,i]);var k=function(){var e,n,t,r,a,o,l,s,c,f,p,v,x;return(0,V.jsx)(h.Fragment,{children:(0,V.jsxs)($.Z,{spinning:b,children:[(0,V.jsxs)("div",{style:{height:"42px",background:"#fafafa",display:"flex",padding:"0px 5px",alignItems:"center"},children:[(0,V.jsx)("span",{style:{flex:"1"},children:"排名"}),(0,V.jsx)("span",{style:{flex:"1"},children:"姓名"}),"1"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:"通过关卡数"}),"2"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:"累计学习时长"}),"3"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:"下载资源次数"}),"4"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:"发帖数"})]}),(null==m?void 0:m.user_show)&&(0,V.jsxs)("div",{style:{height:"42px",display:"flex",padding:"0px 5px",alignItems:"center"},children:[(0,V.jsx)("span",{style:{flex:"1"},children:0===(null==m||null===(e=m.data_user)||void 0===e?void 0:e.rank)&&0===(null==m||null===(n=m.data_user)||void 0===n?void 0:n.num)?"--":(null==m||null===(t=m.data_user)||void 0===t?void 0:t.rank)<=100&&0!=(null==m||null===(r=m.data_user)||void 0===r?void 0:r.rank)?null==m||null===(a=m.data_user)||void 0===a?void 0:a.rank:"未上榜"}),(0,V.jsx)("span",{style:{flex:"1"},children:null==m||null===(o=m.data_user)||void 0===o?void 0:o.user_real_name}),"1"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:(null==m||null===(l=m.data_user)||void 0===l?void 0:l.num)||"--"}),"2"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:null!=m&&null!==(s=m.data_user)&&void 0!==s&&s.num?(0,H.li)(null==m||null===(c=m.data_user)||void 0===c?void 0:c.num):"--"}),"3"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:(null==m||null===(f=m.data_user)||void 0===f?void 0:f.num)||"--"}),"4"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:(null==m||null===(p=m.data_user)||void 0===p?void 0:p.num)||"--"})]}),(null==m?void 0:m.user_show)&&(0,V.jsx)(_n.Z,{}),(null==m||null===(v=m.data)||void 0===v?void 0:v.length)>0?null==m||null===(x=m.data)||void 0===x?void 0:x.map((function(e,n){return(0,V.jsxs)("div",{style:{height:"42px",display:"flex",padding:"0px 5px",alignItems:"center"},children:[1===(null==e?void 0:e.rank)&&(0,V.jsx)("span",{style:{flex:"1",color:"#E02020"},children:null==e?void 0:e.rank}),2===(null==e?void 0:e.rank)&&(0,V.jsx)("span",{style:{flex:"1",color:"#FA6400"},children:null==e?void 0:e.rank}),3===(null==e?void 0:e.rank)&&(0,V.jsx)("span",{style:{flex:"1",color:"#F7B500"},children:null==e?void 0:e.rank}),(null==e?void 0:e.rank)>3&&(0,V.jsx)("span",{style:{flex:"1"},children:null==e?void 0:e.rank}),(0,V.jsx)("span",{style:{flex:"1"},children:null==e?void 0:e.user_real_name}),"1"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:null==e?void 0:e.num}),"2"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:(0,H.li)(null==e?void 0:e.num)}),"3"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:null==e?void 0:e.num}),"4"===i&&(0,V.jsx)("span",{style:{flex:"3"},children:null==e?void 0:e.num})]})})):(0,V.jsx)(Wn.Z,{}),(null==m?void 0:m.count)>10&&(0,V.jsx)(jn.Z,{current:u,pageSize:10,showSizeChanger:!1,total:null==m?void 0:m.count,style:{textAlign:"center",margin:"20px 0px"},onChange:function(e){d(e)}})]})})};return(0,V.jsx)("div",{children:(0,V.jsxs)(Rn.Z,{activeKey:i,style:{background:"#fff",padding:"0px 20px"},onChange:function(e){a(e),d(1)},children:[(0,V.jsx)(yi,{tab:"通关榜",style:{background:"#fff"},children:(0,V.jsx)(k,{})},"1"),(0,V.jsx)(yi,{tab:"视频学习榜",children:(0,V.jsx)(k,{})},"2"),(0,V.jsx)(yi,{tab:"下载资源榜",children:(0,V.jsx)(k,{})},"3"),(0,V.jsx)(yi,{tab:"互动讨论榜",children:(0,V.jsx)(k,{})},"4")]})})},_i=t(3883),ji=["user","pathsDetail"],wi=(0,p.connect)((function(e){return{user:e.user,pathsDetail:e.pathsDetail}}))((function(e){e.user;var n,t=e.pathsDetail,i=(f()(e,ji),(0,p.useParams)()),a=(0,h.useRef)(),o=(0,h.useRef)(),l=(0,h.useRef)(!1),u=(0,h.useState)({}),d=c()(u,2),v=d[0],m=d[1],x=(0,h.useState)(700),g=c()(x,2),y=g[0],b=g[1];(0,h.useEffect)((function(){setTimeout((function(){var e,n;null===(e=a.current)||void 0===e||null===(n=e.resize)||void 0===n||n.call(e)}),300)}),[y]),(0,h.useEffect)((function(){var e;m(null===(e=t.detail)||void 0===e?void 0:e.atlas_data)}),[null===(n=t.detail)||void 0===n?void 0:n.atlas_data]),(0,h.useEffect)((function(){return document.addEventListener((0,_i.gH)(),j),function(){document.removeEventListener((0,_i.gH)(),j)}}),[]);var _,j=function(){(0,_i.vp)()||b(700)};return(0,V.jsx)("div",{style:{paddingTop:20,paddingBottom:20,height:y+30,background:"#FFF"},ref:o,children:v.nodes&&(0,V.jsx)(vn.Z,{style:{height:y+"px"},option:{title:{text:"",subtext:"",left:"center"},tooltip:{trigger:"item",formatter:function(e){return"edge"===e.dataType?e.data.relation:"node"===e.dataType?"名称:"+e.data.name+"<br>类别:"+e.data.labels.join(", ")+"<br>ID: "+e.data.uid+"<br>":void 0}},legend:[{bottom:0,left:"center",orient:"horizontal",data:v.categories.map((function(e){if(e.name)return e.name}))}],animationDuration:1e3,animationEasingUpdate:"quinticInOut",series:[{name:"",type:"graph",layout:"force",data:v.nodes,links:v.links,categories:v.categories,roam:!0,draggable:!1,label:{position:"inside",show:!0},labelLayout:{hideOverlap:!0,moveOverlap:!0},force:{repulsion:600,edgeLength:200,gravity:.2,layoutAnimation:!0,friction:.3},edgeLabel:{},edgeSymbol:["none","arrow"],lineStyle:{color:"source",curveness:0},emphasis:{disabled:!1,scale:1.3,focus:"none",lineStyle:{width:10},itemStyle:{borderType:"solid",borderWidth:1,borderColor:"rgb(154,152,152)"}},symbolSize:40,color:["#f79767","#da7194","#ffc454","#569480","#f16667","#d9c8ae","#c990c0","#4c8eda","#57c7e3","#ecb5c9","#8dcc93","#37A2DA","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF","#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"]}],toolbox:{show:!0,feature:{restore:{title:"还原"},saveAsImage:{title:"保存为图片"},myTool:{show:!0,title:"全屏显示",icon:"path://M358.464 136.672l0-34.112-255.904 0 0 255.904 34.112 0 0-197.664 242.816 242.816 24.128-24.128-242.816-242.816zM665.536 102.56l0 34.112 197.664 0-242.816 242.816 24.128 24.128 242.816-242.816 0 197.664 34.112 0 0-255.904zM379.488 620.384l-242.816 242.816 0-197.664-34.112 0 0 255.904 255.904 0 0-34.112-197.664 0 242.816-242.816zM887.328 863.2l-242.816-242.816-24.128 24.128 242.816 242.816-197.664 0 0 34.112 255.904 0 0-255.904-34.112 0z",onclick:function(){(0,_i.vp)()?(setTimeout((function(){b(700)}),300),(0,_i.BU)()):((0,_i.Dj)(o.current),setTimeout((function(){b(window.innerHeight-40)}),300))}}}}},onChartReady:function(e){a.current=e,e.resize()},opts:{renderer:"svg"},onEvents:{click:function(e){l.current=!1,setTimeout((function(){if(!l.current&&"node"===e.dataType){var n=e.data.url;n&&window.open(n,"_blank")}}),500)},dblclick:(_=s()(r()().mark((function e(n,t,a){var o,s,u,c,d,f,h,p,x,g,y;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("p:",n,t,a),l.current=!0,e.next=4,(0,ee.ZP)("/api/paths/".concat(i.pathId,"/atlas_data.json"),{method:"get",params:{node_id:n.data.id}});case 4:for(o=e.sent,s=o.atlas_data,u=s.nodes,c=s.links,d=s.categories,u=v.nodes.concat(u),c=v.links.concat(c),f=u.filter((function(e,n,t){return t.findIndex((function(n){return n.id===e.id}))===n})),h=c.filter((function(e,n,t){return t.findIndex((function(n){return n.source===e.source&&n.target===e.target}))===n})),p=[],x=Math.max(d.length,v.categories.length),g=0;g<x;g++)y=d[g].name||v.categories[g].name,p.push({name:y});m({nodes:f,links:h,categories:p});case 14:case"end":return e.stop()}}),e)}))),function(e,n,t){return _.apply(this,arguments)})}})})})),ki=t(21068),Pi=t(73755),Ti=t(26743),Ni={flex_box_center:"flex_box_center___Szzqu",flex_space_between:"flex_space_between___dPVA6",flex_box_vertical_center:"flex_box_vertical_center___jyJ_1",flex_box_center_end:"flex_box_center_end___LcIki",flex_box_column:"flex_box_column___URqef","diagram-component":"diagram-component___p5I1J",rightmodal:"rightmodal___m9muS",title:"title___o_SbY",button:"button___dkDCG",linetitles:"linetitles___OnY49",line:"line___DRyRv",additem:"additem___e0i2I",multi_ellipsis1:"multi_ellipsis1___cM9m0",multi_ellipsis2:"multi_ellipsis2___MrWmr",lebels:"lebels___L_GjD",describe:"describe___kQnz2",describetitle:"describetitle___ruvEj",ehover:"ehover___yL7ec",dhover:"dhover___Fk5zc",a:"a___xPaTA",header:"header___pmtBA",headeractivite:"headeractivite___NrVuo",upitem:"upitem___vzQzU",neo4jd3Wrp:"neo4jd3Wrp___xJqHM",neo4jd3Wrp1:"neo4jd3Wrp1___Qim0q",selectshixun:"selectshixun___jBdAe"},Si=t(12911),Ci=t.n(Si),Mi=t(66186),Ai=t.n(Mi),Ii="drawer___sPjHT",Li="menu___F8oHH",Zi="actived___NOiqR",zi="listItem___On1Zv",Di="info___i3yT9",Fi="title___mLoky",Ei="titleLeft___xNQNE",Xi="description___Yz10S",Oi="filter___ekFLM",Ri="menuCourse___SvznH",Hi="authorname___tdRk5",qi="tooltip-content___MLAU2",Vi=(Y.Z.Search,[{id:"type",name:"筛选",children:[{name:"全部",id:"all",type:"type"},{name:"我的",id:"mine",type:"type"}]},{id:"diff",name:"难度",children:[{name:"全部",id:"",type:"diff"},{name:"初级",id:1,type:"diff"},{name:"中级",id:2,type:"diff"},{name:"中高级",id:3,type:"diff"},{name:"高级",id:4,type:"diff"}]}]),Bi=(0,p.connect)((function(e){return{classroomList:e.classroomList,loading:e.loading}}))((function(e){var n,t=e.classroomList,i=e.loading,a=e.dispatch,l=e.cb,u=(e.shixunIds,(0,p.useParams)(),(0,p.useLocation)(),t.actionTabs,G.Z.useForm()),d=(c()(u,1)[0],t.shixunLists),f=(0,h.useState)([]),v=c()(f,2),g=v[0],_=v[1],j=(0,h.useState)(""),w=c()(j,2),P=w[0],T=w[1],S=[{name:"最新",id:"created_at"},{name:"最热",id:"myshixuns_count"}].filter((function(e){return!!e})),C=(0,h.useState)({page:1,type:(0,N.Ny)()?"all":"mine",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",group_id:null,need:1,load_jupyter_evaluate:!0,is_subject:!0}),I=c()(C,2),L=I[0],Z=I[1];(0,h.useEffect)((function(){"选用实践项目"===t.actionTabs.key&&(z(),L.page=1,a({type:"classroomList/getShixunLists",payload:o()({},L)}))}),[t.actionTabs.key]);var z=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});case 2:n=e.sent,_([{id:null,name:"全部"},{id:-1,name:"未加入目录"}].concat(m()((null==n?void 0:n.groups)||[])));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),D=function(){a({type:"classroomList/setActionTabs",payload:{}}),Z({page:1,type:(0,N.Ny)()?"all":"mine",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",group_id:null,need:1,load_jupyter_evaluate:!0,is_subject:!0})};return"选用实践项目"!==t.actionTabs.key?null:(0,V.jsxs)(bn.Z,{placement:"bottom",height:"100%",closable:!1,open:"选用实践项目"===t.actionTabs.key,rootClassName:Ii,footer:(0,V.jsxs)("div",{className:"tc",children:[(0,V.jsx)(k.ZP,{size:"middle",onClick:function(){D(),T(""),l("取消")},style:{marginRight:8},children:"取消"}),(0,V.jsx)(k.ZP,{size:"middle",onClick:s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(P){e.next=3;break}return x.ZP.info("请选择一个实践项目"),e.abrupt("return");case 3:T(""),D(),l(null==d||null===(n=d.shixun_list)||void 0===n?void 0:n.find((function(e){return e.id===P})));case 6:case"end":return e.stop()}}),e)}))),type:"primary",children:"确定"})]}),children:[(0,V.jsx)("section",{className:"tc",children:(0,V.jsx)(wn.Z,{onChange:function(e){Z(o()(o()(o()({},L),e),{},{page:1})),a({type:"classroomList/getShixunLists",payload:o()(o()(o()({},L),e),{},{page:1})})}})}),(0,V.jsx)($.Z,{spinning:i.effects["classroomList/getShixunLists"],children:(0,V.jsxs)("section",{className:"edu-container",children:[Vi.map((function(e,n){var t;return(0,V.jsxs)("ul",{className:Li,children:[(0,V.jsx)("li",{children:e.name}),null==e||null===(t=e.children)||void 0===t?void 0:t.map((function(n,t){return(0,N.Ny)()||"type"!==e.id||"全部"!==n.name?(0,V.jsx)("li",{className:L[e.id]==n.id?Zi:"",onClick:function(){L[e.id]=n.id,L.page=1,Z(o()({},L)),a({type:"classroomList/getShixunLists",payload:o()({},L)})},children:(0,V.jsx)("strong",{children:n.name})},t):(0,V.jsx)(V.Fragment,{})}))]},n)})),"mine"===L.type&&(0,V.jsxs)("ul",{className:Li,children:[(0,V.jsx)("li",{children:"目录"}),null==g?void 0:g.map((function(e,n){return(0,V.jsx)("li",{className:L.group_id==e.id?Zi:"",onClick:function(){L.group_id=e.id,L.page=1,Z(o()({},L)),a({type:"classroomList/getShixunLists",payload:o()({},L)})},children:(0,V.jsx)("strong",{children:e.name})},e.name)}))]}),(0,V.jsxs)(M.Z,{align:"middle",children:[(0,V.jsx)(A.Z,{flex:"1",className:Oi,children:S.map((function(e,n){return(0,V.jsx)(k.ZP,{className:"mr20",type:L.sort===e.id?"primary":"default",onClick:function(){L.sort=e.id,Z(o()({},L)),a({type:"classroomList/getShixunLists",payload:o()({},L)})},children:e.name},n)}))}),(0,V.jsx)(A.Z,{className:"c-grey-999",children:(0,V.jsx)("div",{className:Ri,children:(0,V.jsx)("ul",{children:(0,V.jsxs)("li",{className:"current",onClick:function(){L.order="asc"===L.order?"desc":"asc",Z(o()({},L)),a({type:"classroomList/getShixunLists",payload:o()({},L)})},children:["学习人数",(0,V.jsxs)("p",{className:"edu-sorter current ".concat(L.order),children:[(0,V.jsx)("span",{className:"iconfont icon-sanjiaoxing-up"}),(0,V.jsx)("span",{className:"iconfont icon-sanjiaoxing-down"})]})]})})})})]}),null==d||null===(n=d.shixun_list)||void 0===n?void 0:n.map((function(e,n){return(0,V.jsxs)("div",{className:zi,children:[(0,V.jsx)(y.ZP,{checked:P===e.id,value:e.id,onChange:function(e){T(e.target.value)},disabled:"未发布"==(null==e?void 0:e.shixun_tag_num_name)}),(0,V.jsxs)("div",{className:Di,children:[(0,V.jsx)("div",{className:Fi,children:(0,V.jsxs)("div",{className:Ei,children:[(0,V.jsx)("a",{className:"c-black",href:"/shixuns/".concat(null==e?void 0:e.identifier,"/challenges"),target:"_blank",children:(0,V.jsx)("strong",{className:"font16",dangerouslySetInnerHTML:{__html:e.title}})}),(0,N.Ny)()&&1===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10",children:"正常"})}),(0,N.Ny)()&&2===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10",children:"需完善"})}),(0,N.Ny)()&&3===(null==e?void 0:e.mark_status)&&(0,V.jsx)(b.Z,{title:null==e?void 0:e.mark_content,children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10",children:"无法使用"})}),"未发布"==(null==e?void 0:e.shixun_tag_num_name)&&(0,V.jsx)(b.Z,{zIndex:1e4,title:"实训需发布后才能选用到课程中,点击名称可前往实训详情",children:(0,V.jsx)("span",{style:{marginRight:"auto",background:"#999"},className:"tag-style current ml10",children:"未发布"})})]})}),(0,V.jsx)("div",{className:"flex-wrp mt10 font14 c-light-black",children:(0,V.jsx)("span",{className:Xi,dangerouslySetInnerHTML:{__html:e.description}})}),(0,V.jsx)("div",{className:" mt15",children:e.challenge_names.map((function(e,n){return(0,V.jsxs)("span",{className:"mr30 font12",children:["第",n+1,"关 ",e," "]},n)}))}),(0,V.jsx)(_n.Z,{dashed:!0}),(0,V.jsxs)("div",{className:"c-light-black mt20 font12",style:{display:"flex",justifyContent:"space-between"},children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(b.Z,{overlayClassName:qi,title:(0,V.jsx)("div",{children:(0,V.jsx)("span",{dangerouslySetInnerHTML:{__html:null==e?void 0:e.member_user_names}})}),children:(0,V.jsx)("span",{className:Hi,dangerouslySetInnerHTML:{__html:null==e?void 0:e.member_user_names}})}),e.author_school_name&&(0,V.jsx)(h.Fragment,{children:(0,V.jsx)("span",{dangerouslySetInnerHTML:{__html:e.author_school_name}})})]}),(0,V.jsxs)("div",{children:[(0,V.jsxs)("span",{className:"mr30",children:["难度系数  ",e.level]}),(0,V.jsxs)("span",{children:["学习人数  ",e.study_count]})]})]})]})]},n)})),(0,V.jsx)("p",{})]})}),(0,V.jsx)("div",{className:"tc",children:(0,V.jsx)(jn.Z,{current:L.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:null==d?void 0:d.shixuns_count,onChange:function(e){L.page=e,a({type:"classroomList/getShixunLists",payload:o()({},L)})}})})]},"bottom")})),Ji=t(9106),Ki=t(49130),Ui="scoremodal___Q3CB_",Wi="selectWrapper___fwVA8",Gi="search___Z99KL",Qi="searchIcon___kmnLg",Yi="header_style___CfaFP",$i="tabWrap___nj2pu",er="form_style___DiMO_",nr=(0,p.connect)((function(e){return{user:e.user,dispatch:e.dispatch}}))((function(e){var n,t=e.setScoreShow,i=e.ScoreShow,a=e.modalType,l=e.user,u=(e.subjectId,e.onOk),d=e.dispatch,f=(0,h.useState)({page:1,type:"1",per_page:10,category:"manage",search:"",homework_type:"3",association_id:""}),v=c()(f,2),y=v[0],b=v[1],_=(0,h.useState)([]),j=c()(_,2),w=j[0],k=j[1],P=(0,h.useState)([]),T=c()(P,2),N=(T[0],T[1]),M=(0,h.useState)([]),A=c()(M,2),I=A[0],L=A[1],Z=(0,h.useState)(!1),z=c()(Z,2),D=z[0],F=z[1],E=G.Z.useForm(),X=c()(E,1)[0],O=(0,h.useState)(0),R=c()(O,2),H=R[0],q=R[1],B=(0,h.useState)(!1),J=c()(B,2),K=(J[0],J[1],(0,h.useState)("")),U=c()(K,2),W=(U[0],U[1],(0,h.useState)([])),Q=c()(W,2),$=(Q[0],Q[1]),ee=(0,h.useRef)(new Set),ne=(0,h.useRef)(new Set),te=(0,h.useState)([{}]),ie=c()(te,2),re=ie[0],ae=ie[1],oe=(0,h.useState)(),le=c()(oe,2),se=le[0],ue=le[1],ce=(0,h.useState)({}),de=c()(ce,2),fe=de[0],he=de[1],pe=(0,h.useState)(""),ve=c()(pe,2),me=(ve[0],ve[1],(0,h.useState)("")),xe=c()(me,2),ge=(xe[0],xe[1],(0,p.useParams)(),[{title:"名称",dataIndex:"3"==(null==y?void 0:y.type)?"title":"name",key:"name",render:function(e,n,t){var i,r;return(0,V.jsxs)("div",{children:["1"==(null==y?void 0:y.homework_type)&&(null==n?void 0:n.name),"3"==(null==y?void 0:y.homework_type)&&(null==n?void 0:n.name),"5"==(null==y?void 0:y.homework_type)&&(null==n?void 0:n.name),"7"==(null==y?void 0:y.homework_type)&&(null==n||null===(i=n.video)||void 0===i?void 0:i.title),"8"==(null==y?void 0:y.homework_type)&&"1"==(null==y?void 0:y.type)?null==n?void 0:n.filename:null==n||null===(r=n.attachment)||void 0===r?void 0:r.filename,"3"==(null==y?void 0:y.type)&&e]})}},{title:"1"==(null==y?void 0:y.type)?"所属课堂":"所属实践课程",dataIndex:"1"==(null==y?void 0:y.type)?"course_name":"subject_name",width:"55%",key:"1"==(null==y?void 0:y.type)?"course_name":"subject_name",ellipsis:!0,hidden:"3"==(null==y?void 0:y.type)}].filter((function(e){return!e.hidden}))),ye={type:"radio",selectedRowKeys:[null==w?void 0:w.id],onSelect:function(e,n,t){console.log("----",e,n),k(e)}};(0,h.useEffect)((function(){i&&(y.search="",y.type="1",y.homework_type="分组作业"==a?"3":"图文作业"==a?"1":"视频项目"==a?"7":"编程作业"==a?"5":"8",b(y),Ae(y),X.setFieldsValue({association_id:"",search:null}),ee.current.clear(),ne.current.clear(),$([]),k([]),N([]))}),[i]);var be=(0,h.useState)(1),_e=c()(be,2),je=_e[0],we=_e[1],ke=(0,h.useState)([]),Pe=c()(ke,2),Te=Pe[0],Ne=Pe[1];(0,h.useEffect)((function(){1!=je&&i&&Se(je)}),[je]),(0,h.useEffect)((function(){i&&(Ne([]),we(1),Se(1))}),[y.type]);var Se=function(e){"1"==y.type?Ce(e):"2"==y.type&&Me(e)},Ce=function(e){var n;(0,Gn.Ho)({page:e,category:"manage",status:"",sort_by:"updated_at",sort_direction:"desc",username:null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login}).then((function(n){Ne(1==e?[{id:"",name:"全部教学课堂"}].concat(m()(null==n?void 0:n.courses)):[].concat(m()(Te),m()(null==n?void 0:n.courses)))}))},Me=function(e){var n;(0,Gn.w3)({page:e,category:"manage",status:"",sort_by:"updated_at",sort_direction:"desc",username:null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login}).then((function(n){Ne(1==e?[{id:"",name:"全部实践课程"}].concat(m()(null==n?void 0:n.subjects)):[].concat(m()(Te),m()(null==n?void 0:n.subjects)))}))};function Ae(e){return Ie.apply(this,arguments)}function Ie(){return(Ie=s()(r()().mark((function e(n){var t,i,a,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(F(!0),b(o()({},n)),"1"!=n.type){e.next=6;break}(0,S.A7)(o()({user_id:null==l||null===(t=l.userInfo)||void 0===t?void 0:t.login},n)).then((function(e){0==(null==e?void 0:e.status)&&L(null==e?void 0:e.data)})),e.next=15;break;case 6:if("2"!=n.type){e.next=10;break}(0,S.jT)(o()({user_id:null==l||null===(i=l.userInfo)||void 0===i?void 0:i.login},n)).then((function(e){0==(null==e?void 0:e.status)&&L(null==e?void 0:e.data)})),e.next=15;break;case 10:if("3"!=n.type){e.next=15;break}return e.next=13,d({type:"userDetail/getVideos",payload:o()(o()({},n),{},{category:"all",sort_by:"published_at",sort_direction:"desc",username:null===(a=l.userInfo)||void 0===a?void 0:a.login})});case 13:s=e.sent,L({count:null==s?void 0:s.count,list:null==s?void 0:s.videos});case 15:F(!1);case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,h.useEffect)((function(){H>0&&setTimeout((function(){q(0)}),2e3)}),[H]),(0,V.jsxs)("div",{children:[(0,V.jsxs)(g.Z,{title:"选用"+a,open:i,width:900,centered:!0,className:Ui,onCancel:function(){t(!1)},onOk:function(){null!=w&&w.id?(t(!1),u(w)):x.ZP.info("当前暂未选择数据")},children:[(0,V.jsxs)("div",{className:Yi,children:[(0,V.jsx)(Rn.Z,{className:$i,activeKey:y.type,onChange:function(e){y.type=e,y.page=1,y.updated_at="",y.association_id=null,y.search=null,X.setFieldsValue({association_id:"",search:null}),b(o()({},y)),Ae(o()({},y))},items:[{label:"从教学课堂选用",key:"1"},"编程作业"!=a&&("视频项目"==a?{label:"从个人主页选用",key:"3"}:{label:"从实践课程选用",key:"2"})]}),(0,V.jsxs)(G.Z,{layout:"inline",className:er,form:X,onValuesChange:function(e,n){y.page=1,e.search||""===e.search||X.submit()},onFinish:function(e){b(o()(o()({},y),e)),Ae(o()(o()({},y),e))},children:["3"!=y.type&&(0,V.jsx)(G.Z.Item,{name:"association_id",children:(0,V.jsx)(C.default,{onPopupScroll:function(e){var n=e.target;n.scrollHeight-n.clientHeight===n.scrollTop&&we(je+1)},className:Wi,style:{width:200},size:"large",children:Te.map((function(e,n){return(0,V.jsx)(C.default.Option,{children:null==e?void 0:e.name},null==e?void 0:e.id)}))})}),(0,V.jsx)(G.Z.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"search",children:(0,V.jsx)(Y.Z.Search,{className:Gi,placeholder:"视频项目"==a?"请输入视频名称进行搜索":"教学课件"==a?"请输入课件名称进行搜索":"请输入作业名称进行搜索",allowClear:!0,suffix:(0,V.jsx)("i",{className:"iconfont icon-sousuo9 font14 ".concat(Qi),onClick:function(){return X.submit()}}),onSearch:function(e){X.submit()}})})]})]}),(null==I||null===(n=I.list)||void 0===n?void 0:n.length)>0?(0,V.jsx)(He.Z,{style:{marginTop:20,marginBottom:20},scroll:{y:260},dataSource:null==I?void 0:I.list,pagination:!1,loading:D,rowKey:function(e){return e.id},rowSelection:ye,columns:ge}):(0,V.jsx)(Wn.Z,{}),(null==I?void 0:I.count)>0&&(0,V.jsx)(jn.Z,{current:y.page,total:null==I?void 0:I.count,style:{marginBottom:20},defaultPageSize:y.per_page,showTotal:function(e){return(0,V.jsxs)("span",{children:["共 ",(0,V.jsx)("span",{style:{color:"#165DFF"},children:e})," 条数据"]})},pageSize:y.per_page,onChange:function(e,n){y.page=e,y.per_page=n,b(o()({},y)),Ae(o()({},y))}})]}),(0,V.jsx)(lt.Z,{close:!0,data:null==re?void 0:re.content,type:null==re?void 0:re.type,hasMask:!0,monacoEditor:{value:"",language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:function(){ae({content:"",type:""})}}),(0,V.jsx)(st.K,o()(o()({},fe),{},{visible:se,allow_skip:!0,width:800,onClose:function(){ue(!1),he({})}}))]})})),tr=t(24334);window.d3=t(42712);var ir=function(e,n){var t,i=(n.payload||{}).uploadInfo,r=void 0===i?{}:i;switch(n.type){case"addVideo":return{videoList:[].concat(m()(e.videoList),[{name:r.file.name,size:r.file.size,type:r.file.type,fileHash:r.fileHash,state:r.state,videoId:r.videoId,loaded:r.loaded||0,title:""}])};case"removeVideo":return{videoList:e.videoList.filter((function(e){return e.name!==n.payload.name}))};case"removeAll":default:return{videoList:[]};case"updateProgress":return{videoList:e.videoList.map((function(e){return e.name===n.payload.uploadInfo.file.name?o()(o()({},e),{loaded:n.payload.progressPercent,videoId:r.videoId,fileHash:r.fileHash}):e}))};case"updateTitle":return{videoList:null===(t=e.videoList)||void 0===t?void 0:t.map((function(e){return e.name===n.payload.item.name?o()(o()({},e),{title:n.payload.title}):e}))}}},rr=[{name:"课程",type:"kc",color:"#17153D"},{name:"章节",type:"kc",color:"#94A5FF"},{name:"知识点",type:"kc",color:"#FFB786"},{name:"实训",type:"kc",color:"#FFEA82"},{name:"作业",type:"kc",color:"#83FFE1"},{name:"视频",type:"kc",color:"#8BE6FF"},{name:"附件",type:"kc",color:"#F999FF"},{name:"试题",type:"kc",color:"#FF92B2"},{name:"关卡",type:"kc",color:"#F4DD6B"}],ar=(0,p.connect)((function(e){return{user:e.user,pathsDetail:e.pathsDetail}}))((function(e){var n,t,i,a,l,u,d,f,v,j,w,P,T,N,S,M,A,I,Z,z,D,F,E,X=e.user,O=e.pathsDetail,R=e.dispatch,H=(0,p.useParams)(),q=(0,h.useState)(!1),B=c()(q,2),J=B[0],K=B[1],U=(0,h.useState)(!1),W=c()(U,2),Q=W[0],ne=W[1],te=(0,h.useState)(!1),ie=c()(te,2),re=ie[0],ae=(ie[1],(0,h.useState)({})),oe=c()(ae,2),se=oe[0],ue=oe[1],ce=G.Z.useForm(),de=c()(ce,1)[0],fe=(0,h.useState)(!0),ve=c()(fe,2),me=ve[0],xe=(ve[1],(0,h.useState)({})),ge=c()(xe,2),ye=ge[0],be=ge[1],_e=(0,h.useRef)(null),je=(0,h.useState)(!1),we=c()(je,2),ke=we[0],Pe=we[1],Te=(0,h.useState)([]),Ne=c()(Te,2),Se=(Ne[0],Ne[1],(0,h.useReducer)(ir,{videoList:[]})),Ce=c()(Se,2),Me=Ce[0],Ae=Ce[1],Ie=(0,h.useRef)(),Le=(0,h.useRef)(),Ze=(0,h.useState)(!1),ze=c()(Ze,2),De=ze[0],Fe=ze[1],Ee=(0,h.useState)({left:0,top:0,bottom:0,right:0}),Xe=c()(Ee,2),Oe=Xe[0],Re=Xe[1],qe=(0,h.useRef)(null),Be=(0,h.useState)(!1),Je=c()(Be,2),Ke=Je[0],Ue=Je[1],We=(0,h.useState)([]),Ge=c()(We,2),Qe=Ge[0],Ye=Ge[1],$e=(0,h.useState)(!1),en=c()($e,2),nn=en[0],tn=en[1],rn=(0,h.useState)(1),an=c()(rn,2),on=an[0],ln=an[1],sn=(0,h.useState)(!1),un=c()(sn,2),cn=un[0],dn=un[1],fn=(0,h.useState)({}),hn=c()(fn,2),pn=hn[0],vn=hn[1],mn=(0,h.useState)(!1),xn=c()(mn,2),gn=xn[0],yn=xn[1],bn=(0,h.useState)(!1),_n=c()(bn,2),jn=_n[0],wn=_n[1],kn=(0,h.useState)(""),Pn=c()(kn,2),Tn=Pn[0],Nn=Pn[1],Sn=(0,h.useState)({}),Cn=c()(Sn,2),Mn=Cn[0],An=Cn[1],In=(0,h.useState)([]),Ln=c()(In,2),Zn=Ln[0],zn=Ln[1],Dn=(0,h.useState)(!1),Fn=c()(Dn,2),En=Fn[0],Xn=Fn[1],On=(0,h.useState)([]),Hn=c()(On,2),qn=Hn[0],Vn=Hn[1],Bn=(0,h.useState)([]),Jn=c()(Bn,2),Kn=Jn[0],Un=Jn[1],Wn=(0,h.useState)(!1),Gn=c()(Wn,2),Qn=Gn[0],Yn=Gn[1],$n=(0,h.useState)(!1),et=c()($n,2),nt=et[0],tt=et[1],it=(0,h.useState)(!1),rt=c()(it,2),at=rt[0],ot=rt[1],lt=(0,h.useState)(!1),st=c()(lt,2),ut=st[0],dt=st[1],ft=(0,h.useState)(),ht=c()(ft,2),pt=ht[0],vt=ht[1],mt=(0,h.useState)(),xt=c()(mt,2),gt=xt[0],yt=xt[1],bt=(0,h.useState)(!1),_t=c()(bt,2),jt=_t[0],wt=_t[1],kt=(0,h.useState)({}),Pt=c()(kt,2),Tt=Pt[0],Nt=Pt[1],St=(0,h.useState)(0),Ct=c()(St,2),Mt=Ct[0],At=Ct[1],It=(0,h.useState)(""),Lt=c()(It,2),Zt=(Lt[0],Lt[1]),zt=(0,h.useState)(!1),Dt=c()(zt,2),Ft=Dt[0],Et=Dt[1],Xt=(0,h.useRef)(),Ot=(0,h.useRef)(),Rt=(0,h.useState)(600),Ht=c()(Rt,2),qt=(Ht[0],Ht[1]);function Vt(e,n){return Bt.apply(this,arguments)}function Bt(){return(Bt=s()(r()().mark((function e(n,t){var i,a,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_all.json",{method:"post",body:{node_type:t,req_type:n&&"tree",subject_id:H.pathId,params:{stage_uuid:"知识点"===t&&(null==se?void 0:se.stage_uuid)||(null==se?void 0:se.id),subject_uuid:Tn}}});case 2:200===(null==(i=e.sent)?void 0:i.status)&&(n&&"章节"===t?(l=null==i||null===(a=i.data)||void 0===a||null===(a=a.filter((function(e){var n;return(null==e||null===(n=e.children)||void 0===n?void 0:n.length)>0})))||void 0===a?void 0:a.map((function(e){return o()(o()({checkable:!1},e),{},{disabled:!1})})),zn(l)):zn(null==i?void 0:i.data));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,h.useEffect)((function(){be({}),Gt()}),[H]),(0,h.useEffect)((function(){var e,n,t;(null==pn||null===(e=pn.results)||void 0===e?void 0:e.length)>0&&(Ot.current=new(Ai())("#canva",{highlight:[{class:"章节2",property:"id",value:"161cc31a-05d1-11ef-81c5-0242ac110002"}],width:800,height:300,icons:{Git:"git",Github:"github",Ip:"map-marker",Issues:"exclamation-circle",Language:"language",Options:"sliders",Password:"asterisk",Phone:"phone",Project:"folder-open",SecurityChallengeAnswer:"commenting",User:"user",zoomFit:"arrows-alt",zoomIn:"search-plus",zoomOut:"search-minus"},colors:{"课程":"#17153D","章节":"#94A5FF","知识点":"#FFB786","实训":"#FFEA82","作业":"#83FFE1","视频":"#8BE6FF","附件":"#F999FF","试题":"#FF92B2","关卡":"#F4DD6B"},relationshipCaption:!0,nodeCaption:!0,minCollision:60,neo4jData:pn,nodeRadius:25,infoPanel:!1,onNodeClick:(t=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:null==n?void 0:n.node_type,subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:t=e.sent,Zt(null==n?void 0:n.key),200===(null==t?void 0:t.status)&&ue(null==t?void 0:t.data);case 5:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)}),onNodeDoubleClick:(n=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v,x,g,y,b,_,j,w,k,P,T,N,S,C,M,A;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("知识点"!==n.node_type&&"章节"!==n.node_type&&"实训"!==n.node_type){e.next=28;break}if("知识点"!==n.node_type){e.next=10;break}return e.next=4,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:null==n?void 0:n.node_type,req_type:"graph",subject_id:H.pathId,params:{subject_uuid:null==pn||null===(t=pn.results)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.data)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.graph)||void 0===t||null===(t=t.nodes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id,subject_id:(null===(i=O.detail)||void 0===i?void 0:i.id)+"",knowledge_uuid:null==n?void 0:n.id,user_id:null===(a=X.userInfo)||void 0===a?void 0:a.user_id}}});case 4:if(200!==(null==(l=e.sent)?void 0:l.status)){e.next=10;break}if(null!=l&&null!==(s=l.nodes)&&void 0!==s&&s.length){e.next=8;break}return e.abrupt("return");case 8:f={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(u=[].concat(m()(null==pn||null===(c=pn.results)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.data)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.graph)||void 0===c?void 0:c.nodes),m()(l.nodes)))||void 0===u?void 0:u.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(null==pn||null===(d=pn.results)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.data)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.graph)||void 0===d?void 0:d.relationships),m()(l.relationships))}}]}],errors:[]},vn(f);case 10:if("章节"!==n.node_type){e.next=19;break}return e.next=13,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:null==n?void 0:n.node_type,req_type:"graph",subject_id:H.pathId,params:{subject_uuid:null==pn||null===(h=pn.results)||void 0===h||null===(h=h[0])||void 0===h||null===(h=h.data)||void 0===h||null===(h=h[0])||void 0===h||null===(h=h.graph)||void 0===h||null===(h=h.nodes)||void 0===h||null===(h=h[0])||void 0===h?void 0:h.id,subject_id:(null===(p=O.detail)||void 0===p?void 0:p.id)+"",stage_uuid:null==n?void 0:n.id,user_id:null===(v=X.userInfo)||void 0===v?void 0:v.user_id}}});case 13:if(200!==(null==(x=e.sent)?void 0:x.status)){e.next=19;break}if(null!=x&&null!==(g=x.nodes)&&void 0!==g&&g.length){e.next=17;break}return e.abrupt("return");case 17:j={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(y=[].concat(m()(null==pn||null===(b=pn.results)||void 0===b||null===(b=b[0])||void 0===b||null===(b=b.data)||void 0===b||null===(b=b[0])||void 0===b||null===(b=b.graph)||void 0===b?void 0:b.nodes),m()(x.nodes)))||void 0===y?void 0:y.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(null==pn||null===(_=pn.results)||void 0===_||null===(_=_[0])||void 0===_||null===(_=_.data)||void 0===_||null===(_=_[0])||void 0===_||null===(_=_.graph)||void 0===_?void 0:_.relationships),m()(x.relationships))}}]}],errors:[]},vn(j);case 19:if("实训"!==n.node_type){e.next=28;break}return e.next=22,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:null==n?void 0:n.node_type,req_type:"graph",subject_id:H.pathId,params:{subject_uuid:null==pn||null===(w=pn.results)||void 0===w||null===(w=w[0])||void 0===w||null===(w=w.data)||void 0===w||null===(w=w[0])||void 0===w||null===(w=w.graph)||void 0===w||null===(w=w.nodes)||void 0===w||null===(w=w[0])||void 0===w?void 0:w.id,subject_id:(null===(k=O.detail)||void 0===k?void 0:k.id)+"",shixun_uuid:null==n?void 0:n.id,user_id:null===(P=X.userInfo)||void 0===P?void 0:P.user_id}}});case 22:if(200!==(null==(T=e.sent)?void 0:T.status)){e.next=28;break}if(null!=T&&null!==(N=T.nodes)&&void 0!==N&&N.length){e.next=26;break}return e.abrupt("return");case 26:A={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(S=[].concat(m()(null==pn||null===(C=pn.results)||void 0===C||null===(C=C[0])||void 0===C||null===(C=C.data)||void 0===C||null===(C=C[0])||void 0===C||null===(C=C.graph)||void 0===C?void 0:C.nodes),m()(T.nodes)))||void 0===S?void 0:S.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(null==pn||null===(M=pn.results)||void 0===M||null===(M=M[0])||void 0===M||null===(M=M.data)||void 0===M||null===(M=M[0])||void 0===M||null===(M=M.graph)||void 0===M?void 0:M.relationships),m()(T.relationships))}}]}],errors:[]},vn(A);case 28:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),zoomFit:!1,zoom:!0}))}),[pn]);var Jt=function(){document.getElementById("fileUpload").value=""},Kt=function(e){var n,t=e.target.files[0];if(t){var i=t.name.toLowerCase();return i&&-1==i.indexOf(".avi")&&-1==i.indexOf(".flv")&&-1==i.indexOf(".f4v")&&-1==i.indexOf(".m4v")&&-1==i.indexOf(".mov")&&-1==i.indexOf(".mp4")&&-1==i.indexOf(".rmvb")&&-1==i.indexOf(".swf")&&-1==i.indexOf(".webm")&&-1==i.indexOf(".wmv")?(x.ZP.info("不支持的视频格式"),void Jt()):t.size>1073741824?(x.ZP.info("视频大小超过".concat(1,"G")),void Jt()):null!==(n=Me.videoList)&&void 0!==n&&n.find((function(e){return e.name===t.name}))?(x.ZP.info("你不能上传同一个视频文件名称,请重新选择。"),void Jt()):void Ut(t)}Jt()},Ut=function(e){var n,t='{"Vod":{}}';Xt.current?Xt.current.addFile(e,null,null,null,t):(0,Ji.o)(null===(n=X.userInfo)||void 0===n?void 0:n.login,"",{create:!Xt,addFileSuccess:function(e){Ae({type:"addVideo",payload:{uploadInfo:e}})},onUploadProgress:function(e,n,t){var i=Math.ceil(100*t);Ae({type:"updateProgress",payload:{uploadInfo:e,progressPercent:i}}),Jt()},onUploadFailed:function(e){x.ZP.info("视频云服务出现异常,请重新上传。")},onUploadEnd:function(e){},onUploadSucceed:function(e){},onUploadError:function(e){},gotUploader:function(n){n.addFile(e,null,null,null,t),Xt.current=n}})},Wt=function(){var e=s()(r()().mark((function e(){var n,t,i,a,l,s,u,c,d;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:null==se?void 0:se.node_type,req_type:"graph",subject_id:H.pathId,params:{subject_uuid:null==pn||null===(n=pn.results)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.data)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.graph)||void 0===n||null===(n=n.nodes)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id,subject_id:(null===(t=O.detail)||void 0===t?void 0:t.id)+"",knowledge_uuid:null==se?void 0:se.id,user_id:null===(i=X.userInfo)||void 0===i?void 0:i.user_id,stage_uuid:null==se?void 0:se.id}}});case 2:if(200!==(null==(a=e.sent)?void 0:a.status)){e.next=8;break}if(null!=a&&null!==(l=a.nodes)&&void 0!==l&&l.length){e.next=6;break}return e.abrupt("return");case 6:d={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(s=[].concat(m()(null==pn||null===(u=pn.results)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.data)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.graph)||void 0===u?void 0:u.nodes),m()(a.nodes)))||void 0===s?void 0:s.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(null==pn||null===(c=pn.results)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.data)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.graph)||void 0===c?void 0:c.relationships),m()(a.relationships))}}]}],errors:[]},vn(d);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function Gt(){return Qt.apply(this,arguments)}function Qt(){return(Qt=s()(r()().mark((function e(){var n,t,i,a,l,s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:"课程",req_type:"graph",subject_id:H.pathId,params:{subject_id:(null===(n=O.detail)||void 0===n?void 0:n.id)+"",user_id:null===(t=X.userInfo)||void 0===t?void 0:t.user_id}}});case 2:200===(i=e.sent).status&&(s={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(a=m()(null==i?void 0:i.nodes))||void 0===a?void 0:a.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:m()(null==i?void 0:i.relationships)}}]}],errors:[]},Nn(null==i||null===(l=i.nodes)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.id),vn(s));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,V.jsxs)("div",{ref:_e,style:{paddingBottom:20,background:"#FFF",position:"relative"},children:[(0,V.jsxs)($.Z,{spinning:re,children:[!(null!=ye&&ye.is_root)&&(0,V.jsxs)("div",{style:{height:60,border:"1px solid #e7e7e7",display:"flex"},children:[(0,V.jsxs)("div",{onClick:function(){ue({})},className:Ni.headeractivite,children:[(0,V.jsxs)("div",{children:[" ",(0,V.jsx)("i",{className:"iconfont icon-guanxitu"})]}),(0,V.jsx)("div",{children:"关系图"})]}),(0,V.jsxs)("div",{onClick:function(){Ot.current.zoomInOut(1)},className:Ni.header,children:[(0,V.jsxs)("div",{children:[" ",(0,V.jsx)("i",{className:"iconfont icon-fangda3"})]}),(0,V.jsx)("div",{children:"放大"})]}),(0,V.jsxs)("div",{onClick:function(){Ot.current.zoomInOut(-1)},className:Ni.header,children:[(0,V.jsxs)("div",{children:[" ",(0,V.jsx)("i",{className:"iconfont icon-suoxiao3"})]}),(0,V.jsx)("div",{children:"缩小"})]}),(0,V.jsx)(b.Z,{title:"功能升级中,敬请期待,谢谢",getPopupContainer:function(){return _e.current},children:(0,V.jsxs)("div",{onClick:s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),className:Ni.header,style:{color:"#C0C0C0"},children:[(0,V.jsxs)("div",{children:[" ",(0,V.jsx)("i",{className:"iconfont icon-chazhao"})]}),(0,V.jsx)("div",{children:"查找"})]})}),(null===(n=O.detail)||void 0===n?void 0:n.allow_add_member)&&(0,V.jsx)(b.Z,{getPopupContainer:function(){return _e.current},title:"功能升级中,敬请期待,谢谢",children:(0,V.jsxs)("div",{onClick:s()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),className:Ni.header,style:{color:"#C0C0C0"},children:[(0,V.jsxs)("div",{children:[" ",(0,V.jsx)("i",{className:"iconfont icon-daoru"})]}),(0,V.jsx)("div",{children:"导入"})]})}),(0,V.jsx)("div",{style:{flex:1,textAlign:"end",lineHeight:"60px"},children:(0,V.jsx)("i",{onClick:function(){var e,n,t,i;(0,_i.vp)()?(Pe(!1),(0,_i.BU)()):(Pe(!0),(0,_i.Dj)(_e.current)),qt(600),null===(e=Le.current)||void 0===e||null===(n=e.zoomToFit)||void 0===n||n.call(e),null===(t=Ie.current)||void 0===t||null===(i=t.zoomToFit)||void 0===i||i.call(t)},style:{marginLeft:30,marginRight:20},className:"iconfont ".concat(ke?"icon-tuichuquanping3":"icon-quanping4"," ").concat(Ni.ehover)})})]}),(0,V.jsxs)("div",{className:ke?Ni.neo4jd3Wrp1:Ni.neo4jd3Wrp,style:{position:"relative"},children:[(0,V.jsx)("p",{style:{position:"absolute",top:18,width:"100%",padding:"0px 18px"},children:(0,V.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,V.jsxs)("div",{style:{color:"#3061D0",fontSize:14},children:[(0,V.jsx)("p",{style:{marginBottom:6},children:"单击节点:打开节点详情"}),(0,V.jsx)("p",{children:"双击节点:展开下级节点内容"})]}),(null==pn||null===(t=pn.results)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.data)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.graph)||void 0===t||null===(t=t.nodes)||void 0===t?void 0:t.length)>0&&(0,V.jsx)("span",{style:{position:"relative",zIndex:3},onClick:s()(r()().mark((function e(){var n,t,i,a,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Et(!Ft),!Ft){e.next=5;break}Gt(),e.next=9;break;case 5:return e.next=7,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:"all",subject_id:H.pathId,req_type:"graph",params:{subject_id:(null===(n=O.detail)||void 0===n?void 0:n.id)+"",subject_uuid:Tn}}});case 7:200===(null==(t=e.sent)?void 0:t.status)&&(l={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(i=m()(null==t?void 0:t.nodes))||void 0===i?void 0:i.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:m()(null==t?void 0:t.relationships)}}]}],errors:[]},Nn(null==t||null===(a=t.nodes)||void 0===a||null===(a=a[0])||void 0===a?void 0:a.id),vn(l));case 9:case"end":return e.stop()}}),e)}))),className:Ni.selectshixun,children:Ft?"全部收起":"全部展开"})]})}),(0,V.jsx)("div",{id:"canva",style:{position:"relative",zIndex:2}}),rr.map((function(e,n){return(0,V.jsxs)("div",{style:{display:"inline-block",marginLeft:0!==n&&20,maxHeight:20},children:[(0,V.jsx)("span",{style:{display:"inline-flex",background:null==e?void 0:e.color,width:16,height:8,borderRadius:4}}),(0,V.jsx)("span",{style:{marginLeft:6},children:null==e?void 0:e.name})]})}))]})]}),(0,V.jsx)("div",{style:{zIndex:10},children:(0,V.jsx)(Ci(),{disabled:De,bounds:Oe,onStart:function(e,n){return function(e,n){var t,i=window.document.documentElement,r=i.clientWidth,a=i.clientHeight,o=null===(t=qe.current)||void 0===t?void 0:t.getBoundingClientRect();Re({left:-o.left+n.x,right:r-(o.right-n.x),top:-o.top+n.y,bottom:a-(o.bottom-n.y)-70})}(0,n)},children:(0,V.jsx)("div",{ref:qe,style:{position:"absolute",cursor:"move",right:ke?0:-500,top:60,zIndex:10},children:(0,V.jsx)("div",{onMouseOver:function(){De&&Fe(!me)},onMouseOut:function(){Fe(!0)},children:(null==se?void 0:se.id)&&(0,V.jsx)("div",{className:Ni.rightmodal,children:(0,V.jsxs)($.Z,{spinning:re,children:[(0,V.jsxs)("div",{style:{display:"flex",padding:25,paddingBottom:0},children:[(0,V.jsxs)("div",{className:Ni.title,children:[(0,V.jsx)("span",{style:{width:88,display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:12,fontSize:14,color:"#fff",background:null==rr?void 0:rr.find((function(e){return e.name===(null==se?void 0:se.node_type)})).color},children:(null==se?void 0:se.node_type)+"节点"})," ",se.name," ","课程"!==(null==se?void 0:se.node_type)&&(0,V.jsx)("i",{onClick:function(){var e,n;if(Ue(!0),"章节"===(null==se?void 0:se.node_type))yn(!0),Vt(!1,"章节"),de.setFieldsValue(o()(o()({},se),{},{backend_stage_uuid:null==se||null===(e=se.backend_stage)||void 0===e?void 0:e.id,front_stage_uuid:null==se||null===(n=se.front_stage)||void 0===n?void 0:n.id}));else if("知识点"===(null==se?void 0:se.node_type)){var t,i;ne(!0),Vt(!1,"知识点"),de.setFieldsValue(o()(o()({},se),{},{backend_knowledge_uuid:null==se||null===(t=se.backend_knowledge)||void 0===t?void 0:t.id,front_knowledge_uuid:null==se||null===(i=se.front_knowledge)||void 0===i?void 0:i.id}))}else"实训"===(null==se?void 0:se.node_type)?(wn(!0),An(o()({},se)),Vn(null==se?void 0:se.knowledge_node_list),Un(null==se?void 0:se.knowledge_node_list)):"作业"===(null==se?void 0:se.node_type)?(Yn(!0),de.setFieldsValue(o()({},se)),Vn(null==se?void 0:se.knowledge_node_list),Un(null==se?void 0:se.knowledge_node_list)):"视频"===(null==se?void 0:se.node_type)?(ot(!0),de.setFieldsValue(o()({},se)),yt({id:null==se?void 0:se.id,title:null==se?void 0:se.name,video_detail:{play_url:null==se?void 0:se.video_url}}),Vn(null==se?void 0:se.knowledge_node_list),Un(null==se?void 0:se.knowledge_node_list)):"附件"===(null==se?void 0:se.node_type)?(wt(!0),de.setFieldsValue(o()({},se)),At(100),Nt({name:null==se?void 0:se.name,response:{id:null==se?void 0:se.attachment_id}}),Un(null==se?void 0:se.knowledge_node_list),Vn(null==se?void 0:se.knowledge_node_list)):"试题"===(null==se?void 0:se.node_type)&&(Un(null==se?void 0:se.knowledge_node_list),Vn(null==se?void 0:se.knowledge_node_list),tt(!0),de.setFieldsValue(o()({},se)))},className:"iconfont icon-bianji3",style:{marginLeft:14,color:"#666666",cursor:"pointer"}}),"课程"!==(null==se?void 0:se.node_type)&&"关卡"!==(null==se?void 0:se.node_type)&&(0,V.jsx)("i",{onClick:function(){var e;g.Z.confirm({title:"提示",content:"删除节点会将子节点一并删除,删除节点不会影响到课程章节内容。删除后,数据不可恢复,请确认是否删除?",closeIcon:!0,closable:!0,icon:null,onOk:(e=s()(r()().mark((function e(){var n,t,i,a,l,s,u;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/del_node.json",{method:"post",body:{node_type:null==se?void 0:se.node_type,subject_id:H.pathId,params:{subject_id:(null===(n=O.detail)||void 0===n?void 0:n.id)+"",user_id:null===(t=X.userInfo)||void 0===t?void 0:t.user_id,id:se.id}}});case 2:200===(null==(i=e.sent)?void 0:i.status)&&(x.ZP.info("删除成功"),ue({}),u={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(a=m()(null==pn||null===(l=pn.results)||void 0===l||null===(l=l[0])||void 0===l||null===(l=l.data)||void 0===l||null===(l=l[0])||void 0===l||null===(l=l.graph)||void 0===l||null===(l=l.nodes)||void 0===l?void 0:l.filter((function(e){return e.id!==se.id}))))||void 0===a?void 0:a.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:m()(null==pn||null===(s=pn.results)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.data)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.graph)||void 0===s||null===(s=s.relationships)||void 0===s?void 0:s.filter((function(e){return e.id!==se.id&&se.id!==e.endNode&&se.id!==e.startNode})))}}]}],errors:[]},vn(u));case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})},className:"iconfont icon-shanchu14 ".concat(Ni.dhover),style:{marginLeft:14}})]}),(0,V.jsx)("div",{children:(0,V.jsx)("i",{style:{cursor:"pointer"},onClick:function(){var e,n;ue({}),null===(e=Le.current)||void 0===e||e.clearSelection(),null===(n=Ie.current)||void 0===n||n.clearSelection()},className:"iconfont icon-danchuangguanbi"})})]}),(0,V.jsxs)("div",{style:{maxHeight:580,overflow:"auto",padding:25,paddingTop:0},children:[(0,V.jsxs)("div",{style:{marginTop:20},children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{className:Ni.line}),"属性"]}),"课程"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12},children:["教学团队:",null===(i=JSON.parse(null==se?void 0:se.teacher_group))||void 0===i?void 0:i.map((function(e){return e.name})).toString()]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12},children:["发布单位:",null==se?void 0:se.school]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"课程简介:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12},value:null==se?void 0:se.subject_desc})})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"课程须知:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12},value:null==se?void 0:se.subject_notice})})]})]})]}),"关卡"===(null==se?void 0:se.node_type)&&(0,V.jsx)("div",{children:(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"关卡描述:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12,color:"#000000",fontWeight:500},value:null==se?void 0:se.challenge_desc})})]})]})}),"章节"===(null==se?void 0:se.node_type)&&(0,V.jsx)("div",{children:(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"章节描述:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12,color:"#000000",fontWeight:500},value:null==se?void 0:se.stage_desc})})]})]})}),"实训"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:["实训类别:",(0,V.jsx)("div",{children:null==se?void 0:se.shixun_type})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"实训描述:"}),(0,V.jsx)("div",{children:(0,V.jsx)("span",{className:Ni.description,dangerouslySetInnerHTML:{__html:null==se?void 0:se.shixun_desc}})})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:["难易程度:",(0,V.jsx)("div",{children:null==se?void 0:se.diffculty})]})]})]}),"视频"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsx)(Ki.Z,{onPlayEnded:function(){},autoPlay:!1,allow_skip:!1,courseId:"",src:null!=se&&null!==(a=se.video_url)&&void 0!==a&&a.startsWith("http")?null==se?void 0:se.video_url:tr.Base64.decode(null==se?void 0:se.video_url),videoId:"",toLog:!0,logWatchHistory:function(){}}),(0,V.jsxs)("div",{className:Ni.linetitles,style:{marginTop:20},children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:["视频描述:",(0,V.jsx)("div",{children:null==se?void 0:se.video_desc})]})]})]}),"附件"===(null==se?void 0:se.node_type)&&(0,V.jsx)("div",{children:(0,V.jsxs)("div",{className:Ni.linetitles,style:{marginTop:20},children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"附件描述:"}),(0,V.jsx)("div",{children:(null==se?void 0:se.attachment_desc)||"暂无"})]})]})}),"作业"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:["作业类别:",(0,V.jsx)("div",{children:null==se?void 0:se.homework_type})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"作业描述:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12,color:"#000000",fontWeight:500},value:null==se?void 0:se.homework_desc})})]})]})]}),"试题"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:["试题题型:",(0,V.jsx)("div",{children:null==se?void 0:se.test_type})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:60},children:"试题内容:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12,color:"#000000",fontWeight:500},value:null==se?void 0:se.test_content})})]})]})]}),"知识点"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:80},children:"知识点类型:"}),(0,V.jsx)("div",{children:(null==se?void 0:se.knowledge_type)||""})]})]}),(0,V.jsxs)("div",{className:Ni.linetitles,children:[(0,V.jsx)("span",{style:{marginRight:8}}),(0,V.jsxs)("span",{style:{color:"#000000",fontSize:12,display:"flex",alignItems:"baseline"},children:[(0,V.jsx)("span",{style:{minWidth:80},children:"知识点描述:"}),(0,V.jsx)("div",{children:(0,V.jsx)(le.Z,{style:{fontSize:12,color:"#000000",fontWeight:500},value:(null==se?void 0:se.knowledge_desc)||"暂无描述"})})]})]})]})]}),(0,V.jsxs)("div",{style:{marginTop:20},children:[(0,V.jsxs)("div",{className:Ni.linetitles,style:{marginBottom:0},children:[(0,V.jsx)("span",{className:Ni.line}),"关系"]}),"关卡"===(null==se?void 0:se.node_type)&&(0,V.jsx)("div",{children:(0,V.jsx)("div",{style:{marginBottom:15},children:(0,V.jsxs)("span",{children:["所属实训:",(0,V.jsx)("span",{style:{background:"#94A5FF",color:"#333333",marginLeft:4,padding:"6px 16px",borderRadius:"15px"},children:(null==se||null===(l=se.shixun_names)||void 0===l?void 0:l[0])||"暂无"})]})})}),"章节"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{style:{marginTop:15,display:"flex"},children:[(0,V.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:["前序章节:",(0,V.jsx)("span",{className:Ni.multi_ellipsis2,style:{background:"#94A5FF",color:"#333333",marginLeft:4,padding:"4px 16px",borderRadius:"15px",maxWidth:150},children:(null==se||null===(u=se.front_stage)||void 0===u?void 0:u.name)||"暂无"})]}),(0,V.jsxs)("span",{style:{marginLeft:50,display:"flex",alignItems:"center"},children:["后序章节:",(0,V.jsx)("span",{className:Ni.multi_ellipsis2,style:{marginLeft:4,background:"#94A5FF",color:"#333333",padding:"4px 16px",borderRadius:"15px",maxWidth:150},children:(null==se||null===(d=se.backend_stage)||void 0===d?void 0:d.name)||"暂无"})]})]}),"知识点"===(null==se?void 0:se.node_type)&&(0,V.jsxs)("div",{style:{marginTop:15},children:[(0,V.jsx)("div",{style:{marginBottom:15},children:(0,V.jsxs)("span",{children:["所属章节:",(0,V.jsx)("span",{style:{background:"#94A5FF",color:"#333333",marginLeft:4,padding:"6px 16px",borderRadius:"15px"},children:(null==se?void 0:se.stage_name)||"暂无"})]})}),(0,V.jsxs)("div",{style:{display:"flex"},children:[(0,V.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:["前序知识点:",(0,V.jsx)("span",{className:Ni.multi_ellipsis2,style:{background:"#FFB786",color:"#333333",marginLeft:4,padding:"4px 16px",borderRadius:"15px",maxWidth:150},children:(null==se||null===(f=se.front_knowledge)||void 0===f?void 0:f.name)||"暂无"})]}),(0,V.jsxs)("span",{style:{marginLeft:50,display:"flex",alignItems:"center"},children:["后序知识点:",(0,V.jsx)("span",{className:Ni.multi_ellipsis2,style:{marginLeft:4,background:"#FFB786",color:"#333333",padding:"4px 16px",borderRadius:"15px",maxWidth:150},children:(null==se||null===(v=se.backend_knowledge)||void 0===v?void 0:v.name)||"暂无"})]})]})]}),["实训","附件","作业","视频","试题"].includes(null==se?void 0:se.node_type)&&(0,V.jsx)("div",{children:(0,V.jsxs)("span",{children:["所属知识点:",null==se||null===(j=se.knowledge_node_list)||void 0===j?void 0:j.map((function(e){return(0,V.jsx)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#94A5FF",display:"inline-block",marginTop:14,color:"#333333",fontSize:14,marginLeft:16,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:(0,V.jsx)("span",{children:null==e?void 0:e.title})})}))]})}),"课程"===(null==se?void 0:se.node_type)&&(0,V.jsx)(Rn.Z,{tabBarExtraContent:(0,V.jsxs)("span",{onClick:function(){de.resetFields(),Vt(!1,"章节"),Ue(!1),yn(!0)},className:Ni.additem,children:[(0,V.jsx)("i",{style:{fontSize:12},className:"iconfont icon-tianjiashitixiaojiahao"})," 添加章节"]}),items:[{key:"1",label:"章节(".concat(null==se||null===(w=se.relations)||void 0===w?void 0:w.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.relations,columns:[{title:"章节名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"章节",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"章节描述",dataIndex:"desc",ellipsis:!0,key:"desc"}]})}]}),"实训"===(null==se?void 0:se.node_type)&&(0,V.jsx)(Rn.Z,{items:[{key:"1",label:"关卡(".concat(null==se||null===(P=se.relations)||void 0===P?void 0:P.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.relations,columns:[{title:"关卡名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"关卡",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"关卡描述",dataIndex:"challenge_desc",ellipsis:!0,key:"challenge_desc"}]})}]}),"章节"===(null==se?void 0:se.node_type)&&(0,V.jsx)(Rn.Z,{tabBarExtraContent:(0,V.jsxs)("span",{onClick:function(){de.resetFields(),ne(!0),Ue(!1),Vt(!1,"知识点")},className:Ni.additem,children:[(0,V.jsx)("i",{style:{fontSize:12},className:"iconfont icon-tianjiashitixiaojiahao"})," 添加知识点"]}),items:[{key:"1",label:"知识点(".concat(null==se||null===(T=se.relations)||void 0===T?void 0:T.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.relations,columns:[{title:"知识点名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t,i,a,l,s,u,c,d,f,h;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:if(200!==(null==(t=e.sent)?void 0:t.status)){e.next=13;break}return ue(null==t?void 0:t.data),e.next=7,(0,ee.ZP)("/api/knowledge/get_node.json",{method:"post",body:{node_type:"章节",req_type:"graph",subject_id:H.pathId,params:{subject_uuid:null==pn||null===(i=pn.results)||void 0===i||null===(i=i[0])||void 0===i||null===(i=i.data)||void 0===i||null===(i=i[0])||void 0===i||null===(i=i.graph)||void 0===i||null===(i=i.nodes)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.id,subject_id:(null===(a=O.detail)||void 0===a?void 0:a.id)+"",stage_uuid:null==se?void 0:se.id,user_id:null===(l=X.userInfo)||void 0===l?void 0:l.user_id}}});case 7:if(200!==(null==(s=e.sent)?void 0:s.status)){e.next=13;break}if(null!=s&&null!==(u=s.nodes)&&void 0!==u&&u.length){e.next=11;break}return e.abrupt("return");case 11:h={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(c=[].concat(m()(null==pn||null===(d=pn.results)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.data)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.graph)||void 0===d?void 0:d.nodes),m()(s.nodes)))||void 0===c?void 0:c.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(null==pn||null===(f=pn.results)||void 0===f||null===(f=f[0])||void 0===f||null===(f=f.data)||void 0===f||null===(f=f[0])||void 0===f||null===(f=f.graph)||void 0===f?void 0:f.relationships),m()(s.relationships))}}]}],errors:[]},vn(h);case 13:case"end":return e.stop()}}),e)}))),children:e})}},{title:"知识点描述",dataIndex:"desc",ellipsis:!0,key:"desc"}]})}]}),"知识点"===(null==se?void 0:se.node_type)&&(0,V.jsx)(Rn.Z,{tabBarExtraContent:(0,V.jsx)(_.Z,{getPopupContainer:function(){return _e.current},menu:{items:[{key:"1",style:{width:100,textAlign:"center"},label:(0,V.jsx)("a",{onClick:function(){wn(!0),Ue(!1),Un([])},children:"添加实训"})},{key:"2",style:{width:100,textAlign:"center"},label:(0,V.jsx)("a",{onClick:function(){Ue(!1),Yn(!0),Un([])},children:"添加作业"})},{key:"3",style:{width:100,textAlign:"center"},label:(0,V.jsx)("a",{onClick:function(){Ue(!1),ot(!0),Un([]),de.resetFields()},children:"添加视频"})},{key:"4",style:{width:100,textAlign:"center"},label:(0,V.jsx)("a",{onClick:function(){Ue(!1),Un([]),wt(!0)},children:"添加附件"})},{key:"5",style:{width:100,textAlign:"center"},label:(0,V.jsx)("a",{onClick:function(){Ue(!1),Un([]),tt(!0)},children:"添加试题"})}]},children:(0,V.jsx)("span",{style:{color:"#3061D0"},children:" 添加关联内容"})}),items:[{key:"0",label:"实训(".concat(null==se||null===(N=se.shixun_relations)||void 0===N?void 0:N.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.shixun_relations,columns:[{title:"实训名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"实训",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"实训类型",dataIndex:"shixun_type",ellipsis:!0,key:"shixun_type"},{title:"实训关卡",dataIndex:"challenge_num",ellipsis:!0,key:"challenge_num"},{title:"实训环境",dataIndex:"language",ellipsis:!0,key:"language"}]})},{key:"1",label:"作业(".concat(null==se||null===(S=se.homework_relations)||void 0===S?void 0:S.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.homework_relations,columns:[{title:"作业名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"作业",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"作业类型",dataIndex:"homework_type",ellipsis:!0,key:"homework_type"},{title:"作业描述",dataIndex:"homework_desc",ellipsis:!0,key:"homework_desc"}]})},{key:"2",label:"视频(".concat(null==se||null===(M=se.video_relations)||void 0===M?void 0:M.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.video_relations,columns:[{title:"视频名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"视频",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"视频描述",dataIndex:"video_desc",ellipsis:!0,key:"video_desc"}]})},{key:"3",label:"附件(".concat(null==se||null===(A=se.attachment_relations)||void 0===A?void 0:A.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.attachment_relations,columns:[{title:"附件名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"附件",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"附件描述",dataIndex:"attachment_desc",ellipsis:!0,key:"attachment_desc"}]})},{key:"4",label:"试题(".concat(null==se||null===(I=se.test_relations)||void 0===I?void 0:I.length,""),children:(0,V.jsx)(He.Z,{pagination:!1,dataSource:null==se?void 0:se.test_relations,columns:[{title:"试题名称",dataIndex:"name",ellipsis:!0,width:"20%",key:"name",render:function(e,n,t){return(0,V.jsx)("a",{onClick:s()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"试题",subject_id:H.pathId,params:{id:null==n?void 0:n.id}}});case 2:200===(null==(t=e.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return e.stop()}}),e)}))),children:e})}},{title:"试题类型",dataIndex:"test_type",ellipsis:!0,key:"test_type"}]})}]})]}),(0,V.jsx)("div",{style:{textAlign:"center",marginTop:20},children:"实训"===(null==se?void 0:se.node_type)&&(0,V.jsx)(k.ZP,{type:"primary",onClick:function(){window.open(null==se?void 0:se.shixun_url)},children:"前往实训"})})]})]})})})})})}),(0,V.jsx)(g.Z,{title:(Ke?"修改":"添加")+"章节",getContainer:function(){return _e.current},centered:!0,destroyOnClose:!0,open:gn,onCancel:function(){de.resetFields(),yn(!1),Ue(!1)},onOk:function(){de.submit()},children:(0,V.jsxs)(G.Z,{form:de,labelCol:{span:5},onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==n||!n.backend_stage_uuid||(null==n?void 0:n.backend_stage_uuid)!==(null==n?void 0:n.front_stage_uuid)){e.next=3;break}return x.ZP.info("章节不能相同"),e.abrupt("return");case 3:return a=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=6,(0,ee.ZP)(a,{method:"post",body:{node_type:"章节",subject_id:H.pathId,params:o()(o()({},n),{},{stage_uuid:Ke&&(null==se?void 0:se.id),subject_id:(null===(t=O.detail)||void 0===t?void 0:t.id)+"",subject_uuid:Tn,user_id:null==X||null===(i=X.userInfo)||void 0===i?void 0:i.user_id})}});case 6:if(200!==(null==(l=e.sent)?void 0:l.status)){e.next=16;break}return Gt(),e.next=11,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"章节":"课程",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 11:200===(null==(s=e.sent)?void 0:s.status)&&(ue(null==s?void 0:s.data),Ke&&((f=null==pn||null===(u=pn.results)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.data)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.graph)||void 0===u||null===(u=u.nodes)||void 0===u?void 0:u.filter((function(e){return e.id!==se.id}))).push(null==s?void 0:s.data),h=null==pn||null===(c=pn.results)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.data)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.graph)||void 0===c||null===(c=c.relationships)||void 0===c?void 0:c.filter((function(e){return!((e.endNode===se.id||e.startNode===se.id)&&"包含"!==e.type)})),p=[],null!=n&&n.backend_stage_uuid&&(p.push({id:se.id,startNode:se.id,endNode:null==n?void 0:n.backend_stage_uuid,type:"后序"}),p.push({id:se.id,startNode:null==n?void 0:n.backend_stage_uuid,endNode:se.id,type:"前序"})),null!=n&&n.front_stage_uuid&&(p.push({id:se.id,startNode:null==n?void 0:n.front_stage_uuid,endNode:se.id,type:"前序"}),p.push({id:se.id,startNode:se.id,endNode:null==n?void 0:n.front_stage_uuid,type:"后序"})),v={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(d=m()(f))||void 0===d?void 0:d.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(h),p)}}]}],errors:[]},vn(v))),de.resetFields(),yn(!1),Ue(!1);case 16:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)(G.Z.Item,{label:"章节名称",name:"stage_name",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入章节点名称")}}],children:(0,V.jsx)(Y.Z,{maxLength:200,max:200})}),(0,V.jsx)(G.Z.Item,{label:"章节描述",name:"stage_desc",children:(0,V.jsx)(Y.Z.TextArea,{maxLength:1e3})}),(0,V.jsx)(G.Z.Item,{label:"后序章节",name:"backend_stage_uuid",children:(0,V.jsx)(C.default,{children:null==Zn?void 0:Zn.map((function(e){return(0,V.jsx)(C.default.Option,{children:null==e?void 0:e.name},null==e?void 0:e.id)}))})}),(0,V.jsx)(G.Z.Item,{label:"前序章节",name:"front_stage_uuid",children:(0,V.jsx)(C.default,{children:null==Zn?void 0:Zn.map((function(e){return(0,V.jsx)(C.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},null==e?void 0:e.id)}))})})]})}),(0,V.jsx)(Bi,{shixunIds:"",cb:function(e){An(e)}}),(0,V.jsx)(g.Z,{open:Q,centered:!0,title:(Ke?"修改":"添加")+"知识点",destroyOnClose:!0,width:600,getContainer:function(){return _e.current},onCancel:function(){return ne(!1)},okButtonProps:{loading:J},onOk:function(){de.submit()},children:(0,V.jsxs)(G.Z,{size:"large",form:de,labelCol:{span:5},onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(K(!0),null==n||!n.backend_knowledge_uuid||(null==n?void 0:n.backend_knowledge_uuid)!==(null==n?void 0:n.front_knowledge_uuid)){e.next=5;break}return x.ZP.info("章节不能相同"),K(!1),e.abrupt("return");case 5:return a=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=8,(0,ee.ZP)(a,{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:o()(o()({},n),{},{subject_uuid:Tn,knowledge_uuid:null==se?void 0:se.id,subject_id:(null===(t=O.detail)||void 0===t?void 0:t.id)+"",stage_uuid:Ke?null==se?void 0:se.stage_uuid:null==se?void 0:se.id,user_id:null==X||null===(i=X.userInfo)||void 0===i?void 0:i.user_id})}});case 8:if(l=e.sent,K(!1),200!==(null==l?void 0:l.status)){e.next=20;break}return Ke||Wt(),e.next=14,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"知识点":"章节",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 14:200===(null==(s=e.sent)?void 0:s.status)&&(ue(null==s?void 0:s.data),Ke&&((f=null==pn||null===(u=pn.results)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.data)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.graph)||void 0===u||null===(u=u.nodes)||void 0===u?void 0:u.filter((function(e){return e.id!==se.id}))).push(null==s?void 0:s.data),h=null==pn||null===(c=pn.results)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.data)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.graph)||void 0===c||null===(c=c.relationships)||void 0===c?void 0:c.filter((function(e){return!((e.endNode===se.id||e.startNode===se.id)&&"包含"!==e.type)})),p=[],null!=n&&n.backend_knowledge_uuid&&(p.push({id:se.id,startNode:se.id,endNode:null==n?void 0:n.backend_knowledge_uuid,type:"后序"}),p.push({id:null==n?void 0:n.backend_knowledge_uuid,endNode:se.id,startNode:null==n?void 0:n.backend_knowledge_uuid,type:"前序"})),null!=n&&n.front_knowledge_uuid&&(p.push({id:se.id,startNode:null==n?void 0:n.front_knowledge_uuid,endNode:se.id,type:"前序"}),p.push({id:null==n?void 0:n.front_knowledge_uuid,endNode:se.id,startNode:null==n?void 0:n.front_knowledge_uuid,type:"后序"})),v={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(d=m()(f))||void 0===d?void 0:d.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(h),p)}}]}],errors:[]},vn(v))),de.resetFields(),ne(!1),Vn([]),Un([]);case 20:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)(G.Z.Item,{name:"knowledge_name",label:"知识点名称",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入知识点名称")}}],children:(0,V.jsx)(Y.Z,{maxLength:20})}),(0,V.jsx)(G.Z.Item,{name:"knowledge_type",label:"知识点类别",children:(0,V.jsxs)(y.ZP.Group,{children:[(0,V.jsx)(y.ZP,{value:"操作节点",children:"操作节点"}),(0,V.jsx)(y.ZP,{value:"概念节点",children:"概念节点"})]})}),(0,V.jsx)(G.Z.Item,{name:"knowledge_desc",label:"知识点描述",children:(0,V.jsx)(Y.Z.TextArea,{maxLength:100})}),(0,V.jsx)(G.Z.Item,{label:"后序知识点",name:"backend_knowledge_uuid",children:(0,V.jsx)(C.default,{children:Zn.map((function(e){return(0,V.jsx)(C.default.Option,{children:null==e?void 0:e.name},null==e?void 0:e.id)}))})}),(0,V.jsx)(G.Z.Item,{label:"前序知识点",name:"front_knowledge_uuid",children:(0,V.jsx)(C.default,{children:null==Zn?void 0:Zn.map((function(e){return(0,V.jsx)(C.default.Option,{value:null==e?void 0:e.id,children:null==e?void 0:e.name},null==e?void 0:e.id)}))})})]})}),(0,V.jsxs)(g.Z,{open:at,centered:!0,title:(Ke?"修改":"添加")+"视频",destroyOnClose:!0,width:600,getContainer:function(){return _e.current},onCancel:function(){var e;ot(!1),Jt(),Ae({type:"removeVideo",payload:{name:null===(e=Me.videoList)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.name}}),yt({})},okButtonProps:{loading:J},onOk:function(){de.submit()},children:[!Ke&&(0,V.jsx)(_.Z,{getPopupContainer:function(){return _e.current},overlayStyle:{minWidth:90},disabled:Ke,menu:{items:[{key:"1",style:{width:80,alignItems:"center"},label:(0,V.jsx)("a",{onClick:function(){var e;document.getElementById("fileUpload").click(),Jt(),Ae({type:"removeVideo",payload:{name:null===(e=Me.videoList)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.name}})},children:"上传视频"})},{key:"2",label:(0,V.jsx)("a",{onClick:function(){vt("视频项目"),dt(!0)},children:"选择视频"})}]},children:(0,V.jsx)("span",{style:{width:88},className:Ni.selectshixun,children:"选择视频"})}),100==(null===(Z=Me.videoList)||void 0===Z||null===(Z=Z[0])||void 0===Z?void 0:Z.loaded)||null!=gt&&gt.id?(0,V.jsx)("span",{className:"".concat(Ni.videoName," font14"),style:{marginLeft:10},children:(null===(z=Me.videoList)||void 0===z||null===(z=z[0])||void 0===z?void 0:z.name)||(null==gt?void 0:gt.title)}):(null===(D=Me.videoList)||void 0===D||null===(D=D[0])||void 0===D?void 0:D.loaded)>0&&(0,V.jsx)(pe.Z,{style:{width:"70%",marginLeft:10},percent:null===(F=Me.videoList)||void 0===F||null===(F=F[0])||void 0===F?void 0:F.loaded,status:100==(null===(E=Me.videoList)||void 0===E||null===(E=E[0])||void 0===E?void 0:E.loaded)?"normal":"active"}),(0,V.jsxs)(G.Z,{form:de,colon:!1,style:{marginTop:16},labelCol:{span:4},onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v,m,g,y,b;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(null==Me||null===(t=Me.videoList)||void 0===t?void 0:t.length)||null!=gt&&gt.id){e.next=3;break}return x.ZP.info("请上传或选择视频"),e.abrupt("return");case 3:if(!((null==Kn?void 0:Kn.length)<=0)){e.next=6;break}return x.ZP.info("请选择知识点"),e.abrupt("return");case 6:return u=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=9,(0,ee.ZP)(u,{method:"post",body:{node_type:"视频",subject_id:H.pathId,uuid:null===(i=Me.videoList)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.videoId,params:o()({subject_uuid:Tn,subject_id:(null===(a=O.detail)||void 0===a?void 0:a.id)+"",user_id:null==X||null===(l=X.userInfo)||void 0===l?void 0:l.user_id,video_url:null==gt||null===(s=gt.video_detail)||void 0===s?void 0:s.play_url,video_uuid:Ke&&(null==se?void 0:se.id),knowledge_uuid_list:null==Kn?void 0:Kn.map((function(e){return e.key||(null==e?void 0:e.id)}))},n)}});case 9:if(200!==(null==(c=e.sent)?void 0:c.status)){e.next=33;break}return Ke||Wt(),e.next=14,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"视频":"知识点",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 14:if(200!==(null==(f=e.sent)?void 0:f.status)){e.next=27;break}if(ue(null==f?void 0:f.data),!Ke){e.next=27;break}return(g=null==pn||null===(h=pn.results)||void 0===h||null===(h=h[0])||void 0===h||null===(h=h.data)||void 0===h||null===(h=h[0])||void 0===h||null===(h=h.graph)||void 0===h||null===(h=h.nodes)||void 0===h?void 0:h.filter((function(e){return e.id!==se.id}))).push(null==f?void 0:f.data),y=null==g||null===(p=g.filter((function(e){return"知识点"===(null==e?void 0:e.node_type)})))||void 0===p?void 0:p.map((function(e){return e.key})),null==pn||null===(v=pn.results)||void 0===v||null===(v=v[0])||void 0===v||null===(v=v.data)||void 0===v||null===(v=v[0])||void 0===v||null===(v=v.graph)||void 0===v||null===(v=v.relationships)||void 0===v?void 0:v.filter((function(e){return e.endNode!==se.id})),b=null===(m=Kn.filter((function(e){return y.includes(null==e?void 0:e.key)})))||void 0===m?void 0:m.map((function(e){return{id:e.key,startNode:e.key,endNode:se.key,type:"包含"}})),console.log("---",b),e.abrupt("return");case 27:Jt(),Ae({type:"removeVideo",payload:{name:null===(d=Me.videoList)||void 0===d||null===(d=d[0])||void 0===d?void 0:d.name}}),yt({}),ot(!1),Vn([]),Un([]);case 33:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:Kt,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),(0,V.jsx)(G.Z.Item,{label:"视频名称",name:"video_name",rules:[{required:!0,message:"请输入视频名称"}],children:(0,V.jsx)(Y.Z,{})}),(0,V.jsx)(G.Z.Item,{label:"视频描述",name:"video_desc",rules:[{required:!0,message:"请输入视频描述"}],children:(0,V.jsx)(Y.Z.TextArea,{})})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:80,textAlign:"end"},children:"关联知识点"}),(0,V.jsx)("span",{style:{marginLeft:12},className:Ni.selectshixun,onClick:function(){Xn(!0),Vt(!0,"章节")},children:"选择知识点"})]}),(0,V.jsx)("div",{style:{display:"block",alignItems:"center",marginLeft:90},children:null==Kn?void 0:Kn.map((function(e,n){return(0,V.jsxs)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#FFB786",marginTop:14,display:"inline-block",color:"#333333",fontSize:14,marginLeft:0===n?0:16,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:[(0,V.jsx)("span",{children:(null==e?void 0:e.title)||(null==e?void 0:e.name)}),(0,V.jsx)("span",{style:{marginLeft:6},onClick:function(n){n.stopPropagation();var t=null==Kn?void 0:Kn.filter((function(n){return n.key!==e.key}));Un(t)},children:"x"})]})}))})]}),(0,V.jsxs)(g.Z,{open:jt,centered:!0,title:(Ke?"修改":"添加")+"附件",destroyOnClose:!0,width:600,getContainer:function(){return _e.current},onCancel:function(){wt(!1),de.resetFields(),Nt({}),yt({})},okButtonProps:{loading:J},onOk:function(){de.submit()},children:[!Ke&&(0,V.jsx)(_.Z,{getPopupContainer:function(){return _e.current},overlayStyle:{minWidth:90},disabled:Ke,menu:{items:[{key:"1",style:{width:80,alignItems:"center"},label:(0,V.jsx)(ki.Z,{action:"".concat(he.Z.API_SERVER,"/api/attachments.json"),withCredentials:!0,listType:"picture",showUploadList:!1,onChange:function(e){var n;At(null==e||null===(n=e.file)||void 0===n?void 0:n.percent),Nt(null==e?void 0:e.file)},maxCount:1,children:(0,V.jsx)("a",{style:{color:"#333"},children:"上传附件"})})},{key:"2",label:(0,V.jsx)("a",{onClick:function(){vt("教学课件"),dt(!0)},children:"选择附件"})}]},children:(0,V.jsx)("span",{style:{width:88},className:Ni.selectshixun,children:"选择附件"})}),100===Mt||null!=gt&&gt.id?(0,V.jsx)("span",{className:"".concat(Ni.videoName," font14"),style:{marginLeft:10},children:(null==Tt?void 0:Tt.name)||(null==gt?void 0:gt.title)||(null==gt?void 0:gt.filename)}):Mt>0&&(0,V.jsx)(pe.Z,{style:{width:"70%",marginLeft:10},percent:parseInt(Mt),status:100==Mt?"normal":"active"}),(0,V.jsxs)(G.Z,{form:de,colon:!1,style:{marginTop:16},labelCol:{span:4},onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v,g,y,b,_,j,w;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=Tt&&Tt.name||null!=gt&&gt.id){e.next=3;break}return x.ZP.info("请上传或选择附件"),e.abrupt("return");case 3:if(!((null==Kn?void 0:Kn.length)<=0)){e.next=6;break}return x.ZP.info("请选择知识点"),e.abrupt("return");case 6:return u=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=9,(0,ee.ZP)(u,{method:"post",body:{node_type:"附件",subject_id:H.pathId,uuid:null===(t=Me.videoList)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.videoId,params:o()({subject_id:(null===(i=O.detail)||void 0===i?void 0:i.id)+"",user_id:null==X||null===(a=X.userInfo)||void 0===a?void 0:a.user_id,subject_uuid:Tn,attachment_uuid:Ke&&(null==se?void 0:se.id),attachment_id:(null==Tt||null===(l=Tt.response)||void 0===l?void 0:l.id)||(null==gt||null===(s=gt.attachment)||void 0===s?void 0:s.id),knowledge_uuid_list:null==Kn?void 0:Kn.map((function(e){return(null==e?void 0:e.key)||(null==e?void 0:e.id)}))},n)}});case 9:if(200!==(null==(c=e.sent)?void 0:c.status)){e.next=22;break}return Ke||Wt(),e.next=14,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"附件":"知识点",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 14:200===(null==(d=e.sent)?void 0:d.status)&&(ue(null==d?void 0:d.data),Ke&&((y=null==pn||null===(f=pn.results)||void 0===f||null===(f=f[0])||void 0===f||null===(f=f.data)||void 0===f||null===(f=f[0])||void 0===f||null===(f=f.graph)||void 0===f||null===(f=f.nodes)||void 0===f?void 0:f.filter((function(e){return e.id!==se.id}))).push(null==d?void 0:d.data),b=null==y||null===(h=y.filter((function(e){return"知识点"===(null==e?void 0:e.node_type)})))||void 0===h?void 0:h.map((function(e){return e.key})),_=null==pn||null===(p=pn.results)||void 0===p||null===(p=p[0])||void 0===p||null===(p=p.data)||void 0===p||null===(p=p[0])||void 0===p||null===(p=p.graph)||void 0===p||null===(p=p.relationships)||void 0===p?void 0:p.filter((function(e){return e.endNode!==se.id})),j=null===(v=Kn.filter((function(e){return b.includes(null==e?void 0:e.key)})))||void 0===v?void 0:v.map((function(e){return{id:e.key,startNode:e.key,endNode:se.key,type:"包含"}})),w={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(g=m()(y))||void 0===g?void 0:g.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(_),m()(j))}}]}],errors:[]},vn(w))),wt(!1),de.resetFields(),Nt({}),yt({}),Vn([]),Un([]);case 22:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:Kt,accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"}),(0,V.jsx)(G.Z.Item,{rules:[{required:!0,message:"请输入附件名称"}],label:"附件名称",name:"attachment_name",children:(0,V.jsx)(Y.Z,{})}),(0,V.jsx)(G.Z.Item,{label:"附件描述",name:"attachment_desc",rules:[{required:!0,message:"请输入附件描述"}],children:(0,V.jsx)(Y.Z.TextArea,{})})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:80,textAlign:"end"},children:"关联知识点"}),(0,V.jsx)("span",{style:{marginLeft:12},className:Ni.selectshixun,onClick:function(){Xn(!0),Vt(!0,"章节")},children:"选择知识点"})]}),(0,V.jsx)("div",{style:{display:"block",alignItems:"center",marginLeft:90},children:null==Kn?void 0:Kn.map((function(e,n){return(0,V.jsxs)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#FFB786",marginTop:14,display:"inline-block",color:"#333333",fontSize:14,marginLeft:0===n?0:16,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:[(0,V.jsx)("span",{children:(null==e?void 0:e.title)||(null==e?void 0:e.name)}),(0,V.jsx)("span",{style:{marginLeft:6},onClick:function(n){n.stopPropagation();var t=null==Kn?void 0:Kn.filter((function(n){return n.key!==e.key}));Un(t)},children:"x"})]})}))})]}),(0,V.jsxs)(g.Z,{open:jn,title:(Ke?"修改":"添加")+"实训",destroyOnClose:!0,width:600,getContainer:function(){return _e.current},onCancel:function(){wn(!1),An({}),Vn([]),Un([])},onOk:s()(r()().mark((function e(){var n,t,i,a,l,s,u,c,d,f,h,p,v,g,y;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=Mn&&Mn.id){e.next=3;break}return x.ZP.info("请选择实训"),e.abrupt("return");case 3:if(!((null==Kn?void 0:Kn.length)<=0)){e.next=6;break}return x.ZP.info("请选择知识点"),e.abrupt("return");case 6:return i=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=9,(0,ee.ZP)(i,{method:"post",body:{node_type:"实训",subject_id:H.pathId,params:{shixun_id:null==Mn?void 0:Mn.id,shixun_name:(null==Mn?void 0:Mn.title)||(null==Mn?void 0:Mn.name),subject_uuid:Tn,knowledge_uuid_list:null==Kn?void 0:Kn.map((function(e){return e.key||(null==e?void 0:e.id)})),diffculty:(null==Mn?void 0:Mn.level)||(null==Mn?void 0:Mn.diffculty),shixun_uuid:Ke&&se.id,language:null==Mn?void 0:Mn.language,challenge_num:null==Mn?void 0:Mn.challenges_count,shixun_desc:null==Mn?void 0:Mn.description,subject_id:(null===(n=O.detail)||void 0===n?void 0:n.id)+"",shixun_type:null==Mn?void 0:Mn.shixun_type,shixun_url:Ke?null==Mn?void 0:Mn.shixun_url:window.location.origin+"/shixuns/"+(null==Mn?void 0:Mn.identifier)+"/challenges",user_id:null==X||null===(t=X.userInfo)||void 0===t?void 0:t.user_id,challenges:null==Mn?void 0:Mn.challenges}}});case 9:if(200!==(null==(a=e.sent)?void 0:a.status)){e.next=20;break}return Ke||Wt(),e.next=14,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"实训":"知识点",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 14:200===(null==(l=e.sent)?void 0:l.status)&&(ue(null==l?void 0:l.data),Ke&&((h=null==pn||null===(s=pn.results)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.data)||void 0===s||null===(s=s[0])||void 0===s||null===(s=s.graph)||void 0===s||null===(s=s.nodes)||void 0===s?void 0:s.filter((function(e){return e.id!==se.id}))).push(null==l?void 0:l.data),p=null==h||null===(u=h.filter((function(e){return"知识点"===(null==e?void 0:e.node_type)})))||void 0===u?void 0:u.map((function(e){return e.key})),v=null==pn||null===(c=pn.results)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.data)||void 0===c||null===(c=c[0])||void 0===c||null===(c=c.graph)||void 0===c||null===(c=c.relationships)||void 0===c?void 0:c.filter((function(e){return e.endNode!==se.id})),g=null===(d=Kn.filter((function(e){return p.includes(null==e?void 0:e.key)})))||void 0===d?void 0:d.map((function(e){return{id:e.key,startNode:e.key,endNode:se.key,type:"包含"}})),y={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(f=m()(h))||void 0===f?void 0:f.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(v),m()(g))}}]}],errors:[]},vn(y))),wn(!1),An({}),Vn([]),Un([]);case 20:case"end":return e.stop()}}),e)}))),children:[!Ke&&(0,V.jsx)("span",{className:Ni.selectshixun,onClick:function(){Ke||(An({}),R({type:"classroomList/setActionTabs",payload:{key:"选用实践项目",subject_id:H.pathId}}))},children:"选择实训"}),(0,V.jsxs)("div",{children:[(null==Mn?void 0:Mn.id)&&(0,V.jsxs)("div",{children:[(0,V.jsxs)("div",{style:{marginTop:14,display:"flex"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"实训名称"}),(0,V.jsx)("span",{style:{marginLeft:16},children:(null==Mn?void 0:Mn.title)||(null==Mn?void 0:Mn.shixun_name)})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"实训链接"}),(0,V.jsx)("span",{style:{marginLeft:16},children:window.location.origin+"/"+(null==Mn?void 0:Mn.identifier)+"/challenges"})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"实训描述"}),(0,V.jsx)("span",{style:{marginLeft:16},children:(0,V.jsx)("span",{className:Ni.description,dangerouslySetInnerHTML:{__html:(null==Mn?void 0:Mn.description)||(null==Mn?void 0:Mn.shixun_desc)}})})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"难易程度"}),(0,V.jsx)("span",{style:{marginLeft:16},children:(null==Mn?void 0:Mn.level)||(null==Mn?void 0:Mn.diffculty)})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"实训环境"}),(0,V.jsx)("span",{style:{marginLeft:16},children:null==Mn?void 0:Mn.language})]})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"},children:"关联知识点"}),(0,V.jsx)("span",{style:{marginLeft:16},className:Ni.selectshixun,onClick:function(){Xn(!0),Vt(!0,"章节")},children:"选择知识点"})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"block",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#666666",display:"block",minWidth:90,textAlign:"end"}}),null==Kn?void 0:Kn.map((function(e){return(0,V.jsxs)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#FFB786",display:"inline-block",color:"#333333",fontSize:14,marginLeft:16,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:[(0,V.jsx)("span",{children:(null==e?void 0:e.title)||(null==e?void 0:e.name)}),(0,V.jsx)("span",{style:{marginLeft:6},onClick:function(n){n.stopPropagation();var t=null==Kn?void 0:Kn.filter((function(n){return n.key!==e.key}));Un(t)},children:"x"})]})}))]})]})]}),(0,V.jsxs)(g.Z,{title:(Ke?"修改":"添加")+"作业",destroyOnClose:!0,width:600,onOk:function(){de.submit()},onCancel:function(){Yn(!1),de.resetFields(),Vn([]),Un([])},getContainer:function(){return _e.current},open:Qn,children:[(0,V.jsxs)(G.Z,{form:de,colon:!1,onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v,g,y,b;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((null==Kn?void 0:Kn.length)<=0)){e.next=3;break}return x.ZP.info("请选择知识点"),e.abrupt("return");case 3:return a=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=6,(0,ee.ZP)(a,{method:"post",body:{node_type:"作业",subject_id:H.pathId,params:o()(o()({},n),{},{knowledge_uuid_list:null==Kn?void 0:Kn.map((function(e){return e.key||(null==e?void 0:e.id)})),homework_uuid:Ke&&(null==se?void 0:se.id),diffculty:null==Mn?void 0:Mn.level,subject_uuid:Tn,subject_id:(null===(t=O.detail)||void 0===t?void 0:t.id)+"",user_id:null==X||null===(i=X.userInfo)||void 0===i?void 0:i.user_id})}});case 6:if(200!==(null==(l=e.sent)?void 0:l.status)){e.next=17;break}return Ke||Wt(),e.next=11,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"作业":"知识点",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 11:200===(null==(s=e.sent)?void 0:s.status)&&(ue(null==s?void 0:s.data),Ke&&((p=null==pn||null===(u=pn.results)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.data)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.graph)||void 0===u||null===(u=u.nodes)||void 0===u?void 0:u.filter((function(e){return e.id!==se.id}))).push(null==s?void 0:s.data),v=null==p||null===(c=p.filter((function(e){return"知识点"===(null==e?void 0:e.node_type)})))||void 0===c?void 0:c.map((function(e){return e.key})),g=null==pn||null===(d=pn.results)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.data)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.graph)||void 0===d||null===(d=d.relationships)||void 0===d?void 0:d.filter((function(e){return e.endNode!==se.id})),y=null===(f=Kn.filter((function(e){return v.includes(null==e?void 0:e.key)})))||void 0===f?void 0:f.map((function(e){return{id:e.key,startNode:e.key,endNode:se.key,type:"包含"}})),b={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(h=m()(p))||void 0===h?void 0:h.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(g),m()(y))}}]}],errors:[]},vn(b))),Yn(!1),de.resetFields(),Vn([]),Un([]);case 17:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)(G.Z.Item,{name:"homework_type",label:"作业类型",rules:[{required:!0,message:"请选择作业类型"}],children:(0,V.jsxs)(y.ZP.Group,{children:[(0,V.jsx)(y.ZP,{value:"图文作业",children:"图文作业"}),(0,V.jsx)(y.ZP,{value:"分组作业",children:"分组作业"})]})}),(0,V.jsx)(G.Z.Item,{name:"homework_name",label:"作业名称",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入作业名称")}}],children:(0,V.jsx)(Y.Z,{maxLength:60})}),(0,V.jsx)(G.Z.Item,{name:"homework_desc",label:"作业描述",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入作业描述")}}],children:(0,V.jsx)(Y.Z.TextArea,{maxLength:5e3})})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#333333",display:"block",textAlign:"end"},children:"关联知识点"}),(0,V.jsx)("span",{style:{marginLeft:10},className:Ni.selectshixun,onClick:function(){Xn(!0),Vt(!0,"章节")},children:"选择知识点"})]}),(0,V.jsx)("div",{style:{marginTop:14,display:"block",alignItems:"center"},children:(0,V.jsx)("div",{style:{marginLeft:80},children:null==Kn?void 0:Kn.map((function(e,n){return(0,V.jsxs)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#FFB786",color:"#333333",display:"inline-block",fontSize:14,marginLeft:0===n?0:15,marginTop:5,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:[(0,V.jsx)("span",{children:(null==e?void 0:e.title)||(null==e?void 0:e.name)}),(0,V.jsx)("span",{style:{marginLeft:6},onClick:function(n){n.stopPropagation();var t=null==Kn?void 0:Kn.filter((function(n){return n.key!==e.key}));Un(t)},children:"x"})]})}))})})]}),(0,V.jsxs)(g.Z,{title:(Ke?"修改":"添加")+"试题",destroyOnClose:!0,width:800,onOk:function(){de.submit()},onCancel:function(){tt(!1),de.resetFields()},getContainer:function(){return _e.current},open:nt,children:[(0,V.jsxs)(G.Z,{form:de,colon:!1,onFinish:function(){var e=s()(r()().mark((function e(n){var t,i,a,l,s,u,c,d,f,h,p,v,g,y,b;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((null==Kn?void 0:Kn.length)<=0)){e.next=3;break}return x.ZP.info("请选择知识点"),e.abrupt("return");case 3:return a=Ke?"/api/knowledge/mod_node.json":"/api/knowledge/add_node.json",e.next=6,(0,ee.ZP)(a,{method:"post",body:{node_type:"试题",subject_id:H.pathId,params:o()(o()({},n),{},{knowledge_uuid_list:null==Kn?void 0:Kn.map((function(e){return e.key||(null==e?void 0:e.id)})),subject_uuid:Tn,diffculty:null==Mn?void 0:Mn.level,test_uuid:Ke&&se.id,subject_id:(null===(t=O.detail)||void 0===t?void 0:t.id)+"",user_id:null==X||null===(i=X.userInfo)||void 0===i?void 0:i.user_id})}});case 6:if(200!==(null==(l=e.sent)?void 0:l.status)){e.next=17;break}return Ke||Wt(),e.next=11,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:Ke?"试题":"知识点",subject_id:H.pathId,params:{id:null==se?void 0:se.id}}});case 11:200===(null==(s=e.sent)?void 0:s.status)&&(ue(null==s?void 0:s.data),Ke&&((p=null==pn||null===(u=pn.results)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.data)||void 0===u||null===(u=u[0])||void 0===u||null===(u=u.graph)||void 0===u||null===(u=u.nodes)||void 0===u?void 0:u.filter((function(e){return e.id!==se.id}))).push(null==s?void 0:s.data),v=null==p||null===(c=p.filter((function(e){return"知识点"===(null==e?void 0:e.node_type)})))||void 0===c?void 0:c.map((function(e){return e.key})),g=null==pn||null===(d=pn.results)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.data)||void 0===d||null===(d=d[0])||void 0===d||null===(d=d.graph)||void 0===d||null===(d=d.relationships)||void 0===d?void 0:d.filter((function(e){return e.endNode!==se.id})),y=null===(f=Kn.filter((function(e){return v.includes(null==e?void 0:e.key)})))||void 0===f?void 0:f.map((function(e){return{id:e.key,startNode:e.key,endNode:se.key,type:"包含"}})),b={results:[{columns:["user","entity"],data:[{graph:{nodes:null===(h=m()(p))||void 0===h?void 0:h.map((function(e){var n,t;return o()(o()({},e),{},{name:(null==e||null===(n=e.name)||void 0===n?void 0:n.length)>4?(null==e||null===(t=e.name)||void 0===t?void 0:t.substr(0,4))+"...":null==e?void 0:e.name})})),relationships:[].concat(m()(g),m()(y))}}]}],errors:[]},vn(b))),tt(!1),Vn([]),Un([]),de.resetFields();case 17:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,V.jsx)(G.Z.Item,{name:"test_title",label:"试题标题",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入试题标题")}}],children:(0,V.jsx)(Y.Z,{})}),(0,V.jsx)(G.Z.Item,{name:"test_type",label:"试题类型",rules:[{required:!0,message:"请选择作业类型"}],children:(0,V.jsxs)(y.ZP.Group,{children:[(0,V.jsx)(y.ZP,{value:"单选题",children:"单选题"}),(0,V.jsx)(y.ZP,{value:"多选题",children:"多选题"}),(0,V.jsx)(y.ZP,{value:"判断题",children:"判断题"}),(0,V.jsx)(y.ZP,{value:"填空题",children:"填空题"}),(0,V.jsx)(y.ZP,{value:"编程题",children:"编程题"}),(0,V.jsx)(y.ZP,{value:"简答题",children:"简答题"}),(0,V.jsx)(y.ZP,{value:"组合题",children:"组合题"}),(0,V.jsx)(y.ZP,{value:"实训题",children:"实训题"}),(0,V.jsx)(y.ZP,{value:"程序填空题",children:"程序填空题"})]})}),(0,V.jsx)(G.Z.Item,{name:"test_content",label:"试题描述",rules:[{required:!0,validator:function(e,n){var t;return(null==n||null===(t=n.replaceAll(" ",""))||void 0===t?void 0:t.length)>0?Promise.resolve():Promise.reject("请输入作业描述")}}],children:(0,V.jsx)(ct.Z,{watch:!0,defaultValue:de.getFieldValue("test_content")})})]}),(0,V.jsxs)("div",{style:{marginTop:14,display:"flex",alignItems:"center"},children:[(0,V.jsx)("label",{style:{color:"#333333",display:"block",textAlign:"end"},children:"关联知识点"}),(0,V.jsx)("span",{style:{marginLeft:10},className:Ni.selectshixun,onClick:function(){Xn(!0),Vt(!0,"章节")},children:"选择知识点"})]}),(0,V.jsx)("div",{style:{marginTop:14,display:"block",alignItems:"center"},children:(0,V.jsx)("div",{style:{marginLeft:80},children:null==Kn?void 0:Kn.map((function(e,n){return(0,V.jsxs)("span",{onClick:s()(r()().mark((function n(){var t;return r()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,ee.ZP)("/api/knowledge/get_node_detail.json",{method:"post",body:{node_type:"知识点",subject_id:H.pathId,params:{id:null==e?void 0:e.key}}});case 2:200===(null==(t=n.sent)?void 0:t.status)&&ue(null==t?void 0:t.data);case 4:case"end":return n.stop()}}),n)}))),style:{background:"#FFB786",color:"#333333",display:"inline-block",fontSize:14,marginLeft:0===n?0:15,marginTop:5,padding:"2px 16px",borderRadius:"15px",cursor:"pointer"},children:[(0,V.jsx)("span",{children:(null==e?void 0:e.title)||(null==e?void 0:e.name)}),(0,V.jsx)("span",{style:{marginLeft:6},onClick:function(n){n.stopPropagation();var t=null==Kn?void 0:Kn.filter((function(n){return n.key!==e.key}));Un(t)},children:"x"})]})}))})})]}),(0,V.jsx)(nr,{setScoreShow:dt,ScoreShow:ut,modalType:pt,onOk:function(e){var n;Jt(),Ae({type:"removeVideo",payload:{name:null===(n=Me.videoList)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.name}}),yt(e)},subjectId:H.pathId}),(0,V.jsx)(g.Z,{title:"选择知识点",open:En,destroyOnClose:!0,onCancel:function(){Vn([]),Xn(!1)},onOk:function(){Un(qn),Xn(!1)},children:(0,V.jsx)("div",{style:{maxHeight:500,overflow:"auto"},children:(0,V.jsx)(L.Z,{checkable:!0,autoExpandParent:!0,defaultExpandAll:!0,checkedKeys:null==qn?void 0:qn.map((function(e){return e.key})),onCheck:function(e,n){Vn(n.checkedNodes)},treeData:Zn})})}),(0,V.jsx)(g.Z,{title:"历史记录",open:cn,getContainer:function(){return _e.current},onCancel:function(){return dn(!1)},footer:!1,children:(0,V.jsx)("div",{style:{maxHeight:300,overflow:"auto",padding:10},children:(0,V.jsx)(Ve(),{initialLoad:!1,pageStart:1,threshold:20,loadMore:s()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ln(on+1),e.next=3,(0,ee.ZP)("/api/knowledge_graphs/history.json",{method:"get",params:{identifier:H.pathId,limit:10,page:on+1}});case 3:0===(n=e.sent).status&&(Ye([].concat(m()(Qe),m()(null==n?void 0:n.histories))),(null==n||null===(t=n.histories)||void 0===t?void 0:t.length)<10&&tn(!1));case 5:case"end":return e.stop()}}),e)}))),hasMore:nn,useWindow:!1,children:(0,V.jsx)(Pi.Z,{dataSource:Qe,renderItem:function(e){return(0,V.jsx)(Pi.Z.Item,{children:(0,V.jsx)(Pi.Z.Item.Meta,{avatar:(0,V.jsx)(Ti.C,{src:he.Z.IMG_SERVER+"/images/"+e.avatar_url}),title:(0,V.jsxs)("div",{style:{display:"inline-flex",width:"100%"},children:[(0,V.jsxs)("span",{style:{flex:1,display:"inline-flex"},children:[" ",e.real_name]})," ",(0,V.jsx)("div",{children:e.created_at})]}),description:e.content})},e.id)}})})})})]})})),or={flex_box_center:"flex_box_center___zI_82",flex_space_between:"flex_space_between___c8p6y",flex_box_vertical_center:"flex_box_vertical_center___OQMX2",flex_box_center_end:"flex_box_center_end___TDCTp",flex_box_column:"flex_box_column___TBe9v",bg:"bg___B_tAL",AllButStyle:"AllButStyle___gHlx_",ButStyles:"ButStyles___QnHEw",order:"order___p1oR4",payed:"payed___clmo_",study:"study___xKiY_",studyActive:"studyActive___OL576",Head:"Head___A9J68",Headtitle:"Headtitle___HvFxg",span2:"span2___L0TMM",Headprice:"Headprice___RXYrD",nowPrice:"nowPrice___cv3Ok",initPrice:"initPrice___EXuC3",Swiper:"Swiper___sDGem",BannerListItemDiv:"BannerListItemDiv___asTuk",BannerListItem:"BannerListItem___NwQOT",BannerListItemImg:"BannerListItemImg___mD5FK",bgimg:"bgimg___PFwp4",buyimg:"buyimg___QLVI_",curCourse:"curCourse___ExJPE",BannerListItemInfo:"BannerListItemInfo___Vio14",BannerListItemInfoTitle:"BannerListItemInfoTitle___FiU8N",BannerListItemInfoTeacher:"BannerListItemInfoTeacher___aifjQ",BannerListItemInfoTime:"BannerListItemInfoTime___qez5r",timeprice:"timeprice___dqmp8",span:"span___UhhBA",BannerListItemInfoTime2:"BannerListItemInfoTime2___Zm2lP",span1:"span1___AXdGP",expansion:"expansion___t6EwU"},lr=["pathsDetail","globalSetting","user","loading","dispatch"],sr=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.loading;return{pathsDetail:n,globalSetting:e.globalSetting,loading:t,user:e.user}}))((function(e){e.pathsDetail,e.globalSetting;var n=e.user,t=(e.loading,e.dispatch,f()(e,lr),(0,h.useState)([])),i=c()(t,2),a=i[0],o=i[1],l=(0,p.useSearchParams)(),u=c()(l,1)[0],d=(0,p.useParams)(),v=(0,h.useState)(!1),x=c()(v,2),g=x[0],y=x[1],_=function(){var e=s()(r()().mark((function e(){var t,i,a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.next=3,(0,ee.ZP)("/api/paths/".concat(d.pathId,"/packages_list.json"),{method:"get",params:{identifier:null==n||null===(t=n.userInfo)||void 0===t?void 0:t.login,id:d.pathId}});case 3:i=e.sent,y(!1),0==i.status&&o(null==i||null===(a=i.data)||void 0===a?void 0:a.map((function(e){return e.isFull=!1,e})));case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,h.useEffect)((function(){_()}),[]);var j=function(){var e=s()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.ZP)("/api/payments.json",{method:"POST",body:{subject_package_id:n,payment_method:"wechat_qr"}});case 2:null!=(t=e.sent)&&t.num&&window.open(u.get("userid")?"/order/".concat(d.pathId,"/pay?order_num=").concat(null==t?void 0:t.num,"&userid=").concat(u.get("userid")):"/order/".concat(d.pathId,"/pay?order_num=").concat(null==t?void 0:t.num));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,V.jsx)($.Z,{spinning:g,children:(null==a?void 0:a.length)>0?null==a?void 0:a.map((function(e){return t=e,(0,V.jsxs)("section",{style:{marginBottom:"26px",backgroundColor:"#fff"},children:[(0,V.jsxs)("div",{className:or.Head,children:[(0,V.jsxs)("div",{className:or.Headtitle,children:[(0,V.jsx)("span",{title:null==t?void 0:t.package_name,style:{display:"inline-block",maxWidth:"260px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1},children:null==t?void 0:t.package_name}),(0,V.jsxs)("span",{className:or.span2,children:["(共 ",(0,V.jsx)("span",{style:{color:"#333"},children:null==t?void 0:t.subject_count})," 门课程)"]})]}),(0,V.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end"},children:[(0,V.jsxs)("div",{className:or.Headprice,children:[(0,V.jsx)("span",{children:"套餐价格:"}),(0,V.jsxs)("span",{className:or.nowPrice,children:["¥",parseInt(null===(i="".concat(null==t?void 0:t.package_price))||void 0===i||null===(i=i.split("."))||void 0===i?void 0:i[1])>0?null==t?void 0:t.package_price:null===(r="".concat(null==t?void 0:t.package_price))||void 0===r||null===(r=r.split("."))||void 0===r?void 0:r[0]]}),(0,V.jsxs)("span",{className:or.initPrice,children:["¥",parseInt(null===(l="".concat(null==t?void 0:t.package_origin_price))||void 0===l||null===(l=l.split("."))||void 0===l?void 0:l[1])>0?null==t?void 0:t.package_origin_price:null===(s="".concat(null==t?void 0:t.package_origin_price))||void 0===s||null===(s=s.split("."))||void 0===s?void 0:s[0]]})]}),(0,V.jsx)("div",{className:or.AllButStyle,children:(0,V.jsxs)(k.ZP,{className:null!=t&&t.is_payed?"".concat(or.payed):"".concat(or.order),onClick:function(){null!=t&&t.is_payed?p.history.push("/users/".concat(null==n?void 0:n.userInfo.login,"/paths?category=payed")):j(null==t?void 0:t.id)},children:[null!=t&&t.is_payed?"已购买":"立即购买"," "]})})]})]}),(0,V.jsx)("div",{className:t.isFull?"".concat(or.Swiper):"".concat(or.Swiper," ").concat(or.expansion),children:null==t||null===(u=t.subjects)||void 0===u?void 0:u.map((function(e,n){var t,i,r,a;return(0,V.jsx)("div",{style:{width:"232px",marginRight:(1+n)%3==0?0:22},className:or.BannerListItemDiv,children:(0,V.jsx)("div",{className:or.BannerListItem,children:(0,V.jsxs)("div",{onClick:function(){return window.open("/paths/".concat(e.identifier))},children:[(0,V.jsxs)("div",{className:or.BannerListItemImg,children:[(0,V.jsx)("img",{className:or.bgimg,src:"".concat(e.image_url)}),(null==e?void 0:e.user_paid_subject)&&(0,V.jsx)("img",{className:or.buyimg,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAgCAYAAACM2F8WAAAAAXNSR0IArs4c6QAAETlJREFUaEONWgmYVNWV/t+r7mro6o1eWBsaaDQq0iwKCriQMCYsxhgVZohhAqKCIJpxlOjMRCczThI1iaMZcSK0CE5gYjtoMKjsCLjQOGl1JgIqKNILvUN3A71U1Zvv3HvOvfdV9yQpP6yqt/Wr//3nP/8553oAULZnZXEQ9Dzue/4MwBvi+T48zwv9g+fB93x4vgfAg/q/cxxtUFvpON8HgkDtp+90bMDfUz/TWUCAZDLQH9XVgSQdT+/JpLoPeqdr0isZ0Gd9TXrRu+ynz/pfkt/5e9J+V8fyeeZYtZ+uZY+jDXSsvaY6AIlEQt2z+vsB6oIg2OslvVU1391c7RGYyUT3h57n5xNYnufD9xxgCCb1VYOsAdPv9J1Als/yEDQsDLj6oI8LFAp6u/qQ+uJNdFzA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Qnw1xeMdKXlgorZdDmjnFl3ZN0lvS7zOBTVov0EeZ2oVjKyjpHHsQZGMPP8qB0PPDqkkju9TP8VTU3b67+P9VNUKojaIUNAAAAAElFTkSuQmCC"}),(null==e?void 0:e.is_current_subject)&&(0,V.jsx)("span",{className:or.curCourse,children:"当前课程"})]}),(0,V.jsxs)("div",{className:or.BannerListItemInfo,children:[(0,V.jsx)(b.Z,{placement:"topLeft",title:e.name,children:(0,V.jsx)("div",{className:or.BannerListItemInfoTitle,children:e.name})}),(0,V.jsxs)("div",{className:or.BannerListItemInfoTeacher,children:["讲师:",e.teacher]}),(0,V.jsxs)("div",{className:"".concat(or.BannerListItemInfoTime," ").concat(or.BannerListItemInfoTime2),children:[(0,V.jsxs)("div",{className:or.span1,children:[e.learn_count/1e4>1?(e.learn_count/1e4).toFixed(1)+"W":e.learn_count,"人正在学"]}),(0,V.jsx)("div",{className:"".concat(or.timeprice),children:(0,V.jsxs)("div",{className:or.span,children:[(0,V.jsx)("span",{className:or.qianfuhao,children:"¥"}),e.is_discount?parseInt(null==e||null===(t=e.price)||void 0===t?void 0:t.split(".")[1])>0?null==e?void 0:e.price:null==e||null===(i=e.price)||void 0===i?void 0:i.split(".")[0]:parseInt(null==e||null===(r=e.origin_price)||void 0===r?void 0:r.split(".")[1])>0?null==e?void 0:e.origin_price:null==e||null===(a=e.origin_price)||void 0===a?void 0:a.split(".")[0]]})})]})]})]})})},n)}))}),(0,V.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",color:"#82A8FF",paddingBottom:"20px"},children:(null==t||null===(c=t.subjects)||void 0===c?void 0:c.length)>3&&(0,V.jsxs)("div",{onClick:function(){t.isFull=!t.isFull,o(m()(a))},children:[(0,V.jsx)("span",{className:"current",style:{marginRight:"6px"},children:t.isFull?"收起":"展开"}),(0,V.jsx)("span",{className:"current",children:(0,V.jsx)("i",{className:t.isFull?"iconfont icon-shouqi5":"iconfont icon-xiala4",style:{fontSize:"8px"}})})]})})]});var t,i,r,l,s,u,c})):(0,V.jsx)(Wn.Z,{})})})),ur="bg___sN_Hy",cr="wrap___IaIuZ",dr="content___q5lPL",fr="wrapTabs___FivJx",hr="intro___lW9Kf",pr="introTitle___y5V_M",vr=["pathsDetail","globalSetting","loading","dispatch"],mr=Rn.Z.TabPane;function xr(e){var n=e.target,t=function(e,n){if(e.localName===n)return e;for(var t=0,i=e;i=i.parentNode;t++){if(i.localName===n)return i;if(i==document.documentElement)return!1}}(n,"a");if(console.log([t],null==t?void 0:t.href,44),(null==t||!t.href)&&"IMG"===n.tagName.toUpperCase()){var i=n.src||n.getAttribute("src");i&&-1===i.indexOf("/images/avatars/User")&&(e.stopPropagation(),e.preventDefault(),pn.Z.publish("preview-image",i))}}var gr=(0,p.connect)((function(e){var n=e.pathsDetail,t=e.loading;return{pathsDetail:n,globalSetting:e.globalSetting,loading:t}}))((function(e){var n,t,i,a=e.pathsDetail,l=(e.globalSetting,e.loading,e.dispatch),u=(f()(e,vr),(0,p.useSearchParams)()),d=c()(u,1)[0],v=(0,p.useParams)(),m=(0,h.useRef)(),x=(0,h.useState)(""),g=c()(x,2),y=g[0],b=g[1],_=[{name:"课程章节",key:"stage"},{name:"排行榜",key:"ranking"},{name:"证书申请",key:"certificate"},{name:"科教资源图谱",key:"atlas"},{name:"知识图谱",key:"knowledge"},{name:"套餐列表",key:"Combination",extra:"优惠"}].filter((function(e){var n,t;return!!(null!==(n=a.detail)&&void 0!==n&&n.excellent||!1===(null===(t=a.detail)||void 0===t?void 0:t.is_free))||"certificate"!==e.key})).filter((function(e){var n,t;return!(null===(n=a.detail)||void 0===n||!n.atlas_data||null===(t=a.detail)||void 0===t||null===(t=t.atlas_data)||void 0===t||!t.nodes)||"atlas"!==e.key})).filter((function(e){var n,t;return!(!1!==(null===(n=a.detail)||void 0===n?void 0:n.is_free)||null===(t=a.detail)||void 0===t||!t.is_has_package)||"Combination"!==e.key})).filter((function(e){var n,t;return!1!==(null===(n=a.detail)||void 0===n?void 0:n.is_free)||!1!==(null===(t=a.detail)||void 0===t?void 0:t.show_chapter)||"stage"!==e.key})).filter((function(e){var n,t;return!1!==(null===(n=a.detail)||void 0===n?void 0:n.is_free)||!1!==(null===(t=a.detail)||void 0===t?void 0:t.show_charts)||"ranking"!==e.key})).filter((function(e){var n,t;return!1!==(null===(n=a.detail)||void 0===n?void 0:n.is_free)||!1!==(null===(t=a.detail)||void 0===t?void 0:t.show_cert_apply)||"certificate"!==e.key})).filter((function(e){var n,t;return!1!==(null===(n=a.detail)||void 0===n?void 0:n.is_free)||!1!==(null===(t=a.detail)||void 0===t?void 0:t.show_knowledge_graph)||"knowledge"!==e.key})),j=(0,h.useState)(d.get("activeKey")||(null===(n=_[0])||void 0===n?void 0:n.key)),w=c()(j,2),k=w[0],P=w[1];(0,h.useEffect)((function(){if(m.current)return m.current.addEventListener("mousedown",xr),function(){var e;null===(e=m.current)||void 0===e||e.removeEventListener("mousedown",xr)}}),[m.current]),(0,h.useEffect)((function(){v.pathId&&T()}),[v.pathId]),(0,h.useEffect)((function(){var e,n;(0,H.Dk)(null===(e=a.detail)||void 0===e?void 0:e.name),P(d.get("activeKey")||(null===(n=_[0])||void 0===n?void 0:n.key))}),[a]);var T=function(){var e=s()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({type:"pathsDetail/getPathsDetail",payload:o()({id:v.pathId},(0,H.oP)())});case 2:n=e.sent,l({type:"pathsDetail/getRightData",payload:{id:v.pathId}}),l({type:"pathsDetail/getStageData",payload:{subject_id:v.pathId}}),null!=n&&n.id&&d.get("token")&&(location.href=location.pathname);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,V.jsx)($.Z,{spinning:!1,children:(0,V.jsxs)("section",{className:ur,children:[(0,V.jsx)(fe,{}),(0,V.jsx)(At.Z,{}),(0,V.jsxs)("section",{style:{marginTop:(null===(t=a.detail)||void 0===t?void 0:t.excellent)&&"89px"},className:"edu-container pb80 ".concat(cr),children:[(0,V.jsxs)("aside",{className:dr,children:[(0,V.jsxs)("div",{className:hr,children:[(0,V.jsx)("div",{className:pr,children:(0,V.jsxs)("span",{className:"font16",style:{display:"flex",alignItems:"center"},children:[(0,V.jsx)("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAO9JREFUOBFj3H//P8ePj//a/jMyRDH8/y/uZcDCyAAEoZP//QfRxAHG54yMDIv+izHUsYANY/hfyECCdkxL/kv+/89QzviKkYGFgZEhGpdhEvwMDJNiwQ6Gm5G3+D/Di49wLgoDaGgc0///QIdSDfyXZKKaWVCDiDLwxUeQN4kLZBZ8LgSGCcP2i/8Zlh6HqIq2/A9MCPh0MAAjBQ94+YmBYf5hhAJkNkIUlUWUl1G14OeNGog/fIiRHQ1DYkIJvxomRgbG5/iVkCLL+BxoIMMiUrTgUwsqtVlkWZnqHv/+Bypj44BZXxKfBtxyiCoAAHADSWb7p5YAAAAAAElFTkSuQmCC",style:{marginRight:"10px"}}),"课程介绍"]})}),(0,V.jsx)("div",{ref:m,children:(0,V.jsx)(le.Z,{value:null===(i=a.detail)||void 0===i?void 0:i.description})})]}),(null==_?void 0:_.length)>0&&(0,V.jsx)(Rn.Z,{className:fr,activeKey:k,onChange:function(e){return P(e)},tabBarGutter:50,tabBarStyle:{height:76},tabBarExtraContent:"stage"===k?(0,V.jsx)(hi.t7,{style:{width:222,backgroundColor:"#fff"},placeholder:"请输入名称进行搜索",onChange:function(e){var n;b(null===(n=decodeURIComponent(e))||void 0===n?void 0:n.trim())}}):"",children:_.map((function(e){return(0,V.jsx)(mr,{tab:null!=e&&e.extra?(0,V.jsxs)("span",{style:{position:"relative"},children:[(0,V.jsx)("span",{children:e.name}),(0,V.jsx)("span",{style:{position:"absolute",top:"0",left:"72px",display:"inline-block",width:"32px",height:"16px",lineHeight:"16px",textAlign:"center",backgroundColor:"#FF0000",borderRadius:"8px",fontSize:"12px",color:"#fff"},children:e.extra})]}):e.name},e.key)}))}),"stage"===k&&(0,V.jsx)(di,{keywords:y}),"ranking"===k&&(0,V.jsx)(bi,{}),"certificate"===k&&(0,V.jsx)(gi,{}),"atlas"===k&&(0,V.jsx)(wi,{}),"knowledge"===k&&(0,V.jsx)(ar,{}),"Combination"===k&&(0,V.jsx)(sr,{})]}),(0,V.jsx)(gn,{})]})]})})}))},3883:function(e,n,t){"use strict";function i(e){try{e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()}catch(e){console.log(e,":e")}}function r(){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()}t.d(n,{BU:function(){return r},Dj:function(){return i},gH:function(){return a},vp:function(){return o}});var a=function(){return document.webkitExitFullscreen?"webkitfullscreenchange":document.exitFullscreen?"fullscreenchange":document.msExitFullscreen?"msfullscreenchange":document.mozCancelFullScreen?"mozfullscreenchange":void 0};function o(){var e=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement;document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",e),null!=e}},99436:function(e,n){"use strict";n.Z={flex_box_center:"flex_box_center___iyIe6",flex_space_between:"flex_space_between___g2WjG",flex_box_vertical_center:"flex_box_vertical_center___Tde0v",flex_box_center_end:"flex_box_center_end___W1D5W",flex_box_column:"flex_box_column___ZiFvs",bg:"bg___T2R2s",containerTitle:"containerTitle___yARn_",containerDesc:"containerDesc___fKSYF",menus:"menus___e8wtg",listItem:"listItem___s7xhg",info:"info___Hx2bW",title:"title___W7a1R",titleLeft:"titleLeft___C5r0w",titleRight:"titleRight___g5GZv",acitons:"acitons___H0RU0",move:"move___qYkSy",hideHeadCheckbox:"hideHeadCheckbox___Hq5gw",moveCategory:"moveCategory___bZSGQ",tabSearch:"tabSearch___NaKI4",warpModal:"warpModal___HLUgh",modalColumn:"modalColumn___F7R5w",modalRow:"modalRow___L6ghw",sup:"sup___VGKXV"}}}]);