!(function(){var ag=Object.defineProperty,og=Object.defineProperties;var ig=Object.getOwnPropertyDescriptors;var sd=Object.getOwnPropertySymbols;var Gd=Object.prototype.hasOwnProperty,_d=Object.prototype.propertyIsEnumerable;var zd=(An,zt,ve)=>zt in An?ag(An,zt,{enumerable:!0,configurable:!0,writable:!0,value:ve}):An[zt]=ve,bu=(An,zt)=>{for(var ve in zt||(zt={}))Gd.call(zt,ve)&&zd(An,ve,zt[ve]);if(sd)for(var ve of sd(zt))_d.call(zt,ve)&&zd(An,ve,zt[ve]);return An},Fd=(An,zt)=>og(An,ig(zt));var Wd=(An,zt)=>{var ve={};for(var he in An)Gd.call(An,he)&&zt.indexOf(he)<0&&(ve[he]=An[he]);if(An!=null&&sd)for(var he of sd(An))zt.indexOf(he)<0&&_d.call(An,he)&&(ve[he]=An[he]);return ve};(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},89489:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},59477:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},26227:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},49198:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},87169:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},52671:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},8657:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},56082:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},33853:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},15075:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},43531:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},38819:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},95869:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Be}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(ue,Oe){return we.createElement(Ge.Z,(0,he.Z)({},ue,{ref:Oe,icon:nt}))},pe=we.forwardRef(He),Be=pe},21697:function(An,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},20397:function(){"use strict";function An(oe,y,a,E){a===void 0&&(a=0),E===void 0&&(E=1/0),this._name=oe,this._defaultValue=y,this._minimum=a,this._maximum=E}Object.defineProperty(An.prototype,"name",{get:function(){return this._name},set:function(oe){if(typeof oe!="string"||oe==="")throw new Error("Shape name must be a valid string.");this._name=oe}}),Object.defineProperty(An.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("The default value must be a real number, not: "+oe);this._defaultValue=oe}}),Object.defineProperty(An.prototype,"minimum",{get:function(){return this._minimum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Minimum must be a real number, not: "+oe);this._minimum=oe}}),Object.defineProperty(An.prototype,"maximum",{get:function(){return this._maximum},set:function(oe){if(typeof oe!="number"||isNaN(oe))throw new Error("Maximum must be a real number, not: "+oe);this._maximum=oe}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(oe,y){var a=go.Shape._FigureParameters[oe];return a?a[y]:null},go.Shape.setFigureParameter=function(oe,y,a){if(!(a instanceof An))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[oe];E||(E=[],go.Shape._FigureParameters[oe]=E),E[y]=a};var zt=[];function ve(oe,y){var a=zt.pop();return a===void 0?new go.Point(oe,y):(a.x=oe,a.y=y,a)}function he(){var oe=zt.pop();return oe===void 0?new go.Point:oe}function we(oe){zt.push(oe)}function Me(oe,y,a,E,b,x,z,ne,le){le||(le=new go.Point);var xe=oe-a,Ee=b-z,Qe=NaN,We=NaN;if(xe===0)if(Ee===0)oe===a&&(Qe=oe,We=y);else{var Ve=(x-ne)/Ee,tt=x-Ve*b;Qe=oe,We=Ve*Qe+tt}else if(Ee===0){var ke=(y-E)/xe,Ft=y-ke*oe;Qe=b,We=ke*Qe+Ft}else{var ke=(y-E)/xe,Ve=(x-ne)/Ee,Ft=y-ke*oe,tt=x-Ve*b;Qe=(tt-Ft)/(ke-Ve),We=ke*Qe+Ft}return le.x=Qe,le.y=We,le}function nt(oe,y,a,E,b,x,z,ne,le,xe,Ee,Qe,We,Ve){var tt=1-le,ke=le,Ft=oe*tt+a*ke,Te=y*tt+E*ke,kt=a*tt+b*ke,st=E*tt+x*ke,At=b*tt+z*ke,Dt=x*tt+ne*ke,gt=Ft*tt+kt*ke,xt=Te*tt+st*ke,ft=kt*tt+At*ke,it=st*tt+Dt*ke,en=gt*tt+ft*ke,rn=xt*tt+it*ke;xe.x=Ft,xe.y=Te,Ee.x=gt,Ee.y=xt,Qe.x=en,Qe.y=rn,We.x=ft,We.y=it,Ve.x=At,Ve.y=Dt}var Ge=new go.Spot(.156,.156),He=new go.Spot(.844,.844),pe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new An("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*pe,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(oe,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(oe,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=Ge,b.spot2=He,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(oe,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,pe*y,0,y,(1-pe)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,pe*a,(1-pe)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,pe*a,pe*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-pe)*y,0,0,(1-pe)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new An("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ne,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ne,ne).close())),x.spot1=Ge,x.spot2=He,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(oe,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new An("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new An("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(oe,y,a){var E=oe?oe.parameter1:NaN,b=oe?oe.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var z=b%360,ne=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ne,ne).add(new go.PathSegment(go.PathSegment.Arc,x,z,ne,ne,ne,ne).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(oe,y,a){var E=pe/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new An("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new An("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new An("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(oe,y,a){var E=oe?oe.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,z=a/2,ne=Math.atan2(a,y),le=E-Math.min(Math.cos(ne)*E/2,x),xe=E-Math.min(Math.sin(ne)*E/2,z),b=new go.Geometry,Ee=new go.PathFigure(le,0,!0);return b.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,y-le,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,xe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,y,a-xe)),Ee.add(new go.PathSegment(go.PathSegment.Line,y-le,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,le,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a-xe)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,xe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new An("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new An("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new An("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,pe*y,0,y,(.5-pe/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+pe/2)*a,pe*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ne=0,le=x*pe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+le+ne)*a,(.5-le+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+le+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+le+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-le+ne)*a,(.5+le+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-le+z)*y,(.5-x+ne)*a,(.5-x+z+.05)*y,(.5-le+ne-.02)*a)),x=.2,z=0,ne=-.3,le=x*pe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ne)*a,(.5+le+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+le+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z)*y,(.5-le+ne)*a,(.5+le+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-le+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-le+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-le+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+le+ne)*a,(.5-le+z)*y,(.5+x+ne)*a)),x=.2,z=-.3,ne=0,le=x*pe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ne)*a,(1-.5+x+z-.05)*y,(.5-le+ne-.02)*a,(.5+le+z)*y,(.5-x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ne)*a,(.5-le+z)*y,(.5-x+ne)*a,(.5-x+z)*y,(.5-le+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ne)*a,(.5-x+z)*y,(.5+le+ne)*a,(.5-le+z)*y,(.5+x+ne)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+le+z)*y,(.5+x+ne)*a,(.5+x+z)*y,(.5+le+ne)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ne=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ne*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ne,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ne=.75,b=new go.PathFigure((z+x)*y,ne*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ne,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(oe,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=.5,z=.5,ne=.5,le=new go.PathFigure(z*y,(ne-x)*a);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),x=.4,b=pe*.4;var xe=he(),Ee=he(),Qe=he(),We=he();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.42,xe,Ee,Qe,We,We);var Ve=he(),tt=he(),ke=he();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.58,We,We,ke,Ve,tt);var Ft=he(),Te=he(),kt=he();nt(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.42,Ft,Te,kt,We,We);var st=he(),At=he(),Dt=he();return nt(z,ne+x,z-b,ne+x,z-x,ne+b,z-x,ne,.58,We,We,Dt,st,At),le.add(new go.PathSegment(go.PathSegment.Move,Dt.x*y,Dt.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,st.x*y,st.y*a,At.x*y,At.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Qe.x*y,Qe.y*a,xe.x*y,xe.y*a,Ee.x*y,Ee.y*a)),le.add(new go.PathSegment(go.PathSegment.Line,Dt.x*y,Dt.y*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,kt.x*y,kt.y*a)),le.add(new go.PathSegment(go.PathSegment.Line,ke.x*y,ke.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ve.x*y,Ve.y*a,tt.x*y,tt.y*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,kt.x*y,kt.y*a,Ft.x*y,Ft.y*a,Te.x*y,Te.y*a).close()),we(xe),we(Ee),we(Qe),we(We),we(Ve),we(tt),we(ke),we(Ft),we(Te),we(kt),we(st),we(At),we(Dt),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new An("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(oe,y,a){var E=new go.Geometry,b=pe*.4,x=.4,z=.5,ne=.5,le=he(),xe=he(),Ee=he(),Qe=he(),We=new go.PathFigure((z-x)*y,ne*a,!1);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.44,Ee,Qe,xe,le,le),We.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a));var Ve=ve(xe.x,xe.y);nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.56,le,le,xe,Ee,Qe);var tt=ve(xe.x,xe.y);We.add(new go.PathSegment(go.PathSegment.Line,(Ve.x*.1+.95*.9)*y,Ve.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ve.y*.1*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,0)),We.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,.15*a)),We.add(new go.PathSegment(go.PathSegment.Line,(tt.x*.1+.9)*y,(tt.y*.1+.05*.9)*a)),We.add(new go.PathSegment(go.PathSegment.Line,tt.x*y,tt.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),x=.35,b=pe*.35;var ke=new go.PathFigure(z*y,(ne-x)*a,!1);E.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a));var Ft=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(Ft),we(le),we(xe),we(Ee),we(Qe),we(Ve),we(tt),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(oe,y,a){var E=new go.Geometry,b=.375,x=0,z=-.125,ne=b*pe,le=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ne+z)*a,(.5+ne+x)*y,(.5-b+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,(.5+b+z)*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),le.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),le.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,z=-.125,ne=b*pe;var le=new go.PathFigure((1-.5+b+x)*y,(.5+z)*a,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+z)*a,(.5+b+x)*y,(.5+ne+z)*a,(.5+ne+x)*y,(.5+b+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5+b+z)*a,(.5-b+x)*y,(.5+ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a,(.5-ne+x)*y,(.5-b+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+z)*a,(.5+ne+x)*y,(.5-b+z)*a,(1-.5+b+x)*y,(.5-ne+z)*a));var le=new go.PathFigure((.525+x)*y,(.5+b+z)*a,!1);return E.add(le),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(oe,y,a){var E=oe?oe.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(oe,y,a){var E=oe?oe.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(oe,y,a){var E=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(oe,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(oe,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new An("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new An("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,z=(.5-b/2)*a,ne=(.5+b/2)*a,le=new go.Geometry,xe=new go.PathFigure(0,z,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,x,z)),xe.add(new go.PathSegment(go.PathSegment.Line,x,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,x,a)),xe.add(new go.PathSegment(go.PathSegment.Line,x,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),le.spot1=new go.Spot(0,z/a);var Ee=Me(0,ne/a,1,ne/a,x/y,1,1,.5,he());return le.spot2=new go.Spot(Ee.x,Ee.y),we(Ee),le}),go.Shape.setFigureParameter("Arrow2",0,new An("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new An("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,z=(a-b)/2,ne=z+b,le=new go.Geometry,xe=new go.PathFigure(0,z,!0);le.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,x,z)),xe.add(new go.PathSegment(go.PathSegment.Line,x,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,x,a)),xe.add(new go.PathSegment(go.PathSegment.Line,x,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),le.spot1=new go.Spot(0,z/a);var Ee=Me(0,ne/a,1,ne/a,x/y,1,1,.5,he());return le.spot2=new go.Spot(Ee.x,Ee.y),we(Ee),le}),go.Shape.defineFigureGenerator("Chevron",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new An("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var le=Me(0,.5,.3,0,0,b/a,.1,b/a,he());return z.spot1=new go.Spot(le.x,le.y),le=Me(.7,1,1,.5,0,x/a,1,x/a,le),z.spot2=new go.Spot(le.x,le.y),we(le),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new An("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new An("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=40);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ne=(a-b)/2,le=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,le=a):(x=0,z=a,ne=0,le=a));var xe=new go.Geometry,Ee=new go.PathFigure(y,.5*a,!0);xe.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close());var Qe=Me(0,.5,.3,ne/a,0,x/a,1,x/a,he());return xe.spot1=new go.Spot(Qe.x,Qe.y),Qe=Me(.7,le/a,1,.5,0,z/a,1,z/a,Qe),xe.spot2=new go.Spot(Qe.x,Qe.y),we(Qe),xe}),go.Shape.setFigureParameter("IBeamArrow",0,new An("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var le=Me(.7,1,1,.5,0,x/a,1,x/a,he());return z.spot2=new go.Spot(le.x,le.y),we(le),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new An("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new An("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=40);var b=oe?oe.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,z=x+E,ne=(a-b)/2,le=ne+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,z=x+E,ne=0,le=a):(x=0,z=a,ne=0,le=a));var xe=new go.Geometry,Ee=new go.PathFigure(y,.5*a,!0);xe.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,le)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Ee.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),Ee.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne).close()),xe.spot1=new go.Spot(0,x/a);var Qe=Me(.7,le/a,1,.5,0,z/a,1,z/a,he());return xe.spot2=new go.Spot(Qe.x,Qe.y),we(Qe),xe}),go.Shape.setFigureParameter("Pointer",0,new An("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var z=Me(.2,.65,1,.65,0,1,1,.5,he());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new An("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var z=Me(0,.65,1,.65,0,1,1,.5,he());return b.spot2=new go.Spot(z.x,z.y),we(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new An("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var le=Me(.7,1,1,.5,0,x/a,1,x/a,he());return z.spot2=new go.Spot(le.x,le.y),we(le),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new An("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var z=new go.Geometry,ne=new go.PathFigure(y,.5*a,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var le=Me(.7,1,1,.5,0,x/a,1,x/a,he());return z.spot2=new go.Spot(le.x,le.y),we(le),z}),go.Shape.setFigureParameter("SquareArrow",0,new An("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=pe*.1,z=new go.PathFigure(0,.9*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,pe*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-pe*E,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-pe*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E));var ne=new go.PathFigure(y,E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-pe*E,(.5+x)*y,2*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-pe*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=pe*.5,z=new go.PathFigure(0,a-E,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,pe*E,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,pe*E)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-pe*E,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-pe*E));var ne=new go.PathFigure(0,a-E,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-pe*E,(.5-x)*y,a-2*E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-pe*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=pe*.5,z=new go.PathFigure(E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-pe*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,pe*E,0));var ne=new go.PathFigure(E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+pe*E,0,2*E,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+pe*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=pe*.5,z=new go.PathFigure(y-E,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-pe*E,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-pe*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,pe*E,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,pe*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ne=new go.PathFigure(y-E,0,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-pe*E,0,y-2*E,(.5-x)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-pe*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(oe,y,a){var E=new go.Geometry,b=.2,x=.1,z=pe*b,ne=pe*x,le=.5,xe=.1,Ee=new go.PathFigure(le*y,(xe+x)*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-b)*y,xe*a,(le-z)*y,(xe+x)*a,(le-b)*y,(xe+ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-x)*a,(le-b)*y,(xe-ne)*a,(le-z)*y,(xe-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+b)*y,xe*a,(le+z)*y,(xe-x)*a,(le+b)*y,(xe-ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe+x)*a,(le+b)*y,(xe+ne)*a,(le+z)*y,(xe+x)*a));var Qe=.05,We=pe*Qe;le=.05,xe=.25;var Ve=new go.PathFigure(.5*y,.2*a,!0);return E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),le=.95,xe=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+Qe)*y,xe*a,(le+We)*y,(xe-Qe)*a,(le+Qe)*y,(xe-We)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Qe=.025,We=pe*Qe,le=.825,xe=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-Qe)*a,(le+Qe)*y,(xe-We)*a,(le+We)*y,(xe-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-Qe)*y,xe*a,(le-We)*y,(xe-Qe)*a,(le-Qe)*y,(xe-We)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Qe=.05,We=pe*Qe,le=.5,xe=.7,Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-Qe)*a,(le+Qe)*y,(xe-We)*a,(le+We)*y,(xe-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-Qe)*y,xe*a,(le-We)*y,(xe-Qe)*a,(le-Qe)*y,(xe-We)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Qe=.025,We=pe*Qe,le=.175,xe=.35,Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-Qe)*a,(le+Qe)*y,(xe-We)*a,(le+We)*y,(xe-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-Qe)*y,xe*a,(le-We)*y,(xe-Qe)*a,(le-Qe)*y,(xe-We)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Qe=.05,We=pe*Qe,le=.05,xe=.25,Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-Qe)*a,(le-Qe)*y,(xe-We)*a,(le-We)*y,(xe-Qe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new An("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(oe,y,a){var E=oe?oe.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=pe*.1,z=new go.PathFigure(y,.1*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ne=new go.PathFigure(y,.1*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=pe*.2,z=new go.PathFigure(0,.2*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ne=new go.PathFigure(0,b*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(b*y,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(oe,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=pe*.5,ne=.5,le=new go.PathFigure(y,ne*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,y,(ne+z)*a,(ne+z)*y,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ne*a,(ne-z)*y,a,0,(ne+z)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,0,0,(ne-z)*a,(ne-z)*y,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,y,ne*a,(ne+z)*y,0,y,(ne-z)*a));var xe=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),xe.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ne=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ne=new go.PathFigure(y,.5*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(oe,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN,x=oe?oe.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(oe,y,a){var E=new go.Geometry,b=oe?oe.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=.5,z=new go.PathFigure(y,x*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ne=new go.PathFigure(y,x*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var le=new go.PathFigure(.8*y,.75*a,!1);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),le.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),le.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(oe,y,a){var E=new go.Geometry,b=pe*.1,x=.1,z=.9,ne=.5,le=new go.PathFigure(.8*y,.5*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,a)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var xe=new go.PathFigure((z+x)*y,ne*a,!0);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=pe*.4,z=pe*.1,ne=.1,le=.9,xe=.5,Ee=new go.PathFigure(.8*y,.5*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,a)),Ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ee.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var Qe=new go.PathFigure((le+ne)*y,xe*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe+ne)*a,(le+ne)*y,(xe+z)*a,(le+z)*y,(xe+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y,xe*a,(le-z)*y,(xe+ne)*a,(le-ne)*y,(xe+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-ne)*a,(le-ne)*y,(xe-z)*a,(le-z)*y,(xe-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y,xe*a,(le+z)*y,(xe-ne)*a,(le+ne)*y,(xe-z)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*b,z=0,ne=.5,le=new go.PathFigure(.8*y,.5*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-b)*a,.7*y,(ne-x)*a)),b=.1,x=pe*.1,z=.9,ne=.5;var xe=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*b,z=0,ne=.5,le=new go.PathFigure(0,0,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ne-b)*a,.8*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ne+x)*a,(z+x+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*b,z=.2,ne=.5,le=new go.PathFigure(.1*y,0,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var xe=new go.PathFigure(.8*y,.5*a,!0);E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ne-b)*a,.7*y,(ne-x)*a)),b=.1,x=pe*.1,z=.9,ne=.5;var Ee=new go.PathFigure((z-b)*y,ne*a,!0);return E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*b,z=.2,ne=.5,le=new go.PathFigure(.1*y,0,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var xe=new go.PathFigure(.2*y,0,!0);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ne-b)*a,.9*y,(ne-x)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(oe,y,a){var E=new go.Geometry,b=pe*.1,x=.1,z=.1,ne=.5,le=new go.PathFigure((z-b*.5)*y,a,!1);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.3,le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.5,le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.7,le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+b)*y,a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-b)*y,a,(z-x)*y,0)),z=.9,le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+x)*y,0,(z+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(oe,y,a){var E=new go.Geometry,b=pe*.5,x=.5,z=.5,ne=.5,le=new go.PathFigure((z-x)*y,ne*a,!1);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-x)*a,(z-x)*y,(ne-b)*a,(z-b)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne-x)*a,(z+x)*y,(ne-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ne*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ne*a,z*y,(ne-x)*a,z*y,(ne+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(oe,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var z=pe*.8,ne=.8,le=0,xe=.5,Ee=(b-y)/2,Qe=(x-a)/2,We=new go.PathFigure(le*y+Ee,(xe+ne)*a+Qe,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y+Ee,xe*a+Qe,(le-z)*y+Ee,(xe+ne)*a+Qe,(le-ne)*y+Ee,(xe+z)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe-ne)*a+Qe,(le-ne)*y+Ee,(xe-z)*a+Qe,(le-z)*y+Ee,(xe-ne)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne+z*.5)*y+Ee,xe*a+Qe,le*y+Ee,(xe-ne)*a+Qe,(le-ne+z*.5)*y+Ee,(xe-z)*a+Qe)),We.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe+ne)*a+Qe,(le-ne+z*.5)*y+Ee,(xe+z)*a+Qe,le*y+Ee,(xe+ne)*a+Qe).close()),z=pe*.4,ne=.4,le=.2,xe=.5;var Ve=new go.PathFigure(le*y+Ee,(xe+ne)*a+Qe,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y+Ee,xe*a+Qe,(le-z)*y+Ee,(xe+ne)*a+Qe,(le-ne)*y+Ee,(xe+z)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe-ne)*a+Qe,(le-ne)*y+Ee,(xe-z)*a+Qe,(le-z)*y+Ee,(xe-ne)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne+z*.5)*y+Ee,xe*a+Qe,le*y+Ee,(xe-ne)*a+Qe,(le-ne+z*.5)*y+Ee,(xe-z)*a+Qe)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe+ne)*a+Qe,(le-ne+z*.5)*y+Ee,(xe+z)*a+Qe,le*y+Ee,(xe+ne)*a+Qe).close()),z=pe*.2,ne=.2,le=.5,xe=.5;var tt=new go.PathFigure((le-ne)*y+Ee,xe*a+Qe,!0);E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe-ne)*a+Qe,(le-ne)*y+Ee,(xe-z)*a+Qe,(le-z)*y+Ee,(xe-ne)*a+Qe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y+Ee,xe*a+Qe,(le+z)*y+Ee,(xe-ne)*a+Qe,(le+ne)*y+Ee,(xe-z)*a+Qe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe+ne)*a+Qe,(le+ne)*y+Ee,(xe+z)*a+Qe,(le+z)*y+Ee,(xe+ne)*a+Qe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(le-ne)*y+Ee,xe*a+Qe,(le-z)*y+Ee,(xe+ne)*a+Qe,(le-ne)*y+Ee,(xe+z)*a+Qe)),z=pe*.4,ne=.4,le=.8,xe=.5;var ke=new go.PathFigure(le*y+Ee,(xe-ne)*a+Qe,!0);E.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y+Ee,xe*a+Qe,(le+z)*y+Ee,(xe-ne)*a+Qe,(le+ne)*y+Ee,(xe-z)*a+Qe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe+ne)*a+Qe,(le+ne)*y+Ee,(xe+z)*a+Qe,(le+z)*y+Ee,(xe+ne)*a+Qe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne-z*.5)*y+Ee,xe*a+Qe,le*y+Ee,(xe+ne)*a+Qe,(le+ne-z*.5)*y+Ee,(xe+z)*a+Qe)),ke.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe-ne)*a+Qe,(le+ne-z*.5)*y+Ee,(xe-z)*a+Qe,le*y+Ee,(xe-ne)*a+Qe).close()),z=pe*.8,ne=.8,le=1,xe=.5;var Ft=new go.PathFigure(le*y+Ee,(xe-ne)*a+Qe,!0);return E.add(Ft),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne)*y+Ee,xe*a+Qe,(le+z)*y+Ee,(xe-ne)*a+Qe,(le+ne)*y+Ee,(xe-z)*a+Qe)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe+ne)*a+Qe,(le+ne)*y+Ee,(xe+z)*a+Qe,(le+z)*y+Ee,(xe+ne)*a+Qe)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,(le+ne-z*.5)*y+Ee,xe*a+Qe,le*y+Ee,(xe+ne)*a+Qe,(le+ne-z*.5)*y+Ee,(xe+z)*a+Qe)),Ft.add(new go.PathSegment(go.PathSegment.Bezier,le*y+Ee,(xe-ne)*a+Qe,(le+ne-z*.5)*y+Ee,(xe-z)*a+Qe,le*y+Ee,(xe-ne)*a+Qe).close()),E}),go.Shape.defineFigureGenerator("Email",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),E}),go.Shape.defineFigureGenerator("Ethernet",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ne=new go.PathFigure(0,.5*a,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(oe,y,a){var E=new go.Geometry,b=pe*.4,x=.4,z=.5,ne=.5,le=he(),xe=he(),Ee=he(),Qe=he();nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,le,le,xe,Ee,Qe);var We=ve(xe.x,xe.y),Ve=new go.PathFigure(xe.x*y,xe.y*a,!0);E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z+x)*y,(ne+b)*a,(z+b)*y,(ne+x)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,(z-b)*y,(ne+x)*a,(z-x)*y,(ne+b)*a)),nt(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Ee,Qe,xe,le,le),Ve.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Ee.x*y,Ee.y*a,Qe.x*y,Qe.y*a)),b=pe*.3,x=.3,nt(z-x,ne,z-x,ne-b,z-b,ne-x,z,ne-x,.5,Ee,Qe,xe,le,le),Ve.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ne*a,Qe.x*y,Qe.y*a,Ee.x*y,Ee.y*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+x)*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ne*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),nt(z,ne-x,z+b,ne-x,z+x,ne-b,z+x,ne,.5,le,le,xe,Ee,Qe),Ve.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Qe.x*y,Qe.y*a,Ee.x*y,Ee.y*a).close());var Ve=new go.PathFigure(.45*y,0,!0);return E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),we(le),we(xe),we(Ee),we(Qe),we(We),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ne,le){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ne)*y,(.8+le)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ne)*y,(.5+le)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ne)*y,(.5+le)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ne)*y,(.8+le)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(oe,y,a){var E=new go.Geometry,b=.5,x=0,z=0,ne=b*pe,le=.4*Math.SQRT2/2+.5,xe=.5-.5*Math.SQRT2/2,Ee=1,Qe=.5,We=.5,Ve=0,tt=new go.PathFigure(le*y,(1-xe)*a,!1);return E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,Qe*a,Ee*y,.7*a,Ee*y,Qe*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(We+x)*y,(Ve+x)*a,(.5+b+x)*y,(.5-ne+x)*a,(.5+ne+x)*y,(.5-b+x)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+z)*a,(.5-ne+x)*y,(.5-b+z)*a,(.5-b+x)*y,(.5-ne+z)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ne+z)*a,(.5-ne+x)*y,.9*a)),tt.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),tt.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),tt.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(0,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ne=.5,le=z,xe=Math.PI/4,Ee=4*(1-Math.cos(xe))/(3*Math.sin(xe)),Qe=Ee*.5,We=z,Ve=z,tt=Ee*We,ke=Ee*Ve;x.add(new go.PathSegment(go.PathSegment.Bezier,(ne-We)*y,le*a,(ne-(tt+We)/2)*y,(le+(Ve+ke)/2)*a,(ne-We)*y,(le+ke)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(le-Ve)*a,(ne-We)*y,(le-ke)*a,(ne-tt)*y,(le-Ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ne+We)*y,le*a,(ne+tt)*y,(le-Ve)*a,(ne+We)*y,(le-ke)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ne+We)*y,(le+ke)*a,(ne+(tt+We)/2)*y,(le+(Ve+ke)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Ft=new go.PathFigure(.2*y,a,!1);E.add(Ft),Ft.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Te=new go.PathFigure(.8*y,a,!1);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var z=new go.PathFigure(.1*y,a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Caution",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*.5,z=new go.PathFigure(y,b*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ne=new go.PathFigure(b*y,0,!1);return E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ne=pe*.1,le=.2,xe=.9,Ee=new go.PathFigure((le-z)*y,xe*a,!0);E.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-z)*a,(le-z)*y,(xe-ne)*a,(le-ne)*y,(xe-z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+z)*y,xe*a,(le+ne)*y,(xe-z)*a,(le+z)*y,(xe-ne)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe+z)*a,(le+z)*y,(xe+ne)*a,(le+ne)*y,(xe+z)*a)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-z)*y,xe*a,(le-ne)*y,(xe+z)*a,(le-z)*y,(xe+ne)*a).close()),z=.1,ne=pe*.1,le=.8,xe=.9;var Qe=new go.PathFigure((le-z)*y,xe*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe-z)*a,(le-z)*y,(xe-ne)*a,(le-ne)*y,(xe-z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(le+z)*y,xe*a,(le+ne)*y,(xe-z)*a,(le+z)*y,(xe-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(xe+z)*a,(le+z)*y,(xe+ne)*a,(le+ne)*y,(xe+z)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(le-z)*y,xe*a,(le-ne)*y,(xe+z)*a,(le-z)*y,(xe+ne)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ne=new go.PathFigure(.5*y,.7*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var le=.1,xe=pe*.1,Ee=.1,Qe=.9,We=new go.PathFigure((Ee-le)*y,Qe*a,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe-le)*a,(Ee-le)*y,(Qe-xe)*a,(Ee-xe)*y,(Qe-le)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*y,Qe*a,(Ee+xe)*y,(Qe-le)*a,(Ee+le)*y,(Qe-xe)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe+le)*a,(Ee+le)*y,(Qe+xe)*a,(Ee+xe)*y,(Qe+le)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*y,Qe*a,(Ee-xe)*y,(Qe+le)*a,(Ee-le)*y,(Qe+xe)*a)),le=.1,xe=pe*.1,Ee=.4,Qe=.9;var Ve=new go.PathFigure((Ee-le)*y,Qe*a,!0);return E.add(Ve),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe-le)*a,(Ee-le)*y,(Qe-xe)*a,(Ee-xe)*y,(Qe-le)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ee+le)*y,Qe*a,(Ee+xe)*y,(Qe-le)*a,(Ee+le)*y,(Qe-xe)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,Ee*y,(Qe+le)*a,(Ee+le)*y,(Qe+xe)*a,(Ee+xe)*y,(Qe+le)*a)),Ve.add(new go.PathSegment(go.PathSegment.Bezier,(Ee-le)*y,Qe*a,(Ee-xe)*y,(Qe+le)*a,(Ee-le)*y,(Qe+xe)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Ee=.05,Qe=pe*.05,We=.175,Ve=.95,ne=new go.PathFigure((We-Ee)*y,Ve*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve-Ee)*a,(We-Ee)*y,(Ve-Qe)*a,(We-Qe)*y,(Ve-Ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ve*a,(We+Qe)*y,(Ve-Ee)*a,(We+Ee)*y,(Ve-Qe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve+Ee)*a,(We+Ee)*y,(Ve+Qe)*a,(We+Qe)*y,(Ve+Ee)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ve*a,(We-Qe)*y,(Ve+Ee)*a,(We-Ee)*y,(Ve+Qe)*a));var Ee=.05,Qe=pe*.05,We=.375,Ve=.95,le=new go.PathFigure((We-Ee)*y,Ve*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve-Ee)*a,(We-Ee)*y,(Ve-Qe)*a,(We-Qe)*y,(Ve-Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ve*a,(We+Qe)*y,(Ve-Ee)*a,(We+Ee)*y,(Ve-Qe)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve+Ee)*a,(We+Ee)*y,(Ve+Qe)*a,(We+Qe)*y,(Ve+Ee)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ve*a,(We-Qe)*y,(Ve+Ee)*a,(We-Ee)*y,(Ve+Qe)*a));var Ee=.05,Qe=pe*.05,We=.625,Ve=.95,xe=new go.PathFigure((We-Ee)*y,Ve*a,!0);E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve-Ee)*a,(We-Ee)*y,(Ve-Qe)*a,(We-Qe)*y,(Ve-Ee)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ve*a,(We+Qe)*y,(Ve-Ee)*a,(We+Ee)*y,(Ve-Qe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve+Ee)*a,(We+Ee)*y,(Ve+Qe)*a,(We+Qe)*y,(Ve+Ee)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ve*a,(We-Qe)*y,(Ve+Ee)*a,(We-Ee)*y,(Ve+Qe)*a));var Ee=.05,Qe=pe*.05,We=.825,Ve=.95,tt=new go.PathFigure((We-Ee)*y,Ve*a,!0);E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve-Ee)*a,(We-Ee)*y,(Ve-Qe)*a,(We-Qe)*y,(Ve-Ee)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(We+Ee)*y,Ve*a,(We+Qe)*y,(Ve-Ee)*a,(We+Ee)*y,(Ve-Qe)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,We*y,(Ve+Ee)*a,(We+Ee)*y,(Ve+Qe)*a,(We+Qe)*y,(Ve+Ee)*a)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(We-Ee)*y,Ve*a,(We-Qe)*y,(Ve+Ee)*a,(We-Ee)*y,(Ve+Qe)*a).close());var ke=new go.PathFigure(0,a,!1);return E.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ne=.05,le=pe*.05,xe=.35,Ee=.775,Qe=new go.PathFigure((xe-ne)*y,Ee*a,!0);return E.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(Ee-ne)*a,(xe-ne)*y,(Ee-le)*a,(xe-le)*y,(Ee-ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(xe+ne)*y,Ee*a,(xe+le)*y,(Ee-ne)*a,(xe+ne)*y,(Ee-le)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(Ee+ne)*a,(xe+ne)*y,(Ee+le)*a,(xe+le)*y,(Ee+ne)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(xe-ne)*y,Ee*a,(xe-le)*y,(Ee+ne)*a,(xe-ne)*y,(Ee+le)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(oe,y,a){var E=new go.Geometry,b=.3,x=pe*.3,z=.5,ne=.7,le=new go.PathFigure((z-b)*y,ne*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a));var xe=new go.PathFigure(0,.7*a,!1);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*.5,z=.5,ne=.5,le=new go.PathFigure((z-b)*y,ne*a,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a));var xe=new go.PathFigure(.15*y,.5*a,!1);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(oe,y,a){var E=new go.Geometry,b=.5,x=pe*.5,z=.5,ne=.5,le=new go.PathFigure((z-b)*y,ne*a,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a).close()),b=.05,x=pe*.05,z=.5,ne=.8;var xe=new go.PathFigure((z-b)*y,ne*a,!1);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne-b)*a,(z-b)*y,(ne-x)*a,(z-x)*y,(ne-b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,ne*a,(z+x)*y,(ne-b)*a,(z+b)*y,(ne-x)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ne+b)*a,(z+b)*y,(ne+x)*a,(z+x)*y,(ne+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,ne*a,(z-x)*y,(ne+b)*a,(z-b)*y,(ne+x)*a).close()),xe.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),E}),go.Shape.defineFigureGenerator("Unlocked",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),E}),go.Shape.defineFigureGenerator("Gear",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ne=new go.PathFigure(.678*y,.85*a,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var le=new go.PathFigure(.5*y,.1*a,!1);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),le.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ne=new go.PathFigure(y*.612,a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var le=new go.PathFigure(y*.816,a,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),le.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ne=new go.PathFigure(y*.055,.18*a,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var le=new go.PathFigure(y*1,0,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),le.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),le.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ne=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var le=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),le.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),le.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(oe,y,a){var E=new go.Geometry,b=8,x=b*pe,z=new go.PathFigure(b,0,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ne=new go.PathFigure(y*.83,0,!1);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var le=new go.PathFigure(y*.83,a*1,!1);E.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),le.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),le.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var xe=new go.PathFigure(y*.78,a*.05,!1);return E.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),xe.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),xe.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(oe,y,a){var E=oe?oe.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*pe,x=a*.8,z=new go.Geometry,ne=new go.PathFigure(E,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(oe,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(oe,y,a){var E=new go.Geometry,b=15,x=b*pe,z=new go.PathFigure(y*.62,a*.475,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(oe,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var An={},zt="5.0",ve={},he=null,we=!1,Me=!1,nt=null,Ge=!1,He=null,pe=null,Be=0;Be4?parseFloat(Pt):5};An.setHTML5Codebase=function(Pt,Zt){pe=Pt,it(Pt,Zt)},An.setJavaCodebase=An.setJavaCodebaseVersion=An.isCompiledInstalled=An.setPreCompiledScriptPath=An.setPreCompiledResourcePath=function(){},An.setHTML5CodebaseVersion=function(Pt,Zt){var En=parseFloat(Pt);if(En!==NaN&&En<5){console.log("The GeoGebra HTML5 codebase version "+En+" is deprecated. Using version latest instead.");return}He=Pt,ft(Pt,Zt)},An.getHTML5CodebaseVersion=function(){return oe},An.getParameters=function(){return ve},An.setFontsCSSURL=function(Pt){z=Pt},An.setGiacJSURL=function(Pt){},An.setJNLPFile=function(Pt){ue=Pt},An.setJNLPBaseDir=function(Pt){},An.inject=function(){function Pt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Zt="auto",En=ve.id,Hn,mn=!1,Gn=0;Gn=5)return!0;var Pt=An.getAppletObject();return Pt&&typeof Pt.recalculateEnvironments=="function"?(Pt.recalculateEnvironments(),!0):!1},An.startAnimation=function(){var Pt=An.getAppletObject();return Pt&&typeof Pt.startAnimation=="function"?(Pt.startAnimation(),!0):!1},An.stopAnimation=function(){var Pt=An.getAppletObject();return Pt&&typeof Pt.stopAnimation=="function"?(Pt.stopAnimation(),!0):!1},An.getAppletObject=function(){var Pt=ve.id!==void 0?ve.id:"ggbApplet";return window[Pt]},An.resize=function(){};var tt=function(Pt,Zt,En){var Hn=document.createElement("param");Hn.setAttribute("name",Zt),Hn.setAttribute("value",En),Pt.appendChild(Hn)},ke=function(Pt){return Pt&&Pt!=="false"},Ft=function(Pt,Zt,En){le(oe)<=4.2&&(En=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==oe||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var mn=document.createElement("div");mn.classList.add("appletParameters","notranslate");var Gn=Zt.width,Nt=Zt.height;if(Zt.disableAutoScale=Zt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Zt.disableAutoScale,Zt.width!==void 0)if(le(oe)<=4.4)ke(Zt.showToolBar)&&(Zt.height-=7),ke(Zt.showAlgebraInput)&&(Zt.height-=37),Zt.width<605&&ke(Zt.showToolBar)&&(Zt.width=605,Gn=605);else{var _n=100;(ke(Zt.showToolBar)||ke(Zt.showMenuBar))&&(Zt.hasOwnProperty("customToolBar")&&(Zt.customToolbar=Zt.customToolBar),_n=ke(Zt.showMenuBar)?245:155),Gn<_n&&(Zt.width=_n,Gn=_n)}mn.style.border="none",mn.style.display="inline-block";for(var or in Zt)Zt.hasOwnProperty(or)&&or!=="appletOnLoad"&&mn.setAttribute("data-param-"+or,Zt[or]);z&&mn.setAttribute("data-param-fontscssurl",z),An.resize=function(){GGBAppletUtils.responsiveResize(Pt,Zt)},window.addEventListener("resize",function(lt){An.resize()});var Je=typeof Zt.appletOnLoad=="function"?Zt.appletOnLoad:function(){};if(!En&&Zt.width!==void 0){Zt.hasOwnProperty("showSplash")||mn.setAttribute("data-param-showSplash","false");var yn=Pt.querySelector(".applet_scaler.prerender"),Fe=yn!==null;if(Fe)var de=yn.querySelector(".ggb_preview");else{var de=Dt(Gn,Nt,Zt.borderColor,!1);yn=document.createElement("div"),yn.className="applet_scaler",yn.style.position="relative",yn.style.display="block",yn.style.width=Gn+"px",yn.style.height=Nt+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(yn,"66%"),le(oe)>=5?(Zt.appletOnLoad=function(lt){var Yt=Pt.querySelector(".ggb_preview");Yt&&Yt.parentNode.removeChild(Yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(yn),window.GGBT_wsf_view&&$(window).trigger("resize"),Je(lt)},Fe||yn.appendChild(de)):mn.appendChild(de),yn.appendChild(mn),Fe||Pt.appendChild(yn),setTimeout(function(){An.resize()},1)}else{var Ae=document.createElement("div");Ae.className="applet_scaler",Ae.style.position="relative",Ae.style.display="block",Ae.appendChild(mn),Pt.appendChild(Ae),Zt.appletOnLoad=function(lt){An.resize(),Je(lt)}}function ye(lt,Yt){Yt&&typeof Yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(lt,Yt.appletOnLoad):renderGGBElement(lt),en("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Yt)}function qe(lt,Yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:lt,params:Yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(wn){ye(wn.article,wn.params)}),html5AppletsToProcess=null)},le(oe)<5&&(lt.className+=" geogebraweb")):ye(lt,Yt)}if(Hn){scriptLoadStarted=!0;for(var pt=0;pt0?(or.remove(),yn.attr("id","fullscreencontent").show(),jQuery(Je).append(yn),window.dispatchEvent(new Event("resize"))):Ft(or,Zt,!1),window.GGBT_wsf_view.launchFullScreen(Je)}else be=Hn,Ft(Pt,Zt,!1);if(!window.GGBT_wsf_view)for(Nt=0;Nt<_n.length;Nt++)Pt.removeChild(_n[Nt])},Gn=Pt.getElementsByClassName("ggb_preview_play"),Nt=0;NtPt/4*3&&(or=Pt/4*3),Je=or/5.8,_n.setAttribute("src",b),_n.setAttribute("width",or),_n.setAttribute("height",Je);var yn=(Pt-or)/2,Fe=(Zt-Je)/2;_n.style.left=yn+"px",_n.style.top=Fe+"px",mn.appendChild(_n)}}return mn.appendChild(Nt),mn},gt=function(Pt){return Pt=Pt.toLowerCase(),Pt==="html5"||Pt==="screenshot"?Pt:"html5"},xt=["web","webSimple","web3d","tablet","tablet3d","phone"],ft=function(Pt,Zt){if(oe=Pt,Zt){it(oe,!0);return}var En=!we;if(En){var Hn=le(oe);!isNaN(Hn)&&Hn<4.4&&(En=!1)}var mn,Gn;window.location.protocol.substr(0,4)==="http"?mn=window.location.protocol:mn="http:";var Nt=oe.indexOf("//");Nt>0?Gn=oe:Nt===0?Gn=mn+oe:Gn="https://www.geogebra.org/apps/5.2.814.0/";for(var _n in xt)if(oe.slice(xt[_n].length*-1)===xt[_n]||oe.slice((xt[_n].length+1)*-1)===xt[_n]+"/"){it(Gn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&En&&!he.is3D&&!he.AV&&!he.SV&&!he.CV&&!he.EV2&&!he.CP&&!he.PC&&!he.DA&&!he.FI&&!he.PV&&!ke(ve.showToolBar)&&!ke(ve.showMenuBar)&&!ke(ve.showAlgebraInput)&&!ke(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Gn+="webSimple/":Gn+="web3d/",it(Gn,!1)},it=function(Pt,Zt){if(Pt.requirejs){Oe=Pt;return}Pt.slice(-1)!=="/"&&(Pt+="/"),Oe=Pt,Zt===null&&(Zt=Pt.indexOf("http")===-1),Pe=Zt,y="web.nocache.js",a=!1;var En=Oe.split("/");En.length>1&&(!Zt&&En[En.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):xt.indexOf(En[En.length-2])>=0&&(y=En[En.length-2]+".nocache.js")),En=Pt.split("/"),oe=En[En.length-3],oe.substr(0,4)==="test"?oe=oe.substr(4,1)+"."+oe.substr(5,1):(oe.substr(0,3)==="war"||oe.substr(0,4)==="beta")&&(oe="5.0");var Hn=parseFloat(oe);Hn!==NaN&&Hn<5&&Pt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),ft("5.0",Zt))},en=function(Pt,Zt){window.console&&window.console.log&&(!Zt||typeof Zt.showLogging=="undefined"||Zt.showLogging&&Zt.showLogging!=="false")&&console.log(Pt)};ve.material_id!==void 0?Qe(rn):rn();function rn(){var Pt=zt;He!==null?Pt=He:parseFloat(Pt)<5&&(Pt="5.0"),ft(Pt,!1),pe!==null&&it(pe,Pe),Ge=!0}return An},GGBAppletUtils=function(){"use strict";function An(){return window.GGBT_wsf_edit!==void 0}function zt(Ge,He){He!=1?(Ge.style.transformOrigin="0% 0% 0px",Ge.style.webkitTransformOrigin="0% 0% 0px",Ge.style.transform="scale("+He+","+He+")",Ge.style.webkitTransform="scale("+He+","+He+")",Ge.style.maxWidth="initial",Ge.querySelector(".ggb_preview")!==null&&(Ge.querySelector(".ggb_preview").style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ge.style.transform="none",Ge.style.webkitTransform="none")}function ve(Ge,He,pe,Be,Ne,ue){var Oe=null;if(ue!=null&&ue!="")for(var Pe=Ge.parentNode;Pe!=null;)if((" "+Pe.className+" ").indexOf(" "+ue+" ")>-1){Oe=Pe;break}else Pe=Pe.parentNode;var be=0,oe=0,y=0,a=0,E=0,b=0,x=0;if(Oe)be=Oe.offsetWidth,oe=Math.max(Be?Oe.offsetWidth:0,Oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(be=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),y=be):(be=window.innerWidth,oe=window.innerHeight,y=window.innerWidth),Ge){var z=Ge.getBoundingClientRect();z.left>0&&z.left<=be&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(E=be-z.width-z.left,b=y<=480?10:30):(b=z.left,E=y<=480?10:30),a=b+E)}if(Ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ne=Ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Ge&&((pe===void 0||!pe)&&He>0&&He+a1&&(ue=!0)),He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(Ge.hasOwnProperty("disableAutoScale")&&Ge.disableAutoScale))Ne=he(Ge,He,ue,pe,Ge.scaleContainerClass);else return Be;return ue&&(!Ge.hasOwnProperty("scale")||Be===1)?Ne:Math.min(Be,Ne)}function Me(Ge){var He=Math.min(window.innerWidth,document.documentElement.clientWidth),pe=Math.min(window.innerHeight,document.documentElement.clientHeight),Be=Ge.getBoundingClientRect(),Ne=(He-Be.width)/2,ue=(pe-Be.height)/2;ue<0&&(ue=0),Ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?Ge.style.left="40px":Ge.style.left=Ne+"px",Ge.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?Ge.style.top="40px":Ge.style.top=ue+"px",Ge.style.left=Ne+"px")}function nt(Ge,He){var pe=Ge.querySelector(".appletParameters");if(pe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(He.id!==pe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ge)}if(pe.parentElement&&/fullscreen/.test(pe.parentElement.className))return;var Be=we(He,Ge);An()&&pe.setAttribute("data-param-scale",Be);for(var Ne=null,ue=0;ue=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(An){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(An){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(An){var zt=c[An];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function An(Ge){var He=Ge.lastIndexOf(rb);He==-1&&(He=Ge.length);var pe=Ge.indexOf(sb);pe==-1&&(pe=Ge.length);var Be=Ge.lastIndexOf(tb,Math.min(pe,He));return Be>=O?Ge.substring(O,Be+P):W}function zt(Ge){if(!Ge.match(/^\w+:\/\//)){var He=o.createElement(ub);He.src=Ge+vb,Ge=An(He.src)}return Ge}function ve(){var Ge=__gwt_getMetaProperty(wb);return Ge!=null?Ge:W}function he(){for(var Ge=o.getElementsByTagName(_),He=O;HeO?Ge[Ge.length-P].href:W}function Me(){var Ge=o.location;return Ge.href==Ge.protocol+zb+Ge.host+Ge.pathname+Ge.search+Ge.hash}var nt=ve();return nt==W&&(nt=he()),nt==W&&(nt=we()),nt==W&&Me()&&(nt=An(o.location.href)),nt=zt(nt),nt}function C(An){return An.match(/^\//)||An.match(/^[a-zA-Z]+:\/\//)?An:webModule.__moduleBase+An}function D(){var An=[],zt=O,ve=[],he=[];function we(Ge){var He=he[Ge](),pe=ve[Ge];if(He in pe)return He;var Be=[];for(var Ne in pe)Be[pe[Ne]]=Ne;throw r&&r(Ge,Be,He),null}if(__gwt_isKnownPropertyValue=function(Ge,He){return He in ve[Ge]},webModule.__getPropMap=function(){var Ge={};for(var He in ve)ve.hasOwnProperty(He)&&(Ge[He]=we(He));return Ge},webModule.__computePropValue=we,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Me;try{Me=Cb;var nt=Me.indexOf(Db);nt!=-1&&(zt=parseInt(Me.substring(nt+P),$),Me=Me.substring(O,nt))}catch(Ge){}return webModule.__softPermutationId=zt,C(Me+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(An,zt,ve){"use strict";ve.d(zt,{Ax:function(){return nt},Ds:function(){return Ge},KI:function(){return pe},SI:function(){return Me},f1:function(){return we}});var he=ve(18702);function we(Be){let Ne=!0;if(Be.length>0){for(let ue=0;uexe in le?Oe(le,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):le[xe]=Ee,a=(le,xe)=>{for(var Ee in xe||(xe={}))be.call(xe,Ee)&&y(le,Ee,xe[Ee]);if(Pe)for(var Ee of Pe(xe))oe.call(xe,Ee)&&y(le,Ee,xe[Ee]);return le};const E=(le={})=>{var xe,Ee,Qe,We;let Ve=(xe=le==null?void 0:le.emotion)==null?void 0:xe.map(Te=>a({value:Te==null?void 0:Te.rate},Te)),tt=(Ee=le==null?void 0:le.focus)==null?void 0:Ee.map(Te=>a({value:Te==null?void 0:Te.rate},Te)),ke=(Qe=le==null?void 0:le.action)==null?void 0:Qe.map(Te=>a({value:Te==null?void 0:Te.rate},Te)),Ft=(We=le==null?void 0:le.intention)==null?void 0:We.map(Te=>a({value:Te==null?void 0:Te.rate},Te));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ve||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:tt||[]},{title:"\u884C\u4E3A\u5360\u6BD4\u60C5\u51B5",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:ke||[]},{title:"\u610F\u56FE\u5360\u6BD4\u60C5\u51B5",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:Ft||[]}]},b=({className:le,dataSource:xe=[],col:Ee=4,right:Qe,bottom:We=23,precision:Ve=0,wrapWidth:tt=1200})=>{const ke=(Te="",kt,st="--")=>Te?(Te==null?void 0:Te.length)>kt?(Te==null?void 0:Te.slice(0,kt-1))+"...":Te:st,Ft=Math.floor((tt-(Ee-1)*Qe)/Ee);return he.createElement("div",{className:nt()(we.list,le)},!!(xe!=null&&xe.length)&&(xe==null?void 0:xe.map((Te,kt)=>{const{cover_pic:st,created_at:At,emotion:Dt,action:gt,intention:xt,focus:ft}=Te;return he.createElement("div",{key:kt,className:we.wrap,style:{width:Ft,marginRight:(1+kt)%Ee===0?0:Qe+Ve,marginBottom:We}},he.createElement("div",{className:we.img},he.createElement("img",{src:`${ue.Z.API_SERVER}${st}`}),he.createElement("div",{className:we.tips},he.createElement("div",null,he.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),he.createElement("span",null,At))),he.createElement("div",{className:we.footer},he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-biaoqing"}),he.createElement("span",null,"\u8868\u60C5\uFF1A",he.createElement(He.Z,{title:Dt},he.createElement("span",{className:"c-grey-333"},ke(Dt,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-hangwei"}),he.createElement("span",null,"\u884C\u4E3A\uFF1A",he.createElement(He.Z,{title:gt},he.createElement("span",{className:"c-grey-333"},ke(gt,4)))))),he.createElement("ul",null,he.createElement("li",null,he.createElement("i",{className:"iconfont icon-yitu"}),he.createElement("span",null,"\u610F\u56FE\uFF1A",he.createElement(He.Z,{title:xt},he.createElement("span",{className:"c-grey-333"},ke(xt,4))))),he.createElement("li",null,he.createElement("i",{className:"iconfont icon-zhuangtai"}),he.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",he.createElement(He.Z,{title:ft},he.createElement("span",{className:"c-grey-333"},ke(ft,3))))))))})))},x=({className:le,style:xe,title:Ee,hideBar:Qe=!1,children:We,customText:Ve="",noDataText:tt="",emptyData:ke=[],loading:Ft,actionAnalysis:Te})=>{var kt,st;const At=((kt=ke==null?void 0:ke[0])==null?void 0:kt.every(gt=>{var xt;return!((xt=gt==null?void 0:gt.data)!=null&&xt.length)}))&&!((st=ke==null?void 0:ke[1])!=null&&st.length)||!Te,Dt=Te?tt:Ve;return he.createElement(pe.Z,{loading:Ft,active:!0},At&&he.createElement("div",{className:nt()(we.noData,le),style:xe},!!Ee&&he.createElement("div",{className:we.title},!Qe&&he.createElement("b",null),he.createElement("span",null,Ee)),he.createElement("div",{className:we.itemWrap},he.createElement(Ne.Z,{customText:Dt}))),!At&&We)};var ne=({className:le,style:xe,data:Ee=[],title:Qe,hideBar:We=!1,loading:Ve=!1})=>he.createElement("div",{className:nt()(we.analysis,le),style:xe},!!Qe&&he.createElement("div",{className:we.title},!We&&he.createElement("b",null),he.createElement("span",null,Qe)),he.createElement(Be.Z,{spinning:Ve},he.createElement("div",{className:we.itemWrap},Ee==null?void 0:Ee.map((tt,ke)=>he.createElement("div",{className:we.item,key:ke},he.createElement(Ge.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:tt==null?void 0:tt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(Ft){for(let Te in tt==null?void 0:tt.data)if(Ft==(tt==null?void 0:tt.data[Te].name))return Ft+" "+(tt==null?void 0:tt.data[Te].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:tt==null?void 0:tt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:tt==null?void 0:tt.data}]},style:{height:145}}))))))},6725:function(An,zt,ve){"use strict";var he=ve(86204),we=ve.n(he),Me=Object.defineProperty,nt=(Be,Ne,ue)=>Ne in Be?Me(Be,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Be[Ne]=ue,Ge=(Be,Ne,ue)=>nt(Be,typeof Ne!="symbol"?Ne+"":Ne,ue),He=(Be,Ne,ue)=>new Promise((Oe,Pe)=>{var be=a=>{try{y(ue.next(a))}catch(E){Pe(E)}},oe=a=>{try{y(ue.throw(a))}catch(E){Pe(E)}},y=a=>a.done?Oe(a.value):Promise.resolve(a.value).then(be,oe);y((ue=ue.apply(Be,Ne)).next())});class pe extends he.EventEmitter{constructor(Ne,ue){super(),Ge(this,"url"),Ge(this,"body"),Ge(this,"fullContent",""),Ge(this,"controller",null),Ge(this,"buffer",""),this.url=Ne,this.body=ue}startStream(){return He(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const ue=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!ue.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ue.status}`);const Oe=ue.headers.get("content-type");if(!Oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Oe.includes("application/json")){const oe=yield ue.json();this.emit("error",oe);return}if(!Oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Pe=ue.body.getReader(),be=new TextDecoder("utf-8");for(;;){const{done:oe,value:y}=yield Pe.read();if(oe)break;const a=be.decode(y,{stream:!0});this.buffer+=a;const E=this.buffer.split(` `);this.buffer=E.pop()||"";for(const b of E)if(b.startsWith("data:")){const x=b.slice(5).trim();if(x==="[DONE]")break;try{const z=JSON.parse(x);z.data&&this.handleData(z.data)}catch(z){this.buffer=b+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(ue){ue.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ue.message)}})}handleData(Ne){Ne.content&&(this.fullContent+=Ne.content,this.emit("data",{chunk:Ne,full:this.fullContent}))}cancelRequest(){var Ne;(Ne=this.controller)==null||Ne.abort()}}zt.Z=pe},6077:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Oe}});var he=ve(59301),we={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Me=ve(92310),nt=ve.n(Me),Ge=ve(71418),He=ve(2859),pe=ve(82093),Be=ve(49661),Ne=(Pe,be,oe)=>new Promise((y,a)=>{var E=z=>{try{x(oe.next(z))}catch(ne){a(ne)}},b=z=>{try{x(oe.throw(z))}catch(ne){a(ne)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(E,b);x((oe=oe.apply(Pe,be)).next())}),Oe=({data:Pe,className:be,fullWidth:oe,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const z=(0,he.useRef)(null),ne=(0,he.useRef)(null),le=(0,he.useRef)(null),xe=(0,he.useRef)(null),[Ee,Qe]=(0,he.useState)(!1),[We,Ve]=(0,he.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,he.useEffect)(()=>{le.current||(le.current=document.createElement("style"),document.head.appendChild(le.current)),Pe!=null&&Pe.visible?(document.body.setAttribute("data-custom","y-hidden"),le.current.innerHTML=" html { overflow-y: hidden; }",Pe!=null&&Pe.src&&tt()):(document.body.removeAttribute("data-custom"),le.current&&(document.head.removeChild(le.current),le.current=null))},[Pe==null?void 0:Pe.visible]);const tt=()=>Ne(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,Be.ZJ)(Pe==null?void 0:Pe.src);z.current.src="",z.current.src=st,z.current.onload=function(){kt()},Qe(!1),Ve("")}),ke=()=>{document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",a()},Ft=st=>Ne(void 0,null,function*(){Qe(!0),Ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const At=yield(0,pe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Pe.title,file:st.dataUrl}});At!=null&&At.id&&!x?(yield(0,pe.ZP)(`/api/attachments/${Pe.id}/add_subitem.json`,{method:"post",body:{subitem_id:At==null?void 0:At.id,settings:JSON.stringify(st.state)}})).status===0&&E():At!=null&&At.id&&E(At),document.body.removeAttribute("data-custom"),le.current.innerHTML=" ",Qe(!1),Ve("")}),Te=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Dt=>{const gt=document.querySelector(Dt.name);gt&>.setAttribute("title",Dt.title)})},kt=()=>{ne.current=new He.hP(z.current),ne.current.targetRoot=xe.current,ne.current.addEventListener("render",Ft),ne.current.addEventListener("beforeclose",ke),b&&(ne.current.availableMarkerTypes=ne.current.ALL_MARKER_TYPES,ne.current.uiStyleSettings.redoButtonVisible=!0,ne.current.uiStyleSettings.notesButtonVisible=!0,ne.current.uiStyleSettings.zoomButtonVisible=!0,ne.current.uiStyleSettings.zoomOutButtonVisible=!0,ne.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ne.current.uiStyleSettings,ne.current.show(),Pe!=null&&Pe.snapshotData&&ne.current.restoreState(Pe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Te()},300)};return he.createElement(he.Fragment,null,(Pe==null?void 0:Pe.visible)&&he.createElement(Ge.Z,{spinning:Ee,tip:We,style:{position:"absolute"}},he.createElement("div",{ref:xe,className:nt()(we.imageDimensions,be,oe?we.fullWidth:""),style:y},he.createElement("img",{className:we.img,ref:z}))))}},88615:function(An,zt,ve){"use strict";var he=ve(59301),we=ve(95237),Me=ve(43604),nt=ve(99313),Ge=ve(3113),He=ve(7664),pe=ve(21697),Be=ve(48136),Ne=ve(59301);const ue=(0,he.forwardRef)(({callback:Oe,showSaveButton:Pe,value:be=""},oe)=>{const y=(0,he.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=ne=>{y.current.setValue(y.current.getValue()+" "+ne.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(we.Z,{className:pe.Z.lists,gutter:[10,10]},a.map((ne,le)=>Ne.createElement(Me.Z,{flex:"110px",className:pe.Z.item},Ne.createElement("div",null,Ne.createElement(He.Z,{value:`$$${ne.value}$$`}),ne.name),Ne.createElement("div",{className:pe.Z.children},ne.children.map((xe,Ee)=>Ne.createElement("div",{key:Ee},Ne.createElement("h1",null,xe.name),Ne.createElement(we.Z,{gutter:[10,10]},xe.data.map((Qe,We)=>Ne.createElement(Me.Z,{key:We,onClick:()=>b(Qe),className:pe.Z.diamond},Ne.createElement(He.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(we.Z,{className:pe.Z.lists,gutter:[10,10]},E.map((ne,le)=>Ne.createElement(Me.Z,{flex:"110px",className:pe.Z.item},Ne.createElement("div",null,Ne.createElement(He.Z,{value:"`$$"+ne.value+"$$`"}),ne.name),Ne.createElement("div",{className:pe.Z.children},ne.children.map((xe,Ee)=>Ne.createElement("div",{key:Ee},xe.name&&Ne.createElement("h1",null,xe.name),Ne.createElement(we.Z,{gutter:[10,10]},xe.data.map((Qe,We)=>Ne.createElement(Me.Z,{key:We,onClick:()=>b(Qe),className:pe.Z.diamond},Ne.createElement(He.Z,{value:"`$$"+Qe.value+"$$`"}))))))))))}],z=()=>{var ne=document.createElement("div");ne.innerHTML=y.current.getValue();var le=ne.innerText;return Oe&&Oe(le),le};return(0,he.useImperativeHandle)(oe,()=>({getData:z})),Ne.createElement("div",{className:pe.Z.mathWrap},Ne.createElement(nt.default,{defaultActiveKey:"1",items:x}),Ne.createElement("math-field",{locale:"zh_cn",className:pe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},be||""),Pe&&Ne.createElement("div",{className:pe.Z.button},Ne.createElement(Ge.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zt.Z=ue},44816:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Ft}});var he=ve(59301),we=ve(76560),Me=ve(43418),nt=ve(78241),Ge=ve(8591),He=ve(71418),pe=ve(17574),Be=ve(95237),Ne=ve(43604),ue=ve(6848),Oe=ve(92832),Pe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},be=ve(98072),oe=ve(63423),y=ve(57884),a=ve(47949),E=Object.defineProperty,b=Object.defineProperties,x=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,xe=(Te,kt,st)=>kt in Te?E(Te,kt,{enumerable:!0,configurable:!0,writable:!0,value:st}):Te[kt]=st,Ee=(Te,kt)=>{for(var st in kt||(kt={}))ne.call(kt,st)&&xe(Te,st,kt[st]);if(z)for(var st of z(kt))le.call(kt,st)&&xe(Te,st,kt[st]);return Te},Qe=(Te,kt)=>b(Te,x(kt)),We=(Te,kt)=>{var st={};for(var At in Te)ne.call(Te,At)&&kt.indexOf(At)<0&&(st[At]=Te[At]);if(Te!=null&&z)for(var At of z(Te))kt.indexOf(At)<0&&le.call(Te,At)&&(st[At]=Te[At]);return st},Ve=(Te,kt,st)=>new Promise((At,Dt)=>{var gt=it=>{try{ft(st.next(it))}catch(en){Dt(en)}},xt=it=>{try{ft(st.throw(it))}catch(en){Dt(en)}},ft=it=>it.done?At(it.value):Promise.resolve(it.value).then(gt,xt);ft((st=st.apply(Te,kt)).next())});const tt=(Te=[])=>Te==null?void 0:Te.map(kt=>Qe(Ee({},kt),{title:(kt==null?void 0:kt.value)||"",key:kt==null?void 0:kt.id,isLeaf:!0})),ke=Te=>{var kt=Te,{user:st,children:At,isShowComponent:Dt=!0,ModalProps:gt={},onDataSelect:xt}=kt,ft=We(kt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[it,en]=Me.default.useModal(),[rn]=nt.default.useForm(),[Pt,Zt]=(0,he.useState)([]),[En,Hn]=(0,he.useState)(!1),[mn,Gn]=(0,he.useState)(!1),[,Nt,_n,or]=(0,be.U)(oe.qE,{page:1,limit:9999}),[,,Je]=(0,be.U)(oe.V8,{}),[,,yn]=(0,be.U)(oe.B$,{}),[,,Fe]=(0,be.U)(oe.DH,{}),[,,de]=(0,be.U)(oe.bJ,{}),Ae=()=>{Hn(!1),rn.resetFields(),Gn(!1)},ye=pt=>Ve(void 0,null,function*(){const{node:Re,dragNode:Xe,event:Qt}=pt,Bt=pt.node.pos.split("-"),lt=pt.dropPosition-Number(Bt[Bt.length-1]);if(lt==0){Ge.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(lt==1&&(Xe==null?void 0:Xe.item_index)==(Re==null?void 0:Re.item_index)+1){Ge.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Yt=yield de({id:Xe==null?void 0:Xe.key,position:lt==-1?1:(Xe==null?void 0:Xe.item_index)>(Re==null?void 0:Re.item_index)?(Re==null?void 0:Re.item_index)+1:Re==null?void 0:Re.item_index});(Yt==null?void 0:Yt.status)===0&&(Ge.ZP.success("\u79FB\u52A8\u6210\u529F"),_n({},!0))}),qe=pt=>Ve(void 0,null,function*(){let Re={};mn?Re=yield yn(Ee({},pt)):Re=yield Fe(Ee({},pt)),(Re==null?void 0:Re.status)==0&&(Ge.ZP.success((Re==null?void 0:Re.message)||(mn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),_n({},!0),Ae())});return(0,he.useEffect)(()=>{gt!=null&>.open&&_n({},!0)},[gt==null?void 0:gt.open]),(0,he.useEffect)(()=>{var pt;Zt(tt((pt=or==null?void 0:or.data)==null?void 0:pt.list))},[or]),Dt?he.createElement(he.Fragment,null,en,At,he.createElement(Me.default,Ee({},Ee({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},gt)),he.createElement(He.Z,{spinning:Nt},(Pt==null?void 0:Pt.length)>0?he.createElement(he.Fragment,null,he.createElement(pe.default.DirectoryTree,{height:500,className:Pe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:xt,treeData:Pt,onDrop:ye,titleRender:pt=>he.createElement(he.Fragment,null,he.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},pt==null?void 0:pt.title),he.createElement("div",{className:`${Pe.EditDom}`},he.createElement(Be.Z,{wrap:!1,align:"middle",gutter:16},he.createElement(Ne.Z,null,he.createElement(ue.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},he.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Pe.currentPrimary}`}))),he.createElement(Ne.Z,null,he.createElement(ue.Z,{title:"\u7F16\u8F91"},he.createElement("i",{className:`iconfont icon-bianji11 font12 ${Pe.currentPrimary}`,onClick:Re=>{Re.stopPropagation(),rn.setFieldsValue(Ee({},pt)),Hn(!0)}}))),he.createElement(Ne.Z,null,he.createElement(ue.Z,{title:"\u5220\u9664"},he.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Pe.currentDelete}`,onClick:Re=>{Re.stopPropagation(),it.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>Ve(void 0,null,function*(){const Xe=yield Je({id:pt==null?void 0:pt.key});(Xe==null?void 0:Xe.status)==0&&(Ge.ZP.success((Xe==null?void 0:Xe.message)||"\u5220\u9664\u6210\u529F"),_n({},!0))})})}}))))))}),he.createElement(a.op,{className:"ml20 mt20",icon:he.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Gn(!0),Hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):he.createElement(y.Z,{styles:{margin:"30px auto"},customText:he.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",he.createElement("a",{onClick:()=>{Gn(!0),Hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),he.createElement(Me.default,{title:mn?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:En,okText:mn?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{Ae()},onOk:()=>{rn.submit()}},he.createElement(nt.default,{form:rn,onFinish:qe},mn&&he.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),he.createElement(nt.default.Item,{hidden:!0,name:"id"}),he.createElement(nt.default.Item,{className:"mt10",name:"value"},he.createElement(Oe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var Ft=(0,we.connect)(({loading:Te,user:kt})=>({user:kt,loading:Te.effects}))(ke)},44905:function(An,zt,ve){"use strict";ve.d(zt,{h:function(){return ne}});var he=ve(59301),we=ve(57809),Me=ve(78241),nt=ve(3113),Ge=ve(89780),He=ve.n(Ge),pe=ve(66543),Be=ve(59598),Ne=Object.defineProperty,ue=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Pe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,y=(le,xe,Ee)=>xe in le?Ne(le,xe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):le[xe]=Ee,a=(le,xe)=>{for(var Ee in xe||(xe={}))be.call(xe,Ee)&&y(le,Ee,xe[Ee]);if(Pe)for(var Ee of Pe(xe))oe.call(xe,Ee)&&y(le,Ee,xe[Ee]);return le},E=(le,xe)=>ue(le,Oe(xe));const b=we.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};zt.Z=({callback:le,onCancel:xe})=>{const[Ee,Qe]=(0,he.useState)("python");function We(tt){Qe(z[tt][1])}function Ve(tt){le(tt)}return he.createElement(Me.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ve,style:{width:500}}),he.createElement(Me.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},he.createElement(we.default,{getPopupContainer:tt=>tt.parentNode,onChange:We},Object.keys(z).map(tt=>he.createElement(b,{key:tt,value:tt},z[tt][0])))),he.createElement(Me.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},he.createElement(ne,{mode:Ee})),he.createElement("div",{className:"flex-container flex-end"},he.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(nt.ZP,{type:"ghost",onClick:xe},"\u53D6\u6D88")))};function ne({value:le,onChange:xe,mode:Ee,options:Qe={}}){const We=(0,he.useRef)(),[Ve,tt]=(0,he.useState)();return(0,he.useEffect)(()=>{if(Ve){let ke=function(Ft){const Te=Ft.getValue();xe&&xe(Te)};return Ve.on("change",ke),()=>{Ve.off("change",ke)}}},[Ve,xe]),(0,he.useEffect)(()=>{Ve&&Ve.setOption("mode",Ee)},[Ve,Ee]),(0,he.useEffect)(()=>{Ve&&(le!==Ve.getValue()||le==="")&&setTimeout(()=>{Ve.setValue(le||"")},300)},[Ve,le]),(0,he.useEffect)(()=>{if(We.current&&!Ve){const ke=He().fromTextArea(We.current,a({mode:Ee,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Qe));tt(ke)}},[We.current,Ve]),he.createElement("div",{className:"my-codemirror-container"},he.createElement("textarea",{ref:We}))}},89389:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Co}});var he=ve(59301),we=ve(89780),Me=ve.n(we),nt=ve(76374),Ge=ve(66543),He=ve(6313),pe=ve(25717),Be=ve(99498),Ne=ve(25419),ue=ve(67549),Oe=ve(7664),Pe=({value:Dn="",className:kn,showTextOnly:vn,showLines:Ur,style:Aa={}})=>{const Nr=(0,he.useMemo)(()=>"",[Dn]);return he.createElement(he.Fragment,null,he.createElement("div",{dangerouslySetInnerHTML:{__html:Nr}}))},be=ve(59301),oe=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(Dn,kn,vn)=>kn in Dn?oe(Dn,kn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):Dn[kn]=vn,ne=(Dn,kn)=>{for(var vn in kn||(kn={}))b.call(kn,vn)&&z(Dn,vn,kn[vn]);if(E)for(var vn of E(kn))x.call(kn,vn)&&z(Dn,vn,kn[vn]);return Dn},le=(Dn,kn)=>y(Dn,a(kn));let xe=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ee({onActionCallback:Dn,title:kn,icon:vn,actionName:Ur,className:Aa="",children:Nr}){function ga(){Dn(Ur)}return be.createElement("a",{title:kn,className:Aa,onClick:ga},be.createElement("i",{className:`${vn}`}),Nr)}var Qe=({watch:Dn,showNullButton:kn,showNullProgramButton:vn,onActionCallback:Ur,fullScreen:Aa,insertTemp:Nr,hidetoolBar:ga,extraUse:xa})=>{const wa=[...xe,{title:`${Dn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Dn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return be.createElement("ul",{className:"markdown-toolbar-container"},!ga&&wa.map((to,$o)=>be.createElement("li",{key:$o},to.actionName?be.createElement(Ee,le(ne({},to),{onActionCallback:Ur})):be.createElement("span",{className:"v-line"}))),kn?be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ur},be.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vn?be.createElement(be.Fragment,null,be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ur},be.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ur},be.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Nr&&be.createElement("li",null,be.createElement(Ee,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Nr}`,onActionCallback:Ur},be.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),xa&&be.createElement("li",null,xa),be.createElement("li",{className:"btn-full-screen"},be.createElement(Ee,{icon:`${Aa?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Aa?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ur})))},We=ve(75790),Ve=ve(78241),tt=ve(92832),ke=ve(3113),Ft=Object.defineProperty,Te=Object.defineProperties,kt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,gt=(Dn,kn,vn)=>kn in Dn?Ft(Dn,kn,{enumerable:!0,configurable:!0,writable:!0,value:vn}):Dn[kn]=vn,xt=(Dn,kn)=>{for(var vn in kn||(kn={}))At.call(kn,vn)&>(Dn,vn,kn[vn]);if(st)for(var vn of st(kn))Dt.call(kn,vn)&>(Dn,vn,kn[vn]);return Dn},ft=(Dn,kn)=>Te(Dn,kt(kn));const it={labelCol:{span:4},wrapperCol:{span:20}};var en=({callback:Dn,onCancel:kn})=>{function vn(Ur){Dn(Ur)}return he.createElement(Ve.default,ft(xt({},it),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vn,style:{width:500}}),he.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},he.createElement(tt.default,null)),he.createElement(Ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},he.createElement(tt.default,null)),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ke.ZP,{type:"ghost",onClick:kn},"\u53D6\u6D88")))},rn=ve(44905),Pt=ve(45596),Zt=ve(43418),En=ve(95237),Hn=ve(6077),mn=ve(59301),Gn=({callback:Dn,onCancel:kn})=>{const vn=document.createElement("canvas"),Ur=vn.getContext("2d");vn.width=1e3,vn.height=800,Ur.fillStyle="#ffffff",Ur.fillRect(0,0,vn.width,vn.height);const Aa=vn.toDataURL("image/png");return mn.createElement(Zt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},mn.createElement(En.Z,{style:{height:"100vh"}},mn.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Aa,visible:!0,title:String(Date.now())},onOk:Nr=>{Dn({src:Nr.url})},onClose:kn})))},Nt=ve(12378);function _n(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(_n,go.CommandHandler),_n.prototype.canAlignSelection=function(){var Dn=this.diagram;return!(Dn===null||Dn.isReadOnly||Dn.isModelReadOnly||Dn.selection.count<2)},_n.prototype.alignLeft=function(){var Dn=this.diagram;Dn.startTransaction("aligning left");var kn=1/0;Dn.selection.each(function(vn){vn instanceof go.Link||(kn=Math.min(vn.position.x,kn))}),Dn.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(kn,vn.position.y))}),Dn.commitTransaction("aligning left")},_n.prototype.alignRight=function(){var Dn=this.diagram;Dn.startTransaction("aligning right");var kn=-1/0;Dn.selection.each(function(vn){if(!(vn instanceof go.Link)){var Ur=vn.actualBounds.x+vn.actualBounds.width;kn=Math.max(Ur,kn)}}),Dn.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(kn-vn.actualBounds.width,vn.position.y))}),Dn.commitTransaction("aligning right")},_n.prototype.alignTop=function(){var Dn=this.diagram;Dn.startTransaction("alignTop");var kn=1/0;Dn.selection.each(function(vn){vn instanceof go.Link||(kn=Math.min(vn.position.y,kn))}),Dn.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.position.x,kn))}),Dn.commitTransaction("alignTop")},_n.prototype.alignBottom=function(){var Dn=this.diagram;Dn.startTransaction("aligning bottom");var kn=-1/0;Dn.selection.each(function(vn){if(!(vn instanceof go.Link)){var Ur=vn.actualBounds.y+vn.actualBounds.height;kn=Math.max(Ur,kn)}}),Dn.selection.each(function(vn){vn instanceof go.Link||vn.move(new go.Point(vn.actualBounds.x,kn-vn.actualBounds.height))}),Dn.commitTransaction("aligning bottom")},_n.prototype.alignCenterX=function(){var Dn=this.diagram,kn=Dn.selection.first();if(kn){Dn.startTransaction("aligning Center X");var vn=kn.actualBounds.x+kn.actualBounds.width/2;Dn.selection.each(function(Ur){Ur instanceof go.Link||Ur.move(new go.Point(vn-Ur.actualBounds.width/2,Ur.actualBounds.y))}),Dn.commitTransaction("aligning Center X")}},_n.prototype.alignCenterY=function(){var Dn=this.diagram,kn=Dn.selection.first();if(kn){Dn.startTransaction("aligning Center Y");var vn=kn.actualBounds.y+kn.actualBounds.height/2;Dn.selection.each(function(Ur){Ur instanceof go.Link||Ur.move(new go.Point(Ur.actualBounds.x,vn-Ur.actualBounds.height/2))}),Dn.commitTransaction("aligning Center Y")}},_n.prototype.alignColumn=function(Dn){var kn=this.diagram;kn.startTransaction("align Column"),Dn===void 0&&(Dn=0),Dn=parseFloat(Dn);var vn=new Array;kn.selection.each(function(xa){xa instanceof go.Link||vn.push(xa)});for(var Ur=0;Ur0){for(var xa=Nr.elt(ga-1);xa!==null&&xa.isTreeExpanded&&!xa.isTreeLeaf;){var wa=this._sortTreeChildrenByY(xa);xa=wa.last()}xa!==null&&Dn.select(xa)}else Dn.select(Aa)}}else if(vn.key==="Down")if(kn.isTreeExpanded&&!kn.isTreeLeaf){var Ur=this._sortTreeChildrenByY(kn).first();Ur!==null&&Dn.select(Ur)}else for(;kn!==null;){var Aa=kn.findTreeParentNode();if(Aa===null)break;var Nr=this._sortTreeChildrenByY(Aa),ga=Nr.indexOf(kn);if(gaNr.y?1:Aa.xNr.x?1:0}),kn},_n.prototype.copyToClipboard=function(Dn){go.CommandHandler.prototype.copyToClipboard.call(this,Dn),this._lastPasteOffset.set(this.pasteOffset)},_n.prototype.pasteFromClipboard=function(){var Dn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Dn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Dn},Object.defineProperty(_n.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Dn){if(Dn!=="move"&&Dn!=="select"&&Dn!=="scroll"&&Dn!=="tree"&&Dn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Dn);this._arrowKeyBehavior=Dn}}),Object.defineProperty(_n.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Dn){if(!(Dn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Dn);this._pasteOffset.set(Dn)}});var or=_n,Je=ve(20397),yn=ve(43604),Fe=ve(82093),de={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Ae=ve(59301),ye=(Dn,kn,vn)=>new Promise((Ur,Aa)=>{var Nr=wa=>{try{xa(vn.next(wa))}catch(to){Aa(to)}},ga=wa=>{try{xa(vn.throw(wa))}catch(to){Aa(to)}},xa=wa=>wa.done?Ur(wa.value):Promise.resolve(wa.value).then(Nr,ga);xa((vn=vn.apply(Dn,kn)).next())});function qe({onCancel:Dn,callback:kn}){let vn=(0,he.useRef)(),Ur=(0,he.useRef)(),Aa=(0,he.useRef)(),Nr=(0,he.useRef)(!1);const ga=(0,he.useRef)(!1),[xa,wa]=(0,he.useState)(0);function to(){const Er=Nt.bx.make,Ea={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};vn.current=new Nt.S0(Ur.current,{padding:20,grid:Er(Nt.s_,"Grid",Er(Nt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Er(Nt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vr=>{var La=Vr.diagram.commandHandler.addTopLevelParts(Vr.diagram.selection,!0);La||Vr.diagram.currentTool.doCancel()},commandHandler:Er(or),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vr=>{var La=Vr.subject;La.location=La.location.copy().snapToGridPoint(Vr.diagram.grid.gridOrigin,Vr.diagram.grid.gridCellSize),setTimeout(()=>{Vr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vr=>{var La=Vr.subject;setTimeout(()=>{Vr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vr=>{var La=Vr.parameter.part;La.invalidateConnectedLinks();var mo=Vr.subject;Vr.diagram.toolManager.linkingTool.isForwards?mo.toNode.invalidateConnectedLinks():mo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vn.current.nodeTemplate=Er(Nt.NB,"Auto",{locationSpot:Nt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Nt.$u(120,60),minSize:new Nt.$u(40,40),resizable:!0,resizeCellSize:new Nt.$u(10,10),rotatable:!0},new Nt.KX("location","loc",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),new Nt.KX("desiredSize","size",Nt.$u.parse).makeTwoWay(Nt.$u.stringify),Er(Nt.bn,{name:"SHAPE",fill:Ea.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Nt.z6.AllSides,toSpot:Nt.z6.AllSides},new Nt.KX("figure"),new Nt.KX("fill"),new Nt.KX("stroke","borderColor"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),Er(Nt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Er(Nt.al,{margin:1,textAlign:"center",overflow:Nt.al.OverflowEllipsis,editable:!0},new Nt.KX("text").makeTwoWay(),new Nt.KX("stroke","color"))),vn.current.nodeTemplate.toolTip=Er("ToolTip",Er(Nt.s_,"Vertical",{maxSize:new Nt.$u(200,NaN)},Er(Nt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Nt.KX("text")),Er(Nt.al,{font:"10pt sans-serif",textAlign:"center"},new Nt.KX("text","details"))));function Ho(Vr,La){var mo=(Ba,Ro)=>{Ba.handled=!0,Ba.diagram.model.commit(ai=>{var Pi=Ro.part.adornedPart,Ia=new Nt.E9().setRectSpot(Pi.actualBounds,Vr);Ia.subtract(Pi.location),Ia.scale(2,2),Ia.x+=Math.sign(Ia.x)*130,Ia.y+=Math.sign(Ia.y)*130,Ia.add(Pi.location),Ia.snapToGridPoint(Ba.diagram.grid.gridOrigin,Ba.diagram.grid.gridCellSize);var qi=ai.copyNodeData(Pi.data);ai.setGroupKeyForNodeData(qi,ai.getGroupKeyForNodeData(Pi.data)),ai.addNodeData(qi);var Oa={from:Pi.key,to:ai.getKeyForNodeData(qi)};ai.addLinkData(Oa);var Sa=Ba.diagram.findNodeForData(qi);Sa.location=Ia,Ba.diagram.select(Sa),setTimeout(()=>{Ba.diagram.commandHandler.editTextBlock()},20)})};return Er(Nt.bn,{figure:La,alignment:Vr,alignmentFocus:Vr.opposite(),width:Vr.equals(Nt.z6.Top)||Vr.equals(Nt.z6.Bottom)?25:18,height:Vr.equals(Nt.z6.Top)||Vr.equals(Nt.z6.Bottom)?18:25,fill:"orange",stroke:Ea.white,strokeWidth:4,mouseEnter:(Ba,Ro)=>Ro.fill="dodgerblue",mouseLeave:(Ba,Ro)=>Ro.fill="orange",isActionable:!0,click:mo,contextClick:mo})}function Lo(Vr){return Er(Nt.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(La,mo)=>mo.fill="dodgerblue",mouseLeave:(La,mo)=>mo.fill="orange",click:(La,mo)=>{La.diagram.commandHandler.showContextMenu(mo.part.adornedPart)}},Vr||{})}vn.current.nodeTemplate.selectionAdornmentTemplate=Er(Nt.uz,"Spot",Er(Nt.Vm,{padding:10}),Ho(Nt.z6.Top,"TriangleUp"),Ho(Nt.z6.Left,"TriangleLeft"),Ho(Nt.z6.Right,"TriangleRight"),Ho(Nt.z6.Bottom,"TriangleDown"),Lo({alignment:new Nt.z6(.75,0)}));function Qo(Vr,La){return(mo,Ba)=>{mo.handled=!0,mo.diagram.model.commit(Ro=>{Ro.set(Ba.part.adornedPart.data,Vr,La)})}}function io(Vr,La){return La||(La="color"),Er(Nt.bn,{width:16,height:16,stroke:"lightgray",fill:Vr,margin:1,background:"transparent",mouseEnter:(mo,Ba)=>Ba.stroke="dodgerblue",mouseLeave:(mo,Ba)=>Ba.stroke="lightgray",click:Qo(La,Vr),contextClick:Qo(La,Vr)})}function hi(){return[Er("ContextMenuButton",Er(Nt.s_,"Horizontal",io(Ea.white,"fill"),io(Ea.beige,"fill"),io(Ea.extralightblue,"fill"),io(Ea.extralightred,"fill"))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",io(Ea.lightgray,"fill"),io(Ea.lightgreen,"fill"),io(Ea.lightblue,"fill"),io(Ea.lightred,"fill")))]}function Di(){return[Er("ContextMenuButton",Er(Nt.s_,"Horizontal",io(Ea.black),io(Ea.green),io(Ea.blue),io(Ea.red))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",io(Ea.white),io(Ea.magenta),io(Ea.purple),io(Ea.orange)))]}function Ei(Vr,La){return La||(La="thickness"),Er(Nt.bn,"LineH",{width:16,height:16,strokeWidth:Vr,margin:1,background:"transparent",mouseEnter:(mo,Ba)=>Ba.background="dodgerblue",mouseLeave:(mo,Ba)=>Ba.background="transparent",click:Qo(La,Vr),contextClick:Qo(La,Vr)})}function Ji(Vr,La){return La||(La="dash"),Er(Nt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vr,margin:1,background:"transparent",mouseEnter:(mo,Ba)=>Ba.background="dodgerblue",mouseLeave:(mo,Ba)=>Ba.background="transparent",click:Qo(La,Vr),contextClick:Qo(La,Vr)})}function Ti(){return[Er("ContextMenuButton",Er(Nt.s_,"Horizontal",Ei(1),Ei(2),Ei(3),Ei(4))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",Ji(null),Ji([2,4]),Ji([4,4])))]}function zo(Vr,La){return La||(La="figure"),Er(Nt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vr,margin:1,background:"transparent",mouseEnter:(mo,Ba)=>Ba.fill="dodgerblue",mouseLeave:(mo,Ba)=>Ba.fill="lightgray",click:Qo(La,Vr),contextClick:Qo(La,Vr)})}vn.current.nodeTemplate.contextMenu=Er("ContextMenu",Er("ContextMenuButton",Er(Nt.s_,"Horizontal",zo("Rectangle"),zo("RoundedRectangle"),zo("Ellipse"),zo("Diamond"))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",zo("Parallelogram2"),zo("ManualOperation"),zo("Procedure"),zo("Cylinder1"))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",zo("Terminator"),zo("CreateRequest"),zo("Document"),zo("TriangleDown"))),hi(),Di(),Ti()),vn.current.groupTemplate=Er(Nt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Nt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vr,La)=>{var mo=La.addMembers(La.diagram.selection,!0);mo||La.diagram.currentTool.doCancel()},avoidable:!1},new Nt.KX("location","loc",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),Er(Nt.s_,"Auto",{name:"BODY"},Er(Nt.bn,{parameter1:10,fill:Ea.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Nt.z6.AllSides,toSpot:Nt.z6.AllSides},new Nt.KX("fill"),new Nt.KX("stroke","color"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),Er(Nt.Vm,{background:"transparent",margin:20})),Er(Nt.al,{alignment:Nt.z6.Top,alignmentFocus:Nt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Nt.KX("text"),new Nt.KX("stroke","color"))),vn.current.groupTemplate.selectionAdornmentTemplate=Er(Nt.uz,"Spot",Er(Nt.s_,"Auto",Er(Nt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Er(Nt.Vm,{margin:1.5})),Lo({alignment:Nt.z6.TopRight,alignmentFocus:Nt.z6.BottomRight})),vn.current.groupTemplate.contextMenu=Er("ContextMenu",hi(),Di(),Ti()),vn.current.linkTemplate=Er(Nt.rU,{layerName:"Foreground",routing:Nt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Nt.KX("fromSpot","fromSpot",Nt.z6.parse),new Nt.KX("toSpot","toSpot",Nt.z6.parse),new Nt.KX("fromShortLength","dir",Vr=>Vr>=1?10:0),new Nt.KX("toShortLength","dir",Vr=>Vr>=1?10:0),new Nt.KX("points").makeTwoWay(),Er(Nt.bn,{strokeWidth:2},new Nt.KX("stroke","color"),new Nt.KX("strokeWidth","thickness"),new Nt.KX("strokeDashArray","dash")),Er(Nt.bn,{segmentIndex:0,segmentOffset:new Nt.E9(15,0),segmentOrientation:Nt.rU.OrientAlong,alignmentFocus:Nt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Vr=>Vr===1)),Er(Nt.bn,{segmentIndex:-1,segmentOffset:new Nt.E9(-10,6),segmentOrientation:Nt.rU.OrientPlus90,alignmentFocus:Nt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Vr=>Vr>=1),new Nt.KX("width","thickness",Vr=>7+3*Vr),new Nt.KX("height","thickness",Vr=>7+3*Vr),new Nt.KX("segmentOffset","thickness",Vr=>new Nt.E9(-15,4+1.5*Vr))),Er(Nt.bn,{segmentIndex:0,segmentOffset:new Nt.E9(15,-6),segmentOrientation:Nt.rU.OrientMinus90,alignmentFocus:Nt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Nt.KX("fill","color"),new Nt.KX("visible","dir",Vr=>Vr===2),new Nt.KX("width","thickness",Vr=>7+3*Vr),new Nt.KX("height","thickness",Vr=>7+3*Vr),new Nt.KX("segmentOffset","thickness",Vr=>new Nt.E9(-15,4+1.5*Vr))),Er(Nt.al,{alignmentFocus:new Nt.z6(0,1,-4,0),editable:!0},new Nt.KX("text").makeTwoWay(),new Nt.KX("stroke","color"))),vn.current.linkTemplate.selectionAdornmentTemplate=Er(Nt.uz,Er(Nt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:sA(2)},new Nt.KX("pathPattern","thickness",sA)),Lo({alignmentFocus:new Nt.z6(0,0,-6,-4)}));function sA(Vr){return Er(Nt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vr+4).toString()+" H3"})}function XA(Vr){var La="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vr===0?La="M0 0 M16 16 M0 8 L16 8":Vr===2&&(La="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Er(Nt.bn,{geometryString:La,margin:2,background:"transparent",mouseEnter:(mo,Ba)=>Ba.background="dodgerblue",mouseLeave:(mo,Ba)=>Ba.background="transparent",click:Qo("dir",Vr),contextClick:Qo("dir",Vr)})}function _i(Vr){var La=(mo,Ba)=>{mo.handled=!0,mo.diagram.model.commit(Ro=>{var ai=Ba.part.adornedPart;Ro.set(ai.data,Vr?"toSpot":"fromSpot",Nt.z6.stringify(Nt.z6.AllSides)),(Vr?ai.toNode:ai.fromNode).invalidateConnectedLinks()})};return Er(Nt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(mo,Ba)=>Ba.background="dodgerblue",mouseLeave:(mo,Ba)=>Ba.background="transparent",click:La,contextClick:La})}function Dr(Vr,La){var mo=0,Ba=Nt.z6.RightSide;Vr.equals(Nt.z6.Top)?(mo=270,Ba=Nt.z6.TopSide):Vr.equals(Nt.z6.Left)?(mo=180,Ba=Nt.z6.LeftSide):Vr.equals(Nt.z6.Bottom)&&(mo=90,Ba=Nt.z6.BottomSide),La||(mo-=180);var Ro=(ai,Pi)=>{ai.handled=!0,ai.diagram.model.commit(Ia=>{var qi=Pi.part.adornedPart;Ia.set(qi.data,La?"toSpot":"fromSpot",Nt.z6.stringify(Ba)),(La?qi.toNode:qi.fromNode).invalidateConnectedLinks()})};return Er(Nt.bn,{alignment:Vr,alignmentFocus:Vr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:mo,background:"transparent",mouseEnter:(ai,Pi)=>Pi.background="dodgerblue",mouseLeave:(ai,Pi)=>Pi.background="transparent",click:Ro,contextClick:Ro})}vn.current.linkTemplate.contextMenu=Er("ContextMenu",Di(),Ti(),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",XA(0),XA(1),XA(2))),Er("ContextMenuButton",Er(Nt.s_,"Horizontal",Er(Nt.s_,"Spot",_i(!1),Dr(Nt.z6.Top,!1),Dr(Nt.z6.Left,!1),Dr(Nt.z6.Right,!1),Dr(Nt.z6.Bottom,!1)),Er(Nt.s_,"Spot",{margin:new Nt.Zt(0,0,0,2)},_i(!0),Dr(Nt.z6.Top,!0),Dr(Nt.z6.Left,!0),Dr(Nt.z6.Right,!0),Dr(Nt.z6.Bottom,!0)))));const Gl=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, {"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, {"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, {"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, {"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, {"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, {"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} ], "linkDataArray": [ {"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, {"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, {"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, {"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Fs=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function xs(Vr){return console.log("shapeName:",Vr),Fs.indexOf(Vr)>=0}var JA=new Nt.YI(Aa.current,{maxSelectionCount:1,linkTemplate:Er(Nt.rU,{locationSpot:Nt.z6.Center,selectionAdornmentTemplate:Er(Nt.uz,"Link",{locationSpot:Nt.z6.Center},Er(Nt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Er(Nt.bn,{toArrow:"Standard",stroke:null}))},{routing:Nt.rU.AvoidsNodes,curve:Nt.rU.JumpOver,corner:5,toShortLength:4},new Nt.KX("points"),Er(Nt.bn,{isPanelMain:!0,strokeWidth:2}),Er(Nt.bn,{toArrow:"Standard",stroke:null})),model:new Nt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Nt.bn.getFigureGenerators().toArray().map(Vr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vn.current.addDiagramListener("TextEdited",function(Vr){var La;const mo=Vr.subject.part;var Ba=(La=document.activeElement)==null?void 0:La.value;typeof Ba=="string"&&Ba.trim()===""&&vn.current.model.commit(function(Ro){Ro.set(mo.data,"text","\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}),JA.nodeTemplate=Er(Nt.NB,"Auto",{locationSpot:Nt.z6.Center},new Nt.KX("location","location",Nt.E9.parse).makeTwoWay(Nt.E9.stringify),Er(Nt.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Nt.KX("stroke").makeTwoWay(),new Nt.KX("fill").makeTwoWay(),new Nt.KX("figure")),Er(Nt.al,{margin:new Nt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Nt.$u(16,16),maxSize:new Nt.$u(10,NaN),textAlign:"center",editable:!0},new Nt.KX("key").makeTwoWay())),setTimeout(()=>{vn.current.grid=Er(Nt.s_,"Grid",Er(Nt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Er(Nt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vn.current.grid.visible=!0,vn.current.grid.gridCellStroke="darkgray",vn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vn.current,vn.current}const $o=()=>ye(this,null,function*(){var Er=vn.current.makeImage();const Ea=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Er.src}});kn({src:Ea.url})});return(0,he.useEffect)(()=>(setTimeout(()=>{to()},500),wa(xa+1),()=>{vn.current=null}),[]),Ae.createElement("div",{ref:ga,className:Nr.current?`${de.maxH60} body-overflow-initial`:"body-overflow-initial"},Ae.createElement(Zt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!xa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Ae.createElement(En.Z,null,Ae.createElement(yn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Ae.createElement(yn.Z,{onClick:()=>{var Er,Ea,Ho=vn.current.selection.first();if(Nr.current=!Nr.current,document.activeElement&&Ho){let Lo=(Ea=(Er=document.activeElement)==null?void 0:Er.value)==null?void 0:Ea.trim();typeof Lo=="string"&&vn.current.model.commit(function(Qo){Qo.set(Ho.data,"text",Lo||"\u672A\u547D\u540D"),vn.current.commandHandler.stopCommand()},"increment")}wa(xa+1)}},Ae.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Dn},Ae.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:de.flowChartWrp},Ae.createElement("div",{style:{display:"flex",height:"100%"}},Ae.createElement("div",{style:{width:"300px",height:"100%"}},Ae.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Ae.createElement("div",{style:{height:"calc(100% - 50px)"},className:de.myPaletteDiv,ref:Aa})),Ae.createElement("div",{style:{flex:1,position:"relative"}},Ae.createElement("div",{ref:Ur,style:{height:"80vh"}}))),Ae.createElement("div",{className:"tr"},Ae.createElement(ke.ZP,{size:"large",onClick:$o,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var pt=qe,Re=ve(5112),Xe=ve(5871);const Qt=Re.ZP.Group,Bt={margin:"0 8px"};var lt=({callback:Dn,onCancel:kn})=>{function vn(Ur){Dn(Ur)}return he.createElement(Ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vn},he.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},he.createElement("span",{style:Bt},"\u5355\u5143\u683C\u6570\uFF1A"),he.createElement("span",{style:Bt},"\u884C\u6570"),he.createElement(Ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},he.createElement(Xe.Z,null)),he.createElement("span",{style:Bt},"\u5217\u6570"),he.createElement(Ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},he.createElement(Xe.Z,null))),he.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},he.createElement("span",{style:Bt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),he.createElement(Ve.default.Item,{name:"align"},he.createElement(Qt,null,he.createElement(Re.ZP,{value:"default"},he.createElement("i",{className:"fa fa-align-justify"})),he.createElement(Re.ZP,{value:"left"},he.createElement("i",{className:"fa fa-align-left"})),he.createElement(Re.ZP,{value:"center"},he.createElement("i",{className:"fa fa-align-center"})),he.createElement(Re.ZP,{value:"right"},he.createElement("i",{className:"fa fa-align-right"}))))),he.createElement("div",{className:"flex-container flex-end"},he.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(ke.ZP,{type:"ghost",onClick:kn},"\u53D6\u6D88")))},Yt=ve(78673),wn=ve(11081),jt=ve.n(wn),Tt=(0,he.forwardRef)(({use3d:Dn,width:kn,height:vn,callback:Ur,showSaveButton:Aa},Nr)=>{const ga=(0,he.useRef)(),xa=(0,he.useRef)(),[wa,to]=(0,he.useState)(!1),$o=(0,he.useRef)({id:ga,appName:"graphing",width:kn||1e3,height:vn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,he.useEffect)(()=>{xa.current=new(jt())($o.current,!0),window.onload=function(){xa.current.inject("applet_container")}},[]);const Er=()=>{var Ea=window.ggbApplet.getPNGBase64(1,!0,72);return Ur&&Ur(Ea),Ea};return(0,he.useEffect)(()=>{$o.current.appName=wa?"3D":"graphing",xa.current.inject("applet_container")},[wa]),(0,he.useEffect)(()=>{to(Dn)},[Dn]),(0,he.useImperativeHandle)(Nr,()=>({getImgData:Er})),he.createElement(he.Fragment,null,he.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ga}),he.createElement(En.Z,{align:"middle"},he.createElement(yn.Z,{flex:1},he.createElement(Yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:wa,onChange:Ea=>to(Ea)})),he.createElement(yn.Z,null,he.createElement(ke.ZP,{size:"large",onClick:Er,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Fn=ve(88615),dt=ve(1012),on=ve(8591);const Bn="link",bn="upload-image",er="add-flowchart",cr="draw-image",yr="add-flowchart",Cr="code-block",mr="add-table",ur="------------",hr={default:ur,left:`:${ur}`,center:`:${ur}:`,right:`${ur}:`};var br=ve(17904),qr=(Dn,kn,vn)=>new Promise((Ur,Aa)=>{var Nr=wa=>{try{xa(vn.next(wa))}catch(to){Aa(to)}},ga=wa=>{try{xa(vn.throw(wa))}catch(to){Aa(to)}},xa=wa=>wa.done?Ur(wa.value):Promise.resolve(wa.value).then(Nr,ga);xa((vn=vn.apply(Dn,kn)).next())});function ha(){}let Qr=0;const Qa=1e4,Ua="\u2581",Rr="@\u2581\u2581@",gn="@\u2581@",wo=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,eo=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Oo(Dn){return/^\d+$/.test(Dn)?`${Dn}px`:Dn}const oo=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Xo={[oo+"-B"]:"bold",[oo+"-I"]:"italic"},qo={[Bn]:"\u6DFB\u52A0\u94FE\u63A5",[Cr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[bn]:"\u6DFB\u52A0\u56FE\u7247",[cr]:"\u6DFB\u52A0\u753B\u56FE",[er]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[mr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Co=({defaultValue:Dn="",onChange:kn,width:vn="100%",height:Ur=400,miniToolbar:Aa=!1,isFocus:Nr=!1,watch:ga,insertTemp:xa,mode:wa="markdown",id:to="markdown-editor-id",showResizeBar:$o=!1,noStorage:Er=!1,showNullButton:Ea=!1,showNullProgramButton:Ho=!1,hidetoolBar:Lo=!1,fullScreen:Qo=!1,onBlur:io,onCMBeforeChange:hi,onFullScreen:Di,className:Ei="",disablePaste:Ji=!1,disabled:Ti=!1,disabledFill:zo=!1,placeholder:sA="",values:XA="",extraUse:_i})=>{const[Dr,Gl]=(0,he.useState)(null),[Fs,xs]=(0,he.useState)(Dn),[JA,Vr]=(0,he.useState)(ga),[La,mo]=(0,he.useState)(Qo),[Ba,Ro]=(0,he.useState)(""),[ai,Pi]=(0,he.useState)(0),[Ia,qi]=(0,he.useState)(Ur),[Oa,Sa]=(0,he.useState)(!1),ml=(0,he.useRef)((0,dt.Z)()),ms=(0,he.useRef)(!1),ps=(0,he.useRef)(),[qA,jA]=(0,he.useState)(0),[vs,$A]=(0,he.useState)(0),_A=(0,he.useRef)(),Ui=(0,he.useRef)(),$n=(0,he.useRef)(),Zn=(0,he.useRef)(),lr=()=>qr(void 0,null,function*(){var Gr;const jr=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ml.current}});(Gr=jr==null?void 0:jr.attachments)!=null&&Gr.length&&(console.log("cm:",Dr,_A),jr.attachments.map(Kt=>{Kt.content_type.indexOf("image")>-1?Dr.replaceSelection(`![,](/api/attachments/${Kt.id}?type=${Kt.content_type})`):Kt.content_type.indexOf("video")>-1?Dr.replaceSelection(``):Kt.content_type.indexOf("pdf")>-1?Dr.replaceSelection(`${Kt.name}`):Dr.replaceSelection(`[${Kt.name}](${ENV.API_SERVER}/api/attachments/${Kt.id}?type=${Kt.content_type})`)}))});(0,he.useEffect)(()=>{const Gr=window.scrollY||window.pageYOffset;xs(XA),Dr==null||Dr.setValue(XA),window.scrollTo(0,Gr)},[XA]),(0,he.useEffect)(()=>{Di==null||Di(La)},[La]),(0,he.useEffect)(()=>{if(_A.current){let Gr=function(Kt,Ht){var In;if(Ji){Ht.preventDefault();return}const gr=Ht.clipboardData;if(gr){const $r=gr.types.toString(),xr=gr.items;if($r==="Files"||gr.types.indexOf("Files")>-1){if(Ht.preventDefault(),wa=="stex")return;try{let Jr=xr[1];((In=xr[0])==null?void 0:In.kind)==="file"&&(Jr=xr[0]);const wr=Jr.getAsFile(),aa=wr.name.split(".").pop();(0,Pt.I)(wr,fa=>{var lo,Ko,Ca;fa.id?((lo=wr==null?void 0:wr.type)==null?void 0:lo.indexOf("image"))>-1?jr.replaceSelection(``):((Ko=wr==null?void 0:wr.type)==null?void 0:Ko.indexOf("video"))>-1?jr.replaceSelection(``):((Ca=wr==null?void 0:wr.type)==null?void 0:Ca.indexOf("pdf"))>-1?jr.replaceSelection(`${wr.name}`):eo.includes(aa)?jr.replaceSelection(`${wr.name}`):jr.replaceSelection(`[${wr.name}](/api/attachments/${fa.id}?type=${fa.content_type})`):(fa==null?void 0:fa.status)===401&&(on.ZP.warning((fa==null?void 0:fa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Jr){on.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const jr=Me().fromTextArea(_A.current,{mode:wa,lineNumbers:!Aa,lineWrapping:!0,value:Dn,autoCloseTags:!Ho,autoCloseBrackets:!0});return jr.on("keyup",function(Kt,Ht){Ht.keyCode===8&&(Kt.getValue()==""?jr.setOption("placeholder",sA):jr.setOption("placeholder",null))}),jr.on("keydown",function(Kt,Ht){if(Ht.keyCode===8){var In=tn(Kt);In&&Ht.preventDefault()}}),Nr&&jr.focus(),jr.on("paste",Gr),jr.on("dragleave",function(Kt,Ht){Ui.current.classList.remove("mouse-hover-md")}),Ti&&jr.on("beforeChange",function(Kt,Ht){(Ht.origin==="paste"||Ht.origin==="+input")&&Ht.cancel()}),Gl(jr),()=>{jr.off("paste",Gr)}}},[]);const Yr=(0,he.useCallback)(()=>{if(Ui.current)try{}catch(Gr){console.log(Gr,"---- to set md editor body height")}},[Ia,Ui,La]);(0,he.useEffect)(()=>{function Gr(){let jr=new nt.Z(Kt=>{for(let Ht of Kt)(Ht.target.offsetHeight>0||Ht.target.offsetWidth>0)&&(Yr(),Dr.setSize("100%","100%"),Dr.refresh())});return jr.observe(_A.current.parentElement),jr}if(Dr){const jr=Gr();return()=>{var Kt,Ht;(Kt=_A.current)!=null&&Kt.parentElement&&jr.unobserve((Ht=_A.current)==null?void 0:Ht.parentElement)}}},[Dr,Yr]),(0,he.useEffect)(()=>{if(Dr){let Gr=[];for(const[jr,Kt]of Object.entries(Xo)){let Ht={[jr]:()=>{co(Kt)}};Gr.push(Ht),Dr.addKeyMap(Ht)}return ps.current=setInterval(()=>{ms.current&&lr()},4e3),()=>{clearInterval(ps.current);for(let jr of Gr)Dr.removeKeyMap(jr)}}},[Dr]),(0,he.useEffect)(()=>{Qo!==La&&mo(Qo)},[Qo]),(0,br.Z)(()=>{if(!Er&&ai>0){let Gr=new Date().getTime(),jr=window.sessionStorage.getItem(to);Gr>=ai+Qa&&(!jr||jr!==Fs)&&(window.sessionStorage.setItem(to,Fs),Sa(!0))}},Qa),(0,he.useEffect)(()=>{Vr(ga)},[Dr,ga]),(0,he.useEffect)(()=>{Dr&&Nr&&Dr.focus()},[Dr,Nr]),(0,he.useEffect)(()=>{if(JA&&Dr){let Gr=function(Kt){let Ht=Kt.target;if(Zn.current){let In=Ht.scrollTop/Ht.scrollHeight;Zn.current.scrollTop=Zn.current.scrollHeight*In}};const jr=Dr.getScrollerElement();return jr.addEventListener("scroll",Gr),()=>{jr.removeEventListener("scroll",Gr)}}},[Dr,JA]),(0,he.useEffect)(()=>{if(Dr&&hi){let Gr=function(jr,Kt){hi(jr,Kt)};return Dr.on("beforeChange",Gr),()=>{Dr.off("beforeChange",Gr)}}},[Dr,hi]),(0,he.useEffect)(()=>{if(Dr&&io){let Gr=function(){io(Dr.getValue())};return Dr.on("blur",Gr),()=>{Dr.off("blur",Gr)}}},[Dr,io]);function tn(Gr,jr){var Kt=Gr.getDoc(),Ht=Kt.getCursor(),In=Kt.getLine(Ht.line),gr=In.charAt(Ht.ch-1),$r=In.lastIndexOf("@\u2581@",Ht.ch),xr=In.lastIndexOf("@\u2581\u2581@",Ht.ch),Jr=$r>xr?$r:xr,wr=$r>xr?3:4;if(Rr.indexOf(gr)===-1)return null;if(console.log("change1:",jr,Gr,In,Ht,Jr,$r,xr,gr),Jr>=0&&Ht.ch-Jr<5){var aa=Jr+wr;return Kt.replaceRange("",{line:Ht.line,ch:Jr},{line:Ht.line,ch:aa}),{line:Ht.line,ch:aa}}return null}(0,he.useEffect)(()=>{if(Dr){let Gr=function(jr,Kt){const Ht=jr.getValue();xs(Ht),Pi(new Date().getTime()),jr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),kn&&(Ho?kn(Ht,so(Ht)):kn(Ht))};return Dr.on("change",Gr),()=>{Dr.off("change",Gr)}}},[Dr,kn]),(0,he.useEffect)(()=>{if(Dr)if(Dn==null)Dr.setValue(""),xs("");else{const Gr=window.scrollY||window.pageYOffset;Dn!==Dr.getValue()&&(Dr.setValue(Dn),xs(Dn),Dr.setCursor(Ti?1:Dr.lineCount(),0),window.scrollTo(0,Gr))}},[Dr,Dn]);const co=(0,he.useCallback)(Gr=>{const jr=Dr.getCursor(),Kt=Dr.getSelection();let Ht=Kt.split(` `);switch(Gr){case"bold":return Dr.replaceSelection("**"+Kt+"**"),Kt===""&&Dr.setCursor(jr.line,jr.ch+2),Dr.focus();case"italic":return Dr.replaceSelection("*"+Kt+"*"),Kt===""&&Dr.setCursor(jr.line,jr.ch+1),Dr.focus();case"code":return Dr.replaceSelection("`"+Kt+"`"),Kt===""&&Dr.setCursor(jr.line,jr.ch+1),Dr.focus();case"inline-latex":return Ro("inline-latex"),Dr.focus();case"latex":return Dr.replaceSelection("```latex\n"+Kt+"\n```"),Dr.setCursor(jr.line+1,Kt.length+1),Dr.focus();case"line-break":return Dr.replaceSelection(`
`),Dr.focus();case"list-ul":return Kt===""?Dr.replaceSelection("- "+Kt):Dr.replaceSelection(Ht.map(In=>In===""?"":`- ${In}`).join(` `)),Dr.focus();case"list-ol":return Kt===""?Dr.replaceSelection("1. "+Kt):Dr.replaceSelection(Ht.map((In,gr)=>In===""?"":`${gr+1}. ${In}`).join(` `)),Dr.focus();case"add-null-ch":return Kt===""&&Dr.setCursor(jr.line,jr.ch),Dr.replaceSelection(Ua),Dr.focus();case"add-signal":return Kt===""&&Dr.setCursor(jr.line,jr.ch),Dr.replaceSelection(gn),Dr.focus();case"add-multiple":return Kt===""&&Dr.setCursor(jr.line,jr.ch),Dr.replaceSelection(Rr),Dr.focus();case"inster-template-1":return Kt===""&&Dr.setCursor(jr.line,jr.ch),Dr.replaceSelection(wo),Dr.focus();case"eraser":return Dr.setValue(""),Dr.focus();case"trigger-watch":return Vr(!JA),Dr.focus();case"trigger-full-screen":return mo(!La),Dr.focus();case Bn:Ro(Bn);return;case Cr:Ro(Cr);return;case bn:Ro(bn);return;case cr:Ro(cr);return;case"maths-latex":Ro("maths-latex");return;case er:Ro(er);return;case mr:Ro(mr);return;default:throw new Error}},[Dr,JA,La]),zr=(0,he.useCallback)((Gr,jr)=>{var Kt,Ht,In,gr,$r,xr;switch(Ro(""),Ba){case Bn:const{title:lo,link:Ko}=Gr;return Dr.replaceSelection(`[${lo}](${Ko})`),Dr.focus();case Cr:const{language:Ca,content:po}=Gr;return Dr.replaceSelection(["```"+Ca,po,"```"].join(` `)),Dr.focus();case"maths-latex":for(var Jr=atob(Gr),wr=new Uint8Array(Jr.length),aa=0;aa{Oi.id?Dr.replaceSelection(`![,](/api/attachments/${Oi.id}?type=${Oi.content_type})`):(Oi==null?void 0:Oi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Dr.replaceSelection("`$$"+Gr+"$$`");break;case bn:case cr:case yr:const{src:Ha,alt:Va}=Gr,oa=jr,Ra=(In=(Ht=(Kt=oa==null?void 0:oa.name)==null?void 0:Kt.split("."))==null?void 0:Ht.pop)==null?void 0:In.call(Ht);return((gr=oa==null?void 0:oa.type)==null?void 0:gr.indexOf("image"))>-1||!(oa!=null&&oa.type)?oa.align||oa.width?Dr.replaceSelection(`

${Va||

`):Dr.replaceSelection(`${Va||`):(($r=oa==null?void 0:oa.type)==null?void 0:$r.indexOf("video"))>-1?Dr.replaceSelection(``):((xr=oa==null?void 0:oa.type)==null?void 0:xr.indexOf("pdf"))>-1?Dr.replaceSelection(`${oa.name}`):eo.includes(Ra)?Dr.replaceSelection(`${oa.name}`):Dr.replaceSelection(`[${oa.name}](${Ha})`),Dr.focus();case mr:const{row:Wa,col:bo,align:ei}=Gr;let ii=` `;for(let Oi=0;Oi{switch(Ba){case Bn:return he.createElement(en,{callback:zr,onCancel:Ta});case Cr:return he.createElement(rn.Z,{callback:zr,onCancel:Ta});case bn:return he.createElement(Pt.Z,{callback:zr,onCancel:Ta});case er:return he.createElement(pt,{callback:zr,onCancel:Ta});case mr:return he.createElement(lt,{callback:zr,onCancel:Ta});case"maths-latex":return he.createElement(Tt,{showSaveButton:!0,callback:zr});case"inline-latex":return he.createElement(Fn.Z,{showSaveButton:!0,callback:zr});default:return null}},[Ba]);function Ta(){Ro("")}(0,he.useEffect)(()=>{if($n.current){let Gr=function($r){In=!0,gr=$r.pageY},jr=function(){In=!1},Kt=function($r){if(In){let xr=$r.pageY-gr;xr<0&&(xr=0),xr>300&&(xr=300);let Jr=Ur+xr+"px";qi(Jr)}},Ht=$n.current,In=!1,gr=0;return Ht.addEventListener("mousedown",Gr),document.addEventListener("mousemove",Kt),document.addEventListener("mouseup",jr),()=>{Ht.removeEventListener("mousedown",Gr),document.removeEventListener("mousemove",Kt),document.removeEventListener("mouseup",jr)}}},[Dr,$n]),(0,he.useEffect)(()=>{qi(Ur)},[Ur]);const Mo=Oo(vn),ka=Oo(Ia),ya={width:Mo,height:ka},vo=(0,he.useMemo)(()=>{if(ai){let Gr=new Date(ai),jr=Gr.getHours(),Kt=Gr.getMinutes(),Ht=Gr.getSeconds();return jr=jr<10?"0"+jr:jr,Kt=Kt<10?"0"+Kt:Kt,Ht=Ht<10?"0"+Ht:Ht,`${jr}:${Kt}:${Ht}`}return 0},[ai]),so=Gr=>{const jr=[];if(Ho){let Kt=-1;Gr=Gr.replace(/(@▁▁@|@▁@)/g,function(Ht,In,gr){jr.push({multiLine:Ht!==gn})})}return jr};function Bi(){window.sessionStorage.removeItem(to),Sa(!1),Pi(0)}function Ga(){Sa(!1),Pi(0),Dr.setValue(window.sessionStorage.getItem(to))}(0,he.useEffect)(()=>{qo[Ba]&&Ba!==cr&&Ba!==er&&setTimeout(()=>{const Gr=document.getElementsByClassName("markdown-popup-form")[0],jr=window.innerWidth/2-Gr.offsetWidth/2,Kt=window.innerHeight/2-Gr.offsetHeight/2;jA(jr),$A(Kt)},0)},[Ba]);const oi=Gr=>{Gr.preventDefault();const jr=Gr.clientX-qA,Kt=Gr.clientY-vs;document.body.onmousemove=Ht=>{let In=Ht.clientX-jr,gr=Ht.clientY-Kt;const $r=document.getElementsByClassName("markdown-popup-form")[0],xr=window.innerWidth-$r.offsetWidth,Jr=window.innerHeight-$r.offsetHeight;In=Math.max(0,Math.min(In,xr)),gr=Math.max(0,Math.min(gr,Jr)),Fi(Ht.clientX,Ht.clientY,jr,Kt)&&(jA(In),$A(gr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Fi=(Gr,jr,Kt,Ht)=>{const In=document.body.clientHeight,gr=document.body.clientWidth;return Gr<20&&Kt>Gr||Gr>gr-20&&Ktjr||jr>In-20&&Httt in Ve?Pe(Ve,tt,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ve[tt]=ke,x=(Ve,tt)=>{for(var ke in tt||(tt={}))a.call(tt,ke)&&b(Ve,ke,tt[ke]);if(y)for(var ke of y(tt))E.call(tt,ke)&&b(Ve,ke,tt[ke]);return Ve},z=(Ve,tt)=>be(Ve,oe(tt));const{useForm:ne}=he.default,le={width:280,marginRight:10},xe={labelCol:{span:5},wrapperCol:{span:19}};var Ee=({callback:Ve,onCancel:tt})=>{const[ke]=ne();let Ft=(0,Ne.useRef)();function Te(At){Ft.current.width=ke.getFieldValue("width"),Ft.current.align=ke.getFieldValue("align"),Ve(At,Ft.current)}function kt(At,Dt){if(At.status===-1){we.ZP.error(At.message);return}ke.setFieldsValue({src:`/api/attachments/${At.id}`,type:Dt.type})}function st(At){let Dt=At.target.files[0];Ft.current=Dt,We(Dt,kt)}return Oe.createElement(he.default,z(x({form:ke},xe),{className:"upload-image-panel",onFinish:Te,style:{width:470,overflow:"hidden"}}),Oe.createElement(he.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Oe.createElement("div",{className:"flex-container"},Oe.createElement(he.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Oe.createElement(Me.default,{style:le})),Oe.createElement(Qe,{onFileChange:st}))),Oe.createElement(he.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Oe.createElement(Me.default,{style:{width:264}})),Oe.createElement(he.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Oe.createElement(nt.Z,null,Oe.createElement(he.default.Item,{name:"width",style:{margin:0}},Oe.createElement(Ge.Z,{style:{width:264}})),Oe.createElement("span",{className:"ml8"},"%"))),Oe.createElement(he.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Oe.createElement(He.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Oe.createElement("aside",null,Oe.createElement(he.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Oe.createElement(pe.ZP,{type:"default",onClick:tt},"\u53D6\u6D88"))))};function Qe({onFileChange:Ve}){return Oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Oe.createElement("input",{type:"file",onChange:Ve}))}function We(Ve,tt){if(!Ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ue.bg)())throw we.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ke=new FormData;ke.append("editormd-image-file",Ve),ke.append("file_param_name","editormd-image-file"),ke.append("byxhr","true");var Ft=new window.XMLHttpRequest;Ft.withCredentials=!0,Ft.addEventListener("load",function(Te){tt(JSON.parse(Te.target.responseText),Ve)},!1),Ft.addEventListener("error",function(Te){console.error(Te)},!1),Ft.open("POST",`${Be.KI}/api/attachments.json`),Ft.send(ke)}},75790:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Me}});var he=ve(59301),we=ve(4676);class Me extends he.Component{constructor(Ge){super(Ge);const He=window.document;this.node=He.createElement("div"),He.body.appendChild(this.node)}render(){const{children:Ge}=this.props;return(0,we.createPortal)(Ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},929:function(An,zt,ve){"use strict";ve.d(zt,{i:function(){return xe},Z:function(){return Qe}});var he={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},we=ve(71418),Me=ve(6848),nt=ve(93948),Ge=ve(92310),He=ve.n(Ge),pe=ve(49661),Be=ve(57884),Ne=ve(34055),ue=ve(79005),Oe=ve(20345),Pe=ve(77882),be=ve(31081),oe=ve(75309),y=ve(71979),a=ve(47558),E=ve(42922),b=ve(66832),x=ve(96593),z=ve(19664),ne=ve(91833),le=ve(59301);const xe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ue,swimg:Oe},{name:"101\u8BA1\u5212",ptimg:Pe,swimg:be},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:oe,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:E},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:x},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var Qe=({className:We,dataSource:Ve=[],col:tt=4,right:ke,bottom:Ft=23,precision:Te=0,wrapWidth:kt=1200,trackEventItems:st,loading:At,onRemove:Dt=()=>{},isCurrent:gt=!0,showAlias:xt=!1,showProgress:ft=!1})=>{const it=Math.floor((kt-(tt-1)*ke)/tt),en=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(rn=>(window.ENV==="build"&&(rn.ptimg=`/react/build${rn.ptimg}`,rn.swimg=`/react/build${rn.swimg}`),rn));return le.createElement(we.Z,{spinning:At},le.createElement("div",{className:He()(he.list,We)},!!(Ve!=null&&Ve.length)&&(Ve==null?void 0:Ve.map((rn,Pt)=>{var Zt,En,Hn,mn,Gn,Nt;const{name:_n,id:or,identifier:Je,featured:yn,school_name:Fe,image_url:de,excellent:Ae,is_plan:ye}=rn;return le.createElement("div",{key:or,className:gt&&ft?he.wrapisCurrent:he.wrap,style:{width:it,marginRight:(1+Pt)%tt===0?0:ke+Te,marginBottom:Ft}},le.createElement("a",{className:he.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),st&&(0,pe.L9)([st]),(0,pe.xg)(`/paths/${Je}`)}},le.createElement("div",{className:he.img},le.createElement("img",{className:he.cover,src:`${de}`}),gt&&(0,Ne.bg)()&&(rn==null?void 0:rn.studying)&&le.createElement("div",{className:`${he.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),Dt(rn)}},le.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),le.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Zt=rn==null?void 0:rn.subject_tags)==null?void 0:Zt.map((qe,pt)=>{var Re,Xe;if(pt===0){const Bt=(Re=en.find(lt=>lt.name==qe))==null?void 0:Re.swimg;return le.createElement("img",{className:he.sign,src:Bt,style:{left:"-4px"}})}const Qt=(Xe=en.find(Bt=>Bt.name==qe))==null?void 0:Xe.ptimg;return le.createElement("img",{className:he.sign,src:Qt,style:{left:`${48+52*(pt-1)+2*pt}px`}})}),le.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(rn==null?void 0:rn.excellent)&&le.createElement("div",{className:he.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:he.name},le.createElement(Me.Z,{title:xt&&(rn!=null&&rn.excellent_alias_name)?le.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${_n}`,le.createElement("br",null),le.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${rn==null?void 0:rn.excellent_alias_name}`)):_n},le.createElement("span",{className:he.e},xt&&(rn==null?void 0:rn.excellent_alias_name)||_n))),gt&&ft&&((En=rn==null?void 0:rn.progress)==null?void 0:En.all_score)!=0&&le.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},le.createElement(nt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Hn=rn==null?void 0:rn.progress)==null?void 0:Hn.my_score)/((mn=rn==null?void 0:rn.progress)==null?void 0:mn.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Gn=rn==null?void 0:rn.progress)==null?void 0:Gn.my_score,"/",(Nt=rn==null?void 0:rn.progress)==null?void 0:Nt.all_score),(!gt||!ft)&&le.createElement("div",{className:he.tags},le.createElement("div",null,le.createElement(Me.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),le.createElement("span",null,rn.stages_count))),le.createElement(Me.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),le.createElement("span",null,rn.members_count)))))))})),!Ve.length&&le.createElement(Be.Z,null)))}},47949:function(An,zt,ve){"use strict";ve.d(zt,{jL:function(){return Ge},w9:function(){return fn},dN:function(){return on},QD:function(){return wa},cQ:function(){return mn.Z},Oz:function(){return Bt},op:function(){return vn},O5:function(){return Fs},_b:function(){return Lo},t7:function(){return Ve},Gi:function(){return hr},YG:function(){return cr},kT:function(){return mr},qp:function(){return E},K3:function(){return z},vr:function(){return Er},qE:function(){return Nr},Je:function(){return Ft},wb:function(){return Pt},lB:function(){return Hn},cq:function(){return Ua},tp:function(){return xe},Si:function(){return Vr},k8:function(){return Ui},Du:function(){return qi}});var he=ve(59301),we={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqYRnfmPq66YojPILbYbqpGXuhRhRrFPMSUaP+6OTAtuPff8ze97xceK8KuJGG/oBl4XsaKMTTsiwDKVXZjm1qsgRBU84TXi5VXqo24/syP5ce2xEg0gBDeAZWFijo79JnpLQxXSo7iICiIyD8qUfdxuQRRx24x5MvB95uBzfW1G+XFn4GoMMojQNOYWUK45b+jG9mW+PvFNAKEkqVYgI583VZcOB7WRrCqGwiaQovU1lAlaXKM/BMQNIGbN0FLGh0lySCVv0OP3aPOnKf2a2XCm+3ghuc1AvzOdwmLSwIwkQlBoxMtgZYCkvwQLafBYo0l2v6gBcCxRxQyifwM9PckRCniXIGbjo8wiI4bgnRRFul0XAZMABbaggVoytvo12vff7Qt/Rc8LqBm5jQndrBr3MFHOwyemaJbGaaAKzMp00zV2O+6VVnSTCPcYCNdrItEGAOcKxpVUQKLjPZ6VHVgEuf3Kf/rLk0Y4ViTpiAEUYKJaEgVDg2OTq1+j3r5w68FHi7TXFDU/El1Yr8VLudDM4IjUpLVWW2Mg0GgubybATNfN/0C5+eqjQ9oO0ngAmR0ZF5X2bKjLRZBUFgNE03AKhcPqk62wJsm+qjvyM4Aa0idFN1zcmvHraq90uvObihqej4YsH6nzCEyHwRB0WFZeZJ05xupsZSp6sty+2mXX2a/5rP0fT8MAHRZpmWph48J38zi6xUF1Vqft9KAg2BES6PmyChGGFTBVJ1kb/dq7XeeuTBs0deLLxXrLhHn2nP6+4s3Gk7Yl6Q5mpZMMjAGWjT0o+dgkR6BVnUzJSW2PpzhpHVqIygdPiEET3rzwiHP2QCSlrjUm1epE0el+R1/E6SmjDa2nGEat5Bu9089bC9O7/1moDT0GJkMv5eR6f1oVY7MRfjp2SiNgOO5pkFBpnkadmD/qflRrAtiUrBhJFdPnauJhI6SU6noXSyb2BmUZUqzYKEqSSSZ6SUSU34WagYVUsg9N27R7DtkONWrmRcf8HHK1Lc4EjrqHJn6ZdxBIsXkXU2MqVZqU/ja5ZU/MyWR5/Bps1/wfD2p+G7TUy1QziWRHfZgVXsREd3H1YtnoW+vl709nSjv7f0V4MwPnRaRUGlxSm8rG7N0pAMlim/CE4Jk+tRbTxmAoYK4Qit/Mhb9/a9eze9ILW/YQwv5jvmM/fcs720YMnMDeWStabtJrmVUVaqtsy3sRqgAm+96yH85qbb4DZqWNjfi57uHlRKJViWjSCM0Wr5aDRaqDebqDeaqLkRLFugp7OIQudMrFn+JvT3z8Ee8+dgVldxp+tkpUB42ZZgqLrEnyUq89MkODkunjVVoREFMao5G367een6lZ2fejEQXrbiBgbbn+qZUbyETcWs2KZ/Ynsoi6aMgEPjLVz6Xz/B1OjT2P8tyzB7Zm/i6IMQYRghDGk2ielkLaKIPiiM4PshGk0XzWYDU40a6m6Ickmi3N2Lt+y1B5a+eQ+sXLIQM7rLxi1QiR47I2l3xPizFFyitsQnmqhq8juNks1go2BrDRG4WwMv3veItT1TLwTvZYH7w0NP9y7sn3NPqSgXMiCYRuNz1MbE9eEnRnDhpVdh1fxu7L1iCYIwghcECKMYUfaMY4Rh8jogxJgQNQjP+CECpUK4H8bwPR8tgmzW0Ao8lEsW+vrn4sA1S7Fs2VKsXDIP1UrO3BymMD7PEwvj6wJjnjTTJFAEsUJOJj4y8iMUWIfE8bp1Kzs2virgtg23PtHTV7os9JI0wASFNPWg4vI54LGBMZz/je/i71YvQv/sWXA9D2EYIooiAzCOYoRxDM/z4Xo+PC+Az2MR31NpkU4fpKGUQKRkoiSCjCSiSCAKVPLddgON9hQsK0TXjA7su3YVDjt0Hdbu82ZzbQYgVZb6OJOW0GQjZW54XtACInTkHXjt5kXr9+r4zG4Hd/bZZ8uTTz1rY7liHxiHiR9h+sFAQHNxJMulCGed/x2jtHlv6ofruogILaZpEl6MIAiML2u1XQRhaIDxeKZGqoEAObgoTkBGkUp7bvRRfC0QRpZRkYqk6SjHcYDQryNXVNj/oLX4yIc/iMULZyVVSFr0GxVmlQWDg0xSFG5j372rV1fXr1wpdhldX7Kpbn2mtbqrs7jRkqLIC6VDzgIBwZUKwGXfuwFjA49g331WoO26CSwDh/BieK6HyakaPM9LTZbv0WQJL0r2o9ioMkhN2gDka0JkDhYpExW1FtCQEMKGlg6gbWhTxjPFaKBvZgUfP/njOHz9WrRS5QXG9AkvzeXoHxXrVw0n9puxEm8+dGVlaFeqe8ngBifiT1Y65aUha7+0+M7Sj0IeeOixYXznO1fiHQfvY1REs4wiBoIAcRQZkBOTk/B9P1GSCRBBoraQn/dTmDxOiATGLV+nioxjA49wINjAY4YtIaQFwX1hQYtkn/AtW+Okfzsdf/+OA9H2Uj+XdoiZltBebaGh2a9DrONYvfdtK8q/2L3gaurXxaI4WqUJJH2ETTPltVsaX73wvzG7IjGrrwce4RhoieKCMMDY+LiBZ2AwGJjAQKg0Sx6jCrWBmQAlTJo3vx+ZvIvOXLBEEAJCMPFNQrkBBwnNfcuGMFAFlIqRyxdw+he/gv1WL0PDTftzSicd41jBYaURa/SUHLTrjc+vX9mxy47JS1LcpoGB4qKOuZvzebFMpyUPT0BoTD023P0wfvWL67DfPsvhut4O80z8Woip+hQma41UWVQRDMwEXIQ43Se4OApSYEAYeAijwADSmp1RghPGt3Kb5MMJxEx9VJ2QNu8mYNlQUYj+hUtx9nnnolIpw83KrrSSMOCURmfOQejWr37bis6P7DbFba/ptZal77SlyPFy6WC5ZedBKYWLLrkKs6oOCvl8AoR+zWwjeL6L4dFRuJ5CEGpTsEeBQBD4iFWMWEWIwjpU6Ca+kNswNll+zCgECSkcKM02CQtS/nK0oxPDFDzRIYFSfYRIcFRfzgDktRz7z5/E8Scci7ar0g4xc0aePen0VaSAiLxHutVTe6/cRfn1khQ3OBEdU6xYv4oZbzjJopJISrX96aFtuOaH12D5ogXw/QABVZQFhCDC5NQ4xienEIQCbijh+RKTvXPhVYrIPTGAXLOOOJ4AwhAxzTKomTTEdHy1l/guc5voWTmXSPWFSVAwf7FRH83YuD5jxgQooS3HqE9Bomf2fJx9wcXo7KjAp3swLSZApjPeJUvDioLBkttYvHZtf/v5VPeSwD09Fp9Z7pDnEhzvD1MEqo2d2ut+swEPbr4fM3p7jIqYbhjlBKHxdcMjQ0ZtXmjDbSsMLFqJx048AWDWv/kvWPjNy2DXB5hXAHEIpZqwZNVct1INSFkyoJRyE1g6hjaFnp2IDyrxezqFaMClHQdjsjljsrzuk8/4Cg46ZF9zPQYc05k0qpYswFH+uCW9VYcsm7F994CbiL5fKlkf4lyC1nSswnRlWcBfftVP0RgZRqGQR2jKKd/4JZrpxOQExicmEIQWvDCHhu9gyz99FN76VQCt0AZmnnUxSg/cAUuGEKoJaBdSZjVpBCk7EnDahxRlKHCfjbccNPMis29mWSGMH6TqNKQxWStJVayccQvrjv4ATj7lRLTcpL1k2kym0GUJJlASvuvo6JADV3RtfsngbtXa3gsoBA3k3Rakb8GtiuiaUtk+xveUqRjoU9gmKuYFLr/yGkwMjSBH5xrQ4dNPBaYiGBwehOu24QUCXuhgSnTjsTPOQDxvRjqjrNB31tdRfvwB5O0cEI9BaA9SVhCpGqA56+NAa/oIC5AER2XlmfdDhT60FLBoxlYAof0UnjLukAo1arPyxhev2vcAnHbWOSaJNmWe6elRCAm4TukrS0XvOGivrt+9aHDba8GaQt56r4A8XADztYIVKgimXH6M7iDUebackzJLIm8LlIsSP/jRz/HU1ieQcywDLnHwAWq1BsbGR5M6lYrzJEZmLsHw5z8LlOm0AWwfQ885X0Ol/oypHRFPwpZF2FYXwngEgoBEHpEaNwpTyJsqROsCgupMtFeshLt8Oap/ug8d998CKQgvgICfRFppm/QEBAdg1oIlOOMrF6BcLsAPlCnHIjPvClQcgW4nhFThPxy8ovPXLwjugaGh8uxyzwXlvPOxsoPC9PUaZpYoLZobHtAMtAEhoVDKSXSUHdy+YSN+d9MGFKm4NK0gwKHhUTSaNZPL+ZEFzwXGVrwNk6edlkDjHMLmrei78DzkLR8W18qoEUiRgxR5xKoJ2+ox4EJVh5B9UDqPel8vWgccAW/Naug5Myk84OkJzDn3FOTbIwacFASXJMSC/XOZhxISHTP6ceZ5F6GzuxNekEb5IKlIOvISvU7AhPiog5ZVbtgluE0DurigHPx4RnfunXQXbNJm8wEZQAYCphDs99c9YMqDKbALtjJNyNGRQVx++dWwtDA5GHMyz/ewfXAYntdE4AfwjFkINHsXY+JzXwPmdptGXunKH6D79uuRzxVhqwBKDSFnzTTRNIrHIQXz+RAxTVF1obFqPcY/ehLQVU2CLG+AApwNGzHjR99GTk0Bqg0pvCQ9sRxIY6o5aGmjWOnCmed/A70zZ8INmCpxbGwoAF0Fgd5cEBVkfNj+Szvu2CW4rUPumTN6C+faCijwxqTTeNmXssV+bM1w9oiqm2wToELgt1AtSHQULVxzzU/w5/u2mKUMcRCg3W7hmeFhBF4rKaPY6WDGJDrQnrcUrdX7wRkcQuXe22HHU7CFgDT+zE/AKR9au7CsPkSqAWWiaieG3nkCvPe9G+DSGQrqwUdRuHUjylvvQS4ahaObELoBAVqFSCsJzto4Jkg4OQdn/sd/ord/Plw/MtAIj5Y1oywxq+DXrThae8CKzq3PC+6ux4dndRZ67uut2nM68sn6jWxtx/QvZebKiWKCq7WAmtm2IZSPGR0FjI9uxxVXfB+tqTokYgNu++AQVOSZ1EErunSWRBXTyYASkLIAbdGnMBhI6Lhu5COlA61Ck39JUTHRVAtO73ej0TMbEyeeBj1vjlGauP8RVL7/A+SDQdiowVF1SN02UVaa2fAkl2NU5TNnC5z+5QswY/5iuG4EN1KmhtWxwNwuBws7w+G85S1ftaBr8nnB3f1Y8/hqtfzDzhzQU0qm0v4WOLam6ecIjl2GWhuYaFF5IcamJtFZtNDX4WDzvZvxv9dej9BzoaIIo+Oj0FEAzSxfhyYSa50W5iAU20RNafIuwmol/k0yGPAGJJ0OZSJqHkqWEcU22vPegua/nAR0dxvVWZv+iI6fXomcrsNRDWhNU9UmAWZoVVYOgsFBOCjlLXzqjC+ia+6eaHsRmp5GMScxu8NCf4eF7qKIRBQ8mnfkz4PQ/83SuX/d2BSbHmne3Fktv72vDHQUEsWxGnjuIwPH3hf93FQbGKnTXDUeGhiCFDFmVHPoKlu49dYN+O1vb4alYozXpqBjggvNBHDyYIHDhJVQ+IiSYolFuXHqBQhGT+VCWiUTGaOYQIuIhYWQ34tLcBeugH/ch4DuXmBkEJXvXoB8ewwWXGiT77GWSBoA9G9cKBcLB92dFZx02umI8r0m9Vszv4QVsx10FYUZu7GuNHeuN1XkB9FN7Xbwmb0XVh/KuIhNWwOvs2Tn+6rCZAecITezU9PWc5i0Ml0JZKbfwsTHDU0Bky6wYcs20w7qrThGeaW8xJ0bN+HW2+5Eo9k0lQT9jWkEMVHl2dnhoNp4VLBc4uI4JrKRAcgEO7HDXFLQE64oGNz0k0pUkvUhCxZDrz4A4tEHkXvwLtgihNSJa0gEQNfAXp0NZTnGVSxeuADHHHcCpJXD+9f0YcUc2zRgn6sXnr9O3yeBlqeGJyfDE1cvKlxvkuvfP6512QF6y8kCFwYHllHZsgSezAwh7ZhyPIRHH/fMJDDWAn72x8dQb7XRVbZNoKgWLBRyAvfe/wBuuf0u1CYnIWVaQ9K5pRMrdNw8v5khM2rjZ2iYVGJWfxJunJbwBGjm0kx6ohj/zQpryyS82lKQpopgI0AnLodmaop9C4rVAwTWH3wgluy9Fh/cbxbWLSqa6idbJfpcS3PNupNkQnuioVrDk976I1eV7xW3b2lvL5eKczoLQKWQrIqk6rIeWwYuWw1kymwFTLaAgQlgsK5xxa1bUGu66ChYqOSpXMss4Ms5EtsGnsatGzahMTaWhutsLWsaug2s7F5nix7S/CKZ/08L+7RlZMqpDJ4hk62JShWbLj805Ve2II9zlCbJQqW7C/sftA4HrZiPUw/vRweD7S7A0a/XXW1SsLYSeGpIbxiZeOpIccufG8dVOys/5r2o5JNVQaw9WUrxhDRbk46k62/5moobbySKu397gK/9ZgsKFlDNSZQJzhHI2xKOJVDISTRbbfzpwS0YePxxxL73rJzNwNJZ62yG2dzydNlOUqVnK4PTdpKRWLqfLe/JPpO9nuZnTFRNyFj5Apbtswr5rpn4wpELcPiyqhHKrhTHsTJ4TLnCWNdgA3Dr/lHiuo2j1XJf7x2VvNiHTbZyBs9OA8U02zcTMjKJrsNTwEgT+NE9ow9864Ytt/dVZVDNW6LsSBT5XUsgZ7P7L5BzbDPX+qeHH8HAlr+YZQeJjSWpwk4P2pdhk05mcHfHa3YyzXKa9GD6mez9hOiOhHjHwjzzOzZ65s3B/D2XolSt7nnh+5a9a0mfZcZLkTz3MrJronVxoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ge=({dataSource:$n=[],img:Zn,imgWidth:lr=346,title:Yr,sunTitle:tn,bannerExtraContent:co})=>he.createElement("div",{className:we.banner},he.createElement("div",{className:we.content},he.createElement("aside",null,he.createElement("p",null,he.createElement("b",null,Yr),he.createElement("span",null,tn)),$n.length>0&&he.createElement("div",{className:we.btns},$n.map((zr,Ao)=>he.createElement("div",{key:Ao,onClick:zr.click},zr.name,zr.sign?he.createElement("img",{src:Me,width:39}):null))),co),Zn&&he.createElement("img",{style:{marginTop:33,marginRight:38},src:Zn,width:lr}))),He={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},pe=ve(92310),Be=ve.n(pe),Ne=ve(89392),ue=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,oe=($n,Zn,lr)=>Zn in $n?ue($n,Zn,{enumerable:!0,configurable:!0,writable:!0,value:lr}):$n[Zn]=lr,y=($n,Zn)=>{for(var lr in Zn||(Zn={}))Pe.call(Zn,lr)&&oe($n,lr,Zn[lr]);if(Oe)for(var lr of Oe(Zn))be.call(Zn,lr)&&oe($n,lr,Zn[lr]);return $n},E=({dataSource:$n=[],value:Zn,onChange:lr,onTitleChange:Yr,className:tn,title:co,titleWidth:zr=41,style:Ao={},fontColor:Ta="#6A7283",showCount:Mo,classNameActive:ka,styleItem:ya={}})=>{const[vo,so]=(0,he.useState)(0),[Bi,Ga]=(0,he.useState)(!1),oi=(0,he.useRef)(null),Fi=(0,he.useRef)(null);return(0,he.useEffect)(()=>{var Gr;$n.length!==0&&(((Gr=oi==null?void 0:oi.current)==null?void 0:Gr.clientHeight)>97?so(1):so(0)),$n.length===0&&so(0),Ga(!1)},[$n]),he.createElement("div",{className:Be()(He.row,tn),style:Ao},he.createElement("div",{onClick:(0,Ne.throttle)(()=>Yr==null?void 0:Yr(),2e3),style:{width:zr,marginTop:Bi?12:4},className:`${He.title} ${Yr?"current":""}`},co),he.createElement("div",{className:Bi?`${He.tagsWrap} ${He.tagsBorderWrap}`:He.tagsWrap},he.createElement("div",{className:He.bar,ref:Fi,style:vo>0?{height:vo===1?97:"auto",overflow:vo===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},he.createElement("div",{className:He.tag,ref:oi},$n==null?void 0:$n.map(Gr=>he.createElement("span",{onClick:()=>lr(Gr.id),key:Gr.id,style:y(y({color:Ta},ya),(Gr==null?void 0:Gr.style)||{}),className:Zn===Gr.id?Be()(ka||He.active,Gr.classNameActive):""},he.createElement("span",{title:Gr.name,className:He.name},Gr.name),!!Mo&&he.createElement("span",{className:He.num},Gr.count))))),!!vo&&he.createElement(he.Fragment,null,vo===1?he.createElement("div",{onClick:()=>{var Gr;so(2),((Gr=oi==null?void 0:oi.current)==null?void 0:Gr.clientHeight)>245?Ga(!0):Ga(!1)},className:He.action},"\u5C55\u5F00",he.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):he.createElement("div",{onClick:()=>{Fi.current.scrollTop=0,so(1),Ga(!1)},className:He.action},"\u6536\u8D77",he.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},z=({dataSource:$n=[],value:Zn,onChange:lr,onTitleChange:Yr,className:tn,title:co,titleWidth:zr=41,style:Ao={},fontColor:Ta="#6A7283",showCount:Mo,expand:ka=!0})=>{const[ya,vo]=(0,he.useState)(0),[so,Bi]=(0,he.useState)(!1),Ga=(0,he.useRef)(null),oi=(0,he.useRef)(null),[Fi,Gr]=(0,he.useState)(ka);return he.createElement("div",{className:Be()(b.row,tn),style:Ao},he.createElement("div",{className:"flex item-center justify-between"},he.createElement("div",{onClick:(0,Ne.throttle)(()=>Yr==null?void 0:Yr(),2e3),style:{width:zr,marginTop:so?12:4},className:`${b.title} ${Yr?"current":""}`},co),he.createElement("i",{className:`iconfont ${Fi?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Fi?8:10},onClick:()=>Gr(!Fi)})),Fi&&he.createElement("div",{className:so?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},he.createElement("div",{className:b.fenge}),he.createElement("div",{className:b.bar,ref:oi},he.createElement("div",{className:b.tag,ref:Ga},$n==null?void 0:$n.map(jr=>he.createElement("span",{onClick:()=>lr(jr.id),key:jr.id,style:{color:Ta},className:Zn===jr.id?b.active:""},he.createElement("span",{title:jr.name,className:b.name},jr.name),!!Mo&&he.createElement("span",{className:b.num},jr.count)))))))},ne={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},xe=({dataSource:$n=[],value:Zn,onChange:lr,className:Yr,style:tn={}})=>he.createElement("div",{style:tn,className:Be()(ne.tabs,Yr)},$n.map(co=>he.createElement("span",{onClick:()=>lr(co.id),className:Zn===co.id?ne.active:"",key:co.id},co.name))),Ee={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Qe=ve(92832),Ve=({dataSource:$n=[],value:Zn="",onChange:lr,onInputChange:Yr=()=>{},className:tn,style:co={},placeholder:zr,allowClear:Ao=!1})=>{var Ta;const[Mo,ka]=(0,he.useState)(""),[ya,vo]=(0,he.useState)("");(0,he.useEffect)(()=>{var Ga;let oi=Zn;(Ga=JSON.stringify(Zn))!=null&&Ga.includes("{")&&(ka(Zn.id),oi=Zn.value||"");try{vo(decodeURIComponent(oi||""))}catch(Fi){vo(decodeURIComponent(oi||""))}},[Zn]);const so=()=>{lr(encodeURIComponent(ya),Mo||null)},Bi=Ga=>{Ga!==Mo&&(ka(Ga),lr(encodeURIComponent(ya),Ga))};return he.createElement("div",{className:Be()(Ee.input,tn),style:co},!!$n.length&&he.createElement("div",{className:Ee.dropdown},he.createElement("div",{className:Ee.text},(Ta=$n.find(Ga=>Ga.id===Mo))==null?void 0:Ta.name,he.createElement("i",{className:"iconfont icon-zhankai4"}),he.createElement("b",{className:Ee.b1}),he.createElement("b",{className:Ee.b2})),he.createElement("div",{className:Ee.menu},$n.map((Ga,oi)=>he.createElement("div",{key:oi,onClick:()=>Bi(Ga.id)},Ga.name)))),he.createElement(Qe.default,{onPressEnter:so,value:ya,onChange:Ga=>{vo(Ga.target.value),Yr(encodeURIComponent(Ga.target.value),Mo||null)},bordered:!1,placeholder:zr}),he.createElement("i",{onClick:so,className:"iconfont icon-sousuo9 font14 pl10 current"}))},tt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ft=({value:$n,onChange:Zn,className:lr,total:Yr,pageSize:tn,style:co={}})=>{const zr=$n<2,Ao=$n>=Math.ceil(Yr/tn);return Yr<=tn?he.createElement(he.Fragment,null):he.createElement("div",{className:Be()(tt.quickPager,lr),style:co},he.createElement("div",{onClick:()=>{zr||Zn($n-1,"prev")},className:zr?tt.disabled:""},"\u4E0A\u4E00\u9875"),he.createElement("div",{onClick:()=>{Ao||Zn($n+1,"next")},className:Ao?tt.disabled:""},"\u4E0B\u4E00\u9875"))},Te={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},kt=ve(71418),st=ve(6848),At=ve(13570),Dt=ve(18702),gt=ve(49661),xt=ve(96908),ft=ve(57177),it=ve(81378),en=ve(57884),Pt=({className:$n,dataSource:Zn=[],col:lr=4,right:Yr,bottom:tn=23,precision:co=0,wrapWidth:zr=1200,trackEventItems:Ao,loading:Ta})=>{const Mo=Math.floor((zr-(lr-1)*Yr)/lr);return he.createElement(kt.Z,{spinning:Ta},he.createElement("div",{className:Be()(Te.list,$n)},!!Zn.length&&Zn.map((ka,ya)=>{const{name:vo,id:so,identifier:Bi,power:Ga,cover_image_id:oi,pic:Fi}=ka;return he.createElement("div",{className:Te.wrap,key:so,style:{width:Mo,marginRight:(1+ya)%lr===0?0:Yr+co,marginBottom:tn}},he.createElement("a",{target:"_blank",href:`/shixuns/${Bi}/challenges`,className:Te.li,onClick:Gr=>{Gr.preventDefault(),Ao&&(0,gt.L9)([Ao]),Ga&&(0,gt.xg)(`/shixuns/${Bi}/challenges`)}},he.createElement("div",{className:Te.img},he.createElement("img",{className:Te.cover,src:`${Fi}`}),ka.is_jupyter&&he.createElement("img",{className:Te.sign,src:xt}),ka.is_jupyter_lab&&he.createElement("img",{className:Te.sign,src:ft}),ka.is_unity_3d&&he.createElement("img",{className:Te.sign,src:it})),he.createElement("div",{className:Te.name},he.createElement(st.Z,{title:vo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Te.e},vo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{className:Te.tags},he.createElement(st.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),he.createElement("span",null,ka.challenges_count))),!!ka.myshixuns_count&&he.createElement(st.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),he.createElement("span",null,ka.myshixuns_count))),he.createElement(st.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},he.createElement("span",null,he.createElement("span",null,ka.level))),he.createElement("div",{className:Te.rate},he.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:ka.score_info}),he.createElement("span",null,"\xA0",ka.score_info?`${ka.score_info}\u5206`:"5\u5206")))),!Ga&&he.createElement("div",{className:Te.lockWrap},he.createElement("img",{src:`${Dt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&he.createElement(en.Z,null)))},Zt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Hn=({className:$n,dataSource:Zn=[],col:lr=4,right:Yr,bottom:tn=23,precision:co=0,wrapWidth:zr=1200,wrapClassName:Ao,trackEventItems:Ta,loading:Mo})=>{const ka=Math.floor((zr-(lr-1)*Yr)/lr);return he.createElement(kt.Z,{spinning:Mo},he.createElement("div",{className:Be()(Zt.list,$n)},!!Zn.length&&Zn.map((ya,vo)=>{const{name:so,id:Bi,identifier:Ga,power:oi,cover_image_id:Fi,pic:Gr}=ya;return he.createElement("div",{className:Be()(Zt.wrap,Ao),key:Bi,style:{width:ka,marginRight:(1+vo)%lr===0?0:Yr+co,marginBottom:tn}},he.createElement("a",{target:"_blank",href:`/shixuns/${Ga}/challenges`,className:Zt.li,onClick:jr=>{jr.preventDefault(),Ta&&(0,gt.L9)([Ta]),oi&&(0,gt.xg)(`/shixuns/${Ga}/challenges`)}},he.createElement("img",{src:ve(47621),className:Zt.titleBg}),he.createElement("div",{className:Zt.name},he.createElement(st.Z,{title:so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},he.createElement("span",{className:Zt.e},so||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Zt.img},he.createElement("img",{className:Zt.cover,src:Fi?`${Dt.Z.API_SERVER}/api/attachments/${Fi}`:`${Dt.Z.IMG_SERVER+Gr}`}),ya.is_jupyter&&he.createElement("div",{className:Zt.bq},"Jupyter"),ya.is_jupyter_lab&&he.createElement("div",{className:Zt.bq},"JupyterLab"),ya.is_unity_3d&&he.createElement("div",{className:Zt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),he.createElement("div",{className:"mt20 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Zt.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Zt.value},ya.myshixuns_count)),he.createElement("div",null,he.createElement("span",{className:Zt.text},"\u56F0\u96BE\u7B49\u7EA7"),he.createElement("span",{className:Zt.value},ya.level))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Zt.text},"\u5173\u5361\u6570"),he.createElement("span",{className:Zt.value},ya.challenges_count)),he.createElement("div",{className:Zt.rate},he.createElement(At.Z,{allowHalf:!0,disabled:!0,defaultValue:ya.score_info}),he.createElement("span",{className:Zt.value,style:{color:"#FF9C00"}},"\xA0",ya.score_info?`${ya.score_info}\u5206`:"5\u5206"))))),!oi&&he.createElement("div",{className:Zt.lockWrap},he.createElement("img",{src:`${Dt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Zn.length&&he.createElement(en.Z,null)))},mn=ve(929),Gn={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Nt=ve(79005),_n=ve(20345),or=ve(77882),Je=ve(31081),yn=ve(75309),Fe=ve(71979),de=ve(47558),Ae=ve(42922),ye=ve(66832),qe=ve(96593),pt=ve(19664),Re=ve(91833);const Xe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Nt,swimg:_n},{name:"101\u8BA1\u5212",ptimg:or,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:yn,swimg:Fe},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:de,swimg:Ae},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ye,swimg:qe},{name:"\u519B\u961F\u4E00\u6D41",ptimg:pt,swimg:Re}];var Bt=({className:$n,dataSource:Zn=[],col:lr=4,right:Yr,bottom:tn=23,precision:co=0,wrapWidth:zr=1200,trackEventItems:Ao,loading:Ta,wrapClassName:Mo,imgClassName:ka,isArrow:ya=!1})=>{const vo=Math.floor((zr-(lr-1)*Yr)/lr),[so,Bi]=(0,he.useState)(),[Ga,oi]=(0,he.useState)(),Fi=jr=>Bi(jr),Gr=()=>Bi(-1);return he.createElement(kt.Z,{spinning:Ta},he.createElement("div",{className:Be()(Gn.list,$n)},!!(Zn!=null&&Zn.length)&&(Zn==null?void 0:Zn.map((jr,Kt)=>{var Ht;const{name:In,id:gr,identifier:$r,featured:xr,school_name:Jr,image_url:wr,excellent:aa,is_plan:fa}=jr;return he.createElement("div",{key:gr,className:Be()(Gn.wrap,Mo),style:{width:vo,marginRight:(1+Kt)%lr===0?0:Yr+co,marginBottom:tn}},he.createElement("a",{target:"_blank",href:`/paths/${$r}`,className:Gn.li,onClick:lo=>{lo.preventDefault(),Ao&&(0,gt.L9)([Ao]),(0,gt.xg)(`/paths/${$r}`)}},he.createElement("img",{src:ve(39057),className:Gn.titleBg}),he.createElement("div",{className:Gn.name},he.createElement(st.Z,{title:In},he.createElement("span",{className:Gn.e,style:{color:ya&&so===Kt?"#145DFF":"#000000"},onMouseEnter:()=>{Fi(Kt)},onMouseLeave:Gr},In))),he.createElement("div",{style:{padding:"14px",paddingBottom:0}},he.createElement("div",{className:Be()(Gn.img,ka)},he.createElement("img",{className:Gn.cover,src:`${Dt.Z.IMG_SERVER+wr}`}),(Ht=jr==null?void 0:jr.subject_tags)==null?void 0:Ht.map((lo,Ko)=>{var Ca,po;if(Ko===0){const Va=(Ca=Xe.find(oa=>oa.name==lo))==null?void 0:Ca.swimg;return he.createElement("img",{className:Gn.sign,src:Va,style:{left:"-4px"}})}const Ha=(po=Xe.find(Va=>Va.name==lo))==null?void 0:po.ptimg;return he.createElement("img",{className:Gn.sign,src:Ha,style:{left:`${48+52*(Ko-1)+2*Ko}px`}})}),he.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(jr==null?void 0:jr.excellent)&&he.createElement("div",{className:Gn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},he.createElement("div",null,he.createElement("span",{className:Gn.text},"\u7AE0\u8282\u6570"),he.createElement("span",{className:Gn.value},jr.stages_count)),he.createElement("div",null,he.createElement("span",{className:Gn.text},"\u5B66\u4E60\u4EBA\u6570"),he.createElement("span",{className:Gn.value},jr.members_count))))))})),!Zn.length&&he.createElement(en.Z,null)))},lt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",wn=ve(59301),fn=({className:$n,dataSource:Zn=[],col:lr=4,right:Yr,bottom:tn=23,precision:co=0,wrapWidth:zr=1200,trackEventItems:Ao,loading:Ta})=>{const Mo=Math.floor((zr-(lr-1)*Yr)/lr);return wn.createElement(kt.Z,{spinning:Ta},wn.createElement("div",{className:Be()(lt.list,$n)},!!Zn.length&&Zn.map((ka,ya)=>{const{subject_identifier:vo,id:so,identifier:Bi,power:Ga}=ka,oi=ka.is_public!=0&&ka.is_public;return wn.createElement("div",{className:lt.wrap,key:so,style:{width:Mo,marginRight:(1+ya)%lr===0?0:Yr+co,marginBottom:tn}},wn.createElement("a",{className:lt.li,onClick:Fi=>{Fi.preventDefault(),Ao&&(0,gt.L9)([Ao]),(0,gt.xg)(ka.first_category_url)}},wn.createElement("div",{className:lt.top},wn.createElement(st.Z,{title:ka.name},wn.createElement("div",{className:lt.name},ka.name)),wn.createElement("img",{className:lt.img,src:Dt.Z.IMG_SERVER+"/images/"+ka.avatar_url}),wn.createElement("div",{className:lt.text,title:ka.creator},ka.creator),vo&&wn.createElement("div",{className:lt.btns},wn.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),wn.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),oi&&wn.createElement("div",{className:lt.sign},"\u516C\u5F00")),wn.createElement("div",{className:lt.bottom},ka.visits>0&&wn.createElement(st.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},wn.createElement("span",null,wn.createElement("i",{className:"iconfont icon-liulanyan"}),wn.createElement("span",null,ka.visits))),ka.course_members_count>0&&wn.createElement(st.Z,{title:"\u6210\u5458",placement:"bottom"},wn.createElement("span",null,wn.createElement("i",{className:"iconfont icon-chengyuan"}),ka.course_members_count)),ka.tasks_count>0&&wn.createElement(st.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},wn.createElement("span",null,wn.createElement("i",{className:"iconfont icon-zuoye"}),ka.tasks_count)),ka.is_end?wn.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):wn.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ka.is_accessible&&wn.createElement("div",{className:lt.lockWrap},wn.createElement("img",{src:`${Dt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),wn.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&wn.createElement(en.Z,null)))},Tt={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",on=({className:$n,dataSource:Zn=[],col:lr=4,right:Yr,bottom:tn=23,precision:co=0,wrapWidth:zr=1200,wrapClassName:Ao,trackEventItems:Ta,loading:Mo})=>{const ka=Math.floor((zr-(lr-1)*Yr)/lr);return he.createElement(kt.Z,{spinning:Mo},he.createElement("div",{className:Be()(Tt.list,$n)},!!Zn.length&&Zn.map((ya,vo)=>{const{subject_identifier:so,id:Bi,identifier:Ga,power:oi}=ya,Fi=ya.is_public!=0&&ya.is_public;return he.createElement("div",{className:Be()(`${Tt.wrap} ${ya.is_accessible?"":Tt.warpStyle}`,Ao),key:Bi,style:{width:ka,marginRight:(1+vo)%lr===0?0:Yr+co,marginBottom:tn}},he.createElement("a",{className:Tt.li,onClick:Gr=>{Gr.preventDefault(),Ta&&(0,gt.L9)([Ta]),(0,gt.xg)(ya.first_category_url)}},he.createElement("div",{className:Tt.creator},he.createElement("img",{className:Tt.img,src:Dt.Z.IMG_SERVER+"/images/"+ya.avatar_url}),he.createElement("div",{className:Tt.text,title:ya.creator},ya.creator)),he.createElement("div",{className:Tt.top},he.createElement(st.Z,{title:ya.name},he.createElement("div",{className:Tt.name},ya.name)),Fi&&he.createElement("div",{className:Tt.sign},"\u516C\u5F00")),he.createElement("div",{className:Tt.middle},he.createElement("div",{className:Tt.row,style:{marginBottom:6}},he.createElement("div",null,he.createElement("span",{className:Tt.text},"\u8BBF\u95EE\u91CF"),he.createElement("span",{className:Tt.value},(ya==null?void 0:ya.visits)||0)),he.createElement("div",null,he.createElement("span",{className:Tt.text},"\u6210\u5458"),he.createElement("span",{className:Tt.value},(ya==null?void 0:ya.course_members_count)||0))),he.createElement("div",{className:Tt.row},he.createElement("div",null,he.createElement("span",{className:Tt.text,style:{width:42}},"\u4F5C",he.createElement("span",{style:{marginLeft:14}},"\u4E1A")),he.createElement("span",{className:Tt.value},(ya==null?void 0:ya.tasks_count)||0)),he.createElement("div",null,he.createElement("span",{className:Tt.text},"\u72B6\u6001"),ya.is_end?he.createElement("span",{className:Tt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):he.createElement("span",{className:Tt.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),so&&he.createElement("div",{className:Tt.btns},he.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!ya.is_accessible&&he.createElement("div",{className:Tt.lockWrap},he.createElement("img",{src:`${Dt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),he.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Zn.length&&he.createElement(en.Z,null)))},Bn={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},bn=ve(76560),cr=({dataSource:$n=[],value:Zn,onChange:lr,className:Yr,style:tn={},tabBarExtraContent:co})=>he.createElement("div",{className:Be()(Bn.tabs,Yr),style:tn},he.createElement("div",{className:Bn.tabsWrap},$n.map((zr,Ao)=>he.createElement("aside",{className:Bn.tab,onClick:()=>{lr(zr.id),zr.link&&bn.history.push(zr.link)},key:Ao},he.createElement("div",{className:Zn===zr.id?Bn.active:""},zr.name),(zr==null?void 0:zr.resetCount)==null&&(zr==null?void 0:zr.total)!==void 0&&he.createElement("span",null,"\uFF08",zr==null?void 0:zr.total,"\uFF09"),(zr==null?void 0:zr.resetCount)!==void 0&&(zr==null?void 0:zr.total)!==void 0&&he.createElement(st.Z,{title:(zr==null?void 0:zr.tip)!=null?zr==null?void 0:zr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},zr==null?void 0:zr.resetCount),"/",he.createElement("span",null,zr==null?void 0:zr.total),"\uFF09"))))),he.createElement("div",{className:Bn.tabBar},co)),yr={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},mr=({dataSource:$n=[],value:Zn,onChange:lr,className:Yr,style:tn={},tabBarExtraContent:co})=>he.createElement("div",{className:Be()(yr.tabs,Yr),style:tn},he.createElement("div",{className:yr.tabsWrap},$n.map((zr,Ao)=>he.createElement("aside",{className:yr.tab,onClick:()=>{lr(zr.id),zr.link&&bn.history.push(zr.link)},key:Ao},he.createElement("div",{className:Zn===zr.id?yr.active:""},zr.name),(zr==null?void 0:zr.resetCount)==null&&(zr==null?void 0:zr.total)!==void 0&&he.createElement("span",null,"\uFF08",zr==null?void 0:zr.total,"\uFF09"),(zr==null?void 0:zr.resetCount)!==void 0&&(zr==null?void 0:zr.total)!==void 0&&he.createElement(st.Z,{title:(zr==null?void 0:zr.tip)!=null?zr==null?void 0:zr.tip:""},he.createElement("span",{style:{color:"#9096A3"}},"\uFF08",he.createElement("span",{style:{color:"#000"}},zr==null?void 0:zr.resetCount),"/",he.createElement("span",null,zr==null?void 0:zr.total),"\uFF09"))))),he.createElement("div",{className:yr.tabBar},co)),hr=({className:$n,style:Zn={},children:lr})=>he.createElement("div",{className:Be()($n),style:Zn},lr),br={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},qr=ve(38854),ha=ve(20834);const Qr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Ua=({sortValue:$n,dropValue:Zn,className:lr,onSort:Yr,onDrop:tn,dataSource:co=Qr})=>{var zr;return he.createElement("div",{className:Be()(br.orderWrap,lr)},he.createElement(qr.Z,{dropdownRender:()=>he.createElement(ha.default,null,co.map((Ao,Ta)=>he.createElement(ha.default.Item,{key:Ta,onClick:()=>tn(Ao.id)},Ao.name)))},he.createElement("span",{className:br.orderTextWrap},(zr=co.find(Ao=>Zn===Ao.id))==null?void 0:zr.name)),he.createElement("span",{className:br.orderIconWrap},he.createElement("span",{className:br.orderAsc},he.createElement("i",{className:$n==="asc"?`iconfont icon-sanjiaoxing-up font12 ${br.cursorPointer} ${br.active}`:`iconfont icon-sanjiaoxing-up font12 ${br.cursorPointer}`,onClick:()=>Yr($n==="asc"?"desc":"asc")})),he.createElement("span",{className:br.orderDesc},he.createElement("i",{className:$n==="desc"?`iconfont icon-sanjiaoxing-down font12 ${br.cursorPointer} ${br.active}`:`iconfont icon-sanjiaoxing-down font12 ${br.cursorPointer}`,onClick:()=>Yr($n==="asc"?"desc":"asc")}))))},Rr={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},gn=ve(3113),wo=ve(22688),eo=Object.defineProperty,Oo=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Xo=($n,Zn,lr)=>Zn in $n?eo($n,Zn,{enumerable:!0,configurable:!0,writable:!0,value:lr}):$n[Zn]=lr,qo=($n,Zn)=>{for(var lr in Zn||(Zn={}))Jo.call(Zn,lr)&&Xo($n,lr,Zn[lr]);if(Oo)for(var lr of Oo(Zn))oo.call(Zn,lr)&&Xo($n,lr,Zn[lr]);return $n},Co=($n,Zn)=>{var lr={};for(var Yr in $n)Jo.call($n,Yr)&&Zn.indexOf(Yr)<0&&(lr[Yr]=$n[Yr]);if($n!=null&&Oo)for(var Yr of Oo($n))Zn.indexOf(Yr)<0&&oo.call($n,Yr)&&(lr[Yr]=$n[Yr]);return lr},Dn=($n,Zn,lr)=>new Promise((Yr,tn)=>{var co=Ta=>{try{Ao(lr.next(Ta))}catch(Mo){tn(Mo)}},zr=Ta=>{try{Ao(lr.throw(Ta))}catch(Mo){tn(Mo)}},Ao=Ta=>Ta.done?Yr(Ta.value):Promise.resolve(Ta.value).then(co,zr);Ao((lr=lr.apply($n,Zn)).next())}),vn=$n=>{var Zn=$n,{className:lr,style:Yr,children:tn,loading:co=!1,openLoading:zr,onClick:Ao=()=>{},size:Ta="middle",shape:Mo="round",theme:ka}=Zn,ya=Co(Zn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[vo,so]=(0,he.useState)(!1),Bi=(0,he.useMemo)(()=>{switch(ka){case wo.Fy.THEMEONE:return Rr.ThemeOne;case wo.Fy.DEFAULT:default:return Rr.btn}},[ka]);return he.createElement(gn.ZP,qo({onClick:(0,Ne.throttle)(Ga=>Dn(void 0,null,function*(){zr&&so(!0);try{yield Ao(Ga)}catch(oi){console.log("error",oi)}zr&&so(!1)}),2e3,{leading:!0,trailing:!1}),className:Be()(Bi,Rr[`${Ta}-${Mo}`],lr),style:Yr,size:Ta,shape:Mo,loading:vo||co},ya),tn)},Ur={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Nr=({className:$n,style:Zn,children:lr=null,onClick:Yr,title:tn})=>he.createElement("div",{className:Be()(Ur.head,$n),style:Zn},he.createElement("span",{className:"primary-hover",onClick:Yr},he.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),he.createElement("b",{title:tn},tn),he.createElement("div",{className:Ur.node},lr)),ga={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},wa=({confirmShow:$n=!0,confirmTitle:Zn,confirmClick:lr,cancelShow:Yr=!0,cancelTitle:tn,cancelClick:co,className:zr,style:Ao,confirmLoading:Ta=!1})=>he.createElement("div",{className:Be()(ga.btns,zr),style:Ao},$n&&he.createElement(gn.ZP,{loading:Ta,onClick:lr,type:"primary",className:ga.confirm},Zn),Yr&&he.createElement(gn.ZP,{onClick:co,className:ga.cancel},tn)),to={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Er=({className:$n,style:Zn={},LeftContent:lr,children:Yr,RightContent:tn})=>he.createElement("div",{className:Be()(to.fixedBottom,$n),style:Zn},he.createElement("div",{className:to.wrap},he.createElement("div",{className:to.left},lr),he.createElement("div",{className:to.center},Yr),he.createElement("div",{className:to.right},tn))),Ea={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Lo=({className:$n,style:Zn={},dataSource:lr=[]})=>he.createElement("div",{className:Be()(Ea.crumbs,$n),style:Zn},lr.map((Yr,tn)=>tnbn.history.push(Yr.path)},Yr.name):he.createElement("span",null,Yr.name),he.createElement("span",null,"\xA0",">","\xA0")):he.createElement("span",{key:tn,style:{color:"#5F6368"}},Yr.name))),Qo=ve(31797),io=Object.defineProperty,hi=Object.defineProperties,Di=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,zo=($n,Zn,lr)=>Zn in $n?io($n,Zn,{enumerable:!0,configurable:!0,writable:!0,value:lr}):$n[Zn]=lr,sA=($n,Zn)=>{for(var lr in Zn||(Zn={}))Ji.call(Zn,lr)&&zo($n,lr,Zn[lr]);if(Ei)for(var lr of Ei(Zn))Ti.call(Zn,lr)&&zo($n,lr,Zn[lr]);return $n},XA=($n,Zn)=>hi($n,Di(Zn)),_i=($n,Zn)=>{var lr={};for(var Yr in $n)Ji.call($n,Yr)&&Zn.indexOf(Yr)<0&&(lr[Yr]=$n[Yr]);if($n!=null&&Ei)for(var Yr of Ei($n))Zn.indexOf(Yr)<0&&Ti.call($n,Yr)&&(lr[Yr]=$n[Yr]);return lr};const{Countdown:Dr}=Qo.default;var Fs=$n=>{var Zn=$n,{onChange:lr}=Zn,Yr=_i(Zn,["onChange"]);const[tn,co]=(0,he.useState)(null);(0,he.useEffect)(()=>{typeof tn=="number"&&tn>=0&&lr(tn)},[tn]);const zr=Ao=>{const Ta=Math.floor(Ao/1e3);co(Ta)};return he.createElement(Dr,XA(sA({},Yr),{onChange:zr}))},xs={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Vr=({DataProps:$n,className:Zn,style:lr={}})=>{var Yr;return he.createElement("div",{className:Be()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",xs.ClassRoomItem,Zn),style:lr,onClick:()=>{(0,gt.xg)($n==null?void 0:$n.first_category_url)}},he.createElement("div",{className:"flex flex-col item-center"},he.createElement("img",{src:`${(Yr=Dt.Z)==null?void 0:Yr.IMG_SERVER}/images/${$n==null?void 0:$n.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),($n==null?void 0:$n.subject_identifier)&&he.createElement("div",{className:"mt-40px"},he.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),he.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),he.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},he.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!($n!=null&&$n.is_public)&&he.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),he.createElement("span",{className:Be()("text-16px font-medium",xs.TitleDom)},$n==null?void 0:$n.name)),he.createElement("div",{className:"c-grey-333 font-medium"},$n==null?void 0:$n.creator),he.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",$n==null?void 0:$n.course_members_count),he.createElement("div",{className:"c-grey-333 flex item-center justify-between"},he.createElement("div",null,"\u4F5C\u4E1A\uFF1A",$n==null?void 0:$n.tasks_count),$n!=null&&$n.is_end?he.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):he.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},La=Object.defineProperty,mo=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable,ai=($n,Zn,lr)=>Zn in $n?La($n,Zn,{enumerable:!0,configurable:!0,writable:!0,value:lr}):$n[Zn]=lr,Pi=($n,Zn)=>{for(var lr in Zn||(Zn={}))Ba.call(Zn,lr)&&ai($n,lr,Zn[lr]);if(mo)for(var lr of mo(Zn))Ro.call(Zn,lr)&&ai($n,lr,Zn[lr]);return $n},qi=({DataProps:$n=[],selectValue:Zn,onChange:lr,className:Yr,style:tn={},extra:co,classNameItem:zr,styleItem:Ao={},barHidden:Ta})=>{const[Mo,ka]=(0,he.useState)();return(0,he.useEffect)(()=>{ka(Array.isArray(Zn)?Zn:[Zn])},[Zn]),he.createElement("div",{className:Be()("flex px-20px py-10px gap-40px",Yr),style:Pi({borderBottom:"1px solid #D3F0FF"},tn)},$n==null?void 0:$n.map(ya=>he.createElement("div",{key:ya==null?void 0:ya.id,className:Be()("flex item-center justify-center current c-grey-333 text-16 relative",zr,ya==null?void 0:ya.className),style:Pi(Pi({color:Mo!=null&&Mo.includes(ya==null?void 0:ya.id)?"#1890FF":"",minWidth:88},Ao),(ya==null?void 0:ya.style)||{}),onClick:vo=>{lr==null||lr({domEvent:vo,item:ya}),ya!=null&&ya.link&&bn.history.push(ya==null?void 0:ya.link)}},ya==null?void 0:ya.name,!Ta&&(Mo==null?void 0:Mo.includes(ya==null?void 0:ya.id))&&he.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),he.createElement("div",{className:"ml-auto"},co))},Oa=Object.defineProperty,Sa=Object.defineProperties,ml=Object.getOwnPropertyDescriptors,ms=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,qA=Object.prototype.propertyIsEnumerable,jA=($n,Zn,lr)=>Zn in $n?Oa($n,Zn,{enumerable:!0,configurable:!0,writable:!0,value:lr}):$n[Zn]=lr,vs=($n,Zn)=>{for(var lr in Zn||(Zn={}))ps.call(Zn,lr)&&jA($n,lr,Zn[lr]);if(ms)for(var lr of ms(Zn))qA.call(Zn,lr)&&jA($n,lr,Zn[lr]);return $n},$A=($n,Zn)=>Sa($n,ml(Zn)),Ui=({value:$n,onChange:Zn,onInputChange:lr,className:Yr,style:tn={},InputProps:co})=>{const[zr,Ao]=(0,he.useState)($n);return he.createElement("div",{className:Be()("flex item-center rounded-full px-10px py-2px",Yr),style:vs({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},tn)},he.createElement(Qe.default,$A(vs({bordered:!1},co),{onChange:Ta=>{Ao(Ta.target.value),lr==null||lr(encodeURIComponent(Ta.target.value))},onPressEnter:Ta=>{Zn==null||Zn({domEvent:Ta,item:{value:zr}})}})),he.createElement("img",{className:"h-22px current",src:ve(25365),height:22,onClick:Ta=>{Zn==null||Zn({domEvent:Ta,item:{value:zr}})}}))}},17904:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return we}});var he=ve(59301);function we(Me,nt){const Ge=(0,he.useRef)();(0,he.useEffect)(()=>{Ge.current=Me}),(0,he.useEffect)(()=>{function He(){Ge.current()}if(nt!==null){let pe=setInterval(He,nt);return()=>clearInterval(pe)}},[nt])}},29678:function(An,zt,ve){"use strict";var he=ve(43418),we=ve(8591),Me=ve(82093),nt=ve(76560),Ge=ve(34055),He=ve(59301),pe=(Ne,ue,Oe)=>new Promise((Pe,be)=>{var oe=E=>{try{a(Oe.next(E))}catch(b){be(b)}},y=E=>{try{a(Oe.throw(E))}catch(b){be(b)}},a=E=>E.done?Pe(E.value):Promise.resolve(E.value).then(oe,y);a((Oe=Oe.apply(Ne,ue)).next())});const Be=({shixunHomeworks:Ne,classroomList:ue,dispatch:Oe})=>{const Pe=(0,nt.useParams)();return He.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>pe(void 0,null,function*(){var be,oe,y,a;if((0,Ge.Rm)()&&!((be=ue.AssistantObject.practice)!=null&&be.can_redo)){we.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Oe({type:"shixunHomeworks/setActionTabs",payload:{}});const b=(y=(oe=E==null?void 0:E.new_works)==null?void 0:oe.find(x=>`${x.homework_common_id}`===Pe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=ue.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${b}/comment`)}}),onCancel:()=>{Oe({type:"shixunHomeworks/setActionTabs",payload:{}})}},He.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),He.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};zt.Z=(0,nt.connect)(({shixunHomeworks:Ne,classroomList:ue})=>({shixunHomeworks:Ne,classroomList:ue}))(Be)},69083:function(An,zt,ve){"use strict";ve.r(zt),ve.d(zt,{default:function(){return jr}});var he=ve(22688),we=ve(59301),Me=ve(76560),nt=ve(61186),Ge=ve.n(nt),He=ve(86129),pe=ve.n(He),Be=ve(82093),Ne=ve(43418),ue=ve(8591),Oe=ve(61621),Pe=ve(66104),be=ve(3113),oe=ve(6848),y=ve(92832),a=ve(28103),E=ve(95237),b=ve(43604),x=ve(1710),z=ve(57809),ne=ve(58421),le=ve(95869),xe=ve(87169),Ee=ve(26227),Qe=ve(18702),We=ve(34055),Ve=ve(49661),tt=ve(42441),ke={flex_box_center:"flex_box_center___RiSTC",flex_space_between:"flex_space_between___r2zEY",flex_box_vertical_center:"flex_box_vertical_center___TMaa1",flex_box_center_end:"flex_box_center_end___Y0BIL",flex_box_column:"flex_box_column___iz8FU",NewButtonStyle:"NewButtonStyle___houPy",TableStyle:"TableStyle___CslJA",title:"title___qgujt",score:"score___b7Ujv",export:"export___D8VKP",title1_right:"title1_right___cy888",userPic:"userPic___oaJ3H",userInfo:"userInfo___l2HkY",listItem:"listItem___cZoS7",rightInfo:"rightInfo___m8guB",shixunTitle:"shixunTitle___lKvEa",shixunWrp:"shixunWrp___HKtVw",footerBar:"footerBar___qBo2N",footerBarStatic:"footerBarStatic____tmYG",exitComment:"exitComment___meSbD",nextComment:"nextComment___elRVJ",modal:"modal___WCPN7",footer:"footer___itbW_"},Ft={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Te=({shixunHomeworks:Kt,data:Ht,globalSetting:In,loading:gr,dispatch:$r})=>{var xr;const{shixunWorkReport:Jr}=Kt;let wr=((xr=Ht==null?void 0:Ht.efficiency_list)==null?void 0:xr.length)-parseInt(Ht==null?void 0:Ht.myself_eff[0]);const aa=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(lo){return lo.name===Jr.username?"\u59D3\u540D\uFF1A"+Jr.username+"
\u5B66\u53F7\uFF1A "+Jr.user_id+"
\u6548\u7387\uFF1A"+(Ht==null?void 0:Ht.myself_eff[1]):lo.name+":"+lo.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Ht==null?void 0:Ht.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jr.username,xAxis:wr,yAxis:Ht==null?void 0:Ht.myself_eff[1],value:Ht==null?void 0:Ht.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),fa=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(lo){var Ko=lo.value;if(lo.name===Jr.username)return"\u59D3\u540D\uFF1A"+Jr.username+"
\u5B66\u53F7\uFF1A "+Jr.user_id+"
\u5F97\u5206\uFF1A"+(Ht==null?void 0:Ht.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:Ft,data:Ht==null?void 0:Ht.consume_list,symbolSize:function(lo){return Math.round(lo[2])},markPoint:{data:[{name:Jr.username,xAxis:Ht==null?void 0:Ht.myself_object[0],yAxis:Ht==null?void 0:Ht.myself_object[1],value:Ht==null?void 0:Ht.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return we.createElement(we.Fragment,null,we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(tt.Z,{style:{width:750,height:580},option:aa()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ke.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Jr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Jr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_eff[0]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",we.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",we.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(tt.Z,{style:{width:750,height:580},option:fa()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ke.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Jr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Jr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_object[1]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",we.createElement("br",null)))))))};var kt=(0,Me.connect)(({shixunHomeworks:Kt,loading:Ht,globalSetting:In})=>({shixunHomeworks:Kt,globalSetting:In,loading:Ht.effects}))(Te),st=ve(51124),At=ve(5871),Dt=({defaultValue:Kt,onBlur:Ht,max:In,className:gr="game-score"})=>{const[$r,xr]=(0,we.useState)(Kt);(0,we.useEffect)(()=>{xr(Kt)},[Kt]);function Jr(aa){xr(aa)}function wr(){$r!==Kt&&Ht($r>In?In:$r)}return we.createElement(At.Z,{max:In,min:0,className:gr,value:$r,onChange:Jr,onBlur:wr})},gt=ve(89389),xt={md:"md___GIQyK"},ft=ve(59301),it=Object.defineProperty,en=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Hn=(Kt,Ht,In)=>Ht in Kt?it(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,mn=(Kt,Ht)=>{for(var In in Ht||(Ht={}))Zt.call(Ht,In)&&Hn(Kt,In,Ht[In]);if(Pt)for(var In of Pt(Ht))En.call(Ht,In)&&Hn(Kt,In,Ht[In]);return Kt},Gn=(Kt,Ht)=>en(Kt,rn(Ht));const Nt=z.default.Option,_n={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var or=(Kt=>(Kt[Kt.SET_PATH=0]="SET_PATH",Kt[Kt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Kt))(or||{});function Je(Kt,Ht){switch(Ht.type){case 0:return Gn(mn({},Kt),{selectedPath:Ht.payload});case 1:return Gn(mn({},Kt),{passedContent:Ht.payload});default:throw new Error}}var yn=({path:Kt,game_id:Ht,onPathChange:In,autoHeight:gr,diff_code_count:$r,data:xr,game_codes_cn:Jr})=>{var wr,aa,fa,lo;const Ko=Kt.split("\uFF1B").filter(Wa=>!!Wa),[Ca,po]=(0,we.useReducer)(Je,{selectedPath:Ko[0],passedContent:{language:"python",content:""}}),{selectedPath:Ha,passedContent:Va}=Ca;function oa(Wa){po({type:0,payload:Wa})}const Ra={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return ft.createElement(ft.Fragment,null,ft.createElement("h2",null," ",ft.createElement("span",null,Jr,ft.createElement(oe.Z,{title:ft.createElement("div",null,ft.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),ft.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),ft.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),ft.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},ft.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),$r&&ft.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",$r),ft.createElement("span",null,ft.createElement(z.default,{style:{width:200},value:Ha,onChange:oa}," ",Ko.map(Wa=>ft.createElement(Nt,{key:Wa,value:Wa},Wa))," "))," "),(Ha==null?void 0:Ha.split(".")[1])==="md"&&ft.createElement(gt.Z,{height:300,autoHeight:gr,defaultValue:((aa=(wr=xr==null?void 0:xr.filter(Wa=>Wa.path===Ha))==null?void 0:wr[0])==null?void 0:aa.content)||"",className:xt.md}),(Ha==null?void 0:Ha.split(".")[1])!=="md"&&ft.createElement(st.ZP,{height:300,language:Va.language,value:((lo=(fa=xr==null?void 0:xr.filter(Wa=>Wa.path===Ha))==null?void 0:fa[0])==null?void 0:lo.content)||"",autoHeight:gr,theme:"default",isCopy:!0,options:_n}))},Fe=ve(64948),de=ve(96249),Ae=ve.n(de),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Xe=(Kt,Ht,In)=>Ht in Kt?ye(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,Qt=(Kt,Ht)=>{for(var In in Ht||(Ht={}))pt.call(Ht,In)&&Xe(Kt,In,Ht[In]);if(qe)for(var In of qe(Ht))Re.call(Ht,In)&&Xe(Kt,In,Ht[In]);return Kt},Bt=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const lt=({shixunHomeworks:Kt,autoHeight:Ht,classroomList:In,dispatch:gr})=>{var $r,xr,Jr,wr,aa,fa,lo;const{shixunWorkReport:Ko}=Kt,{stage_list:Ca,work_id:po}=Ko,[Ha,Va]=(0,we.useState)(!1),[oa,Ra]=(0,we.useState)(!0),[Wa,bo]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),ei=(0,we.useRef)(null),[ii,Oi]=(0,we.useState)(!1),Si=(Ma,Na)=>{var Eo;const{clientWidth:ki,clientHeight:gi}=window.document.documentElement,yi=(Eo=ei.current)==null?void 0:Eo.getBoundingClientRect();yi&&bo({left:-yi.left+Na.x,right:ki-(yi.right-Na.x),top:-yi.top+Na.y,bottom:gi-(yi.bottom-Na.y)})},$i=(0,Me.useParams)(),WA=(0,We.GJ)(),gA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log($i)},[]);const es=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Ma,Na,Eo)=>we.createElement("div",null,Ma,Na.is_work_end_evaluate&&we.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:Ma=>Ge()(Ma).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Ma,Na)=>we.createElement("span",{className:"c-blue current",onClick:()=>Bt(void 0,null,function*(){var Eo,ki;const gi=yield(0,Fe.Lk)(Na.game_identifier,{path:(ki=(Eo=Na.path)==null?void 0:Eo.replace(/\;/g,";"))==null?void 0:ki.split(";")[0],query_index:Na.query_index,homework_common_id:$i.categoryId});(gi==null?void 0:gi.status)===0&&(Oi(gi),Va(!0))})},Na.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ls=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Ma,Na)=>{var Eo;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((Eo=Na==null?void 0:Na.user)==null?void 0:Eo.image_url)}),Ma)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Ma=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Ma,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Ma=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Ma,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Ma=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Ma?Ge()(Ma).format("YYYY-MM-DD HH:mm"):"--")}];function Pn(Ma,Na){return Bt(this,null,function*(){const{challenge_id:Eo}=Ca[Ma],ki=yield gr({type:"shixunHomeworks/changeScore",payload:{categoryId:$i.homeworkId,type:"report",score:Na,challenge_id:Eo}});yield gr({type:"shixunHomeworks/getShixunWorkReport",payload:Qt({},$i)}),ki.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Nn(Ma,Na){return(0,Be.U2)(`student_works/${po}/rep_passed_content.json`,{path:Na,game_id:Ma})}const lA=Ko.shixun_detail;return we.createElement(we.Fragment,null,lA==null?void 0:lA.map(function(Ma,Na){var Eo,ki;return we.createElement("div",{key:Na},we.createElement("aside",{className:"pl30 pr30",key:Na},we.createElement("div",{className:`${ke.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",Na+1,"\u5173 ",we.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${$i.coursesId}/${$i.categoryId}/${Ma.game_identifier}`},Ma.subject))),WA?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement(Dt,{className:"game-score",max:Ca[Na].game_score_full,defaultValue:Ca[Na].game_score,onBlur:gi=>{var yi;if((0,We.Rm)()&&!((yi=In.AssistantObject.practice)!=null&&yi.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Pn(Na,gi)}})):null),we.createElement("div",{className:"font16 mt10"},Ma.st===0&&(Ma.path?typeof(Ma==null?void 0:Ma.game_codes_cn)=="string"?we.createElement("aside",{className:ke.shixunWrp},we.createElement(yn,{game_codes_cn:Ma==null?void 0:Ma.game_codes_cn,autoHeight:Ht,path:Ma.path,game_id:Ma.id,data:Ma.game_codes,diff_code_count:Ma.diff_code_count,onPathChange:Nn})):we.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),Ma.st===1&&(Ma.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),we.createElement("aside",{className:"mt10 font16"},(Eo=Ma.outputs)!=null&&Eo.length?we.createElement(x.default,{columns:es,pagination:{hideOnSinglePage:!0},dataSource:Ma.outputs.map(gi=>Qt(Qt({},Ma),gi))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((ki=Ma==null?void 0:Ma.adjust_review_score_list)==null?void 0:ki.length)>0&&(0,We.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:Ls,pagination:{hideOnSinglePage:!0},dataSource:Ma.adjust_review_score_list,showHeader:!1})))))}),we.createElement(Ne.default,{open:Ha,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Oi({}),Va(!1)},onCancel:()=>{Oi({}),Va(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{oa&&Ra(!1)},onMouseOut:()=>{Ra(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Ma=>we.createElement(Ae(),{disabled:oa,bounds:Wa,nodeRef:ei,onStart:(Na,Eo)=>Si(Na,Eo)},we.createElement("div",{ref:ei},Ma))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},(($r=ii==null?void 0:ii.data)==null?void 0:$r.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?we.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):we.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),we.createElement("div",{style:{color:((xr=ii==null?void 0:ii.data)==null?void 0:xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Jr=ii==null?void 0:ii.data)==null?void 0:Jr.output_detail)),we.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((wr=ii==null?void 0:ii.data)==null?void 0:wr.created_at).format("YYYY-MM-DD HH:mm:ss"))),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(aa=ii==null?void 0:ii.data)==null?void 0:aa.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(fa=ii==null?void 0:ii.data)==null?void 0:fa.ts_mem,"mb")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((lo=ii==null?void 0:ii.data)==null?void 0:lo.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:Ht,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ii==null?void 0:ii.content)||""))),options:gA})))};var Yt=(0,Me.connect)(({shixunHomeworks:Kt,loading:Ht,globalSetting:In,classroomList:gr})=>({shixunHomeworks:Kt,globalSetting:In,loading:Ht.effects,classroomList:gr}))(lt),wn=ve(78241),jt={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},fn=ve(44816),Tt=ve(59301),Fn=Object.defineProperty,dt=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,bn=(Kt,Ht,In)=>Ht in Kt?Fn(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,er=(Kt,Ht)=>{for(var In in Ht||(Ht={}))on.call(Ht,In)&&bn(Kt,In,Ht[In]);if(dt)for(var In of dt(Ht))Bn.call(Ht,In)&&bn(Kt,In,Ht[In]);return Kt},cr=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const yr=({shixunHomeworks:Kt,dispatch:Ht,classroomList:In})=>{const{shixunWorkReport:gr}=Kt,$r=(0,Me.useParams)(),[xr,Jr]=(0,we.useState)(!1),[wr]=wn.default.useForm(),[aa,fa]=Ne.default.useModal(),[lo,Ko]=(0,we.useState)(!1),[Ca,po]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var oa,Ra,Wa,bo;Kt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&wr.setFieldsValue({comment:(Ra=(oa=Kt.actionTabs.selectArrs)==null?void 0:oa.data)==null?void 0:Ra.work_comment,hidden_comment:(bo=(Wa=Kt.actionTabs.selectArrs)==null?void 0:Wa.data)==null?void 0:bo.work_comment_hidden})},[Kt.actionTabs.key]);const Ha=()=>cr(void 0,null,function*(){const oa=wr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${$r.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:oa.hidden_comment,comment:oa.comment}})).status===0&&(ue.ZP.success("\u8BC4\u9605\u6210\u529F"),wr.resetFields(),Ht({type:"shixunHomeworks/setActionTabs",payload:{}}),Ht({type:"shixunHomeworks/getShixunWorkReport",payload:er({},$r)}))}),Va=[{title:"\u5173\u5361",dataIndex:"name",render:(oa,Ra,Wa)=>Wa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(oa,Ra,Wa)=>Tt.createElement("div",null,oa,Ra.complete_status===4&&Tt.createElement(Ve.vA,{status:Ra.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:oa=>oa?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(oa,Ra)=>Tt.createElement("div",null,Tt.createElement("span",{style:{color:parseFloat(Ra.game_score_full)!==parseFloat(oa)?"#E30000":"#53C41B"}},oa),"/",Ra.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(oa,Ra)=>(0,We.GJ)()?Tt.createElement(Dt,{max:Ra.game_score_full,defaultValue:parseFloat(oa),onBlur:Wa=>cr(void 0,null,function*(){var bo,ei;if((0,We.Rm)()&&!((bo=In.AssistantObject.practice)!=null&&bo.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ii=yield Ht({type:"shixunHomeworks/changeScore",payload:{categoryId:$r.homeworkId,type:"report",score:Wa,challenge_id:Ra.challenge_id}});(ei=Kt==null?void 0:Kt.actionTabs)==null||ei.fn(),yield Ht({type:"shixunHomeworks/getShixunWorkReport",payload:er({},$r)}),ii.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):oa}];return Tt.createElement(Tt.Fragment,null,fa,Tt.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Kt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>cr(void 0,null,function*(){var oa;if((0,We.Rm)()&&!((oa=In.AssistantObject.practice)!=null&&oa.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ra=wr.getFieldsValue();JSON.stringify(Ra)==="{}"||Ra.hidden_comment===""&&Ra.comment===""?Jr(!0):Ha()}),onCancel:()=>{Ht({type:"shixunHomeworks/setActionTabs",payload:{}})}},Tt.createElement(E.Z,{justify:"space-between",className:jt.info},Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u59D3\u540D"),Tt.createElement("span",{className:jt.blackContent},gr==null?void 0:gr.username)),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u5B66\u53F7"),Tt.createElement("span",{className:jt.blackContent},(gr==null?void 0:gr.student_id)||"--")),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u73ED\u7EA7"),Tt.createElement("span",{className:jt.blackContent},(gr==null?void 0:gr.group_name)||"--")),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u5173\u5361\u5F97\u5206"),Tt.createElement("span",{className:jt.orangeContent},(gr==null?void 0:gr.challenge_score)||"--")),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u6548\u7387\u5206"),Tt.createElement("span",{className:jt.orangeContent},(gr==null?void 0:gr.eff_score)||"--")),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u8865\u4EA4\u6263\u5206"),Tt.createElement("span",{className:jt.orangeContent},(gr==null?void 0:gr.late_penalty)||"--")),Tt.createElement(b.Z,null,Tt.createElement("span",{className:`${jt.label} ${jt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Tt.createElement("span",{className:jt.orangeContent},(gr==null?void 0:gr.work_score)||"--"))),Tt.createElement(wn.default,{form:wr,onChange:()=>{xr&&Jr(!1)}},Tt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Tt.createElement(b.Z,null,Tt.createElement("div",{className:`${jt.inputLabel} ${jt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Tt.createElement(b.Z,null,Tt.createElement(fn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:lo,onCancel:()=>{Ko(!1)}},onDataSelect:(oa,Ra)=>cr(void 0,[oa,Ra],function*(Wa,{node:bo}){const ei=()=>{wr.setFieldsValue({comment:bo==null?void 0:bo.value}),Ko(!1)};if(wr.getFieldValue("comment")){aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ei});return}ei()})},Tt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Tt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:oa=>{Ko(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Tt.createElement(wn.default.Item,{name:"comment"},Tt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Tt.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Tt.createElement(b.Z,null,Tt.createElement("div",{className:`${jt.inputLabel} ${jt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Tt.createElement(b.Z,null,Tt.createElement(fn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:Ca,onCancel:()=>{po(!1)}},onDataSelect:(oa,Ra)=>cr(void 0,[oa,Ra],function*(Wa,{node:bo}){const ei=()=>{wr.setFieldsValue({hidden_comment:bo==null?void 0:bo.value}),po(!1)};if(wr.getFieldValue("hidden_comment")){aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ei});return}ei()})},Tt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Tt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:oa=>{po(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Tt.createElement(wn.default.Item,{name:"hidden_comment"},Tt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),xr&&Tt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Tt.createElement("div",{className:jt.tableTitle},"\u5173\u5361\u6210\u7EE9"),Tt.createElement(x.default,{className:jt.scoreTable,dataSource:gr.stage_list,rowKey:"challenge_id",pagination:!1,columns:Va,scroll:{x:"max-content"}})))};var Cr=(0,Me.connect)(({shixunHomeworks:Kt,classroomList:Ht})=>({shixunHomeworks:Kt,classroomList:Ht}))(yr),mr=ve(95894),ur=ve(7664),hr=ve(45278),br=ve(44164),qr=ve.n(br),ha={wrap:"wrap___rFTBy",line:"line___kZzhh"},Qr=ve(98616),Ua=({detailData:Kt})=>{var Ht;return we.createElement("div",{className:ha.wrap},we.createElement(Qr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Qr.Uf)(Kt),(Kt==null?void 0:Kt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Qr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Qr.Uf)(Kt)}),!!((Ht=Kt==null?void 0:Kt.photos)!=null&&Ht.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:ha.line}),we.createElement(Qr._s,{dataSource:Kt==null?void 0:Kt.photos,right:21,col:4,wrapWidth:1140}))))},Rr=ve(30975),gn=ve(59301),wo=Object.defineProperty,eo=Object.defineProperties,Oo=Object.getOwnPropertyDescriptors,Jo=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Xo=Object.prototype.propertyIsEnumerable,qo=(Kt,Ht,In)=>Ht in Kt?wo(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,Co=(Kt,Ht)=>{for(var In in Ht||(Ht={}))oo.call(Ht,In)&&qo(Kt,In,Ht[In]);if(Jo)for(var In of Jo(Ht))Xo.call(Ht,In)&&qo(Kt,In,Ht[In]);return Kt},Dn=(Kt,Ht)=>eo(Kt,Oo(Ht)),kn=(Kt,Ht)=>{var In={};for(var gr in Kt)oo.call(Kt,gr)&&Ht.indexOf(gr)<0&&(In[gr]=Kt[gr]);if(Kt!=null&&Jo)for(var gr of Jo(Kt))Ht.indexOf(gr)<0&&Xo.call(Kt,gr)&&(In[gr]=Kt[gr]);return In},vn=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const Ur=Kt=>{var Ht=Kt,{shixunHomeworks:In,classroomList:gr,globalSetting:$r,loading:xr,user:Jr,dispatch:wr}=Ht,aa=kn(Ht,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),fa,lo,Ko;const[Ca,po]=(0,we.useState)(Co({},(0,Me.useParams)())),Ha=(0,Me.useParams)(),[Va,oa]=(0,we.useState)({page:1,page_size:10}),Ra=(0,Me.useLocation)(),[]=(0,we.useState)([]),[Wa,bo]=(0,we.useState)(),ei=(0,we.useRef)(),[ii,Oi]=(0,we.useState)(!1),[Si,$i]=(0,we.useState)(!0),[WA,gA]=(0,we.useState)(!1),[es,Ls]=(0,we.useState)(!1),{shixunWorkReport:Pn}=In,[Nn,lA]=(0,we.useState)(),[Ma,Na]=(0,we.useState)([]),[Eo,ki]=(0,we.useState)(),[gi,yi]=(0,we.useState)("all"),Wi=(0,We.GJ)(),[ZA,eA]=(0,we.useState)(new(pe())),[ia,_a]=(0,we.useState)(0),[ro,vi]=(0,we.useState)(!1),[wi,Ri]=(0,we.useState)(!1),[Po,ts]=(0,we.useState)(!1),[ns,NA]=(0,we.useState)(""),[rs,Is]=(0,we.useState)(!1),[Cl,bl]=(0,we.useState)(!0),[Mi,VA]=(0,we.useState)(0),fA=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),ci=(0,we.useRef)(),hA=()=>vn(void 0,null,function*(){(Jr.userInfo.is_teacher||Jr.userInfo.admin)&&(Is(!0),bl(!1))});(0,we.useEffect)(()=>{var Ir;(0,We.Rm)()&&gr.AssistantObject.practice&&!((Ir=gr.AssistantObject.practice)!=null&&Ir.can_view)&&Me.history.replace("/403")},[(fa=gr.AssistantObject.practice)==null?void 0:fa.can_view]),(0,we.useEffect)(()=>{hA(),console.log("\u6253\u5370\u7684------",Pn),ci.current=Pn==null?void 0:Pn.next_student_work_id,NA(Pn.repeat_minus_score)},[Pn,Jr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Pn.work_score),VA(Pn.work_score)},[Pn.work_score,ns]),(0,we.useEffect)(()=>(wr({type:"globalSetting/footerToggle",payload:!1}),()=>{wr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var Ir;if(Pn){let Xa=[];(Ir=Pn==null?void 0:Pn.target_test_sets)==null||Ir.map((pr,Da)=>{var yo;(yo=pr==null?void 0:pr.targets)==null||yo.map((Ki,Zi)=>{var zi;Ki.name=pr==null?void 0:pr.name,Ki.total_target_score=pr==null?void 0:pr.total_target_score,Ki.actual_target_score=pr==null?void 0:pr.actual_target_score,Ki.rowSpan=Zi===0?(zi=pr==null?void 0:pr.targets)==null?void 0:zi.length:0,Ki.order=Da+1,Xa.push(Ki)})}),lA(Xa),(0,We.Rm)()&&wr({type:"classroomList/getAssistantPermissions",payload:{course_id:Ca.coursesId}})}},[Pn]),(0,we.useEffect)(()=>{In.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Pn==null?void 0:Pn.students_count)>0&&!Si&&setTimeout(()=>{bA("all")},800)},[Pn==null?void 0:Pn.homework_common_id,Si]),(0,we.useEffect)(()=>{po(Co({},Ha))},[Ra.pathname]);const al=()=>{document.body.scrollIntoView()},El=Ir=>{Va.page=Ir,oa(Co({},Va)),as(Va,gi)},as=(Ir,Xa)=>vn(void 0,null,function*(){gA(!0);const pr=yield(0,Be.ZP)(`/api/student_works/${Ca==null?void 0:Ca.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Dn(Co({},Ir),{challenge_id:Xa=="all"?null:Xa})});(pr==null?void 0:pr.status)===0&&(Na(pr==null?void 0:pr.list),ki(pr==null?void 0:pr.count)),gA(!1)});function HA(){return vn(this,null,function*(){fA.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const ol=()=>{document.querySelectorAll("canvas").forEach(Ir=>{(!Ir.clientWidth||!Ir.clientHeight)&&Ir.remove()})},Bs=Ir=>vn(void 0,null,function*(){const Xa=yield(0,hr.t1)({homeworkId:Ir||Ca.homeworkId});bo(Xa==null?void 0:Xa.data)}),bA=Ir=>vn(void 0,null,function*(){var Xa,pr,Da,yo;let Ki=0,Zi;Zi=Ne.default.info({width:460,title:gn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",gn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:gn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",gn.createElement("span",{className:"c-blue"},Ki+1),"/",Ir!=="all"?1:Pn==null?void 0:Pn.students_count,gn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ke.modal,onOk:()=>{}});const zi={margin:[0,0],filename:`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?Pn==null?void 0:Pn.student_id:""}${Pn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ss=ZA.folder(Pn==null?void 0:Pn.shixun_name);function Ns(Ds){return vn(this,null,function*(){yield Bs(Ds||ci.current);const Go=yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:Co({homeworkId:Ds||ci.current},fA.current||{})});ci.current=Go==null?void 0:Go.next_student_work_id,al(),Ki++,setTimeout(()=>vn(this,null,function*(){var Us,Io,PA,Vi;ol();const tA=Ss.folder(`${Go==null?void 0:Go.group_name}`).folder(`${Go!=null&&Go.student_id&&(Go==null?void 0:Go.student_id)!="--"?Go.student_id+"+":""}${Go==null?void 0:Go.username}`),ys=document.querySelector("#export-all").children;let Os=qr()();for(let ae=0;aevn(this,null,function*(){ae0&&((PA=(Io=Go==null?void 0:Go.shixun_detail)==null?void 0:Io.filter(ae=>{var te;return((te=ae==null?void 0:ae.game_codes)==null?void 0:te.length)>0}))==null?void 0:PA.length)>0){const ae=tA.folder("\u4EE3\u7801\u6587\u4EF6");(Vi=Go==null?void 0:Go.shixun_detail)==null||Vi.map((te,re)=>{var fe,Ce;if(((fe=te==null?void 0:te.game_codes)==null?void 0:fe.length)>0){const Se=ae.folder(`\u7B2C${re+1}\u5173-${te.subject}-${te.id}`);(Ce=te==null?void 0:te.game_codes)==null||Ce.map(De=>{Se.file(`${De.filename}.txt`,De==null?void 0:De.content)})}})}Zi.update({content:gn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",gn.createElement("span",{className:"c-blue"},Ki),"/",Go==null?void 0:Go.students_count,gn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ki==(Go==null?void 0:Go.students_count)?(Zi.destroy(),zs()):Ns()}),2200)})}if(Ir!=="all"||(Pn==null?void 0:Pn.students_count)<2){ol(),al();const Ds=ei.current.children;let Go=qr()();const Io=Ss.folder(`${Pn==null?void 0:Pn.group_name}`).folder(`${Pn!=null&&Pn.student_id&&(Pn==null?void 0:Pn.student_id)!="--"?(Pn==null?void 0:Pn.student_id)+"+":""}${Pn==null?void 0:Pn.username}`);for(let PA=0;PAvn(void 0,null,function*(){PA0&&((Da=(pr=Pn==null?void 0:Pn.shixun_detail)==null?void 0:pr.filter(PA=>{var Vi;return((Vi=PA==null?void 0:PA.game_codes)==null?void 0:Vi.length)>0}))==null?void 0:Da.length)>0){const PA=Io.folder("\u4EE3\u7801\u6587\u4EF6");(yo=Pn==null?void 0:Pn.shixun_detail)==null||yo.map((Vi,mA)=>{var tA,ys;if(((tA=Vi==null?void 0:Vi.game_codes)==null?void 0:tA.length)>0){const Os=PA.folder(`\u7B2C${mA+1}\u5173-${Vi.subject}-${Vi.id}`);(ys=Vi==null?void 0:Vi.game_codes)==null||ys.map(ae=>{Os.file(`${ae.filename}.txt`,ae==null?void 0:ae.content)})}})}Zi.destroy(),zs();return}else Ns(Pn==null?void 0:Pn.first_student_work_id)}),zs=()=>{ZA.generateAsync({type:"blob"}).then(function(Ir){console.log(Pn,"shixunWorkReport");const Xa=document.createElement("a");Xa.href=window.URL.createObjectURL(Ir),Xa.download=(Pn==null?void 0:Pn.shixun_name)+".zip",document.body.appendChild(Xa);const pr=document.createEvent("MouseEvents");pr.initEvent("click",!1,!1),Xa.dispatchEvent(pr),document.body.removeChild(Xa),eA(new(pe()))}),Ls(!1)};(0,we.useEffect)(()=>{Gs()},[Ca.homeworkId]);const Gs=()=>vn(void 0,null,function*(){yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:Co(Co({},Ca),fA.current||{})}),Bs(),(0,We.GJ)()&&HA(),$i(!1)}),_s=[{title:"\u5173\u5361",dataIndex:"name",render:(Ir,Xa,pr)=>pr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Ir,Xa,pr)=>gn.createElement("div",null,Ir,Xa.complete_status===4&&gn.createElement(Ve.vA,{status:Xa.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Ir,Xa,pr)=>Ir||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Ir=>Ir?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Ir,Xa)=>gn.createElement("div",null,gn.createElement("span",{style:{color:parseFloat(Xa.myself_experience)!==parseFloat(Ir)?"red":"green"}},Xa.myself_experience),"/",Ir)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Ir,Xa)=>gn.createElement("div",null,gn.createElement("span",{style:{color:parseFloat(Xa.game_score_full)!==parseFloat(Ir)?"red":"green"}},Ir),"/",Xa.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Ir,Xa)=>Wi?gn.createElement(Dt,{max:Xa.game_score_full,defaultValue:parseFloat(Ir),onBlur:pr=>vn(void 0,null,function*(){var Da;if((0,We.Rm)()&&!((Da=gr.AssistantObject.practice)!=null&&Da.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const yo=yield wr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ca.homeworkId,type:"report",score:pr,challenge_id:Xa.challenge_id}});as({page:1,page_size:10},"all"),yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:Co(Co({},Ca),fA.current||{})}),yo.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Ir}];let Pl=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Ir,Xa,pr)=>({children:Ir,props:{rowSpan:Xa.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Ir,Xa,pr)=>({children:Ir,props:{rowSpan:Xa.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Ir,Xa,pr)=>gn.createElement("div",null,gn.createElement("span",{style:{color:parseFloat(Xa.actual_test_score)!==parseFloat(Ir)?"red":"green"}},Xa.actual_test_score),"/",Ir)},{title:"\u6307\u6807\u603B\u5206",render:(Ir,Xa,pr)=>({children:gn.createElement("div",null,gn.createElement("span",{style:{color:parseFloat(Xa.actual_target_score)!==parseFloat(Ir)?"red":"green"}},Xa.actual_target_score),"/",Ir),props:{rowSpan:Xa.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const il=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:Ir=>gn.createElement("span",null,Ir?Ge()(Ir).format("YYYY-MM-DD HH:mm"):"--")}],DA=Ir=>{wr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Ir==="next"?Me.history.push(`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/${Pn==null?void 0:Pn.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/${Pn==null?void 0:Pn.pre_student_work_id}/comment`)},200)},UA=Ir=>{NA(""),Ir.target.value&&(console.log("\u8FDB\u6765",Pn),Ir.target.value=Ir.target.value>Pn.repeat_setting_score?Pn.repeat_setting_score:Ir.target.value,NA(Ir.target.value))},EA=()=>vn(void 0,null,function*(){const Ir=yield(0,Be.ZP)(`/api/student_works/${Pn==null?void 0:Pn.work_id}/update_repeat_score`,{method:"put",body:{score:ns}});yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:Co(Co({},Ca),fA.current||{})}),Ir.status===0&&ue.ZP.info("\u64CD\u4F5C\u6210\u529F")});return gn.createElement("section",{style:{minHeight:"100vh",background:`url(${ve(26528)}) center / cover no-repeat`}},gn.createElement("div",{className:"edu-container pb-60px"},gn.createElement(Oe.Z,{loading:xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},Pn.course_id&&gn.createElement("section",{className:"animated fadeIn pt-10px"},Pn.category&&gn.createElement(Pe.Z,{separator:">",items:[{title:gn.createElement(Me.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework`}," ",Pn.course_name)},{title:gn.createElement(Me.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.category.main?"":Pn.category.category_id}`}," ",Pn.category.category_name)},{title:gn.createElement(Me.Link,{to:`/classrooms/${Pn.course_id}/shixun_homework/${Pn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:Pn.username}]}),gn.createElement("div",{className:"mt20 flex item-center gap-10px"},gn.createElement("strong",{className:"font20"}," ",Pn==null?void 0:Pn.homework_name," "),gn.createElement(Ve.VV,{temporary:!0,status:Pn.homework_status}),gn.createElement("div",{className:"ml-auto flex item-center gap-10px"},Pn.view_tpi&&gn.createElement(be.ZP,{icon:gn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Ir,Xa;(0,Ve.xg)(`/tasks/${Pn==null?void 0:Pn.course_id}/${Pn==null?void 0:Pn.homework_common_id}/${(Xa=(Ir=Pn==null?void 0:Pn.shixun_detail)==null?void 0:Ir[0])==null?void 0:Xa.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,We.GJ)()&&Pn.homework_end===!1&&!!Pn.myshixun_id&&gn.createElement(be.ZP,{icon:gn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>vn(void 0,null,function*(){yield wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Pn.myshixun_identifier},homework_common_id:Ha.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),gn.createElement(be.ZP,{icon:gn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Ir;if((0,We.Rm)()&&!((Ir=gr.AssistantObject.practice)!=null&&Ir.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}bA("")},loading:ii},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,We.GJ)()&&(Pn==null?void 0:Pn.students_count)>1&&gn.createElement(be.ZP,{icon:gn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Ir;if((0,We.Rm)()&&!((Ir=gr.AssistantObject.practice)!=null&&Ir.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:gn.createElement(oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:gn.createElement(oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{bA("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Rr.jj)({categoryId:Ca.categoryId,coursesId:Ca.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),gn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},gn.createElement("div",{id:"export-all",ref:ei},gn.createElement("div",{id:"export-all-1"},gn.createElement("div",{className:"flex item-center"},gn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,We.GJ)()&&gn.createElement(be.ZP,{className:`ml-auto rounded-4px ${ke.NewButtonStyle}`,type:"primary",icon:gn.createElement(le.Z,{rev:void 0}),onClick:()=>{wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Co({},Pn)},fn:()=>as({page:1,page_size:10},"all")}})}}," ",Pn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),gn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},gn.createElement("div",{className:"flex flex-col justify-center item-center"},gn.createElement("div",{className:"flex flex-col item-center"},gn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Qe.Z.IMG_SERVER}/images/${Pn.image_url}`,alt:Pn.username}),gn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},gn.createElement(Ve.vA,{status:Pn.compelete_status}))),gn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},Pn.username),gn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",gn.createElement("span",{className:"ml10 c-grey-333"},Pn.student_id||"--")),gn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",gn.createElement("span",{className:"ml10 c-grey-333"},Pn.group_name||"--"))),gn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},gn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:gn.createElement(gn.Fragment,null,gn.createElement("span",{className:"c-red"},Pn.complete_count||"--"),"/",gn.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:gn.createElement(gn.Fragment,null,gn.createElement("span",{className:"c-red"},Pn.current_complete_count||"--"),"/",gn.createElement("span",{className:"c-red"},Pn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.efficiency===null?"--":Pn&&Pn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:Pn&&Pn.max_efficiency===null?"--":Pn&&Pn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:gn.createElement(gn.Fragment,null,gn.createElement("span",{className:"c-orange"},Pn.challenge_score),"/",gn.createElement("span",{className:"c-light-black"},Pn.challenge_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)},{title:"\u6548\u7387\u5206",children:gn.createElement(gn.Fragment,null,gn.createElement("span",{className:"c-orange"},Pn.eff_score),"/",gn.createElement("span",{className:"c-light-black"},Pn.eff_score_full)),hidden:!(Pn!=null&&Pn.eff_score_full)}].map((Ir,Xa)=>!(Ir!=null&&Ir.hidden)&&gn.createElement("div",{key:Xa,className:"flex flex-col item-center gap-10px"},gn.createElement("div",{className:"text-16px"},Ir==null?void 0:Ir.children),gn.createElement("div",{style:{color:"#8E8E8E"}},Ir==null?void 0:Ir.title)))),gn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:gn.createElement(gn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",gn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Ir=>{vi(!0)}})),children:Pn==null?void 0:Pn.human_training_time_rules},{title:gn.createElement(gn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",gn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Ir=>{Ri(!0)}})),children:Pn==null?void 0:Pn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:Pn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:Pn&&Pn.passed_time===null||Pn&&Pn.passed_time==="--"?"--":Ge()(Pn&&Pn.passed_time).format("YYYY-MM-DD HH:mm")},{title:gn.createElement(gn.Fragment,null," \u67E5\u91CD\u6263\u5206",Pn!=null&&Pn.review_rate?gn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{Pn!=null&&Pn.review_id&&rs&&(localStorage.setItem("studentDetial",window.location.pathname),Me.history.push(`/classrooms/:coursesId/shixun_homework/${Ca.categoryId}/review_detail/${Pn==null?void 0:Pn.review_id}`))}}," ",Pn.review_rate.toFixed(1),"% "):gn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:gn.createElement(gn.Fragment,null,(Pn==null?void 0:Pn.repeat_minus_score)!==0?"- -":gn.createElement(gn.Fragment,null,rs?gn.createElement(gn.Fragment,null,gn.createElement(y.default,{style:{width:"45px",height:"22px"},value:ns,onChange:Ir=>{UA(Ir)},onBlur:EA,disabled:Cl})," / ",Pn==null?void 0:Pn.repeat_setting_score):gn.createElement(gn.Fragment,null," ",Pn==null?void 0:Pn.repeat_minus_score," / ",Pn==null?void 0:Pn.repeat_setting_score," "))),hidden:!(Pn!=null&&Pn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:Pn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:gn.createElement(gn.Fragment,null,gn.createElement("span",{className:"c-orange"},Mi),"/",gn.createElement("span",{className:"c-light-black"},Pn.all_work_score))}].map((Ir,Xa)=>!(Ir!=null&&Ir.hidden)&&gn.createElement("div",{key:Xa,className:"flex flex-col item-center gap-10px"},gn.createElement("div",{className:"text-16px"},Ir==null?void 0:Ir.children),gn.createElement("div",{style:{color:"#8E8E8E"}},Ir==null?void 0:Ir.title))))),gn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${ve(55541)}) center / cover no-repeat`}},Pn.overall_appraisal)),gn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(Pn.work_comment_hidden||Pn.work_comment)&&gn.createElement("div",null,gn.createElement(E.Z,{align:"middle"},gn.createElement(b.Z,{flex:1},gn.createElement("h1",{className:ke.title},"\u70B9\u8BC4\u5185\u5BB9")),gn.createElement(b.Z,{className:"pr30"},(0,We.GJ)()&&gn.createElement(be.ZP,{onClick:()=>vn(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:gn.createElement(xe.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return vn(this,null,function*(){(yield(0,hr.gZ)({comment_id:Pn.comment_id,homeworkId:Ca.homeworkId})).status===0&&(ue.ZP.success("\u5220\u9664\u6210\u529F"),wr({type:"shixunHomeworks/getShixunWorkReport",payload:Co(Co({},Ca),fA.current||{})}))})}})})},gn.createElement(Ee.Z,null),"\u5220\u9664"))),gn.createElement(a.Z,{style:{margin:0}}),Pn.work_comment&&gn.createElement("aside",{className:"pl30 pr30 mt20"},gn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),gn.createElement("br",null),gn.createElement(ur.Z,{value:Pn.work_comment})),Pn.work_comment_hidden&&gn.createElement("aside",{className:"pl30 pr30 mt20"},gn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),gn.createElement("br",null),gn.createElement(ur.Z,{value:Pn.work_comment_hidden}))),(Pn==null?void 0:Pn.action_analysis)&&gn.createElement(Ua,{detailData:Pn}),gn.createElement("div",{className:ke.score},gn.createElement("h1",{className:ke.title},"\u9636\u6BB5\u6210\u7EE9"),(Pn==null?void 0:Pn.adjust_review_score_count)>0&&(0,We.GJ)()&&gn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ts(!0),as({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Pn==null?void 0:Pn.adjust_review_score_count,"\u6B21\uFF09")),gn.createElement(x.default,{className:ke.TableStyle,dataSource:Pn.stage_list,rowKey:Ir=>Ir==null?void 0:Ir.challenge_id,pagination:!1,columns:_s}),((lo=Pn==null?void 0:Pn.target_test_sets)==null?void 0:lo.length)>0&&gn.createElement("div",null,gn.createElement("h1",{className:ke.title},"\u6307\u6807\u6210\u7EE9"),gn.createElement(x.default,{className:ke.TableStyle,dataSource:Nn,rowKey:Ir=>Ir==null?void 0:Ir.challenge_id,pagination:!1,bordered:!0,columns:Pl})),(Pn==null?void 0:Pn.work_description)&&gn.createElement(gn.Fragment,null,gn.createElement("h1",{className:ke.title},"\u4E2A\u4EBA\u603B\u7ED3"),gn.createElement(ur.Z,{value:Pn==null?void 0:Pn.work_description})),gn.createElement("h1",{className:ke.title},"\u56FE\u5F62\u7EDF\u8BA1"),gn.createElement(kt,{data:Wa}),gn.createElement("h1",{className:ke.title},"\u5B9E\u8BAD\u8BE6\u60C5")),gn.createElement(Yt,{autoHeight:es}))))),(0,We.GJ)()&&gn.createElement("aside",{className:`sticky ${ke.footerBar}`},gn.createElement("aside",{className:"edu-container flex item-center"},gn.createElement(Me.Link,{className:ke.exitComment,to:`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),gn.createElement("div",{className:"ml-auto flex item-center gap-20px"},gn.createElement(be.ZP,{disabled:!(Pn!=null&&Pn.pre_student_work_id),onClick:()=>DA()},"\u4E0A\u4E00\u4E2A"),gn.createElement(be.ZP,{disabled:!(Pn!=null&&Pn.next_student_work_id),onClick:()=>DA("next")},"\u4E0B\u4E00\u4E2A"),(0,We.GJ)()&&gn.createElement(be.ZP,{className:ke.NewButtonStyle,type:"primary",onClick:()=>vn(void 0,null,function*(){wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Pn.user_id,data:Co({},Pn)},fn:()=>as({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),gn.createElement(Cr,null),gn.createElement(mr.Z,null),gn.createElement(Ne.default,{open:ro,width:860,centered:!0,onCancel:()=>{vi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},gn.createElement("div",{style:{color:"#333333",fontWeight:400}},gn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),gn.createElement("br",null),gn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),gn.createElement("br",null),gn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),gn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),gn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),gn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),gn.createElement("br",null),gn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),gn.createElement("br",null),gn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),gn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),gn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),gn.createElement("br",null),gn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),gn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),gn.createElement("br",null),gn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),gn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},gn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),gn.createElement("br",null),gn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),gn.createElement(Ne.default,{open:wi,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Ri(!1)},width:600},gn.createElement("div",{style:{fontWeight:400,color:"#333333"}},gn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),gn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),gn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",gn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),gn.createElement(Ne.default,{open:Po,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{yi("all"),ts(!1)},destroyOnClose:!0,width:900},gn.createElement("div",{style:{fontWeight:400,color:"#333333"}},gn.createElement("div",null,gn.createElement("span",null,"\u5173\u5361\uFF1A"),gn.createElement(z.default,{style:{width:300},value:gi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Ir=>vn(void 0,null,function*(){yi(Ir),as({page:1,page_size:10},Ir)})},gn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Ko=Pn==null?void 0:Pn.stage_list)==null?void 0:Ko.map((Ir,Xa)=>gn.createElement(z.default.Option,{key:Xa,value:Ir==null?void 0:Ir.challenge_id},"\u7B2C",(0,Ve.EM)(Xa+1),"\u5173")))),gn.createElement("div",{className:"mt20"},gn.createElement(x.default,{dataSource:Ma,rowKey:Ir=>Ir==null?void 0:Ir.id,pagination:!1,columns:il,loading:WA})),gn.createElement("div",{className:ke.footer},gn.createElement("div",null,gn.createElement("span",{style:{color:"#656F87"}},"\u5171",gn.createElement("span",{className:"c-light-primary"},Eo),"\u6761\u6570\u636E")),gn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(Va==null?void 0:Va.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Eo,onChange:El})))))};var Aa=(0,Me.connect)(({shixunHomeworks:Kt,classroomList:Ht,loading:In,globalSetting:gr,user:$r})=>({shixunHomeworks:Kt,classroomList:Ht,globalSetting:gr,loading:In.effects,user:$r}))(Ur),Nr=ve(27812),ga={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",score:"score___ERcuI",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L",footer:"footer___eJCnt",pingjia:"pingjia___X_ooM",pj_close:"pj_close___PHP4h",pj_save:"pj_save___COfQy"},xa={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const wa=({shixunHomeworks:Kt,data:Ht,globalSetting:In,loading:gr,dispatch:$r})=>{var xr;const{shixunWorkReport:Jr}=Kt;let wr=((xr=Ht==null?void 0:Ht.efficiency_list)==null?void 0:xr.length)-parseInt(Ht==null?void 0:Ht.myself_eff[0]);const aa=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(lo){return lo.name===Jr.username?"\u59D3\u540D\uFF1A"+Jr.username+"
\u5B66\u53F7\uFF1A "+Jr.user_id+"
\u6548\u7387\uFF1A"+(Ht==null?void 0:Ht.myself_eff[1]):lo.name+":"+lo.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"\u5B66\u751F\u4F4D\u7F6E",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:Ht==null?void 0:Ht.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Jr.username,xAxis:wr,yAxis:Ht==null?void 0:Ht.myself_eff[1],value:Ht==null?void 0:Ht.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),fa=()=>({title:{text:"\u80FD\u529B\u503C",subtext:"\u80FD\u529B\u503C\uFF08\u5B9E\u8BAD\u83B7\u5F97\u7ECF\u9A8C\u503C/\u5B9E\u8BAD\u8BC4\u6D4B\u6B21\u6570\uFF09"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(lo){var Ko=lo.value;if(lo.name===Jr.username)return"\u59D3\u540D\uFF1A"+Jr.username+"
\u5B66\u53F7\uFF1A "+Jr.user_id+"
\u5F97\u5206\uFF1A"+(Ht==null?void 0:Ht.myself_object[1])}},xAxis:{type:"value",name:"log(\u5B9E\u8BAD\u7684\u603B\u65F6\u95F4)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"\u80FD\u529B",type:"scatter",itemStyle:xa,data:Ht==null?void 0:Ht.consume_list,symbolSize:function(lo){return Math.round(lo[2])},markPoint:{data:[{name:Jr.username,xAxis:Ht==null?void 0:Ht.myself_object[0],yAxis:Ht==null?void 0:Ht.myself_object[1],value:Ht==null?void 0:Ht.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return we.createElement(we.Fragment,null,we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(tt.Z,{style:{width:750,height:580},option:aa()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ga.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Jr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Jr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_eff[1])),we.createElement("li",null,we.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_eff[0]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",we.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",we.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),we.createElement("aside",{className:"ml60 pr30"},we.createElement(E.Z,null,we.createElement(b.Z,{flex:"800px"},we.createElement(tt.Z,{style:{width:750,height:580},option:fa()})),we.createElement(b.Z,{flex:"1"},we.createElement("aside",{className:ga.rightInfo},we.createElement("ul",null,we.createElement("li",null,we.createElement("span",null,"\u59D3\u540D")," ",we.createElement("span",{className:"ml30"},Jr.username)),we.createElement("li",null,we.createElement("span",null,"\u5B66\u53F7")," ",we.createElement("span",{className:"ml30"},Jr.student_id||"--")),we.createElement("li",null,we.createElement("span",null,"\u80FD\u529B")," ",we.createElement("span",{className:"ml30 c-orange"},Ht==null?void 0:Ht.myself_object[1]))),we.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",we.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",we.createElement("br",null)))))))};var to=(0,Me.connect)(({shixunHomeworks:Kt,loading:Ht,globalSetting:In})=>({shixunHomeworks:Kt,globalSetting:In,loading:Ht.effects}))(wa),$o=({defaultValue:Kt,onBlur:Ht,max:In,className:gr="game-score"})=>{const[$r,xr]=(0,we.useState)(Kt);(0,we.useEffect)(()=>{xr(Kt)},[Kt]);function Jr(aa){xr(aa)}function wr(){$r!==Kt&&Ht($r>In?In:$r)}return we.createElement(At.Z,{max:In,min:0,className:gr,value:$r,onChange:Jr,onBlur:wr})},Er={md:"md___TEmcT"},Ea=ve(59301),Ho=Object.defineProperty,Lo=Object.defineProperties,Qo=Object.getOwnPropertyDescriptors,io=Object.getOwnPropertySymbols,hi=Object.prototype.hasOwnProperty,Di=Object.prototype.propertyIsEnumerable,Ei=(Kt,Ht,In)=>Ht in Kt?Ho(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,Ji=(Kt,Ht)=>{for(var In in Ht||(Ht={}))hi.call(Ht,In)&&Ei(Kt,In,Ht[In]);if(io)for(var In of io(Ht))Di.call(Ht,In)&&Ei(Kt,In,Ht[In]);return Kt},Ti=(Kt,Ht)=>Lo(Kt,Qo(Ht));const zo=z.default.Option,sA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var XA=(Kt=>(Kt[Kt.SET_PATH=0]="SET_PATH",Kt[Kt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Kt))(XA||{});function _i(Kt,Ht){switch(Ht.type){case 0:return Ti(Ji({},Kt),{selectedPath:Ht.payload});case 1:return Ti(Ji({},Kt),{passedContent:Ht.payload});default:throw new Error}}var Dr=({path:Kt,game_id:Ht,onPathChange:In,autoHeight:gr,diff_code_count:$r,data:xr,game_codes_cn:Jr})=>{var wr,aa,fa,lo;const Ko=Kt.split("\uFF1B").filter(Wa=>!!Wa),[Ca,po]=(0,we.useReducer)(_i,{selectedPath:Ko[0],passedContent:{language:"python",content:""}}),{selectedPath:Ha,passedContent:Va}=Ca;function oa(Wa){po({type:0,payload:Wa})}const Ra={\u6700\u540E\u901A\u5173\u4EE3\u7801:"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801",\u6700\u65B0\u4EE3\u7801:"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5",\u622A\u6B62\u540E\u901A\u5173\u4EE3\u7801:"\u5728\u4F5C\u4E1A\u65F6\u95F4\u7ED3\u675F\u540E\u901A\u5173\u8BE5\u9898\u7684\u4EE3\u7801\u8BE6\u60C5"};return Ea.createElement(Ea.Fragment,null,Ea.createElement("h2",null," ",Ea.createElement("span",null,Jr,Ea.createElement(oe.Z,{title:Ea.createElement("div",null,Ea.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ea.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ea.createElement("div",null," 2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"),Ea.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ea.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),$r&&Ea.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",$r),Ea.createElement("span",null,Ea.createElement(z.default,{style:{width:200},value:Ha,onChange:oa}," ",Ko.map(Wa=>Ea.createElement(zo,{key:Wa,value:Wa},Wa))," "))," "),(Ha==null?void 0:Ha.split(".")[1])==="md"&&Ea.createElement(gt.Z,{height:300,autoHeight:gr,defaultValue:((aa=(wr=xr==null?void 0:xr.filter(Wa=>Wa.path===Ha))==null?void 0:wr[0])==null?void 0:aa.content)||"",className:Er.md}),(Ha==null?void 0:Ha.split(".")[1])!=="md"&&Ea.createElement(st.ZP,{height:300,language:Va.language,value:((lo=(fa=xr==null?void 0:xr.filter(Wa=>Wa.path===Ha))==null?void 0:fa[0])==null?void 0:lo.content)||"",autoHeight:gr,theme:"default",isCopy:!0,options:sA}))},Gl=ve(6725),Fs=Object.defineProperty,xs=Object.defineProperties,JA=Object.getOwnPropertyDescriptors,Vr=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Ba=(Kt,Ht,In)=>Ht in Kt?Fs(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,Ro=(Kt,Ht)=>{for(var In in Ht||(Ht={}))La.call(Ht,In)&&Ba(Kt,In,Ht[In]);if(Vr)for(var In of Vr(Ht))mo.call(Ht,In)&&Ba(Kt,In,Ht[In]);return Kt},ai=(Kt,Ht)=>xs(Kt,JA(Ht)),Pi=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const Ia=({shixunHomeworks:Kt,autoHeight:Ht,classroomList:In,dispatch:gr})=>{var $r,xr,Jr,wr,aa,fa,lo,Ko;const{shixunWorkReport:Ca}=Kt,{stage_list:po,work_id:Ha,ai_code_evaluation_promote:Va}=Ca,[oa,Ra]=(0,we.useState)(!1),[Wa,bo]=(0,we.useState)(!0),[ei,ii]=(0,we.useState)({left:0,top:0,bottom:0,right:0}),Oi=(0,we.useRef)(null),[Si,$i]=(0,we.useState)(!1),[WA,gA]=(0,we.useState)(""),es=(0,we.useRef)(null),Ls=(_a,ro)=>{var vi;const{clientWidth:wi,clientHeight:Ri}=window.document.documentElement,Po=(vi=Oi.current)==null?void 0:vi.getBoundingClientRect();Po&&ii({left:-Po.left+ro.x,right:wi-(Po.right-ro.x),top:-Po.top+ro.y,bottom:Ri-(Po.bottom-ro.y)})},Pn=(0,Me.useParams)(),Nn=(0,We.GJ)(),lA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,we.useEffect)(()=>{console.log(Pn)},[]);const Ma=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(_a,ro,vi)=>we.createElement("div",null,_a,ro.is_work_end_evaluate&&we.createElement(Ve.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:_a=>Ge()(_a).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(_a,ro)=>we.createElement("span",{className:"c-blue current",onClick:()=>Pi(void 0,null,function*(){var vi,wi;const Ri=yield(0,Fe.Lk)(ro.game_identifier,{path:(wi=(vi=ro.path)==null?void 0:vi.replace(/\;/g,";"))==null?void 0:wi.split(";")[0],query_index:ro.query_index,homework_common_id:Pn.categoryId});(Ri==null?void 0:Ri.status)===0&&($i(Ri),Ra(!0))})},ro.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Na=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(_a,ro)=>{var vi;return we.createElement("span",null,we.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Qe.Z.IMG_SERVER+"/images/"+((vi=ro==null?void 0:ro.user)==null?void 0:vi.image_url)}),_a)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:_a=>we.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",_a,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:_a=>we.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",_a,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:_a=>we.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",_a?Ge()(_a).format("YYYY-MM-DD HH:mm"):"--")}];function Eo(_a,ro){return Pi(this,null,function*(){const{challenge_id:vi}=po[_a],wi=yield gr({type:"shixunHomeworks/changeScore",payload:{categoryId:Pn.homeworkId,type:"report",score:ro,challenge_id:vi}});yield gr({type:"shixunHomeworks/getShixunWorkReport",payload:Ro({},Pn)}),wi.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function ki(_a,ro){return(0,Be.U2)(`student_works/${Ha}/rep_passed_content.json`,{path:ro,game_id:_a})}const[gi,yi]=(0,we.useState)(($r=Ca==null?void 0:Ca.shixun_detail)==null?void 0:$r.map(_a=>ai(Ro({},_a),{commentEdit:!1}))),Wi=_a=>_a.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[ZA,eA]=(0,we.useState)(!1),ia=(_a,ro)=>Pi(void 0,null,function*(){var vi,wi;eA(!0),es.current=new Gl.Z(Qe.Z.API_SERVER+"/api/stream/intelligent_imports/chat_messages.json",{response_mode:"streaming",model:"qwen-max",scene_awareness:!1,thinking_enabled:!1,image_generator:!1,file_ids:[],history:[],prompt:Va,shixun_id:Ca==null?void 0:Ca.myshixun_identifier,game_id:_a==null?void 0:_a.id,source:"shixun",is_chat:!1,type:9,description:_a==null?void 0:_a.challenge_description,query:(wi=(vi=_a==null?void 0:_a.game_codes)==null?void 0:vi[0])==null?void 0:wi.content,homework_common_id:Pn.categoryId}),yield new Promise((Ri,Po)=>{es.current.on("data",ts=>{const ns=[...gi];ns[ro].comment=Wi(ts==null?void 0:ts.full),yi(ns)}),es.current.on("done",()=>Pi(void 0,null,function*(){var ts;eA(!1);const ns=[...gi],NA=yield(0,Be.ZP)(`/api/student_works/${Pn==null?void 0:Pn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:_a==null?void 0:_a.challenge_id,comment:ns[ro].comment}});if((NA==null?void 0:NA.status)==0){ue.ZP.success("\u8BC4\u4EF7\u6210\u529F");const rs=[...gi];rs[ro].comment_updated_at=(ts=NA==null?void 0:NA.data)==null?void 0:ts.comment_updated_at,yi(rs)}})),es.current.startStream()})});return we.createElement(we.Fragment,null,gi==null?void 0:gi.map(function(_a,ro){var vi,wi;return we.createElement("div",{key:ro},we.createElement("aside",{className:"pl30 pr30",key:ro},we.createElement("div",{className:`${ga.shixunTitle} mt10`},we.createElement("div",null,we.createElement("span",{className:"fa fa-code "}),we.createElement("strong",{className:"c-black"},"\u7B2C",ro+1,"\u5173 ",we.createElement(Me.Link,{className:"c-black",target:"_blank",to:`/tasks/${Pn.coursesId}/${Pn.categoryId}/${_a.game_identifier}`},_a.subject))),Nn?we.createElement("span",null,"\u8C03\u5206\uFF1A",we.createElement($o,{className:"game-score",max:po[ro].game_score_full,defaultValue:po[ro].game_score,onBlur:Ri=>{var Po;if((0,We.Rm)()&&!((Po=In.AssistantObject.practice)!=null&&Po.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Eo(ro,Ri)}})):null),we.createElement("div",{className:"font16 mt10"},_a.st===0&&(_a.path?typeof(_a==null?void 0:_a.game_codes_cn)=="string"?we.createElement("aside",{className:ga.shixunWrp},we.createElement(Dr,{game_codes_cn:_a==null?void 0:_a.game_codes_cn,autoHeight:Ht,path:_a.path,game_id:_a.id,data:_a.game_codes,diff_code_count:_a.diff_code_count,onPathChange:ki})):we.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),_a.st===1&&(_a.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),we.createElement("aside",{className:"mt10 font16"},(vi=_a.outputs)!=null&&vi.length?we.createElement(x.default,{columns:Ma,pagination:{hideOnSinglePage:!0},dataSource:_a.outputs.map(Ri=>Ro(Ro({},_a),Ri))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),we.createElement("aside",{className:"mt10 font16"},((wi=_a==null?void 0:_a.adjust_review_score_list)==null?void 0:wi.length)>0&&(0,We.GJ)()&&we.createElement("div",null,we.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),we.createElement(x.default,{columns:Na,pagination:{hideOnSinglePage:!0},dataSource:_a.adjust_review_score_list,showHeader:!1})))))}),we.createElement(Ne.default,{open:oa,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{$i({}),Ra(!1)},onCancel:()=>{$i({}),Ra(!1)},title:we.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Wa&&bo(!1)},onMouseOut:()=>{bo(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:_a=>we.createElement(Ae(),{disabled:Wa,bounds:ei,nodeRef:Oi,onStart:(ro,vi)=>Ls(ro,vi)},we.createElement("div",{ref:Oi},_a))},we.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},we.createElement("div",{style:{display:"flex",alignItems:"center"}},((xr=Si==null?void 0:Si.data)==null?void 0:xr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?we.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):we.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),we.createElement("div",{style:{color:((Jr=Si==null?void 0:Si.data)==null?void 0:Jr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(wr=Si==null?void 0:Si.data)==null?void 0:wr.output_detail)),we.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ge()((aa=Si==null?void 0:Si.data)==null?void 0:aa.created_at).format("YYYY-MM-DD HH:mm:ss"))),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(fa=Si==null?void 0:Si.data)==null?void 0:fa.ts_time,"s")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(lo=Si==null?void 0:Si.data)==null?void 0:lo.ts_mem,"mb")),we.createElement("div",null,we.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),we.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ko=Si==null?void 0:Si.data)==null?void 0:Ko.test_set_passed_rate)*100,"%")))),we.createElement(st.ZP,{height:500,autoHeight:Ht,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Si==null?void 0:Si.content)||""))),options:lA})))};var qi=(0,Me.connect)(({shixunHomeworks:Kt,loading:Ht,globalSetting:In,classroomList:gr})=>({shixunHomeworks:Kt,globalSetting:In,loading:Ht.effects,classroomList:gr}))(Ia),Oa={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Sa=ve(59301),ml=Object.defineProperty,ms=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,qA=Object.prototype.propertyIsEnumerable,jA=(Kt,Ht,In)=>Ht in Kt?ml(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,vs=(Kt,Ht)=>{for(var In in Ht||(Ht={}))ps.call(Ht,In)&&jA(Kt,In,Ht[In]);if(ms)for(var In of ms(Ht))qA.call(Ht,In)&&jA(Kt,In,Ht[In]);return Kt},$A=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const _A=({shixunHomeworks:Kt,dispatch:Ht,classroomList:In})=>{const{shixunWorkReport:gr}=Kt,$r=(0,Me.useParams)(),[xr,Jr]=(0,we.useState)(!1),[wr]=wn.default.useForm(),[aa,fa]=Ne.default.useModal(),[lo,Ko]=(0,we.useState)(!1),[Ca,po]=(0,we.useState)(!1);(0,we.useEffect)(()=>{var oa,Ra,Wa,bo;Kt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&wr.setFieldsValue({comment:(Ra=(oa=Kt.actionTabs.selectArrs)==null?void 0:oa.data)==null?void 0:Ra.work_comment,hidden_comment:(bo=(Wa=Kt.actionTabs.selectArrs)==null?void 0:Wa.data)==null?void 0:bo.work_comment_hidden})},[Kt.actionTabs.key]);const Ha=()=>$A(void 0,null,function*(){const oa=wr.getFieldsValue();(yield(0,Be.ZP)(`/api/student_works/${$r.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:oa.hidden_comment,comment:oa.comment}})).status===0&&(ue.ZP.success("\u8BC4\u9605\u6210\u529F"),wr.resetFields(),Ht({type:"shixunHomeworks/setActionTabs",payload:{}}),Ht({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},$r)}))}),Va=[{title:"\u5173\u5361",dataIndex:"name",render:(oa,Ra,Wa)=>Wa+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(oa,Ra,Wa)=>Sa.createElement("div",null,oa,Ra.complete_status===4&&Sa.createElement(Ve.vA,{status:Ra.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:oa=>oa?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(oa,Ra)=>Sa.createElement("div",null,Sa.createElement("span",{style:{color:parseFloat(Ra.game_score_full)!==parseFloat(oa)?"#E30000":"#53C41B"}},oa),"/",Ra.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(oa,Ra)=>(0,We.GJ)()?Sa.createElement($o,{max:Ra.game_score_full,defaultValue:parseFloat(oa),onBlur:Wa=>$A(void 0,null,function*(){var bo,ei;if((0,We.Rm)()&&!((bo=In.AssistantObject.practice)!=null&&bo.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const ii=yield Ht({type:"shixunHomeworks/changeScore",payload:{categoryId:$r.homeworkId,type:"report",score:Wa,challenge_id:Ra.challenge_id}});(ei=Kt==null?void 0:Kt.actionTabs)==null||ei.fn(),yield Ht({type:"shixunHomeworks/getShixunWorkReport",payload:vs({},$r)}),ii.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):oa}];return Sa.createElement(Sa.Fragment,null,fa,Sa.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Kt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>$A(void 0,null,function*(){var oa;if((0,We.Rm)()&&!((oa=In.AssistantObject.practice)!=null&&oa.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Ra=wr.getFieldsValue();JSON.stringify(Ra)==="{}"||Ra.hidden_comment===""&&Ra.comment===""?Jr(!0):Ha()}),onCancel:()=>{Ht({type:"shixunHomeworks/setActionTabs",payload:{}})}},Sa.createElement(E.Z,{justify:"space-between",className:Oa.info},Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u59D3\u540D"),Sa.createElement("span",{className:Oa.blackContent},gr==null?void 0:gr.username)),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u5B66\u53F7"),Sa.createElement("span",{className:Oa.blackContent},(gr==null?void 0:gr.student_id)||"--")),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u73ED\u7EA7"),Sa.createElement("span",{className:Oa.blackContent},(gr==null?void 0:gr.group_name)||"--")),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u5173\u5361\u5F97\u5206"),Sa.createElement("span",{className:Oa.orangeContent},(gr==null?void 0:gr.challenge_score)||"--")),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u6548\u7387\u5206"),Sa.createElement("span",{className:Oa.orangeContent},(gr==null?void 0:gr.eff_score)||"--")),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u8865\u4EA4\u6263\u5206"),Sa.createElement("span",{className:Oa.orangeContent},(gr==null?void 0:gr.late_penalty)||"--")),Sa.createElement(b.Z,null,Sa.createElement("span",{className:`${Oa.label} ${Oa.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Sa.createElement("span",{className:Oa.orangeContent},(gr==null?void 0:gr.work_score)||"--"))),Sa.createElement(wn.default,{form:wr,onChange:()=>{xr&&Jr(!1)}},Sa.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Sa.createElement(b.Z,null,Sa.createElement("div",{className:`${Oa.inputLabel} ${Oa.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Sa.createElement(b.Z,null,Sa.createElement(fn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:lo,onCancel:()=>{Ko(!1)}},onDataSelect:(oa,Ra)=>$A(void 0,[oa,Ra],function*(Wa,{node:bo}){const ei=()=>{wr.setFieldsValue({comment:bo==null?void 0:bo.value}),Ko(!1)};if(wr.getFieldValue("comment")){aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ei});return}ei()})},Sa.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Sa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:oa=>{Ko(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Sa.createElement(wn.default.Item,{name:"comment"},Sa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Sa.createElement(E.Z,{wrap:!1,align:"middle",justify:"space-between"},Sa.createElement(b.Z,null,Sa.createElement("div",{className:`${Oa.inputLabel} ${Oa.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Sa.createElement(b.Z,null,Sa.createElement(fn.Z,{isShowComponent:(0,We.G5)(),ModalProps:{open:Ca,onCancel:()=>{po(!1)}},onDataSelect:(oa,Ra)=>$A(void 0,[oa,Ra],function*(Wa,{node:bo}){const ei=()=>{wr.setFieldsValue({hidden_comment:bo==null?void 0:bo.value}),po(!1)};if(wr.getFieldValue("hidden_comment")){aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ei});return}ei()})},Sa.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Sa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:oa=>{po(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Sa.createElement(wn.default.Item,{name:"hidden_comment"},Sa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),xr&&Sa.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Sa.createElement("div",{className:Oa.tableTitle},"\u5173\u5361\u6210\u7EE9"),Sa.createElement(x.default,{className:Oa.scoreTable,dataSource:gr.stage_list,rowKey:"challenge_id",pagination:!1,columns:Va,scroll:{x:"max-content"}})))};var Ui=(0,Me.connect)(({shixunHomeworks:Kt,classroomList:Ht})=>({shixunHomeworks:Kt,classroomList:Ht}))(_A),$n=ve(29678),Zn={wrap:"wrap___LZOi9",line:"line___oju0L"},Yr=({detailData:Kt})=>{var Ht;return we.createElement("div",{className:Zn.wrap},we.createElement(Qr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Qr.Uf)(Kt),(Kt==null?void 0:Kt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},we.createElement(Qr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Qr.Uf)(Kt)}),!!((Ht=Kt==null?void 0:Kt.photos)!=null&&Ht.length)&&we.createElement(we.Fragment,null,we.createElement("div",{className:Zn.line}),we.createElement(Qr._s,{dataSource:Kt==null?void 0:Kt.photos,right:21,col:4,wrapWidth:1140}))))},tn=ve(59301),co=Object.defineProperty,zr=Object.defineProperties,Ao=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,ya=(Kt,Ht,In)=>Ht in Kt?co(Kt,Ht,{enumerable:!0,configurable:!0,writable:!0,value:In}):Kt[Ht]=In,vo=(Kt,Ht)=>{for(var In in Ht||(Ht={}))Mo.call(Ht,In)&&ya(Kt,In,Ht[In]);if(Ta)for(var In of Ta(Ht))ka.call(Ht,In)&&ya(Kt,In,Ht[In]);return Kt},so=(Kt,Ht)=>zr(Kt,Ao(Ht)),Bi=(Kt,Ht)=>{var In={};for(var gr in Kt)Mo.call(Kt,gr)&&Ht.indexOf(gr)<0&&(In[gr]=Kt[gr]);if(Kt!=null&&Ta)for(var gr of Ta(Kt))Ht.indexOf(gr)<0&&ka.call(Kt,gr)&&(In[gr]=Kt[gr]);return In},Ga=(Kt,Ht,In)=>new Promise((gr,$r)=>{var xr=aa=>{try{wr(In.next(aa))}catch(fa){$r(fa)}},Jr=aa=>{try{wr(In.throw(aa))}catch(fa){$r(fa)}},wr=aa=>aa.done?gr(aa.value):Promise.resolve(aa.value).then(xr,Jr);wr((In=In.apply(Kt,Ht)).next())});const oi=Kt=>{var Ht=Kt,{shixunHomeworks:In,classroomList:gr,globalSetting:$r,loading:xr,user:Jr,dispatch:wr}=Ht,aa=Bi(Ht,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),fa,lo,Ko;const[Ca,po]=(0,we.useState)(vo({},(0,Me.useParams)())),Ha=(0,Me.useParams)(),[Va,oa]=(0,we.useState)({page:1,page_size:10}),Ra=(0,Me.useLocation)(),[]=(0,we.useState)([]),[Wa,bo]=(0,we.useState)(),ei=(0,we.useRef)(),ii=(0,we.useRef)(),[Oi,Si]=(0,we.useState)(!1),[$i,WA]=(0,we.useState)(!0),[gA,es]=(0,we.useState)(!1),[Ls,Pn]=(0,we.useState)(!1),{shixunWorkReport:Nn}=In,[lA,Ma]=(0,we.useState)(),[Na,Eo]=(0,we.useState)([]),[ki,gi]=(0,we.useState)(),[yi,Wi]=(0,we.useState)("all"),ZA=(0,We.GJ)(),[eA,ia]=(0,we.useState)(new(pe())),[_a,ro]=(0,we.useState)(0),[vi,wi]=(0,we.useState)(!1),[Ri,Po]=(0,we.useState)(!1),[ts,ns]=(0,we.useState)(!1),[NA,rs]=(0,we.useState)(""),[Is,Cl]=(0,we.useState)(!1),[bl,Mi]=(0,we.useState)(!0),[VA,fA]=(0,we.useState)(0),ci=(0,we.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),hA=(0,we.useRef)(),al=()=>Ga(void 0,null,function*(){(Jr.userInfo.is_teacher||Jr.userInfo.admin)&&(Cl(!0),Mi(!1))});(0,we.useEffect)(()=>{var pr;(0,We.Rm)()&&gr.AssistantObject.practice&&!((pr=gr.AssistantObject.practice)!=null&&pr.can_view)&&Me.history.replace("/403")},[(fa=gr.AssistantObject.practice)==null?void 0:fa.can_view]),(0,we.useEffect)(()=>{al(),console.log("\u6253\u5370\u7684------",Nn),hA.current=Nn==null?void 0:Nn.next_student_work_id,rs(Nn.repeat_minus_score)},[Nn,Jr]),(0,we.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Nn.work_score),fA(Nn.work_score)},[Nn.work_score,NA]),(0,we.useEffect)(()=>(wr({type:"globalSetting/footerToggle",payload:!1}),()=>{wr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,we.useEffect)(()=>{var pr;if(Nn){let Da=[];(pr=Nn==null?void 0:Nn.target_test_sets)==null||pr.map((yo,Ki)=>{var Zi;(Zi=yo==null?void 0:yo.targets)==null||Zi.map((zi,Ss)=>{var Ns;zi.name=yo==null?void 0:yo.name,zi.total_target_score=yo==null?void 0:yo.total_target_score,zi.actual_target_score=yo==null?void 0:yo.actual_target_score,zi.rowSpan=Ss===0?(Ns=yo==null?void 0:yo.targets)==null?void 0:Ns.length:0,zi.order=Ki+1,Da.push(zi)})}),Ma(Da),(0,We.Rm)()&&wr({type:"classroomList/getAssistantPermissions",payload:{course_id:Ca.coursesId}})}},[Nn]),(0,we.useEffect)(()=>{In.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(Nn==null?void 0:Nn.students_count)>0&&!$i&&setTimeout(()=>{Gs("all")},800)},[Nn==null?void 0:Nn.homework_common_id,$i]),(0,we.useEffect)(()=>{po(vo({},Ha))},[Ra.pathname]);const El=()=>{document.body.scrollIntoView()},as=pr=>{Va.page=pr,oa(vo({},Va)),HA(Va,yi)},HA=(pr,Da)=>Ga(void 0,null,function*(){es(!0);const yo=yield(0,Be.ZP)(`/api/student_works/${Ca==null?void 0:Ca.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:so(vo({},pr),{challenge_id:Da=="all"?null:Da})});(yo==null?void 0:yo.status)===0&&(Eo(yo==null?void 0:yo.list),gi(yo==null?void 0:yo.count)),es(!1)});function ol(){return Ga(this,null,function*(){ci.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Bs=()=>{document.querySelectorAll("canvas").forEach(pr=>{(!pr.clientWidth||!pr.clientHeight)&&pr.remove()})},bA=()=>{ei.current.offsetHeight>62e3?Pn(!1):Pn(!0)},zs=pr=>Ga(void 0,null,function*(){const Da=yield(0,hr.t1)({homeworkId:pr||Ca.homeworkId});bo(Da==null?void 0:Da.data)}),Gs=pr=>Ga(void 0,null,function*(){var Da,yo,Ki,Zi;let zi=0,Ss;Ss=Ne.default.info({width:460,title:tn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",tn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:tn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tn.createElement("span",{className:"c-blue"},zi+1),"/",pr!=="all"?1:Nn==null?void 0:Nn.students_count,tn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ga.modal,onOk:()=>{}});const Ns={margin:[0,0],filename:`${Nn!=null&&Nn.student_id&&(Nn==null?void 0:Nn.student_id)!="--"?Nn==null?void 0:Nn.student_id:""}${Nn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Ds=eA.folder(Nn==null?void 0:Nn.shixun_name);function Go(Us){return Ga(this,null,function*(){yield zs(Us||hA.current);const Io=yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:vo({homeworkId:Us||hA.current},ci.current||{})});hA.current=Io==null?void 0:Io.next_student_work_id,El(),zi++,setTimeout(()=>Ga(this,null,function*(){var PA,Vi,mA,tA;Bs();const Os=Ds.folder(`${Io==null?void 0:Io.group_name}`).folder(`${Io!=null&&Io.student_id&&(Io==null?void 0:Io.student_id)!="--"?Io.student_id+"+":""}${Io==null?void 0:Io.username}`),ae=document.querySelector("#export-all").children;let te=qr()();for(let re=0;reGa(this,null,function*(){re0&&((mA=(Vi=Io==null?void 0:Io.shixun_detail)==null?void 0:Vi.filter(re=>{var fe;return((fe=re==null?void 0:re.game_codes)==null?void 0:fe.length)>0}))==null?void 0:mA.length)>0){const re=Os.folder("\u4EE3\u7801\u6587\u4EF6");(tA=Io==null?void 0:Io.shixun_detail)==null||tA.map((fe,Ce)=>{var Se,De;if(((Se=fe==null?void 0:fe.game_codes)==null?void 0:Se.length)>0){const je=re.folder(`\u7B2C${Ce+1}\u5173-${fe.subject}-${fe.id}`);(De=fe==null?void 0:fe.game_codes)==null||De.map(_e=>{je.file(`${_e.filename}.txt`,_e==null?void 0:_e.content)})}})}Ss.update({content:tn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",tn.createElement("span",{className:"c-blue"},zi),"/",Io==null?void 0:Io.students_count,tn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),zi==(Io==null?void 0:Io.students_count)?(Ss.destroy(),_s()):Go()}),2200)})}if(pr!=="all"||(Nn==null?void 0:Nn.students_count)<2){Bs(),El();const Us=ii.current.children;let Io=qr()();const Vi=Ds.folder(`${Nn==null?void 0:Nn.group_name}`).folder(`${Nn!=null&&Nn.student_id&&(Nn==null?void 0:Nn.student_id)!="--"?(Nn==null?void 0:Nn.student_id)+"+":""}${Nn==null?void 0:Nn.username}`);for(let mA=0;mAGa(void 0,null,function*(){mA0&&((Ki=(yo=Nn==null?void 0:Nn.shixun_detail)==null?void 0:yo.filter(mA=>{var tA;return((tA=mA==null?void 0:mA.game_codes)==null?void 0:tA.length)>0}))==null?void 0:Ki.length)>0){const mA=Vi.folder("\u4EE3\u7801\u6587\u4EF6");(Zi=Nn==null?void 0:Nn.shixun_detail)==null||Zi.map((tA,ys)=>{var Os,ae;if(((Os=tA==null?void 0:tA.game_codes)==null?void 0:Os.length)>0){const te=mA.folder(`\u7B2C${ys+1}\u5173-${tA.subject}-${tA.id}`);(ae=tA==null?void 0:tA.game_codes)==null||ae.map(re=>{te.file(`${re.filename}.txt`,re==null?void 0:re.content)})}})}Ss.destroy(),_s();return}else Go(Nn==null?void 0:Nn.first_student_work_id)}),_s=()=>{eA.generateAsync({type:"blob"}).then(function(pr){console.log(Nn,"shixunWorkReport");const Da=document.createElement("a");Da.href=window.URL.createObjectURL(pr),Da.download=(Nn==null?void 0:Nn.shixun_name)+".zip",document.body.appendChild(Da);const yo=document.createEvent("MouseEvents");yo.initEvent("click",!1,!1),Da.dispatchEvent(yo),document.body.removeChild(Da),ia(new(pe()))}),Pn(!1)};(0,we.useEffect)(()=>{Pl()},[Ca.homeworkId]);const Pl=()=>Ga(void 0,null,function*(){WA(!0),yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:vo(vo({},Ca),ci.current||{})}),zs(),(0,We.GJ)()&&ol(),WA(!1)}),il=[{title:"\u5173\u5361",dataIndex:"name",render:(pr,Da,yo)=>yo+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(pr,Da,yo)=>tn.createElement("div",null,pr,Da.complete_status===4&&tn.createElement(Ve.vA,{status:Da.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(pr,Da,yo)=>pr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:pr=>pr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(pr,Da)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Da.myself_experience)!==parseFloat(pr)?"red":"green"}},Da.myself_experience),"/",pr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(pr,Da)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Da.game_score_full)!==parseFloat(pr)?"red":"green"}},pr),"/",Da.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(pr,Da)=>ZA?tn.createElement($o,{max:Da.game_score_full,defaultValue:parseFloat(pr),onBlur:yo=>Ga(void 0,null,function*(){var Ki;if((0,We.Rm)()&&!((Ki=gr.AssistantObject.practice)!=null&&Ki.can_appraise)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Zi=yield wr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ca.homeworkId,type:"report",score:yo,challenge_id:Da.challenge_id}});HA({page:1,page_size:10},"all"),yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:vo(vo({},Ca),ci.current||{})}),Zi.status===0&&ue.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):pr}];let DA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(pr,Da,yo)=>({children:pr,props:{rowSpan:Da.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(pr,Da,yo)=>({children:pr,props:{rowSpan:Da.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(pr,Da,yo)=>tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Da.actual_test_score)!==parseFloat(pr)?"red":"green"}},Da.actual_test_score),"/",pr)},{title:"\u6307\u6807\u603B\u5206",render:(pr,Da,yo)=>({children:tn.createElement("div",null,tn.createElement("span",{style:{color:parseFloat(Da.actual_target_score)!==parseFloat(pr)?"red":"green"}},Da.actual_target_score),"/",pr),props:{rowSpan:Da.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const UA=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:pr=>tn.createElement("span",null,pr?Ge()(pr).format("YYYY-MM-DD HH:mm"):"--")}],EA=pr=>{wr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{pr==="next"?Me.history.push(`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/${Nn==null?void 0:Nn.next_student_work_id}/comment`):Me.history.push(`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/${Nn==null?void 0:Nn.pre_student_work_id}/comment`)},200)},Ir=pr=>{rs(""),pr.target.value&&(console.log("\u8FDB\u6765",Nn),pr.target.value=pr.target.value>Nn.repeat_setting_score?Nn.repeat_setting_score:pr.target.value,rs(pr.target.value))},Xa=()=>Ga(void 0,null,function*(){const pr=yield(0,Be.ZP)(`/api/student_works/${Nn==null?void 0:Nn.work_id}/update_repeat_score`,{method:"put",body:{score:NA}});yield wr({type:"shixunHomeworks/getShixunWorkReport",payload:vo(vo({},Ca),ci.current||{})}),pr.status===0&&ue.ZP.info("\u64CD\u4F5C\u6210\u529F")});return tn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},tn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},tn.createElement(Oe.Z,{loading:xr["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},tn.createElement("div",{className:"edu-container"},Nn.course_id&&tn.createElement("section",{className:"animated fadeIn"},tn.createElement("aside",{className:""},Nn.category&&tn.createElement(Pe.Z,{separator:">"},tn.createElement(Pe.Z.Item,null,tn.createElement(Me.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework`},Nn.course_name)),tn.createElement(Pe.Z.Item,null,tn.createElement(Me.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework/${Nn.category.main?"":Nn.category.category_id}`},Nn.category.category_name)),tn.createElement(Pe.Z.Item,null,tn.createElement(Me.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework/${Nn.homework_common_id}/detail${(0,We.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),tn.createElement(Pe.Z.Item,null,Nn.username))),tn.createElement("aside",{className:[ga.title1,"mt20"].join(" ")},tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:1},tn.createElement(Me.Link,{to:`/classrooms/${Nn.course_id}/shixun_homework/${Nn.homework_common_id}/detail`},tn.createElement(Nr.Z,{className:"font16 c-black"})),tn.createElement("strong",{className:"font20 ml5"},Nn==null?void 0:Nn.homework_name),tn.createElement(Ve.VV,{temporary:!0,status:Nn.homework_status})),tn.createElement(b.Z,{className:ga.title1_right},Nn.view_tpi&&tn.createElement(be.ZP,{onClick:()=>{var pr,Da;(0,Ve.xg)(`/tasks/${Nn==null?void 0:Nn.course_id}/${Nn==null?void 0:Nn.homework_common_id}/${(Da=(pr=Nn==null?void 0:Nn.shixun_detail)==null?void 0:pr[0])==null?void 0:Da.game_identifier}`)}},tn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,We.GJ)()&&Nn.homework_end===!1&&!!Nn.myshixun_id&&tn.createElement(be.ZP,{className:"ml10",onClick:()=>Ga(void 0,null,function*(){yield wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:Nn.myshixun_identifier},homework_common_id:Ha.categoryId}})})},tn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),tn.createElement(be.ZP,{className:"ml10",onClick:()=>{var pr;if((0,We.Rm)()&&!((pr=gr.AssistantObject.practice)!=null&&pr.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Gs("")},loading:Oi},tn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,We.GJ)()&&(Nn==null?void 0:Nn.students_count)>1&&tn.createElement(be.ZP,{className:"ml10",onClick:()=>{var pr;if((0,We.Rm)()&&!((pr=gr.AssistantObject.practice)!=null&&pr.can_download)){ue.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:tn.createElement(oe.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:tn.createElement(oe.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{Gs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Rr.jj)({categoryId:Ca.categoryId,coursesId:Ca.coursesId},"shixun_report")}}})}},tn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),tn.createElement("aside",{className:"mt30 relative"})),tn.createElement("aside",{className:"edu-container bg-white",ref:ei},tn.createElement("div",{id:"export-all",ref:ii},tn.createElement("div",{id:"export-all-1"},tn.createElement("div",{className:ga.title},tn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),tn.createElement("div",null,(0,We.GJ)()&&tn.createElement(be.ZP,{className:"mr20",type:"primary",onClick:()=>{wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nn.user_id,data:vo({},Nn)},fn:()=>HA({page:1,page_size:10},"all")}})}},tn.createElement(le.Z,null),Nn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),tn.createElement(a.Z,{style:{marginTop:0}}),tn.createElement(E.Z,{className:"pl30 pr30"},tn.createElement(b.Z,null,tn.createElement("img",{className:ga.userPic,src:`${Qe.Z.IMG_SERVER}/images/${Nn.image_url}`,alt:Nn.username})),tn.createElement(b.Z,null,tn.createElement("span",{className:"font16 ml40"},Nn.username),tn.createElement(Ve.vA,{status:Nn.compelete_status}),tn.createElement("ul",{className:ga.userInfo},tn.createElement("li",null,"\u5B66\u53F7\uFF1A",Nn.student_id||"--"),tn.createElement("li",null,"\u5206\u73ED\uFF1A",Nn.group_name||"--"),tn.createElement("br",null),tn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",tn.createElement("span",{className:"c-red"},Nn.complete_count),"/",tn.createElement("span",{className:"c-red"},Nn.challenges_count)),tn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",tn.createElement("span",{className:"c-red"},Nn.current_complete_count||"-"),"/",tn.createElement("span",{className:"c-red"},Nn.challenges_count)),tn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",Nn&&Nn.efficiency===null?"--":Nn&&Nn.efficiency),tn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",Nn&&Nn.max_efficiency===null?"--":Nn&&Nn.max_efficiency))),tn.createElement("ul",{className:[ga.listItem,"mt10"].join(" ")},tn.createElement("li",null,tn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),tn.createElement("div",{className:"c-light-black mt20"},Nn&&Nn.passed_time===null||Nn&&Nn.passed_time==="--"?"--":Ge()(Nn&&Nn.passed_time).format("YYYY-MM-DD HH:mm"))),tn.createElement("li",null,tn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",tn.createElement("i",{onClick:pr=>{pr.stopPropagation(),pr.preventDefault(),wi(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tn.createElement("div",{className:"c-light-black mt20"},Nn==null?void 0:Nn.human_training_time_rules)),tn.createElement("li",null,tn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",tn.createElement("i",{onClick:pr=>{pr.stopPropagation(),pr.preventDefault(),Po(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),tn.createElement("div",{className:"c-light-black mt20"},Nn.time_consuming)),tn.createElement("li",null,tn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),tn.createElement("div",{className:"mt20"},Nn.evaluate_count)),(Nn==null?void 0:Nn.eff_score_full)&&tn.createElement(tn.Fragment,null,tn.createElement("li",null,tn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},Nn.challenge_score),"/",tn.createElement("span",{className:"c-light-black"},Nn.challenge_score_full))),tn.createElement("li",null,tn.createElement("strong",null,"\u6548\u7387\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},Nn.eff_score),"/",tn.createElement("span",{className:"c-light-black"},Nn.eff_score_full)))),(Nn==null?void 0:Nn.have_repeat)&&(Nn==null?void 0:Nn.repeat_minus_score)!==0&&tn.createElement("li",{style:{position:"relative"}},tn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},Nn!=null&&Nn.review_rate?tn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(Nn!=null&&Nn.review_id&&Is)localStorage.setItem("studentDetial",window.location.pathname),Me.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Ca.categoryId}/review_detail/${Nn==null?void 0:Nn.review_id}`});else return}},Nn.review_rate.toFixed(1),"%"):tn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Is?tn.createElement("div",{className:"mt20"},tn.createElement(y.default,{style:{width:"45px",height:"22px"},value:NA,onChange:pr=>{Ir(pr)},onBlur:Xa,disabled:bl})," / ",Nn==null?void 0:Nn.repeat_setting_score):tn.createElement("div",{className:"mt20"},Nn==null?void 0:Nn.repeat_minus_score," / ",Nn==null?void 0:Nn.repeat_setting_score)),console.log("sssssssssssssssssssssss",Nn==null?void 0:Nn.have_repeat,Nn==null?void 0:Nn.repeat_minus_score),(Nn==null?void 0:Nn.have_repeat)&&(Nn==null?void 0:Nn.repeat_minus_score)===0&&tn.createElement("li",null,tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{className:"mt20"}," - -")),!(Nn!=null&&Nn.have_repeat)&&tn.createElement("li",null,tn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),tn.createElement("div",{className:"mt20"}," - -")),tn.createElement("li",null,tn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),tn.createElement("div",{className:"mt20"},tn.createElement("span",null,Nn.late_penalty||"- -"))),tn.createElement("li",null,tn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},VA),"/",tn.createElement("span",{className:"c-light-black"},Nn.all_work_score))),tn.createElement("li",null,tn.createElement("strong",null,"\u603B\u8BC4"),tn.createElement("div",{className:"mt20"},tn.createElement("span",{className:"c-orange"},Nn.overall_appraisal))))),tn.createElement(a.Z,{style:{margin:0}}),(Nn.work_comment_hidden||Nn.work_comment)&&tn.createElement("div",null,tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:1},tn.createElement("h1",{className:ga.title},"\u70B9\u8BC4\u5185\u5BB9")),tn.createElement(b.Z,{className:"pr30"},(0,We.GJ)()&&tn.createElement(be.ZP,{onClick:()=>Ga(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:tn.createElement(xe.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return Ga(this,null,function*(){(yield(0,hr.gZ)({comment_id:Nn.comment_id,homeworkId:Ca.homeworkId})).status===0&&(ue.ZP.success("\u5220\u9664\u6210\u529F"),wr({type:"shixunHomeworks/getShixunWorkReport",payload:vo(vo({},Ca),ci.current||{})}))})}})})},tn.createElement(Ee.Z,null),"\u5220\u9664"))),tn.createElement(a.Z,{style:{margin:0}}),Nn.work_comment&&tn.createElement("aside",{className:"pl30 pr30 mt20"},tn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tn.createElement("br",null),tn.createElement(ur.Z,{value:Nn.work_comment})),Nn.work_comment_hidden&&tn.createElement("aside",{className:"pl30 pr30 mt20"},tn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),tn.createElement("br",null),tn.createElement(ur.Z,{value:Nn.work_comment_hidden}))),(Nn==null?void 0:Nn.action_analysis)&&tn.createElement(Yr,{detailData:Nn}),tn.createElement("div",{className:ga.score},tn.createElement("h1",{className:ga.title},"\u9636\u6BB5\u6210\u7EE9"),(Nn==null?void 0:Nn.adjust_review_score_count)>0&&(0,We.GJ)()&&tn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{ns(!0),HA({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",Nn==null?void 0:Nn.adjust_review_score_count,"\u6B21\uFF09")),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(x.default,{dataSource:Nn.stage_list,rowKey:pr=>pr==null?void 0:pr.challenge_id,pagination:!1,columns:il})),((lo=Nn==null?void 0:Nn.target_test_sets)==null?void 0:lo.length)>0&&tn.createElement("div",null,tn.createElement("h1",{className:ga.title},"\u6307\u6807\u6210\u7EE9"),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(x.default,{dataSource:lA,rowKey:pr=>pr==null?void 0:pr.challenge_id,pagination:!1,bordered:!0,columns:DA}))),(Nn==null?void 0:Nn.work_description)&&tn.createElement(tn.Fragment,null,tn.createElement("h1",{className:ga.title},"\u4E2A\u4EBA\u603B\u7ED3"),tn.createElement("aside",{className:"pl30 pr30"},tn.createElement(ur.Z,{value:Nn==null?void 0:Nn.work_description}))),tn.createElement("h1",{className:ga.title},"\u56FE\u5F62\u7EDF\u8BA1"),tn.createElement(to,{data:Wa}),tn.createElement("h1",{className:ga.title},"\u5B9E\u8BAD\u8BE6\u60C5")),tn.createElement(qi,{autoHeight:Ls}))),(0,We.GJ)()&&tn.createElement("aside",{className:`${ga.footerBar} ${Oi?ga.footerBarStatic:""}`},tn.createElement("aside",{className:"edu-container"},tn.createElement(E.Z,{align:"middle"},tn.createElement(b.Z,{flex:"1"},tn.createElement(Me.Link,{className:ga.exitComment,to:`/classrooms/${Ca.coursesId}/shixun_homework/${Ca.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),tn.createElement(b.Z,{flex:"1",className:"tr"},tn.createElement(be.ZP,{type:"default",disabled:!(Nn!=null&&Nn.pre_student_work_id),onClick:()=>EA()},"\u4E0A\u4E00\u4E2A"),tn.createElement(be.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(Nn!=null&&Nn.next_student_work_id),onClick:()=>EA("next")},"\u4E0B\u4E00\u4E2A"),(0,We.GJ)()&&tn.createElement(be.ZP,{type:"primary",onClick:()=>Ga(void 0,null,function*(){wr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nn.user_id,data:vo({},Nn)},fn:()=>HA({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),tn.createElement(Ui,null),tn.createElement($n.Z,null),tn.createElement(Ne.default,{open:vi,width:860,centered:!0,onCancel:()=>{wi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},tn.createElement("div",{style:{color:"#333333",fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),tn.createElement("br",null),tn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),tn.createElement("br",null),tn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),tn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),tn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),tn.createElement("br",null),tn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),tn.createElement("br",null),tn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),tn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),tn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),tn.createElement("br",null),tn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),tn.createElement("br",null),tn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),tn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},tn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),tn.createElement("br",null),tn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),tn.createElement(Ne.default,{open:Ri,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Po(!1)},width:600},tn.createElement("div",{style:{fontWeight:400,color:"#333333"}},tn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),tn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",tn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),tn.createElement(Ne.default,{open:ts,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Wi("all"),ns(!1)},destroyOnClose:!0,width:900},tn.createElement("div",{style:{fontWeight:400,color:"#333333"}},tn.createElement("div",null,tn.createElement("span",null,"\u5173\u5361\uFF1A"),tn.createElement(z.default,{style:{width:300},value:yi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:pr=>Ga(void 0,null,function*(){Wi(pr),HA({page:1,page_size:10},pr)})},tn.createElement(z.default.Option,{value:"all"}," \u5168\u90E8 "),(Ko=Nn==null?void 0:Nn.stage_list)==null?void 0:Ko.map((pr,Da)=>tn.createElement(z.default.Option,{key:Da,value:pr==null?void 0:pr.challenge_id},"\u7B2C",(0,Ve.EM)(Da+1),"\u5173")))),tn.createElement("div",{className:"mt20"},tn.createElement(x.default,{dataSource:Na,rowKey:pr=>pr==null?void 0:pr.id,pagination:!1,columns:UA,loading:gA})),tn.createElement("div",{className:ga.footer},tn.createElement("div",null,tn.createElement("span",{style:{color:"#656F87"}},"\u5171",tn.createElement("span",{className:"c-light-primary"},ki),"\u6761\u6570\u636E")),tn.createElement(ne.Z,{defaultCurrent:1,defaultPageSize:10,current:(Va==null?void 0:Va.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ki,onChange:as})))))};var Fi=(0,Me.connect)(({shixunHomeworks:Kt,classroomList:Ht,loading:In,globalSetting:gr,user:$r})=>({shixunHomeworks:Kt,classroomList:Ht,globalSetting:gr,loading:In.effects,user:$r}))(oi);const Gr=({globalSetting:Kt})=>{var Ht;switch(Number((Ht=Kt==null?void 0:Kt.setting)==null?void 0:Ht.theme)){case he.Fy.THEMEONE:return we.createElement(Aa,null);case he.Fy.DEFAULT:default:return we.createElement(Fi,null)}};var jr=(0,Me.connect)(({globalSetting:Kt})=>({globalSetting:Kt}))(Gr)},95894:function(An,zt,ve){"use strict";var he=ve(43418),we=ve(8591),Me=ve(82093),nt=ve(76560),Ge=ve(34055),He=ve(59301),pe=(Ne,ue,Oe)=>new Promise((Pe,be)=>{var oe=E=>{try{a(Oe.next(E))}catch(b){be(b)}},y=E=>{try{a(Oe.throw(E))}catch(b){be(b)}},a=E=>E.done?Pe(E.value):Promise.resolve(E.value).then(oe,y);a((Oe=Oe.apply(Ne,ue)).next())});const Be=({shixunHomeworks:Ne,classroomList:ue,dispatch:Oe})=>{const Pe=(0,nt.useParams)();return He.createElement(he.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>pe(void 0,null,function*(){var be,oe,y,a;if((0,Ge.Rm)()&&!((be=ue.AssistantObject.practice)!=null&&be.can_redo)){we.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,Me.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Pe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(E.shixun_identifier){we.ZP.success("\u64CD\u4F5C\u6210\u529F"),Oe({type:"shixunHomeworks/setActionTabs",payload:{}});const b=(y=(oe=E==null?void 0:E.new_works)==null?void 0:oe.find(x=>`${x.homework_common_id}`===Pe.categoryId))==null?void 0:y.id;if((0,Ge.Rm)()&&!((a=ue.AssistantObject.practice)!=null&&a.can_view))return;nt.history.replace(`/classrooms/${Pe.coursesId}/shixun_homework/${Pe.categoryId}/${b}/comment`)}}),onCancel:()=>{Oe({type:"shixunHomeworks/setActionTabs",payload:{}})}},He.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),He.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};zt.Z=(0,nt.connect)(({shixunHomeworks:Ne,classroomList:ue})=>({shixunHomeworks:Ne,classroomList:ue}))(Be)},30975:function(An,zt,ve){"use strict";ve.d(zt,{AD:function(){return kt},BA:function(){return yn},D9:function(){return ft},Hp:function(){return xe},IM:function(){return en},Iy:function(){return Ee},KM:function(){return Je},KU:function(){return En},MJ:function(){return Qe},Ne:function(){return it},ON:function(){return mn},Uj:function(){return _n},VY:function(){return Zt},YO:function(){return Nt},YX:function(){return Gn},Zn:function(){return y},_g:function(){return z},_k:function(){return gt},c6:function(){return Ft},cr:function(){return a},eV:function(){return Te},fi:function(){return E},gh:function(){return tt},hS:function(){return rn},iA:function(){return b},j6:function(){return ne},je:function(){return Dt},jj:function(){return le},kS:function(){return Hn},o6:function(){return ke},pO:function(){return or},rQ:function(){return st},sA:function(){return Ve},xm:function(){return xt},xo:function(){return Pt},y8:function(){return At},yd:function(){return x}});var he=ve(64948),we=ve(76560),Me=ve(49661),nt=ve(8591),Ge=ve(18702),He=Object.defineProperty,pe=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,ue=(Fe,de,Ae)=>de in Fe?He(Fe,de,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Fe[de]=Ae,Oe=(Fe,de)=>{for(var Ae in de||(de={}))Be.call(de,Ae)&&ue(Fe,Ae,de[Ae]);if(pe)for(var Ae of pe(de))Ne.call(de,Ae)&&ue(Fe,Ae,de[Ae]);return Fe},Pe=(Fe,de,Ae)=>new Promise((ye,qe)=>{var pt=Qt=>{try{Xe(Ae.next(Qt))}catch(Bt){qe(Bt)}},Re=Qt=>{try{Xe(Ae.throw(Qt))}catch(Bt){qe(Bt)}},Xe=Qt=>Qt.done?ye(Qt.value):Promise.resolve(Qt.value).then(pt,Re);Xe((Ae=Ae.apply(Fe,de)).next())});const be=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},oe=()=>{(0,we.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Fe=>Pe(void 0,null,function*(){be(),(yield(0,he.YR)(Oe({},Fe))).status===0&&(yield(0,Me.QH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_couser_info.json`,query:Fe}))),oe()}),a=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.yS)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`);else{if(de.status===-2)return de;de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`))}}),E=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.W0)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`);else{if(de.status===-4)return de;de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`))}}),b=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.Nl)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(de.status===-4)return de;de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`))}}),x=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.IU)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`);else{if(de.status===-4)return de;de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`))}}),z=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.td)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(de.status===-2)return de;if(de.status===-3)(0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else if(de.status===-4)return de}}),ne=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.QX)(Oe({},Fe));if(de.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`);else{if(de.status===-4)return de;de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`))}}),le=(Fe,de)=>Pe(void 0,null,function*(){const Ae=yield(0,he.o_)(Oe({},Fe));Ae.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`)):Ae.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`))}),xe=(Fe,de)=>Pe(void 0,null,function*(){const Ae=yield(0,he.ZL)(Oe({},Fe));Ae.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`)):Ae.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`))}),Ee=(Fe,de)=>Pe(void 0,null,function*(){const Ae=yield(0,he.aP)(Oe({},Fe));Ae.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`)):Ae.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`))}),Qe=(Fe,de)=>Pe(void 0,null,function*(){const Ae=yield(0,he.vV)(Oe({},Fe));Ae.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`)):Ae.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/${de}`))}),We=Fe=>Pe(void 0,null,function*(){be(),(yield exportCourseWorkListAppendix(Oe({},Fe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Fe.categoryId}/works_list.zip`,query:Fe}))),oe()}),Ve=Fe=>Pe(void 0,null,function*(){be(),yield(0,Me.QH)("",Ge.Z.API_SERVER+`/api/polls/${Fe.categoryId}/commit_result.xlsx`),oe()}),tt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Fe}))}),ke=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe.coursesId}/video_study_statics.xlsx`,query:Fe}))}),Ft=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_video_study.xlsx`,query:Fe}))}),Te=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_course_students_info.xlsx`,query:Fe}))}),kt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Fe}))}),st=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Fe}))}),At=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Fe}))}),Dt=Fe=>Pe(void 0,null,function*(){const de=yield(0,he.Uy)(Oe({},Fe));de.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`)):de.status===-3&&((0,we.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),we.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),gt=Fe=>Pe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/export_records/${Fe.id}.xlsx`,query:Fe}))}),xt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Fe}))}),ft=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/${Fe.menuKey}_statistic.xlsx?${Fe.checkedList.map(de=>`course_group_id[]=${de}`).join("&")}`,query:Fe}))}),it=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_training_objectives.xlsx`,query:Fe}))}),en=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)(Fe==null?void 0:Fe.name,(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Fe}))}),rn=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_courses.xlsx`,query:Fe}))}),Pt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Fe}))}),Zt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Fe}))}),En=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Fe.categoryId}/rank_list.xlsx`,query:Fe}))}),Hn=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Fe}))}),mn=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/examination_banks/${Fe.id}.json`,query:Fe}))}),Gn=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Fe.categoryId}.json`,query:Fe}))}),Nt=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/polls/${Fe==null?void 0:Fe.id}/commit_result.json`,query:Fe}))}),_n=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Fe}))}),or=(Fe,de)=>Pe(void 0,null,function*(){yield(0,Me.FH)(de||"",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/consult_exercise.json`,query:Fe}))}),Je=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/competitions/${Fe==null?void 0:Fe.identifier}/competition_commit_records/member_works.xlsx`,query:Fe}))}),yn=Fe=>Pe(void 0,null,function*(){yield(0,Me.FH)("",(0,Me.NY)({url:Ge.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Fe}))})},98072:function(An,zt,ve){"use strict";ve.d(zt,{U:function(){return Ne}});var he=ve(59301),we=Object.defineProperty,Me=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,He=(ue,Oe,Pe)=>Oe in ue?we(ue,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ue[Oe]=Pe,pe=(ue,Oe)=>{for(var Pe in Oe||(Oe={}))nt.call(Oe,Pe)&&He(ue,Pe,Oe[Pe]);if(Me)for(var Pe of Me(Oe))Ge.call(Oe,Pe)&&He(ue,Pe,Oe[Pe]);return ue},Be=(ue,Oe,Pe)=>new Promise((be,oe)=>{var y=b=>{try{E(Pe.next(b))}catch(x){oe(x)}},a=b=>{try{E(Pe.throw(b))}catch(x){oe(x)}},E=b=>b.done?be(b.value):Promise.resolve(b.value).then(y,a);E((Pe=Pe.apply(ue,Oe)).next())});function Ne(ue,Oe){const[Pe,be]=(0,he.useState)(Oe),[oe,y]=(0,he.useState)(!1),[a,E]=(0,he.useState)();return[Pe,oe,(x,z=!1)=>Be(this,null,function*(){const ne=z?Oe:pe(pe({},Pe),x);y(!0),be(ne);const le=yield ue(ne);return y(!1),E(le),le}),a]}},50371:function(An,zt){"use strict";function ve(){const he=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let we=1;we{const Ge=Me[nt];Ge!==void 0&&(he[nt]=Ge)})}return he}zt.Z=ve},13845:function(An,zt,ve){"use strict";ve.d(zt,{F:function(){return he},Z:function(){return we}});function he(Me){return Me!=null&&Me===Me.window}function we(Me,nt){var Ge,He;if(typeof window=="undefined")return 0;const pe=nt?"scrollTop":"scrollLeft";let Be=0;return he(Me)?Be=Me[nt?"pageYOffset":"pageXOffset"]:Me instanceof Document?Be=Me.documentElement[pe]:(Me instanceof HTMLElement||Me)&&(Be=Me[pe]),Me&&!he(Me)&&typeof Be!="number"&&(Be=(He=((Ge=Me.ownerDocument)!==null&&Ge!==void 0?Ge:Me).documentElement)===null||He===void 0?void 0:He[pe]),Be}},56762:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return we}});var he=ve(59301);function we(){const[,Me]=he.useReducer(nt=>nt+1,0);return Me}},68031:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return nt}});var he=ve(16089);function we(Ge,He,pe,Be){const Ne=pe-He;return Ge/=Be/2,Ge<1?Ne/2*Ge*Ge*Ge+He:Ne/2*((Ge-=2)*Ge*Ge+2)+He}var Me=ve(13845);function nt(Ge){let He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:pe=()=>window,callback:Be,duration:Ne=450}=He,ue=pe(),Oe=(0,Me.Z)(ue,!0),Pe=Date.now(),be=()=>{const y=Date.now()-Pe,a=we(y>Ne?Ne:y,Oe,Ge,Ne);(0,Me.F)(ue)?ue.scrollTo(window.pageXOffset,a):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=a:ue.scrollTop=a,y{let{children:At}=st;const{getPrefixCls:Dt}=Ge.useContext(pe.E_),gt=Dt("breadcrumb");return Ge.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},At===""?At:At||"/")};ue.__ANT_BREADCRUMB_SEPARATOR=!0;var Oe=ue,Pe=function(st,At){var Dt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(Dt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xtAt[xt]||gt)}function oe(st,At,Dt,gt){if(Dt==null)return null;const{className:xt,onClick:ft}=At,it=Pe(At,["className","onClick"]),en=Object.assign(Object.assign({},(0,nt.Z)(it,{data:!0,aria:!0})),{onClick:ft});return gt!==void 0?Ge.createElement("a",Object.assign({},en,{className:we()(`${st}-link`,xt),href:gt}),Dt):Ge.createElement("span",Object.assign({},en,{className:we()(`${st}-link`,xt)}),Dt)}function y(st,At){return(gt,xt,ft,it,en)=>{if(At)return At(gt,xt,ft,it);const rn=be(gt,xt);return oe(st,gt,rn,en)}}var a=function(st,At){var Dt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(Dt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{const{prefixCls:At,separator:Dt="/",children:gt,menu:xt,overlay:ft,dropdownProps:it,href:en}=st,Pt=(Zt=>{if(xt||ft){const En=Object.assign({},it);if(xt){const Hn=xt||{},{items:mn}=Hn,Gn=a(Hn,["items"]);En.menu=Object.assign(Object.assign({},Gn),{items:mn==null?void 0:mn.map((Nt,_n)=>{var{key:or,title:Je,label:yn,path:Fe}=Nt,de=a(Nt,["key","title","label","path"]);let Ae=yn!=null?yn:Je;return Fe&&(Ae=Ge.createElement("a",{href:`${en}${Fe}`},Ae)),Object.assign(Object.assign({},de),{key:or!=null?or:_n,label:Ae})})})}else ft&&(En.overlay=ft);return Ge.createElement(Ne.Z,Object.assign({placement:"bottom"},En),Ge.createElement("span",{className:`${At}-overlay-link`},Zt,Ge.createElement(Be.Z,null)))}return Zt})(gt);return Pt!=null?Ge.createElement(Ge.Fragment,null,Ge.createElement("li",null,Pt),Dt&&Ge.createElement(Oe,null,Dt)):null},b=st=>{const{prefixCls:At,children:Dt,href:gt}=st,xt=a(st,["prefixCls","children","href"]),{getPrefixCls:ft}=Ge.useContext(pe.E_),it=ft("breadcrumb",At);return Ge.createElement(E,Object.assign({},xt,{prefixCls:it}),oe(it,xt,Dt,gt))};b.__ANT_BREADCRUMB_ITEM=!0;var x=b,z=ve(17313),ne=ve(83116),le=ve(37613);const xe=st=>{const{componentCls:At,iconCls:Dt}=st;return{[At]:Object.assign(Object.assign({},(0,z.Wf)(st)),{color:st.itemColor,fontSize:st.fontSize,[Dt]:{fontSize:st.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:st.linkColor,transition:`color ${st.motionDurationMid}`,padding:`0 ${st.paddingXXS}px`,borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",marginInline:-st.marginXXS,"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover}},(0,z.Qy)(st)),"li:last-child":{color:st.lastItemColor},[`${At}-separator`]:{marginInline:st.separatorMargin,color:st.separatorColor},[`${At}-link`]:{[` > ${Dt} + span, > ${Dt} + a `]:{marginInlineStart:st.marginXXS}},[`${At}-overlay-link`]:{borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",padding:`0 ${st.paddingXXS}px`,marginInline:-st.marginXXS,[`> ${Dt}`]:{marginInlineStart:st.marginXXS,fontSize:st.fontSizeIcon},"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover,a:{color:st.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${st.componentCls}-rtl`]:{direction:"rtl"}})}};var Ee=(0,ne.Z)("Breadcrumb",st=>{const At=(0,le.TS)(st,{});return[xe(At)]},st=>({itemColor:st.colorTextDescription,lastItemColor:st.colorText,iconFontSize:st.fontSize,linkColor:st.colorTextDescription,linkHoverColor:st.colorText,separatorColor:st.colorTextDescription,separatorMargin:st.marginXS})),Qe=function(st,At){var Dt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(Dt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{var{breadcrumbName:it}=ft,en=Qe(ft,["breadcrumbName"]);return Object.assign(Object.assign({},en),{title:it})})}),xt}function Ve(st,At){return(0,Ge.useMemo)(()=>st||(At?At.map(We):null),[st,At])}var tt=function(st,At){var Dt={};for(var gt in st)Object.prototype.hasOwnProperty.call(st,gt)&&At.indexOf(gt)<0&&(Dt[gt]=st[gt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,gt=Object.getOwnPropertySymbols(st);xt{if(At===void 0)return At;let Dt=(At||"").replace(/^\//,"");return Object.keys(st).forEach(gt=>{Dt=Dt.replace(`:${gt}`,st[gt])}),Dt},Ft=st=>{const{prefixCls:At,separator:Dt="/",style:gt,className:xt,rootClassName:ft,routes:it,items:en,children:rn,itemRender:Pt,params:Zt={}}=st,En=tt(st,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:mn,breadcrumb:Gn}=Ge.useContext(pe.E_);let Nt;const _n=Hn("breadcrumb",At),[or,Je]=Ee(_n),yn=Ve(en,it),Fe=y(_n,Pt);if(yn&&yn.length>0){const ye=[],qe=en||it;Nt=yn.map((pt,Re)=>{const{path:Xe,key:Qt,type:Bt,menu:lt,overlay:Yt,onClick:wn,className:jt,separator:fn,dropdownProps:Tt}=pt,Fn=ke(Zt,Xe);Fn!==void 0&&ye.push(Fn);const dt=Qt!=null?Qt:Re;if(Bt==="separator")return Ge.createElement(Oe,{key:dt},fn);const on={},Bn=Re===yn.length-1;lt?on.menu=lt:Yt&&(on.overlay=Yt);let{href:bn}=pt;return ye.length&&Fn!==void 0&&(bn=`#/${ye.join("/")}`),Ge.createElement(E,Object.assign({key:dt},on,(0,nt.Z)(pt,{data:!0,aria:!0}),{className:jt,dropdownProps:Tt,href:bn,separator:Bn?"":Dt,onClick:wn,prefixCls:_n}),Fe(pt,Zt,qe,ye,bn))})}else if(rn){const ye=(0,Me.Z)(rn).length;Nt=(0,Me.Z)(rn).map((qe,pt)=>{if(!qe)return qe;const Re=pt===ye-1;return(0,He.Tm)(qe,{separator:Re?"":Dt,key:pt})})}const de=we()(_n,Gn==null?void 0:Gn.className,{[`${_n}-rtl`]:mn==="rtl"},xt,ft,Je),Ae=Object.assign(Object.assign({},Gn==null?void 0:Gn.style),gt);return or(Ge.createElement("nav",Object.assign({className:de,style:Ae},En),Ge.createElement("ol",null,Nt)))};Ft.Item=x,Ft.Separator=Oe;var Te=Ft,kt=Te},24905:function(An,zt,ve){"use strict";ve.d(zt,{default:function(){return Ee}});var he=ve(92310),we=ve.n(he),Me=ve(5630),nt=ve(59301),Ge=ve(36355),He=ve(1684),pe=ve(32441),Ne=nt.createContext(null),ue=ve(98447),Oe=ve(14088),Pe=ve(4572),be=function(Qe,We){var Ve={};for(var tt in Qe)Object.prototype.hasOwnProperty.call(Qe,tt)&&We.indexOf(tt)<0&&(Ve[tt]=Qe[tt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,tt=Object.getOwnPropertySymbols(Qe);ke{var Ve;const{prefixCls:tt,className:ke,rootClassName:Ft,children:Te,indeterminate:kt=!1,style:st,onMouseEnter:At,onMouseLeave:Dt,skipGroup:gt=!1,disabled:xt}=Qe,ft=be(Qe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:it,direction:en,checkbox:rn}=nt.useContext(Ge.E_),Pt=nt.useContext(Ne),{isFormItemInput:Zt}=nt.useContext(pe.aM),En=nt.useContext(He.Z),Hn=(Ve=(Pt==null?void 0:Pt.disabled)||xt)!==null&&Ve!==void 0?Ve:En,mn=nt.useRef(ft.value);nt.useEffect(()=>{Pt==null||Pt.registerValue(ft.value)},[]),nt.useEffect(()=>{if(!gt)return ft.value!==mn.current&&(Pt==null||Pt.cancelValue(mn.current),Pt==null||Pt.registerValue(ft.value),mn.current=ft.value),()=>Pt==null?void 0:Pt.cancelValue(ft.value)},[ft.value]);const Gn=it("checkbox",tt),[Nt,_n]=(0,ue.ZP)(Gn),or=Object.assign({},ft);Pt&&!gt&&(or.onChange=function(){ft.onChange&&ft.onChange.apply(ft,arguments),Pt.toggleOption&&Pt.toggleOption({label:Te,value:ft.value})},or.name=Pt.name,or.checked=Pt.value.includes(ft.value));const Je=we()(`${Gn}-wrapper`,{[`${Gn}-rtl`]:en==="rtl",[`${Gn}-wrapper-checked`]:or.checked,[`${Gn}-wrapper-disabled`]:Hn,[`${Gn}-wrapper-in-form-item`]:Zt},rn==null?void 0:rn.className,ke,Ft,_n),yn=we()({[`${Gn}-indeterminate`]:kt},Pe.A,_n),Fe=kt?"mixed":void 0;return Nt(nt.createElement(Oe.Z,{component:"Checkbox",disabled:Hn},nt.createElement("label",{className:Je,style:Object.assign(Object.assign({},rn==null?void 0:rn.style),st),onMouseEnter:At,onMouseLeave:Dt},nt.createElement(Me.Z,Object.assign({"aria-checked":Fe},or,{prefixCls:Gn,className:yn,disabled:Hn,ref:We})),Te!==void 0&&nt.createElement("span",null,Te))))};var a=nt.forwardRef(oe),E=ve(3300),b=ve(2738),x=function(Qe,We){var Ve={};for(var tt in Qe)Object.prototype.hasOwnProperty.call(Qe,tt)&&We.indexOf(tt)<0&&(Ve[tt]=Qe[tt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,tt=Object.getOwnPropertySymbols(Qe);ke{const{defaultValue:Ve,children:tt,options:ke=[],prefixCls:Ft,className:Te,rootClassName:kt,style:st,onChange:At}=Qe,Dt=x(Qe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:xt}=nt.useContext(Ge.E_),[ft,it]=nt.useState(Dt.value||Ve||[]),[en,rn]=nt.useState([]);nt.useEffect(()=>{"value"in Dt&&it(Dt.value||[])},[Dt.value]);const Pt=nt.useMemo(()=>ke.map(de=>typeof de=="string"||typeof de=="number"?{label:de,value:de}:de),[ke]),Zt=de=>{rn(Ae=>Ae.filter(ye=>ye!==de))},En=de=>{rn(Ae=>[].concat((0,E.Z)(Ae),[de]))},Hn=de=>{const Ae=ft.indexOf(de.value),ye=(0,E.Z)(ft);Ae===-1?ye.push(de.value):ye.splice(Ae,1),"value"in Dt||it(ye),At==null||At(ye.filter(qe=>en.includes(qe)).sort((qe,pt)=>{const Re=Pt.findIndex(Qt=>Qt.value===qe),Xe=Pt.findIndex(Qt=>Qt.value===pt);return Re-Xe}))},mn=gt("checkbox",Ft),Gn=`${mn}-group`,[Nt,_n]=(0,ue.ZP)(mn),or=(0,b.Z)(Dt,["value","disabled"]),Je=ke.length?Pt.map(de=>nt.createElement(a,{prefixCls:mn,key:de.value.toString(),disabled:"disabled"in de?de.disabled:Dt.disabled,value:de.value,checked:ft.includes(de.value),onChange:de.onChange,className:`${Gn}-item`,style:de.style,title:de.title},de.label)):tt,yn={toggleOption:Hn,value:ft,disabled:Dt.disabled,name:Dt.name,registerValue:En,cancelValue:Zt},Fe=we()(Gn,{[`${Gn}-rtl`]:xt==="rtl"},Te,kt,_n);return Nt(nt.createElement("div",Object.assign({className:Fe,style:st},or,{ref:We}),nt.createElement(Ne.Provider,{value:yn},Je)))},ne=nt.forwardRef(z);var le=nt.memo(ne);const xe=a;xe.Group=le,xe.__ANT_CHECKBOX=!0;var Ee=xe},98447:function(An,zt,ve){"use strict";ve.d(zt,{C2:function(){return Ge}});var he=ve(17313),we=ve(37613),Me=ve(83116);const nt=He=>{const{checkboxCls:pe}=He,Be=`${pe}-wrapper`;return[{[`${pe}-group`]:Object.assign(Object.assign({},(0,he.Wf)(He)),{display:"inline-flex",flexWrap:"wrap",columnGap:He.marginXS,[`> ${He.antCls}-row`]:{flex:1}}),[Be]:Object.assign(Object.assign({},(0,he.Wf)(He)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Be}`]:{marginInlineStart:0},[`&${Be}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[pe]:Object.assign(Object.assign({},(0,he.Wf)(He)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:He.borderRadiusSM,alignSelf:"center",[`${pe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${pe}-inner`]:Object.assign({},(0,he.oN)(He))},[`${pe}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:He.checkboxSize,height:He.checkboxSize,direction:"ltr",backgroundColor:He.colorBgContainer,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadiusSM,borderCollapse:"separate",transition:`all ${He.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:He.checkboxSize/14*5,height:He.checkboxSize/14*8,border:`${He.lineWidthBold}px solid ${He.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${He.motionDurationFast} ${He.motionEaseInBack}, opacity ${He.motionDurationFast}`}},"& + span":{paddingInlineStart:He.paddingXS,paddingInlineEnd:He.paddingXS}})},{[` ${Be}:not(${Be}-disabled), ${pe}:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{borderColor:He.colorPrimary}},[`${Be}:not(${Be}-disabled)`]:{[`&:hover ${pe}-checked:not(${pe}-disabled) ${pe}-inner`]:{backgroundColor:He.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${pe}-checked:not(${pe}-disabled):after`]:{borderColor:He.colorPrimaryHover}}},{[`${pe}-checked`]:{[`${pe}-inner`]:{backgroundColor:He.colorPrimary,borderColor:He.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${He.motionDurationMid} ${He.motionEaseOutBack} ${He.motionDurationFast}`}}},[` ${Be}-checked:not(${Be}-disabled), ${pe}-checked:not(${pe}-disabled) `]:{[`&:hover ${pe}-inner`]:{backgroundColor:He.colorPrimaryHover,borderColor:"transparent"}}},{[pe]:{"&-indeterminate":{[`${pe}-inner`]:{backgroundColor:He.colorBgContainer,borderColor:He.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:He.fontSizeLG/2,height:He.fontSizeLG/2,backgroundColor:He.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Be}-disabled`]:{cursor:"not-allowed"},[`${pe}-disabled`]:{[`&, ${pe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${pe}-inner`]:{background:He.colorBgContainerDisabled,borderColor:He.colorBorder,"&:after":{borderColor:He.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:He.colorTextDisabled},[`&${pe}-indeterminate ${pe}-inner::after`]:{background:He.colorTextDisabled}}}]};function Ge(He,pe){const Be=(0,we.TS)(pe,{checkboxCls:`.${He}`,checkboxSize:pe.controlInteractiveSize});return[nt(Be)]}zt.ZP=(0,Me.Z)("Checkbox",(He,pe)=>{let{prefixCls:Be}=pe;return[Ge(Be,He)]})},28103:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Pe}});var he=ve(92310),we=ve.n(he),Me=ve(59301),nt=ve(36355),Ge=ve(17313),He=ve(83116),pe=ve(37613);const Be=be=>{const{componentCls:oe,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:z}=be;return{[oe]:Object.assign(Object.assign({},(0,Ge.Wf)(be)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${be.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${oe}-with-text`]:{display:"flex",alignItems:"center",margin:`${be.dividerHorizontalWithTextGutterMargin}px 0`,color:be.colorTextHeading,fontWeight:500,fontSize:be.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${oe}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${oe}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${oe}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${oe}-with-text${oe}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${oe}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${oe}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${oe}-with-text-left${oe}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${oe}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${oe}-with-text-right${oe}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${oe}-inner-text`]:{paddingInlineEnd:y}}})}};var Ne=(0,He.Z)("Divider",be=>{const oe=(0,pe.TS)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[Be(oe)]},be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS})),ue=function(be,oe){var y={};for(var a in be)Object.prototype.hasOwnProperty.call(be,a)&&oe.indexOf(a)<0&&(y[a]=be[a]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(be);E{const{getPrefixCls:oe,direction:y,divider:a}=Me.useContext(nt.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:z,className:ne,rootClassName:le,children:xe,dashed:Ee,plain:Qe,style:We}=be,Ve=ue(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),tt=oe("divider",E),[ke,Ft]=Ne(tt),Te=x.length>0?`-${x}`:x,kt=!!xe,st=x==="left"&&z!=null,At=x==="right"&&z!=null,Dt=we()(tt,a==null?void 0:a.className,Ft,`${tt}-${b}`,{[`${tt}-with-text`]:kt,[`${tt}-with-text${Te}`]:kt,[`${tt}-dashed`]:!!Ee,[`${tt}-plain`]:!!Qe,[`${tt}-rtl`]:y==="rtl",[`${tt}-no-default-orientation-margin-left`]:st,[`${tt}-no-default-orientation-margin-right`]:At},ne,le),gt=Me.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),xt=Object.assign(Object.assign({},st&&{marginLeft:gt}),At&&{marginRight:gt});return ke(Me.createElement("div",Object.assign({className:Dt,style:Object.assign(Object.assign({},a==null?void 0:a.style),We)},Ve,{role:"separator"}),xe&&b!=="vertical"&&Me.createElement("span",{className:`${tt}-inner-text`,style:xt},xe)))}},91857:function(An,zt,ve){"use strict";var he=ve(59301),we=ve(38819),Me=ve(92310),nt=ve.n(Me),Ge=ve(31561),He=ve(70425),pe=ve(18929),Be=ve(2738),Ne=ve(79676),ue=ve(53487),Oe=ve(92343),Pe=ve(36355),be=ve(20834),oe=ve(40875),y=ve(88088),a=ve(47211);const E=null,b=le=>{const{menu:xe,arrow:Ee,prefixCls:Qe,children:We,trigger:Ve,disabled:tt,dropdownRender:ke,getPopupContainer:Ft,overlayClassName:Te,rootClassName:kt,open:st,onOpenChange:At,visible:Dt,onVisibleChange:gt,mouseEnterDelay:xt=.15,mouseLeaveDelay:ft=.1,autoAdjustOverflow:it=!0,placement:en="",overlay:rn,transitionName:Pt}=le,{getPopupContainer:Zt,getPrefixCls:En,direction:Hn}=he.useContext(Pe.E_),mn=he.useMemo(()=>{const lt=En();return Pt!==void 0?Pt:en.includes("top")?`${lt}-slide-down`:`${lt}-slide-up`},[En,en,Pt]),Gn=he.useMemo(()=>en?en.includes("Center")?en.slice(0,en.indexOf("Center")):en:Hn==="rtl"?"bottomRight":"bottomLeft",[en,Hn]),Nt=En("dropdown",Qe),[_n,or]=(0,a.Z)(Nt),[,Je]=(0,y.Z)(),yn=he.Children.only(We),Fe=(0,Oe.Tm)(yn,{className:nt()(`${Nt}-trigger`,{[`${Nt}-rtl`]:Hn==="rtl"},yn.props.className),disabled:tt}),de=tt?[]:Ve;let Ae;de&&de.includes("contextMenu")&&(Ae=!0);const[ye,qe]=(0,pe.Z)(!1,{value:st!=null?st:Dt}),pt=(0,He.useEvent)(lt=>{At==null||At(lt),gt==null||gt(lt),qe(lt)}),Re=nt()(Te,kt,or,{[`${Nt}-rtl`]:Hn==="rtl"}),Xe=(0,Ne.Z)({arrowPointAtCenter:typeof Ee=="object"&&Ee.pointAtCenter,autoAdjustOverflow:it,offset:Je.marginXXS,arrowWidth:Ee?Je.sizePopupArrow:0,borderRadius:Je.borderRadius}),Qt=he.useCallback(()=>{qe(!1)},[]),Bt=()=>{let lt;return xe!=null&&xe.items?lt=he.createElement(be.default,Object.assign({},xe)):typeof rn=="function"?lt=rn():lt=rn,ke&&(lt=ke(lt)),lt=he.Children.only(typeof lt=="string"?he.createElement("span",null,lt):lt),he.createElement(oe.J,{prefixCls:`${Nt}-menu`,expandIcon:he.createElement("span",{className:`${Nt}-menu-submenu-arrow`},he.createElement(we.Z,{className:`${Nt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Qt,validator:Yt=>{let{mode:wn}=Yt}},lt)};return _n(he.createElement(Ge.Z,Object.assign({alignPoint:Ae},(0,Be.Z)(le,["rootClassName"]),{mouseEnterDelay:xt,mouseLeaveDelay:ft,visible:ye,builtinPlacements:Xe,arrow:!!Ee,overlayClassName:Re,prefixCls:Nt,getPopupContainer:Ft||Zt,transitionName:mn,trigger:de,overlay:Bt,placement:Gn,onVisibleChange:pt}),Fe))};function x(le){return Object.assign(Object.assign({},le),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const z=(0,ue.Z)(b,"dropdown",le=>le,x),ne=le=>he.createElement(z,Object.assign({},le),he.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ne,zt.Z=b},38854:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return y}});var he=ve(91857),we=ve(92310),Me=ve.n(we),nt=ve(59301),Ge=ve(18785),He=ve(3113),pe=ve(36355),Be=ve(81327),Ne=ve(33234),ue=ve(47211),Oe=function(a,E){var b={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&E.indexOf(x)<0&&(b[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z{const{getPopupContainer:E,getPrefixCls:b,direction:x}=nt.useContext(pe.E_),{prefixCls:z,type:ne="default",danger:le,disabled:xe,loading:Ee,onClick:Qe,htmlType:We,children:Ve,className:tt,menu:ke,arrow:Ft,autoFocus:Te,overlay:kt,trigger:st,align:At,open:Dt,onOpenChange:gt,placement:xt,getPopupContainer:ft,href:it,icon:en=nt.createElement(Ge.Z,null),title:rn,buttonsRender:Pt=Bt=>Bt,mouseEnterDelay:Zt,mouseLeaveDelay:En,overlayClassName:Hn,overlayStyle:mn,destroyPopupOnHide:Gn,dropdownRender:Nt}=a,_n=Oe(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),or=b("dropdown",z),Je=`${or}-button`,[yn,Fe]=(0,ue.Z)(or),de={menu:ke,arrow:Ft,autoFocus:Te,align:At,disabled:xe,trigger:xe?[]:st,onOpenChange:gt,getPopupContainer:ft||E,mouseEnterDelay:Zt,mouseLeaveDelay:En,overlayClassName:Hn,overlayStyle:mn,destroyPopupOnHide:Gn,dropdownRender:Nt},{compactSize:Ae,compactItemClassnames:ye}=(0,Ne.ri)(or,x),qe=Me()(Je,ye,tt,Fe);"overlay"in a&&(de.overlay=kt),"open"in a&&(de.open=Dt),"placement"in a?de.placement=xt:de.placement=x==="rtl"?"bottomLeft":"bottomRight";const pt=nt.createElement(He.ZP,{type:ne,danger:le,disabled:xe,loading:Ee,onClick:Qe,htmlType:We,href:it,title:rn},Ve),Re=nt.createElement(He.ZP,{type:ne,danger:le,icon:en}),[Xe,Qt]=Pt([pt,Re]);return yn(nt.createElement(Be.Z.Compact,Object.assign({className:qe,size:Ae,block:!0},_n),Xe,nt.createElement(he.Z,Object.assign({},de),Qt)))};Pe.__ANT_BUTTON=!0;var be=Pe;const oe=he.Z;oe.Button=be;var y=oe},47211:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Oe}});var he=ve(17313),we=ve(13826),Me=ve(92899),nt=ve(29878),Ge=ve(19447),He=ve(83116),pe=ve(37613),Ne=Pe=>{const{componentCls:be,menuCls:oe,colorError:y,colorTextLightSolid:a}=Pe,E=`${oe}-item`;return{[`${be}, ${be}-menu-submenu`]:{[`${oe} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ue=Pe=>{const{componentCls:be,menuCls:oe,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ne,fontSize:le,dropdownEdgeChildPadding:xe,colorTextDisabled:Ee,fontSizeIcon:Qe,controlPaddingHorizontal:We,colorBgElevated:Ve}=Pe;return[{[be]:Object.assign(Object.assign({},(0,he.Wf)(Pe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${x}-down, & > ${b}-btn-icon > ${x}-down`]:{fontSize:Qe}},[`${be}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:Qe},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${be}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${be}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${be}-placement-bottomRight`]:{animationName:we.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${be}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${be}-placement-topRight`]:{animationName:we.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${be}-placement-bottomRight`]:{animationName:we.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${be}-placement-topRight`]:{animationName:we.ly}})},(0,Ge.ZP)(Pe,{colorBg:Ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${be} ${oe}`]:{position:"relative",margin:0},[`${oe}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${be}, ${be}-menu-submenu`]:{[oe]:Object.assign(Object.assign({padding:xe,listStyleType:"none",backgroundColor:Ve,backgroundClip:"padding-box",borderRadius:Pe.borderRadiusLG,outline:"none",boxShadow:Pe.boxShadowSecondary},(0,he.Qy)(Pe)),{[`${oe}-item-group-title`]:{padding:`${ne}px ${We}px`,color:Pe.colorTextDescription,transition:`all ${z}`},[`${oe}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${oe}-item-icon`]:{minWidth:le,marginInlineEnd:Pe.marginXS,fontSize:Pe.fontSizeSM},[`${oe}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${oe}-item, ${oe}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ne}px ${We}px`,color:Pe.colorText,fontWeight:"normal",fontSize:le,lineHeight:Pe.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Pe.controlItemBgHover}},(0,he.Qy)(Pe)),{"&-selected":{color:Pe.colorPrimary,backgroundColor:Pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Pe.controlItemBgActiveHover}},"&-disabled":{color:Ee,cursor:"not-allowed","&:hover":{color:Ee,backgroundColor:Ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Pe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Pe.colorSplit},[`${be}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Pe.paddingXS,[`${be}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Pe.colorTextDescription,fontSize:Qe,fontStyle:"normal"}}}),[`${oe}-item-group-list`]:{margin:`0 ${Pe.marginXS}px`,padding:0,listStyle:"none"},[`${oe}-submenu-title`]:{paddingInlineEnd:We+Pe.fontSizeSM},[`${oe}-submenu-vertical`]:{position:"relative"},[`${oe}-submenu${oe}-submenu-disabled ${be}-menu-submenu-title`]:{[`&, ${be}-menu-submenu-arrow-icon`]:{color:Ee,backgroundColor:Ve,cursor:"not-allowed"}},[`${oe}-submenu-selected ${be}-menu-submenu-title`]:{color:Pe.colorPrimary}})}},[(0,we.oN)(Pe,"slide-up"),(0,we.oN)(Pe,"slide-down"),(0,Me.Fm)(Pe,"move-up"),(0,Me.Fm)(Pe,"move-down"),(0,nt._y)(Pe,"zoom-big")]]};var Oe=(0,He.Z)("Dropdown",(Pe,be)=>{let{rootPrefixCls:oe}=be;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:z,componentCls:ne,borderRadiusLG:le}=Pe,xe=(E-b*x)/2,{dropdownArrowOffset:Ee}=(0,Ge.fS)({contentRadius:le}),Qe=(0,pe.TS)(Pe,{menuCls:`${ne}-menu`,rootPrefixCls:oe,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Ee,dropdownPaddingVertical:xe,dropdownEdgeChildPadding:z});return[ue(Qe),Ne(Qe)]},Pe=>({zIndexPopup:Pe.zIndexPopupBase+50}))},8628:function(An,zt,ve){"use strict";var he=ve(59301),we=ve(34280),Me=ve(56762),nt=ve(69507);function Ge(){let He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const pe=(0,he.useRef)({}),Be=(0,Me.Z)(),Ne=(0,nt.ZP)();return(0,we.Z)(()=>{const ue=Ne.subscribe(Oe=>{pe.current=Oe,He&&Be()});return()=>Ne.unsubscribe(ue)},[]),pe.current}zt.Z=Ge},45818:function(An,zt,ve){"use strict";ve.d(zt,{D:function(){return z},Z:function(){return xe}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(Qe,We){return we.createElement(Ge.Z,(0,he.Z)({},Qe,{ref:We,icon:nt}))},pe=we.forwardRef(He),Be=pe,Ne=ve(33853),ue=ve(38819),Oe=ve(92310),Pe=ve.n(Oe),be=ve(2738),y=Ee=>!isNaN(parseFloat(Ee))&&isFinite(Ee),a=ve(36355),E=ve(84966),b=function(Ee,Qe){var We={};for(var Ve in Ee)Object.prototype.hasOwnProperty.call(Ee,Ve)&&Qe.indexOf(Ve)<0&&(We[Ve]=Ee[Ve]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Ve=Object.getOwnPropertySymbols(Ee);tt{let Ee=0;return function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ee+=1,`${Qe}${Ee}`}})();var xe=we.forwardRef((Ee,Qe)=>{const{prefixCls:We,className:Ve,trigger:tt,children:ke,defaultCollapsed:Ft=!1,theme:Te="dark",style:kt={},collapsible:st=!1,reverseArrow:At=!1,width:Dt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:xt,breakpoint:ft,onCollapse:it,onBreakpoint:en}=Ee,rn=b(Ee,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Pt}=(0,we.useContext)(E.Gs),[Zt,En]=(0,we.useState)("collapsed"in Ee?Ee.collapsed:Ft),[Hn,mn]=(0,we.useState)(!1);(0,we.useEffect)(()=>{"collapsed"in Ee&&En(Ee.collapsed)},[Ee.collapsed]);const Gn=(Fe,de)=>{"collapsed"in Ee||En(Fe),it==null||it(Fe,de)},Nt=(0,we.useRef)();Nt.current=Fe=>{mn(Fe.matches),en==null||en(Fe.matches),Zt!==Fe.matches&&Gn(Fe.matches,"responsive")},(0,we.useEffect)(()=>{function Fe(Ae){return Nt.current(Ae)}let de;if(typeof window!="undefined"){const{matchMedia:Ae}=window;if(Ae&&ft&&ft in x){de=Ae(`(max-width: ${x[ft]})`);try{de.addEventListener("change",Fe)}catch(ye){de.addListener(Fe)}Fe(de)}}return()=>{try{de==null||de.removeEventListener("change",Fe)}catch(Ae){de==null||de.removeListener(Fe)}}},[ft]),(0,we.useEffect)(()=>{const Fe=ne("ant-sider-");return Pt.addSider(Fe),()=>Pt.removeSider(Fe)},[]);const _n=()=>{Gn(!Zt,"clickTrigger")},{getPrefixCls:or}=(0,we.useContext)(a.E_),Je=()=>{const Fe=or("layout-sider",We),de=(0,be.Z)(rn,["collapsed"]),Ae=Zt?gt:Dt,ye=y(Ae)?`${Ae}px`:String(Ae),qe=parseFloat(String(gt||0))===0?we.createElement("span",{onClick:_n,className:Pe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${At?"right":"left"}`),style:xt},tt||we.createElement(Be,null)):null,Xe={expanded:At?we.createElement(ue.Z,null):we.createElement(Ne.Z,null),collapsed:At?we.createElement(Ne.Z,null):we.createElement(ue.Z,null)}[Zt?"collapsed":"expanded"],Qt=tt!==null?qe||we.createElement("div",{className:`${Fe}-trigger`,onClick:_n,style:{width:ye}},tt||Xe):null,Bt=Object.assign(Object.assign({},kt),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),lt=Pe()(Fe,`${Fe}-${Te}`,{[`${Fe}-collapsed`]:!!Zt,[`${Fe}-has-trigger`]:st&&tt!==null&&!qe,[`${Fe}-below`]:!!Hn,[`${Fe}-zero-width`]:parseFloat(ye)===0},Ve);return we.createElement("aside",Object.assign({className:lt},de,{style:Bt,ref:Qe}),we.createElement("div",{className:`${Fe}-children`},ke),st||Hn&&qe?Qt:null)},yn=we.useMemo(()=>({siderCollapsed:Zt}),[Zt]);return we.createElement(z.Provider,{value:yn},Je())})},84966:function(An,zt,ve){"use strict";ve.d(zt,{VY:function(){return z},$_:function(){return x},h4:function(){return b},Gs:function(){return be},ZP:function(){return ne}});var he=ve(3300),we=ve(92310),Me=ve.n(we),nt=ve(2738),Ge=ve(59301),He=ve(36355),pe=ve(83116),Ne=le=>{const{componentCls:xe,bodyBg:Ee,lightSiderBg:Qe,lightTriggerBg:We,lightTriggerColor:Ve}=le;return{[`${xe}-sider-light`]:{background:Qe,[`${xe}-sider-trigger`]:{color:Ve,background:We},[`${xe}-sider-zero-width-trigger`]:{color:Ve,background:We,border:`1px solid ${Ee}`,borderInlineStart:0}}}};const ue=le=>{const{antCls:xe,componentCls:Ee,colorText:Qe,triggerColor:We,footerBg:Ve,triggerBg:tt,headerHeight:ke,headerPadding:Ft,headerColor:Te,footerPadding:kt,triggerHeight:st,zeroTriggerHeight:At,zeroTriggerWidth:Dt,motionDurationMid:gt,motionDurationSlow:xt,fontSize:ft,borderRadius:it,bodyBg:en,headerBg:rn,siderBg:Pt}=le;return{[Ee]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:en,"&, *":{boxSizing:"border-box"},[`&${Ee}-has-sider`]:{flexDirection:"row",[`> ${Ee}, > ${Ee}-content`]:{width:0}},[`${Ee}-header, &${Ee}-footer`]:{flex:"0 0 auto"},[`${Ee}-sider`]:{position:"relative",minWidth:0,background:Pt,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${xe}-menu${xe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:st},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:st,color:We,lineHeight:`${st}px`,textAlign:"center",background:tt,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ke,insetInlineEnd:-Dt,zIndex:1,width:Dt,height:At,color:We,fontSize:le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Pt,borderStartStartRadius:0,borderStartEndRadius:it,borderEndEndRadius:it,borderEndStartRadius:0,cursor:"pointer",transition:`background ${xt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${xt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Dt,borderStartStartRadius:it,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:it}}}}},Ne(le)),{"&-rtl":{direction:"rtl"}}),[`${Ee}-header`]:{height:ke,padding:Ft,color:Te,lineHeight:`${ke}px`,background:rn,[`${xe}-menu`]:{lineHeight:"inherit"}},[`${Ee}-footer`]:{padding:kt,color:Qe,fontSize:ft,background:Ve},[`${Ee}-content`]:{flex:"auto",minHeight:0}}};var Oe=(0,pe.Z)("Layout",le=>[ue(le)],le=>{const{colorBgLayout:xe,controlHeight:Ee,controlHeightLG:Qe,colorText:We,controlHeightSM:Ve,marginXXS:tt,colorTextLightSolid:ke,colorBgContainer:Ft}=le,Te=Qe*1.25;return{colorBgHeader:"#001529",colorBgBody:xe,colorBgTrigger:"#002140",bodyBg:xe,headerBg:"#001529",headerHeight:Ee*2,headerPadding:`0 ${Te}px`,headerColor:We,footerPadding:`${Ve}px ${Te}px`,footerBg:xe,siderBg:"#001529",triggerHeight:Qe+tt*2,triggerBg:"#002140",triggerColor:ke,zeroTriggerWidth:Qe,zeroTriggerHeight:Qe,lightSiderBg:Ft,lightTriggerBg:Ft,lightTriggerColor:We}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Pe=function(le,xe){var Ee={};for(var Qe in le)Object.prototype.hasOwnProperty.call(le,Qe)&&xe.indexOf(Qe)<0&&(Ee[Qe]=le[Qe]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Qe=Object.getOwnPropertySymbols(le);Wenull,removeSider:()=>null}});function oe(le){let{suffixCls:xe,tagName:Ee,displayName:Qe}=le;return We=>Ge.forwardRef((tt,ke)=>Ge.createElement(We,Object.assign({ref:ke,suffixCls:xe,tagName:Ee},tt)))}const y=Ge.forwardRef((le,xe)=>{const{prefixCls:Ee,suffixCls:Qe,className:We,tagName:Ve}=le,tt=Pe(le,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ke}=Ge.useContext(He.E_),Ft=ke("layout",Ee),[Te,kt]=Oe(Ft),st=Qe?`${Ft}-${Qe}`:Ft;return Te(Ge.createElement(Ve,Object.assign({className:Me()(Ee||st,We,kt),ref:xe},tt)))}),a=Ge.forwardRef((le,xe)=>{const{direction:Ee}=Ge.useContext(He.E_),[Qe,We]=Ge.useState([]),{prefixCls:Ve,className:tt,rootClassName:ke,children:Ft,hasSider:Te,tagName:kt,style:st}=le,At=Pe(le,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Dt=(0,nt.Z)(At,["suffixCls"]),{getPrefixCls:gt,layout:xt}=Ge.useContext(He.E_),ft=gt("layout",Ve),[it,en]=Oe(ft),rn=Me()(ft,{[`${ft}-has-sider`]:typeof Te=="boolean"?Te:Qe.length>0,[`${ft}-rtl`]:Ee==="rtl"},xt==null?void 0:xt.className,tt,ke,en),Pt=Ge.useMemo(()=>({siderHook:{addSider:Zt=>{We(En=>[].concat((0,he.Z)(En),[Zt]))},removeSider:Zt=>{We(En=>En.filter(Hn=>Hn!==Zt))}}}),[]);return it(Ge.createElement(be.Provider,{value:Pt},Ge.createElement(kt,Object.assign({ref:xe,className:rn,style:Object.assign(Object.assign({},xt==null?void 0:xt.style),st)},Dt),Ft)))}),E=oe({tagName:"div",displayName:"Layout"})(a),b=oe({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=oe({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=oe({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ne=E},40875:function(An,zt,ve){"use strict";ve.d(zt,{J:function(){return He}});var he=ve(59301),we=ve(33234),Me=ve(70425),nt=function(pe,Be){var Ne={};for(var ue in pe)Object.prototype.hasOwnProperty.call(pe,ue)&&Be.indexOf(ue)<0&&(Ne[ue]=pe[ue]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,ue=Object.getOwnPropertySymbols(pe);Oe{const{children:Ne}=pe,ue=nt(pe,["children"]),Oe=he.useContext(Ge),Pe=he.useMemo(()=>Object.assign(Object.assign({},Oe),ue),[Oe,ue.prefixCls,ue.mode,ue.selectable]);return he.createElement(Ge.Provider,{value:Pe},he.createElement(we.BR,null,(0,Me.supportNodeRef)(Ne)?he.cloneElement(Ne,{ref:Be}):Ne))});zt.Z=Ge},20834:function(An,zt,ve){"use strict";ve.d(zt,{default:function(){return yn}});var he=ve(15285),we=ve(59301),Me=ve(45818),nt=ve(92310),Ge=ve.n(nt),He=ve(36355),pe=function(Fe,de){var Ae={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&de.indexOf(ye)<0&&(Ae[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{const{prefixCls:de,className:Ae,dashed:ye}=Fe,qe=pe(Fe,["prefixCls","className","dashed"]),{getPrefixCls:pt}=we.useContext(He.E_),Re=pt("menu",de),Xe=Ge()({[`${Re}-item-divider-dashed`]:!!ye},Ae);return we.createElement(he.iz,Object.assign({className:Xe},qe))},ue=ve(11592),Oe=ve(2738),Pe=ve(6848),be=ve(92343),y=(0,we.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Fe=>{var de;const{className:Ae,children:ye,icon:qe,title:pt,danger:Re}=Fe,{prefixCls:Xe,firstLevel:Qt,direction:Bt,disableMenuItemTitleTooltip:lt,inlineCollapsed:Yt}=we.useContext(y),wn=on=>{const Bn=we.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,be.l$)(ye)&&ye.type==="span")&&ye&&on&&Qt&&typeof ye=="string"?we.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):Bn},{siderCollapsed:jt}=we.useContext(Me.D);let fn=pt;typeof pt=="undefined"?fn=Qt?ye:"":pt===!1&&(fn="");const Tt={title:fn};!jt&&!Yt&&(Tt.title=null,Tt.open=!1);const Fn=(0,ue.Z)(ye).length;let dt=we.createElement(he.ck,Object.assign({},(0,Oe.Z)(Fe,["title","icon","danger"]),{className:Ge()({[`${Xe}-item-danger`]:Re,[`${Xe}-item-only-child`]:(qe?Fn+1:Fn)===1},Ae),title:typeof pt=="string"?pt:void 0}),(0,be.Tm)(qe,{className:Ge()((0,be.l$)(qe)?(de=qe.props)===null||de===void 0?void 0:de.className:"",`${Xe}-item-icon`)}),wn(Yt));return lt||(dt=we.createElement(Pe.Z,Object.assign({},Tt,{placement:Bt==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),dt)),dt},x=Fe=>{var de;const{popupClassName:Ae,icon:ye,title:qe,theme:pt}=Fe,Re=we.useContext(y),{prefixCls:Xe,inlineCollapsed:Qt,theme:Bt}=Re,lt=(0,he.Xl)();let Yt;if(!ye)Yt=Qt&&!lt.length&&qe&&typeof qe=="string"?we.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):we.createElement("span",{className:`${Xe}-title-content`},qe);else{const jt=(0,be.l$)(qe)&&qe.type==="span";Yt=we.createElement(we.Fragment,null,(0,be.Tm)(ye,{className:Ge()((0,be.l$)(ye)?(de=ye.props)===null||de===void 0?void 0:de.className:"",`${Xe}-item-icon`)}),jt?qe:we.createElement("span",{className:`${Xe}-title-content`},qe))}const wn=we.useMemo(()=>Object.assign(Object.assign({},Re),{firstLevel:!1}),[Re]);return we.createElement(y.Provider,{value:wn},we.createElement(he.Wd,Object.assign({},(0,Oe.Z)(Fe,["icon"]),{title:Yt,popupClassName:Ge()(Xe,Ae,`${Xe}-${pt||Bt}`)})))},z=ve(18785),ne=ve(70425),le=ve(62892),xe=ve(40875),Ee=function(Fe,de){var Ae={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&de.indexOf(ye)<0&&(Ae[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{if(de&&typeof de=="object"){const ye=de,{label:qe,children:pt,key:Re,type:Xe}=ye,Qt=Ee(ye,["label","children","key","type"]),Bt=Re!=null?Re:`tmp-${Ae}`;return pt||Xe==="group"?Xe==="group"?we.createElement(he.BW,Object.assign({key:Bt},Qt,{title:qe}),Qe(pt)):we.createElement(x,Object.assign({key:Bt},Qt,{title:qe}),Qe(pt)):Xe==="divider"?we.createElement(Ne,Object.assign({key:Bt},Qt)):we.createElement(E,Object.assign({key:Bt},Qt),qe)}return null}).filter(de=>de)}function We(Fe){return we.useMemo(()=>Fe&&Qe(Fe),[Fe])}var Ve=ve(64993),tt=ve(17313),ke=ve(8378),Ft=ve(13826),Te=ve(29878),kt=ve(83116),st=ve(37613),Dt=Fe=>{const{componentCls:de,motionDurationSlow:Ae,horizontalLineHeight:ye,colorSplit:qe,lineWidth:pt,lineType:Re,itemPaddingInline:Xe}=Fe;return{[`${de}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${pt}px ${Re} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${de}-item, ${de}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${de}-item:hover, > ${de}-item-active, > ${de}-submenu ${de}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${de}-item, ${de}-submenu-title`]:{transition:[`border-color ${Ae}`,`background ${Ae}`].join(",")},[`${de}-submenu-arrow`]:{display:"none"}}}},xt=Fe=>{let{componentCls:de,menuArrowOffset:Ae}=Fe;return{[`${de}-rtl`]:{direction:"rtl"},[`${de}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${de}-rtl${de}-vertical, ${de}-submenu-rtl ${de}-vertical`]:{[`${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Ae})`},"&::after":{transform:`rotate(45deg) translateY(${Ae})`}}}}};const ft=Fe=>Object.assign({},(0,tt.oN)(Fe));var en=(Fe,de)=>{const{componentCls:Ae,itemColor:ye,itemSelectedColor:qe,groupTitleColor:pt,itemBg:Re,subMenuItemBg:Xe,itemSelectedBg:Qt,activeBarHeight:Bt,activeBarWidth:lt,activeBarBorderWidth:Yt,motionDurationSlow:wn,motionEaseInOut:jt,motionEaseOut:fn,itemPaddingInline:Tt,motionDurationMid:Fn,itemHoverColor:dt,lineType:on,colorSplit:Bn,itemDisabledColor:bn,dangerItemColor:er,dangerItemHoverColor:cr,dangerItemSelectedColor:yr,dangerItemActiveBg:Cr,dangerItemSelectedBg:mr,itemHoverBg:ur,itemActiveBg:hr,menuSubMenuBg:br,horizontalItemSelectedColor:qr,horizontalItemSelectedBg:ha,horizontalItemBorderRadius:Qr,horizontalItemHoverBg:Qa,popupBg:Ua}=Fe;return{[`${Ae}-${de}, ${Ae}-${de} > ${Ae}`]:{color:ye,background:Re,[`&${Ae}-root:focus-visible`]:Object.assign({},ft(Fe)),[`${Ae}-item-group-title`]:{color:pt},[`${Ae}-submenu-selected`]:{[`> ${Ae}-submenu-title`]:{color:qe}},[`${Ae}-item-disabled, ${Ae}-submenu-disabled`]:{color:`${bn} !important`},[`${Ae}-item:not(${Ae}-item-selected):not(${Ae}-submenu-selected)`]:{[`&:hover, > ${Ae}-submenu-title:hover`]:{color:dt}},[`&:not(${Ae}-horizontal)`]:{[`${Ae}-item:not(${Ae}-item-selected)`]:{"&:hover":{backgroundColor:ur},"&:active":{backgroundColor:hr}},[`${Ae}-submenu-title`]:{"&:hover":{backgroundColor:ur},"&:active":{backgroundColor:hr}}},[`${Ae}-item-danger`]:{color:er,[`&${Ae}-item:hover`]:{[`&:not(${Ae}-item-selected):not(${Ae}-submenu-selected)`]:{color:cr}},[`&${Ae}-item:active`]:{background:Cr}},[`${Ae}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Ae}-item-selected`]:{color:qe,[`&${Ae}-item-danger`]:{color:yr},"a, a:hover":{color:"inherit"}},[`& ${Ae}-item-selected`]:{backgroundColor:Qt,[`&${Ae}-item-danger`]:{backgroundColor:mr}},[`${Ae}-item, ${Ae}-submenu-title`]:{[`&:not(${Ae}-item-disabled):focus-visible`]:Object.assign({},ft(Fe))},[`&${Ae}-submenu > ${Ae}`]:{backgroundColor:br},[`&${Ae}-popup > ${Ae}`]:{backgroundColor:Ua},[`&${Ae}-horizontal`]:Object.assign(Object.assign({},de==="dark"?{borderBottom:0}:{}),{[`> ${Ae}-item, > ${Ae}-submenu`]:{top:Yt,marginTop:-Yt,marginBottom:0,borderRadius:Qr,"&::after":{position:"absolute",insetInline:Tt,bottom:0,borderBottom:`${Bt}px solid transparent`,transition:`border-color ${wn} ${jt}`,content:'""'},"&:hover, &-active, &-open":{background:Qa,"&::after":{borderBottomWidth:Bt,borderBottomColor:qr}},"&-selected":{color:qr,backgroundColor:ha,"&:hover":{backgroundColor:ha},"&::after":{borderBottomWidth:Bt,borderBottomColor:qr}}}}),[`&${Ae}-root`]:{[`&${Ae}-inline, &${Ae}-vertical`]:{borderInlineEnd:`${Yt}px ${on} ${Bn}`}},[`&${Ae}-inline`]:{[`${Ae}-sub${Ae}-inline`]:{background:Xe},[`${Ae}-item, ${Ae}-submenu-title`]:Yt&<?{width:`calc(100% + ${Yt}px)`}:{},[`${Ae}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${lt}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Fn} ${fn}`,`opacity ${Fn} ${fn}`].join(","),content:'""'},[`&${Ae}-item-danger`]:{"&::after":{borderInlineEndColor:yr}}},[`${Ae}-selected, ${Ae}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Fn} ${jt}`,`opacity ${Fn} ${jt}`].join(",")}}}}}};const rn=Fe=>{const{componentCls:de,itemHeight:Ae,itemMarginInline:ye,padding:qe,menuArrowSize:pt,marginXS:Re,itemMarginBlock:Xe}=Fe,Qt=qe+pt+Re;return{[`${de}-item`]:{position:"relative",overflow:"hidden"},[`${de}-item, ${de}-submenu-title`]:{height:Ae,lineHeight:`${Ae}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${de}-item, > ${de}-submenu > ${de}-submenu-title`]:{height:Ae,lineHeight:`${Ae}px`},[`${de}-item-group-list ${de}-submenu-title, ${de}-submenu-title`]:{paddingInlineEnd:Qt}}};var Zt=Fe=>{const{componentCls:de,iconCls:Ae,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:Re,motionDurationMid:Xe,motionEaseOut:Qt,paddingXL:Bt,itemMarginInline:lt,fontSizeLG:Yt,motionDurationSlow:wn,paddingXS:jt,boxShadowSecondary:fn,collapsedWidth:Tt,collapsedIconSize:Fn}=Fe,dt={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[de]:{"&-inline, &-vertical":Object.assign({[`&${de}-root`]:{boxShadow:"none"}},rn(Fe))},[`${de}-submenu-popup`]:{[`${de}-vertical`]:Object.assign(Object.assign({},rn(Fe)),{boxShadow:fn})}},{[`${de}-submenu-popup ${de}-vertical${de}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${Re*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${de}-inline`]:{width:"100%",[`&${de}-root`]:{[`${de}-item, ${de}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${wn}`,`background ${wn}`,`padding ${Xe} ${Qt}`].join(","),[`> ${de}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${de}-sub${de}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${de}-submenu > ${de}-submenu-title`]:dt,[`& ${de}-item-group-title`]:{paddingInlineStart:Bt}},[`${de}-item`]:dt}},{[`${de}-inline-collapsed`]:{width:Tt,[`&${de}-root`]:{[`${de}-item, ${de}-submenu ${de}-submenu-title`]:{[`> ${de}-inline-collapsed-noicon`]:{fontSize:Yt,textAlign:"center"}}},[`> ${de}-item, > ${de}-item-group > ${de}-item-group-list > ${de}-item, > ${de}-item-group > ${de}-item-group-list > ${de}-submenu > ${de}-submenu-title, > ${de}-submenu > ${de}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Yt/2}px - ${lt}px)`,textOverflow:"clip",[` ${de}-submenu-arrow, ${de}-submenu-expand-icon `]:{opacity:0},[`${de}-item-icon, ${Ae}`]:{margin:0,fontSize:Fn,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${de}-item-icon, ${Ae}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${de}-item-icon, ${Ae}`]:{display:"none"},"a, a:hover":{color:qe}},[`${de}-item-group-title`]:Object.assign(Object.assign({},tt.vS),{paddingInline:jt})}}]};const En=Fe=>{const{componentCls:de,motionDurationSlow:Ae,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:pt,iconCls:Re,iconSize:Xe,iconMarginInlineEnd:Qt}=Fe;return{[`${de}-item, ${de}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Ae}`,`background ${Ae}`,`padding ${Ae} ${qe}`].join(","),[`${de}-item-icon, ${Re}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${pt}`,`margin ${Ae} ${qe}`,`color ${Ae}`].join(","),"+ span":{marginInlineStart:Qt,opacity:1,transition:[`opacity ${Ae} ${qe}`,`margin ${Ae}`,`color ${Ae}`].join(",")}},[`${de}-item-icon`]:Object.assign({},(0,tt.Ro)()),[`&${de}-item-only-child`]:{[`> ${Re}, > ${de}-item-icon`]:{marginInlineEnd:0}}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${de}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Hn=Fe=>{const{componentCls:de,motionDurationSlow:Ae,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:Re}=Fe;return{[`${de}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Ae} ${ye}, opacity ${Ae}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:pt*.6,height:pt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${Ae} ${ye}`,`transform ${Ae} ${ye}`,`top ${Ae} ${ye}`,`color ${Ae} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Re})`},"&::after":{transform:`rotate(-45deg) translateY(${Re})`}}}}},mn=Fe=>{const{antCls:de,componentCls:Ae,fontSize:ye,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:Re,paddingXS:Xe,padding:Qt,colorSplit:Bt,lineWidth:lt,zIndexPopup:Yt,borderRadiusLG:wn,subMenuItemBorderRadius:jt,menuArrowSize:fn,menuArrowOffset:Tt,lineType:Fn,menuPanelMaskInset:dt,groupTitleLineHeight:on,groupTitleFontSize:Bn}=Fe;return[{"":{[`${Ae}`]:Object.assign(Object.assign({},(0,tt.dF)()),{"&-hidden":{display:"none"}})},[`${Ae}-submenu-hidden`]:{display:"none"}},{[Ae]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(Fe)),(0,tt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Ae}-item`]:{flex:"none"}},[`${Ae}-item, ${Ae}-submenu, ${Ae}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${Ae}-item-group-title`]:{padding:`${Xe}px ${Qt}px`,fontSize:Bn,lineHeight:on,transition:`all ${qe}`},[`&-horizontal ${Ae}-submenu`]:{transition:[`border-color ${qe} ${Re}`,`background ${qe} ${Re}`].join(",")},[`${Ae}-submenu, ${Ae}-submenu-inline`]:{transition:[`border-color ${qe} ${Re}`,`background ${qe} ${Re}`,`padding ${pt} ${Re}`].join(",")},[`${Ae}-submenu ${Ae}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Re}`,`padding ${qe} ${Re}`].join(",")},[`${Ae}-title-content`]:{transition:`color ${qe}`},[`${Ae}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Ae}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Bt,borderStyle:Fn,borderWidth:0,borderTopWidth:lt,marginBlock:lt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),En(Fe)),{[`${Ae}-item-group`]:{[`${Ae}-item-group-list`]:{margin:0,padding:0,[`${Ae}-item, ${Ae}-submenu-title`]:{paddingInline:`${ye*2}px ${Qt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Yt,borderRadius:wn,boxShadow:"none",transformOrigin:"0 0",[`&${Ae}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${dt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:dt},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Fe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Fe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Fe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Fe.paddingXS},[`> ${Ae}`]:Object.assign(Object.assign(Object.assign({borderRadius:wn},En(Fe)),Hn(Fe)),{[`${Ae}-item, ${Ae}-submenu > ${Ae}-submenu-title`]:{borderRadius:jt},[`${Ae}-submenu-title::after`]:{transition:`transform ${qe} ${Re}`}})}}),Hn(Fe)),{[`&-inline-collapsed ${Ae}-submenu-arrow, &-inline ${Ae}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Tt})`},"&::after":{transform:`rotate(45deg) translateX(-${Tt})`}},[`${Ae}-submenu-open${Ae}-submenu-inline > ${Ae}-submenu-title > ${Ae}-submenu-arrow`]:{transform:`translateY(-${fn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Tt})`},"&::before":{transform:`rotate(45deg) translateX(${Tt})`}}})},{[`${de}-layout-header`]:{[Ae]:{lineHeight:"inherit"}}}]};var Gn=(Fe,de)=>(0,kt.Z)("Menu",ye=>{if(de===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:Re,controlHeightLG:Xe,fontSize:Qt,darkItemColor:Bt,darkDangerItemColor:lt,darkItemBg:Yt,darkSubMenuItemBg:wn,darkItemSelectedColor:jt,darkItemSelectedBg:fn,darkDangerItemSelectedBg:Tt,darkItemHoverBg:Fn,darkGroupTitleColor:dt,darkItemHoverColor:on,darkItemDisabledColor:Bn,darkDangerItemHoverColor:bn,darkDangerItemSelectedColor:er,darkDangerItemActiveBg:cr}=ye,yr=Qt/7*5,Cr=(0,st.TS)(ye,{menuArrowSize:yr,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${yr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),mr=(0,st.TS)(Cr,{itemColor:Bt,itemHoverColor:on,groupTitleColor:dt,itemSelectedColor:jt,itemBg:Yt,popupBg:Yt,subMenuItemBg:wn,itemActiveBg:"transparent",itemSelectedBg:fn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Fn,itemDisabledColor:Bn,dangerItemColor:lt,dangerItemHoverColor:bn,dangerItemSelectedColor:er,dangerItemActiveBg:cr,dangerItemSelectedBg:Tt,menuSubMenuBg:wn,horizontalItemSelectedColor:Re,horizontalItemSelectedBg:pt});return[mn(Cr),Dt(Cr),Zt(Cr),en(Cr,"light"),en(mr,"dark"),xt(Cr),(0,ke.Z)(Cr),(0,Ft.oN)(Cr,"slide-up"),(0,Ft.oN)(Cr,"slide-down"),(0,Te._y)(Cr,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:Re,colorErrorBg:Xe,colorText:Qt,colorTextDescription:Bt,colorBgContainer:lt,colorFillAlter:Yt,colorFillContent:wn,lineWidth:jt,lineWidthBold:fn,controlItemBgActive:Tt,colorBgTextHover:Fn,controlHeightLG:dt,lineHeight:on,colorBgElevated:Bn,marginXXS:bn,padding:er,fontSize:cr,controlHeightSM:yr,fontSizeLG:Cr,colorTextLightSolid:mr,colorErrorHover:ur}=ye,hr=new Ve.C(mr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Qt,itemColor:Qt,colorItemTextHover:Qt,itemHoverColor:Qt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:Bt,groupTitleColor:Bt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:lt,itemBg:lt,colorItemBgHover:Fn,itemHoverBg:Fn,colorItemBgActive:wn,itemActiveBg:Tt,colorSubItemBg:Yt,subMenuItemBg:Yt,colorItemBgSelected:Tt,itemSelectedBg:Tt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:fn,activeBarHeight:fn,colorActiveBarBorderSize:jt,activeBarBorderWidth:jt,colorItemTextDisabled:Re,itemDisabledColor:Re,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:dt,groupTitleLineHeight:on,collapsedWidth:dt*2,popupBg:Bn,itemMarginBlock:bn,itemPaddingInline:er,horizontalLineHeight:`${dt*1.15}px`,iconSize:cr,iconMarginInlineEnd:yr-cr,collapsedIconSize:Cr,groupTitleFontSize:cr,darkItemDisabledColor:new Ve.C(mr).setAlpha(.25).toRgbString(),darkItemColor:hr,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:mr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:hr,darkItemHoverColor:mr,darkDangerItemHoverColor:ur,darkDangerItemSelectedColor:mr,darkDangerItemActiveBg:pt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Fe),Nt=function(Fe,de){var Ae={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&de.indexOf(ye)<0&&(Ae[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{var Ae,ye;const qe=we.useContext(xe.Z),pt=qe||{},{getPrefixCls:Re,getPopupContainer:Xe,direction:Qt,menu:Bt}=we.useContext(He.E_),lt=Re(),{prefixCls:Yt,className:wn,style:jt,theme:fn="light",expandIcon:Tt,_internalDisableMenuItemTitleTooltip:Fn,inlineCollapsed:dt,siderCollapsed:on,items:Bn,children:bn,rootClassName:er,mode:cr,selectable:yr,onClick:Cr,overflowedIndicatorPopupClassName:mr}=Fe,ur=Nt(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),hr=(0,Oe.Z)(ur,["collapsedWidth"]),br=We(Bn)||bn;(Ae=pt.validator)===null||Ae===void 0||Ae.call(pt,{mode:cr});const qr=(0,ne.useEvent)(function(){var oo;Cr==null||Cr.apply(void 0,arguments),(oo=pt.onClick)===null||oo===void 0||oo.call(pt)}),ha=pt.mode||cr,Qr=yr!=null?yr:pt.selectable,Qa=we.useMemo(()=>on!==void 0?on:dt,[dt,on]),Ua={horizontal:{motionName:`${lt}-slide-up`},inline:(0,le.Z)(lt),other:{motionName:`${lt}-zoom-big`}},Rr=Re("menu",Yt||pt.prefixCls),[gn,wo]=Gn(Rr,!qe),eo=Ge()(`${Rr}-${fn}`,Bt==null?void 0:Bt.className,wn);let Oo;if(typeof Tt=="function")Oo=Tt;else if(Tt===null||Tt===!1)Oo=null;else if(pt.expandIcon===null||pt.expandIcon===!1)Oo=null;else{const oo=Tt!=null?Tt:pt.expandIcon;Oo=(0,be.Tm)(oo,{className:Ge()(`${Rr}-submenu-expand-icon`,(0,be.l$)(oo)?(ye=oo.props)===null||ye===void 0?void 0:ye.className:"")})}const Jo=we.useMemo(()=>({prefixCls:Rr,inlineCollapsed:Qa||!1,direction:Qt,firstLevel:!0,theme:fn,mode:ha,disableMenuItemTitleTooltip:Fn}),[Rr,Qa,Qt,Fn,fn]);return gn(we.createElement(xe.Z.Provider,{value:null},we.createElement(y.Provider,{value:Jo},we.createElement(he.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:we.createElement(z.Z,null),overflowedIndicatorPopupClassName:Ge()(Rr,`${Rr}-${fn}`,mr),mode:ha,selectable:Qr,onClick:qr},hr,{inlineCollapsed:Qa,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),jt),className:eo,prefixCls:Rr,direction:Qt,defaultMotions:Ua,expandIcon:Oo,ref:de,rootClassName:Ge()(er,wo)}),br))))});const Je=(0,we.forwardRef)((Fe,de)=>{const Ae=(0,we.useRef)(null),ye=we.useContext(Me.D);return(0,we.useImperativeHandle)(de,()=>({menu:Ae.current,focus:qe=>{var pt;(pt=Ae.current)===null||pt===void 0||pt.focus(qe)}})),we.createElement(or,Object.assign({ref:Ae},Fe,ye))});Je.Item=E,Je.SubMenu=x,Je.Divider=Ne,Je.ItemGroup=he.BW;var yn=Je},58421:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return pt}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nt=Me,Ge=ve(7657),He=function(Xe,Qt){return we.createElement(Ge.Z,(0,he.Z)({},Xe,{ref:Qt,icon:nt}))},pe=we.forwardRef(He),Be=pe,Ne=ve(49198),ue=ve(33853),Oe=ve(38819),Pe=ve(92310),be=ve.n(Pe),oe=ve(74430),y=ve(27247),a=ve(33377),E=ve(93912),b=ve(18881),x=ve(85461),z=ve(26112),ne={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},le=ne,xe=ve(91735),Ee=function(Re){(0,b.Z)(Qt,Re);var Xe=(0,x.Z)(Qt);function Qt(){var Bt;(0,a.Z)(this,Qt);for(var lt=arguments.length,Yt=new Array(lt),wn=0;wn=0||jt.relatedTarget.className.indexOf("".concat(dt,"-item"))>=0))&&Fn(Bt.getValidValue()))},Bt.go=function(jt){var fn=Bt.state.goInputText;fn!==""&&(jt.keyCode===le.ENTER||jt.type==="click")&&(Bt.setState({goInputText:""}),Bt.props.quickGo(Bt.getValidValue()))},Bt}return(0,E.Z)(Qt,[{key:"getPageSizeOptions",value:function(){var lt=this.props,Yt=lt.pageSize,wn=lt.pageSizeOptions;return wn.some(function(jt){return jt.toString()===Yt.toString()})?wn:wn.concat([Yt.toString()]).sort(function(jt,fn){var Tt=Number.isNaN(Number(jt))?0:Number(jt),Fn=Number.isNaN(Number(fn))?0:Number(fn);return Tt-Fn})}},{key:"render",value:function(){var lt=this,Yt=this.props,wn=Yt.pageSize,jt=Yt.locale,fn=Yt.rootPrefixCls,Tt=Yt.changeSize,Fn=Yt.quickGo,dt=Yt.goButton,on=Yt.selectComponentClass,Bn=Yt.buildOptionText,bn=Yt.selectPrefixCls,er=Yt.disabled,cr=this.state.goInputText,yr="".concat(fn,"-options"),Cr=on,mr=null,ur=null,hr=null;if(!Tt&&!Fn)return null;var br=this.getPageSizeOptions();if(Tt&&Cr){var qr=br.map(function(ha,Qr){return we.createElement(Cr.Option,{key:Qr,value:ha.toString()},(Bn||lt.buildOptionText)(ha))});mr=we.createElement(Cr,{disabled:er,prefixCls:bn,showSearch:!1,className:"".concat(yr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(wn||br[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Qr){return Qr.parentNode},"aria-label":jt.page_size,defaultOpen:!1},qr)}return Fn&&(dt&&(hr=typeof dt=="boolean"?we.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:er,className:"".concat(yr,"-quick-jumper-button")},jt.jump_to_confirm):we.createElement("span",{onClick:this.go,onKeyUp:this.go},dt)),ur=we.createElement("div",{className:"".concat(yr,"-quick-jumper")},jt.jump_to,we.createElement("input",{disabled:er,type:"text",value:cr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":jt.page}),jt.page,hr)),we.createElement("li",{className:"".concat(yr)},mr,ur)}}]),Qt}(we.Component);Ee.defaultProps={pageSizeOptions:["10","20","50","100"]};var Qe=Ee,We=function(Xe){var Qt,Bt=Xe.rootPrefixCls,lt=Xe.page,Yt=Xe.active,wn=Xe.className,jt=Xe.showTitle,fn=Xe.onClick,Tt=Xe.onKeyPress,Fn=Xe.itemRender,dt="".concat(Bt,"-item"),on=be()(dt,"".concat(dt,"-").concat(lt),(Qt={},(0,oe.Z)(Qt,"".concat(dt,"-active"),Yt),(0,oe.Z)(Qt,"".concat(dt,"-disabled"),!lt),(0,oe.Z)(Qt,Xe.className,wn),Qt)),Bn=function(){fn(lt)},bn=function(yr){Tt(yr,fn,lt)},er=Fn(lt,"page",we.createElement("a",{rel:"nofollow"},lt));return er?we.createElement("li",{title:jt?lt.toString():null,className:on,onClick:Bn,onKeyPress:bn,tabIndex:0},er):null},Ve=We;function tt(){}function ke(Re){var Xe=Number(Re);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var Ft=function(Xe,Qt,Bt){return Bt};function Te(Re,Xe,Qt){var Bt=typeof Re=="undefined"?Xe.pageSize:Re;return Math.floor((Qt.total-1)/Bt)+1}var kt=function(Re){(0,b.Z)(Qt,Re);var Xe=(0,x.Z)(Qt);function Qt(Bt){var lt;(0,a.Z)(this,Qt),lt=Xe.call(this,Bt),lt.paginationNode=we.createRef(),lt.getJumpPrevPage=function(){return Math.max(1,lt.state.current-(lt.props.showLessItems?3:5))},lt.getJumpNextPage=function(){return Math.min(Te(void 0,lt.state,lt.props),lt.state.current+(lt.props.showLessItems?3:5))},lt.getItemIcon=function(Tt,Fn){var dt=lt.props.prefixCls,on=Tt||we.createElement("button",{type:"button","aria-label":Fn,className:"".concat(dt,"-item-link")});return typeof Tt=="function"&&(on=we.createElement(Tt,(0,y.Z)({},lt.props))),on},lt.isValid=function(Tt){var Fn=lt.props.total;return ke(Tt)&&Tt!==lt.state.current&&ke(Fn)&&Fn>0},lt.shouldDisplayQuickJumper=function(){var Tt=lt.props,Fn=Tt.showQuickJumper,dt=Tt.total,on=lt.state.pageSize;return dt<=on?!1:Fn},lt.handleKeyDown=function(Tt){(Tt.keyCode===le.ARROW_UP||Tt.keyCode===le.ARROW_DOWN)&&Tt.preventDefault()},lt.handleKeyUp=function(Tt){var Fn=lt.getValidValue(Tt),dt=lt.state.currentInputValue;Fn!==dt&<.setState({currentInputValue:Fn}),Tt.keyCode===le.ENTER?lt.handleChange(Fn):Tt.keyCode===le.ARROW_UP?lt.handleChange(Fn-1):Tt.keyCode===le.ARROW_DOWN&<.handleChange(Fn+1)},lt.handleBlur=function(Tt){var Fn=lt.getValidValue(Tt);lt.handleChange(Fn)},lt.changePageSize=function(Tt){var Fn=lt.state.current,dt=Te(Tt,lt.state,lt.props);Fn=Fn>dt?dt:Fn,dt===0&&(Fn=lt.state.current),typeof Tt=="number"&&("pageSize"in lt.props||lt.setState({pageSize:Tt}),"current"in lt.props||lt.setState({current:Fn,currentInputValue:Fn})),lt.props.onShowSizeChange(Fn,Tt),"onChange"in lt.props&<.props.onChange&<.props.onChange(Fn,Tt)},lt.handleChange=function(Tt){var Fn=lt.props,dt=Fn.disabled,on=Fn.onChange,Bn=lt.state,bn=Bn.pageSize,er=Bn.current,cr=Bn.currentInputValue;if(lt.isValid(Tt)&&!dt){var yr=Te(void 0,lt.state,lt.props),Cr=Tt;return Tt>yr?Cr=yr:Tt<1&&(Cr=1),"current"in lt.props||lt.setState({current:Cr}),Cr!==cr&<.setState({currentInputValue:Cr}),on(Cr,bn),Cr}return er},lt.prev=function(){lt.hasPrev()&<.handleChange(lt.state.current-1)},lt.next=function(){lt.hasNext()&<.handleChange(lt.state.current+1)},lt.jumpPrev=function(){lt.handleChange(lt.getJumpPrevPage())},lt.jumpNext=function(){lt.handleChange(lt.getJumpNextPage())},lt.hasPrev=function(){return lt.state.current>1},lt.hasNext=function(){return lt.state.current2?dt-2:0),Bn=2;Bn=wn?fn=wn:fn=Number(Yt),fn}},{key:"getShowSizeChanger",value:function(){var lt=this.props,Yt=lt.showSizeChanger,wn=lt.total,jt=lt.totalBoundaryShowSizeChanger;return typeof Yt!="undefined"?Yt:wn>jt}},{key:"render",value:function(){var lt=this.props,Yt=lt.prefixCls,wn=lt.className,jt=lt.style,fn=lt.disabled,Tt=lt.hideOnSinglePage,Fn=lt.total,dt=lt.locale,on=lt.showQuickJumper,Bn=lt.showLessItems,bn=lt.showTitle,er=lt.showTotal,cr=lt.simple,yr=lt.itemRender,Cr=lt.showPrevNextJumpers,mr=lt.jumpPrevIcon,ur=lt.jumpNextIcon,hr=lt.selectComponentClass,br=lt.selectPrefixCls,qr=lt.pageSizeOptions,ha=this.state,Qr=ha.current,Qa=ha.pageSize,Ua=ha.currentInputValue;if(Tt===!0&&Fn<=Qa)return null;var Rr=Te(void 0,this.state,this.props),gn=[],wo=null,eo=null,Oo=null,Jo=null,oo=null,Xo=on&&on.goButton,qo=Bn?1:2,Co=Qr-1>0?Qr-1:0,Dn=Qr+1Fn?Fn:Qr*Qa]));if(cr){Xo&&(typeof Xo=="boolean"?oo=we.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},dt.jump_to_confirm):oo=we.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Xo),oo=we.createElement("li",{title:bn?"".concat(dt.jump_to).concat(Qr,"/").concat(Rr):null,className:"".concat(Yt,"-simple-pager")},oo));var Ur=this.renderPrev(Co);return we.createElement("ul",(0,he.Z)({className:be()(Yt,"".concat(Yt,"-simple"),(0,oe.Z)({},"".concat(Yt,"-disabled"),fn),wn),style:jt,ref:this.paginationNode},kn),vn,Ur?we.createElement("li",{title:bn?dt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Yt,"-prev"),(0,oe.Z)({},"".concat(Yt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ur):null,we.createElement("li",{title:bn?"".concat(Qr,"/").concat(Rr):null,className:"".concat(Yt,"-simple-pager")},we.createElement("input",{type:"text",value:Ua,disabled:fn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),we.createElement("span",{className:"".concat(Yt,"-slash")},"/"),Rr),we.createElement("li",{title:bn?dt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:be()("".concat(Yt,"-next"),(0,oe.Z)({},"".concat(Yt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Dn)),oo)}if(Rr<=3+qo*2){var Aa={locale:dt,rootPrefixCls:Yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:bn,itemRender:yr};Rr||gn.push(we.createElement(Ve,(0,he.Z)({},Aa,{key:"noPager",page:1,className:"".concat(Yt,"-item-disabled")})));for(var Nr=1;Nr<=Rr;Nr+=1){var ga=Qr===Nr;gn.push(we.createElement(Ve,(0,he.Z)({},Aa,{key:Nr,page:Nr,active:ga})))}}else{var xa=Bn?dt.prev_3:dt.prev_5,wa=Bn?dt.next_3:dt.next_5,to=yr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(mr,"prev page")),$o=yr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ur,"next page"));Cr&&(wo=to?we.createElement("li",{title:bn?xa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:be()("".concat(Yt,"-jump-prev"),(0,oe.Z)({},"".concat(Yt,"-jump-prev-custom-icon"),!!mr))},to):null,eo=$o?we.createElement("li",{title:bn?wa:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:be()("".concat(Yt,"-jump-next"),(0,oe.Z)({},"".concat(Yt,"-jump-next-custom-icon"),!!ur))},$o):null),Jo=we.createElement(Ve,{locale:dt,last:!0,rootPrefixCls:Yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Rr,page:Rr,active:!1,showTitle:bn,itemRender:yr}),Oo=we.createElement(Ve,{locale:dt,rootPrefixCls:Yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:bn,itemRender:yr});var Er=Math.max(1,Qr-qo),Ea=Math.min(Qr+qo,Rr);Qr-1<=qo&&(Ea=1+qo*2),Rr-Qr<=qo&&(Er=Rr-qo*2);for(var Ho=Er;Ho<=Ea;Ho+=1){var Lo=Qr===Ho;gn.push(we.createElement(Ve,{locale:dt,rootPrefixCls:Yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ho,page:Ho,active:Lo,showTitle:bn,itemRender:yr}))}Qr-1>=qo*2&&Qr!==3&&(gn[0]=(0,we.cloneElement)(gn[0],{className:"".concat(Yt,"-item-after-jump-prev")}),gn.unshift(wo)),Rr-Qr>=qo*2&&Qr!==Rr-2&&(gn[gn.length-1]=(0,we.cloneElement)(gn[gn.length-1],{className:"".concat(Yt,"-item-before-jump-next")}),gn.push(eo)),Er!==1&&gn.unshift(Oo),Ea!==Rr&&gn.push(Jo)}var Qo=!this.hasPrev()||!Rr,io=!this.hasNext()||!Rr,hi=this.renderPrev(Co),Di=this.renderNext(Dn);return we.createElement("ul",(0,he.Z)({className:be()(Yt,wn,(0,oe.Z)({},"".concat(Yt,"-disabled"),fn)),style:jt,ref:this.paginationNode},kn),vn,hi?we.createElement("li",{title:bn?dt.prev_page:null,onClick:this.prev,tabIndex:Qo?null:0,onKeyPress:this.runIfEnterPrev,className:be()("".concat(Yt,"-prev"),(0,oe.Z)({},"".concat(Yt,"-disabled"),Qo)),"aria-disabled":Qo},hi):null,gn,Di?we.createElement("li",{title:bn?dt.next_page:null,onClick:this.next,tabIndex:io?null:0,onKeyPress:this.runIfEnterNext,className:be()("".concat(Yt,"-next"),(0,oe.Z)({},"".concat(Yt,"-disabled"),io)),"aria-disabled":io},Di):null,we.createElement(Qe,{disabled:fn,locale:dt,rootPrefixCls:Yt,selectComponentClass:hr,selectPrefixCls:br,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Qr,pageSize:Qa,pageSizeOptions:qr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Xo}))}}],[{key:"getDerivedStateFromProps",value:function(lt,Yt){var wn={};if("current"in lt&&(wn.current=lt.current,lt.current!==Yt.current&&(wn.currentInputValue=wn.current)),"pageSize"in lt&<.pageSize!==Yt.pageSize){var jt=Yt.current,fn=Te(lt.pageSize,Yt,lt);jt=jt>fn?fn:jt,"current"in lt||(wn.current=jt,wn.currentInputValue=jt),wn.pageSize=lt.pageSize}return wn}}]),Qt}(we.Component);kt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:tt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:tt,locale:xe.Z,style:{},itemRender:Ft,totalBoundaryShowSizeChanger:50};var st=kt,At=ve(22075),Dt=ve(36355),gt=ve(19716),xt=ve(8628),ft=ve(9763),it=ve(57809);const en=Re=>we.createElement(it.default,Object.assign({},Re,{showSearch:!0,size:"small"})),rn=Re=>we.createElement(it.default,Object.assign({},Re,{showSearch:!0,size:"middle"}));en.Option=it.default.Option,rn.Option=it.default.Option;var Pt=ve(9937),Zt=ve(17313),En=ve(83116),Hn=ve(37613);const mn=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Re.colorBorder,backgroundColor:Re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Re.itemActiveBgDisabled},a:{color:Re.itemActiveColorDisabled}}},[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Re.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Gn=Re=>{const{componentCls:Xe}=Re;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[` &${Xe}-mini ${Xe}-prev ${Xe}-item-link, &${Xe}-mini ${Xe}-next ${Xe}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Re.itemSizeSM,marginInlineEnd:0,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Pt.x0)(Re)),{width:Re.paginationMiniQuickJumperInputWidth,height:Re.controlHeightSM})}}}},Nt=Re=>{const{componentCls:Xe}=Re;return{[` &${Xe}-simple ${Xe}-prev, &${Xe}-simple ${Xe}-next `]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-item-link`]:{height:Re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive},"&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}}},[`&${Xe}-simple ${Xe}-simple-pager`]:{display:"inline-block",height:Re.itemSizeSM,marginInlineEnd:Re.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Re.marginXS,padding:`0 ${Re.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Re.itemInputBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadius,outline:"none",transition:`border-color ${Re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Re.colorPrimary},"&:focus":{borderColor:Re.colorPrimaryHover,boxShadow:`${Re.inputOutlineOffset}px 0 ${Re.controlOutlineWidth}px ${Re.controlOutline}`},"&[disabled]":{color:Re.colorTextDisabled,backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,cursor:"not-allowed"}}}}},_n=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-item-link-icon`]:{color:Re.colorPrimary,fontSize:Re.fontSizeSM,opacity:0,transition:`all ${Re.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Re.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Re.paginationEllipsisTextIndent,opacity:1,transition:`all ${Re.motionDurationMid}`}},"&:hover":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[` ${Xe}-prev, ${Xe}-jump-prev, ${Xe}-jump-next `]:{marginInlineEnd:Re.marginXS},[` ${Xe}-prev, ${Xe}-next, ${Xe}-jump-prev, ${Xe}-jump-next `]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,color:Re.colorText,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Re.borderRadius,cursor:"pointer",transition:`all ${Re.motionDurationMid}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Re.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:"none",transition:`all ${Re.motionDurationMid}`},[`&:hover ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Re.paginationSlashMarginInlineEnd,marginInlineStart:Re.paginationSlashMarginInlineStart},[`${Xe}-options`]:{display:"inline-block",marginInlineStart:Re.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Re.controlHeight,marginInlineStart:Re.marginXS,lineHeight:`${Re.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Pt.ik)(Re)),{width:Re.controlHeightLG*1.25,height:Re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Re.marginXS,marginInlineEnd:Re.marginXS})}}}},or=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-item`]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,marginInlineEnd:Re.marginXS,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Re.paginationItemPaddingInline}px`,color:Re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Xe}-item-active)`]:{"&:hover":{transition:`all ${Re.motionDurationMid}`,backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},"&-active":{fontWeight:Re.fontWeightStrong,backgroundColor:Re.itemActiveBg,borderColor:Re.colorPrimary,a:{color:Re.colorPrimary},"&:hover":{borderColor:Re.colorPrimaryHover},"&:hover a":{color:Re.colorPrimaryHover}}}}},Je=Re=>{const{componentCls:Xe}=Re;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Zt.Wf)(Re)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Re.itemSize,marginInlineEnd:Re.marginXS,lineHeight:`${Re.itemSize-2}px`,verticalAlign:"middle"}}),or(Re)),_n(Re)),Nt(Re)),Gn(Re)),mn(Re)),{[`@media only screen and (max-width: ${Re.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Re.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Re.componentCls}-rtl`]:{direction:"rtl"}}},yn=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Re.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Re.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,a:{color:Re.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Re.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,color:Re.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Re.colorPrimaryHover,backgroundColor:Re.itemBg},[`${Xe}-item-link`]:{backgroundColor:Re.itemLinkBg,borderColor:Re.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,color:Re.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Re.colorBorder,color:Re.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Re.itemBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,a:{color:Re.colorPrimary}},"&-active":{borderColor:Re.colorPrimary}}}}},Fe=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,Zt.Qy)(Re)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,Zt.oN)(Re))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,Zt.oN)(Re))}}}};var de=(0,En.Z)("Pagination",Re=>{const Xe=(0,Hn.TS)(Re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Re.marginXXS/2,paginationMiniQuickJumperInputWidth:Re.controlHeightLG*1.1,paginationItemPaddingInline:Re.marginXXS*1.5,paginationEllipsisLetterSpacing:Re.marginXXS/2,paginationSlashMarginInlineStart:Re.marginXXS,paginationSlashMarginInlineEnd:Re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pt.e5)(Re),(0,Pt.TM)(Re));return[Je(Xe),Fe(Xe),Re.wireframe&&yn(Xe)]},Re=>({itemBg:Re.colorBgContainer,itemSize:Re.controlHeight,itemSizeSM:Re.controlHeightSM,itemActiveBg:Re.colorBgContainer,itemLinkBg:Re.colorBgContainer,itemActiveColorDisabled:Re.colorTextDisabled,itemActiveBgDisabled:Re.controlItemBgActiveDisabled,itemInputBg:Re.colorBgContainer,miniOptionsSizeChangerTop:0})),Ae=function(Re,Xe){var Qt={};for(var Bt in Re)Object.prototype.hasOwnProperty.call(Re,Bt)&&Xe.indexOf(Bt)<0&&(Qt[Bt]=Re[Bt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,Bt=Object.getOwnPropertySymbols(Re);lt{const{prefixCls:Xe,selectPrefixCls:Qt,className:Bt,rootClassName:lt,style:Yt,size:wn,locale:jt,selectComponentClass:fn,responsive:Tt,showSizeChanger:Fn}=Re,dt=Ae(Re,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:on}=(0,xt.Z)(Tt),{getPrefixCls:Bn,direction:bn,pagination:er={}}=we.useContext(Dt.E_),cr=Bn("pagination",Xe),[yr,Cr]=de(cr),mr=Fn!=null?Fn:er.showSizeChanger,ur=we.useMemo(()=>{const Rr=we.createElement("span",{className:`${cr}-item-ellipsis`},"\u2022\u2022\u2022"),gn=we.createElement("button",{className:`${cr}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?we.createElement(Oe.Z,null):we.createElement(ue.Z,null)),wo=we.createElement("button",{className:`${cr}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?we.createElement(ue.Z,null):we.createElement(Oe.Z,null)),eo=we.createElement("a",{className:`${cr}-item-link`},we.createElement("div",{className:`${cr}-item-container`},bn==="rtl"?we.createElement(Ne.Z,{className:`${cr}-item-link-icon`}):we.createElement(Be,{className:`${cr}-item-link-icon`}),Rr)),Oo=we.createElement("a",{className:`${cr}-item-link`},we.createElement("div",{className:`${cr}-item-container`},bn==="rtl"?we.createElement(Be,{className:`${cr}-item-link-icon`}):we.createElement(Ne.Z,{className:`${cr}-item-link-icon`}),Rr));return{prevIcon:gn,nextIcon:wo,jumpPrevIcon:eo,jumpNextIcon:Oo}},[bn,cr]),[hr]=(0,ft.Z)("Pagination",At.Z),br=Object.assign(Object.assign({},hr),jt),qr=(0,gt.Z)(wn),ha=qr==="small"||!!(on&&!qr&&Tt),Qr=Bn("select",Qt),Qa=be()({[`${cr}-mini`]:ha,[`${cr}-rtl`]:bn==="rtl"},er==null?void 0:er.className,Bt,lt,Cr),Ua=Object.assign(Object.assign({},er==null?void 0:er.style),Yt);return yr(we.createElement(st,Object.assign({},ur,dt,{style:Ua,prefixCls:cr,selectPrefixCls:Qr,className:Qa,selectComponentClass:fn||(ha?en:rn),locale:br,showSizeChanger:mr})))},pt=qe},93948:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return Fn}});var he=ve(59301),we=ve(29679),Me=ve(40001),nt=ve(19248),Ge=ve(99267),He=ve(92310),pe=ve.n(He),Be=ve(2738),Ne=ve(36355),ue=ve(32855),Oe=ve(27247),Pe=ve(43079),be={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},oe=function(){var on=(0,he.useRef)([]),Bn=(0,he.useRef)(null);return(0,he.useEffect)(function(){var bn=Date.now(),er=!1;on.current.forEach(function(cr){if(cr){er=!0;var yr=cr.style;yr.transitionDuration=".3s, .3s, .3s, .06s",Bn.current&&bn-Bn.current<100&&(yr.transitionDuration="0s, 0s")}}),er&&(Bn.current=Date.now())}),on.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(on){var Bn=(0,Oe.Z)((0,Oe.Z)({},be),on),bn=Bn.className,er=Bn.percent,cr=Bn.prefixCls,yr=Bn.strokeColor,Cr=Bn.strokeLinecap,mr=Bn.strokeWidth,ur=Bn.style,hr=Bn.trailColor,br=Bn.trailWidth,qr=Bn.transition,ha=(0,Pe.Z)(Bn,y);delete ha.gapPosition;var Qr=Array.isArray(er)?er:[er],Qa=Array.isArray(yr)?yr:[yr],Ua=oe(),Rr=mr/2,gn=100-mr/2,wo="M ".concat(Cr==="round"?Rr:0,",").concat(Rr,` L `).concat(Cr==="round"?gn:100,",").concat(Rr),eo="0 0 100 ".concat(mr),Oo=0;return he.createElement("svg",(0,ue.Z)({className:pe()("".concat(cr,"-line"),bn),viewBox:eo,preserveAspectRatio:"none",style:ur},ha),he.createElement("path",{className:"".concat(cr,"-line-trail"),d:wo,strokeLinecap:Cr,stroke:hr,strokeWidth:br||mr,fillOpacity:"0"}),Qr.map(function(Jo,oo){var Xo=1;switch(Cr){case"round":Xo=1-mr/100;break;case"square":Xo=1-mr/2/100;break;default:Xo=1;break}var qo={strokeDasharray:"".concat(Jo*Xo,"px, 100px"),strokeDashoffset:"-".concat(Oo,"px"),transition:qr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Co=Qa[oo]||Qa[Qa.length-1];return Oo+=Jo,he.createElement("path",{key:oo,className:"".concat(cr,"-line-path"),d:wo,strokeLinecap:Cr,stroke:Co,strokeWidth:mr,fillOpacity:"0",ref:function(kn){Ua[oo]=kn},style:qo})}))},E=a,b=ve(34666),x=ve(11913),z=ve(47273),ne=0,le=(0,z.Z)();function xe(){var dt;return le?(dt=ne,ne+=1):dt="TEST_OR_SSR",dt}var Ee=function(dt){var on=he.useState(),Bn=(0,x.Z)(on,2),bn=Bn[0],er=Bn[1];return he.useEffect(function(){er("rc_progress_".concat(xe()))},[]),dt||bn},Qe=function(on){var Bn=on.bg,bn=on.children;return he.createElement("div",{style:{width:"100%",height:"100%",background:Bn}},bn)};function We(dt,on){return Object.keys(dt).map(function(Bn){var bn=parseFloat(Bn),er="".concat(Math.floor(bn*on),"%");return"".concat(dt[Bn]," ").concat(er)})}var Ve=he.forwardRef(function(dt,on){var Bn=dt.prefixCls,bn=dt.color,er=dt.gradientId,cr=dt.radius,yr=dt.style,Cr=dt.ptg,mr=dt.strokeLinecap,ur=dt.strokeWidth,hr=dt.size,br=dt.gapDegree,qr=bn&&(0,b.Z)(bn)==="object",ha=qr?"#FFF":void 0,Qr=hr/2,Qa=he.createElement("circle",{className:"".concat(Bn,"-circle-path"),r:cr,cx:Qr,cy:Qr,stroke:ha,strokeLinecap:mr,strokeWidth:ur,opacity:Cr===0?0:1,style:yr,ref:on});if(!qr)return Qa;var Ua="".concat(er,"-conic"),Rr=br?"".concat(180+br/2,"deg"):"0deg",gn=We(bn,(360-br)/360),wo=We(bn,1),eo="conic-gradient(from ".concat(Rr,", ").concat(gn.join(", "),")"),Oo="linear-gradient(to ".concat(br?"bottom":"top",", ").concat(wo.join(", "),")");return he.createElement(he.Fragment,null,he.createElement("mask",{id:Ua},Qa),he.createElement("foreignObject",{x:0,y:0,width:hr,height:hr,mask:"url(#".concat(Ua,")")},he.createElement(Qe,{bg:Oo},he.createElement(Qe,{bg:eo}))))}),tt=Ve,ke=100,Ft=function(on,Bn,bn,er,cr,yr,Cr,mr,ur,hr){var br=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qr=bn/100*360*((360-yr)/360),ha=yr===0?0:{bottom:0,top:180,left:90,right:-90}[Cr],Qr=(100-er)/100*Bn;ur==="round"&&er!==100&&(Qr+=hr/2,Qr>=Bn&&(Qr=Bn-.01));var Qa=ke/2;return{stroke:typeof mr=="string"?mr:void 0,strokeDasharray:"".concat(Bn,"px ").concat(on),strokeDashoffset:Qr+br,transform:"rotate(".concat(cr+qr+ha,"deg)"),transformOrigin:"".concat(Qa,"px ").concat(Qa,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Te=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function kt(dt){var on=dt!=null?dt:[];return Array.isArray(on)?on:[on]}var st=function(on){var Bn=(0,Oe.Z)((0,Oe.Z)({},be),on),bn=Bn.id,er=Bn.prefixCls,cr=Bn.steps,yr=Bn.strokeWidth,Cr=Bn.trailWidth,mr=Bn.gapDegree,ur=mr===void 0?0:mr,hr=Bn.gapPosition,br=Bn.trailColor,qr=Bn.strokeLinecap,ha=Bn.style,Qr=Bn.className,Qa=Bn.strokeColor,Ua=Bn.percent,Rr=(0,Pe.Z)(Bn,Te),gn=ke/2,wo=Ee(bn),eo="".concat(wo,"-gradient"),Oo=gn-yr/2,Jo=Math.PI*2*Oo,oo=ur>0?90+ur/2:-90,Xo=Jo*((360-ur)/360),qo=(0,b.Z)(cr)==="object"?cr:{count:cr,space:2},Co=qo.count,Dn=qo.space,kn=kt(Ua),vn=kt(Qa),Ur=vn.find(function($o){return $o&&(0,b.Z)($o)==="object"}),Aa=Ur&&(0,b.Z)(Ur)==="object",Nr=Aa?"butt":qr,ga=Ft(Jo,Xo,0,100,oo,ur,hr,br,Nr,yr),xa=oe(),wa=function(){var Er=0;return kn.map(function(Ea,Ho){var Lo=vn[Ho]||vn[vn.length-1],Qo=Ft(Jo,Xo,Er,Ea,oo,ur,hr,Lo,Nr,yr);return Er+=Ea,he.createElement(tt,{key:Ho,color:Lo,ptg:Ea,radius:Oo,prefixCls:er,gradientId:eo,style:Qo,strokeLinecap:Nr,strokeWidth:yr,gapDegree:ur,ref:function(hi){xa[Ho]=hi},size:ke})}).reverse()},to=function(){var Er=Math.round(Co*(kn[0]/100)),Ea=100/Co,Ho=0;return new Array(Co).fill(null).map(function(Lo,Qo){var io=Qo<=Er-1?vn[0]:br,hi=io&&(0,b.Z)(io)==="object"?"url(#".concat(eo,")"):void 0,Di=Ft(Jo,Xo,Ho,Ea,oo,ur,hr,io,"butt",yr,Dn);return Ho+=(Xo-Di.strokeDashoffset+Dn)*100/Xo,he.createElement("circle",{key:Qo,className:"".concat(er,"-circle-path"),r:Oo,cx:gn,cy:gn,stroke:hi,strokeWidth:yr,opacity:1,style:Di,ref:function(Ji){xa[Qo]=Ji}})})};return he.createElement("svg",(0,ue.Z)({className:pe()("".concat(er,"-circle"),Qr),viewBox:"0 0 ".concat(ke," ").concat(ke),style:ha,id:bn,role:"presentation"},Rr),!Co&&he.createElement("circle",{className:"".concat(er,"-circle-trail"),r:Oo,cx:gn,cy:gn,stroke:br,strokeLinecap:Nr,strokeWidth:Cr||yr,style:ga}),Co?to():wa())},At=st,Dt={Line:E,Circle:At},gt=ve(6848),xt=ve(30071);function ft(dt){return!dt||dt<0?0:dt>100?100:dt}function it(dt){let{success:on,successPercent:Bn}=dt,bn=Bn;return on&&"progress"in on&&(bn=on.progress),on&&"percent"in on&&(bn=on.percent),bn}const en=dt=>{let{percent:on,success:Bn,successPercent:bn}=dt;const er=ft(it({success:Bn,successPercent:bn}));return[er,ft(ft(on)-er)]},rn=dt=>{let{success:on={},strokeColor:Bn}=dt;const{strokeColor:bn}=on;return[bn||xt.presetPrimaryColors.green,Bn||null]},Pt=(dt,on,Bn)=>{var bn,er,cr,yr;let Cr=-1,mr=-1;if(on==="step"){const ur=Bn.steps,hr=Bn.strokeWidth;typeof dt=="string"||typeof dt=="undefined"?(Cr=dt==="small"?2:14,mr=hr!=null?hr:8):typeof dt=="number"?[Cr,mr]=[dt,dt]:[Cr=14,mr=8]=dt,Cr*=ur}else if(on==="line"){const ur=Bn==null?void 0:Bn.strokeWidth;typeof dt=="string"||typeof dt=="undefined"?mr=ur||(dt==="small"?6:8):typeof dt=="number"?[Cr,mr]=[dt,dt]:[Cr=-1,mr=8]=dt}else(on==="circle"||on==="dashboard")&&(typeof dt=="string"||typeof dt=="undefined"?[Cr,mr]=dt==="small"?[60,60]:[120,120]:typeof dt=="number"?[Cr,mr]=[dt,dt]:(Cr=(er=(bn=dt[0])!==null&&bn!==void 0?bn:dt[1])!==null&&er!==void 0?er:120,mr=(yr=(cr=dt[0])!==null&&cr!==void 0?cr:dt[1])!==null&&yr!==void 0?yr:120));return[Cr,mr]},Zt=3,En=dt=>Zt/dt*100;var mn=dt=>{const{prefixCls:on,trailColor:Bn=null,strokeLinecap:bn="round",gapPosition:er,gapDegree:cr,width:yr=120,type:Cr,children:mr,success:ur,size:hr=yr}=dt,[br,qr]=Pt(hr,"circle");let{strokeWidth:ha}=dt;ha===void 0&&(ha=Math.max(En(br),6));const Qr={width:br,height:qr,fontSize:br*.15+6},Qa=he.useMemo(()=>{if(cr||cr===0)return cr;if(Cr==="dashboard")return 75},[cr,Cr]),Ua=er||Cr==="dashboard"&&"bottom"||void 0,Rr=Object.prototype.toString.call(dt.strokeColor)==="[object Object]",gn=rn({success:ur,strokeColor:dt.strokeColor}),wo=pe()(`${on}-inner`,{[`${on}-circle-gradient`]:Rr}),eo=he.createElement(At,{percent:en(dt),strokeWidth:ha,trailWidth:ha,strokeColor:gn,strokeLinecap:bn,trailColor:Bn,prefixCls:on,gapDegree:Qa,gapPosition:Ua});return he.createElement("div",{className:wo,style:Qr},br<=20?he.createElement(gt.Z,{title:mr},he.createElement("span",null,eo)):he.createElement(he.Fragment,null,eo,mr))},Gn=function(dt,on){var Bn={};for(var bn in dt)Object.prototype.hasOwnProperty.call(dt,bn)&&on.indexOf(bn)<0&&(Bn[bn]=dt[bn]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,bn=Object.getOwnPropertySymbols(dt);er{let on=[];return Object.keys(dt).forEach(Bn=>{const bn=parseFloat(Bn.replace(/%/g,""));isNaN(bn)||on.push({key:bn,value:dt[Bn]})}),on=on.sort((Bn,bn)=>Bn.key-bn.key),on.map(Bn=>{let{key:bn,value:er}=Bn;return`${er} ${bn}%`}).join(", ")},_n=(dt,on)=>{const{from:Bn=xt.presetPrimaryColors.blue,to:bn=xt.presetPrimaryColors.blue,direction:er=on==="rtl"?"to left":"to right"}=dt,cr=Gn(dt,["from","to","direction"]);if(Object.keys(cr).length!==0){const yr=Nt(cr);return{backgroundImage:`linear-gradient(${er}, ${yr})`}}return{backgroundImage:`linear-gradient(${er}, ${Bn}, ${bn})`}};var Je=dt=>{const{prefixCls:on,direction:Bn,percent:bn,size:er,strokeWidth:cr,strokeColor:yr,strokeLinecap:Cr="round",children:mr,trailColor:ur=null,success:hr}=dt,br=yr&&typeof yr!="string"?_n(yr,Bn):{backgroundColor:yr},qr=Cr==="square"||Cr==="butt"?0:void 0,ha={backgroundColor:ur||void 0,borderRadius:qr},Qr=er!=null?er:[-1,cr||(er==="small"?6:8)],[Qa,Ua]=Pt(Qr,"line",{strokeWidth:cr}),Rr=Object.assign({width:`${ft(bn)}%`,height:Ua,borderRadius:qr},br),gn=it(dt),wo={width:`${ft(gn)}%`,height:Ua,borderRadius:qr,backgroundColor:hr==null?void 0:hr.strokeColor},eo={width:Qa<0?"100%":Qa,height:Ua};return he.createElement(he.Fragment,null,he.createElement("div",{className:`${on}-outer`,style:eo},he.createElement("div",{className:`${on}-inner`,style:ha},he.createElement("div",{className:`${on}-bg`,style:Rr}),gn!==void 0?he.createElement("div",{className:`${on}-success-bg`,style:wo}):null)),mr)},Fe=dt=>{const{size:on,steps:Bn,percent:bn=0,strokeWidth:er=8,strokeColor:cr,trailColor:yr=null,prefixCls:Cr,children:mr}=dt,ur=Math.round(Bn*(bn/100)),hr=on==="small"?2:14,br=on!=null?on:[hr,er],[qr,ha]=Pt(br,"step",{steps:Bn,strokeWidth:er}),Qr=qr/Bn,Qa=new Array(Bn);for(let Ua=0;Ua{const on=dt?"100%":"-100%";return new de.Keyframes(`antProgress${dt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${on}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${on}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Re=dt=>{const{componentCls:on,iconCls:Bn}=dt;return{[on]:Object.assign(Object.assign({},(0,Ae.Wf)(dt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:dt.fontSize,marginInlineEnd:dt.marginXS,marginBottom:dt.marginXS},[`${on}-outer`]:{display:"inline-block",width:"100%"},[`&${on}-show-info`]:{[`${on}-outer`]:{marginInlineEnd:`calc(-2em - ${dt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${dt.paddingXS}px)`}},[`${on}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:dt.remainingColor,borderRadius:dt.lineBorderRadius},[`${on}-inner:not(${on}-circle-gradient)`]:{[`${on}-circle-path`]:{stroke:dt.defaultColor}},[`${on}-success-bg, ${on}-bg`]:{position:"relative",backgroundColor:dt.defaultColor,borderRadius:dt.lineBorderRadius,transition:`all ${dt.motionDurationSlow} ${dt.motionEaseInOutCirc}`},[`${on}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:dt.colorSuccess},[`${on}-text`]:{display:"inline-block",width:"2em",marginInlineStart:dt.marginXS,color:dt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Bn]:{fontSize:dt.fontSize}},[`&${on}-status-active`]:{[`${on}-bg::before`]:{position:"absolute",inset:0,backgroundColor:dt.colorBgContainer,borderRadius:dt.lineBorderRadius,opacity:0,animationName:pt(),animationDuration:dt.progressActiveMotionDuration,animationTimingFunction:dt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${on}-rtl${on}-status-active`]:{[`${on}-bg::before`]:{animationName:pt(!0)}},[`&${on}-status-exception`]:{[`${on}-bg`]:{backgroundColor:dt.colorError},[`${on}-text`]:{color:dt.colorError}},[`&${on}-status-exception ${on}-inner:not(${on}-circle-gradient)`]:{[`${on}-circle-path`]:{stroke:dt.colorError}},[`&${on}-status-success`]:{[`${on}-bg`]:{backgroundColor:dt.colorSuccess},[`${on}-text`]:{color:dt.colorSuccess}},[`&${on}-status-success ${on}-inner:not(${on}-circle-gradient)`]:{[`${on}-circle-path`]:{stroke:dt.colorSuccess}}})}},Xe=dt=>{const{componentCls:on,iconCls:Bn}=dt;return{[on]:{[`${on}-circle-trail`]:{stroke:dt.remainingColor},[`&${on}-circle ${on}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${on}-circle ${on}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:dt.circleTextColor,fontSize:dt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Bn]:{fontSize:`${dt.fontSize/dt.fontSizeSM}em`}},[`${on}-circle&-status-exception`]:{[`${on}-text`]:{color:dt.colorError}},[`${on}-circle&-status-success`]:{[`${on}-text`]:{color:dt.colorSuccess}}},[`${on}-inline-circle`]:{lineHeight:1,[`${on}-inner`]:{verticalAlign:"bottom"}}}},Qt=dt=>{const{componentCls:on}=dt;return{[on]:{[`${on}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:dt.progressStepMinWidth,marginInlineEnd:dt.progressStepMarginInlineEnd,backgroundColor:dt.remainingColor,transition:`all ${dt.motionDurationSlow}`,"&-active":{backgroundColor:dt.defaultColor}}}}}},Bt=dt=>{const{componentCls:on,iconCls:Bn}=dt;return{[on]:{[`${on}-small&-line, ${on}-small&-line ${on}-text ${Bn}`]:{fontSize:dt.fontSizeSM}}}};var lt=(0,ye.Z)("Progress",dt=>{const on=dt.marginXXS/2,Bn=(0,qe.TS)(dt,{progressStepMarginInlineEnd:on,progressStepMinWidth:on,progressActiveMotionDuration:"2.4s"});return[Re(Bn),Xe(Bn),Qt(Bn),Bt(Bn)]},dt=>({circleTextColor:dt.colorText,defaultColor:dt.colorInfo,remainingColor:dt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Yt=function(dt,on){var Bn={};for(var bn in dt)Object.prototype.hasOwnProperty.call(dt,bn)&&on.indexOf(bn)<0&&(Bn[bn]=dt[bn]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var er=0,bn=Object.getOwnPropertySymbols(dt);er{const{prefixCls:Bn,className:bn,rootClassName:er,steps:cr,strokeColor:yr,percent:Cr=0,size:mr="default",showInfo:ur=!0,type:hr="line",status:br,format:qr,style:ha}=dt,Qr=Yt(dt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Qa=he.useMemo(()=>{var kn,vn;const Ur=it(dt);return parseInt(Ur!==void 0?(kn=Ur!=null?Ur:0)===null||kn===void 0?void 0:kn.toString():(vn=Cr!=null?Cr:0)===null||vn===void 0?void 0:vn.toString(),10)},[Cr,dt.success,dt.successPercent]),Ua=he.useMemo(()=>!jt.includes(br)&&Qa>=100?"success":br||"normal",[br,Qa]),{getPrefixCls:Rr,direction:gn,progress:wo}=he.useContext(Ne.E_),eo=Rr("progress",Bn),[Oo,Jo]=lt(eo),oo=he.useMemo(()=>{if(!ur)return null;const kn=it(dt);let vn;const Ur=qr||(Nr=>`${Nr}%`),Aa=hr==="line";return qr||Ua!=="exception"&&Ua!=="success"?vn=Ur(ft(Cr),ft(kn)):Ua==="exception"?vn=Aa?he.createElement(nt.Z,null):he.createElement(Ge.Z,null):Ua==="success"&&(vn=Aa?he.createElement(we.Z,null):he.createElement(Me.Z,null)),he.createElement("span",{className:`${eo}-text`,title:typeof vn=="string"?vn:void 0},vn)},[ur,Cr,Qa,Ua,hr,eo,qr]),Xo=Array.isArray(yr)?yr[0]:yr,qo=typeof yr=="string"||Array.isArray(yr)?yr:void 0;let Co;hr==="line"?Co=cr?he.createElement(Fe,Object.assign({},dt,{strokeColor:qo,prefixCls:eo,steps:cr}),oo):he.createElement(Je,Object.assign({},dt,{strokeColor:Xo,prefixCls:eo,direction:gn}),oo):(hr==="circle"||hr==="dashboard")&&(Co=he.createElement(mn,Object.assign({},dt,{strokeColor:Xo,prefixCls:eo,progressStatus:Ua}),oo));const Dn=pe()(eo,`${eo}-status-${Ua}`,`${eo}-${hr==="dashboard"&&"circle"||cr&&"steps"||hr}`,{[`${eo}-inline-circle`]:hr==="circle"&&Pt(mr,"circle")[0]<=20,[`${eo}-show-info`]:ur,[`${eo}-${mr}`]:typeof mr=="string",[`${eo}-rtl`]:gn==="rtl"},wo==null?void 0:wo.className,bn,er,Jo);return Oo(he.createElement("div",Object.assign({ref:on,style:Object.assign(Object.assign({},wo==null?void 0:wo.style),ha),className:Dn,role:"progressbar","aria-valuenow":Qa},(0,Be.Z)(Qr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Co))}),Fn=Tt},13570:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return ft}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},nt=Me,Ge=ve(7657),He=function(en,rn){return we.createElement(Ge.Z,(0,he.Z)({},en,{ref:rn,icon:nt}))},pe=we.forwardRef(He),Be=pe,Ne=ve(92310),ue=ve.n(Ne),Oe=ve(74430),Pe=ve(11913),be=ve(43079),oe=ve(18929),y=ve(10228),a=ve(26112);function E(it,en){var rn=it.disabled,Pt=it.prefixCls,Zt=it.character,En=it.characterRender,Hn=it.index,mn=it.count,Gn=it.value,Nt=it.allowHalf,_n=it.focused,or=it.onHover,Je=it.onClick,yn=function(Xe){or(Xe,Hn)},Fe=function(Xe){Je(Xe,Hn)},de=function(Xe){Xe.keyCode===y.Z.ENTER&&Je(Xe,Hn)},Ae=Hn+1,ye=new Set([Pt]);Gn===0&&Hn===0&&_n?ye.add("".concat(Pt,"-focused")):Nt&&Gn+.5>=Ae&&GnHn?"true":"false","aria-posinset":Hn+1,"aria-setsize":mn,tabIndex:rn?-1:0},we.createElement("div",{className:"".concat(Pt,"-first")},qe),we.createElement("div",{className:"".concat(Pt,"-second")},qe)));return En&&(pt=En(pt,it)),pt}var b=we.forwardRef(E);function x(){var it=we.useRef({});function en(Pt){return it.current[Pt]}function rn(Pt){return function(Zt){it.current[Pt]=Zt}}return[en,rn]}function z(it){var en=it.pageXOffset,rn="scrollLeft";if(typeof en!="number"){var Pt=it.document;en=Pt.documentElement[rn],typeof en!="number"&&(en=Pt.body[rn])}return en}function ne(it){var en,rn,Pt=it.ownerDocument,Zt=Pt.body,En=Pt&&Pt.documentElement,Hn=it.getBoundingClientRect();return en=Hn.left,rn=Hn.top,en-=En.clientLeft||Zt.clientLeft||0,rn-=En.clientTop||Zt.clientTop||0,{left:en,top:rn}}function le(it){var en=ne(it),rn=it.ownerDocument,Pt=rn.defaultView||rn.parentWindow;return en.left+=z(Pt),en.left}var xe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ee(it,en){var rn,Pt=it.prefixCls,Zt=Pt===void 0?"rc-rate":Pt,En=it.className,Hn=it.defaultValue,mn=it.value,Gn=it.count,Nt=Gn===void 0?5:Gn,_n=it.allowHalf,or=_n===void 0?!1:_n,Je=it.allowClear,yn=Je===void 0?!0:Je,Fe=it.character,de=Fe===void 0?"\u2605":Fe,Ae=it.characterRender,ye=it.disabled,qe=it.direction,pt=qe===void 0?"ltr":qe,Re=it.tabIndex,Xe=Re===void 0?0:Re,Qt=it.autoFocus,Bt=it.onHoverChange,lt=it.onChange,Yt=it.onFocus,wn=it.onBlur,jt=it.onKeyDown,fn=it.onMouseLeave,Tt=(0,be.Z)(it,xe),Fn=x(),dt=(0,Pe.Z)(Fn,2),on=dt[0],Bn=dt[1],bn=we.useRef(null),er=function(){if(!ye){var Nr;(Nr=bn.current)===null||Nr===void 0||Nr.focus()}};we.useImperativeHandle(en,function(){return{focus:er,blur:function(){if(!ye){var Nr;(Nr=bn.current)===null||Nr===void 0||Nr.blur()}}}});var cr=(0,oe.Z)(Hn||0,{value:mn}),yr=(0,Pe.Z)(cr,2),Cr=yr[0],mr=yr[1],ur=(0,oe.Z)(null),hr=(0,Pe.Z)(ur,2),br=hr[0],qr=hr[1],ha=function(Nr,ga){var xa=pt==="rtl",wa=Nr+1;if(or){var to=on(Nr),$o=le(to),Er=to.clientWidth;(xa&&ga-$o>Er/2||!xa&&ga-$o0&&!xa||ga===y.Z.RIGHT&&wa>0&&xa?(or?wa-=.5:wa-=1,Qr(wa),Nr.preventDefault()):ga===y.Z.LEFT&&wa{const{componentCls:en}=it;return{[`${en}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:it.marginXS},"> div":{transition:`all ${it.motionDurationMid}, outline 0s`,"&:hover":{transform:it.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${it.lineWidth}px dashed ${it.starColor}`,transform:it.starHoverScale}},"&-first, &-second":{color:it.starBg,transition:`all ${it.motionDurationMid}`,userSelect:"none",[it.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${en}-star-first, &-half ${en}-star-second`]:{opacity:1},[`&-half ${en}-star-first, &-full ${en}-star-second`]:{color:"inherit"}}}},st=it=>({[`&-rtl${it.componentCls}`]:{direction:"rtl"}}),At=it=>{const{componentCls:en}=it;return{[en]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(it)),{display:"inline-block",margin:0,padding:0,color:it.starColor,fontSize:it.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${en} ${en}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),kt(it)),{[`+ ${en}-text`]:{display:"inline-block",marginInlineStart:it.marginXS,fontSize:it.fontSize}}),st(it))}};var Dt=(0,Ft.Z)("Rate",it=>{const en=(0,Te.TS)(it,{});return[At(en)]},it=>({starColor:it.yellow6,starSize:it.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:it.colorFillContent})),gt=function(it,en){var rn={};for(var Pt in it)Object.prototype.hasOwnProperty.call(it,Pt)&&en.indexOf(Pt)<0&&(rn[Pt]=it[Pt]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Zt=0,Pt=Object.getOwnPropertySymbols(it);Zt{const{prefixCls:rn,className:Pt,rootClassName:Zt,style:En,tooltips:Hn,character:mn=we.createElement(Be,null)}=it,Gn=gt(it,["prefixCls","className","rootClassName","style","tooltips","character"]),Nt=(ye,qe)=>{let{index:pt}=qe;return Hn?we.createElement(tt.Z,{title:Hn[pt]},ye):ye},{getPrefixCls:_n,direction:or,rate:Je}=we.useContext(Ve.E_),yn=_n("rate",rn),[Fe,de]=Dt(yn),Ae=Object.assign(Object.assign({},Je==null?void 0:Je.style),En);return Fe(we.createElement(We,Object.assign({ref:en,character:mn,characterRender:Nt},Gn,{className:ue()(Pt,Zt,de,Je==null?void 0:Je.className),style:Ae,prefixCls:yn,direction:or})))})},61621:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return de}});var he=ve(92310),we=ve.n(he),Me=ve(59301),nt=ve(36355),Ge=ve(2738),pe=Ae=>{const{prefixCls:ye,className:qe,style:pt,size:Re,shape:Xe}=Ae,Qt=we()({[`${ye}-lg`]:Re==="large",[`${ye}-sm`]:Re==="small"}),Bt=we()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),lt=Me.useMemo(()=>typeof Re=="number"?{width:Re,height:Re,lineHeight:`${Re}px`}:{},[Re]);return Me.createElement("span",{className:we()(ye,Qt,Bt,qe),style:Object.assign(Object.assign({},lt),pt)})},Be=ve(36237),Ne=ve(83116),ue=ve(37613);const Oe=new Be.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Pe=Ae=>({height:Ae,lineHeight:`${Ae}px`}),be=Ae=>Object.assign({width:Ae},Pe(Ae)),oe=Ae=>({background:Ae.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Oe,animationDuration:Ae.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ae=>Object.assign({width:Ae*5,minWidth:Ae*5},Pe(Ae)),a=Ae=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:pt,controlHeightLG:Re,controlHeightSM:Xe}=Ae;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},be(pt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},be(Re)),[`${ye}${ye}-sm`]:Object.assign({},be(Xe))}},E=Ae=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:pt,controlHeightLG:Re,controlHeightSM:Xe,gradientFromColor:Qt}=Ae;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Qt,borderRadius:qe},y(ye)),[`${pt}-lg`]:Object.assign({},y(Re)),[`${pt}-sm`]:Object.assign({},y(Xe))}},b=Ae=>Object.assign({width:Ae},Pe(Ae)),x=Ae=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:pt,borderRadiusSM:Re}=Ae;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:pt,borderRadius:Re},b(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},b(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},z=(Ae,ye,qe)=>{const{skeletonButtonCls:pt}=Ae;return{[`${qe}${pt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${pt}-round`]:{borderRadius:ye}}},ne=Ae=>Object.assign({width:Ae*2,minWidth:Ae*2},Pe(Ae)),le=Ae=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:pt,controlHeightLG:Re,controlHeightSM:Xe,gradientFromColor:Qt}=Ae;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Qt,borderRadius:ye,width:pt*2,minWidth:pt*2},ne(pt))},z(Ae,pt,qe)),{[`${qe}-lg`]:Object.assign({},ne(Re))}),z(Ae,Re,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ne(Xe))}),z(Ae,Xe,`${qe}-sm`))},xe=Ae=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:pt,skeletonParagraphCls:Re,skeletonButtonCls:Xe,skeletonInputCls:Qt,skeletonImageCls:Bt,controlHeight:lt,controlHeightLG:Yt,controlHeightSM:wn,gradientFromColor:jt,padding:fn,marginSM:Tt,borderRadius:Fn,titleHeight:dt,blockRadius:on,paragraphLiHeight:Bn,controlHeightXS:bn,paragraphMarginTop:er}=Ae;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:fn,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:jt},be(lt)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},be(Yt)),[`${qe}-sm`]:Object.assign({},be(wn))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:dt,background:jt,borderRadius:on,[`+ ${Re}`]:{marginBlockStart:wn}},[`${Re}`]:{padding:0,"> li":{width:"100%",height:Bn,listStyle:"none",background:jt,borderRadius:on,"+ li":{marginBlockStart:bn}}},[`${Re}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${pt}, ${Re} > li`]:{borderRadius:Fn}}},[`${ye}-with-avatar ${ye}-content`]:{[`${pt}`]:{marginBlockStart:Tt,[`+ ${Re}`]:{marginBlockStart:er}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},le(Ae)),a(Ae)),E(Ae)),x(Ae)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Qt}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${pt}, ${Re} > li, ${qe}, ${Xe}, ${Qt}, ${Bt} `]:Object.assign({},oe(Ae))}}};var Ee=(0,Ne.Z)("Skeleton",Ae=>{const{componentCls:ye}=Ae,qe=(0,ue.TS)(Ae,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:Ae.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ae.gradientFromColor} 25%, ${Ae.gradientToColor} 37%, ${Ae.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[xe(qe)]},Ae=>{const{colorFillContent:ye,colorFill:qe}=Ae,pt=ye,Re=qe;return{color:pt,colorGradientEnd:Re,gradientFromColor:pt,gradientToColor:Re,titleHeight:Ae.controlHeight/2,blockRadius:Ae.borderRadiusSM,paragraphMarginTop:Ae.marginLG+Ae.marginXXS,paragraphLiHeight:Ae.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),We=Ae=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Re,shape:Xe="circle",size:Qt="default"}=Ae,{getPrefixCls:Bt}=Me.useContext(nt.E_),lt=Bt("skeleton",ye),[Yt,wn]=Ee(lt),jt=(0,Ge.Z)(Ae,["prefixCls","className"]),fn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Re},qe,pt,wn);return Yt(Me.createElement("div",{className:fn},Me.createElement(pe,Object.assign({prefixCls:`${lt}-avatar`,shape:Xe,size:Qt},jt))))},tt=Ae=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Re,block:Xe=!1,size:Qt="default"}=Ae,{getPrefixCls:Bt}=Me.useContext(nt.E_),lt=Bt("skeleton",ye),[Yt,wn]=Ee(lt),jt=(0,Ge.Z)(Ae,["prefixCls"]),fn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Re,[`${lt}-block`]:Xe},qe,pt,wn);return Yt(Me.createElement("div",{className:fn},Me.createElement(pe,Object.assign({prefixCls:`${lt}-button`,size:Qt},jt))))};const ke="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Te=Ae=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Re,active:Xe}=Ae,{getPrefixCls:Qt}=Me.useContext(nt.E_),Bt=Qt("skeleton",ye),[lt,Yt]=Ee(Bt),wn=we()(Bt,`${Bt}-element`,{[`${Bt}-active`]:Xe},qe,pt,Yt);return lt(Me.createElement("div",{className:wn},Me.createElement("div",{className:we()(`${Bt}-image`,qe),style:Re},Me.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Bt}-image-svg`},Me.createElement("path",{d:ke,className:`${Bt}-image-path`})))))},st=Ae=>{const{prefixCls:ye,className:qe,rootClassName:pt,active:Re,block:Xe,size:Qt="default"}=Ae,{getPrefixCls:Bt}=Me.useContext(nt.E_),lt=Bt("skeleton",ye),[Yt,wn]=Ee(lt),jt=(0,Ge.Z)(Ae,["prefixCls"]),fn=we()(lt,`${lt}-element`,{[`${lt}-active`]:Re,[`${lt}-block`]:Xe},qe,pt,wn);return Yt(Me.createElement("div",{className:fn},Me.createElement(pe,Object.assign({prefixCls:`${lt}-input`,size:Qt},jt))))},At=ve(32855),Dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},gt=Dt,xt=ve(7657),ft=function(ye,qe){return Me.createElement(xt.Z,(0,At.Z)({},ye,{ref:qe,icon:gt}))},it=Me.forwardRef(ft),en=it,Pt=Ae=>{const{prefixCls:ye,className:qe,rootClassName:pt,style:Re,active:Xe,children:Qt}=Ae,{getPrefixCls:Bt}=Me.useContext(nt.E_),lt=Bt("skeleton",ye),[Yt,wn]=Ee(lt),jt=we()(lt,`${lt}-element`,{[`${lt}-active`]:Xe},wn,qe,pt),fn=Qt!=null?Qt:Me.createElement(en,null);return Yt(Me.createElement("div",{className:jt},Me.createElement("div",{className:we()(`${lt}-image`,qe),style:Re},fn)))},Zt=ve(3300),Hn=Ae=>{const ye=Bt=>{const{width:lt,rows:Yt=2}=Ae;if(Array.isArray(lt))return lt[Bt];if(Yt-1===Bt)return lt},{prefixCls:qe,className:pt,style:Re,rows:Xe}=Ae,Qt=(0,Zt.Z)(Array(Xe)).map((Bt,lt)=>Me.createElement("li",{key:lt,style:{width:ye(lt)}}));return Me.createElement("ul",{className:we()(qe,pt),style:Re},Qt)},Gn=Ae=>{let{prefixCls:ye,className:qe,width:pt,style:Re}=Ae;return Me.createElement("h3",{className:we()(ye,qe),style:Object.assign({width:pt},Re)})};function Nt(Ae){return Ae&&typeof Ae=="object"?Ae:{}}function _n(Ae,ye){return Ae&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function or(Ae,ye){return!Ae&&ye?{width:"38%"}:Ae&&ye?{width:"50%"}:{}}function Je(Ae,ye){const qe={};return(!Ae||!ye)&&(qe.width="61%"),!Ae&&ye?qe.rows=3:qe.rows=2,qe}const yn=Ae=>{const{prefixCls:ye,loading:qe,className:pt,rootClassName:Re,style:Xe,children:Qt,avatar:Bt=!1,title:lt=!0,paragraph:Yt=!0,active:wn,round:jt}=Ae,{getPrefixCls:fn,direction:Tt,skeleton:Fn}=Me.useContext(nt.E_),dt=fn("skeleton",ye),[on,Bn]=Ee(dt);if(qe||!("loading"in Ae)){const bn=!!Bt,er=!!lt,cr=!!Yt;let yr;if(bn){const ur=Object.assign(Object.assign({prefixCls:`${dt}-avatar`},_n(er,cr)),Nt(Bt));yr=Me.createElement("div",{className:`${dt}-header`},Me.createElement(pe,Object.assign({},ur)))}let Cr;if(er||cr){let ur;if(er){const br=Object.assign(Object.assign({prefixCls:`${dt}-title`},or(bn,cr)),Nt(lt));ur=Me.createElement(Gn,Object.assign({},br))}let hr;if(cr){const br=Object.assign(Object.assign({prefixCls:`${dt}-paragraph`},Je(bn,er)),Nt(Yt));hr=Me.createElement(Hn,Object.assign({},br))}Cr=Me.createElement("div",{className:`${dt}-content`},ur,hr)}const mr=we()(dt,{[`${dt}-with-avatar`]:bn,[`${dt}-active`]:wn,[`${dt}-rtl`]:Tt==="rtl",[`${dt}-round`]:jt},Fn==null?void 0:Fn.className,pt,Re,Bn);return on(Me.createElement("div",{className:mr,style:Object.assign(Object.assign({},Fn==null?void 0:Fn.style),Xe)},yr,Cr))}return typeof Qt!="undefined"?Qt:null};yn.Button=tt,yn.Avatar=We,yn.Input=st,yn.Image=Te,yn.Node=Pt;var Fe=yn,de=Fe},31797:function(An,zt,ve){"use strict";ve.d(zt,{default:function(){return Ee}});var he=ve(59301),we=ve(56762),Me=ve(92343),nt=ve(92310),Ge=ve.n(nt),He=ve(36355),pe=ve(61621),Ne=Qe=>{const{value:We,formatter:Ve,precision:tt,decimalSeparator:ke,groupSeparator:Ft="",prefixCls:Te}=Qe;let kt;if(typeof Ve=="function")kt=Ve(We);else{const st=String(We),At=st.match(/^(-?)(\d*)(\.(\d+))?$/);if(!At||st==="-")kt=st;else{const Dt=At[1];let gt=At[2]||"0",xt=At[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,Ft),typeof tt=="number"&&(xt=xt.padEnd(tt,"0").slice(0,tt>0?tt:0)),xt&&(xt=`${ke}${xt}`),kt=[he.createElement("span",{key:"int",className:`${Te}-content-value-int`},Dt,gt),xt&&he.createElement("span",{key:"decimal",className:`${Te}-content-value-decimal`},xt)]}}return he.createElement("span",{className:`${Te}-content-value`},kt)},ue=ve(17313),Oe=ve(83116),Pe=ve(37613);const be=Qe=>{const{componentCls:We,marginXXS:Ve,padding:tt,colorTextDescription:ke,titleFontSize:Ft,colorTextHeading:Te,contentFontSize:kt,fontFamily:st}=Qe;return{[`${We}`]:Object.assign(Object.assign({},(0,ue.Wf)(Qe)),{[`${We}-title`]:{marginBottom:Ve,color:ke,fontSize:Ft},[`${We}-skeleton`]:{paddingTop:tt},[`${We}-content`]:{color:Te,fontSize:kt,fontFamily:st,[`${We}-content-value`]:{display:"inline-block",direction:"ltr"},[`${We}-content-prefix, ${We}-content-suffix`]:{display:"inline-block"},[`${We}-content-prefix`]:{marginInlineEnd:Ve},[`${We}-content-suffix`]:{marginInlineStart:Ve}}})}};var oe=(0,Oe.Z)("Statistic",Qe=>{const We=(0,Pe.TS)(Qe,{});return[be(We)]},Qe=>{const{fontSizeHeading3:We,fontSize:Ve}=Qe;return{titleFontSize:Ve,contentFontSize:We}}),a=Qe=>{const{prefixCls:We,className:Ve,rootClassName:tt,style:ke,valueStyle:Ft,value:Te=0,title:kt,valueRender:st,prefix:At,suffix:Dt,loading:gt=!1,onMouseEnter:xt,onMouseLeave:ft,decimalSeparator:it=".",groupSeparator:en=","}=Qe,{getPrefixCls:rn,direction:Pt,statistic:Zt}=he.useContext(He.E_),En=rn("statistic",We),[Hn,mn]=oe(En),Gn=he.createElement(Ne,Object.assign({decimalSeparator:it,groupSeparator:en,prefixCls:En},Qe,{value:Te})),Nt=Ge()(En,{[`${En}-rtl`]:Pt==="rtl"},Zt==null?void 0:Zt.className,Ve,tt,mn);return Hn(he.createElement("div",{className:Nt,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),ke),onMouseEnter:xt,onMouseLeave:ft},kt&&he.createElement("div",{className:`${En}-title`},kt),he.createElement(pe.Z,{paragraph:!1,loading:gt,className:`${En}-skeleton`},he.createElement("div",{style:Ft,className:`${En}-content`},At&&he.createElement("span",{className:`${En}-content-prefix`},At),st?st(Gn):Gn,Dt&&he.createElement("span",{className:`${En}-content-suffix`},Dt)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(Qe,We){let Ve=Qe;const tt=/\[[^\]]*]/g,ke=(We.match(tt)||[]).map(st=>st.slice(1,-1)),Ft=We.replace(tt,"[]"),Te=E.reduce((st,At)=>{let[Dt,gt]=At;if(st.includes(Dt)){const xt=Math.floor(Ve/gt);return Ve-=xt*gt,st.replace(new RegExp(`${Dt}+`,"g"),ft=>{const it=ft.length;return xt.toString().padStart(it,"0")})}return st},Ft);let kt=0;return Te.replace(tt,()=>{const st=ke[kt];return kt+=1,st})}function x(Qe,We){const{format:Ve=""}=We,tt=new Date(Qe).getTime(),ke=Date.now(),Ft=Math.max(tt-ke,0);return b(Ft,Ve)}const z=1e3/30;function ne(Qe){return new Date(Qe).getTime()}const le=Qe=>{const{value:We,format:Ve="HH:mm:ss",onChange:tt,onFinish:ke}=Qe,Ft=(0,we.Z)(),Te=he.useRef(null),kt=()=>{ke==null||ke(),Te.current&&(clearInterval(Te.current),Te.current=null)},st=()=>{const gt=ne(We);gt>=Date.now()&&(Te.current=setInterval(()=>{Ft(),tt==null||tt(gt-Date.now()),gt(st(),()=>{Te.current&&(clearInterval(Te.current),Te.current=null)}),[We]);const At=(gt,xt)=>x(gt,Object.assign(Object.assign({},xt),{format:Ve})),Dt=gt=>(0,Me.Tm)(gt,{title:void 0});return he.createElement(a,Object.assign({},Qe,{valueRender:Dt,formatter:At}))};var xe=he.memo(le);a.Countdown=xe;var Ee=a},15969:function(An,zt,ve){"use strict";ve.d(zt,{N:function(){return he}});const he=we=>({color:we.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${we.motionDurationSlow}`,"&:focus, &:hover":{color:we.colorLinkHover},"&:active":{color:we.colorLinkActive}})},1710:function(An,zt,ve){"use strict";ve.d(zt,{default:function(){return Tn}});var he={},we="rc-table-internal-hook",Me=ve(11913),nt=ve(6089),Ge=ve(34280),He=ve(13697),pe=ve(59301),Be=ve(4676);function Ne(Ue){var Ke=pe.createContext(void 0),et=function(ht){var bt=ht.value,Mt=ht.children,an=pe.useRef(bt);an.current=bt;var Ye=pe.useState(function(){return{getValue:function(){return an.current},listeners:new Set}}),ct=(0,Me.Z)(Ye,1),Et=ct[0];return(0,Ge.Z)(function(){(0,Be.unstable_batchedUpdates)(function(){Et.listeners.forEach(function(Lt){Lt(bt)})})},[bt]),pe.createElement(Ke.Provider,{value:Et},Mt)};return{Context:Ke,Provider:et,defaultValue:Ue}}function ue(Ue,Ke){var et=(0,nt.Z)(typeof Ke=="function"?Ke:function(Lt){if(Ke===void 0)return Lt;if(!Array.isArray(Ke))return Lt[Ke];var Vt={};return Ke.forEach(function(nn){Vt[nn]=Lt[nn]}),Vt}),ut=pe.useContext(Ue==null?void 0:Ue.Context),ht=ut||{},bt=ht.listeners,Mt=ht.getValue,an=pe.useRef();an.current=et(ut?Mt():Ue==null?void 0:Ue.defaultValue);var Ye=pe.useState({}),ct=(0,Me.Z)(Ye,2),Et=ct[1];return(0,Ge.Z)(function(){if(!ut)return;function Lt(Vt){var nn=et(Vt);(0,He.Z)(an.current,nn,!0)||Et({})}return bt.add(Lt),function(){bt.delete(Lt)}},[ut]),an.current}var Oe=ve(32855),Pe=ve(8654);function be(){var Ue=pe.createContext(null);function Ke(){return pe.useContext(Ue)}function et(ht,bt){var Mt=(0,Pe.Yr)(ht),an=function(ct,Et){var Lt=Mt?{ref:Et}:{},Vt=pe.useRef(0),nn=pe.useRef(ct),sn=Ke();return sn!==null?pe.createElement(ht,(0,Oe.Z)({},ct,Lt)):((!bt||bt(nn.current,ct))&&(Vt.current+=1),nn.current=ct,pe.createElement(Ue.Provider,{value:Vt.current},pe.createElement(ht,(0,Oe.Z)({},ct,Lt))))};return Mt?pe.forwardRef(an):an}function ut(ht,bt){var Mt=(0,Pe.Yr)(ht),an=function(ct,Et){var Lt=Mt?{ref:Et}:{};return Ke(),pe.createElement(ht,(0,Oe.Z)({},ct,Lt))};return Mt?pe.memo(pe.forwardRef(an),bt):pe.memo(an,bt)}return{makeImmutable:et,responseImmutable:ut,useImmutableMark:Ke}}var oe=be(),y=oe.makeImmutable,a=oe.responseImmutable,E=oe.useImmutableMark,b=be(),x=b.makeImmutable,z=b.responseImmutable,ne=b.useImmutableMark,le=Ne(),xe=le;function Ee(Ue,Ke){var et=pe.useRef(0);et.current+=1;var ut=pe.useRef(Ue),ht=[];Object.keys(Ue||{}).map(function(Mt){var an;(Ue==null?void 0:Ue[Mt])!==((an=ut.current)===null||an===void 0?void 0:an[Mt])&&ht.push(Mt)}),ut.current=Ue;var bt=pe.useRef([]);return ht.length&&(bt.current=ht),pe.useDebugValue(et.current),pe.useDebugValue(bt.current.join(", ")),Ke&&console.log("".concat(Ke,":"),et.current,bt.current),et.current}var Qe=null,We=pe.memo(function(){var Ue=Ee();return pe.createElement("h1",null,"Render Times: ",Ue)});We.displayName="RenderBlock";var Ve=ve(34666),tt=ve(27247),ke=ve(74430),Ft=ve(92310),Te=ve.n(Ft),kt=ve(80547),st=ve(97938),At=ve(48736),Dt=pe.createContext({renderWithProps:!1}),gt=Dt,xt="RC_TABLE_KEY";function ft(Ue){return Ue==null?[]:Array.isArray(Ue)?Ue:[Ue]}function it(Ue){var Ke=[],et={};return Ue.forEach(function(ut){for(var ht=ut||{},bt=ht.key,Mt=ht.dataIndex,an=bt||ft(Mt).join("-")||xt;et[an];)an="".concat(an,"_next");et[an]=!0,Ke.push(an)}),Ke}function en(Ue){return Ue!=null}function rn(Ue){return Ue&&(0,Ve.Z)(Ue)==="object"&&!Array.isArray(Ue)&&!pe.isValidElement(Ue)}function Pt(Ue,Ke,et,ut,ht,bt){var Mt=pe.useContext(gt),an=ne(),Ye=(0,kt.Z)(function(){if(en(ut))return[ut];var ct=Ke==null||Ke===""?[]:Array.isArray(Ke)?Ke:[Ke],Et=(0,st.Z)(Ue,ct),Lt=Et,Vt=void 0;if(ht){var nn=ht(Et,Ue,et);rn(nn)?(Lt=nn.children,Vt=nn.props,Mt.renderWithProps=!0):Lt=nn}return[Lt,Vt]},[an,Ue,ut,Ke,ht,et],function(ct,Et){if(bt){var Lt=(0,Me.Z)(ct,2),Vt=Lt[1],nn=(0,Me.Z)(Et,2),sn=nn[1];return bt(sn,Vt)}return Mt.renderWithProps?!0:!(0,He.Z)(ct,Et,!0)});return Ye}function Zt(Ue,Ke,et,ut){var ht=Ue+Ke-1;return Ue<=ut&&ht>=et}function En(Ue,Ke){return ue(xe,function(et){var ut=Zt(Ue,Ke||1,et.hoverStartRow,et.hoverEndRow);return[ut,et.onHover]})}var Hn=function(Ke){var et=Ke.ellipsis,ut=Ke.rowType,ht=Ke.children,bt,Mt=et===!0?{showTitle:!0}:et;return Mt&&(Mt.showTitle||ut==="header")&&(typeof ht=="string"||typeof ht=="number"?bt=ht.toString():pe.isValidElement(ht)&&typeof ht.props.children=="string"&&(bt=ht.props.children)),bt};function mn(Ue){var Ke,et,ut,ht,bt,Mt,an,Ye,ct=Ue.component,Et=Ue.children,Lt=Ue.ellipsis,Vt=Ue.scope,nn=Ue.prefixCls,sn=Ue.className,pn=Ue.align,Mn=Ue.record,zn=Ue.render,Vn=Ue.dataIndex,tr=Ue.renderIndex,Lr=Ue.shouldCellUpdate,Rn=Ue.index,Wt=Ue.rowType,Wr=Ue.colSpan,Tr=Ue.rowSpan,Yn=Ue.fixLeft,ir=Ue.fixRight,Ar=Ue.firstFixLeft,qn=Ue.lastFixLeft,vr=Ue.firstFixRight,Mr=Ue.lastFixRight,sa=Ue.appendNode,ta=Ue.additionalProps,Xr=ta===void 0?{}:ta,da=Ue.isSticky,na="".concat(nn,"-cell"),Pa=ue(xe,["supportSticky","allColumnsFixedLeft"]),kr=Pa.supportSticky,To=Pa.allColumnsFixedLeft,Ya=Pt(Mn,Vn,tr,Et,zn,Lr),ja=(0,Me.Z)(Ya,2),ho=ja[0],Ka=ja[1],_o={},Za=typeof Yn=="number"&&kr,nA=typeof ir=="number"&&kr;Za&&(_o.position="sticky",_o.left=Yn),nA&&(_o.position="sticky",_o.right=ir);var _r=(Ke=(et=(ut=Ka==null?void 0:Ka.colSpan)!==null&&ut!==void 0?ut:Xr.colSpan)!==null&&et!==void 0?et:Wr)!==null&&Ke!==void 0?Ke:1,ma=(ht=(bt=(Mt=Ka==null?void 0:Ka.rowSpan)!==null&&Mt!==void 0?Mt:Xr.rowSpan)!==null&&bt!==void 0?bt:Tr)!==null&&ht!==void 0?ht:1,va=En(Rn,ma),ea=(0,Me.Z)(va,2),ua=ea[0],Zr=ea[1],za=function(Hr){var ti;Mn&&Zr(Rn,Rn+ma-1),Xr==null||(ti=Xr.onMouseEnter)===null||ti===void 0||ti.call(Xr,Hr)},Ja=function(Hr){var ti;Mn&&Zr(-1,-1),Xr==null||(ti=Xr.onMouseLeave)===null||ti===void 0||ti.call(Xr,Hr)};if(_r===0||ma===0)return null;var uo=(an=Xr.title)!==null&&an!==void 0?an:Hn({rowType:Wt,ellipsis:Lt,children:ho}),xi=Te()(na,sn,(Ye={},(0,ke.Z)(Ye,"".concat(na,"-fix-left"),Za&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-left-first"),Ar&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-left-last"),qn&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-left-all"),qn&&To&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-right"),nA&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-right-first"),vr&&kr),(0,ke.Z)(Ye,"".concat(na,"-fix-right-last"),Mr&&kr),(0,ke.Z)(Ye,"".concat(na,"-ellipsis"),Lt),(0,ke.Z)(Ye,"".concat(na,"-with-append"),sa),(0,ke.Z)(Ye,"".concat(na,"-fix-sticky"),(Za||nA)&&da&&kr),(0,ke.Z)(Ye,"".concat(na,"-row-hover"),!Ka&&ua),Ye),Xr.className,Ka==null?void 0:Ka.className),Fa={};pn&&(Fa.textAlign=pn);var rA=(0,tt.Z)((0,tt.Z)((0,tt.Z)((0,tt.Z)({},_o),Xr.style),Fa),Ka==null?void 0:Ka.style),di=ho;return(0,Ve.Z)(di)==="object"&&!Array.isArray(di)&&!pe.isValidElement(di)&&(di=null),Lt&&(qn||vr)&&(di=pe.createElement("span",{className:"".concat(na,"-content")},di)),pe.createElement(ct,(0,Oe.Z)({},Ka,Xr,{className:xi,style:rA,title:uo,scope:Vt,onMouseEnter:za,onMouseLeave:Ja,colSpan:_r!==1?_r:null,rowSpan:ma!==1?ma:null}),sa,di)}var Gn=pe.memo(mn);function Nt(Ue,Ke,et,ut,ht,bt){var Mt=et[Ue]||{},an=et[Ke]||{},Ye,ct;Mt.fixed==="left"?Ye=ut.left[ht==="rtl"?Ke:Ue]:an.fixed==="right"&&(ct=ut.right[ht==="rtl"?Ue:Ke]);var Et=!1,Lt=!1,Vt=!1,nn=!1,sn=et[Ke+1],pn=et[Ue-1],Mn=!(bt!=null&&bt.children);if(ht==="rtl"){if(Ye!==void 0){var zn=pn&&pn.fixed==="left";nn=!zn&&Mn}else if(ct!==void 0){var Vn=sn&&sn.fixed==="right";Vt=!Vn&&Mn}}else if(Ye!==void 0){var tr=sn&&sn.fixed==="left";Et=!tr&&Mn}else if(ct!==void 0){var Lr=pn&&pn.fixed==="right";Lt=!Lr&&Mn}return{fixLeft:Ye,fixRight:ct,lastFixLeft:Et,firstFixRight:Lt,lastFixRight:Vt,firstFixLeft:nn,isSticky:ut.isSticky}}var _n=pe.createContext({}),or=_n;function Je(Ue){var Ke=Ue.className,et=Ue.index,ut=Ue.children,ht=Ue.colSpan,bt=ht===void 0?1:ht,Mt=Ue.rowSpan,an=Ue.align,Ye=ue(xe,["prefixCls","direction"]),ct=Ye.prefixCls,Et=Ye.direction,Lt=pe.useContext(or),Vt=Lt.scrollColumnIndex,nn=Lt.stickyOffsets,sn=Lt.flattenColumns,pn=Lt.columns,Mn=et+bt-1,zn=Mn+1===Vt?bt+1:bt,Vn=Nt(et,et+zn-1,sn,nn,Et,pn==null?void 0:pn[et]);return pe.createElement(Gn,(0,Oe.Z)({className:Ke,index:et,component:"td",prefixCls:ct,record:null,dataIndex:null,align:an,colSpan:zn,rowSpan:Mt,render:function(){return ut}},Vn))}var yn=ve(43079),Fe=["children"];function de(Ue){var Ke=Ue.children,et=(0,yn.Z)(Ue,Fe);return pe.createElement("tr",et,Ke)}function Ae(Ue){var Ke=Ue.children;return Ke}Ae.Row=de,Ae.Cell=Je;var ye=Ae;function qe(Ue){var Ke=Ue.children,et=Ue.stickyOffsets,ut=Ue.flattenColumns,ht=Ue.columns,bt=ue(xe,"prefixCls"),Mt=ut.length-1,an=ut[Mt],Ye=pe.useMemo(function(){return{stickyOffsets:et,flattenColumns:ut,scrollColumnIndex:an!=null&&an.scrollbar?Mt:null,columns:ht}},[an,ut,Mt,et,ht]);return pe.createElement(or.Provider,{value:Ye},pe.createElement("tfoot",{className:"".concat(bt,"-summary")},Ke))}var pt=z(qe),Re=ye,Xe=ve(70425),Qt=ve(29301),Bt=ve(29194),lt=ve(24514),Yt=ve(75152),wn=ve(26112);function jt(Ue,Ke,et,ut,ht,bt,Mt){Ue.push({record:Ke,indent:et,index:Mt});var an=bt(Ke),Ye=ht==null?void 0:ht.has(an);if(Ke&&Array.isArray(Ke[ut])&&Ye)for(var ct=0;ct1?Ar-1:0),vr=1;vr=0;an-=1){var Ye=Ke[an],ct=et&&et[an],Et=ct&&ct[ur];if(Ye||Et||Mt){var Lt=Et||{},Vt=Lt.columnType,nn=(0,yn.Z)(Lt,br);ht.unshift(pe.createElement("col",(0,Oe.Z)({key:an,style:{width:Ye}},nn))),Mt=!0}}return pe.createElement("colgroup",null,ht)}var ha=qr,Qr=ve(3300),Qa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ua(Ue,Ke){return(0,pe.useMemo)(function(){for(var et=[],ut=0;ut1?"colgroup":"col":null,ellipsis:Mn.ellipsis,align:Mn.align,component:Mn.title?bt:Mt,prefixCls:Et,key:nn[pn]},zn,{additionalProps:Vn,rowType:"header"}))}))}wo.displayName="HeaderRow";var eo=wo;function Oo(Ue){var Ke=[];function et(Mt,an){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ke[Ye]=Ke[Ye]||[];var ct=an,Et=Mt.filter(Boolean).map(function(Lt){var Vt={key:Lt.key,className:Lt.className||"",children:Lt.title,column:Lt,colStart:ct},nn=1,sn=Lt.children;return sn&&sn.length>0&&(nn=et(sn,ct,Ye+1).reduce(function(pn,Mn){return pn+Mn},0),Vt.hasSubColumns=!0),"colSpan"in Lt&&(nn=Lt.colSpan),"rowSpan"in Lt&&(Vt.rowSpan=Lt.rowSpan),Vt.colSpan=nn,Vt.colEnd=Vt.colStart+nn-1,Ke[Ye].push(Vt),ct+=nn,nn});return Et}et(Ue,0);for(var ut=Ke.length,ht=function(an){Ke[an].forEach(function(Ye){!("rowSpan"in Ye)&&!Ye.hasSubColumns&&(Ye.rowSpan=ut-an)})},bt=0;bt1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ke=="number"?Ke:Ke.endsWith("%")?Ue*parseFloat(Ke)/100:null}function Co(Ue,Ke){return pe.useMemo(function(){if(Ke&&Ke>0){var et=0,ut=0;Ue.forEach(function(ct){var Et=qo(Ke,ct.width);Et?et+=Et:ut+=1});var ht=Ke-et,bt=ut,Mt=ht/ut,an=0,Ye=Ue.map(function(ct){var Et=(0,tt.Z)({},ct),Lt=qo(Ke,Et.width);if(Lt)Et.width=Lt;else{var Vt=Math.floor(Mt);Et.width=bt===1?ht:Vt,ht-=Vt,bt-=1}return an+=Et.width,Et});return[Ye,an]}return[Ue,Ke]},[Ue,Ke])}var Dn=["children"],kn=["fixed"];function vn(Ue){return(0,Xo.Z)(Ue).filter(function(Ke){return pe.isValidElement(Ke)}).map(function(Ke){var et=Ke.key,ut=Ke.props,ht=ut.children,bt=(0,yn.Z)(ut,Dn),Mt=(0,tt.Z)({key:et},bt);return ht&&(Mt.children=vn(ht)),Mt})}function Ur(Ue){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ue.filter(function(et){return et&&(0,Ve.Z)(et)==="object"}).reduce(function(et,ut,ht){var bt=ut.fixed,Mt=bt===!0?"left":bt,an="".concat(Ke,"-").concat(ht),Ye=ut.children;return Ye&&Ye.length>0?[].concat((0,Qr.Z)(et),(0,Qr.Z)(Ur(Ye,an).map(function(ct){return(0,tt.Z)({fixed:Mt},ct)}))):[].concat((0,Qr.Z)(et),[(0,tt.Z)((0,tt.Z)({key:an},ut),{},{fixed:Mt})])},[])}function Aa(Ue){for(var Ke=!0,et=0;et=0;bt-=1){var Mt=Ue[bt];if(ht&&Mt.fixed!=="right")ht=!1;else if(!ht&&Mt.fixed==="right"){warning(!1,"Index ".concat(bt+1," of `columns` missing `fixed='right'` prop."));break}}}function Nr(Ue){return Ue.map(function(Ke){var et=Ke.fixed,ut=(0,yn.Z)(Ke,kn),ht=et;return et==="left"?ht="right":et==="right"&&(ht="left"),(0,tt.Z)({fixed:ht},ut)})}function ga(Ue,Ke){var et=Ue.prefixCls,ut=Ue.columns,ht=Ue.children,bt=Ue.expandable,Mt=Ue.expandedKeys,an=Ue.columnTitle,Ye=Ue.getRowKey,ct=Ue.onTriggerExpand,Et=Ue.expandIcon,Lt=Ue.rowExpandable,Vt=Ue.expandIconColumnIndex,nn=Ue.direction,sn=Ue.expandRowByClick,pn=Ue.columnWidth,Mn=Ue.fixed,zn=Ue.scrollWidth,Vn=pe.useMemo(function(){return ut||vn(ht)},[ut,ht]),tr=pe.useMemo(function(){if(bt){var ir,Ar=Vn.slice();if(!Ar.includes(he)){var qn=Vt||0;qn>=0&&Ar.splice(qn,0,he)}var vr=Ar.indexOf(he);Ar=Ar.filter(function(Xr,da){return Xr!==he||da===vr});var Mr=Vn[vr],sa;(Mn==="left"||Mn)&&!Vt?sa="left":(Mn==="right"||Mn)&&Vt===Vn.length?sa="right":sa=Mr?Mr.fixed:null;var ta=(ir={},(0,ke.Z)(ir,ur,{className:"".concat(et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ke.Z)(ir,"title",an),(0,ke.Z)(ir,"fixed",sa),(0,ke.Z)(ir,"className","".concat(et,"-row-expand-icon-cell")),(0,ke.Z)(ir,"width",pn),(0,ke.Z)(ir,"render",function(da,na,Pa){var kr=Ye(na,Pa),To=Mt.has(kr),Ya=Lt?Lt(na):!0,ja=Et({prefixCls:et,expanded:To,expandable:Ya,record:na,onExpand:ct});return sn?pe.createElement("span",{onClick:function(Ka){return Ka.stopPropagation()}},ja):ja}),ir);return Ar.map(function(Xr){return Xr===he?ta:Xr})}return Vn.filter(function(Xr){return Xr!==he})},[bt,Vn,Ye,Mt,Et,nn]),Lr=pe.useMemo(function(){var ir=tr;return Ke&&(ir=Ke(ir)),ir.length||(ir=[{render:function(){return null}}]),ir},[Ke,tr,nn]),Rn=pe.useMemo(function(){return nn==="rtl"?Nr(Ur(Lr)):Ur(Lr)},[Lr,nn,zn]),Wt=Co(Rn,zn),Wr=(0,Me.Z)(Wt,2),Tr=Wr[0],Yn=Wr[1];return[Lr,Tr,Yn]}var xa=ga;function wa(Ue){var Ke,et=Ue.prefixCls,ut=Ue.record,ht=Ue.onExpand,bt=Ue.expanded,Mt=Ue.expandable,an="".concat(et,"-row-expand-icon");if(!Mt)return pe.createElement("span",{className:Te()(an,"".concat(et,"-row-spaced"))});var Ye=function(Et){ht(ut,Et),Et.stopPropagation()};return pe.createElement("span",{className:Te()(an,(Ke={},(0,ke.Z)(Ke,"".concat(et,"-row-expanded"),bt),(0,ke.Z)(Ke,"".concat(et,"-row-collapsed"),!bt),Ke)),onClick:Ye})}function to(Ue,Ke,et){var ut=[];function ht(bt){(bt||[]).forEach(function(Mt,an){ut.push(Ke(Mt,an)),ht(Mt[et])})}return ht(Ue),ut}function $o(Ue,Ke,et){var ut=hr(Ue),ht=ut.expandIcon,bt=ut.expandedRowKeys,Mt=ut.defaultExpandedRowKeys,an=ut.defaultExpandAllRows,Ye=ut.expandedRowRender,ct=ut.onExpand,Et=ut.onExpandedRowsChange,Lt=ut.childrenColumnName,Vt=ht||wa,nn=Lt||"children",sn=pe.useMemo(function(){return Ye?"row":Ue.expandable&&Ue.internalHooks===we&&Ue.expandable.__PARENT_RENDER_ICON__||Ke.some(function(Rn){return Rn&&(0,Ve.Z)(Rn)==="object"&&Rn[nn]})?"nest":!1},[!!Ye,Ke]),pn=pe.useState(function(){return Mt||(an?to(Ke,et,nn):[])}),Mn=(0,Me.Z)(pn,2),zn=Mn[0],Vn=Mn[1],tr=pe.useMemo(function(){return new Set(bt||zn||[])},[bt,zn]),Lr=pe.useCallback(function(Rn){var Wt=et(Rn,Ke.indexOf(Rn)),Wr,Tr=tr.has(Wt);Tr?(tr.delete(Wt),Wr=(0,Qr.Z)(tr)):Wr=[].concat((0,Qr.Z)(tr),[Wt]),Vn(Wr),ct&&ct(!Tr,Rn),Et&&Et(Wr)},[et,tr,Ke,ct,Et]);return[ut,sn,tr,Vt,nn,Lr]}function Er(Ue,Ke,et,ut){var ht=Ue.map(function(bt,Mt){return Nt(Mt,Mt,Ue,Ke,et,ut==null?void 0:ut[Mt])});return(0,kt.Z)(function(){return ht},[ht],function(bt,Mt){return!(0,He.Z)(bt,Mt)})}function Ea(Ue){var Ke=(0,pe.useRef)(Ue),et=(0,pe.useState)({}),ut=(0,Me.Z)(et,2),ht=ut[1],bt=(0,pe.useRef)(null),Mt=(0,pe.useRef)([]);function an(Ye){Mt.current.push(Ye);var ct=Promise.resolve();bt.current=ct,ct.then(function(){if(bt.current===ct){var Et=Mt.current,Lt=Ke.current;Mt.current=[],Et.forEach(function(Vt){Ke.current=Vt(Ke.current)}),bt.current=null,Lt!==Ke.current&&ht({})}})}return(0,pe.useEffect)(function(){return function(){bt.current=null}},[]),[Ke.current,an]}function Ho(Ue){var Ke=(0,pe.useRef)(Ue||null),et=(0,pe.useRef)();function ut(){window.clearTimeout(et.current)}function ht(Mt){Ke.current=Mt,ut(),et.current=window.setTimeout(function(){Ke.current=null,et.current=void 0},100)}function bt(){return Ke.current}return(0,pe.useEffect)(function(){return ut},[]),[ht,bt]}function Lo(){var Ue=pe.useState(-1),Ke=(0,Me.Z)(Ue,2),et=Ke[0],ut=Ke[1],ht=pe.useState(-1),bt=(0,Me.Z)(ht,2),Mt=bt[0],an=bt[1],Ye=pe.useCallback(function(ct,Et){ut(ct),an(Et)},[]);return[et,Mt,Ye]}var Qo=ve(47273),io=(0,Qo.Z)()?window:null;function hi(Ue,Ke){var et=(0,Ve.Z)(Ue)==="object"?Ue:{},ut=et.offsetHeader,ht=ut===void 0?0:ut,bt=et.offsetSummary,Mt=bt===void 0?0:bt,an=et.offsetScroll,Ye=an===void 0?0:an,ct=et.getContainer,Et=ct===void 0?function(){return io}:ct,Lt=Et()||io;return pe.useMemo(function(){var Vt=!!Ue;return{isSticky:Vt,stickyClassName:Vt?"".concat(Ke,"-sticky-holder"):"",offsetHeader:ht,offsetSummary:Mt,offsetScroll:Ye,container:Lt}},[Ye,ht,Mt,Ke,Lt])}function Di(Ue,Ke,et){var ut=(0,pe.useMemo)(function(){for(var ht=[],bt=[],Mt=0,an=0,Ye=0;Ye=Lt&&(Xr=Lt-Vt),Mt({scrollLeft:Xr/Lt*(Et+2)}),Vn.current.x=vr.pageX},ir=function(){if(bt.current){var vr=(0,sA.os)(bt.current).top,Mr=vr+bt.current.offsetHeight,sa=Ye===window?document.documentElement.scrollTop+window.innerHeight:(0,sA.os)(Ye).top+Ye.clientHeight;Mr-(0,Yt.Z)()<=sa||vr>=sa-an?zn(function(ta){return(0,tt.Z)((0,tt.Z)({},ta),{},{isHiddenScrollBar:!0})}):zn(function(ta){return(0,tt.Z)((0,tt.Z)({},ta),{},{isHiddenScrollBar:!1})})}},Ar=function(vr){zn(function(Mr){return(0,tt.Z)((0,tt.Z)({},Mr),{},{scrollLeft:vr/Et*Lt||0})})};return pe.useImperativeHandle(et,function(){return{setScrollLeft:Ar}}),pe.useEffect(function(){var qn=(0,zo.Z)(document.body,"mouseup",Wr,!1),vr=(0,zo.Z)(document.body,"mousemove",Yn,!1);return ir(),function(){qn.remove(),vr.remove()}},[Vt,Rn]),pe.useEffect(function(){var qn=(0,zo.Z)(Ye,"scroll",ir,!1),vr=(0,zo.Z)(window,"resize",ir,!1);return function(){qn.remove(),vr.remove()}},[Ye]),pe.useEffect(function(){Mn.isHiddenScrollBar||zn(function(qn){var vr=bt.current;return vr?(0,tt.Z)((0,tt.Z)({},qn),{},{scrollLeft:vr.scrollLeft/vr.scrollWidth*vr.clientWidth}):qn})},[Mn.isHiddenScrollBar]),Et<=Lt||!Vt||Mn.isHiddenScrollBar?null:pe.createElement("div",{style:{height:(0,Yt.Z)(),width:Lt,bottom:an},className:"".concat(ct,"-sticky-scroll")},pe.createElement("div",{onMouseDown:Tr,ref:nn,className:Te()("".concat(ct,"-sticky-scroll-bar"),(0,ke.Z)({},"".concat(ct,"-sticky-scroll-bar-active"),Rn)),style:{width:"".concat(Vt,"px"),transform:"translate3d(".concat(Mn.scrollLeft,"px, 0, 0)")}}))},_i=pe.forwardRef(XA);function Dr(Ue){return null}var Gl=Dr;function Fs(Ue){return null}var xs=Fs,JA="rc-table",Vr=[],La={};function mo(){return"No Data"}function Ba(Ue){var Ke,et=(0,tt.Z)({rowKey:"key",prefixCls:JA,emptyText:mo},Ue),ut=et.prefixCls,ht=et.className,bt=et.rowClassName,Mt=et.style,an=et.data,Ye=et.rowKey,ct=et.scroll,Et=et.tableLayout,Lt=et.direction,Vt=et.title,nn=et.footer,sn=et.summary,pn=et.caption,Mn=et.id,zn=et.showHeader,Vn=et.components,tr=et.emptyText,Lr=et.onRow,Rn=et.onHeaderRow,Wt=et.internalHooks,Wr=et.transformColumns,Tr=et.internalRefs,Yn=et.tailor,ir=et.sticky,Ar=an||Vr,qn=!!Ar.length,vr=Wt===we,Mr=pe.useCallback(function(No,ni){return(0,st.Z)(Vn,No)||ni},[Vn]),sa=pe.useMemo(function(){return typeof Ye=="function"?Ye:function(No){var ni=No&&No[Ye];return ni}},[Ye]),ta=Mr(["body"]),Xr=Lo(),da=(0,Me.Z)(Xr,3),na=da[0],Pa=da[1],kr=da[2],To=$o(et,Ar,sa),Ya=(0,Me.Z)(To,6),ja=Ya[0],ho=Ya[1],Ka=Ya[2],_o=Ya[3],Za=Ya[4],nA=Ya[5],_r=ct==null?void 0:ct.x,ma=pe.useState(0),va=(0,Me.Z)(ma,2),ea=va[0],ua=va[1],Zr=xa((0,tt.Z)((0,tt.Z)((0,tt.Z)({},et),ja),{},{expandable:!!ja.expandedRowRender,columnTitle:ja.columnTitle,expandedKeys:Ka,getRowKey:sa,onTriggerExpand:nA,expandIcon:_o,expandIconColumnIndex:ja.expandIconColumnIndex,direction:Lt,scrollWidth:vr&&Yn&&typeof _r=="number"?_r:null}),vr?Wr:null),za=(0,Me.Z)(Zr,3),Ja=za[0],uo=za[1],xi=za[2],Fa=xi!=null?xi:_r,rA=pe.useMemo(function(){return{columns:Ja,flattenColumns:uo}},[Ja,uo]),di=pe.useRef(),Li=pe.useRef(),Hr=pe.useRef(),ti=pe.useRef(),pA=pe.useRef(),Fo=pe.useState(!1),ao=(0,Me.Z)(Fo,2),Wo=ao[0],Ai=ao[1],Vo=pe.useState(!1),qa=(0,Me.Z)(Vo,2),Ci=qa[0],Ii=qa[1],uA=Ea(new Map),aA=(0,Me.Z)(uA,2),FA=aA[0],ws=aA[1],os=it(uo),RA=os.map(function(No){return FA.get(No)}),OA=pe.useMemo(function(){return RA},[RA.join("_")]),cA=Ei(OA,uo.length,Lt),bi=ct&&en(ct.y),mi=ct&&en(Fa)||!!ja.fixed,Cs=mi&&uo.some(function(No){var ni=No.fixed;return ni}),Qs=pe.useRef(),Ws=hi(ir,ut),cs=Ws.isSticky,_l=Ws.offsetHeader,pl=Ws.offsetSummary,xo=Ws.offsetScroll,fo=Ws.stickyClassName,oA=Ws.container,pi=pe.useMemo(function(){return sn==null?void 0:sn(Ar)},[sn,Ar]),iA=(bi||cs)&&pe.isValidElement(pi)&&pi.type===ye&&pi.props.fixed,vA,dA,BA;bi&&(dA={overflowY:"scroll",maxHeight:ct.y}),mi&&(vA={overflowX:"auto"},bi||(dA={overflowY:"hidden"}),BA={width:Fa===!0?"auto":Fa,minWidth:"100%"});var Al=pe.useCallback(function(No,ni){(0,Bt.Z)(di.current)&&ws(function(QA){if(QA.get(No)!==ni){var Ts=new Map(QA);return Ts.set(No,ni),Ts}return QA})},[]),MA=Ho(null),Fl=(0,Me.Z)(MA,2),ou=Fl[0],Eu=Fl[1];function vl(No,ni){ni&&(typeof ni=="function"?ni(No):ni.scrollLeft!==No&&(ni.scrollLeft=No,ni.scrollLeft!==No&&setTimeout(function(){ni.scrollLeft=No},0)))}var Zs=(0,nt.Z)(function(No){var ni=No.currentTarget,QA=No.scrollLeft,Ts=Lt==="rtl",ks=typeof QA=="number"?QA:ni.scrollLeft,uu=ni||La;if(!Eu()||Eu()===uu){var Xl;ou(uu),vl(ks,Li.current),vl(ks,Hr.current),vl(ks,pA.current),vl(ks,(Xl=Qs.current)===null||Xl===void 0?void 0:Xl.setScrollLeft)}var Es=ni||Li.current;if(Es){var js=Es.scrollWidth,cu=Es.clientWidth;if(js===cu){Ai(!1),Ii(!1);return}Ts?(Ai(-ks0)):(Ai(ks>0),Ii(ks1?pn-vr:0,sa=(0,tt.Z)((0,tt.Z)((0,tt.Z)({},Wr),Ye),{},{flex:"0 0 ".concat(vr,"px"),width:"".concat(vr,"px"),marginRight:Mr,pointerEvents:"auto"}),ta=pe.useMemo(function(){return Et?Ar<=1:Yn===0||Ar===0||Ar>1},[Ar,Yn,Et]);ta?sa.visibility="hidden":Et&&(sa.height=Lt==null?void 0:Lt(Ar));var Xr=ta?function(){return null}:Vt,da={};return(Ar===0||Yn===0)&&(da.rowSpan=1,da.colSpan=1),pe.createElement(Gn,(0,Oe.Z)({className:Te()(sn,ct),ellipsis:et.ellipsis,align:et.align,scope:et.rowScope,component:"div",prefixCls:Ke.prefixCls,key:tr,record:an,index:bt,renderIndex:Mt,dataIndex:nn,render:Xr,shouldCellUpdate:et.shouldCellUpdate},Lr,{appendNode:Rn,additionalProps:(0,tt.Z)((0,tt.Z)({},Wt),{},{style:sa},da)}))}var ms=ml,ps=["data","index","className","rowKey","style","extra","getHeight"],qA=pe.forwardRef(function(Ue,Ke){var et=Ue.data,ut=Ue.index,ht=Ue.className,bt=Ue.rowKey,Mt=Ue.style,an=Ue.extra,Ye=Ue.getHeight,ct=(0,yn.Z)(Ue,ps),Et=et.record,Lt=et.indent,Vt=et.index,nn=ue(xe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),sn=nn.scrollX,pn=nn.flattenColumns,Mn=nn.prefixCls,zn=nn.fixColumn,Vn=nn.componentWidth,tr=dt(Et,bt,ut,Lt),Lr=tr.rowSupportExpand,Rn=tr.expanded,Wt=tr.rowProps,Wr=tr.expandedRowRender,Tr=tr.expandedRowClassName,Yn;if(Lr&&Rn){var ir=Wr(Et,ut,Lt+1,Rn),Ar=Tr==null?void 0:Tr(Et,ut,Lt),qn={};zn&&(qn={style:(0,ke.Z)({},"--virtual-width","".concat(Vn,"px"))});var vr="".concat(Mn,"-expanded-row-cell");Yn=pe.createElement("div",{className:Te()("".concat(Mn,"-expanded-row"),"".concat(Mn,"-expanded-row-level-").concat(Lt+1),Ar)},pe.createElement(Gn,{component:"div",prefixCls:Mn,className:Te()(vr,(0,ke.Z)({},"".concat(vr,"-fixed"),zn)),additionalProps:qn},ir))}var Mr=(0,tt.Z)((0,tt.Z)({},Mt),{},{width:sn});an&&(Mr.position="absolute",Mr.pointerEvents="none");var sa=pe.createElement("div",(0,Oe.Z)({},Wt,ct,{ref:Lr?null:Ke,className:Te()(ht,"".concat(Mn,"-row"),Wt==null?void 0:Wt.className,(0,ke.Z)({},"".concat(Mn,"-row-extra"),an)),style:(0,tt.Z)((0,tt.Z)({},Mr),Wt==null?void 0:Wt.style)}),pn.map(function(ta,Xr){return pe.createElement(ms,{key:Xr,rowInfo:tr,column:ta,colIndex:Xr,indent:Lt,index:ut,renderIndex:Vt,record:Et,inverse:an,getHeight:Ye})}));return Lr?pe.createElement("div",{ref:Ke},sa,Yn):sa}),jA=z(qA),vs=jA,$A=pe.forwardRef(function(Ue,Ke){var et=Ue.data,ut=Ue.onScroll,ht=ue(xe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),bt=ht.flattenColumns,Mt=ht.onColumnResize,an=ht.getRowKey,Ye=ht.expandedKeys,ct=ht.prefixCls,Et=ht.childrenColumnName,Lt=ht.emptyNode,Vt=ht.scrollX,nn=ue(qi),sn=nn.scrollY,pn=nn.listItemHeight,Mn=pe.useRef(),zn=fn(et,Et,Ye,an),Vn=pe.useMemo(function(){var Yn=0;return bt.map(function(ir){var Ar=ir.width,qn=ir.key;return Yn+=Ar,[qn,Ar,Yn]})},[bt]),tr=pe.useMemo(function(){return Vn.map(function(Yn){return Yn[2]})},[Vn]);pe.useEffect(function(){Vn.forEach(function(Yn){var ir=(0,Me.Z)(Yn,2),Ar=ir[0],qn=ir[1];Mt(Ar,qn)})},[Vn]),pe.useImperativeHandle(Ke,function(){var Yn={};return Object.defineProperty(Yn,"scrollLeft",{get:function(){var Ar;return((Ar=Mn.current)===null||Ar===void 0?void 0:Ar.getScrollInfo().x)||0},set:function(Ar){var qn;(qn=Mn.current)===null||qn===void 0||qn.scrollTo({left:Ar})}}),Yn});var Lr=function(ir,Ar){var qn,vr=(qn=zn[Ar])===null||qn===void 0?void 0:qn.record,Mr=ir.onCell;if(Mr){var sa,ta=Mr(vr,Ar);return(sa=ta==null?void 0:ta.rowSpan)!==null&&sa!==void 0?sa:1}return 1},Rn=function(ir){var Ar=ir.start,qn=ir.end,vr=ir.getSize,Mr=ir.offsetY;if(qn<0)return null;for(var sa=bt.filter(function(_r){return Lr(_r,Ar)===0}),ta=Ar,Xr=function(ma){if(sa=sa.filter(function(va){return Lr(va,ma)===0}),!sa.length)return ta=ma,"break"},da=Ar;da>=0;da-=1){var na=Xr(da);if(na==="break")break}for(var Pa=bt.filter(function(_r){return Lr(_r,qn)!==1}),kr=qn,To=function(ma){if(Pa=Pa.filter(function(va){return Lr(va,ma)!==1}),!Pa.length)return kr=Math.max(ma-1,qn),"break"},Ya=qn;Ya1})&&ho.push(ma)},_o=ta;_o<=kr;_o+=1)var Za=Ka(_o);var nA=ho.map(function(_r){var ma=zn[_r],va=an(ma.record,_r),ea=function(za){var Ja=_r+za-1,uo=an(zn[Ja].record,Ja),xi=vr(va,uo);return xi.bottom-xi.top},ua=vr(va);return pe.createElement(vs,{key:_r,data:ma,rowKey:va,index:_r,style:{top:-Mr+ua.top},extra:!0,getHeight:ea})});return nA},Wt=pe.useMemo(function(){return{columnsOffset:tr}},[tr]),Wr="".concat(ct,"-tbody"),Tr;return zn.length?Tr=pe.createElement(Ia.Z,{fullHeight:!1,ref:Mn,className:Te()(Wr,"".concat(Wr,"-virtual")),height:sn,itemHeight:pn||24,data:zn,itemKey:function(ir){return an(ir.record)},scrollWidth:Vt,onVirtualScroll:function(ir){var Ar=ir.x;ut({scrollLeft:Ar})},extraRender:Rn},function(Yn,ir,Ar){var qn=an(Yn.record,ir);return pe.createElement(vs,(0,Oe.Z)({data:Yn,rowKey:qn,index:ir},Ar))}):Tr=pe.createElement("div",{className:Te()("".concat(ct,"-placeholder"))},pe.createElement(Gn,{component:"div",prefixCls:ct},Lt)),pe.createElement(Oa.Provider,{value:Wt},Tr)}),_A=z($A),Ui=_A,$n=function(Ke,et){var ut=et.ref,ht=et.onScroll;return pe.createElement(Ui,{ref:ut,data:Ke,onScroll:ht})},Zn=100;function lr(Ue){var Ke=Ue.columns,et=Ue.scroll,ut=Ue.prefixCls,ht=ut===void 0?JA:ut,bt=Ue.className,Mt=Ue.listItemHeight,an=et||{},Ye=an.x,ct=an.y;typeof Ye!="number"&&(Ye=((Ke||[]).length+1)*Zn),typeof ct!="number"&&(ct=500);var Et=pe.useMemo(function(){return{scrollY:ct,listItemHeight:Mt}},[ct,Mt]);return pe.createElement(qi.Provider,{value:Et},pe.createElement(Pi,(0,Oe.Z)({},Ue,{className:Te()(bt,"".concat(ht,"-virtual")),scroll:(0,tt.Z)((0,tt.Z)({},et),{},{x:Ye}),components:{body:$n},columns:Ke,internalHooks:we,tailor:!0})))}function Yr(Ue){return x(lr,Ue)}var tn=Yr(),co=null;function zr(Ue){return null}var Ao=zr;function Ta(Ue){return null}var Mo=Ta,ka=ve(2738),ya=ve(68031),vo=ve(36355),so=ve(93891),Bi=ve(19716),Ga=ve(8628),oi=ve(31724),Fi=ve(58421),Gr=ve(71418),jr=ve(88088);function Kt(Ue){return function(et){let{prefixCls:ut,onExpand:ht,record:bt,expanded:Mt,expandable:an}=et;const Ye=`${ut}-row-expand-icon`;return pe.createElement("button",{type:"button",onClick:ct=>{ht(bt,ct),ct.stopPropagation()},className:Te()(Ye,{[`${Ye}-spaced`]:!an,[`${Ye}-expanded`]:an&&Mt,[`${Ye}-collapsed`]:an&&!Mt}),"aria-label":Mt?Ue.collapse:Ue.expand,"aria-expanded":Mt})}}var Ht=Kt;function In(Ue,Ke){return"key"in Ue&&Ue.key!==void 0&&Ue.key!==null?Ue.key:Ue.dataIndex?Array.isArray(Ue.dataIndex)?Ue.dataIndex.join("."):Ue.dataIndex:Ke}function gr(Ue,Ke){return Ke?`${Ke}-${Ue}`:`${Ue}`}function $r(Ue,Ke){return typeof Ue=="function"?Ue(Ke):Ue}function xr(Ue,Ke){const et=$r(Ue,Ke);return Object.prototype.toString.call(et)==="[object Object]"?"":et}var Jr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},wr=Jr,aa=ve(7657),fa=function(Ke,et){return pe.createElement(aa.Z,(0,Oe.Z)({},Ke,{ref:et,icon:wr}))},lo=pe.forwardRef(fa),Ko=lo,Ca=ve(56762);function po(Ue){const Ke=pe.useRef(Ue),et=(0,Ca.Z)();return[()=>Ke.current,ut=>{Ke.current=ut,et()}]}var Ha=ve(3113),Va=ve(24905),oa=ve(38854),Ra=ve(64165),Wa=ve(20834),bo=ve(40875),ei=ve(5112),ii=ve(17574),Oi=ve(47472),Si=ve(92832);function $i(Ue){let{value:Ke,onChange:et,filterSearch:ut,tablePrefixCls:ht,locale:bt}=Ue;return ut?pe.createElement("div",{className:`${ht}-filter-dropdown-search`},pe.createElement(Si.default,{prefix:pe.createElement(Oi.Z,null),placeholder:bt.filterSearchPlaceholder,onChange:et,value:Ke,htmlSize:1,className:`${ht}-filter-dropdown-search-input`})):null}var WA=$i,gA=ve(10228);const es=Ue=>{const{keyCode:Ke}=Ue;Ke===gA.Z.ENTER&&Ue.stopPropagation()};var Pn=pe.forwardRef((Ue,Ke)=>pe.createElement("div",{className:Ue.className,onClick:et=>et.stopPropagation(),onKeyDown:es,ref:Ke},Ue.children));function Nn(Ue){let Ke=[];return(Ue||[]).forEach(et=>{let{value:ut,children:ht}=et;Ke.push(ut),ht&&(Ke=[].concat((0,Qr.Z)(Ke),(0,Qr.Z)(Nn(ht))))}),Ke}function lA(Ue){return Ue.some(Ke=>{let{children:et}=Ke;return et})}function Ma(Ue,Ke){return typeof Ke=="string"||typeof Ke=="number"?Ke==null?void 0:Ke.toString().toLowerCase().includes(Ue.trim().toLowerCase()):!1}function Na(Ue){let{filters:Ke,prefixCls:et,filteredKeys:ut,filterMultiple:ht,searchValue:bt,filterSearch:Mt}=Ue;return Ke.map((an,Ye)=>{const ct=String(an.value);if(an.children)return{key:ct||Ye,label:an.text,popupClassName:`${et}-dropdown-submenu`,children:Na({filters:an.children,prefixCls:et,filteredKeys:ut,filterMultiple:ht,searchValue:bt,filterSearch:Mt})};const Et=ht?Va.default:ei.ZP,Lt={key:an.value!==void 0?ct:Ye,label:pe.createElement(pe.Fragment,null,pe.createElement(Et,{checked:ut.includes(ct)}),pe.createElement("span",null,an.text))};return bt.trim()?typeof Mt=="function"?Mt(bt,an)?Lt:null:Ma(bt,an.text)?Lt:null:Lt})}function Eo(Ue){var Ke,et;const{tablePrefixCls:ut,prefixCls:ht,column:bt,dropdownPrefixCls:Mt,columnKey:an,filterMultiple:Ye,filterMode:ct="menu",filterSearch:Et=!1,filterState:Lt,triggerFilter:Vt,locale:nn,children:sn,getPopupContainer:pn}=Ue,{filterDropdownOpen:Mn,onFilterDropdownOpenChange:zn,filterResetToDefaultFilteredValue:Vn,defaultFilteredValue:tr,filterDropdownVisible:Lr,onFilterDropdownVisibleChange:Rn}=bt,[Wt,Wr]=pe.useState(!1),Tr=!!(Lt&&(!((Ke=Lt.filteredKeys)===null||Ke===void 0)&&Ke.length||Lt.forceFiltered)),Yn=Zr=>{Wr(Zr),zn==null||zn(Zr),Rn==null||Rn(Zr)},ir=(et=Mn!=null?Mn:Lr)!==null&&et!==void 0?et:Wt,Ar=Lt==null?void 0:Lt.filteredKeys,[qn,vr]=po(Ar||[]),Mr=Zr=>{let{selectedKeys:za}=Zr;vr(za)},sa=(Zr,za)=>{let{node:Ja,checked:uo}=za;Mr(Ye?{selectedKeys:Zr}:{selectedKeys:uo&&Ja.key?[Ja.key]:[]})};pe.useEffect(()=>{Wt&&Mr({selectedKeys:Ar||[]})},[Ar]);const[ta,Xr]=pe.useState([]),da=Zr=>{Xr(Zr)},[na,Pa]=pe.useState(""),kr=Zr=>{const{value:za}=Zr.target;Pa(za)};pe.useEffect(()=>{Wt||Pa("")},[Wt]);const To=Zr=>{const za=Zr&&Zr.length?Zr:null;if(za===null&&(!Lt||!Lt.filteredKeys)||(0,He.Z)(za,Lt==null?void 0:Lt.filteredKeys,!0))return null;Vt({column:bt,key:an,filteredKeys:za})},Ya=()=>{Yn(!1),To(qn())},ja=function(){let{confirm:Zr,closeDropdown:za}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Zr&&To([]),za&&Yn(!1),Pa(""),vr(Vn?(tr||[]).map(Ja=>String(Ja)):[])},ho=function(){let{closeDropdown:Zr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Zr&&Yn(!1),To(qn())},Ka=Zr=>{Zr&&Ar!==void 0&&vr(Ar||[]),Yn(Zr),!Zr&&!bt.filterDropdown&&Ya()},_o=Te()({[`${Mt}-menu-without-submenu`]:!lA(bt.filters||[])}),Za=Zr=>{if(Zr.target.checked){const za=Nn(bt==null?void 0:bt.filters).map(Ja=>String(Ja));vr(za)}else vr([])},nA=Zr=>{let{filters:za}=Zr;return(za||[]).map((Ja,uo)=>{const xi=String(Ja.value),Fa={title:Ja.text,key:Ja.value!==void 0?xi:uo};return Ja.children&&(Fa.children=nA({filters:Ja.children})),Fa})},_r=Zr=>{var za;return Object.assign(Object.assign({},Zr),{text:Zr.title,value:Zr.key,children:((za=Zr.children)===null||za===void 0?void 0:za.map(Ja=>_r(Ja)))||[]})};let ma;if(typeof bt.filterDropdown=="function")ma=bt.filterDropdown({prefixCls:`${Mt}-custom`,setSelectedKeys:Zr=>Mr({selectedKeys:Zr}),selectedKeys:qn(),confirm:ho,clearFilters:ja,filters:bt.filters,visible:ir,close:()=>{Yn(!1)}});else if(bt.filterDropdown)ma=bt.filterDropdown;else{const Zr=qn()||[],za=()=>(bt.filters||[]).length===0?pe.createElement(Ra.Z,{image:Ra.Z.PRESENTED_IMAGE_SIMPLE,description:nn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):ct==="tree"?pe.createElement(pe.Fragment,null,pe.createElement(WA,{filterSearch:Et,value:na,onChange:kr,tablePrefixCls:ut,locale:nn}),pe.createElement("div",{className:`${ut}-filter-dropdown-tree`},Ye?pe.createElement(Va.default,{checked:Zr.length===Nn(bt.filters).length,indeterminate:Zr.length>0&&Zr.lengthtypeof Et=="function"?Et(na,_r(uo)):Ma(na,uo.title):void 0}))):pe.createElement(pe.Fragment,null,pe.createElement(WA,{filterSearch:Et,value:na,onChange:kr,tablePrefixCls:ut,locale:nn}),pe.createElement(Wa.default,{selectable:!0,multiple:Ye,prefixCls:`${Mt}-menu`,className:_o,onSelect:Mr,onDeselect:Mr,selectedKeys:Zr,getPopupContainer:pn,openKeys:ta,onOpenChange:da,items:Na({filters:bt.filters||[],filterSearch:Et,prefixCls:ht,filteredKeys:qn(),filterMultiple:Ye,searchValue:na})})),Ja=()=>Vn?(0,He.Z)((tr||[]).map(uo=>String(uo)),Zr,!0):Zr.length===0;ma=pe.createElement(pe.Fragment,null,za(),pe.createElement("div",{className:`${ht}-dropdown-btns`},pe.createElement(Ha.ZP,{type:"link",size:"small",disabled:Ja(),onClick:()=>ja()},nn.filterReset),pe.createElement(Ha.ZP,{type:"primary",size:"small",onClick:Ya},nn.filterConfirm)))}bt.filterDropdown&&(ma=pe.createElement(bo.J,{selectable:void 0},ma));const va=()=>pe.createElement(Pn,{className:`${ht}-dropdown`},ma);let ea;typeof bt.filterIcon=="function"?ea=bt.filterIcon(Tr):bt.filterIcon?ea=bt.filterIcon:ea=pe.createElement(Ko,null);const{direction:ua}=pe.useContext(vo.E_);return pe.createElement("div",{className:`${ht}-column`},pe.createElement("span",{className:`${ut}-column-title`},sn),pe.createElement(oa.Z,{dropdownRender:va,trigger:["click"],open:ir,onOpenChange:Ka,getPopupContainer:pn,placement:ua==="rtl"?"bottomLeft":"bottomRight"},pe.createElement("span",{role:"button",tabIndex:-1,className:Te()(`${ht}-trigger`,{active:Tr}),onClick:Zr=>{Zr.stopPropagation()}},ea)))}var ki=Eo;function gi(Ue,Ke,et){let ut=[];return(Ue||[]).forEach((ht,bt)=>{var Mt;const an=gr(bt,et);if(ht.filters||"filterDropdown"in ht||"onFilter"in ht)if("filteredValue"in ht){let Ye=ht.filteredValue;"filterDropdown"in ht||(Ye=(Mt=Ye==null?void 0:Ye.map(String))!==null&&Mt!==void 0?Mt:Ye),ut.push({column:ht,key:In(ht,an),filteredKeys:Ye,forceFiltered:ht.filtered})}else ut.push({column:ht,key:In(ht,an),filteredKeys:Ke&&ht.defaultFilteredValue?ht.defaultFilteredValue:void 0,forceFiltered:ht.filtered});"children"in ht&&(ut=[].concat((0,Qr.Z)(ut),(0,Qr.Z)(gi(ht.children,Ke,an))))}),ut}function yi(Ue,Ke,et,ut,ht,bt,Mt,an){return et.map((Ye,ct)=>{const Et=gr(ct,an),{filterMultiple:Lt=!0,filterMode:Vt,filterSearch:nn}=Ye;let sn=Ye;if(sn.filters||sn.filterDropdown){const pn=In(sn,Et),Mn=ut.find(zn=>{let{key:Vn}=zn;return pn===Vn});sn=Object.assign(Object.assign({},sn),{title:zn=>pe.createElement(ki,{tablePrefixCls:Ue,prefixCls:`${Ue}-filter`,dropdownPrefixCls:Ke,column:sn,columnKey:pn,filterState:Mn,filterMultiple:Lt,filterMode:Vt,filterSearch:nn,triggerFilter:bt,locale:ht,getPopupContainer:Mt},$r(Ye.title,zn))})}return"children"in sn&&(sn=Object.assign(Object.assign({},sn),{children:yi(Ue,Ke,sn.children,ut,ht,bt,Mt,Et)})),sn})}function Wi(Ue){const Ke={};return Ue.forEach(et=>{let{key:ut,filteredKeys:ht,column:bt}=et;const{filters:Mt,filterDropdown:an}=bt;if(an)Ke[ut]=ht||null;else if(Array.isArray(ht)){const Ye=Nn(Mt);Ke[ut]=Ye.filter(ct=>ht.includes(String(ct)))}else Ke[ut]=null}),Ke}function ZA(Ue,Ke){return Ke.reduce((et,ut)=>{const{column:{onFilter:ht,filters:bt},filteredKeys:Mt}=ut;return ht&&Mt&&Mt.length?et.filter(an=>Mt.some(Ye=>{const ct=Nn(bt),Et=ct.findIndex(Vt=>String(Vt)===String(Ye)),Lt=Et!==-1?ct[Et]:Ye;return ht(Lt,an)})):et},Ue)}const eA=Ue=>Ue.flatMap(Ke=>"children"in Ke?[Ke].concat((0,Qr.Z)(eA(Ke.children||[]))):[Ke]);function ia(Ue){let{prefixCls:Ke,dropdownPrefixCls:et,mergedColumns:ut,onFilterChange:ht,getPopupContainer:bt,locale:Mt}=Ue;const an=pe.useMemo(()=>eA(ut||[]),[ut]),[Ye,ct]=pe.useState(()=>gi(an,!0)),Et=pe.useMemo(()=>{const sn=gi(an,!1);if(sn.length===0)return sn;let pn=!0,Mn=!0;if(sn.forEach(zn=>{let{filteredKeys:Vn}=zn;Vn!==void 0?pn=!1:Mn=!1}),pn){const zn=(an||[]).map((Vn,tr)=>In(Vn,gr(tr)));return Ye.filter(Vn=>{let{key:tr}=Vn;return zn.includes(tr)}).map(Vn=>{const tr=an[zn.findIndex(Lr=>Lr===Vn.key)];return Object.assign(Object.assign({},Vn),{column:Object.assign(Object.assign({},Vn.column),tr),forceFiltered:tr.filtered})})}return sn},[an,Ye]),Lt=pe.useMemo(()=>Wi(Et),[Et]),Vt=sn=>{const pn=Et.filter(Mn=>{let{key:zn}=Mn;return zn!==sn.key});pn.push(sn),ct(pn),ht(Wi(pn),pn)};return[sn=>yi(Ke,et,sn,Et,Mt,Vt,bt),Et,Lt]}var _a=ia;function ro(Ue,Ke,et){const ut=pe.useRef({});function ht(bt){if(!ut.current||ut.current.data!==Ue||ut.current.childrenColumnName!==Ke||ut.current.getRowKey!==et){let an=function(Ye){Ye.forEach((ct,Et)=>{const Lt=et(ct,Et);Mt.set(Lt,ct),ct&&typeof ct=="object"&&Ke in ct&&an(ct[Ke]||[])})};const Mt=new Map;an(Ue),ut.current={data:Ue,childrenColumnName:Ke,kvMap:Mt,getRowKey:et}}return ut.current.kvMap.get(bt)}return[ht]}var vi=ve(50371),wi=function(Ue,Ke){var et={};for(var ut in Ue)Object.prototype.hasOwnProperty.call(Ue,ut)&&Ke.indexOf(ut)<0&&(et[ut]=Ue[ut]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,ut=Object.getOwnPropertySymbols(Ue);ht{const bt=Ue[ht];typeof bt!="function"&&(et[ht]=bt)}),et}function ts(Ue,Ke,et){const ut=et&&typeof et=="object"?et:{},{total:ht=0}=ut,bt=wi(ut,["total"]),[Mt,an]=(0,pe.useState)(()=>({current:"defaultCurrent"in bt?bt.defaultCurrent:1,pageSize:"defaultPageSize"in bt?bt.defaultPageSize:Ri})),Ye=(0,vi.Z)(Mt,bt,{total:ht>0?ht:Ue}),ct=Math.ceil((ht||Ue)/Ye.pageSize);Ye.current>ct&&(Ye.current=ct||1);const Et=(Vt,nn)=>{an({current:Vt!=null?Vt:1,pageSize:nn||Ye.pageSize})},Lt=(Vt,nn)=>{var sn;et&&((sn=et.onChange)===null||sn===void 0||sn.call(et,Vt,nn)),Et(Vt,nn),Ke(Vt,nn||(Ye==null?void 0:Ye.pageSize))};return et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ye),{onChange:Lt}),Et]}var ns=ts,NA=ve(84105),rs=ve(35654),Is=ve(90782),Cl=ve(71430),bl=ve(18929);const Mi={},VA="SELECT_ALL",fA="SELECT_INVERT",ci="SELECT_NONE",hA=[],al=(Ue,Ke)=>{let et=[];return(Ke||[]).forEach(ut=>{et.push(ut),ut&&typeof ut=="object"&&Ue in ut&&(et=[].concat((0,Qr.Z)(et),(0,Qr.Z)(al(Ue,ut[Ue]))))}),et};var as=(Ue,Ke)=>{const{preserveSelectedRowKeys:et,selectedRowKeys:ut,defaultSelectedRowKeys:ht,getCheckboxProps:bt,onChange:Mt,onSelect:an,onSelectAll:Ye,onSelectInvert:ct,onSelectNone:Et,onSelectMultiple:Lt,columnWidth:Vt,type:nn,selections:sn,fixed:pn,renderCell:Mn,hideSelectAll:zn,checkStrictly:Vn=!0}=Ke||{},{prefixCls:tr,data:Lr,pageData:Rn,getRecordByKey:Wt,getRowKey:Wr,expandType:Tr,childrenColumnName:Yn,locale:ir,getPopupContainer:Ar}=Ue,[qn,vr]=(0,bl.Z)(ut||ht||hA,{value:ut}),Mr=pe.useRef(new Map),sa=(0,pe.useCallback)(_r=>{if(et){const ma=new Map;_r.forEach(va=>{let ea=Wt(va);!ea&&Mr.current.has(va)&&(ea=Mr.current.get(va)),ma.set(va,ea)}),Mr.current=ma}},[Wt,et]);pe.useEffect(()=>{sa(qn)},[qn]);const{keyEntities:ta}=(0,pe.useMemo)(()=>{if(Vn)return{keyEntities:null};let _r=Lr;if(et){const ma=new Set(Lr.map((ea,ua)=>Wr(ea,ua))),va=Array.from(Mr.current).reduce((ea,ua)=>{let[Zr,za]=ua;return ma.has(Zr)?ea:ea.concat(za)},[]);_r=[].concat((0,Qr.Z)(_r),(0,Qr.Z)(va))}return(0,Cl.I8)(_r,{externalGetKey:Wr,childrenPropName:Yn})},[Lr,Wr,Vn,Yn,et]),Xr=(0,pe.useMemo)(()=>al(Yn,Rn),[Yn,Rn]),da=(0,pe.useMemo)(()=>{const _r=new Map;return Xr.forEach((ma,va)=>{const ea=Wr(ma,va),ua=(bt?bt(ma):null)||{};_r.set(ea,ua)}),_r},[Xr,Wr,bt]),na=(0,pe.useCallback)(_r=>{var ma;return!!(!((ma=da.get(Wr(_r)))===null||ma===void 0)&&ma.disabled)},[da,Wr]),[Pa,kr]=(0,pe.useMemo)(()=>{if(Vn)return[qn||[],[]];const{checkedKeys:_r,halfCheckedKeys:ma}=(0,Is.S)(qn,!0,ta,na);return[_r||[],ma]},[qn,Vn,ta,na]),To=(0,pe.useMemo)(()=>{const _r=nn==="radio"?Pa.slice(0,1):Pa;return new Set(_r)},[Pa,nn]),Ya=(0,pe.useMemo)(()=>nn==="radio"?new Set:new Set(kr),[kr,nn]),[ja,ho]=(0,pe.useState)(null);pe.useEffect(()=>{Ke||vr(hA)},[!!Ke]);const Ka=(0,pe.useCallback)((_r,ma)=>{let va,ea;sa(_r),et?(va=_r,ea=_r.map(ua=>Mr.current.get(ua))):(va=[],ea=[],_r.forEach(ua=>{const Zr=Wt(ua);Zr!==void 0&&(va.push(ua),ea.push(Zr))})),vr(va),Mt==null||Mt(va,ea,{type:ma})},[vr,Wt,Mt,et]),_o=(0,pe.useCallback)((_r,ma,va,ea)=>{if(an){const ua=va.map(Zr=>Wt(Zr));an(Wt(_r),ma,ua,ea)}Ka(va,"single")},[an,Wt,Ka]),Za=(0,pe.useMemo)(()=>!sn||zn?null:(sn===!0?[VA,fA,ci]:sn).map(ma=>ma===VA?{key:"all",text:ir.selectionAll,onSelect(){Ka(Lr.map((va,ea)=>Wr(va,ea)).filter(va=>{const ea=da.get(va);return!(ea!=null&&ea.disabled)||To.has(va)}),"all")}}:ma===fA?{key:"invert",text:ir.selectInvert,onSelect(){const va=new Set(To);Rn.forEach((ua,Zr)=>{const za=Wr(ua,Zr),Ja=da.get(za);Ja!=null&&Ja.disabled||(va.has(za)?va.delete(za):va.add(za))});const ea=Array.from(va);ct&&ct(ea),Ka(ea,"invert")}}:ma===ci?{key:"none",text:ir.selectNone,onSelect(){Et==null||Et(),Ka(Array.from(To).filter(va=>{const ea=da.get(va);return ea==null?void 0:ea.disabled}),"none")}}:ma).map(ma=>Object.assign(Object.assign({},ma),{onSelect:function(){for(var va,ea,ua=arguments.length,Zr=new Array(ua),za=0;za{var ma;if(!Ke)return _r.filter(Fo=>Fo!==Mi);let va=(0,Qr.Z)(_r);const ea=new Set(To),ua=Xr.map(Wr).filter(Fo=>!da.get(Fo).disabled),Zr=ua.every(Fo=>ea.has(Fo)),za=ua.some(Fo=>ea.has(Fo)),Ja=()=>{const Fo=[];Zr?ua.forEach(Wo=>{ea.delete(Wo),Fo.push(Wo)}):ua.forEach(Wo=>{ea.has(Wo)||(ea.add(Wo),Fo.push(Wo))});const ao=Array.from(ea);Ye==null||Ye(!Zr,ao.map(Wo=>Wt(Wo)),Fo.map(Wo=>Wt(Wo))),Ka(ao,"all"),ho(null)};let uo;if(nn!=="radio"){let Fo;if(Za){const qa={getPopupContainer:Ar,items:Za.map((Ci,Ii)=>{const{key:uA,text:aA,onSelect:FA}=Ci;return{key:uA!=null?uA:Ii,onClick:()=>{FA==null||FA(ua)},label:aA}})};Fo=pe.createElement("div",{className:`${tr}-selection-extra`},pe.createElement(oa.Z,{menu:qa,getPopupContainer:Ar},pe.createElement("span",null,pe.createElement(NA.Z,null))))}const ao=Xr.map((qa,Ci)=>{const Ii=Wr(qa,Ci),uA=da.get(Ii)||{};return Object.assign({checked:ea.has(Ii)},uA)}).filter(qa=>{let{disabled:Ci}=qa;return Ci}),Wo=!!ao.length&&ao.length===Xr.length,Ai=Wo&&ao.every(qa=>{let{checked:Ci}=qa;return Ci}),Vo=Wo&&ao.some(qa=>{let{checked:Ci}=qa;return Ci});uo=!zn&&pe.createElement("div",{className:`${tr}-selection`},pe.createElement(Va.default,{checked:Wo?Ai:!!Xr.length&&Zr,indeterminate:Wo?!Ai&&Vo:!Zr&&za,onChange:Ja,disabled:Xr.length===0||Wo,"aria-label":Fo?"Custom selection":"Select all",skipGroup:!0}),Fo)}let xi;nn==="radio"?xi=(Fo,ao,Wo)=>{const Ai=Wr(ao,Wo),Vo=ea.has(Ai);return{node:pe.createElement(ei.ZP,Object.assign({},da.get(Ai),{checked:Vo,onClick:qa=>qa.stopPropagation(),onChange:qa=>{ea.has(Ai)||_o(Ai,!0,[Ai],qa.nativeEvent)}})),checked:Vo}}:xi=(Fo,ao,Wo)=>{var Ai;const Vo=Wr(ao,Wo),qa=ea.has(Vo),Ci=Ya.has(Vo),Ii=da.get(Vo);let uA;return Tr==="nest"?uA=Ci:uA=(Ai=Ii==null?void 0:Ii.indeterminate)!==null&&Ai!==void 0?Ai:Ci,{node:pe.createElement(Va.default,Object.assign({},Ii,{indeterminate:uA,checked:qa,skipGroup:!0,onClick:aA=>aA.stopPropagation(),onChange:aA=>{let{nativeEvent:FA}=aA;const{shiftKey:ws}=FA;let os=-1,RA=-1;if(ws&&Vn){const OA=new Set([ja,Vo]);ua.some((cA,bi)=>{if(OA.has(cA))if(os===-1)os=bi;else return RA=bi,!0;return!1})}if(RA!==-1&&os!==RA&&Vn){const OA=ua.slice(os,RA+1),cA=[];qa?OA.forEach(mi=>{ea.has(mi)&&(cA.push(mi),ea.delete(mi))}):OA.forEach(mi=>{ea.has(mi)||(cA.push(mi),ea.add(mi))});const bi=Array.from(ea);Lt==null||Lt(!qa,bi.map(mi=>Wt(mi)),cA.map(mi=>Wt(mi))),Ka(bi,"multiple")}else{const OA=Pa;if(Vn){const cA=qa?(0,rs._5)(OA,Vo):(0,rs.L0)(OA,Vo);_o(Vo,!qa,cA,FA)}else{const cA=(0,Is.S)([].concat((0,Qr.Z)(OA),[Vo]),!0,ta,na),{checkedKeys:bi,halfCheckedKeys:mi}=cA;let Cs=bi;if(qa){const Qs=new Set(bi);Qs.delete(Vo),Cs=(0,Is.S)(Array.from(Qs),{checked:!1,halfCheckedKeys:mi},ta,na).checkedKeys}_o(Vo,!qa,Cs,FA)}}ho(qa?null:Vo)}})),checked:qa}};const Fa=(Fo,ao,Wo)=>{const{node:Ai,checked:Vo}=xi(Fo,ao,Wo);return Mn?Mn(Vo,ao,Wo,Ai):Ai};if(!va.includes(Mi))if(va.findIndex(Fo=>{var ao;return((ao=Fo[ur])===null||ao===void 0?void 0:ao.columnType)==="EXPAND_COLUMN"})===0){const[Fo,...ao]=va;va=[Fo,Mi].concat((0,Qr.Z)(ao))}else va=[Mi].concat((0,Qr.Z)(va));const rA=va.indexOf(Mi);va=va.filter((Fo,ao)=>Fo!==Mi||ao===rA);const di=va[rA-1],Li=va[rA+1];let Hr=pn;Hr===void 0&&((Li==null?void 0:Li.fixed)!==void 0?Hr=Li.fixed:(di==null?void 0:di.fixed)!==void 0&&(Hr=di.fixed)),Hr&&di&&((ma=di[ur])===null||ma===void 0?void 0:ma.columnType)==="EXPAND_COLUMN"&&di.fixed===void 0&&(di.fixed=Hr);const ti=Te()(`${tr}-selection-col`,{[`${tr}-selection-col-with-dropdown`]:sn&&nn==="checkbox"}),pA={fixed:Hr,width:Vt,className:`${tr}-selection-column`,title:Ke.columnTitle||uo,render:Fa,onCell:Ke.onCell,[ur]:{className:ti}};return va.map(Fo=>Fo===Mi?pA:Fo)},[Wr,Xr,Ke,Pa,To,Ya,Vt,Za,Tr,ja,da,Lt,_o,na]),To]},HA=ve(89489),ol=ve(59477),Bs=ve(6848);const bA="ascend",zs="descend";function Gs(Ue){return typeof Ue.sorter=="object"&&typeof Ue.sorter.multiple=="number"?Ue.sorter.multiple:!1}function _s(Ue){return typeof Ue=="function"?Ue:Ue&&typeof Ue=="object"&&Ue.compare?Ue.compare:!1}function Pl(Ue,Ke){return Ke?Ue[Ue.indexOf(Ke)+1]:Ue[0]}function il(Ue,Ke,et){let ut=[];function ht(bt,Mt){ut.push({column:bt,key:In(bt,Mt),multiplePriority:Gs(bt),sortOrder:bt.sortOrder})}return(Ue||[]).forEach((bt,Mt)=>{const an=gr(Mt,et);bt.children?("sortOrder"in bt&&ht(bt,an),ut=[].concat((0,Qr.Z)(ut),(0,Qr.Z)(il(bt.children,Ke,an)))):bt.sorter&&("sortOrder"in bt?ht(bt,an):Ke&&bt.defaultSortOrder&&ut.push({column:bt,key:In(bt,an),multiplePriority:Gs(bt),sortOrder:bt.defaultSortOrder}))}),ut}function DA(Ue,Ke,et,ut,ht,bt,Mt,an){return(Ke||[]).map((Ye,ct)=>{const Et=gr(ct,an);let Lt=Ye;if(Lt.sorter){const Vt=Lt.sortDirections||ht,nn=Lt.showSorterTooltip===void 0?Mt:Lt.showSorterTooltip,sn=In(Lt,Et),pn=et.find(Tr=>{let{key:Yn}=Tr;return Yn===sn}),Mn=pn?pn.sortOrder:null,zn=Pl(Vt,Mn);let Vn;if(Ye.sortIcon)Vn=Ye.sortIcon({sortOrder:Mn});else{const Tr=Vt.includes(bA)&&pe.createElement(ol.Z,{className:Te()(`${Ue}-column-sorter-up`,{active:Mn===bA})}),Yn=Vt.includes(zs)&&pe.createElement(HA.Z,{className:Te()(`${Ue}-column-sorter-down`,{active:Mn===zs})});Vn=pe.createElement("span",{className:Te()(`${Ue}-column-sorter`,{[`${Ue}-column-sorter-full`]:!!(Tr&&Yn)})},pe.createElement("span",{className:`${Ue}-column-sorter-inner`,"aria-hidden":"true"},Tr,Yn))}const{cancelSort:tr,triggerAsc:Lr,triggerDesc:Rn}=bt||{};let Wt=tr;zn===zs?Wt=Rn:zn===bA&&(Wt=Lr);const Wr=typeof nn=="object"?nn:{title:Wt};Lt=Object.assign(Object.assign({},Lt),{className:Te()(Lt.className,{[`${Ue}-column-sort`]:Mn}),title:Tr=>{const Yn=pe.createElement("div",{className:`${Ue}-column-sorters`},pe.createElement("span",{className:`${Ue}-column-title`},$r(Ye.title,Tr)),Vn);return nn?pe.createElement(Bs.Z,Object.assign({},Wr),Yn):Yn},onHeaderCell:Tr=>{const Yn=Ye.onHeaderCell&&Ye.onHeaderCell(Tr)||{},ir=Yn.onClick,Ar=Yn.onKeyDown;Yn.onClick=Mr=>{ut({column:Ye,key:sn,sortOrder:zn,multiplePriority:Gs(Ye)}),ir==null||ir(Mr)},Yn.onKeyDown=Mr=>{Mr.keyCode===gA.Z.ENTER&&(ut({column:Ye,key:sn,sortOrder:zn,multiplePriority:Gs(Ye)}),Ar==null||Ar(Mr))};const qn=xr(Ye.title,{}),vr=qn==null?void 0:qn.toString();return Mn?Yn["aria-sort"]=Mn==="ascend"?"ascending":"descending":Yn["aria-label"]=vr||"",Yn.className=Te()(Yn.className,`${Ue}-column-has-sorters`),Yn.tabIndex=0,Ye.ellipsis&&(Yn.title=(qn!=null?qn:"").toString()),Yn}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:DA(Ue,Lt.children,et,ut,ht,bt,Mt,Et)})),Lt})}function UA(Ue){const{column:Ke,sortOrder:et}=Ue;return{column:Ke,order:et,field:Ke.dataIndex,columnKey:Ke.key}}function EA(Ue){const Ke=Ue.filter(et=>{let{sortOrder:ut}=et;return ut}).map(UA);return Ke.length===0&&Ue.length?Object.assign(Object.assign({},UA(Ue[Ue.length-1])),{column:void 0}):Ke.length<=1?Ke[0]||{}:Ke}function Ir(Ue,Ke,et){const ut=Ke.slice().sort((Mt,an)=>an.multiplePriority-Mt.multiplePriority),ht=Ue.slice(),bt=ut.filter(Mt=>{let{column:{sorter:an},sortOrder:Ye}=Mt;return _s(an)&&Ye});return bt.length?ht.sort((Mt,an)=>{for(let Ye=0;Ye{const an=Mt[et];return an?Object.assign(Object.assign({},Mt),{[et]:Ir(an,Ke,et)}):Mt}):ht}function Xa(Ue){let{prefixCls:Ke,mergedColumns:et,onSorterChange:ut,sortDirections:ht,tableLocale:bt,showSorterTooltip:Mt}=Ue;const[an,Ye]=pe.useState(il(et,!0)),ct=pe.useMemo(()=>{let sn=!0;const pn=il(et,!1);if(!pn.length)return an;const Mn=[];function zn(tr){sn?Mn.push(tr):Mn.push(Object.assign(Object.assign({},tr),{sortOrder:null}))}let Vn=null;return pn.forEach(tr=>{Vn===null?(zn(tr),tr.sortOrder&&(tr.multiplePriority===!1?sn=!1:Vn=!0)):(Vn&&tr.multiplePriority!==!1||(sn=!1),zn(tr))}),Mn},[et,an]),Et=pe.useMemo(()=>{const sn=ct.map(pn=>{let{column:Mn,sortOrder:zn}=pn;return{column:Mn,order:zn}});return{sortColumns:sn,sortColumn:sn[0]&&sn[0].column,sortOrder:sn[0]&&sn[0].order}},[ct]);function Lt(sn){let pn;sn.multiplePriority===!1||!ct.length||ct[0].multiplePriority===!1?pn=[sn]:pn=[].concat((0,Qr.Z)(ct.filter(Mn=>{let{key:zn}=Mn;return zn!==sn.key})),[sn]),Ye(pn),ut(EA(pn),pn)}return[sn=>DA(Ke,sn,ct,Lt,ht,bt,Mt),ct,Et,()=>EA(ct)]}function pr(Ue,Ke){return Ue.map(et=>{const ut=Object.assign({},et);return ut.title=$r(et.title,Ke),"children"in ut&&(ut.children=pr(ut.children,Ke)),ut})}function Da(Ue){return[pe.useCallback(et=>pr(et,Ue),[Ue])]}var yo=Ro((Ue,Ke)=>{const{_renderTimes:et}=Ue,{_renderTimes:ut}=Ke;return et!==ut}),Ki=Yr((Ue,Ke)=>{const{_renderTimes:et}=Ue,{_renderTimes:ut}=Ke;return et!==ut}),Zi=ve(64993),zi=ve(17313),Ss=ve(83116),Ns=ve(37613),Go=Ue=>{const{componentCls:Ke}=Ue,et=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ut=(ht,bt,Mt)=>({[`&${Ke}-${ht}`]:{[`> ${Ke}-container`]:{[`> ${Ke}-content, > ${Ke}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ke}-expanded-row-fixed`]:{margin:`-${bt}px -${Mt+Ue.lineWidth}px`}}}}}});return{[`${Ke}-wrapper`]:{[`${Ke}${Ke}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ke}-title`]:{border:et,borderBottom:0},[`> ${Ke}-container`]:{borderInlineStart:et,borderTop:et,[` > ${Ke}-content, > ${Ke}-header, > ${Ke}-body, > ${Ke}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ke}-cell-fix-right-first::after`]:{borderInlineEnd:et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ke}-expanded-row-fixed`]:{margin:`-${Ue.tablePaddingVertical}px -${Ue.tablePaddingHorizontal+Ue.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ue.lineWidth,bottom:0,borderInlineEnd:et,content:'""'}}}}}},[`&${Ke}-scroll-horizontal`]:{[`> ${Ke}-container > ${Ke}-body`]:{"> table > tbody":{[` > tr${Ke}-expanded-row, > tr${Ke}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},ut("middle",Ue.tablePaddingVerticalMiddle,Ue.tablePaddingHorizontalMiddle)),ut("small",Ue.tablePaddingVerticalSmall,Ue.tablePaddingHorizontalSmall)),{[`> ${Ke}-footer`]:{border:et,borderTop:0}}),[`${Ke}-cell`]:{[`${Ke}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ue.lineWidth}px 0 ${Ue.lineWidth}px ${Ue.tableHeaderBg}`}},[`${Ke}-bordered ${Ke}-cell-scrollbar`]:{borderInlineEnd:et}}}},Io=Ue=>{const{componentCls:Ke}=Ue;return{[`${Ke}-wrapper`]:{[`${Ke}-cell-ellipsis`]:Object.assign(Object.assign({},zi.vS),{wordBreak:"keep-all",[` &${Ke}-cell-fix-left-last, &${Ke}-cell-fix-right-first `]:{overflow:"visible",[`${Ke}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ke}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Vi=Ue=>{const{componentCls:Ke}=Ue;return{[`${Ke}-wrapper`]:{[`${Ke}-tbody > tr${Ke}-placeholder`]:{textAlign:"center",color:Ue.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ue.colorBgContainer}}}}},mA=ve(15969),ys=Ue=>{const{componentCls:Ke,antCls:et,controlInteractiveSize:ut,motionDurationSlow:ht,lineWidth:bt,paddingXS:Mt,lineType:an,tableBorderColor:Ye,tableExpandIconBg:ct,tableExpandColumnWidth:Et,borderRadius:Lt,fontSize:Vt,fontSizeSM:nn,lineHeight:sn,tablePaddingVertical:pn,tablePaddingHorizontal:Mn,tableExpandedRowBg:zn,paddingXXS:Vn}=Ue,tr=ut/2-bt,Lr=tr*2+bt*3,Rn=`${bt}px ${an} ${Ye}`,Wt=Vn-bt;return{[`${Ke}-wrapper`]:{[`${Ke}-expand-icon-col`]:{width:Et},[`${Ke}-row-expand-icon-cell`]:{textAlign:"center",[`${Ke}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ke}-row-indent`]:{height:1,float:"left"},[`${Ke}-row-expand-icon`]:Object.assign(Object.assign({},(0,mA.N)(Ue)),{position:"relative",float:"left",boxSizing:"border-box",width:Lr,height:Lr,padding:0,color:"inherit",lineHeight:`${Lr}px`,background:ct,border:Rn,borderRadius:Lt,transform:`scale(${ut/Lr})`,transition:`all ${ht}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ht} ease-out`,content:'""'},"&::before":{top:tr,insetInlineEnd:Wt,insetInlineStart:Wt,height:bt},"&::after":{top:Wt,bottom:Wt,insetInlineStart:tr,width:bt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ke}-row-indent + ${Ke}-row-expand-icon`]:{marginTop:(Vt*sn-bt*3)/2-Math.ceil((nn*1.4-bt*3)/2),marginInlineEnd:Mt},[`tr${Ke}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:zn}},[`${et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ke}-expanded-row-fixed`]:{position:"relative",margin:`-${pn}px -${Mn}px`,padding:`${pn}px ${Mn}px`}}}},ae=Ue=>{const{componentCls:Ke,antCls:et,iconCls:ut,tableFilterDropdownWidth:ht,tableFilterDropdownSearchWidth:bt,paddingXXS:Mt,paddingXS:an,colorText:Ye,lineWidth:ct,lineType:Et,tableBorderColor:Lt,tableHeaderIconColor:Vt,fontSizeSM:nn,tablePaddingHorizontal:sn,borderRadius:pn,motionDurationSlow:Mn,colorTextDescription:zn,colorPrimary:Vn,tableHeaderFilterActiveBg:tr,colorTextDisabled:Lr,tableFilterDropdownBg:Rn,tableFilterDropdownHeight:Wt,controlItemBgHover:Wr,controlItemBgActive:Tr,boxShadowSecondary:Yn,filterDropdownMenuBg:ir}=Ue,Ar=`${et}-dropdown`,qn=`${Ke}-filter-dropdown`,vr=`${et}-tree`,Mr=`${ct}px ${Et} ${Lt}`;return[{[`${Ke}-wrapper`]:{[`${Ke}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ke}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Mt,marginInline:`${Mt}px ${-sn/2}px`,padding:`0 ${Mt}px`,color:Vt,fontSize:nn,borderRadius:pn,cursor:"pointer",transition:`all ${Mn}`,"&:hover":{color:zn,background:tr},"&.active":{color:Vn}}}},{[`${et}-dropdown`]:{[qn]:Object.assign(Object.assign({},(0,zi.Wf)(Ue)),{minWidth:ht,backgroundColor:Rn,borderRadius:pn,boxShadow:Yn,overflow:"hidden",[`${Ar}-menu`]:{maxHeight:Wt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ir,"&:empty::after":{display:"block",padding:`${an}px 0`,color:Lr,fontSize:nn,textAlign:"center",content:'"Not Found"'}},[`${qn}-tree`]:{paddingBlock:`${an}px 0`,paddingInline:an,[vr]:{padding:0},[`${vr}-treenode ${vr}-node-content-wrapper:hover`]:{backgroundColor:Wr},[`${vr}-treenode-checkbox-checked ${vr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Tr}}},[`${qn}-search`]:{padding:an,borderBottom:Mr,"&-input":{input:{minWidth:bt},[ut]:{color:Lr}}},[`${qn}-checkall`]:{width:"100%",marginBottom:Mt,marginInlineStart:Mt},[`${qn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${an-ct}px ${an}px`,overflow:"hidden",borderTop:Mr}})}},{[`${et}-dropdown ${qn}, ${qn}-submenu`]:{[`${et}-checkbox-wrapper + span`]:{paddingInlineStart:an,color:Ye},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},re=Ue=>{const{componentCls:Ke,lineWidth:et,colorSplit:ut,motionDurationSlow:ht,zIndexTableFixed:bt,tableBg:Mt,zIndexTableSticky:an}=Ue,Ye=ut;return{[`${Ke}-wrapper`]:{[` ${Ke}-cell-fix-left, ${Ke}-cell-fix-right `]:{position:"sticky !important",zIndex:bt,background:Mt},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-et,width:30,transform:"translateX(100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${Ke}-cell-fix-left-all::after`]:{display:"none"},[` ${Ke}-cell-fix-right-first::after, ${Ke}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},[`${Ke}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:an+1,width:30,transition:`box-shadow ${ht}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ke}-ping-left`]:{[`&:not(${Ke}-has-fix-left) ${Ke}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ye}`}},[` ${Ke}-cell-fix-left-first::after, ${Ke}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Ye}`},[`${Ke}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ke}-ping-right`]:{[`&:not(${Ke}-has-fix-right) ${Ke}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ye}`}},[` ${Ke}-cell-fix-right-first::after, ${Ke}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Ye}`}}}}},Ce=Ue=>{const{componentCls:Ke,antCls:et}=Ue;return{[`${Ke}-wrapper`]:{[`${Ke}-pagination${et}-pagination`]:{margin:`${Ue.margin}px 0`},[`${Ke}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ue.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},De=Ue=>{const{componentCls:Ke,tableRadius:et}=Ue;return{[`${Ke}-wrapper`]:{[Ke]:{[`${Ke}-title, ${Ke}-header`]:{borderRadius:`${et}px ${et}px 0 0`},[`${Ke}-title + ${Ke}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ke}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:et,borderStartEndRadius:et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:et},"> *:last-child":{borderStartEndRadius:et}}},"&-footer":{borderRadius:`0 0 ${et}px ${et}px`}}}}},_e=Ue=>{const{componentCls:Ke}=Ue;return{[`${Ke}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ke}-pagination-left`]:{justifyContent:"flex-end"},[`${Ke}-pagination-right`]:{justifyContent:"flex-start"},[`${Ke}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ke}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ke}-row-indent`]:{float:"right"}}}}},vt=Ue=>{const{componentCls:Ke,antCls:et,iconCls:ut,fontSizeIcon:ht,padding:bt,paddingXS:Mt,tableHeaderIconColor:an,tableHeaderIconColorHover:Ye,tableSelectionColumnWidth:ct}=Ue;return{[`${Ke}-wrapper`]:{[`${Ke}-selection-col`]:{width:ct,[`&${Ke}-selection-col-with-dropdown`]:{width:ct+ht+bt/4}},[`${Ke}-bordered ${Ke}-selection-col`]:{width:ct+Mt*2,[`&${Ke}-selection-col-with-dropdown`]:{width:ct+ht+bt/4+Mt*2}},[` table tr th${Ke}-selection-column, table tr td${Ke}-selection-column `]:{paddingInlineEnd:Ue.paddingXS,paddingInlineStart:Ue.paddingXS,textAlign:"center",[`${et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ke}-selection-column${Ke}-cell-fix-left`]:{zIndex:Ue.zIndexTableFixed+1},[`table tr th${Ke}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ke}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ke}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ue.tablePaddingHorizontal/4}px`,[ut]:{color:an,fontSize:ht,verticalAlign:"baseline","&:hover":{color:Ye}}}}}},Ot=Ue=>{const{componentCls:Ke}=Ue,et=(ut,ht,bt,Mt)=>({[`${Ke}${Ke}-${ut}`]:{fontSize:Mt,[` ${Ke}-title, ${Ke}-footer, ${Ke}-cell, ${Ke}-thead > tr > th, ${Ke}-tbody > tr > th, ${Ke}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${ht}px ${bt}px`},[`${Ke}-filter-trigger`]:{marginInlineEnd:`-${bt/2}px`},[`${Ke}-expanded-row-fixed`]:{margin:`-${ht}px -${bt}px`},[`${Ke}-tbody`]:{[`${Ke}-wrapper:only-child ${Ke}`]:{marginBlock:`-${ht}px`,marginInline:`${Ue.tableExpandColumnWidth-bt}px -${bt}px`}},[`${Ke}-selection-column`]:{paddingInlineStart:`${bt/4}px`}}});return{[`${Ke}-wrapper`]:Object.assign(Object.assign({},et("middle",Ue.tablePaddingVerticalMiddle,Ue.tablePaddingHorizontalMiddle,Ue.tableFontSizeMiddle)),et("small",Ue.tablePaddingVerticalSmall,Ue.tablePaddingHorizontalSmall,Ue.tableFontSizeSmall))}},ln=Ue=>{const{componentCls:Ke,marginXXS:et,fontSizeIcon:ut,tableHeaderIconColor:ht,tableHeaderIconColorHover:bt}=Ue;return{[`${Ke}-wrapper`]:{[`${Ke}-thead th${Ke}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,"&:hover":{background:Ue.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ue.colorPrimary},[` &${Ke}-cell-fix-left:hover, &${Ke}-cell-fix-right:hover `]:{background:Ue.tableFixedHeaderSortActiveBg}},[`${Ke}-thead th${Ke}-column-sort`]:{background:Ue.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ke}-column-sort`]:{background:Ue.tableBodySortBg},[`${Ke}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ke}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ke}-column-sorter`]:{marginInlineStart:et,color:ht,fontSize:0,transition:`color ${Ue.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ut,"&.active":{color:Ue.colorPrimary}},[`${Ke}-column-sorter-up + ${Ke}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ke}-column-sorters:hover ${Ke}-column-sorter`]:{color:bt}}}},un=Ue=>{const{componentCls:Ke,opacityLoading:et,tableScrollThumbBg:ut,tableScrollThumbBgHover:ht,tableScrollThumbSize:bt,tableScrollBg:Mt,zIndexTableSticky:an,stickyScrollBarBorderRadius:Ye}=Ue,ct=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`;return{[`${Ke}-wrapper`]:{[`${Ke}-sticky`]:{"&-holder":{position:"sticky",zIndex:an,background:Ue.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${bt}px !important`,zIndex:an,display:"flex",alignItems:"center",background:Mt,borderTop:ct,opacity:et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:bt,backgroundColor:ut,borderRadius:Ye,transition:`all ${Ue.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ht}}}}}}},cn=Ue=>{const{componentCls:Ke,lineWidth:et,tableBorderColor:ut}=Ue,ht=`${et}px ${Ue.lineType} ${ut}`;return{[`${Ke}-wrapper`]:{[`${Ke}-summary`]:{position:"relative",zIndex:Ue.zIndexTableFixed,background:Ue.tableBg,"> tr":{"> th, > td":{borderBottom:ht}}},[`div${Ke}-summary`]:{boxShadow:`0 -${et}px 0 ${ut}`}}}},Jn=Ue=>{const{componentCls:Ke}=Ue,et=`${Ue.lineWidth}px ${Ue.lineType} ${Ue.tableBorderColor}`,ut=`${Ke}-expanded-row-cell`;return{[`${Ke}-wrapper`]:{[`${Ke}-tbody-virtual`]:{[`${Ke}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ke}-cell`]:{borderBottom:et},[`${Ke}-expanded-row`]:{[`${ut}${ut}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ue.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ke}-bordered`]:{[`${Ke}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:et,position:"absolute"},[`${Ke}-cell`]:{borderInlineEnd:et,[`&${Ke}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ue.lineWidth,borderInlineStart:et}}}}}}};const fr=Ue=>{const{componentCls:Ke,fontWeightStrong:et,tablePaddingVertical:ut,tablePaddingHorizontal:ht,lineWidth:bt,lineType:Mt,tableBorderColor:an,tableFontSize:Ye,tableBg:ct,tableRadius:Et,tableHeaderTextColor:Lt,motionDurationMid:Vt,tableHeaderBg:nn,tableHeaderCellSplitColor:sn,tableRowHoverBg:pn,tableSelectedRowBg:Mn,tableSelectedRowHoverBg:zn,tableFooterTextColor:Vn,tableFooterBg:tr,paddingContentVerticalLG:Lr}=Ue,Rn=`${bt}px ${Mt} ${an}`;return{[`${Ke}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,zi.dF)()),{[Ke]:Object.assign(Object.assign({},(0,zi.Wf)(Ue)),{fontSize:Ye,background:ct,borderRadius:`${Et}px ${Et}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Et}px ${Et}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Ke}-cell, ${Ke}-thead > tr > th, ${Ke}-tbody > tr > th, ${Ke}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Lr}px ${ht}px`,overflowWrap:"break-word"},[`${Ke}-title`]:{padding:`${ut}px ${ht}px`},[`${Ke}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Lt,fontWeight:et,textAlign:"start",background:nn,borderBottom:Rn,transition:`background ${Vt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ke}-selection-column):not(${Ke}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:sn,transform:"translateY(-50%)",transition:`background-color ${Vt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ke}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Vt}, border-color ${Vt}`,borderBottom:Rn,[` > ${Ke}-wrapper:only-child, > ${Ke}-expanded-row-fixed > ${Ke}-wrapper:only-child `]:{[Ke]:{marginBlock:`-${ut}px`,marginInline:`${Ue.tableExpandColumnWidth-ht}px -${ht}px`,[`${Ke}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Lt,fontWeight:et,textAlign:"start",background:nn,borderBottom:Rn,transition:`background ${Vt} ease`},[` &${Ke}-row:hover > th, &${Ke}-row:hover > td, > th${Ke}-cell-row-hover, > td${Ke}-cell-row-hover `]:{background:pn},[`&${Ke}-row-selected`]:{"> th, > td":{background:Mn},"&:hover > th, &:hover > td":{background:zn}}}},[`${Ke}-footer`]:{padding:`${ut}px ${ht}px`,color:Vn,background:tr}})}};var Or=(0,Ss.Z)("Table",Ue=>{const{colorTextHeading:Ke,colorSplit:et,colorIcon:ut,colorIconHover:ht,opacityLoading:bt,colorBgContainer:Mt,controlInteractiveSize:an,headerBg:Ye,headerColor:ct,headerSortActiveBg:Et,headerSortHoverBg:Lt,bodySortBg:Vt,rowHoverBg:nn,rowSelectedBg:sn,rowSelectedHoverBg:pn,rowExpandedBg:Mn,cellPaddingBlock:zn,cellPaddingInline:Vn,cellPaddingBlockMD:tr,cellPaddingInlineMD:Lr,cellPaddingBlockSM:Rn,cellPaddingInlineSM:Wt,borderColor:Wr,footerBg:Tr,footerColor:Yn,headerBorderRadius:ir,cellFontSize:Ar,cellFontSizeMD:qn,cellFontSizeSM:vr,headerSplitColor:Mr,fixedHeaderSortActiveBg:sa,headerFilterHoverBg:ta,filterDropdownBg:Xr,expandIconBg:da,selectionColumnWidth:na,stickyScrollBarBg:Pa}=Ue,kr=new Zi.C(ut),To=new Zi.C(ht),Ya=2,ja=(0,Ns.TS)(Ue,{tableFontSize:Ar,tableBg:Mt,tableRadius:ir,tablePaddingVertical:zn,tablePaddingHorizontal:Vn,tablePaddingVerticalMiddle:tr,tablePaddingHorizontalMiddle:Lr,tablePaddingVerticalSmall:Rn,tablePaddingHorizontalSmall:Wt,tableBorderColor:Wr,tableHeaderTextColor:ct,tableHeaderBg:Ye,tableFooterTextColor:Yn,tableFooterBg:Tr,tableHeaderCellSplitColor:Mr,tableHeaderSortBg:Et,tableHeaderSortHoverBg:Lt,tableHeaderIconColor:kr.clone().setAlpha(kr.getAlpha()*bt).toRgbString(),tableHeaderIconColorHover:To.clone().setAlpha(To.getAlpha()*bt).toRgbString(),tableBodySortBg:Vt,tableFixedHeaderSortActiveBg:sa,tableHeaderFilterActiveBg:ta,tableFilterDropdownBg:Xr,tableRowHoverBg:nn,tableSelectedRowBg:sn,tableSelectedRowHoverBg:pn,zIndexTableFixed:Ya,zIndexTableSticky:Ya+1,tableFontSizeMiddle:qn,tableFontSizeSmall:vr,tableSelectionColumnWidth:na,tableExpandIconBg:da,tableExpandColumnWidth:an+2*Ue.padding,tableExpandedRowBg:Mn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Pa,tableScrollThumbBgHover:Ke,tableScrollBg:et});return[fr(ja),Ce(ja),cn(ja),ln(ja),ae(ja),Go(ja),De(ja),ys(ja),cn(ja),Vi(ja),vt(ja),re(ja),un(ja),Io(ja),Ot(ja),_e(ja),Jn(ja)]},Ue=>{const{colorFillAlter:Ke,colorBgContainer:et,colorTextHeading:ut,colorFillSecondary:ht,colorFillContent:bt,controlItemBgActive:Mt,controlItemBgActiveHover:an,padding:Ye,paddingSM:ct,paddingXS:Et,colorBorderSecondary:Lt,borderRadiusLG:Vt,fontSize:nn,controlHeight:sn,colorTextPlaceholder:pn}=Ue,Mn=new Zi.C(ht).onBackground(et).toHexShortString(),zn=new Zi.C(bt).onBackground(et).toHexShortString(),Vn=new Zi.C(Ke).onBackground(et).toHexShortString();return{headerBg:Vn,headerColor:ut,headerSortActiveBg:Mn,headerSortHoverBg:zn,bodySortBg:Vn,rowHoverBg:Vn,rowSelectedBg:Mt,rowSelectedHoverBg:an,rowExpandedBg:Ke,cellPaddingBlock:Ye,cellPaddingInline:Ye,cellPaddingBlockMD:ct,cellPaddingInlineMD:Et,cellPaddingBlockSM:Et,cellPaddingInlineSM:Et,borderColor:Lt,headerBorderRadius:Vt,footerBg:Vn,footerColor:ut,cellFontSize:nn,cellFontSizeMD:nn,cellFontSizeSM:nn,headerSplitColor:Lt,fixedHeaderSortActiveBg:Mn,headerFilterHoverBg:bt,filterDropdownMenuBg:et,filterDropdownBg:et,expandIconBg:et,selectionColumnWidth:sn,stickyScrollBarBg:pn,stickyScrollBarBorderRadius:100}});const nr=[],Cn=(Ue,Ke)=>{const{prefixCls:et,className:ut,rootClassName:ht,style:bt,size:Mt,bordered:an,dropdownPrefixCls:Ye,dataSource:ct,pagination:Et,rowSelection:Lt,rowKey:Vt="key",rowClassName:nn,columns:sn,children:pn,childrenColumnName:Mn,onChange:zn,getPopupContainer:Vn,loading:tr,expandIcon:Lr,expandable:Rn,expandedRowRender:Wt,expandIconColumnIndex:Wr,indentSize:Tr,scroll:Yn,sortDirections:ir,locale:Ar,showSorterTooltip:qn=!0,virtual:vr}=Ue,Mr=pe.useMemo(()=>sn||vn(pn),[sn,pn]),sa=pe.useMemo(()=>Mr.some(xo=>xo.responsive),[Mr]),ta=(0,Ga.Z)(sa),Xr=pe.useMemo(()=>{const xo=new Set(Object.keys(ta).filter(fo=>ta[fo]));return Mr.filter(fo=>!fo.responsive||fo.responsive.some(oA=>xo.has(oA)))},[Mr,ta]),da=(0,ka.Z)(Ue,["className","style","columns"]),{locale:na=oi.Z,direction:Pa,table:kr,renderEmpty:To,getPrefixCls:Ya,getPopupContainer:ja}=pe.useContext(vo.E_),ho=(0,Bi.Z)(Mt),Ka=Object.assign(Object.assign({},na.Table),Ar),_o=ct||nr,Za=Ya("table",et),nA=Ya("dropdown",Ye),_r=Object.assign({childrenColumnName:Mn,expandIconColumnIndex:Wr},Rn),{childrenColumnName:ma="children"}=_r,va=pe.useMemo(()=>_o.some(xo=>xo==null?void 0:xo[ma])?"nest":Wt||Rn&&Rn.expandedRowRender?"row":null,[_o]),ea={body:pe.useRef()},ua=pe.useMemo(()=>typeof Vt=="function"?Vt:xo=>xo==null?void 0:xo[Vt],[Vt]),[Zr]=ro(_o,ma,ua),za={},Ja=function(xo,fo){let oA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var pi,iA,vA;const dA=Object.assign(Object.assign({},za),xo);oA&&((pi=za.resetPagination)===null||pi===void 0||pi.call(za),!((iA=dA.pagination)===null||iA===void 0)&&iA.current&&(dA.pagination.current=1),Et&&Et.onChange&&Et.onChange(1,(vA=dA.pagination)===null||vA===void 0?void 0:vA.pageSize)),Yn&&Yn.scrollToFirstRowOnChange!==!1&&ea.body.current&&(0,ya.Z)(0,{getContainer:()=>ea.body.current}),zn==null||zn(dA.pagination,dA.filters,dA.sorter,{currentDataSource:ZA(Ir(_o,dA.sorterStates,ma),dA.filterStates),action:fo})},uo=(xo,fo)=>{Ja({sorter:xo,sorterStates:fo},"sort",!1)},[xi,Fa,rA,di]=Xa({prefixCls:Za,mergedColumns:Xr,onSorterChange:uo,sortDirections:ir||["ascend","descend"],tableLocale:Ka,showSorterTooltip:qn}),Li=pe.useMemo(()=>Ir(_o,Fa,ma),[_o,Fa]);za.sorter=di(),za.sorterStates=Fa;const Hr=(xo,fo)=>{Ja({filters:xo,filterStates:fo},"filter",!0)},[ti,pA,Fo]=_a({prefixCls:Za,locale:Ka,dropdownPrefixCls:nA,mergedColumns:Xr,onFilterChange:Hr,getPopupContainer:Vn||ja}),ao=ZA(Li,pA);za.filters=Fo,za.filterStates=pA;const Wo=pe.useMemo(()=>{const xo={};return Object.keys(Fo).forEach(fo=>{Fo[fo]!==null&&(xo[fo]=Fo[fo])}),Object.assign(Object.assign({},rA),{filters:xo})},[rA,Fo]),[Ai]=Da(Wo),Vo=(xo,fo)=>{Ja({pagination:Object.assign(Object.assign({},za.pagination),{current:xo,pageSize:fo})},"paginate")},[qa,Ci]=ns(ao.length,Vo,Et);za.pagination=Et===!1?{}:Po(qa,Et),za.resetPagination=Ci;const Ii=pe.useMemo(()=>{if(Et===!1||!qa.pageSize)return ao;const{current:xo=1,total:fo,pageSize:oA=Ri}=qa;return ao.lengthoA?ao.slice((xo-1)*oA,xo*oA):ao:ao.slice((xo-1)*oA,xo*oA)},[!!Et,ao,qa&&qa.current,qa&&qa.pageSize,qa&&qa.total]),[uA,aA]=as({prefixCls:Za,data:ao,pageData:Ii,getRowKey:ua,getRecordByKey:Zr,expandType:va,childrenColumnName:ma,locale:Ka,getPopupContainer:Vn||ja},Lt),FA=(xo,fo,oA)=>{let pi;return typeof nn=="function"?pi=Te()(nn(xo,fo,oA)):pi=Te()(nn),Te()({[`${Za}-row-selected`]:aA.has(ua(xo,fo))},pi)};_r.__PARENT_RENDER_ICON__=_r.expandIcon,_r.expandIcon=_r.expandIcon||Lr||Ht(Ka),va==="nest"&&_r.expandIconColumnIndex===void 0?_r.expandIconColumnIndex=Lt?1:0:_r.expandIconColumnIndex>0&&Lt&&(_r.expandIconColumnIndex-=1),typeof _r.indentSize!="number"&&(_r.indentSize=typeof Tr=="number"?Tr:15);const ws=pe.useCallback(xo=>Ai(uA(ti(xi(xo)))),[xi,ti,uA]);let os,RA;if(Et!==!1&&(qa!=null&&qa.total)){let xo;qa.size?xo=qa.size:xo=ho==="small"||ho==="middle"?"small":void 0;const fo=iA=>pe.createElement(Fi.Z,Object.assign({},qa,{className:Te()(`${Za}-pagination ${Za}-pagination-${iA}`,qa.className),size:xo})),oA=Pa==="rtl"?"left":"right",{position:pi}=qa;if(pi!==null&&Array.isArray(pi)){const iA=pi.find(BA=>BA.includes("top")),vA=pi.find(BA=>BA.includes("bottom")),dA=pi.every(BA=>`${BA}`=="none");!iA&&!vA&&!dA&&(RA=fo(oA)),iA&&(os=fo(iA.toLowerCase().replace("top",""))),vA&&(RA=fo(vA.toLowerCase().replace("bottom","")))}else RA=fo(oA)}let OA;typeof tr=="boolean"?OA={spinning:tr}:typeof tr=="object"&&(OA=Object.assign({spinning:!0},tr));const[cA,bi]=Or(Za),[,mi]=(0,jr.Z)(),Cs=Te()(`${Za}-wrapper`,kr==null?void 0:kr.className,{[`${Za}-wrapper-rtl`]:Pa==="rtl"},ut,ht,bi),Qs=Object.assign(Object.assign({},kr==null?void 0:kr.style),bt),Ws=Ar&&Ar.emptyText||(To==null?void 0:To("Table"))||pe.createElement(so.Z,{componentName:"Table"}),cs=vr?Ki:yo,_l={},pl=pe.useMemo(()=>{const{fontSize:xo,lineHeight:fo,padding:oA,paddingXS:pi,paddingSM:iA}=mi,vA=Math.floor(xo*fo);switch(ho){case"large":return oA*2+vA;case"small":return pi*2+vA;default:return iA*2+vA}},[mi,ho]);return vr&&(_l.listItemHeight=pl),cA(pe.createElement("div",{ref:Ke,className:Cs,style:Qs},pe.createElement(Gr.Z,Object.assign({spinning:!1},OA),os,pe.createElement(cs,Object.assign({},_l,da,{columns:Xr,direction:Pa,expandable:_r,prefixCls:Za,className:Te()({[`${Za}-middle`]:ho==="middle",[`${Za}-small`]:ho==="small",[`${Za}-bordered`]:an,[`${Za}-empty`]:_o.length===0}),data:Ii,rowKey:ua,rowClassName:FA,emptyText:Ws,internalHooks:we,internalRefs:ea,transformColumns:ws})),RA)))};var ar=pe.forwardRef(Cn);const Sr=(Ue,Ke)=>{const et=pe.useRef(0);return et.current+=1,pe.createElement(ar,Object.assign({},Ue,{ref:Ke,_renderTimes:et.current}))},_t=pe.forwardRef(Sr);_t.SELECTION_COLUMN=Mi,_t.EXPAND_COLUMN=he,_t.SELECTION_ALL=VA,_t.SELECTION_INVERT=fA,_t.SELECTION_NONE=ci,_t.Column=Ao,_t.ColumnGroup=Mo,_t.Summary=Re;var $t=_t,Tn=$t},17574:function(An,zt,ve){"use strict";ve.d(zt,{default:function(){return xt}});var he=ve(54030),we=ve(3300),Me=ve(52671),nt=ve(8657),Ge=ve(32855),He=ve(59301),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Be=pe,Ne=ve(7657),ue=function(it,en){return He.createElement(Ne.Z,(0,Ge.Z)({},it,{ref:en,icon:Be}))},Oe=He.forwardRef(ue),Pe=Oe,be=ve(92310),oe=ve.n(be),y=ve(35654),a=ve(71430),E=ve(36355),b=ve(56082),x=ve(62892),z=ve(20648);const ne=4;function le(ft){const{dropPosition:it,dropLevelOffset:en,prefixCls:rn,indent:Pt,direction:Zt="ltr"}=ft,En=Zt==="ltr"?"left":"right",Hn=Zt==="ltr"?"right":"left",mn={[En]:-en*Pt+ne,[Hn]:0};switch(it){case-1:mn.top=-3;break;case 1:mn.bottom=-3;break;default:mn.bottom=-3,mn[En]=Pt+ne;break}return He.createElement("div",{style:mn,className:`${rn}-drop-indicator`})}var xe=ve(71997),Qe=He.forwardRef((ft,it)=>{const{getPrefixCls:en,direction:rn,virtual:Pt,tree:Zt}=He.useContext(E.E_),{prefixCls:En,className:Hn,showIcon:mn=!1,showLine:Gn,switcherIcon:Nt,blockNode:_n=!1,children:or,checkable:Je=!1,selectable:yn=!0,draggable:Fe,motion:de,style:Ae}=ft,ye=en("tree",En),qe=en(),pt=de!=null?de:Object.assign(Object.assign({},(0,x.Z)(qe)),{motionAppear:!1}),Re=Object.assign(Object.assign({},ft),{checkable:Je,selectable:yn,showIcon:mn,motion:pt,blockNode:_n,showLine:!!Gn,dropIndicatorRender:le}),[Xe,Qt]=(0,z.ZP)(ye),Bt=He.useMemo(()=>{if(!Fe)return!1;let Yt={};switch(typeof Fe){case"function":Yt.nodeDraggable=Fe;break;case"object":Yt=Object.assign({},Fe);break;default:break}return Yt.icon!==!1&&(Yt.icon=Yt.icon||He.createElement(b.Z,null)),Yt},[Fe]),lt=Yt=>He.createElement(xe.Z,{prefixCls:ye,switcherIcon:Nt,treeNodeProps:Yt,showLine:Gn});return Xe(He.createElement(he.Z,Object.assign({itemHeight:20,ref:it,virtual:Pt},Re,{style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),Ae),prefixCls:ye,className:oe()({[`${ye}-icon-hide`]:!mn,[`${ye}-block-node`]:_n,[`${ye}-unselectable`]:!yn,[`${ye}-rtl`]:rn==="rtl"},Zt==null?void 0:Zt.className,Hn,Qt),direction:rn,checkable:Je&&He.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:yn,switcherIcon:lt,draggable:Bt}),or))}),We;(function(ft){ft[ft.None=0]="None",ft[ft.Start=1]="Start",ft[ft.End=2]="End"})(We||(We={}));function Ve(ft,it){function en(rn){const{key:Pt,children:Zt}=rn;it(Pt,rn)!==!1&&Ve(Zt||[],it)}ft.forEach(en)}function tt(ft){let{treeData:it,expandedKeys:en,startKey:rn,endKey:Pt}=ft;const Zt=[];let En=We.None;if(rn&&rn===Pt)return[rn];if(!rn||!Pt)return[];function Hn(mn){return mn===rn||mn===Pt}return Ve(it,mn=>{if(En===We.End)return!1;if(Hn(mn)){if(Zt.push(mn),En===We.None)En=We.Start;else if(En===We.Start)return En=We.End,!1}else En===We.Start&&Zt.push(mn);return en.includes(mn)}),Zt}function ke(ft,it){const en=(0,we.Z)(it),rn=[];return Ve(ft,(Pt,Zt)=>{const En=en.indexOf(Pt);return En!==-1&&(rn.push(Zt),en.splice(En,1)),!!en.length}),rn}var Ft=function(ft,it){var en={};for(var rn in ft)Object.prototype.hasOwnProperty.call(ft,rn)&&it.indexOf(rn)<0&&(en[rn]=ft[rn]);if(ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,rn=Object.getOwnPropertySymbols(ft);Pt{var{defaultExpandAll:en,defaultExpandParent:rn,defaultExpandedKeys:Pt}=ft,Zt=Ft(ft,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const En=He.useRef(),Hn=He.useRef(),mn=()=>{const{keyEntities:Bt}=(0,a.I8)(kt(Zt));let lt;return en?lt=Object.keys(Bt):rn?lt=(0,y.r7)(Zt.expandedKeys||Pt||[],Bt):lt=Zt.expandedKeys||Pt,lt},[Gn,Nt]=He.useState(Zt.selectedKeys||Zt.defaultSelectedKeys||[]),[_n,or]=He.useState(()=>mn());He.useEffect(()=>{"selectedKeys"in Zt&&Nt(Zt.selectedKeys)},[Zt.selectedKeys]),He.useEffect(()=>{"expandedKeys"in Zt&&or(Zt.expandedKeys)},[Zt.expandedKeys]);const Je=(Bt,lt)=>{var Yt;return"expandedKeys"in Zt||or(Bt),(Yt=Zt.onExpand)===null||Yt===void 0?void 0:Yt.call(Zt,Bt,lt)},yn=(Bt,lt)=>{var Yt;const{multiple:wn}=Zt,{node:jt,nativeEvent:fn}=lt,{key:Tt=""}=jt,Fn=kt(Zt),dt=Object.assign(Object.assign({},lt),{selected:!0}),on=(fn==null?void 0:fn.ctrlKey)||(fn==null?void 0:fn.metaKey),Bn=fn==null?void 0:fn.shiftKey;let bn;wn&&on?(bn=Bt,En.current=Tt,Hn.current=bn,dt.selectedNodes=ke(Fn,bn)):wn&&Bn?(bn=Array.from(new Set([].concat((0,we.Z)(Hn.current||[]),(0,we.Z)(tt({treeData:Fn,expandedKeys:_n,startKey:Tt,endKey:En.current}))))),dt.selectedNodes=ke(Fn,bn)):(bn=[Tt],En.current=Tt,Hn.current=bn,dt.selectedNodes=ke(Fn,bn)),(Yt=Zt.onSelect)===null||Yt===void 0||Yt.call(Zt,bn,dt),"selectedKeys"in Zt||Nt(bn)},{getPrefixCls:Fe,direction:de}=He.useContext(E.E_),{prefixCls:Ae,className:ye,showIcon:qe=!0,expandAction:pt="click"}=Zt,Re=Ft(Zt,["prefixCls","className","showIcon","expandAction"]),Xe=Fe("tree",Ae),Qt=oe()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:de==="rtl"},ye);return He.createElement(Qe,Object.assign({icon:Te,ref:it,blockNode:!0},Re,{showIcon:qe,expandAction:pt,prefixCls:Xe,className:Qt,expandedKeys:_n,selectedKeys:Gn,onSelect:yn,onExpand:Je}))};var Dt=He.forwardRef(st);const gt=Qe;gt.DirectoryTree=Dt,gt.TreeNode=he.O;var xt=gt},20648:function(An,zt,ve){"use strict";ve.d(zt,{TM:function(){return be},Yk:function(){return Pe}});var he=ve(36237),we=ve(98447),Me=ve(17313),nt=ve(8378),Ge=ve(37613),He=ve(83116);const pe=new he.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Be=(oe,y)=>({[`.${oe}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ne=(oe,y)=>({[`.${oe}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ue=(oe,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:z,nodeHoverBg:ne}=y,le=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Me.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Me.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:pe,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Me.oN)(y)),[`&:not(${E}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Be(oe,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:le},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ne},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},Ne(oe,y)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},Oe=oe=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:x}=oe;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${oe.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:oe.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${oe.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},Pe=(oe,y)=>{const a=`.${oe}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,Ge.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[ue(oe,x),Oe(x)]},be=oe=>{const{controlHeightSM:y}=oe;return{titleHeight:y,nodeHoverBg:oe.controlItemBgHover,nodeSelectedBg:oe.controlItemBgActive}};zt.ZP=(0,He.Z)("Tree",(oe,y)=>{let{prefixCls:a}=y;return[{[oe.componentCls]:(0,we.C2)(`${a}-checkbox`,oe)},Pe(a,oe),(0,nt.Z)(oe)]},oe=>{const{colorTextLightSolid:y,colorPrimary:a}=oe;return Object.assign(Object.assign({},be(oe)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(An,zt,ve){"use strict";ve.d(zt,{Z:function(){return E}});var he=ve(32855),we=ve(59301),Me={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},nt=Me,Ge=ve(7657),He=function(x,z){return we.createElement(Ge.Z,(0,he.Z)({},x,{ref:z,icon:nt}))},pe=we.forwardRef(He),Be=pe,Ne=ve(52671),ue=ve(58617),Oe=ve(15075),Pe=ve(43531),be=ve(92310),oe=ve.n(be),y=ve(92343),E=b=>{const{prefixCls:x,switcherIcon:z,treeNodeProps:ne,showLine:le}=b,{isLeaf:xe,expanded:Ee,loading:Qe}=ne;if(Qe)return we.createElement(ue.Z,{className:`${x}-switcher-loading-icon`});let We;if(le&&typeof le=="object"&&(We=le.showLeafIcon),xe){if(!le)return null;if(typeof We!="boolean"&&We){const ke=typeof We=="function"?We(ne):We,Ft=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ke)?(0,y.Tm)(ke,{className:oe()(ke.props.className||"",Ft)}):ke}return We?we.createElement(Ne.Z,{className:`${x}-switcher-line-icon`}):we.createElement("span",{className:`${x}-switcher-leaf-line`})}const Ve=`${x}-switcher-icon`,tt=typeof z=="function"?z(ne):z;return(0,y.l$)(tt)?(0,y.Tm)(tt,{className:oe()(tt.props.className||"",Ve)}):tt!==void 0?tt:le?Ee?we.createElement(Oe.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Pe.Z,{className:`${x}-switcher-line-icon`}):we.createElement(Be,{className:Ve})}},86251:function(An,zt){"use strict";zt.byteLength=pe,zt.toByteArray=Ne,zt.fromByteArray=Pe;for(var ve=[],he=[],we=typeof Uint8Array!="undefined"?Uint8Array:Array,Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nt=0,Ge=Me.length;nt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=be.indexOf("=");y===-1&&(y=oe);var a=y===oe?0:4-y%4;return[y,a]}function pe(be){var oe=He(be),y=oe[0],a=oe[1];return(y+a)*3/4-a}function Be(be,oe,y){return(oe+y)*3/4-y}function Ne(be){var oe,y=He(be),a=y[0],E=y[1],b=new we(Be(be,a,E)),x=0,z=E>0?a-4:a,ne;for(ne=0;ne>16&255,b[x++]=oe>>8&255,b[x++]=oe&255;return E===2&&(oe=he[be.charCodeAt(ne)]<<2|he[be.charCodeAt(ne+1)]>>4,b[x++]=oe&255),E===1&&(oe=he[be.charCodeAt(ne)]<<10|he[be.charCodeAt(ne+1)]<<4|he[be.charCodeAt(ne+2)]>>2,b[x++]=oe>>8&255,b[x++]=oe&255),b}function ue(be){return ve[be>>18&63]+ve[be>>12&63]+ve[be>>6&63]+ve[be&63]}function Oe(be,oe,y){for(var a,E=[],b=oe;bz?z:x+b));return a===1?(oe=be[y-1],E.push(ve[oe>>2]+ve[oe<<4&63]+"==")):a===2&&(oe=(be[y-2]<<8)+be[y-1],E.push(ve[oe>>10]+ve[oe>>4&63]+ve[oe<<2&63]+"=")),E.join("")}},19208:function(An,zt,ve){"use strict";var he;var we=ve(86251),Me=ve(67467),nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;zt.lW=Be,he=x,zt.h2=50;var Ge=2147483647;he=Ge,Be.TYPED_ARRAY_SUPPORT=He(),!Be.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function He(){try{var Fe=new Uint8Array(1),de={foo:function(){return 42}};return Object.setPrototypeOf(de,Uint8Array.prototype),Object.setPrototypeOf(Fe,de),Fe.foo()===42}catch(Ae){return!1}}Object.defineProperty(Be.prototype,"parent",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.buffer}}),Object.defineProperty(Be.prototype,"offset",{enumerable:!0,get:function(){if(Be.isBuffer(this))return this.byteOffset}});function pe(Fe){if(Fe>Ge)throw new RangeError('The value "'+Fe+'" is invalid for option "size"');var de=new Uint8Array(Fe);return Object.setPrototypeOf(de,Be.prototype),de}function Be(Fe,de,Ae){if(typeof Fe=="number"){if(typeof de=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Pe(Fe)}return Ne(Fe,de,Ae)}Be.poolSize=8192;function Ne(Fe,de,Ae){if(typeof Fe=="string")return be(Fe,de);if(ArrayBuffer.isView(Fe))return y(Fe);if(Fe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe);if(or(Fe,ArrayBuffer)||Fe&&or(Fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(or(Fe,SharedArrayBuffer)||Fe&&or(Fe.buffer,SharedArrayBuffer)))return a(Fe,de,Ae);if(typeof Fe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Fe.valueOf&&Fe.valueOf();if(ye!=null&&ye!==Fe)return Be.from(ye,de,Ae);var qe=E(Fe);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Fe[Symbol.toPrimitive]=="function")return Be.from(Fe[Symbol.toPrimitive]("string"),de,Ae);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe)}Be.from=function(Fe,de,Ae){return Ne(Fe,de,Ae)},Object.setPrototypeOf(Be.prototype,Uint8Array.prototype),Object.setPrototypeOf(Be,Uint8Array);function ue(Fe){if(typeof Fe!="number")throw new TypeError('"size" argument must be of type number');if(Fe<0)throw new RangeError('The value "'+Fe+'" is invalid for option "size"')}function Oe(Fe,de,Ae){return ue(Fe),Fe<=0?pe(Fe):de!==void 0?typeof Ae=="string"?pe(Fe).fill(de,Ae):pe(Fe).fill(de):pe(Fe)}Be.alloc=function(Fe,de,Ae){return Oe(Fe,de,Ae)};function Pe(Fe){return ue(Fe),pe(Fe<0?0:b(Fe)|0)}Be.allocUnsafe=function(Fe){return Pe(Fe)},Be.allocUnsafeSlow=function(Fe){return Pe(Fe)};function be(Fe,de){if((typeof de!="string"||de==="")&&(de="utf8"),!Be.isEncoding(de))throw new TypeError("Unknown encoding: "+de);var Ae=z(Fe,de)|0,ye=pe(Ae),qe=ye.write(Fe,de);return qe!==Ae&&(ye=ye.slice(0,qe)),ye}function oe(Fe){for(var de=Fe.length<0?0:b(Fe.length)|0,Ae=pe(de),ye=0;ye=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return Fe|0}function x(Fe){return+Fe!=Fe&&(Fe=0),Be.alloc(+Fe)}Be.isBuffer=function(de){return de!=null&&de._isBuffer===!0&&de!==Be.prototype},Be.compare=function(de,Ae){if(or(de,Uint8Array)&&(de=Be.from(de,de.offset,de.byteLength)),or(Ae,Uint8Array)&&(Ae=Be.from(Ae,Ae.offset,Ae.byteLength)),!Be.isBuffer(de)||!Be.isBuffer(Ae))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(de===Ae)return 0;for(var ye=de.length,qe=Ae.length,pt=0,Re=Math.min(ye,qe);ptqe.length?Be.from(Re).copy(qe,pt):Uint8Array.prototype.set.call(qe,Re,pt);else if(Be.isBuffer(Re))Re.copy(qe,pt);else throw new TypeError('"list" argument must be an Array of Buffers');pt+=Re.length}return qe};function z(Fe,de){if(Be.isBuffer(Fe))return Fe.length;if(ArrayBuffer.isView(Fe)||or(Fe,ArrayBuffer))return Fe.byteLength;if(typeof Fe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Fe);var Ae=Fe.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&Ae===0)return 0;for(var qe=!1;;)switch(de){case"ascii":case"latin1":case"binary":return Ae;case"utf8":case"utf-8":return Hn(Fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ae*2;case"hex":return Ae>>>1;case"base64":return Nt(Fe).length;default:if(qe)return ye?-1:Hn(Fe).length;de=(""+de).toLowerCase(),qe=!0}}Be.byteLength=z;function ne(Fe,de,Ae){var ye=!1;if((de===void 0||de<0)&&(de=0),de>this.length||((Ae===void 0||Ae>this.length)&&(Ae=this.length),Ae<=0)||(Ae>>>=0,de>>>=0,Ae<=de))return"";for(Fe||(Fe="utf8");;)switch(Fe){case"hex":return gt(this,de,Ae);case"utf8":case"utf-8":return Te(this,de,Ae);case"ascii":return At(this,de,Ae);case"latin1":case"binary":return Dt(this,de,Ae);case"base64":return Ft(this,de,Ae);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xt(this,de,Ae);default:if(ye)throw new TypeError("Unknown encoding: "+Fe);Fe=(Fe+"").toLowerCase(),ye=!0}}Be.prototype._isBuffer=!0;function le(Fe,de,Ae){var ye=Fe[de];Fe[de]=Fe[Ae],Fe[Ae]=ye}Be.prototype.swap16=function(){var de=this.length;if(de%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var Ae=0;AeAe&&(de+=" ... "),""},nt&&(Be.prototype[nt]=Be.prototype.inspect),Be.prototype.compare=function(de,Ae,ye,qe,pt){if(or(de,Uint8Array)&&(de=Be.from(de,de.offset,de.byteLength)),!Be.isBuffer(de))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof de);if(Ae===void 0&&(Ae=0),ye===void 0&&(ye=de?de.length:0),qe===void 0&&(qe=0),pt===void 0&&(pt=this.length),Ae<0||ye>de.length||qe<0||pt>this.length)throw new RangeError("out of range index");if(qe>=pt&&Ae>=ye)return 0;if(qe>=pt)return-1;if(Ae>=ye)return 1;if(Ae>>>=0,ye>>>=0,qe>>>=0,pt>>>=0,this===de)return 0;for(var Re=pt-qe,Xe=ye-Ae,Qt=Math.min(Re,Xe),Bt=this.slice(qe,pt),lt=de.slice(Ae,ye),Yt=0;Yt2147483647?Ae=2147483647:Ae<-2147483648&&(Ae=-2147483648),Ae=+Ae,Je(Ae)&&(Ae=qe?0:Fe.length-1),Ae<0&&(Ae=Fe.length+Ae),Ae>=Fe.length){if(qe)return-1;Ae=Fe.length-1}else if(Ae<0)if(qe)Ae=0;else return-1;if(typeof de=="string"&&(de=Be.from(de,ye)),Be.isBuffer(de))return de.length===0?-1:Ee(Fe,de,Ae,ye,qe);if(typeof de=="number")return de=de&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Fe,de,Ae):Uint8Array.prototype.lastIndexOf.call(Fe,de,Ae):Ee(Fe,[de],Ae,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Ee(Fe,de,Ae,ye,qe){var pt=1,Re=Fe.length,Xe=de.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Fe.length<2||de.length<2)return-1;pt=2,Re/=2,Xe/=2,Ae/=2}function Qt(jt,fn){return pt===1?jt[fn]:jt.readUInt16BE(fn*pt)}var Bt;if(qe){var lt=-1;for(Bt=Ae;BtRe&&(Ae=Re-Xe),Bt=Ae;Bt>=0;Bt--){for(var Yt=!0,wn=0;wnqe&&(ye=qe)):ye=qe;var pt=de.length;ye>pt/2&&(ye=pt/2);for(var Re=0;Re>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-Ae;if((ye===void 0||ye>pt)&&(ye=pt),de.length>0&&(ye<0||Ae<0)||Ae>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Re=!1;;)switch(qe){case"hex":return Qe(this,de,Ae,ye);case"utf8":case"utf-8":return We(this,de,Ae,ye);case"ascii":case"latin1":case"binary":return Ve(this,de,Ae,ye);case"base64":return tt(this,de,Ae,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,de,Ae,ye);default:if(Re)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Re=!0}},Be.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ft(Fe,de,Ae){return de===0&&Ae===Fe.length?we.fromByteArray(Fe):we.fromByteArray(Fe.slice(de,Ae))}function Te(Fe,de,Ae){Ae=Math.min(Fe.length,Ae);for(var ye=[],qe=de;qe239?4:pt>223?3:pt>191?2:1;if(qe+Xe<=Ae){var Qt,Bt,lt,Yt;switch(Xe){case 1:pt<128&&(Re=pt);break;case 2:Qt=Fe[qe+1],(Qt&192)===128&&(Yt=(pt&31)<<6|Qt&63,Yt>127&&(Re=Yt));break;case 3:Qt=Fe[qe+1],Bt=Fe[qe+2],(Qt&192)===128&&(Bt&192)===128&&(Yt=(pt&15)<<12|(Qt&63)<<6|Bt&63,Yt>2047&&(Yt<55296||Yt>57343)&&(Re=Yt));break;case 4:Qt=Fe[qe+1],Bt=Fe[qe+2],lt=Fe[qe+3],(Qt&192)===128&&(Bt&192)===128&&(lt&192)===128&&(Yt=(pt&15)<<18|(Qt&63)<<12|(Bt&63)<<6|lt&63,Yt>65535&&Yt<1114112&&(Re=Yt))}}Re===null?(Re=65533,Xe=1):Re>65535&&(Re-=65536,ye.push(Re>>>10&1023|55296),Re=56320|Re&1023),ye.push(Re),qe+=Xe}return st(ye)}var kt=4096;function st(Fe){var de=Fe.length;if(de<=kt)return String.fromCharCode.apply(String,Fe);for(var Ae="",ye=0;yeye)&&(Ae=ye);for(var qe="",pt=de;ptye&&(de=ye),Ae<0?(Ae+=ye,Ae<0&&(Ae=0)):Ae>ye&&(Ae=ye),AeAe)throw new RangeError("Trying to access beyond buffer length")}Be.prototype.readUintLE=Be.prototype.readUIntLE=function(de,Ae,ye){de=de>>>0,Ae=Ae>>>0,ye||ft(de,Ae,this.length);for(var qe=this[de],pt=1,Re=0;++Re>>0,Ae=Ae>>>0,ye||ft(de,Ae,this.length);for(var qe=this[de+--Ae],pt=1;Ae>0&&(pt*=256);)qe+=this[de+--Ae]*pt;return qe},Be.prototype.readUint8=Be.prototype.readUInt8=function(de,Ae){return de=de>>>0,Ae||ft(de,1,this.length),this[de]},Be.prototype.readUint16LE=Be.prototype.readUInt16LE=function(de,Ae){return de=de>>>0,Ae||ft(de,2,this.length),this[de]|this[de+1]<<8},Be.prototype.readUint16BE=Be.prototype.readUInt16BE=function(de,Ae){return de=de>>>0,Ae||ft(de,2,this.length),this[de]<<8|this[de+1]},Be.prototype.readUint32LE=Be.prototype.readUInt32LE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),(this[de]|this[de+1]<<8|this[de+2]<<16)+this[de+3]*16777216},Be.prototype.readUint32BE=Be.prototype.readUInt32BE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),this[de]*16777216+(this[de+1]<<16|this[de+2]<<8|this[de+3])},Be.prototype.readIntLE=function(de,Ae,ye){de=de>>>0,Ae=Ae>>>0,ye||ft(de,Ae,this.length);for(var qe=this[de],pt=1,Re=0;++Re=pt&&(qe-=Math.pow(2,8*Ae)),qe},Be.prototype.readIntBE=function(de,Ae,ye){de=de>>>0,Ae=Ae>>>0,ye||ft(de,Ae,this.length);for(var qe=Ae,pt=1,Re=this[de+--qe];qe>0&&(pt*=256);)Re+=this[de+--qe]*pt;return pt*=128,Re>=pt&&(Re-=Math.pow(2,8*Ae)),Re},Be.prototype.readInt8=function(de,Ae){return de=de>>>0,Ae||ft(de,1,this.length),this[de]&128?(255-this[de]+1)*-1:this[de]},Be.prototype.readInt16LE=function(de,Ae){de=de>>>0,Ae||ft(de,2,this.length);var ye=this[de]|this[de+1]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt16BE=function(de,Ae){de=de>>>0,Ae||ft(de,2,this.length);var ye=this[de+1]|this[de]<<8;return ye&32768?ye|4294901760:ye},Be.prototype.readInt32LE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),this[de]|this[de+1]<<8|this[de+2]<<16|this[de+3]<<24},Be.prototype.readInt32BE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),this[de]<<24|this[de+1]<<16|this[de+2]<<8|this[de+3]},Be.prototype.readFloatLE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),Me.read(this,de,!0,23,4)},Be.prototype.readFloatBE=function(de,Ae){return de=de>>>0,Ae||ft(de,4,this.length),Me.read(this,de,!1,23,4)},Be.prototype.readDoubleLE=function(de,Ae){return de=de>>>0,Ae||ft(de,8,this.length),Me.read(this,de,!0,52,8)},Be.prototype.readDoubleBE=function(de,Ae){return de=de>>>0,Ae||ft(de,8,this.length),Me.read(this,de,!1,52,8)};function it(Fe,de,Ae,ye,qe,pt){if(!Be.isBuffer(Fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(de>qe||deFe.length)throw new RangeError("Index out of range")}Be.prototype.writeUintLE=Be.prototype.writeUIntLE=function(de,Ae,ye,qe){if(de=+de,Ae=Ae>>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;it(this,de,Ae,ye,pt,0)}var Re=1,Xe=0;for(this[Ae]=de&255;++Xe>>0,ye=ye>>>0,!qe){var pt=Math.pow(2,8*ye)-1;it(this,de,Ae,ye,pt,0)}var Re=ye-1,Xe=1;for(this[Ae+Re]=de&255;--Re>=0&&(Xe*=256);)this[Ae+Re]=de/Xe&255;return Ae+ye},Be.prototype.writeUint8=Be.prototype.writeUInt8=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,1,255,0),this[Ae]=de&255,Ae+1},Be.prototype.writeUint16LE=Be.prototype.writeUInt16LE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,2,65535,0),this[Ae]=de&255,this[Ae+1]=de>>>8,Ae+2},Be.prototype.writeUint16BE=Be.prototype.writeUInt16BE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,2,65535,0),this[Ae]=de>>>8,this[Ae+1]=de&255,Ae+2},Be.prototype.writeUint32LE=Be.prototype.writeUInt32LE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,4,4294967295,0),this[Ae+3]=de>>>24,this[Ae+2]=de>>>16,this[Ae+1]=de>>>8,this[Ae]=de&255,Ae+4},Be.prototype.writeUint32BE=Be.prototype.writeUInt32BE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,4,4294967295,0),this[Ae]=de>>>24,this[Ae+1]=de>>>16,this[Ae+2]=de>>>8,this[Ae+3]=de&255,Ae+4},Be.prototype.writeIntLE=function(de,Ae,ye,qe){if(de=+de,Ae=Ae>>>0,!qe){var pt=Math.pow(2,8*ye-1);it(this,de,Ae,ye,pt-1,-pt)}var Re=0,Xe=1,Qt=0;for(this[Ae]=de&255;++Re>0)-Qt&255;return Ae+ye},Be.prototype.writeIntBE=function(de,Ae,ye,qe){if(de=+de,Ae=Ae>>>0,!qe){var pt=Math.pow(2,8*ye-1);it(this,de,Ae,ye,pt-1,-pt)}var Re=ye-1,Xe=1,Qt=0;for(this[Ae+Re]=de&255;--Re>=0&&(Xe*=256);)de<0&&Qt===0&&this[Ae+Re+1]!==0&&(Qt=1),this[Ae+Re]=(de/Xe>>0)-Qt&255;return Ae+ye},Be.prototype.writeInt8=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,1,127,-128),de<0&&(de=255+de+1),this[Ae]=de&255,Ae+1},Be.prototype.writeInt16LE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,2,32767,-32768),this[Ae]=de&255,this[Ae+1]=de>>>8,Ae+2},Be.prototype.writeInt16BE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,2,32767,-32768),this[Ae]=de>>>8,this[Ae+1]=de&255,Ae+2},Be.prototype.writeInt32LE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,4,2147483647,-2147483648),this[Ae]=de&255,this[Ae+1]=de>>>8,this[Ae+2]=de>>>16,this[Ae+3]=de>>>24,Ae+4},Be.prototype.writeInt32BE=function(de,Ae,ye){return de=+de,Ae=Ae>>>0,ye||it(this,de,Ae,4,2147483647,-2147483648),de<0&&(de=4294967295+de+1),this[Ae]=de>>>24,this[Ae+1]=de>>>16,this[Ae+2]=de>>>8,this[Ae+3]=de&255,Ae+4};function en(Fe,de,Ae,ye,qe,pt){if(Ae+ye>Fe.length)throw new RangeError("Index out of range");if(Ae<0)throw new RangeError("Index out of range")}function rn(Fe,de,Ae,ye,qe){return de=+de,Ae=Ae>>>0,qe||en(Fe,de,Ae,4,34028234663852886e22,-34028234663852886e22),Me.write(Fe,de,Ae,ye,23,4),Ae+4}Be.prototype.writeFloatLE=function(de,Ae,ye){return rn(this,de,Ae,!0,ye)},Be.prototype.writeFloatBE=function(de,Ae,ye){return rn(this,de,Ae,!1,ye)};function Pt(Fe,de,Ae,ye,qe){return de=+de,Ae=Ae>>>0,qe||en(Fe,de,Ae,8,17976931348623157e292,-17976931348623157e292),Me.write(Fe,de,Ae,ye,52,8),Ae+8}Be.prototype.writeDoubleLE=function(de,Ae,ye){return Pt(this,de,Ae,!0,ye)},Be.prototype.writeDoubleBE=function(de,Ae,ye){return Pt(this,de,Ae,!1,ye)},Be.prototype.copy=function(de,Ae,ye,qe){if(!Be.isBuffer(de))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),Ae>=de.length&&(Ae=de.length),Ae||(Ae=0),qe>0&&qe=this.length)throw new RangeError("Index out of range");if(qe<0)throw new RangeError("sourceEnd out of bounds");qe>this.length&&(qe=this.length),de.length-Ae>>0,ye=ye===void 0?this.length:ye>>>0,de||(de=0);var Re;if(typeof de=="number")for(Re=Ae;Re55295&&Ae<57344){if(!qe){if(Ae>56319){(de-=3)>-1&&pt.push(239,191,189);continue}else if(Re+1===ye){(de-=3)>-1&&pt.push(239,191,189);continue}qe=Ae;continue}if(Ae<56320){(de-=3)>-1&&pt.push(239,191,189),qe=Ae;continue}Ae=(qe-55296<<10|Ae-56320)+65536}else qe&&(de-=3)>-1&&pt.push(239,191,189);if(qe=null,Ae<128){if((de-=1)<0)break;pt.push(Ae)}else if(Ae<2048){if((de-=2)<0)break;pt.push(Ae>>6|192,Ae&63|128)}else if(Ae<65536){if((de-=3)<0)break;pt.push(Ae>>12|224,Ae>>6&63|128,Ae&63|128)}else if(Ae<1114112){if((de-=4)<0)break;pt.push(Ae>>18|240,Ae>>12&63|128,Ae>>6&63|128,Ae&63|128)}else throw new Error("Invalid code point")}return pt}function mn(Fe){for(var de=[],Ae=0;Ae>8,qe=Ae%256,pt.push(qe),pt.push(ye);return pt}function Nt(Fe){return we.toByteArray(En(Fe))}function _n(Fe,de,Ae,ye){for(var qe=0;qe=de.length||qe>=Fe.length);++qe)de[qe+Ae]=Fe[qe];return qe}function or(Fe,de){return Fe instanceof de||Fe!=null&&Fe.constructor!=null&&Fe.constructor.name!=null&&Fe.constructor.name===de.name}function Je(Fe){return Fe!==Fe}var yn=function(){for(var Fe="0123456789abcdef",de=new Array(256),Ae=0;Ae<16;++Ae)for(var ye=Ae*16,qe=0;qe<16;++qe)de[ye+qe]=Fe[Ae]+Fe[qe];return de}()},14625:function(An){function zt(he){var we,Me,nt="";if(typeof he=="string"||typeof he=="number")nt+=he;else if(typeof he=="object")if(Array.isArray(he)){var Ge=he.length;for(we=0;we0&&(Qe=ne[0]),Qe instanceof Error)throw Qe;var We=new Error("Unhandled error."+(Qe?" ("+Qe.message+")":""));throw We.context=Qe,We}var Ve=Ee[z];if(Ve===void 0)return!1;if(typeof Ve=="function")ve(Ve,this,ne);else for(var tt=Ve.length,ke=be(Ve,tt),le=0;le0&&Qe.length>xe&&!Qe.warned){Qe.warned=!0;var We=new Error("Possible EventEmitter memory leak detected. "+Qe.length+" "+String(z)+" listeners added. Use emitter.setMaxListeners() to increase limit");We.name="MaxListenersExceededWarning",We.emitter=x,We.type=z,We.count=Qe.length,we(We)}return x}nt.prototype.addListener=function(z,ne){return Be(this,z,ne,!1)},nt.prototype.on=nt.prototype.addListener,nt.prototype.prependListener=function(z,ne){return Be(this,z,ne,!0)};function Ne(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function ue(x,z,ne){var le={fired:!1,wrapFn:void 0,target:x,type:z,listener:ne},xe=Ne.bind(le);return xe.listener=ne,le.wrapFn=xe,xe}nt.prototype.once=function(z,ne){return He(ne),this.on(z,ue(this,z,ne)),this},nt.prototype.prependOnceListener=function(z,ne){return He(ne),this.prependListener(z,ue(this,z,ne)),this},nt.prototype.removeListener=function(z,ne){var le,xe,Ee,Qe,We;if(He(ne),xe=this._events,xe===void 0)return this;if(le=xe[z],le===void 0)return this;if(le===ne||le.listener===ne)--this._eventsCount===0?this._events=Object.create(null):(delete xe[z],xe.removeListener&&this.emit("removeListener",z,le.listener||ne));else if(typeof le!="function"){for(Ee=-1,Qe=le.length-1;Qe>=0;Qe--)if(le[Qe]===ne||le[Qe].listener===ne){We=le[Qe].listener,Ee=Qe;break}if(Ee<0)return this;Ee===0?le.shift():oe(le,Ee),le.length===1&&(xe[z]=le[0]),xe.removeListener!==void 0&&this.emit("removeListener",z,We||ne)}return this},nt.prototype.off=nt.prototype.removeListener,nt.prototype.removeAllListeners=function(z){var ne,le,xe;if(le=this._events,le===void 0)return this;if(le.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):le[z]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete le[z]),this;if(arguments.length===0){var Ee=Object.keys(le),Qe;for(xe=0;xe=0;xe--)this.removeListener(z,ne[xe]);return this};function Oe(x,z,ne){var le=x._events;if(le===void 0)return[];var xe=le[z];return xe===void 0?[]:typeof xe=="function"?ne?[xe.listener||xe]:[xe]:ne?y(xe):be(xe,xe.length)}nt.prototype.listeners=function(z){return Oe(this,z,!0)},nt.prototype.rawListeners=function(z){return Oe(this,z,!1)},nt.listenerCount=function(x,z){return typeof x.listenerCount=="function"?x.listenerCount(z):Pe.call(x,z)},nt.prototype.listenerCount=Pe;function Pe(x){var z=this._events;if(z!==void 0){var ne=z[x];if(typeof ne=="function")return 1;if(ne!==void 0)return ne.length}return 0}nt.prototype.eventNames=function(){return this._eventsCount>0?he(this._events):[]};function be(x,z){for(var ne=new Array(z),le=0;le0&&at[at.length-1])&&(On[0]===6||On[0]===2)){me=0;continue}if(On[0]===3&&(!at||On[1]>at[0]&&On[1]=55296&&ze<=56319&&me>10)+55296,It%1024+56320)),(ze+1===me||ge.length>16384)&&(at+=String.fromCharCode.apply(String,ge),ge.length=0)}return at},ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Oe=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Pe=0;Pe>4,Wn[ze++]=(It&15)<<4|Jt>>2,Wn[ze++]=(Jt&3)<<6|qt&63;return On},E=function(se){for(var ie=se.length,me=[],ge=0;ge>x,Ee=1<>x,Ve=xe+We,tt=Ve,ke=32,Ft=tt+ke,Te=65536>>z,kt=1<=0){if(ie<55296||ie>56319&&ie<=65535)return me=this.index[ie>>x],me=(me<>x)],me=(me<>z),me=this.index[me],me+=ie>>x&st,me=this.index[me],me=(me<Pt?(ze.push(!0),Jt-=Pt):ze.push(!1),["normal","auto","loose"].indexOf(ie)!==-1&&[8208,8211,12316,12448].indexOf(at)!==-1)return ge.push(It),me.push(qe);if(Jt===mn||Jt===yn){if(It===0)return ge.push(It),me.push(on);var qt=me[It-1];return Xo.indexOf(qt)===-1?(ge.push(ge[It-1]),me.push(qt)):(ge.push(It),me.push(on))}if(ge.push(It),Jt===Bn)return me.push(ie==="strict"?Bt:mr);if(Jt===ha||Jt===dt)return me.push(on);if(Jt===Qr)return at>=131072&&at<=196605||at>=196608&&at<=262141?me.push(mr):me.push(on);me.push(Jt)}),[ge,me,ze]},kn=function(se,ie,me,ge){var ze=ge[me];if(Array.isArray(se)?se.indexOf(ze)!==-1:se===ze)for(var at=me;at<=ge.length;){at++;var It=ge[at];if(It===ie)return!0;if(It!==Je)break}if(ze===Je)for(var at=me;at>0;){at--;var Jt=ge[at];if(Array.isArray(se)?se.indexOf(Jt)!==-1:se===Jt)for(var qt=me;qt<=ge.length;){qt++;var It=ge[qt];if(It===ie)return!0;if(It!==Je)break}if(Jt!==Je)break}return!1},vn=function(se,ie){for(var me=se;me>=0;){var ge=ie[me];if(ge===Je)me--;else return ge}return 0},Ur=function(se,ie,me,ge,ze){if(me[ge]===0)return Rr;var at=ge-1;if(Array.isArray(ze)&&ze[at]===!0)return Rr;var It=at-1,Jt=at+1,qt=ie[at],On=It>=0?ie[It]:0,Wn=ie[Jt];if(qt===En&&Wn===Hn)return Rr;if(Oo.indexOf(qt)!==-1)return Ua;if(Oo.indexOf(Wn)!==-1||Jo.indexOf(Wn)!==-1)return Rr;if(vn(at,ie)===_n)return gn;if(wo.get(se[at])===yn||(qt===bn||qt===er)&&wo.get(se[Jt])===yn||qt===Nt||Wn===Nt||qt===or||[Je,de,ye].indexOf(qt)===-1&&Wn===or||[pt,Re,Xe,wn,Fn].indexOf(Wn)!==-1||vn(at,ie)===lt||kn(Yt,lt,at,ie)||kn([pt,Re],Bt,at,ie)||kn(Fe,Fe,at,ie))return Rr;if(qt===Je)return gn;if(qt===Yt||Wn===Yt)return Rr;if(Wn===qe||qt===qe)return gn;if([de,ye,Bt].indexOf(Wn)!==-1||qt===Ae||On===Cr&&Co.indexOf(qt)!==-1||qt===Fn&&Wn===Cr||Wn===Qt||eo.indexOf(Wn)!==-1&&qt===jt||eo.indexOf(qt)!==-1&&Wn===jt||qt===Tt&&[mr,bn,er].indexOf(Wn)!==-1||[mr,bn,er].indexOf(qt)!==-1&&Wn===fn||eo.indexOf(qt)!==-1&&oo.indexOf(Wn)!==-1||oo.indexOf(qt)!==-1&&eo.indexOf(Wn)!==-1||[Tt,fn].indexOf(qt)!==-1&&(Wn===jt||[lt,ye].indexOf(Wn)!==-1&&ie[Jt+1]===jt)||[lt,ye].indexOf(qt)!==-1&&Wn===jt||qt===jt&&[jt,Fn,wn].indexOf(Wn)!==-1)return Rr;if([jt,Fn,wn,pt,Re].indexOf(Wn)!==-1)for(var ee=at;ee>=0;){var ce=ie[ee];if(ce===jt)return Rr;if([Fn,wn].indexOf(ce)!==-1)ee--;else break}if([Tt,fn].indexOf(Wn)!==-1)for(var ee=[pt,Re].indexOf(qt)!==-1?It:at;ee>=0;){var ce=ie[ee];if(ce===jt)return Rr;if([Fn,wn].indexOf(ce)!==-1)ee--;else break}if(ur===qt&&[ur,hr,cr,yr].indexOf(Wn)!==-1||[hr,cr].indexOf(qt)!==-1&&[hr,br].indexOf(Wn)!==-1||[br,yr].indexOf(qt)!==-1&&Wn===br||qo.indexOf(qt)!==-1&&[Qt,fn].indexOf(Wn)!==-1||qo.indexOf(Wn)!==-1&&qt===Tt||eo.indexOf(qt)!==-1&&eo.indexOf(Wn)!==-1||qt===wn&&eo.indexOf(Wn)!==-1||eo.concat(jt).indexOf(qt)!==-1&&Wn===lt&&Qa.indexOf(se[Jt])===-1||eo.concat(jt).indexOf(Wn)!==-1&&qt===Re)return Rr;if(qt===qr&&Wn===qr){for(var Ie=me[at],Ze=1;Ie>0&&(Ie--,ie[Ie]===qr);)Ze++;if(Ze%2!==0)return Rr}return qt===bn&&Wn===er?Rr:gn},Aa=function(se,ie){ie||(ie={lineBreak:"normal",wordBreak:"normal"});var me=Dn(se,ie.lineBreak),ge=me[0],ze=me[1],at=me[2];(ie.wordBreak==="break-all"||ie.wordBreak==="break-word")&&(ze=ze.map(function(Jt){return[jt,on,ha].indexOf(Jt)!==-1?mr:Jt}));var It=ie.wordBreak==="keep-all"?at.map(function(Jt,qt){return Jt&&se[qt]>=19968&&se[qt]<=40959}):void 0;return[ge,ze,It]},Nr=function(){function se(ie,me,ge,ze){this.codePoints=ie,this.required=me===Ua,this.start=ge,this.end=ze}return se.prototype.slice=function(){return Ne.apply(void 0,this.codePoints.slice(this.start,this.end))},se}(),ga=function(se,ie){var me=Be(se),ge=Aa(me,ie),ze=ge[0],at=ge[1],It=ge[2],Jt=me.length,qt=0,On=0;return{next:function(){if(On>=Jt)return{done:!0,value:null};for(var Wn=Rr;On=lr&&se<=57},Bi=function(se){return se>=55296&&se<=57343},Ga=function(se){return so(se)||se>=Ta&&se<=ka||se>=Yr&&se<=co},oi=function(se){return se>=Yr&&se<=Ao},Fi=function(se){return se>=Ta&&se<=vo},Gr=function(se){return oi(se)||Fi(se)},jr=function(se){return se>=Ia},Kt=function(se){return se===Er||se===Lo||se===Qo},Ht=function(se){return Gr(se)||jr(se)||se===XA},In=function(se){return Ht(se)||so(se)||se===_i},gr=function(se){return se>=jA&&se<=vs||se===$A||se>=_A&&se<=Ui||se===$n},$r=function(se,ie){return se!==Ho?!1:ie!==Er},xr=function(se,ie,me){return se===_i?Ht(ie)||$r(ie,me):Ht(se)?!0:!!(se===Ho&&$r(se,ie))},Jr=function(se,ie,me){return se===Sa||se===_i?so(ie)?!0:ie===qA&&so(me):so(se===qA?ie:se)},wr=function(se){var ie=0,me=1;(se[ie]===Sa||se[ie]===_i)&&(se[ie]===_i&&(me=-1),ie++);for(var ge=[];so(se[ie]);)ge.push(se[ie++]);var ze=ge.length?parseInt(Ne.apply(void 0,ge),10):0;se[ie]===qA&&ie++;for(var at=[];so(se[ie]);)at.push(se[ie++]);var It=at.length,Jt=It?parseInt(Ne.apply(void 0,at),10):0;(se[ie]===Mo||se[ie]===tn)&&ie++;var qt=1;(se[ie]===Sa||se[ie]===_i)&&(se[ie]===_i&&(qt=-1),ie++);for(var On=[];so(se[ie]);)On.push(se[ie++]);var Wn=On.length?parseInt(Ne.apply(void 0,On),10):0;return me*(ze+Jt*Math.pow(10,-It))*Math.pow(10,qt*Wn)},aa={type:2},fa={type:3},lo={type:4},Ko={type:13},Ca={type:8},po={type:21},Ha={type:9},Va={type:10},oa={type:11},Ra={type:12},Wa={type:14},bo={type:23},ei={type:1},ii={type:25},Oi={type:24},Si={type:26},$i={type:27},WA={type:28},gA={type:29},es={type:31},Ls={type:32},Pn=function(){function se(){this._value=[]}return se.prototype.write=function(ie){this._value=this._value.concat(Be(ie))},se.prototype.read=function(){for(var ie=[],me=this.consumeToken();me!==Ls;)ie.push(me),me=this.consumeToken();return ie},se.prototype.consumeToken=function(){var ie=this.consumeCodePoint();switch(ie){case io:return this.consumeStringToken(io);case Di:var me=this.peekCodePoint(0),ge=this.peekCodePoint(1),ze=this.peekCodePoint(2);if(In(me)||$r(ge,ze)){var at=xr(me,ge,ze)?wa:xa,It=this.consumeName();return{type:5,value:It,flags:at}}break;case Ei:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Ko;break;case Ti:return this.consumeStringToken(Ti);case zo:return aa;case sA:return fa;case Oa:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Wa;break;case Sa:if(Jr(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case ml:return lo;case _i:var Jt=ie,qt=this.peekCodePoint(0),On=this.peekCodePoint(1);if(Jr(Jt,qt,On))return this.reconsumeCodePoint(ie),this.consumeNumericToken();if(xr(Jt,qt,On))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();if(qt===_i&&On===Fs)return this.consumeCodePoint(),this.consumeCodePoint(),Oi;break;case qA:if(Jr(ie,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(ie),this.consumeNumericToken();break;case Ea:if(this.peekCodePoint(0)===Oa)for(this.consumeCodePoint();;){var Wn=this.consumeCodePoint();if(Wn===Oa&&(Wn=this.consumeCodePoint(),Wn===Ea))return this.consumeToken();if(Wn===Zn)return this.consumeToken()}break;case ms:return Si;case ps:return $i;case Gl:if(this.peekCodePoint(0)===Dr&&this.peekCodePoint(1)===_i&&this.peekCodePoint(2)===_i)return this.consumeCodePoint(),this.consumeCodePoint(),ii;break;case xs:var ee=this.peekCodePoint(0),ce=this.peekCodePoint(1),Ie=this.peekCodePoint(2);if(xr(ee,ce,Ie)){var It=this.consumeName();return{type:7,value:It}}break;case JA:return WA;case Ho:if($r(ie,this.peekCodePoint(0)))return this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();break;case Vr:return gA;case La:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Ca;break;case mo:return oa;case Ro:return Ra;case zr:case ya:var Ze=this.peekCodePoint(0),ot=this.peekCodePoint(1);return Ze===Sa&&(Ga(ot)||ot===Ba)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(ie),this.consumeIdentLikeToken();case ai:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Ha;if(this.peekCodePoint(0)===ai)return this.consumeCodePoint(),po;break;case Pi:if(this.peekCodePoint(0)===hi)return this.consumeCodePoint(),Va;break;case Zn:return Ls}return Kt(ie)?(this.consumeWhiteSpace(),es):so(ie)?(this.reconsumeCodePoint(ie),this.consumeNumericToken()):Ht(ie)?(this.reconsumeCodePoint(ie),this.consumeIdentLikeToken()):{type:6,value:Ne(ie)}},se.prototype.consumeCodePoint=function(){var ie=this._value.shift();return typeof ie=="undefined"?-1:ie},se.prototype.reconsumeCodePoint=function(ie){this._value.unshift(ie)},se.prototype.peekCodePoint=function(ie){return ie>=this._value.length?-1:this._value[ie]},se.prototype.consumeUnicodeRangeToken=function(){for(var ie=[],me=this.consumeCodePoint();Ga(me)&&ie.length<6;)ie.push(me),me=this.consumeCodePoint();for(var ge=!1;me===Ba&&ie.length<6;)ie.push(me),me=this.consumeCodePoint(),ge=!0;if(ge){var ze=parseInt(Ne.apply(void 0,ie.map(function(qt){return qt===Ba?lr:qt})),16),at=parseInt(Ne.apply(void 0,ie.map(function(qt){return qt===Ba?ka:qt})),16);return{type:30,start:ze,end:at}}var It=parseInt(Ne.apply(void 0,ie),16);if(this.peekCodePoint(0)===_i&&Ga(this.peekCodePoint(1))){this.consumeCodePoint(),me=this.consumeCodePoint();for(var Jt=[];Ga(me)&&Jt.length<6;)Jt.push(me),me=this.consumeCodePoint();var at=parseInt(Ne.apply(void 0,Jt),16);return{type:30,start:It,end:at}}else return{type:30,start:It,end:It}},se.prototype.consumeIdentLikeToken=function(){var ie=this.consumeName();return ie.toLowerCase()==="url"&&this.peekCodePoint(0)===zo?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===zo?(this.consumeCodePoint(),{type:19,value:ie}):{type:20,value:ie}},se.prototype.consumeUrlToken=function(){var ie=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn)return{type:22,value:""};var me=this.peekCodePoint(0);if(me===Ti||me===io){var ge=this.consumeStringToken(this.consumeCodePoint());return ge.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===sA)?(this.consumeCodePoint(),{type:22,value:ge.value}):(this.consumeBadUrlRemnants(),bo)}for(;;){var ze=this.consumeCodePoint();if(ze===Zn||ze===sA)return{type:22,value:Ne.apply(void 0,ie)};if(Kt(ze))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Zn||this.peekCodePoint(0)===sA?(this.consumeCodePoint(),{type:22,value:Ne.apply(void 0,ie)}):(this.consumeBadUrlRemnants(),bo);if(ze===io||ze===Ti||ze===zo||gr(ze))return this.consumeBadUrlRemnants(),bo;if(ze===Ho)if($r(ze,this.peekCodePoint(0)))ie.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),bo;else ie.push(ze)}},se.prototype.consumeWhiteSpace=function(){for(;Kt(this.peekCodePoint(0));)this.consumeCodePoint()},se.prototype.consumeBadUrlRemnants=function(){for(;;){var ie=this.consumeCodePoint();if(ie===sA||ie===Zn)return;$r(ie,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},se.prototype.consumeStringSlice=function(ie){for(var me=5e4,ge="";ie>0;){var ze=Math.min(me,ie);ge+=Ne.apply(void 0,this._value.splice(0,ze)),ie-=ze}return this._value.shift(),ge},se.prototype.consumeStringToken=function(ie){var me="",ge=0;do{var ze=this._value[ge];if(ze===Zn||ze===void 0||ze===ie)return me+=this.consumeStringSlice(ge),{type:0,value:me};if(ze===Er)return this._value.splice(0,ge),ei;if(ze===Ho){var at=this._value[ge+1];at!==Zn&&at!==void 0&&(at===Er?(me+=this.consumeStringSlice(ge),ge=-1,this._value.shift()):$r(ze,at)&&(me+=this.consumeStringSlice(ge),me+=Ne(this.consumeEscapedCodePoint()),ge=-1))}ge++}while(!0)},se.prototype.consumeNumber=function(){var ie=[],me=to,ge=this.peekCodePoint(0);for((ge===Sa||ge===_i)&&ie.push(this.consumeCodePoint());so(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ge=this.peekCodePoint(0);var ze=this.peekCodePoint(1);if(ge===qA&&so(ze))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),me=$o;so(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());ge=this.peekCodePoint(0),ze=this.peekCodePoint(1);var at=this.peekCodePoint(2);if((ge===Mo||ge===tn)&&((ze===Sa||ze===_i)&&so(at)||so(ze)))for(ie.push(this.consumeCodePoint(),this.consumeCodePoint()),me=$o;so(this.peekCodePoint(0));)ie.push(this.consumeCodePoint());return[wr(ie),me]},se.prototype.consumeNumericToken=function(){var ie=this.consumeNumber(),me=ie[0],ge=ie[1],ze=this.peekCodePoint(0),at=this.peekCodePoint(1),It=this.peekCodePoint(2);if(xr(ze,at,It)){var Jt=this.consumeName();return{type:15,number:me,flags:ge,unit:Jt}}return ze===Ji?(this.consumeCodePoint(),{type:16,number:me,flags:ge}):{type:17,number:me,flags:ge}},se.prototype.consumeEscapedCodePoint=function(){var ie=this.consumeCodePoint();if(Ga(ie)){for(var me=Ne(ie);Ga(this.peekCodePoint(0))&&me.length<6;)me+=Ne(this.consumeCodePoint());Kt(this.peekCodePoint(0))&&this.consumeCodePoint();var ge=parseInt(me,16);return ge===0||Bi(ge)||ge>1114111?qi:ge}return ie===Zn?qi:ie},se.prototype.consumeName=function(){for(var ie="";;){var me=this.consumeCodePoint();if(In(me))ie+=Ne(me);else if($r(me,this.peekCodePoint(0)))ie+=Ne(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(me),ie}},se}(),Nn=function(){function se(ie){this._tokens=ie}return se.create=function(ie){var me=new Pn;return me.write(ie),new se(me.read())},se.parseValue=function(ie){return se.create(ie).parseComponentValue()},se.parseValues=function(ie){return se.create(ie).parseComponentValues()},se.prototype.parseComponentValue=function(){for(var ie=this.consumeToken();ie.type===31;)ie=this.consumeToken();if(ie.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(ie);var me=this.consumeComponentValue();do ie=this.consumeToken();while(ie.type===31);if(ie.type===32)return me;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},se.prototype.parseComponentValues=function(){for(var ie=[];;){var me=this.consumeComponentValue();if(me.type===32)return ie;ie.push(me),ie.push()}},se.prototype.consumeComponentValue=function(){var ie=this.consumeToken();switch(ie.type){case 11:case 28:case 2:return this.consumeSimpleBlock(ie.type);case 19:return this.consumeFunction(ie)}return ie},se.prototype.consumeSimpleBlock=function(ie){for(var me={type:ie,values:[]},ge=this.consumeToken();;){if(ge.type===32||ZA(ge,ie))return me;this.reconsumeToken(ge),me.values.push(this.consumeComponentValue()),ge=this.consumeToken()}},se.prototype.consumeFunction=function(ie){for(var me={name:ie.value,values:[],type:18};;){var ge=this.consumeToken();if(ge.type===32||ge.type===3)return me;this.reconsumeToken(ge),me.values.push(this.consumeComponentValue())}},se.prototype.consumeToken=function(){var ie=this._tokens.shift();return typeof ie=="undefined"?Ls:ie},se.prototype.reconsumeToken=function(ie){this._tokens.unshift(ie)},se}(),lA=function(se){return se.type===15},Ma=function(se){return se.type===17},Na=function(se){return se.type===20},Eo=function(se){return se.type===0},ki=function(se,ie){return Na(se)&&se.value===ie},gi=function(se){return se.type!==31},yi=function(se){return se.type!==31&&se.type!==4},Wi=function(se){var ie=[],me=[];return se.forEach(function(ge){if(ge.type===4){if(me.length===0)throw new Error("Error parsing function args, zero tokens for arg");ie.push(me),me=[];return}ge.type!==31&&me.push(ge)}),me.length&&ie.push(me),ie},ZA=function(se,ie){return ie===11&&se.type===12||ie===28&&se.type===29?!0:ie===2&&se.type===3},eA=function(se){return se.type===17||se.type===15},ia=function(se){return se.type===16||eA(se)},_a=function(se){return se.length>1?[se[0],se[1]]:[se[0]]},ro={type:17,number:0,flags:to},vi={type:16,number:50,flags:to},wi={type:16,number:100,flags:to},Ri=function(se,ie,me){var ge=se[0],ze=se[1];return[Po(ge,ie),Po(typeof ze!="undefined"?ze:ge,me)]},Po=function(se,ie){if(se.type===16)return se.number/100*ie;if(lA(se))switch(se.unit){case"rem":case"em":return 16*se.number;case"px":default:return se.number}return se.number},ts="deg",ns="grad",NA="rad",rs="turn",Is={name:"angle",parse:function(se,ie){if(ie.type===15)switch(ie.unit){case ts:return Math.PI*ie.number/180;case ns:return Math.PI/200*ie.number;case NA:return ie.number;case rs:return Math.PI*2*ie.number}throw new Error("Unsupported angle type")}},Cl=function(se){return se.type===15&&(se.unit===ts||se.unit===ns||se.unit===NA||se.unit===rs)},bl=function(se){var ie=se.filter(Na).map(function(me){return me.value}).join(" ");switch(ie){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ro,ro];case"to top":case"bottom":return Mi(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ro,wi];case"to right":case"left":return Mi(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[wi,wi];case"to bottom":case"top":return Mi(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[wi,ro];case"to left":case"right":return Mi(270)}return 0},Mi=function(se){return Math.PI*se/180},VA={name:"color",parse:function(se,ie){if(ie.type===18){var me=ol[ie.name];if(typeof me=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ie.name+'"');return me(se,ie.values)}if(ie.type===5){if(ie.value.length===3){var ge=ie.value.substring(0,1),ze=ie.value.substring(1,2),at=ie.value.substring(2,3);return hA(parseInt(ge+ge,16),parseInt(ze+ze,16),parseInt(at+at,16),1)}if(ie.value.length===4){var ge=ie.value.substring(0,1),ze=ie.value.substring(1,2),at=ie.value.substring(2,3),It=ie.value.substring(3,4);return hA(parseInt(ge+ge,16),parseInt(ze+ze,16),parseInt(at+at,16),parseInt(It+It,16)/255)}if(ie.value.length===6){var ge=ie.value.substring(0,2),ze=ie.value.substring(2,4),at=ie.value.substring(4,6);return hA(parseInt(ge,16),parseInt(ze,16),parseInt(at,16),1)}if(ie.value.length===8){var ge=ie.value.substring(0,2),ze=ie.value.substring(2,4),at=ie.value.substring(4,6),It=ie.value.substring(6,8);return hA(parseInt(ge,16),parseInt(ze,16),parseInt(at,16),parseInt(It,16)/255)}}if(ie.type===20){var Jt=bA[ie.value.toUpperCase()];if(typeof Jt!="undefined")return Jt}return bA.TRANSPARENT}},fA=function(se){return(255&se)===0},ci=function(se){var ie=255&se,me=255&se>>8,ge=255&se>>16,ze=255&se>>24;return ie<255?"rgba("+ze+","+ge+","+me+","+ie/255+")":"rgb("+ze+","+ge+","+me+")"},hA=function(se,ie,me,ge){return(se<<24|ie<<16|me<<8|Math.round(ge*255)<<0)>>>0},al=function(se,ie){if(se.type===17)return se.number;if(se.type===16){var me=ie===3?1:255;return ie===3?se.number/100*me:Math.round(se.number/100*me)}return 0},El=function(se,ie){var me=ie.filter(yi);if(me.length===3){var ge=me.map(al),ze=ge[0],at=ge[1],It=ge[2];return hA(ze,at,It,1)}if(me.length===4){var Jt=me.map(al),ze=Jt[0],at=Jt[1],It=Jt[2],qt=Jt[3];return hA(ze,at,It,qt)}return 0};function as(se,ie,me){return me<0&&(me+=1),me>=1&&(me-=1),me<1/6?(ie-se)*me*6+se:me<1/2?ie:me<2/3?(ie-se)*6*(2/3-me)+se:se}var HA=function(se,ie){var me=ie.filter(yi),ge=me[0],ze=me[1],at=me[2],It=me[3],Jt=(ge.type===17?Mi(ge.number):Is.parse(se,ge))/(Math.PI*2),qt=ia(ze)?ze.number/100:0,On=ia(at)?at.number/100:0,Wn=typeof It!="undefined"&&ia(It)?Po(It,1):1;if(qt===0)return hA(On*255,On*255,On*255,1);var ee=On<=.5?On*(qt+1):On+qt-On*qt,ce=On*2-ee,Ie=as(ce,ee,Jt+1/3),Ze=as(ce,ee,Jt),ot=as(ce,ee,Jt-1/3);return hA(Ie*255,Ze*255,ot*255,Wn)},ol={hsl:HA,hsla:HA,rgb:El,rgba:El},Bs=function(se,ie){return VA.parse(se,Nn.create(ie).parseComponentValue())},bA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},zs={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(se,ie){return ie.map(function(me){if(Na(me))switch(me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Gs={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_s=function(se,ie){var me=VA.parse(se,ie[0]),ge=ie[1];return ge&&ia(ge)?{color:me,stop:ge}:{color:me,stop:null}},Pl=function(se,ie){var me=se[0],ge=se[se.length-1];me.stop===null&&(me.stop=ro),ge.stop===null&&(ge.stop=wi);for(var ze=[],at=0,It=0;Itat?ze.push(qt):ze.push(at),at=qt}else ze.push(null)}for(var On=null,It=0;ItIt.optimumDistance)?{optimumCorner:Jt,optimumDistance:Wn}:It},{optimumDistance:ze?1/0:-1/0,optimumCorner:null}).optimumCorner},Ir=function(se,ie,me,ge,ze){var at=0,It=0;switch(se.size){case 0:se.shape===0?at=It=Math.min(Math.abs(ie),Math.abs(ie-ge),Math.abs(me),Math.abs(me-ze)):se.shape===1&&(at=Math.min(Math.abs(ie),Math.abs(ie-ge)),It=Math.min(Math.abs(me),Math.abs(me-ze)));break;case 2:if(se.shape===0)at=It=Math.min(UA(ie,me),UA(ie,me-ze),UA(ie-ge,me),UA(ie-ge,me-ze));else if(se.shape===1){var Jt=Math.min(Math.abs(me),Math.abs(me-ze))/Math.min(Math.abs(ie),Math.abs(ie-ge)),qt=EA(ge,ze,ie,me,!0),On=qt[0],Wn=qt[1];at=UA(On-ie,(Wn-me)/Jt),It=Jt*at}break;case 1:se.shape===0?at=It=Math.max(Math.abs(ie),Math.abs(ie-ge),Math.abs(me),Math.abs(me-ze)):se.shape===1&&(at=Math.max(Math.abs(ie),Math.abs(ie-ge)),It=Math.max(Math.abs(me),Math.abs(me-ze)));break;case 3:if(se.shape===0)at=It=Math.max(UA(ie,me),UA(ie,me-ze),UA(ie-ge,me),UA(ie-ge,me-ze));else if(se.shape===1){var Jt=Math.max(Math.abs(me),Math.abs(me-ze))/Math.max(Math.abs(ie),Math.abs(ie-ge)),ee=EA(ge,ze,ie,me,!1),On=ee[0],Wn=ee[1];at=UA(On-ie,(Wn-me)/Jt),It=Jt*at}break}return Array.isArray(se.size)&&(at=Po(se.size[0],ge),It=se.size.length===2?Po(se.size[1],ze):at),[at,It]},Xa=function(se,ie){var me=Mi(180),ge=[];return Wi(ie).forEach(function(ze,at){if(at===0){var It=ze[0];if(It.type===20&&It.value==="to"){me=bl(ze);return}else if(Cl(It)){me=Is.parse(se,It);return}}var Jt=_s(se,ze);ge.push(Jt)}),{angle:me,stops:ge,type:1}},pr=function(se,ie){var me=Mi(180),ge=[];return Wi(ie).forEach(function(ze,at){if(at===0){var It=ze[0];if(It.type===20&&["top","left","right","bottom"].indexOf(It.value)!==-1){me=bl(ze);return}else if(Cl(It)){me=(Is.parse(se,It)+Mi(270))%Mi(360);return}}var Jt=_s(se,ze);ge.push(Jt)}),{angle:me,stops:ge,type:1}},Da=function(se,ie){var me=Mi(180),ge=[],ze=1,at=0,It=3,Jt=[];return Wi(ie).forEach(function(qt,On){var Wn=qt[0];if(On===0){if(Na(Wn)&&Wn.value==="linear"){ze=1;return}else if(Na(Wn)&&Wn.value==="radial"){ze=2;return}}if(Wn.type===18){if(Wn.name==="from"){var ee=VA.parse(se,Wn.values[0]);ge.push({stop:ro,color:ee})}else if(Wn.name==="to"){var ee=VA.parse(se,Wn.values[0]);ge.push({stop:wi,color:ee})}else if(Wn.name==="color-stop"){var ce=Wn.values.filter(yi);if(ce.length===2){var ee=VA.parse(se,ce[1]),Ie=ce[0];Ma(Ie)&&ge.push({stop:{type:16,number:Ie.number*100,flags:Ie.flags},color:ee})}}}}),ze===1?{angle:(me+Mi(180))%Mi(360),stops:ge,type:ze}:{size:It,shape:at,stops:ge,position:Jt,type:ze}},yo="closest-side",Ki="farthest-side",Zi="closest-corner",zi="farthest-corner",Ss="circle",Ns="ellipse",Ds="cover",Go="contain",Us=function(se,ie){var me=0,ge=3,ze=[],at=[];return Wi(ie).forEach(function(It,Jt){var qt=!0;if(Jt===0){var On=!1;qt=It.reduce(function(ee,ce){if(On)if(Na(ce))switch(ce.value){case"center":return at.push(vi),ee;case"top":case"left":return at.push(ro),ee;case"right":case"bottom":return at.push(wi),ee}else(ia(ce)||eA(ce))&&at.push(ce);else if(Na(ce))switch(ce.value){case Ss:return me=0,!1;case Ns:return me=1,!1;case"at":return On=!0,!1;case yo:return ge=0,!1;case Ds:case Ki:return ge=1,!1;case Go:case Zi:return ge=2,!1;case zi:return ge=3,!1}else if(eA(ce)||ia(ce))return Array.isArray(ge)||(ge=[]),ge.push(ce),!1;return ee},qt)}if(qt){var Wn=_s(se,It);ze.push(Wn)}}),{size:ge,shape:me,stops:ze,position:at,type:2}},Io=function(se,ie){var me=0,ge=3,ze=[],at=[];return Wi(ie).forEach(function(It,Jt){var qt=!0;if(Jt===0?qt=It.reduce(function(Wn,ee){if(Na(ee))switch(ee.value){case"center":return at.push(vi),!1;case"top":case"left":return at.push(ro),!1;case"right":case"bottom":return at.push(wi),!1}else if(ia(ee)||eA(ee))return at.push(ee),!1;return Wn},qt):Jt===1&&(qt=It.reduce(function(Wn,ee){if(Na(ee))switch(ee.value){case Ss:return me=0,!1;case Ns:return me=1,!1;case Go:case yo:return ge=0,!1;case Ki:return ge=1,!1;case Zi:return ge=2,!1;case Ds:case zi:return ge=3,!1}else if(eA(ee)||ia(ee))return Array.isArray(ge)||(ge=[]),ge.push(ee),!1;return Wn},qt)),qt){var On=_s(se,It);ze.push(On)}}),{size:ge,shape:me,stops:ze,position:at,type:2}},PA=function(se){return se.type===1},Vi=function(se){return se.type===2},mA={name:"image",parse:function(se,ie){if(ie.type===22){var me={url:ie.value,type:0};return se.cache.addImage(ie.value),me}if(ie.type===18){var ge=ys[ie.name];if(typeof ge=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ie.name+'"');return ge(se,ie.values)}throw new Error("Unsupported image type "+ie.type)}};function tA(se){return!(se.type===20&&se.value==="none")&&(se.type!==18||!!ys[se.name])}var ys={"linear-gradient":Xa,"-moz-linear-gradient":pr,"-ms-linear-gradient":pr,"-o-linear-gradient":pr,"-webkit-linear-gradient":pr,"radial-gradient":Us,"-moz-radial-gradient":Io,"-ms-radial-gradient":Io,"-o-radial-gradient":Io,"-webkit-radial-gradient":Io,"-webkit-gradient":Da},Os={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(se,ie){if(ie.length===0)return[];var me=ie[0];return me.type===20&&me.value==="none"?[]:ie.filter(function(ge){return yi(ge)&&tA(ge)}).map(function(ge){return mA.parse(se,ge)})}},ae={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(se,ie){return ie.map(function(me){if(Na(me))switch(me.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},te={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(se,ie){return Wi(ie).map(function(me){return me.filter(ia)}).map(_a)}},re={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(se,ie){return Wi(ie).map(function(me){return me.filter(Na).map(function(ge){return ge.value}).join(" ")}).map(fe)}},fe=function(se){switch(se){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ce;(function(se){se.AUTO="auto",se.CONTAIN="contain",se.COVER="cover"})(Ce||(Ce={}));var Se={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(se,ie){return Wi(ie).map(function(me){return me.filter(De)})}},De=function(se){return Na(se)||ia(se)},je=function(se){return{name:"border-"+se+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},_e=je("top"),rt=je("right"),vt=je("bottom"),St=je("left"),Ot=function(se){return{name:"border-radius-"+se,initialValue:"0 0",prefix:!1,type:1,parse:function(ie,me){return _a(me.filter(ia))}}},$e=Ot("top-left"),ln=Ot("top-right"),Xt=Ot("bottom-right"),un=Ot("bottom-left"),Rt=function(se){return{name:"border-"+se+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(ie,me){switch(me){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},cn=Rt("top"),jn=Rt("right"),Jn=Rt("bottom"),fr=Rt("left"),Or=function(se){return{name:"border-"+se+"-width",initialValue:"0",type:0,prefix:!1,parse:function(ie,me){return lA(me)?me.number:0}}},nr=Or("top"),Cn=Or("right"),ar=Or("bottom"),Sr=Or("left"),_t={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$t={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"rtl":return 1;case"ltr":default:return 0}}},Tn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(se,ie){return ie.filter(Na).reduce(function(me,ge){return me|Ue(ge.value)},0)}},Ue=function(se){switch(se){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ke={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},et={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(se,ie){return ie.type===20&&ie.value==="normal"?0:ie.type===17||ie.type===15?ie.number:0}},ut;(function(se){se.NORMAL="normal",se.STRICT="strict"})(ut||(ut={}));var ht={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"strict":return ut.STRICT;case"normal":default:return ut.NORMAL}}},bt={name:"line-height",initialValue:"normal",prefix:!1,type:4},Mt=function(se,ie){return Na(se)&&se.value==="normal"?1.2*ie:se.type===17?ie*se.number:ia(se)?Po(se,ie):ie},an={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(se,ie){return ie.type===20&&ie.value==="none"?null:mA.parse(se,ie)}},Ye={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"inside":return 0;case"outside":default:return 1}}},ct={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Et=function(se){return{name:"margin-"+se,initialValue:"0",prefix:!1,type:4}},Lt=Et("top"),Vt=Et("right"),nn=Et("bottom"),sn=Et("left"),pn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(se,ie){return ie.filter(Na).map(function(me){switch(me.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Mn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"break-word":return"break-word";case"normal":default:return"normal"}}},zn=function(se){return{name:"padding-"+se,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Vn=zn("top"),tr=zn("right"),Lr=zn("bottom"),Rn=zn("left"),Wt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Wr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(se,ie){switch(ie){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Tr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(se,ie){return ie.length===1&&ki(ie[0],"none")?[]:Wi(ie).map(function(me){for(var ge={color:bA.TRANSPARENT,offsetX:ro,offsetY:ro,blur:ro},ze=0,at=0;at1?1:0],this.overflowWrap=Hr(ie,Mn,me.overflowWrap),this.paddingTop=Hr(ie,Vn,me.paddingTop),this.paddingRight=Hr(ie,tr,me.paddingRight),this.paddingBottom=Hr(ie,Lr,me.paddingBottom),this.paddingLeft=Hr(ie,Rn,me.paddingLeft),this.paintOrder=Hr(ie,uo,me.paintOrder),this.position=Hr(ie,Wr,me.position),this.textAlign=Hr(ie,Wt,me.textAlign),this.textDecorationColor=Hr(ie,Ya,(ge=me.textDecorationColor)!==null&&ge!==void 0?ge:me.color),this.textDecorationLine=Hr(ie,ja,(ze=me.textDecorationLine)!==null&&ze!==void 0?ze:me.textDecoration),this.textShadow=Hr(ie,Tr,me.textShadow),this.textTransform=Hr(ie,Yn,me.textTransform),this.transform=Hr(ie,ir,me.transform),this.transformOrigin=Hr(ie,ta,me.transformOrigin),this.visibility=Hr(ie,Xr,me.visibility),this.webkitTextStrokeColor=Hr(ie,xi,me.webkitTextStrokeColor),this.webkitTextStrokeWidth=Hr(ie,Fa,me.webkitTextStrokeWidth),this.wordBreak=Hr(ie,na,me.wordBreak),this.zIndex=Hr(ie,Pa,me.zIndex)}return se.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},se.prototype.isTransparent=function(){return fA(this.backgroundColor)},se.prototype.isTransformed=function(){return this.transform!==null},se.prototype.isPositioned=function(){return this.position!==0},se.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},se.prototype.isFloating=function(){return this.float!==0},se.prototype.isInlineLevel=function(){return _r(this.display,4)||_r(this.display,33554432)||_r(this.display,268435456)||_r(this.display,536870912)||_r(this.display,67108864)||_r(this.display,134217728)},se}(),di=function(){function se(ie,me){this.content=Hr(ie,ma,me.content),this.quotes=Hr(ie,Zr,me.quotes)}return se}(),Li=function(){function se(ie,me){this.counterIncrement=Hr(ie,va,me.counterIncrement),this.counterReset=Hr(ie,ea,me.counterReset)}return se}(),Hr=function(se,ie,me){var ge=new Pn,ze=me!==null&&typeof me!="undefined"?me.toString():ie.initialValue;ge.write(ze);var at=new Nn(ge.read());switch(ie.type){case 2:var It=at.parseComponentValue();return ie.parse(se,Na(It)?It.value:ie.initialValue);case 0:return ie.parse(se,at.parseComponentValue());case 1:return ie.parse(se,at.parseComponentValues());case 4:return at.parseComponentValue();case 3:switch(ie.format){case"angle":return Is.parse(se,at.parseComponentValue());case"color":return VA.parse(se,at.parseComponentValue());case"image":return mA.parse(se,at.parseComponentValue());case"length":var Jt=at.parseComponentValue();return eA(Jt)?Jt:ro;case"length-percentage":var qt=at.parseComponentValue();return ia(qt)?qt:ro;case"time":return kr.parse(se,at.parseComponentValue())}break}},ti="data-html2canvas-debug",pA=function(se){var ie=se.getAttribute(ti);switch(ie){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Fo=function(se,ie){var me=pA(se);return me===1||ie===me},ao=function(){function se(ie,me){if(this.context=ie,this.textNodes=[],this.elements=[],this.flags=0,Fo(me,3))debugger;this.styles=new rA(ie,window.getComputedStyle(me,null)),Br(me)&&(this.styles.animationDuration.some(function(ge){return ge>0})&&(me.style.animationDuration="0s"),this.styles.transform!==null&&(me.style.transform="none")),this.bounds=He(this.context,me),Fo(me,4)&&(this.flags|=16)}return se}(),Wo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Vo=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),qa=0;qa>4,Wn[ze++]=(It&15)<<4|Jt>>2,Wn[ze++]=(Jt&3)<<6|qt&63;return On},Ii=function(se){for(var ie=se.length,me=[],ge=0;ge>aA,OA=1<>aA,mi=RA+bi,Cs=mi,Qs=32,Ws=Cs+Qs,cs=65536>>FA,_l=1<=0){if(ie<55296||ie>56319&&ie<=65535)return me=this.index[ie>>aA],me=(me<>aA)],me=(me<>FA),me=this.index[me],me+=ie>>aA&pl,me=this.index[me],me=(me<=55296&&ze<=56319&&me>10)+55296,It%1024+56320)),(ze+1===me||ge.length>16384)&&(at+=String.fromCharCode.apply(String,ge),ge.length=0)}return at},Il=oA(Wo),KA="\xD7",xA="\xF7",Xu=function(se){return Il.get(se)},xu=function(se,ie,me){var ge=me-2,ze=ie[ge],at=ie[me-1],It=ie[me];if(at===Al&&It===MA)return KA;if(at===Al||at===MA||at===Fl||It===Al||It===MA||It===Fl)return xA;if(at===vl&&[vl,Zs,Pu,Ll].indexOf(It)!==-1||(at===Pu||at===Zs)&&(It===Zs||It===xl)||(at===Ll||at===xl)&&It===xl||It===Fu||It===ou||It===Eu||at===BA)return KA;if(at===Fu&&It===iu){for(;ze===ou;)ze=ie[--ge];if(ze===iu)return KA}if(at===Bl&&It===Bl){for(var Jt=0;ze===Bl;)Jt++,ze=ie[--ge];if(Jt%2===0)return KA}return xA},Bo=function(se){var ie=Vs(se),me=ie.length,ge=0,ze=0,at=ie.map(Xu);return{next:function(){if(ge>=me)return{done:!0,value:null};for(var It=KA;geIt.x||Wn.y>It.y;return It=Wn,On===0?!0:ee});return se.body.removeChild(ie),Jt},su=function(){return typeof new Image().crossOrigin!="undefined"},lu=function(){return typeof new XMLHttpRequest().responseType=="string"},Nl=function(se){var ie=new Image,me=se.createElement("canvas"),ge=me.getContext("2d");if(!ge)return!1;ie.src="data:image/svg+xml,";try{ge.drawImage(ie,0,0),me.toDataURL()}catch(ze){return!1}return!0},Dl=function(se){return se[0]===0&&se[1]===255&&se[2]===0&&se[3]===255},Ju=function(se){var ie=se.createElement("canvas"),me=100;ie.width=me,ie.height=me;var ge=ie.getContext("2d");if(!ge)return Promise.reject(!1);ge.fillStyle="rgb(0, 255, 0)",ge.fillRect(0,0,me,me);var ze=new Image,at=ie.toDataURL();ze.src=at;var It=Vl(me,me,0,0,ze);return ge.fillStyle="red",ge.fillRect(0,0,me,me),Yl(It).then(function(Jt){ge.drawImage(Jt,0,0);var qt=ge.getImageData(0,0,me,me).data;ge.fillStyle="red",ge.fillRect(0,0,me,me);var On=se.createElement("div");return On.style.backgroundImage="url("+at+")",On.style.height=me+"px",Dl(qt)?Yl(Vl(me,me,0,0,On)):Promise.reject(!1)}).then(function(Jt){return ge.drawImage(Jt,0,0),Dl(ge.getImageData(0,0,me,me).data)}).catch(function(){return!1})},Vl=function(se,ie,me,ge,ze){var at="http://www.w3.org/2000/svg",It=document.createElementNS(at,"svg"),Jt=document.createElementNS(at,"foreignObject");return It.setAttributeNS(null,"width",se.toString()),It.setAttributeNS(null,"height",ie.toString()),Jt.setAttributeNS(null,"width","100%"),Jt.setAttributeNS(null,"height","100%"),Jt.setAttributeNS(null,"x",me.toString()),Jt.setAttributeNS(null,"y",ge.toString()),Jt.setAttributeNS(null,"externalResourcesRequired","true"),It.appendChild(Jt),Jt.appendChild(ze),It},Yl=function(se){return new Promise(function(ie,me){var ge=new Image;ge.onload=function(){return ie(ge)},ge.onerror=me,ge.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(se))})},Yi={get SUPPORT_RANGE_BOUNDS(){var se=Au(document);return Object.defineProperty(Yi,"SUPPORT_RANGE_BOUNDS",{value:se}),se},get SUPPORT_WORD_BREAKING(){var se=Yi.SUPPORT_RANGE_BOUNDS&&bs(document);return Object.defineProperty(Yi,"SUPPORT_WORD_BREAKING",{value:se}),se},get SUPPORT_SVG_DRAWING(){var se=Nl(document);return Object.defineProperty(Yi,"SUPPORT_SVG_DRAWING",{value:se}),se},get SUPPORT_FOREIGNOBJECT_DRAWING(){var se=typeof Array.from=="function"&&typeof window.fetch=="function"?Ju(document):Promise.resolve(!1);return Object.defineProperty(Yi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:se}),se},get SUPPORT_CORS_IMAGES(){var se=su();return Object.defineProperty(Yi,"SUPPORT_CORS_IMAGES",{value:se}),se},get SUPPORT_RESPONSE_TYPE(){var se=lu();return Object.defineProperty(Yi,"SUPPORT_RESPONSE_TYPE",{value:se}),se},get SUPPORT_CORS_XHR(){var se="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Yi,"SUPPORT_CORS_XHR",{value:se}),se},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var se=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Yi,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:se}),se}},ds=function(){function se(ie,me){this.text=ie,this.bounds=me}return se}(),sl=function(se,ie,me,ge){var ze=Ts(ie,me),at=[],It=0;return ze.forEach(function(Jt){if(me.textDecorationLine.length||Jt.trim().length>0)if(Yi.SUPPORT_RANGE_BOUNDS){var qt=No(ge,It,Jt.length).getClientRects();if(qt.length>1){var On=ni(Jt),Wn=0;On.forEach(function(ce){at.push(new ds(ce,Ge.fromDOMRectList(se,No(ge,Wn+It,ce.length).getClientRects()))),Wn+=ce.length})}else at.push(new ds(Jt,Ge.fromDOMRectList(se,qt)))}else{var ee=ge.splitText(Jt.length);at.push(new ds(Jt,qu(se,ge))),ge=ee}else Yi.SUPPORT_RANGE_BOUNDS||(ge=ge.splitText(Jt.length));It+=Jt.length}),at},qu=function(se,ie){var me=ie.ownerDocument;if(me){var ge=me.createElement("html2canvaswrapper");ge.appendChild(ie.cloneNode(!0));var ze=ie.parentNode;if(ze){ze.replaceChild(ge,ie);var at=He(se,ge);return ge.firstChild&&ze.replaceChild(ge.firstChild,ge),at}}return Ge.EMPTY},No=function(se,ie,me){var ge=se.ownerDocument;if(!ge)throw new Error("Node has no owner document");var ze=ge.createRange();return ze.setStart(se,ie),ze.setEnd(se,ie+me),ze},ni=function(se){if(Yi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ie=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ie.segment(se)).map(function(me){return me.segment})}return Zl(se)},QA=function(se,ie){if(Yi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var me=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(me.segment(se)).map(function(ge){return ge.segment})}return uu(se,ie)},Ts=function(se,ie){return ie.letterSpacing!==0?ni(se):QA(se,ie)},ks=[32,160,4961,65792,65793,4153,4241],uu=function(se,ie){for(var me=ga(se,{lineBreak:ie.lineBreak,wordBreak:ie.overflowWrap==="break-word"?"break-word":ie.wordBreak}),ge=[],ze,at=function(){if(ze.value){var It=ze.value.slice(),Jt=Be(It),qt="";Jt.forEach(function(On){ks.indexOf(On)===-1?qt+=Ne(On):(qt.length&&ge.push(qt),ge.push(Ne(On)),qt="")}),qt.length&&ge.push(qt)}};!(ze=me.next()).done;)at();return ge},Xl=function(){function se(ie,me,ge){this.text=Es(me.data,ge.textTransform),this.textBounds=sl(ie,this.text,ge,me)}return se}(),Es=function(se,ie){switch(ie){case 1:return se.toLowerCase();case 3:return se.replace(js,cu);case 2:return se.toUpperCase();default:return se}},js=/(^|\s|:|-|\(|\))([a-z])/g,cu=function(se,ie,me){return se.length>0?ie+me.toUpperCase():se},Ul=function(se){ve(ie,se);function ie(me,ge){var ze=se.call(this,me,ge)||this;return ze.src=ge.currentSrc||ge.src,ze.intrinsicWidth=ge.naturalWidth,ze.intrinsicHeight=ge.naturalHeight,ze.context.cache.addImage(ze.src),ze}return ie}(ao),Ys=function(se){ve(ie,se);function ie(me,ge){var ze=se.call(this,me,ge)||this;return ze.canvas=ge,ze.intrinsicWidth=ge.width,ze.intrinsicHeight=ge.height,ze}return ie}(ao),Lu=function(se){ve(ie,se);function ie(me,ge){var ze=se.call(this,me,ge)||this,at=new XMLSerializer,It=He(me,ge);return ge.setAttribute("width",It.width+"px"),ge.setAttribute("height",It.height+"px"),ze.svg="data:image/svg+xml,"+encodeURIComponent(at.serializeToString(ge)),ze.intrinsicWidth=ge.width.baseVal.value,ze.intrinsicHeight=ge.height.baseVal.value,ze.context.cache.addImage(ze.svg),ze}return ie}(ao),Jl=function(se){ve(ie,se);function ie(me,ge){var ze=se.call(this,me,ge)||this;return ze.value=ge.value,ze}return ie}(ao),$u=function(se){ve(ie,se);function ie(me,ge){var ze=se.call(this,me,ge)||this;return ze.start=ge.start,ze.reversed=typeof ge.reversed=="boolean"&&ge.reversed===!0,ze}return ie}(ao),Iu=[{type:15,flags:0,unit:"px",number:3}],Fc=[{type:16,flags:0,number:50}],ec=function(se){return se.width>se.height?new Ge(se.left+(se.width-se.height)/2,se.top,se.height,se.height):se.width0)me.textNodes.push(new Xl(se,ze,me.styles));else if(Xn(ze))if(Ou(ze)&&ze.assignedNodes)ze.assignedNodes().forEach(function(Jt){return ll(se,Jt,me,ge)});else{var It=Uu(se,ze);It.styles.isVisible()&&(wt(ze,It,ge)?It.flags|=4:dn(It.styles)&&(It.flags|=2),rc.indexOf(ze.tagName)!==-1&&(It.flags|=8),me.elements.push(It),ze.slot,ze.shadowRoot?ll(se,ze.shadowRoot,It,ge):!Rs(ze)&&!si(ze)&&!fu(ze)&&ll(se,ze,It,ge))}},Uu=function(se,ie){return zA(ie)?new Ul(se,ie):AA(ie)?new Ys(se,ie):si(ie)?new Lu(se,ie):ba(ie)?new Jl(se,ie):no(ie)?new $u(se,ie):ko(ie)?new Du(se,ie):fu(ie)?new dc(se,ie):Rs(ie)?new gu(se,ie):TA(ie)?new ql(se,ie):new ao(se,ie)},Le=function(se,ie){var me=Uu(se,ie);return me.flags|=4,ll(se,ie,me,me),me},wt=function(se,ie,me){return ie.styles.isPositionedWithZIndex()||ie.styles.opacity<1||ie.styles.isTransformed()||Gi(se)&&me.styles.isTransparent()},dn=function(se){return se.isPositioned()||se.isFloating()},Un=function(se){return se.nodeType===Node.TEXT_NODE},Xn=function(se){return se.nodeType===Node.ELEMENT_NODE},Br=function(se){return Xn(se)&&typeof se.style!="undefined"&&!Kr(se)},Kr=function(se){return typeof se.className=="object"},ba=function(se){return se.tagName==="LI"},no=function(se){return se.tagName==="OL"},ko=function(se){return se.tagName==="INPUT"},Do=function(se){return se.tagName==="HTML"},si=function(se){return se.tagName==="svg"},Gi=function(se){return se.tagName==="BODY"},AA=function(se){return se.tagName==="CANVAS"},SA=function(se){return se.tagName==="VIDEO"},zA=function(se){return se.tagName==="IMG"},TA=function(se){return se.tagName==="IFRAME"},Xs=function(se){return se.tagName==="STYLE"},Hs=function(se){return se.tagName==="SCRIPT"},Rs=function(se){return se.tagName==="TEXTAREA"},fu=function(se){return se.tagName==="SELECT"},Ou=function(se){return se.tagName==="SLOT"},Qu=function(se){return se.tagName.indexOf("-")>0},Tu=function(){function se(){this.counters={}}return se.prototype.getCounterValue=function(ie){var me=this.counters[ie];return me&&me.length?me[me.length-1]:1},se.prototype.getCounterValues=function(ie){var me=this.counters[ie];return me||[]},se.prototype.pop=function(ie){var me=this;ie.forEach(function(ge){return me.counters[ge].pop()})},se.prototype.parse=function(ie){var me=this,ge=ie.counterIncrement,ze=ie.counterReset,at=!0;ge!==null&&ge.forEach(function(Jt){var qt=me.counters[Jt.counter];qt&&Jt.increment!==0&&(at=!1,qt.length||qt.push(1),qt[Math.max(0,qt.length-1)]+=Jt.increment)});var It=[];return at&&ze.forEach(function(Jt){var qt=me.counters[Jt.counter];It.push(Jt.counter),qt||(qt=me.counters[Jt.counter]=[]),qt.push(Jt.reset)}),It},se}(),ku={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ju={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Hu={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},YA={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},ul=function(se,ie,me,ge,ze,at){return seme?dl(se,ze,at.length>0):ge.integers.reduce(function(It,Jt,qt){for(;se>=Jt;)se-=Jt,It+=ge.values[qt];return It},"")+at},hu=function(se,ie,me,ge){var ze="";do me||se--,ze=ge(se)+ze,se/=ie;while(se*ie>=ie);return ze},ji=function(se,ie,me,ge,ze){var at=me-ie+1;return(se<0?"-":"")+(hu(Math.abs(se),at,ge,function(It){return Ne(Math.floor(It%at)+ie)})+ze)},cl=function(se,ie,me){me===void 0&&(me=". ");var ge=ie.length;return hu(Math.abs(se),ge,!1,function(ze){return ie[Math.floor(ze%ge)]})+me},kA=1,Sl=2,Js=4,$l=8,LA=function(se,ie,me,ge,ze,at){if(se<-9999||se>9999)return dl(se,4,ze.length>0);var It=Math.abs(se),Jt=ze;if(It===0)return ie[0]+Jt;for(var qt=0;It>0&&qt<=4;qt++){var On=It%10;On===0&&_r(at,kA)&&Jt!==""?Jt=ie[On]+Jt:On>1||On===1&&qt===0||On===1&&qt===1&&_r(at,Sl)||On===1&&qt===1&&_r(at,Js)&&se>100||On===1&&qt>1&&_r(at,$l)?Jt=ie[On]+(qt>0?me[qt-1]:"")+Jt:On===1&&qt>0&&(Jt=me[qt-1]+Jt),It=Math.floor(It/10)}return(se<0?ge:"")+Jt},mu="\u5341\u767E\u5343\u842C",ac="\u62FE\u4F70\u4EDF\u842C",oc="\u30DE\u30A4\u30CA\u30B9",yl="\uB9C8\uC774\uB108\uC2A4",dl=function(se,ie,me){var ge=me?". ":"",ze=me?"\u3001":"",at=me?", ":"",It=me?" ":"";switch(ie){case 0:return"\u2022"+It;case 1:return"\u25E6"+It;case 2:return"\u25FE"+It;case 5:var Jt=ji(se,48,57,!0,ge);return Jt.length<4?"0"+Jt:Jt;case 4:return cl(se,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",ze);case 6:return ul(se,1,3999,ku,3,ge).toLowerCase();case 7:return ul(se,1,3999,ku,3,ge);case 8:return ji(se,945,969,!1,ge);case 9:return ji(se,97,122,!1,ge);case 10:return ji(se,65,90,!1,ge);case 11:return ji(se,1632,1641,!0,ge);case 12:case 49:return ul(se,1,9999,ju,3,ge);case 35:return ul(se,1,9999,ju,3,ge).toLowerCase();case 13:return ji(se,2534,2543,!0,ge);case 14:case 30:return ji(se,6112,6121,!0,ge);case 15:return cl(se,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",ze);case 16:return cl(se,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",ze);case 17:case 48:return LA(se,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8CA0",ze,Sl|Js|$l);case 47:return LA(se,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",ac,"\u8CA0",ze,kA|Sl|Js|$l);case 42:return LA(se,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",mu,"\u8D1F",ze,Sl|Js|$l);case 41:return LA(se,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",ac,"\u8D1F",ze,kA|Sl|Js|$l);case 26:return LA(se,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",oc,ze,0);case 25:return LA(se,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",oc,ze,kA|Sl|Js);case 31:return LA(se,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",yl,at,kA|Sl|Js);case 33:return LA(se,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",yl,at,0);case 32:return LA(se,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",yl,at,kA|Sl|Js);case 18:return ji(se,2406,2415,!0,ge);case 20:return ul(se,1,19999,YA,3,ge);case 21:return ji(se,2790,2799,!0,ge);case 22:return ji(se,2662,2671,!0,ge);case 22:return ul(se,1,10999,Hu,3,ge);case 23:return cl(se,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return cl(se,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return ji(se,3302,3311,!0,ge);case 28:return cl(se,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",ze);case 29:return cl(se,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",ze);case 34:return ji(se,3792,3801,!0,ge);case 37:return ji(se,6160,6169,!0,ge);case 38:return ji(se,4160,4169,!0,ge);case 39:return ji(se,2918,2927,!0,ge);case 40:return ji(se,1776,1785,!0,ge);case 43:return ji(se,3046,3055,!0,ge);case 44:return ji(se,3174,3183,!0,ge);case 45:return ji(se,3664,3673,!0,ge);case 46:return ji(se,3872,3881,!0,ge);case 3:default:return ji(se,48,57,!0,ge)}},gs="data-html2canvas-ignore",is=function(){function se(ie,me,ge){if(this.context=ie,this.options=ge,this.scrolledElements=[],this.referenceElement=me,this.counters=new Tu,this.quoteDepth=0,!me.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(me.ownerDocument.documentElement,!1)}return se.prototype.toIFrame=function(ie,me){var ge=this,ze=Ql(ie,me);if(!ze.contentWindow)return Promise.reject("Unable to find iframe window");var at=ie.defaultView.pageXOffset,It=ie.defaultView.pageYOffset,Jt=ze.contentWindow,qt=Jt.document,On=kl(ze).then(function(){return we(ge,void 0,void 0,function(){var Wn,ee;return Me(this,function(ce){switch(ce.label){case 0:return this.scrolledElements.forEach(Mu),Jt&&(Jt.scrollTo(me.left,me.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Jt.scrollY!==me.top||Jt.scrollX!==me.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Jt.scrollX-me.left,Jt.scrollY-me.top,0,0))),Wn=this.options.onclone,ee=this.clonedReferenceElement,typeof ee=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:qt.fonts&&qt.fonts.ready?[4,qt.fonts.ready]:[3,2];case 1:ce.sent(),ce.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ru(qt)]:[3,4];case 3:ce.sent(),ce.label=4;case 4:return typeof Wn=="function"?[2,Promise.resolve().then(function(){return Wn(qt,ee)}).then(function(){return ze})]:[2,ze]}})})});return qt.open(),qt.write(fs(document.doctype)+""),$s(this.referenceElement.ownerDocument,at,It),qt.replaceChild(qt.adoptNode(this.documentElement),qt.documentElement),qt.close(),On},se.prototype.createElementClone=function(ie){if(Fo(ie,2))debugger;if(AA(ie))return this.createCanvasClone(ie);if(SA(ie))return this.createVideoClone(ie);if(Xs(ie))return this.createStyleClone(ie);var me=ie.cloneNode(!1);return zA(me)&&(zA(ie)&&ie.currentSrc&&ie.currentSrc!==ie.src&&(me.src=ie.currentSrc,me.srcset=""),me.loading==="lazy"&&(me.loading="eager")),Qu(me)?this.createCustomElementClone(me):me},se.prototype.createCustomElementClone=function(ie){var me=document.createElement("html2canvascustomelement");return pu(ie.style,me),me},se.prototype.createStyleClone=function(ie){try{var me=ie.sheet;if(me&&me.cssRules){var ge=[].slice.call(me.cssRules,0).reduce(function(at,It){return It&&typeof It.cssText=="string"?at+It.cssText:at},""),ze=ie.cloneNode(!1);return ze.textContent=ge,ze}}catch(at){if(this.context.logger.error("Unable to access cssRules property",at),at.name!=="SecurityError")throw at}return ie.cloneNode(!1)},se.prototype.createCanvasClone=function(ie){var me;if(this.options.inlineImages&&ie.ownerDocument){var ge=ie.ownerDocument.createElement("img");try{return ge.src=ie.toDataURL(),ge}catch(On){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",ie)}}var ze=ie.cloneNode(!1);try{ze.width=ie.width,ze.height=ie.height;var at=ie.getContext("2d"),It=ze.getContext("2d");if(It)if(!this.options.allowTaint&&at)It.putImageData(at.getImageData(0,0,ie.width,ie.height),0,0);else{var Jt=(me=ie.getContext("webgl2"))!==null&&me!==void 0?me:ie.getContext("webgl");if(Jt){var qt=Jt.getContextAttributes();(qt==null?void 0:qt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",ie)}It.drawImage(ie,0,0)}return ze}catch(On){this.context.logger.info("Unable to clone canvas as it is tainted",ie)}return ze},se.prototype.createVideoClone=function(ie){var me=ie.ownerDocument.createElement("canvas");me.width=ie.offsetWidth,me.height=ie.offsetHeight;var ge=me.getContext("2d");try{return ge&&(ge.drawImage(ie,0,0,me.width,me.height),this.options.allowTaint||ge.getImageData(0,0,me.width,me.height)),me}catch(at){this.context.logger.info("Unable to clone video as it is tainted",ie)}var ze=ie.ownerDocument.createElement("canvas");return ze.width=ie.offsetWidth,ze.height=ie.offsetHeight,ze},se.prototype.appendChildNode=function(ie,me,ge){(!Xn(me)||!Hs(me)&&!me.hasAttribute(gs)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(me)))&&(!this.options.copyStyles||!Xn(me)||!Xs(me))&&ie.appendChild(this.cloneNode(me,ge))},se.prototype.cloneChildNodes=function(ie,me,ge){for(var ze=this,at=ie.shadowRoot?ie.shadowRoot.firstChild:ie.firstChild;at;at=at.nextSibling)if(Xn(at)&&Ou(at)&&typeof at.assignedNodes=="function"){var It=at.assignedNodes();It.length&&It.forEach(function(Jt){return ze.appendChildNode(me,Jt,ge)})}else this.appendChildNode(me,at,ge)},se.prototype.cloneNode=function(ie,me){if(Un(ie))return document.createTextNode(ie.data);if(!ie.ownerDocument)return ie.cloneNode(!1);var ge=ie.ownerDocument.defaultView;if(ge&&Xn(ie)&&(Br(ie)||Kr(ie))){var ze=this.createElementClone(ie);ze.style.transitionProperty="none";var at=ge.getComputedStyle(ie),It=ge.getComputedStyle(ie,":before"),Jt=ge.getComputedStyle(ie,":after");this.referenceElement===ie&&Br(ze)&&(this.clonedReferenceElement=ze),Gi(ze)&&vu(ze);var qt=this.counters.parse(new Li(this.context,at)),On=this.resolvePseudoContent(ie,ze,It,qs.BEFORE);Qu(ie)&&(me=!0),SA(ie)||this.cloneChildNodes(ie,ze,me),On&&ze.insertBefore(On,ze.firstChild);var Wn=this.resolvePseudoContent(ie,ze,Jt,qs.AFTER);return Wn&&ze.appendChild(Wn),this.counters.pop(qt),(at&&(this.options.copyStyles||Kr(ie))&&!TA(ie)||me)&&pu(at,ze),(ie.scrollTop!==0||ie.scrollLeft!==0)&&this.scrolledElements.push([ze,ie.scrollLeft,ie.scrollTop]),(Rs(ie)||fu(ie))&&(Rs(ze)||fu(ze))&&(ze.value=ie.value),ze}return ie.cloneNode(!1)},se.prototype.resolvePseudoContent=function(ie,me,ge,ze){var at=this;if(ge){var It=ge.content,Jt=me.ownerDocument;if(!(!Jt||!It||It==="none"||It==="-moz-alt-content"||ge.display==="none")){this.counters.parse(new Li(this.context,ge));var qt=new di(this.context,ge),On=Jt.createElement("html2canvaspseudoelement");pu(ge,On),qt.content.forEach(function(ee){if(ee.type===0)On.appendChild(Jt.createTextNode(ee.value));else if(ee.type===22){var ce=Jt.createElement("img");ce.src=ee.value,ce.style.opacity="1",On.appendChild(ce)}else if(ee.type===18){if(ee.name==="attr"){var Ie=ee.values.filter(Na);Ie.length&&On.appendChild(Jt.createTextNode(ie.getAttribute(Ie[0].value)||""))}else if(ee.name==="counter"){var Ze=ee.values.filter(yi),ot=Ze[0],yt=Ze[1];if(ot&&Na(ot)){var mt=at.counters.getCounterValue(ot.value),Ct=yt&&Na(yt)?ct.parse(at.context,yt.value):3;On.appendChild(Jt.createTextNode(dl(mt,Ct,!1)))}}else if(ee.name==="counters"){var Ut=ee.values.filter(yi),ot=Ut[0],Gt=Ut[1],yt=Ut[2];if(ot&&Na(ot)){var hn=at.counters.getCounterValues(ot.value),Sn=yt&&Na(yt)?ct.parse(at.context,yt.value):3,Kn=Gt&&Gt.type===0?Gt.value:"",xn=hn.map(function(Ln){return dl(Ln,Sn,!1)}).join(Kn);On.appendChild(Jt.createTextNode(xn))}}}else if(ee.type===20)switch(ee.value){case"open-quote":On.appendChild(Jt.createTextNode(za(qt.quotes,at.quoteDepth++,!0)));break;case"close-quote":On.appendChild(Jt.createTextNode(za(qt.quotes,--at.quoteDepth,!1)));break;default:On.appendChild(Jt.createTextNode(ee.value))}}),On.className=jl+" "+Hl;var Wn=ze===qs.BEFORE?" "+jl:" "+Hl;return Kr(me)?me.className.baseValue+=Wn:me.className+=Wn,On}}},se.destroy=function(ie){return ie.parentNode?(ie.parentNode.removeChild(ie),!0):!1},se}(),qs;(function(se){se[se.BEFORE=0]="BEFORE",se[se.AFTER=1]="AFTER"})(qs||(qs={}));var Ql=function(se,ie){var me=se.createElement("iframe");return me.className="html2canvas-container",me.style.visibility="hidden",me.style.position="fixed",me.style.left="-10000px",me.style.top="0px",me.style.border="0",me.width=ie.width.toString(),me.height=ie.height.toString(),me.scrolling="no",me.setAttribute(gs,"true"),se.body.appendChild(me),me},Tl=function(se){return new Promise(function(ie){if(se.complete){ie();return}if(!se.src){ie();return}se.onload=ie,se.onerror=ie})},Ru=function(se){return Promise.all([].slice.call(se.images,0).map(Tl))},kl=function(se){return new Promise(function(ie,me){var ge=se.contentWindow;if(!ge)return me("No window assigned for iframe");var ze=ge.document;ge.onload=se.onload=function(){ge.onload=se.onload=null;var at=setInterval(function(){ze.body.childNodes.length>0&&ze.readyState==="complete"&&(clearInterval(at),ie(se))},50)}})},yA=["all","d","content"],pu=function(se,ie){for(var me=se.length-1;me>=0;me--){var ge=se.item(me);yA.indexOf(ge)===-1&&ie.style.setProperty(ge,se.getPropertyValue(ge))}return ie},fs=function(se){var ie="";return se&&(ie+=""),ie},$s=function(se,ie,me){se&&se.defaultView&&(ie!==se.defaultView.pageXOffset||me!==se.defaultView.pageYOffset)&&se.defaultView.scrollTo(ie,me)},Mu=function(se){var ie=se[0],me=se[1],ge=se[2];ie.scrollLeft=me,ie.scrollTop=ge},gc=":before",ic=":after",jl="___html2canvas___pseudoelement_before",Hl="___html2canvas___pseudoelement_after",Rl=`{ content: "" !important; display: none !important; }`,vu=function(se){Ku(se,"."+jl+gc+Rl+` .`+Hl+ic+Rl)},Ku=function(se,ie){var me=se.ownerDocument;if(me){var ge=me.createElement("style");ge.textContent=ie,se.appendChild(ge)}},eu=function(){function se(){}return se.getOrigin=function(ie){var me=se._link;return me?(me.href=ie,me.href=me.href,me.protocol+me.hostname+me.port):"about:blank"},se.isSameOrigin=function(ie){return se.getOrigin(ie)===se._origin},se.setContext=function(ie){se._link=ie.document.createElement("a"),se._origin=se.getOrigin(ie.location.href)},se._origin="about:blank",se}(),tu=function(){function se(ie,me){this.context=ie,this._options=me,this._cache={}}return se.prototype.addImage=function(ie){var me=Promise.resolve();return this.has(ie)||(CA(ie)||Hi(ie))&&(this._cache[ie]=this.loadImage(ie)).catch(function(){}),me},se.prototype.match=function(ie){return this._cache[ie]},se.prototype.loadImage=function(ie){return we(this,void 0,void 0,function(){var me,ge,ze,at,It=this;return Me(this,function(Jt){switch(Jt.label){case 0:return me=eu.isSameOrigin(ie),ge=!Ni(ie)&&this._options.useCORS===!0&&Yi.SUPPORT_CORS_IMAGES&&!me,ze=!Ni(ie)&&!me&&!CA(ie)&&typeof this._options.proxy=="string"&&Yi.SUPPORT_CORS_XHR&&!ge,!me&&this._options.allowTaint===!1&&!Ni(ie)&&!CA(ie)&&!ze&&!ge?[2]:(at=ie,ze?[4,this.proxy(at)]:[3,2]);case 1:at=Jt.sent(),Jt.label=2;case 2:return this.context.logger.debug("Added image "+ie.substring(0,256)),[4,new Promise(function(qt,On){var Wn=new Image;Wn.onload=function(){return qt(Wn)},Wn.onerror=On,(wA(at)||ge)&&(Wn.crossOrigin="anonymous"),Wn.src=at,Wn.complete===!0&&setTimeout(function(){return qt(Wn)},500),It._options.imageTimeout>0&&setTimeout(function(){return On("Timed out ("+It._options.imageTimeout+"ms) loading image")},It._options.imageTimeout)})];case 3:return[2,Jt.sent()]}})})},se.prototype.has=function(ie){return typeof this._cache[ie]!="undefined"},se.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},se.prototype.proxy=function(ie){var me=this,ge=this._options.proxy;if(!ge)throw new Error("No proxy defined");var ze=ie.substring(0,256);return new Promise(function(at,It){var Jt=Yi.SUPPORT_RESPONSE_TYPE?"blob":"text",qt=new XMLHttpRequest;qt.onload=function(){if(qt.status===200)if(Jt==="text")at(qt.response);else{var ee=new FileReader;ee.addEventListener("load",function(){return at(ee.result)},!1),ee.addEventListener("error",function(ce){return It(ce)},!1),ee.readAsDataURL(qt.response)}else It("Failed to proxy resource "+ze+" with status code "+qt.status)},qt.onerror=It;var On=ge.indexOf("?")>-1?"&":"?";if(qt.open("GET",""+ge+On+"url="+encodeURIComponent(ie)+"&responseType="+Jt),Jt!=="text"&&qt instanceof XMLHttpRequest&&(qt.responseType=Jt),me._options.imageTimeout){var Wn=me._options.imageTimeout;qt.timeout=Wn,qt.ontimeout=function(){return It("Timed out ("+Wn+"ms) proxying "+ze)}}qt.send()})},se}(),Ac=/^data:image\/svg\+xml/i,el=/^data:image\/.*;base64,/i,tl=/^data:image\/.*/i,Hi=function(se){return Yi.SUPPORT_SVG_DRAWING||!Ml(se)},Ni=function(se){return tl.test(se)},wA=function(se){return el.test(se)},CA=function(se){return se.substr(0,4)==="blob"},Ml=function(se){return se.substr(-3).toLowerCase()==="svg"||Ac.test(se)},pa=function(){function se(ie,me){this.type=0,this.x=ie,this.y=me}return se.prototype.add=function(ie,me){return new se(this.x+ie,this.y+me)},se}(),gl=function(se,ie,me){return new pa(se.x+(ie.x-se.x)*me,se.y+(ie.y-se.y)*me)},Bu=function(){function se(ie,me,ge,ze){this.type=1,this.start=ie,this.startControl=me,this.endControl=ge,this.end=ze}return se.prototype.subdivide=function(ie,me){var ge=gl(this.start,this.startControl,ie),ze=gl(this.startControl,this.endControl,ie),at=gl(this.endControl,this.end,ie),It=gl(ge,ze,ie),Jt=gl(ze,at,ie),qt=gl(It,Jt,ie);return me?new se(this.start,ge,It,qt):new se(qt,Jt,at,this.end)},se.prototype.add=function(ie,me){return new se(this.start.add(ie,me),this.startControl.add(ie,me),this.endControl.add(ie,me),this.end.add(ie,me))},se.prototype.reverse=function(){return new se(this.end,this.endControl,this.startControl,this.start)},se}(),Ps=function(se){return se.type===1},fc=function(){function se(ie){var me=ie.styles,ge=ie.bounds,ze=Ri(me.borderTopLeftRadius,ge.width,ge.height),at=ze[0],It=ze[1],Jt=Ri(me.borderTopRightRadius,ge.width,ge.height),qt=Jt[0],On=Jt[1],Wn=Ri(me.borderBottomRightRadius,ge.width,ge.height),ee=Wn[0],ce=Wn[1],Ie=Ri(me.borderBottomLeftRadius,ge.width,ge.height),Ze=Ie[0],ot=Ie[1],yt=[];yt.push((at+qt)/ge.width),yt.push((Ze+ee)/ge.width),yt.push((It+ot)/ge.height),yt.push((On+ce)/ge.height);var mt=Math.max.apply(Math,yt);mt>1&&(at/=mt,It/=mt,qt/=mt,On/=mt,ee/=mt,ce/=mt,Ze/=mt,ot/=mt);var Ct=ge.width-qt,Ut=ge.height-ce,Gt=ge.width-ee,hn=ge.height-ot,Sn=me.borderTopWidth,Kn=me.borderRightWidth,xn=me.borderBottomWidth,rr=me.borderLeftWidth,sr=Po(me.paddingTop,ie.bounds.width),Ln=Po(me.paddingRight,ie.bounds.width),Qn=Po(me.paddingBottom,ie.bounds.width),dr=Po(me.paddingLeft,ie.bounds.width);this.topLeftBorderDoubleOuterBox=at>0||It>0?li(ge.left+rr/3,ge.top+Sn/3,at-rr/3,It-Sn/3,jo.TOP_LEFT):new pa(ge.left+rr/3,ge.top+Sn/3),this.topRightBorderDoubleOuterBox=at>0||It>0?li(ge.left+Ct,ge.top+Sn/3,qt-Kn/3,On-Sn/3,jo.TOP_RIGHT):new pa(ge.left+ge.width-Kn/3,ge.top+Sn/3),this.bottomRightBorderDoubleOuterBox=ee>0||ce>0?li(ge.left+Gt,ge.top+Ut,ee-Kn/3,ce-xn/3,jo.BOTTOM_RIGHT):new pa(ge.left+ge.width-Kn/3,ge.top+ge.height-xn/3),this.bottomLeftBorderDoubleOuterBox=Ze>0||ot>0?li(ge.left+rr/3,ge.top+hn,Ze-rr/3,ot-xn/3,jo.BOTTOM_LEFT):new pa(ge.left+rr/3,ge.top+ge.height-xn/3),this.topLeftBorderDoubleInnerBox=at>0||It>0?li(ge.left+rr*2/3,ge.top+Sn*2/3,at-rr*2/3,It-Sn*2/3,jo.TOP_LEFT):new pa(ge.left+rr*2/3,ge.top+Sn*2/3),this.topRightBorderDoubleInnerBox=at>0||It>0?li(ge.left+Ct,ge.top+Sn*2/3,qt-Kn*2/3,On-Sn*2/3,jo.TOP_RIGHT):new pa(ge.left+ge.width-Kn*2/3,ge.top+Sn*2/3),this.bottomRightBorderDoubleInnerBox=ee>0||ce>0?li(ge.left+Gt,ge.top+Ut,ee-Kn*2/3,ce-xn*2/3,jo.BOTTOM_RIGHT):new pa(ge.left+ge.width-Kn*2/3,ge.top+ge.height-xn*2/3),this.bottomLeftBorderDoubleInnerBox=Ze>0||ot>0?li(ge.left+rr*2/3,ge.top+hn,Ze-rr*2/3,ot-xn*2/3,jo.BOTTOM_LEFT):new pa(ge.left+rr*2/3,ge.top+ge.height-xn*2/3),this.topLeftBorderStroke=at>0||It>0?li(ge.left+rr/2,ge.top+Sn/2,at-rr/2,It-Sn/2,jo.TOP_LEFT):new pa(ge.left+rr/2,ge.top+Sn/2),this.topRightBorderStroke=at>0||It>0?li(ge.left+Ct,ge.top+Sn/2,qt-Kn/2,On-Sn/2,jo.TOP_RIGHT):new pa(ge.left+ge.width-Kn/2,ge.top+Sn/2),this.bottomRightBorderStroke=ee>0||ce>0?li(ge.left+Gt,ge.top+Ut,ee-Kn/2,ce-xn/2,jo.BOTTOM_RIGHT):new pa(ge.left+ge.width-Kn/2,ge.top+ge.height-xn/2),this.bottomLeftBorderStroke=Ze>0||ot>0?li(ge.left+rr/2,ge.top+hn,Ze-rr/2,ot-xn/2,jo.BOTTOM_LEFT):new pa(ge.left+rr/2,ge.top+ge.height-xn/2),this.topLeftBorderBox=at>0||It>0?li(ge.left,ge.top,at,It,jo.TOP_LEFT):new pa(ge.left,ge.top),this.topRightBorderBox=qt>0||On>0?li(ge.left+Ct,ge.top,qt,On,jo.TOP_RIGHT):new pa(ge.left+ge.width,ge.top),this.bottomRightBorderBox=ee>0||ce>0?li(ge.left+Gt,ge.top+Ut,ee,ce,jo.BOTTOM_RIGHT):new pa(ge.left+ge.width,ge.top+ge.height),this.bottomLeftBorderBox=Ze>0||ot>0?li(ge.left,ge.top+hn,Ze,ot,jo.BOTTOM_LEFT):new pa(ge.left,ge.top+ge.height),this.topLeftPaddingBox=at>0||It>0?li(ge.left+rr,ge.top+Sn,Math.max(0,at-rr),Math.max(0,It-Sn),jo.TOP_LEFT):new pa(ge.left+rr,ge.top+Sn),this.topRightPaddingBox=qt>0||On>0?li(ge.left+Math.min(Ct,ge.width-Kn),ge.top+Sn,Ct>ge.width+Kn?0:Math.max(0,qt-Kn),Math.max(0,On-Sn),jo.TOP_RIGHT):new pa(ge.left+ge.width-Kn,ge.top+Sn),this.bottomRightPaddingBox=ee>0||ce>0?li(ge.left+Math.min(Gt,ge.width-rr),ge.top+Math.min(Ut,ge.height-xn),Math.max(0,ee-Kn),Math.max(0,ce-xn),jo.BOTTOM_RIGHT):new pa(ge.left+ge.width-Kn,ge.top+ge.height-xn),this.bottomLeftPaddingBox=Ze>0||ot>0?li(ge.left+rr,ge.top+Math.min(hn,ge.height-xn),Math.max(0,Ze-rr),Math.max(0,ot-xn),jo.BOTTOM_LEFT):new pa(ge.left+rr,ge.top+ge.height-xn),this.topLeftContentBox=at>0||It>0?li(ge.left+rr+dr,ge.top+Sn+sr,Math.max(0,at-(rr+dr)),Math.max(0,It-(Sn+sr)),jo.TOP_LEFT):new pa(ge.left+rr+dr,ge.top+Sn+sr),this.topRightContentBox=qt>0||On>0?li(ge.left+Math.min(Ct,ge.width+rr+dr),ge.top+Sn+sr,Ct>ge.width+rr+dr?0:qt-rr+dr,On-(Sn+sr),jo.TOP_RIGHT):new pa(ge.left+ge.width-(Kn+Ln),ge.top+Sn+sr),this.bottomRightContentBox=ee>0||ce>0?li(ge.left+Math.min(Gt,ge.width-(rr+dr)),ge.top+Math.min(Ut,ge.height+Sn+sr),Math.max(0,ee-(Kn+Ln)),ce-(xn+Qn),jo.BOTTOM_RIGHT):new pa(ge.left+ge.width-(Kn+Ln),ge.top+ge.height-(xn+Qn)),this.bottomLeftContentBox=Ze>0||ot>0?li(ge.left+rr+dr,ge.top+hn,Math.max(0,Ze-(rr+dr)),ot-(xn+Qn),jo.BOTTOM_LEFT):new pa(ge.left+rr+dr,ge.top+ge.height-(xn+Qn))}return se}(),jo;(function(se){se[se.TOP_LEFT=0]="TOP_LEFT",se[se.TOP_RIGHT=1]="TOP_RIGHT",se[se.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",se[se.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(jo||(jo={}));var li=function(se,ie,me,ge,ze){var at=4*((Math.sqrt(2)-1)/3),It=me*at,Jt=ge*at,qt=se+me,On=ie+ge;switch(ze){case jo.TOP_LEFT:return new Bu(new pa(se,On),new pa(se,On-Jt),new pa(qt-It,ie),new pa(qt,ie));case jo.TOP_RIGHT:return new Bu(new pa(se,ie),new pa(se+It,ie),new pa(qt,On-Jt),new pa(qt,On));case jo.BOTTOM_RIGHT:return new Bu(new pa(qt,ie),new pa(qt,ie+Jt),new pa(se+It,On),new pa(se,On));case jo.BOTTOM_LEFT:default:return new Bu(new pa(qt,On),new pa(qt-It,On),new pa(se,ie+Jt),new pa(se,ie))}},Su=function(se){return[se.topLeftBorderBox,se.topRightBorderBox,se.bottomRightBorderBox,se.bottomLeftBorderBox]},hc=function(se){return[se.topLeftContentBox,se.topRightContentBox,se.bottomRightContentBox,se.bottomLeftContentBox]},sc=function(se){return[se.topLeftPaddingBox,se.topRightPaddingBox,se.bottomRightPaddingBox,se.bottomLeftPaddingBox]},mc=function(){function se(ie,me,ge){this.offsetX=ie,this.offsetY=me,this.matrix=ge,this.type=0,this.target=6}return se}(),yu=function(){function se(ie,me){this.path=ie,this.target=me,this.type=1}return se}(),xc=function(){function se(ie){this.opacity=ie,this.type=2,this.target=6}return se}(),Hc=function(se){return se.type===0},pc=function(se){return se.type===1},Lc=function(se){return se.type===2},lc=function(se,ie){return se.length===ie.length?se.some(function(me,ge){return me===ie[ge]}):!1},Ic=function(se,ie,me,ge,ze){return se.map(function(at,It){switch(It){case 0:return at.add(ie,me);case 1:return at.add(ie+ge,me);case 2:return at.add(ie+ge,me+ze);case 3:return at.add(ie,me+ze)}return at})},Rc=function(){function se(ie){this.element=ie,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return se}(),Mc=function(){function se(ie,me){if(this.container=ie,this.parent=me,this.effects=[],this.curves=new fc(this.container),this.container.styles.opacity<1&&this.effects.push(new xc(this.container.styles.opacity)),this.container.styles.transform!==null){var ge=this.container.bounds.left+this.container.styles.transformOrigin[0].number,ze=this.container.bounds.top+this.container.styles.transformOrigin[1].number,at=this.container.styles.transform;this.effects.push(new mc(ge,ze,at))}if(this.container.styles.overflowX!==0){var It=Su(this.curves),Jt=sc(this.curves);lc(It,Jt)?this.effects.push(new yu(It,6)):(this.effects.push(new yu(It,2)),this.effects.push(new yu(Jt,4)))}}return se.prototype.getEffects=function(ie){for(var me=[2,3].indexOf(this.container.styles.position)===-1,ge=this.parent,ze=this.effects.slice(0);ge;){var at=ge.effects.filter(function(qt){return!pc(qt)});if(me||ge.container.styles.position!==0||!ge.parent){if(ze.unshift.apply(ze,at),me=[2,3].indexOf(ge.container.styles.position)===-1,ge.container.styles.overflowX!==0){var It=Su(ge.curves),Jt=sc(ge.curves);lc(It,Jt)||ze.unshift(new yu(Jt,6))}}else ze.unshift.apply(ze,at);ge=ge.parent}return ze.filter(function(qt){return _r(qt.target,ie)})},se}(),vc=function(se,ie,me,ge){se.container.elements.forEach(function(ze){var at=_r(ze.flags,4),It=_r(ze.flags,2),Jt=new Mc(ze,se);_r(ze.styles.display,2048)&&ge.push(Jt);var qt=_r(ze.flags,8)?[]:ge;if(at||It){var On=at||ze.styles.isPositioned()?me:ie,Wn=new Rc(Jt);if(ze.styles.isPositioned()||ze.styles.opacity<1||ze.styles.isTransformed()){var ee=ze.styles.zIndex.order;if(ee<0){var ce=0;On.negativeZIndex.some(function(Ze,ot){return ee>Ze.element.container.styles.zIndex.order?(ce=ot,!1):ce>0}),On.negativeZIndex.splice(ce,0,Wn)}else if(ee>0){var Ie=0;On.positiveZIndex.some(function(Ze,ot){return ee>=Ze.element.container.styles.zIndex.order?(Ie=ot+1,!1):Ie>0}),On.positiveZIndex.splice(Ie,0,Wn)}else On.zeroOrAutoZIndexOrTransformedOrOpacity.push(Wn)}else ze.styles.isFloating()?On.nonPositionedFloats.push(Wn):On.nonPositionedInlineLevel.push(Wn);vc(Jt,Wn,at?Wn:me,qt)}else ze.styles.isInlineLevel()?ie.inlineLevel.push(Jt):ie.nonInlineLevel.push(Jt),vc(Jt,ie,me,qt);_r(ze.flags,8)&&Kc(ze,qt)})},Kc=function(se,ie){for(var me=se instanceof $u?se.start:1,ge=se instanceof $u?se.reversed:!1,ze=0;ze0&&me.intrinsicHeight>0){var at=Bc(me),It=sc(ge);this.path(It),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(ze,0,0,me.intrinsicWidth,me.intrinsicHeight,at.left,at.top,at.width,at.height),this.ctx.restore()}},ie.prototype.renderNodeContent=function(me){return we(this,void 0,void 0,function(){var ge,ze,at,It,Jt,qt,Ct,Ct,On,Wn,ee,ce,Gt,Ie,Ze,hn,ot,yt,mt,Ct,Ut,Gt,hn;return Me(this,function(Sn){switch(Sn.label){case 0:this.applyEffects(me.getEffects(4)),ge=me.container,ze=me.curves,at=ge.styles,It=0,Jt=ge.textNodes,Sn.label=1;case 1:return It0&&Pr>0&&(xn=at.ctx.createPattern(hn,"repeat"),at.renderRepeat(sr,xn,ca,ra))):Vi(Wn)&&(rr=Dc(me,ge,[null,null,null]),sr=rr[0],Ln=rr[1],Qn=rr[2],dr=rr[3],Pr=rr[4],Fr=Wn.position.length===0?[vi]:Wn.position,ca=Po(Fr[0],dr),ra=Po(Fr[Fr.length-1],Pr),$a=Ir(Wn,ca,ra,dr,Pr),la=$a[0],Yo=$a[1],la>0&&Yo>0&&(ui=at.ctx.createRadialGradient(Ln+ca,Qn+ra,0,Ln+ca,Qn+ra,la),Pl(Wn.stops,la*2).forEach(function(Xi){return ui.addColorStop(Xi.stop,ci(Xi.color))}),at.path(sr),at.ctx.fillStyle=ui,la!==Yo?(Zo=me.bounds.left+.5*me.bounds.width,Uo=me.bounds.top+.5*me.bounds.height,fi=Yo/la,ri=1/fi,at.ctx.save(),at.ctx.translate(Zo,Uo),at.ctx.transform(1,0,0,fi,0,0),at.ctx.translate(-Zo,-Uo),at.ctx.fillRect(Ln,ri*(Qn-Uo)+Uo,dr,Pr*ri),at.ctx.restore()):at.ctx.fill())),So.label=6;case 6:return ge--,[2]}})},at=this,It=0,Jt=me.styles.backgroundImage.slice(0).reverse(),On.label=1;case 1:return It0?Wn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Wn.color,Wn.width,Jt,me.curves,2)]:[3,11]):[3,13];case 4:return ce.sent(),[3,11];case 5:return Wn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Wn.color,Wn.width,Jt,me.curves,3)];case 6:return ce.sent(),[3,11];case 7:return Wn.style!==4?[3,9]:[4,this.renderDoubleBorder(Wn.color,Wn.width,Jt,me.curves)];case 8:return ce.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Wn.color,Jt,me.curves)];case 10:ce.sent(),ce.label=11;case 11:Jt++,ce.label=12;case 12:return qt++,[3,3];case 13:return[2]}})})},ie.prototype.renderDashedDottedBorder=function(me,ge,ze,at,It){return we(this,void 0,void 0,function(){var Jt,qt,On,Wn,ee,ce,Ie,Ze,ot,yt,mt,Ct,Ut,Gt,hn,Sn,hn,Sn;return Me(this,function(Kn){return this.ctx.save(),Jt=Nc(at,ze),qt=zc(at,ze),It===2&&(this.path(qt),this.ctx.clip()),Ps(qt[0])?(On=qt[0].start.x,Wn=qt[0].start.y):(On=qt[0].x,Wn=qt[0].y),Ps(qt[1])?(ee=qt[1].end.x,ce=qt[1].end.y):(ee=qt[1].x,ce=qt[1].y),ze===0||ze===2?Ie=Math.abs(On-ee):Ie=Math.abs(Wn-ce),this.ctx.beginPath(),It===3?this.formatPath(Jt):this.formatPath(qt.slice(0,2)),Ze=ge<3?ge*3:ge*2,ot=ge<3?ge*2:ge,It===3&&(Ze=ge,ot=ge),yt=!0,Ie<=Ze*2?yt=!1:Ie<=Ze*2+ot?(mt=Ie/(2*Ze+ot),Ze*=mt,ot*=mt):(Ct=Math.floor((Ie+ot)/(Ze+ot)),Ut=(Ie-Ct*Ze)/(Ct-1),Gt=(Ie-(Ct+1)*Ze)/Ct,ot=Gt<=0||Math.abs(ot-Ut)Dt){var xt=gt;gt=Dt,Dt=xt}}else if(tt==="l"||tt==="landscape"){if(tt="l",Dt>gt){var xt=gt;gt=Dt,Dt=xt}}else throw"Invalid orientation: "+tt;var ft={width:gt,height:Dt,unit:ke,k:At};return ft},Ne.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(Be,Ne,ue){"use strict";ue.r(Ne);var Oe=ue("./node_modules/core-js/modules/es.array.concat.js"),Pe=ue.n(Oe),be=ue("./node_modules/core-js/modules/es.array.slice.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.array.join.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.object.keys.js"),z=ue.n(x),ne=ue("./src/worker.js"),le=ue("./src/utils.js"),xe={toContainer:ne.default.prototype.toContainer};ne.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ne.default.prototype.toContainer=function(){return xe.toContainer.call(this).then(function(){var We=this.prop.container,Ve=this.prop.pageSize.inner.px.height,tt=[].concat(this.opt.pagebreak.mode),ke={avoidAll:tt.indexOf("avoid-all")!==-1,css:tt.indexOf("css")!==-1,legacy:tt.indexOf("legacy")!==-1},Ft={},Te=this;["before","after","avoid"].forEach(function(At){var Dt=ke.avoidAll&&At==="avoid";Ft[At]=Dt?[]:[].concat(Te.opt.pagebreak[At]||[]),Ft[At].length>0&&(Ft[At]=Array.prototype.slice.call(We.querySelectorAll(Ft[At].join(", "))))});var kt=We.querySelectorAll(".html2pdf__page-break");kt=Array.prototype.slice.call(kt);var st=We.querySelectorAll("*");Array.prototype.forEach.call(st,function(Dt){var gt={before:!1,after:ke.legacy&&kt.indexOf(Dt)!==-1,avoid:ke.avoidAll};if(ke.css){var xt=window.getComputedStyle(Dt),ft=["always","page","left","right"],it=["avoid","avoid-page"];gt={before:gt.before||ft.indexOf(xt.breakBefore||xt.pageBreakBefore)!==-1,after:gt.after||ft.indexOf(xt.breakAfter||xt.pageBreakAfter)!==-1,avoid:gt.avoid||it.indexOf(xt.breakInside||xt.pageBreakInside)!==-1}}Object.keys(gt).forEach(function(Hn){gt[Hn]=gt[Hn]||Ft[Hn].indexOf(Dt)!==-1});var en=Dt.getBoundingClientRect();if(gt.avoid&&!gt.before){var rn=Math.floor(en.top/Ve),Pt=Math.floor(en.bottom/Ve),Zt=Math.abs(en.bottom-en.top)/Ve;Pt!==rn&&Zt<=1&&(gt.before=!0)}if(gt.before){var En=(0,le.createElement)("div",{style:{display:"block",height:Ve-en.top%Ve+"px"}});Dt.parentNode.insertBefore(En,Dt)}if(gt.after){var En=(0,le.createElement)("div",{style:{display:"block",height:Ve-en.bottom%Ve+"px"}});Dt.parentNode.insertBefore(En,Dt.nextSibling)}})})}},"./src/utils.js":function(Be,Ne,ue){"use strict";ue.r(Ne),ue.d(Ne,{objType:function(){return tt},createElement:function(){return ke},cloneNode:function(){return Ft},unitConvert:function(){return Te},toPx:function(){return kt}});var Oe=ue("./node_modules/core-js/modules/es.number.constructor.js"),Pe=ue.n(Oe),be=ue("./node_modules/core-js/modules/es.symbol.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.symbol.description.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/es.object.to-string.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.symbol.iterator.js"),z=ue.n(x),ne=ue("./node_modules/core-js/modules/es.array.iterator.js"),le=ue.n(ne),xe=ue("./node_modules/core-js/modules/es.string.iterator.js"),Ee=ue.n(xe),Qe=ue("./node_modules/core-js/modules/web.dom-collections.iterator.js"),We=ue.n(Qe);function Ve(st){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ve=function(Dt){return typeof Dt}:Ve=function(Dt){return Dt&&typeof Symbol=="function"&&Dt.constructor===Symbol&&Dt!==Symbol.prototype?"symbol":typeof Dt},Ve(st)}var tt=function(At){var Dt=Ve(At);return Dt==="undefined"?"undefined":Dt==="string"||At instanceof String?"string":Dt==="number"||At instanceof Number?"number":Dt==="function"||At instanceof Function?"function":At&&At.constructor===Array?"array":At&&At.nodeType===1?"element":Dt==="object"?"object":"unknown"},ke=function(At,Dt){var gt=document.createElement(At);if(Dt.className&&(gt.className=Dt.className),Dt.innerHTML){gt.innerHTML=Dt.innerHTML;for(var xt=gt.getElementsByTagName("script"),ft=xt.length;ft-- >0;null)xt[ft].parentNode.removeChild(xt[ft])}for(var it in Dt.style)gt.style[it]=Dt.style[it];return gt},Ft=function st(At,Dt){for(var gt=At.nodeType===3?document.createTextNode(At.nodeValue):At.cloneNode(!1),xt=At.firstChild;xt;xt=xt.nextSibling)(Dt===!0||xt.nodeType!==1||xt.nodeName!=="SCRIPT")&>.appendChild(st(xt,Dt));return At.nodeType===1&&(At.nodeName==="CANVAS"?(gt.width=At.width,gt.height=At.height,gt.getContext("2d").drawImage(At,0,0)):(At.nodeName==="TEXTAREA"||At.nodeName==="SELECT")&&(gt.value=At.value),gt.addEventListener("load",function(){gt.scrollTop=At.scrollTop,gt.scrollLeft=At.scrollLeft},!0)),gt},Te=function(At,Dt){if(tt(At)==="number")return At*72/96/Dt;var gt={};for(var xt in At)gt[xt]=At[xt]*72/96/Dt;return gt},kt=function(At,Dt){return Math.floor(At*Dt/72*96)}},"./src/worker.js":function(Be,Ne,ue){"use strict";ue.r(Ne);var Oe=ue("./node_modules/core-js/modules/es.object.assign.js"),Pe=ue.n(Oe),be=ue("./node_modules/core-js/modules/es.array.map.js"),oe=ue.n(be),y=ue("./node_modules/core-js/modules/es.object.keys.js"),a=ue.n(y),E=ue("./node_modules/core-js/modules/es.array.concat.js"),b=ue.n(E),x=ue("./node_modules/core-js/modules/es.object.to-string.js"),z=ue.n(x),ne=ue("./node_modules/core-js/modules/es.regexp.to-string.js"),le=ue.n(ne),xe=ue("./node_modules/core-js/modules/es.function.name.js"),Ee=ue.n(xe),Qe=ue("./node_modules/core-js/modules/web.dom-collections.for-each.js"),We=ue.n(Qe),Ve=ue("jspdf"),tt=ue.n(Ve),ke=ue("html2canvas"),Ft=ue.n(ke),Te=ue("./src/utils.js"),kt=ue("./node_modules/es6-promise/dist/es6-promise.js"),st=ue.n(kt),At=st().Promise,Dt=function gt(xt){var ft=Object.assign(gt.convert(At.resolve()),JSON.parse(JSON.stringify(gt.template))),it=gt.convert(At.resolve(),ft);return it=it.setProgress(1,gt,1,[gt]),it=it.set(xt),it};Dt.prototype=Object.create(At.prototype),Dt.prototype.constructor=Dt,Dt.convert=function(xt,ft){return xt.__proto__=ft||Dt.prototype,xt},Dt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},Dt.prototype.from=function(xt,ft){function it(en){switch((0,Te.objType)(en)){case"string":return"string";case"element":return en.nodeName.toLowerCase&&en.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ft=ft||it(xt),ft){case"string":return this.set({src:(0,Te.createElement)("div",{innerHTML:xt})});case"element":return this.set({src:xt});case"canvas":return this.set({canvas:xt});case"img":return this.set({img:xt});default:return this.error("Unknown source type.")}})},Dt.prototype.to=function(xt){switch(xt){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},Dt.prototype.toContainer=function(){var xt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(xt).then(function(){var it={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},en={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};it.opacity=0;var rn=(0,Te.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Te.createElement)("div",{className:"html2pdf__overlay",style:it}),this.prop.container=(0,Te.createElement)("div",{className:"html2pdf__container",style:en}),this.prop.container.appendChild(rn),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Dt.prototype.toCanvas=function(){var xt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(xt).then(function(){var it=Object.assign({},this.opt.html2canvas);return delete it.onrendered,ke(this.prop.container,it)}).then(function(it){var en=this.opt.html2canvas.onrendered||function(){};en(it),this.prop.canvas=it,document.body.removeChild(this.prop.overlay)})},Dt.prototype.toImg=function(){var xt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(xt).then(function(){var it=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=it})},Dt.prototype.toPdf=function(){var xt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(xt).then(function(){var it=this.prop.canvas,en=this.opt,rn=it.height,Pt=Math.floor(it.width*this.prop.pageSize.inner.ratio),Zt=Math.ceil(rn/Pt),En=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),mn=Hn.getContext("2d");Hn.width=it.width,Hn.height=Pt,this.prop.pdf=this.prop.pdf||new Ve.jsPDF(en.jsPDF);for(var Gn=0;Gn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-indexed-object.js"),Pe=ue("./node_modules/core-js/internals/to-length.js"),be=ue("./node_modules/core-js/internals/to-absolute-index.js"),oe=function(y){return function(a,E,b){var x=Oe(a),z=Pe(x.length),ne=be(b,z),le;if(y&&E!=E){for(;z>ne;)if(le=x[ne++],le!=le)return!0}else for(;z>ne;ne++)if((y||ne in x)&&x[ne]===E)return y||ne||0;return!y&&-1}};Be.exports={includes:oe(!0),indexOf:oe(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/function-bind-context.js"),Pe=ue("./node_modules/core-js/internals/indexed-object.js"),be=ue("./node_modules/core-js/internals/to-object.js"),oe=ue("./node_modules/core-js/internals/to-length.js"),y=ue("./node_modules/core-js/internals/array-species-create.js"),a=[].push,E=function(b){var x=b==1,z=b==2,ne=b==3,le=b==4,xe=b==6,Ee=b==7,Qe=b==5||xe;return function(We,Ve,tt,ke){for(var Ft=be(We),Te=Pe(Ft),kt=Oe(Ve,tt,3),st=oe(Te.length),At=0,Dt=ke||y,gt=x?Dt(We,st):z||Ee?Dt(We,0):void 0,xt,ft;st>At;At++)if((Qe||At in Te)&&(xt=Te[At],ft=kt(xt,At,Ft),b))if(x)gt[At]=ft;else if(ft)switch(b){case 3:return!0;case 5:return xt;case 6:return At;case 2:a.call(gt,xt)}else switch(b){case 4:return!1;case 7:a.call(gt,xt)}return xe?-1:ne||le?le:gt}};Be.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/fails.js"),Pe=ue("./node_modules/core-js/internals/well-known-symbol.js"),be=ue("./node_modules/core-js/internals/engine-v8-version.js"),oe=Pe("species");Be.exports=function(y){return be>=51||!Oe(function(){var a=[],E=a.constructor={};return E[oe]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/fails.js");Be.exports=function(Pe,be){var oe=[][Pe];return!!oe&&Oe(function(){oe.call(null,be||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-object.js"),Pe=ue("./node_modules/core-js/internals/is-array.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("species");Be.exports=function(y){var a;return Pe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Pe(a.prototype))?a=void 0:Oe(a)&&(a=a[oe],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/array-species-constructor.js");Be.exports=function(Pe,be){return new(Oe(Pe))(be===0?0:be)}},"./node_modules/core-js/internals/classof-raw.js":function(Be){var Ne={}.toString;Be.exports=function(ue){return Ne.call(ue).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=ue("./node_modules/core-js/internals/classof-raw.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag"),y=Pe(function(){return arguments}())=="Arguments",a=function(E,b){try{return E[b]}catch(x){}};Be.exports=Oe?Pe:function(E){var b,x,z;return E===void 0?"Undefined":E===null?"Null":typeof(x=a(b=Object(E),oe))=="string"?x:y?Pe(b):(z=Pe(b))=="Object"&&typeof b.callee=="function"?"Arguments":z}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/has.js"),Pe=ue("./node_modules/core-js/internals/own-keys.js"),be=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/object-define-property.js");Be.exports=function(y,a){for(var E=Pe(a),b=oe.f,x=be.f,z=0;z"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Pe=ue("./node_modules/core-js/internals/object-create.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/set-to-string-tag.js"),y=ue("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Be.exports=function(E,b,x){var z=b+" Iterator";return E.prototype=Pe(Oe,{next:be(1,x)}),oe(E,z,!1,!0),y[z]=a,E}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=Oe?function(oe,y,a){return Pe.f(oe,y,be(1,a))}:function(oe,y,a){return oe[y]=a,oe}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Be){Be.exports=function(Ne,ue){return{enumerable:!(Ne&1),configurable:!(Ne&2),writable:!(Ne&4),value:ue}}},"./node_modules/core-js/internals/create-property.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/to-property-key.js"),Pe=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js");Be.exports=function(oe,y,a){var E=Oe(y);E in oe?Pe.f(oe,E,be(0,a)):oe[E]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/create-iterator-constructor.js"),be=ue("./node_modules/core-js/internals/object-get-prototype-of.js"),oe=ue("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ue("./node_modules/core-js/internals/set-to-string-tag.js"),a=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=ue("./node_modules/core-js/internals/redefine.js"),b=ue("./node_modules/core-js/internals/well-known-symbol.js"),x=ue("./node_modules/core-js/internals/is-pure.js"),z=ue("./node_modules/core-js/internals/iterators.js"),ne=ue("./node_modules/core-js/internals/iterators-core.js"),le=ne.IteratorPrototype,xe=ne.BUGGY_SAFARI_ITERATORS,Ee=b("iterator"),Qe="keys",We="values",Ve="entries",tt=function(){return this};Be.exports=function(ke,Ft,Te,kt,st,At,Dt){Pe(Te,Ft,kt);var gt=function(mn){if(mn===st&&rn)return rn;if(!xe&&mn in it)return it[mn];switch(mn){case Qe:return function(){return new Te(this,mn)};case We:return function(){return new Te(this,mn)};case Ve:return function(){return new Te(this,mn)}}return function(){return new Te(this)}},xt=Ft+" Iterator",ft=!1,it=ke.prototype,en=it[Ee]||it["@@iterator"]||st&&it[st],rn=!xe&&en||gt(st),Pt=Ft=="Array"&&it.entries||en,Zt,En,Hn;if(Pt&&(Zt=be(Pt.call(new ke)),le!==Object.prototype&&Zt.next&&(!x&&be(Zt)!==le&&(oe?oe(Zt,le):typeof Zt[Ee]!="function"&&a(Zt,Ee,tt)),y(Zt,xt,!0,!0),x&&(z[xt]=tt))),st==We&&en&&en.name!==We&&(ft=!0,rn=function(){return en.call(this)}),(!x||Dt)&&it[Ee]!==rn&&a(it,Ee,rn),z[Ft]=rn,st)if(En={values:gt(We),keys:At?rn:gt(Qe),entries:gt(Ve)},Dt)for(Hn in En)(xe||ft||!(Hn in it))&&E(it,Hn,En[Hn]);else Oe({target:Ft,proto:!0,forced:xe||ft},En);return En}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/path.js"),Pe=ue("./node_modules/core-js/internals/has.js"),be=ue("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),oe=ue("./node_modules/core-js/internals/object-define-property.js").f;Be.exports=function(y){var a=Oe.Symbol||(Oe.Symbol={});Pe(a,y)||oe(a,y,{value:be.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/fails.js");Be.exports=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/is-object.js"),be=Oe.document,oe=Pe(be)&&Pe(be.createElement);Be.exports=function(y){return oe?be.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Be){Be.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/get-built-in.js");Be.exports=Oe("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/engine-user-agent.js"),be=Oe.process,oe=Oe.Deno,y=be&&be.versions||oe&&oe.version,a=y&&y.v8,E,b;a?(E=a.split("."),b=E[0]<4?1:E[0]+E[1]):Pe&&(E=Pe.match(/Edge\/(\d+)/),(!E||E[1]>=74)&&(E=Pe.match(/Chrome\/(\d+)/),E&&(b=E[1]))),Be.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(Be){Be.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,be=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ue("./node_modules/core-js/internals/redefine.js"),y=ue("./node_modules/core-js/internals/set-global.js"),a=ue("./node_modules/core-js/internals/copy-constructor-properties.js"),E=ue("./node_modules/core-js/internals/is-forced.js");Be.exports=function(b,x){var z=b.target,ne=b.global,le=b.stat,xe,Ee,Qe,We,Ve,tt;if(ne?Ee=Oe:le?Ee=Oe[z]||y(z,{}):Ee=(Oe[z]||{}).prototype,Ee)for(Qe in x){if(Ve=x[Qe],b.noTargetGet?(tt=Pe(Ee,Qe),We=tt&&tt.value):We=Ee[Qe],xe=E(ne?Qe:z+(le?".":"#")+Qe,b.forced),!xe&&We!==void 0){if(typeof Ve==typeof We)continue;a(Ve,We)}(b.sham||We&&We.sham)&&be(Ve,"sham",!0),oe(Ee,Qe,Ve,b)}}},"./node_modules/core-js/internals/fails.js":function(Be){Be.exports=function(Ne){try{return!!Ne()}catch(ue){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/a-function.js");Be.exports=function(Pe,be,oe){if(Oe(Pe),be===void 0)return Pe;switch(oe){case 0:return function(){return Pe.call(be)};case 1:return function(y){return Pe.call(be,y)};case 2:return function(y,a){return Pe.call(be,y,a)};case 3:return function(y,a,E){return Pe.call(be,y,a,E)}}return function(){return Pe.apply(be,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=function(be){return typeof be=="function"?be:void 0};Be.exports=function(be,oe){return arguments.length<2?Pe(Oe[be]):Oe[be]&&Oe[be][oe]}},"./node_modules/core-js/internals/global.js":function(Be){var Ne=function(ue){return ue&&ue.Math==Math&&ue};Be.exports=Ne(typeof globalThis=="object"&&globalThis)||Ne(typeof window=="object"&&window)||Ne(typeof self=="object"&&self)||Ne(typeof ve.g=="object"&&ve.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-object.js"),Pe={}.hasOwnProperty;Be.exports=Object.hasOwn||function(oe,y){return Pe.call(Oe(oe),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/html.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/get-built-in.js");Be.exports=Oe("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/document-create-element.js");Be.exports=!Oe&&!Pe(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/fails.js"),Pe=ue("./node_modules/core-js/internals/classof-raw.js"),be="".split;Be.exports=Oe(function(){return!Object("z").propertyIsEnumerable(0)})?function(oe){return Pe(oe)=="String"?be.call(oe,""):Object(oe)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-object.js"),Pe=ue("./node_modules/core-js/internals/object-set-prototype-of.js");Be.exports=function(be,oe,y){var a,E;return Pe&&typeof(a=oe.constructor)=="function"&&a!==y&&Oe(E=a.prototype)&&E!==y.prototype&&Pe(be,E),be}},"./node_modules/core-js/internals/inspect-source.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/shared-store.js"),Pe=Function.toString;typeof Oe.inspectSource!="function"&&(Oe.inspectSource=function(be){return Pe.call(be)}),Be.exports=Oe.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/native-weak-map.js"),Pe=ue("./node_modules/core-js/internals/global.js"),be=ue("./node_modules/core-js/internals/is-object.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ue("./node_modules/core-js/internals/has.js"),a=ue("./node_modules/core-js/internals/shared-store.js"),E=ue("./node_modules/core-js/internals/shared-key.js"),b=ue("./node_modules/core-js/internals/hidden-keys.js"),x="Object already initialized",z=Pe.WeakMap,ne,le,xe,Ee=function(Te){return xe(Te)?le(Te):ne(Te,{})},Qe=function(Te){return function(kt){var st;if(!be(kt)||(st=le(kt)).type!==Te)throw TypeError("Incompatible receiver, "+Te+" required");return st}};if(Oe||a.state){var We=a.state||(a.state=new z),Ve=We.get,tt=We.has,ke=We.set;ne=function(Te,kt){if(tt.call(We,Te))throw new TypeError(x);return kt.facade=Te,ke.call(We,Te,kt),kt},le=function(Te){return Ve.call(We,Te)||{}},xe=function(Te){return tt.call(We,Te)}}else{var Ft=E("state");b[Ft]=!0,ne=function(Te,kt){if(y(Te,Ft))throw new TypeError(x);return kt.facade=Te,oe(Te,Ft,kt),kt},le=function(Te){return y(Te,Ft)?Te[Ft]:{}},xe=function(Te){return y(Te,Ft)}}Be.exports={set:ne,get:le,has:xe,enforce:Ee,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/classof-raw.js");Be.exports=Array.isArray||function(be){return Oe(be)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/fails.js"),Pe=/#|\.prototype\./,be=function(b,x){var z=y[oe(b)];return z==E?!0:z==a?!1:typeof x=="function"?Oe(x):!!x},oe=be.normalize=function(b){return String(b).replace(Pe,".").toLowerCase()},y=be.data={},a=be.NATIVE="N",E=be.POLYFILL="P";Be.exports=be},"./node_modules/core-js/internals/is-object.js":function(Be){Be.exports=function(Ne){return typeof Ne=="object"?Ne!==null:typeof Ne=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Be){Be.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/get-built-in.js"),Pe=ue("./node_modules/core-js/internals/use-symbol-as-uid.js");Be.exports=Pe?function(be){return typeof be=="symbol"}:function(be){var oe=Oe("Symbol");return typeof oe=="function"&&Object(be)instanceof oe}},"./node_modules/core-js/internals/iterators-core.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/fails.js"),Pe=ue("./node_modules/core-js/internals/object-get-prototype-of.js"),be=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),oe=ue("./node_modules/core-js/internals/has.js"),y=ue("./node_modules/core-js/internals/well-known-symbol.js"),a=ue("./node_modules/core-js/internals/is-pure.js"),E=y("iterator"),b=!1,x=function(){return this},z,ne,le;[].keys&&(le=[].keys(),"next"in le?(ne=Pe(Pe(le)),ne!==Object.prototype&&(z=ne)):b=!0);var xe=z==null||Oe(function(){var Ee={};return z[E].call(Ee)!==Ee});xe&&(z={}),(!a||xe)&&!oe(z,E)&&be(z,E,x),Be.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(Be){Be.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/engine-v8-version.js"),Pe=ue("./node_modules/core-js/internals/fails.js");Be.exports=!!Object.getOwnPropertySymbols&&!Pe(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&Oe&&Oe<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/inspect-source.js"),be=Oe.WeakMap;Be.exports=typeof be=="function"&&/native code/.test(Pe(be))},"./node_modules/core-js/internals/object-assign.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/object-keys.js"),oe=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ue("./node_modules/core-js/internals/to-object.js"),E=ue("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,x=Object.defineProperty;Be.exports=!b||Pe(function(){if(Oe&&b({b:1},b(x({},"a",{enumerable:!0,get:function(){x(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var z={},ne={},le=Symbol(),xe="abcdefghijklmnopqrst";return z[le]=7,xe.split("").forEach(function(Ee){ne[Ee]=Ee}),b({},z)[le]!=7||be(b({},ne)).join("")!=xe})?function(ne,le){for(var xe=a(ne),Ee=arguments.length,Qe=1,We=oe.f,Ve=y.f;Ee>Qe;)for(var tt=E(arguments[Qe++]),ke=We?be(tt).concat(We(tt)):be(tt),Ft=ke.length,Te=0,kt;Ft>Te;)kt=ke[Te++],(!Oe||Ve.call(tt,kt))&&(xe[kt]=tt[kt]);return xe}:b},"./node_modules/core-js/internals/object-create.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/an-object.js"),Pe=ue("./node_modules/core-js/internals/object-define-properties.js"),be=ue("./node_modules/core-js/internals/enum-bug-keys.js"),oe=ue("./node_modules/core-js/internals/hidden-keys.js"),y=ue("./node_modules/core-js/internals/html.js"),a=ue("./node_modules/core-js/internals/document-create-element.js"),E=ue("./node_modules/core-js/internals/shared-key.js"),b=">",x="<",z="prototype",ne="script",le=E("IE_PROTO"),xe=function(){},Ee=function(ke){return x+ne+b+ke+x+"/"+ne+b},Qe=function(ke){ke.write(Ee("")),ke.close();var Ft=ke.parentWindow.Object;return ke=null,Ft},We=function(){var ke=a("iframe"),Ft="java"+ne+":",Te;if(ke.style)return ke.style.display="none",y.appendChild(ke),ke.src=String(Ft),Te=ke.contentWindow.document,Te.open(),Te.write(Ee("document.F=Object")),Te.close(),Te.F},Ve,tt=function(){try{Ve=new ActiveXObject("htmlfile")}catch(Ft){}tt=document.domain&&Ve?Qe(Ve):We()||Qe(Ve);for(var ke=be.length;ke--;)delete tt[z][be[ke]];return tt()};oe[le]=!0,Be.exports=Object.create||function(Ft,Te){var kt;return Ft!==null?(xe[z]=Oe(Ft),kt=new xe,xe[z]=null,kt[le]=Ft):kt=tt(),Te===void 0?kt:Pe(kt,Te)}},"./node_modules/core-js/internals/object-define-properties.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/object-define-property.js"),be=ue("./node_modules/core-js/internals/an-object.js"),oe=ue("./node_modules/core-js/internals/object-keys.js");Be.exports=Oe?Object.defineProperties:function(a,E){be(a);for(var b=oe(E),x=b.length,z=0,ne;x>z;)Pe.f(a,ne=b[z++],E[ne]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/ie8-dom-define.js"),be=ue("./node_modules/core-js/internals/an-object.js"),oe=ue("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Ne.f=Oe?y:function(E,b,x){if(be(E),b=oe(b),be(x),Pe)try{return y(E,b,x)}catch(z){}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(E[b]=x.value),E}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/descriptors.js"),Pe=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),be=ue("./node_modules/core-js/internals/create-property-descriptor.js"),oe=ue("./node_modules/core-js/internals/to-indexed-object.js"),y=ue("./node_modules/core-js/internals/to-property-key.js"),a=ue("./node_modules/core-js/internals/has.js"),E=ue("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;Ne.f=Oe?b:function(z,ne){if(z=oe(z),ne=y(ne),E)try{return b(z,ne)}catch(le){}if(a(z,ne))return be(!Pe.f.call(z,ne),z[ne])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-indexed-object.js"),Pe=ue("./node_modules/core-js/internals/object-get-own-property-names.js").f,be={}.toString,oe=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Pe(a)}catch(E){return oe.slice()}};Be.exports.f=function(E){return oe&&be.call(E)=="[object Window]"?y(E):Pe(Oe(E))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/object-keys-internal.js"),Pe=ue("./node_modules/core-js/internals/enum-bug-keys.js"),be=Pe.concat("length","prototype");Ne.f=Object.getOwnPropertyNames||function(y){return Oe(y,be)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Be,Ne){Ne.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/has.js"),Pe=ue("./node_modules/core-js/internals/to-object.js"),be=ue("./node_modules/core-js/internals/shared-key.js"),oe=ue("./node_modules/core-js/internals/correct-prototype-getter.js"),y=be("IE_PROTO"),a=Object.prototype;Be.exports=oe?Object.getPrototypeOf:function(E){return E=Pe(E),Oe(E,y)?E[y]:typeof E.constructor=="function"&&E instanceof E.constructor?E.constructor.prototype:E instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/has.js"),Pe=ue("./node_modules/core-js/internals/to-indexed-object.js"),be=ue("./node_modules/core-js/internals/array-includes.js").indexOf,oe=ue("./node_modules/core-js/internals/hidden-keys.js");Be.exports=function(y,a){var E=Pe(y),b=0,x=[],z;for(z in E)!Oe(oe,z)&&Oe(E,z)&&x.push(z);for(;a.length>b;)Oe(E,z=a[b++])&&(~be(x,z)||x.push(z));return x}},"./node_modules/core-js/internals/object-keys.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/object-keys-internal.js"),Pe=ue("./node_modules/core-js/internals/enum-bug-keys.js");Be.exports=Object.keys||function(oe){return Oe(oe,Pe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Be,Ne){"use strict";var ue={}.propertyIsEnumerable,Oe=Object.getOwnPropertyDescriptor,Pe=Oe&&!ue.call({1:2},1);Ne.f=Pe?function(oe){var y=Oe(this,oe);return!!y&&y.enumerable}:ue},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/an-object.js"),Pe=ue("./node_modules/core-js/internals/a-possible-prototype.js");Be.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var be=!1,oe={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(oe,[]),be=oe instanceof Array}catch(a){}return function(E,b){return Oe(E),Pe(b),be?y.call(E,b):E.__proto__=b,E}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=ue("./node_modules/core-js/internals/classof.js");Be.exports=Oe?{}.toString:function(){return"[object "+Pe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-object.js");Be.exports=function(Pe,be){var oe,y;if(be==="string"&&typeof(oe=Pe.toString)=="function"&&!Oe(y=oe.call(Pe))||typeof(oe=Pe.valueOf)=="function"&&!Oe(y=oe.call(Pe))||be!=="string"&&typeof(oe=Pe.toString)=="function"&&!Oe(y=oe.call(Pe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/get-built-in.js"),Pe=ue("./node_modules/core-js/internals/object-get-own-property-names.js"),be=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),oe=ue("./node_modules/core-js/internals/an-object.js");Be.exports=Oe("Reflect","ownKeys")||function(a){var E=Pe.f(oe(a)),b=be.f;return b?E.concat(b(a)):E}},"./node_modules/core-js/internals/path.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js");Be.exports=Oe},"./node_modules/core-js/internals/redefine.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),be=ue("./node_modules/core-js/internals/has.js"),oe=ue("./node_modules/core-js/internals/set-global.js"),y=ue("./node_modules/core-js/internals/inspect-source.js"),a=ue("./node_modules/core-js/internals/internal-state.js"),E=a.get,b=a.enforce,x=String(String).split("String");(Be.exports=function(z,ne,le,xe){var Ee=xe?!!xe.unsafe:!1,Qe=xe?!!xe.enumerable:!1,We=xe?!!xe.noTargetGet:!1,Ve;if(typeof le=="function"&&(typeof ne=="string"&&!be(le,"name")&&Pe(le,"name",ne),Ve=b(le),Ve.source||(Ve.source=x.join(typeof ne=="string"?ne:""))),z===Oe){Qe?z[ne]=le:oe(ne,le);return}else Ee?!We&&z[ne]&&(Qe=!0):delete z[ne];Qe?z[ne]=le:Pe(z,ne,le)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/an-object.js");Be.exports=function(){var Pe=Oe(this),be="";return Pe.global&&(be+="g"),Pe.ignoreCase&&(be+="i"),Pe.multiline&&(be+="m"),Pe.dotAll&&(be+="s"),Pe.unicode&&(be+="u"),Pe.sticky&&(be+="y"),be}},"./node_modules/core-js/internals/require-object-coercible.js":function(Be){Be.exports=function(Ne){if(Ne==null)throw TypeError("Can't call method on "+Ne);return Ne}},"./node_modules/core-js/internals/set-global.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js");Be.exports=function(Pe,be){try{Object.defineProperty(Oe,Pe,{value:be,configurable:!0,writable:!0})}catch(oe){Oe[Pe]=be}return be}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/object-define-property.js").f,Pe=ue("./node_modules/core-js/internals/has.js"),be=ue("./node_modules/core-js/internals/well-known-symbol.js"),oe=be("toStringTag");Be.exports=function(y,a,E){y&&!Pe(y=E?y:y.prototype,oe)&&Oe(y,oe,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/shared.js"),Pe=ue("./node_modules/core-js/internals/uid.js"),be=Oe("keys");Be.exports=function(oe){return be[oe]||(be[oe]=Pe(oe))}},"./node_modules/core-js/internals/shared-store.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/set-global.js"),be="__core-js_shared__",oe=Oe[be]||Pe(be,{});Be.exports=oe},"./node_modules/core-js/internals/shared.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-pure.js"),Pe=ue("./node_modules/core-js/internals/shared-store.js");(Be.exports=function(be,oe){return Pe[be]||(Pe[be]=oe!==void 0?oe:{})})("versions",[]).push({version:"3.16.0",mode:Oe?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/fails.js");Be.exports=function(Pe){return Oe(function(){var be=""[Pe]('"');return be!==be.toLowerCase()||be.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-integer.js"),Pe=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/require-object-coercible.js"),oe=function(y){return function(a,E){var b=Pe(be(a)),x=Oe(E),z=b.length,ne,le;return x<0||x>=z?y?"":void 0:(ne=b.charCodeAt(x),ne<55296||ne>56319||x+1===z||(le=b.charCodeAt(x+1))<56320||le>57343?y?b.charAt(x):ne:y?b.slice(x,x+2):(ne-55296<<10)+(le-56320)+65536)}};Be.exports={codeAt:oe(!1),charAt:oe(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/require-object-coercible.js"),Pe=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/whitespaces.js"),oe="["+be+"]",y=RegExp("^"+oe+oe+"*"),a=RegExp(oe+oe+"*$"),E=function(b){return function(x){var z=Pe(Oe(x));return b&1&&(z=z.replace(y,"")),b&2&&(z=z.replace(a,"")),z}};Be.exports={start:E(1),end:E(2),trim:E(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-integer.js"),Pe=Math.max,be=Math.min;Be.exports=function(oe,y){var a=Oe(oe);return a<0?Pe(a+y,0):be(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/indexed-object.js"),Pe=ue("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(be){return Oe(Pe(be))}},"./node_modules/core-js/internals/to-integer.js":function(Be){var Ne=Math.ceil,ue=Math.floor;Be.exports=function(Oe){return isNaN(Oe=+Oe)?0:(Oe>0?ue:Ne)(Oe)}},"./node_modules/core-js/internals/to-length.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-integer.js"),Pe=Math.min;Be.exports=function(be){return be>0?Pe(Oe(be),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/require-object-coercible.js");Be.exports=function(Pe){return Object(Oe(Pe))}},"./node_modules/core-js/internals/to-primitive.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-object.js"),Pe=ue("./node_modules/core-js/internals/is-symbol.js"),be=ue("./node_modules/core-js/internals/ordinary-to-primitive.js"),oe=ue("./node_modules/core-js/internals/well-known-symbol.js"),y=oe("toPrimitive");Be.exports=function(a,E){if(!Oe(a)||Pe(a))return a;var b=a[y],x;if(b!==void 0){if(E===void 0&&(E="default"),x=b.call(a,E),!Oe(x)||Pe(x))return x;throw TypeError("Can't convert object to primitive value")}return E===void 0&&(E="number"),be(a,E)}},"./node_modules/core-js/internals/to-property-key.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-primitive.js"),Pe=ue("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(be){var oe=Oe(be,"string");return Pe(oe)?oe:String(oe)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/well-known-symbol.js"),Pe=Oe("toStringTag"),be={};be[Pe]="z",Be.exports=String(be)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/is-symbol.js");Be.exports=function(Pe){if(Oe(Pe))throw TypeError("Cannot convert a Symbol value to a string");return String(Pe)}},"./node_modules/core-js/internals/uid.js":function(Be){var Ne=0,ue=Math.random();Be.exports=function(Oe){return"Symbol("+String(Oe===void 0?"":Oe)+")_"+(++Ne+ue).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/native-symbol.js");Be.exports=Oe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/well-known-symbol.js");Ne.f=Oe},"./node_modules/core-js/internals/well-known-symbol.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/shared.js"),be=ue("./node_modules/core-js/internals/has.js"),oe=ue("./node_modules/core-js/internals/uid.js"),y=ue("./node_modules/core-js/internals/native-symbol.js"),a=ue("./node_modules/core-js/internals/use-symbol-as-uid.js"),E=Pe("wks"),b=Oe.Symbol,x=a?b:b&&b.withoutSetter||oe;Be.exports=function(z){return(!be(E,z)||!(y||typeof E[z]=="string"))&&(y&&be(b,z)?E[z]=b[z]:E[z]=x("Symbol."+z)),E[z]}},"./node_modules/core-js/internals/whitespaces.js":function(Be){Be.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/fails.js"),be=ue("./node_modules/core-js/internals/is-array.js"),oe=ue("./node_modules/core-js/internals/is-object.js"),y=ue("./node_modules/core-js/internals/to-object.js"),a=ue("./node_modules/core-js/internals/to-length.js"),E=ue("./node_modules/core-js/internals/create-property.js"),b=ue("./node_modules/core-js/internals/array-species-create.js"),x=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),z=ue("./node_modules/core-js/internals/well-known-symbol.js"),ne=ue("./node_modules/core-js/internals/engine-v8-version.js"),le=z("isConcatSpreadable"),xe=9007199254740991,Ee="Maximum allowed index exceeded",Qe=ne>=51||!Pe(function(){var ke=[];return ke[le]=!1,ke.concat()[0]!==ke}),We=x("concat"),Ve=function(ke){if(!oe(ke))return!1;var Ft=ke[le];return Ft!==void 0?!!Ft:be(ke)},tt=!Qe||!We;Oe({target:"Array",proto:!0,forced:tt},{concat:function(Ft){var Te=y(this),kt=b(Te,0),st=0,At,Dt,gt,xt,ft;for(At=-1,gt=arguments.length;Atxe)throw TypeError(Ee);for(Dt=0;Dt=xe)throw TypeError(Ee);E(kt,st++,ft)}return kt.length=st,kt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/to-indexed-object.js"),Pe=ue("./node_modules/core-js/internals/add-to-unscopables.js"),be=ue("./node_modules/core-js/internals/iterators.js"),oe=ue("./node_modules/core-js/internals/internal-state.js"),y=ue("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",E=oe.set,b=oe.getterFor(a);Be.exports=y(Array,"Array",function(x,z){E(this,{type:a,target:Oe(x),index:0,kind:z})},function(){var x=b(this),z=x.target,ne=x.kind,le=x.index++;return!z||le>=z.length?(x.target=void 0,{value:void 0,done:!0}):ne=="keys"?{value:le,done:!1}:ne=="values"?{value:z[le],done:!1}:{value:[le,z[le]],done:!1}},"values"),be.Arguments=be.Array,Pe("keys"),Pe("values"),Pe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/indexed-object.js"),be=ue("./node_modules/core-js/internals/to-indexed-object.js"),oe=ue("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Pe!=Object,E=oe("join",",");Oe({target:"Array",proto:!0,forced:a||!E},{join:function(x){return y.call(be(this),x===void 0?",":x)}})},"./node_modules/core-js/modules/es.array.map.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/array-iteration.js").map,be=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=be("map");Oe({target:"Array",proto:!0,forced:!oe},{map:function(a){return Pe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/is-object.js"),be=ue("./node_modules/core-js/internals/is-array.js"),oe=ue("./node_modules/core-js/internals/to-absolute-index.js"),y=ue("./node_modules/core-js/internals/to-length.js"),a=ue("./node_modules/core-js/internals/to-indexed-object.js"),E=ue("./node_modules/core-js/internals/create-property.js"),b=ue("./node_modules/core-js/internals/well-known-symbol.js"),x=ue("./node_modules/core-js/internals/array-method-has-species-support.js"),z=x("slice"),ne=b("species"),le=[].slice,xe=Math.max;Oe({target:"Array",proto:!0,forced:!z},{slice:function(Qe,We){var Ve=a(this),tt=y(Ve.length),ke=oe(Qe,tt),Ft=oe(We===void 0?tt:We,tt),Te,kt,st;if(be(Ve)&&(Te=Ve.constructor,typeof Te=="function"&&(Te===Array||be(Te.prototype))?Te=void 0:Pe(Te)&&(Te=Te[ne],Te===null&&(Te=void 0)),Te===Array||Te===void 0))return le.call(Ve,ke,Ft);for(kt=new(Te===void 0?Array:Te)(xe(Ft-ke,0)),st=0;ke2){if(gt=Qe(gt),xt=gt.charCodeAt(0),xt===43||xt===45){if(ft=gt.charCodeAt(2),ft===88||ft===120)return NaN}else if(xt===48){switch(gt.charCodeAt(1)){case 66:case 98:it=2,en=49;break;case 79:case 111:it=8,en=55;break;default:return+gt}for(rn=gt.slice(2),Pt=rn.length,Zt=0;Zten)return NaN;return parseInt(rn,it)}}return+gt};if(be(We,!Ve(" 0o1")||!Ve("0b1")||Ve("+0x1"))){for(var Te=function(gt){var xt=arguments.length<1?0:gt,ft=this;return ft instanceof Te&&(ke?z(function(){tt.valueOf.call(ft)}):a(ft)!=We)?E(new Ve(Ft(xt)),ft,Te):Ft(xt)},kt=Oe?le(Ve):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),st=0,At;kt.length>st;st++)y(Ve,At=kt[st])&&!y(Te,At)&&Ee(Te,At,xe(Ve,At));Te.prototype=tt,tt.constructor=Te,oe(Pe,We,Te)}},"./node_modules/core-js/modules/es.object.assign.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/object-assign.js");Oe({target:"Object",stat:!0,forced:Object.assign!==Pe},{assign:Pe})},"./node_modules/core-js/modules/es.object.keys.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/to-object.js"),be=ue("./node_modules/core-js/internals/object-keys.js"),oe=ue("./node_modules/core-js/internals/fails.js"),y=oe(function(){be(1)});Oe({target:"Object",stat:!0,forced:y},{keys:function(E){return be(Pe(E))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/to-string-tag-support.js"),Pe=ue("./node_modules/core-js/internals/redefine.js"),be=ue("./node_modules/core-js/internals/object-to-string.js");Oe||Pe(Object.prototype,"toString",be,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/redefine.js"),Pe=ue("./node_modules/core-js/internals/an-object.js"),be=ue("./node_modules/core-js/internals/to-string.js"),oe=ue("./node_modules/core-js/internals/fails.js"),y=ue("./node_modules/core-js/internals/regexp-flags.js"),a="toString",E=RegExp.prototype,b=E[a],x=oe(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),z=b.name!=a;(x||z)&&Oe(RegExp.prototype,a,function(){var le=Pe(this),xe=be(le.source),Ee=le.flags,Qe=be(Ee===void 0&&le instanceof RegExp&&!("flags"in E)?y.call(le):Ee);return"/"+xe+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/string-multibyte.js").charAt,Pe=ue("./node_modules/core-js/internals/to-string.js"),be=ue("./node_modules/core-js/internals/internal-state.js"),oe=ue("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=be.set,E=be.getterFor(y);oe(String,"String",function(b){a(this,{type:y,string:Pe(b),index:0})},function(){var x=E(this),z=x.string,ne=x.index,le;return ne>=z.length?{value:void 0,done:!0}:(le=Oe(z,ne),x.index+=le.length,{value:le,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/create-html.js"),be=ue("./node_modules/core-js/internals/string-html-forced.js");Oe({target:"String",proto:!0,forced:be("link")},{link:function(y){return Pe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/descriptors.js"),be=ue("./node_modules/core-js/internals/global.js"),oe=ue("./node_modules/core-js/internals/has.js"),y=ue("./node_modules/core-js/internals/is-object.js"),a=ue("./node_modules/core-js/internals/object-define-property.js").f,E=ue("./node_modules/core-js/internals/copy-constructor-properties.js"),b=be.Symbol;if(Pe&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var x={},z=function(){var We=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ve=this instanceof z?new b(We):We===void 0?b():b(We);return We===""&&(x[Ve]=!0),Ve};E(z,b);var ne=z.prototype=b.prototype;ne.constructor=z;var le=ne.toString,xe=String(b("test"))=="Symbol(test)",Ee=/^Symbol\((.*)\)[^)]+$/;a(ne,"description",{configurable:!0,get:function(){var We=y(this)?this.valueOf():this,Ve=le.call(We);if(oe(x,We))return"";var tt=xe?Ve.slice(7,-1):Ve.replace(Ee,"$1");return tt===""?void 0:tt}}),Oe({global:!0,forced:!0},{Symbol:z})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/define-well-known-symbol.js");Oe("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Be,Ne,ue){"use strict";var Oe=ue("./node_modules/core-js/internals/export.js"),Pe=ue("./node_modules/core-js/internals/global.js"),be=ue("./node_modules/core-js/internals/get-built-in.js"),oe=ue("./node_modules/core-js/internals/is-pure.js"),y=ue("./node_modules/core-js/internals/descriptors.js"),a=ue("./node_modules/core-js/internals/native-symbol.js"),E=ue("./node_modules/core-js/internals/fails.js"),b=ue("./node_modules/core-js/internals/has.js"),x=ue("./node_modules/core-js/internals/is-array.js"),z=ue("./node_modules/core-js/internals/is-object.js"),ne=ue("./node_modules/core-js/internals/is-symbol.js"),le=ue("./node_modules/core-js/internals/an-object.js"),xe=ue("./node_modules/core-js/internals/to-object.js"),Ee=ue("./node_modules/core-js/internals/to-indexed-object.js"),Qe=ue("./node_modules/core-js/internals/to-property-key.js"),We=ue("./node_modules/core-js/internals/to-string.js"),Ve=ue("./node_modules/core-js/internals/create-property-descriptor.js"),tt=ue("./node_modules/core-js/internals/object-create.js"),ke=ue("./node_modules/core-js/internals/object-keys.js"),Ft=ue("./node_modules/core-js/internals/object-get-own-property-names.js"),Te=ue("./node_modules/core-js/internals/object-get-own-property-names-external.js"),kt=ue("./node_modules/core-js/internals/object-get-own-property-symbols.js"),st=ue("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),At=ue("./node_modules/core-js/internals/object-define-property.js"),Dt=ue("./node_modules/core-js/internals/object-property-is-enumerable.js"),gt=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),xt=ue("./node_modules/core-js/internals/redefine.js"),ft=ue("./node_modules/core-js/internals/shared.js"),it=ue("./node_modules/core-js/internals/shared-key.js"),en=ue("./node_modules/core-js/internals/hidden-keys.js"),rn=ue("./node_modules/core-js/internals/uid.js"),Pt=ue("./node_modules/core-js/internals/well-known-symbol.js"),Zt=ue("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),En=ue("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=ue("./node_modules/core-js/internals/set-to-string-tag.js"),mn=ue("./node_modules/core-js/internals/internal-state.js"),Gn=ue("./node_modules/core-js/internals/array-iteration.js").forEach,Nt=it("hidden"),_n="Symbol",or="prototype",Je=Pt("toPrimitive"),yn=mn.set,Fe=mn.getterFor(_n),de=Object[or],Ae=Pe.Symbol,ye=be("JSON","stringify"),qe=st.f,pt=At.f,Re=Te.f,Xe=Dt.f,Qt=ft("symbols"),Bt=ft("op-symbols"),lt=ft("string-to-symbol-registry"),Yt=ft("symbol-to-string-registry"),wn=ft("wks"),jt=Pe.QObject,fn=!jt||!jt[or]||!jt[or].findChild,Tt=y&&E(function(){return tt(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a!=7})?function(mr,ur,hr){var br=qe(de,ur);br&&delete de[ur],pt(mr,ur,hr),br&&mr!==de&&pt(de,ur,br)}:pt,Fn=function(mr,ur){var hr=Qt[mr]=tt(Ae[or]);return yn(hr,{type:_n,tag:mr,description:ur}),y||(hr.description=ur),hr},dt=function(ur,hr,br){ur===de&&dt(Bt,hr,br),le(ur);var qr=Qe(hr);return le(br),b(Qt,qr)?(br.enumerable?(b(ur,Nt)&&ur[Nt][qr]&&(ur[Nt][qr]=!1),br=tt(br,{enumerable:Ve(0,!1)})):(b(ur,Nt)||pt(ur,Nt,Ve(1,{})),ur[Nt][qr]=!0),Tt(ur,qr,br)):pt(ur,qr,br)},on=function(ur,hr){le(ur);var br=Ee(hr),qr=ke(br).concat(yr(br));return Gn(qr,function(ha){(!y||bn.call(br,ha))&&dt(ur,ha,br[ha])}),ur},Bn=function(ur,hr){return hr===void 0?tt(ur):on(tt(ur),hr)},bn=function(ur){var hr=Qe(ur),br=Xe.call(this,hr);return this===de&&b(Qt,hr)&&!b(Bt,hr)?!1:br||!b(this,hr)||!b(Qt,hr)||b(this,Nt)&&this[Nt][hr]?br:!0},er=function(ur,hr){var br=Ee(ur),qr=Qe(hr);if(!(br===de&&b(Qt,qr)&&!b(Bt,qr))){var ha=qe(br,qr);return ha&&b(Qt,qr)&&!(b(br,Nt)&&br[Nt][qr])&&(ha.enumerable=!0),ha}},cr=function(ur){var hr=Re(Ee(ur)),br=[];return Gn(hr,function(qr){!b(Qt,qr)&&!b(en,qr)&&br.push(qr)}),br},yr=function(ur){var hr=ur===de,br=Re(hr?Bt:Ee(ur)),qr=[];return Gn(br,function(ha){b(Qt,ha)&&(!hr||b(de,ha))&&qr.push(Qt[ha])}),qr};if(a||(Ae=function(){if(this instanceof Ae)throw TypeError("Symbol is not a constructor");var ur=!arguments.length||arguments[0]===void 0?void 0:We(arguments[0]),hr=rn(ur),br=function(qr){this===de&&br.call(Bt,qr),b(this,Nt)&&b(this[Nt],hr)&&(this[Nt][hr]=!1),Tt(this,hr,Ve(1,qr))};return y&&fn&&Tt(de,hr,{configurable:!0,set:br}),Fn(hr,ur)},xt(Ae[or],"toString",function(){return Fe(this).tag}),xt(Ae,"withoutSetter",function(mr){return Fn(rn(mr),mr)}),Dt.f=bn,At.f=dt,st.f=er,Ft.f=Te.f=cr,kt.f=yr,Zt.f=function(mr){return Fn(Pt(mr),mr)},y&&(pt(Ae[or],"description",{configurable:!0,get:function(){return Fe(this).description}}),oe||xt(de,"propertyIsEnumerable",bn,{unsafe:!0}))),Oe({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:Ae}),Gn(ke(wn),function(mr){En(mr)}),Oe({target:_n,stat:!0,forced:!a},{for:function(mr){var ur=We(mr);if(b(lt,ur))return lt[ur];var hr=Ae(ur);return lt[ur]=hr,Yt[hr]=ur,hr},keyFor:function(ur){if(!ne(ur))throw TypeError(ur+" is not a symbol");if(b(Yt,ur))return Yt[ur]},useSetter:function(){fn=!0},useSimple:function(){fn=!1}}),Oe({target:"Object",stat:!0,forced:!a,sham:!y},{create:Bn,defineProperty:dt,defineProperties:on,getOwnPropertyDescriptor:er}),Oe({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:cr,getOwnPropertySymbols:yr}),Oe({target:"Object",stat:!0,forced:E(function(){kt.f(1)})},{getOwnPropertySymbols:function(ur){return kt.f(xe(ur))}}),ye){var Cr=!a||E(function(){var mr=Ae();return ye([mr])!="[null]"||ye({a:mr})!="{}"||ye(Object(mr))!="{}"});Oe({target:"JSON",stat:!0,forced:Cr},{stringify:function(ur,hr,br){for(var qr=[ur],ha=1,Qr;arguments.length>ha;)qr.push(arguments[ha++]);if(Qr=hr,!(!z(hr)&&ur===void 0||ne(ur)))return x(hr)||(hr=function(Qa,Ua){if(typeof Qr=="function"&&(Ua=Qr.call(this,Qa,Ua)),!ne(Ua))return Ua}),qr[1]=hr,ye.apply(null,qr)}})}Ae[or][Je]||gt(Ae[or],Je,Ae[or].valueOf),Hn(Ae,_n),en[Nt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/dom-iterables.js"),be=ue("./node_modules/core-js/internals/array-for-each.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Pe){var a=Oe[y],E=a&&a.prototype;if(E&&E.forEach!==be)try{oe(E,"forEach",be)}catch(b){E.forEach=be}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Be,Ne,ue){var Oe=ue("./node_modules/core-js/internals/global.js"),Pe=ue("./node_modules/core-js/internals/dom-iterables.js"),be=ue("./node_modules/core-js/modules/es.array.iterator.js"),oe=ue("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ue("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),E=y("toStringTag"),b=be.values;for(var x in Pe){var z=Oe[x],ne=z&&z.prototype;if(ne){if(ne[a]!==b)try{oe(ne,a,b)}catch(xe){ne[a]=b}if(ne[E]||oe(ne,E,x),Pe[x]){for(var le in be)if(ne[le]!==be[le])try{oe(ne,le,be[le])}catch(xe){ne[le]=be[le]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Be){(function(Ne,ue){Be.exports=ue()})(this,function(){"use strict";function Ne(jt){var fn=typeof jt;return jt!==null&&(fn==="object"||fn==="function")}function ue(jt){return typeof jt=="function"}var Oe=void 0;Array.isArray?Oe=Array.isArray:Oe=function(jt){return Object.prototype.toString.call(jt)==="[object Array]"};var Pe=Oe,be=0,oe=void 0,y=void 0,a=function(fn,Tt){ke[be]=fn,ke[be+1]=Tt,be+=2,be===2&&(y?y(Ft):kt())};function E(jt){y=jt}function b(jt){a=jt}var x=typeof window!="undefined"?window:void 0,z=x||{},ne=z.MutationObserver||z.WebKitMutationObserver,le=typeof self=="undefined"&&typeof he!="undefined"&&{}.toString.call(he)==="[object process]",xe=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ee(){return function(){return he.nextTick(Ft)}}function Qe(){return typeof oe!="undefined"?function(){oe(Ft)}:tt()}function We(){var jt=0,fn=new ne(Ft),Tt=document.createTextNode("");return fn.observe(Tt,{characterData:!0}),function(){Tt.data=jt=++jt%2}}function Ve(){var jt=new MessageChannel;return jt.port1.onmessage=Ft,function(){return jt.port2.postMessage(0)}}function tt(){var jt=setTimeout;return function(){return jt(Ft,1)}}var ke=new Array(1e3);function Ft(){for(var jt=0;jt>1,ue=-7,Oe=we?nt-1:0,Pe=we?-1:1,be=ve[he+Oe];for(Oe+=Pe,Ge=be&(1<<-ue)-1,be>>=-ue,ue+=pe;ue>0;Ge=Ge*256+ve[he+Oe],Oe+=Pe,ue-=8);for(He=Ge&(1<<-ue)-1,Ge>>=-ue,ue+=Me;ue>0;He=He*256+ve[he+Oe],Oe+=Pe,ue-=8);if(Ge===0)Ge=1-Ne;else{if(Ge===Be)return He?NaN:(be?-1:1)*(1/0);He=He+Math.pow(2,Me),Ge=Ge-Ne}return(be?-1:1)*He*Math.pow(2,Ge-Me)},zt.write=function(ve,he,we,Me,nt,Ge){var He,pe,Be,Ne=Ge*8-nt-1,ue=(1<>1,Pe=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,be=Me?0:Ge-1,oe=Me?1:-1,y=he<0||he===0&&1/he<0?1:0;for(he=Math.abs(he),isNaN(he)||he===1/0?(pe=isNaN(he)?1:0,He=ue):(He=Math.floor(Math.log(he)/Math.LN2),he*(Be=Math.pow(2,-He))<1&&(He--,Be*=2),He+Oe>=1?he+=Pe/Be:he+=Pe*Math.pow(2,1-Oe),he*Be>=2&&(He++,Be/=2),He+Oe>=ue?(pe=0,He=ue):He+Oe>=1?(pe=(he*Be-1)*Math.pow(2,nt),He=He+Oe):(pe=he*Math.pow(2,Oe-1)*Math.pow(2,nt),He=0));nt>=8;ve[we+be]=pe&255,be+=oe,pe/=256,nt-=8);for(He=He<0;ve[we+be]=He&255,be+=oe,He/=256,Ne-=8);ve[we+be-oe]|=y*128}},7348:function(An,zt,ve){"use strict";ve.r(zt),ve.d(zt,{AcroForm:function(){return ro},AcroFormAppearance:function(){return ia},AcroFormButton:function(){return Eo},AcroFormCheckBox:function(){return Wi},AcroFormChoiceField:function(){return Nn},AcroFormComboBox:function(){return Ma},AcroFormEditBox:function(){return Na},AcroFormListBox:function(){return lA},AcroFormPasswordField:function(){return eA},AcroFormPushButton:function(){return ki},AcroFormRadioButton:function(){return gi},AcroFormTextField:function(){return ZA},GState:function(){return oi},ShadingPattern:function(){return Gr},TilingPattern:function(){return jr},default:function(){return Kt},jsPDF:function(){return Kt}});var he=ve(34666),we={},Me=function(ae,te,re,fe,Ce){var Se=new Worker(we[te]||(we[te]=URL.createObjectURL(new Blob([ae+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Se.onmessage=function(De){var je=De.data,_e=je.$e$;if(_e){var rt=new Error(_e[0]);rt.code=_e[1],rt.stack=_e[2],Ce(rt,null)}else Ce(null,je)},Se.postMessage(re,fe),Se},nt=Uint8Array,Ge=Uint16Array,He=Int32Array,pe=new nt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new nt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ne=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ue=function(ae,te){for(var re=new Ge(31),fe=0;fe<31;++fe)re[fe]=te+=1<>1|(b&21845)<<1;x=(x&52428)>>2|(x&13107)<<2,x=(x&61680)>>4|(x&3855)<<4,E[b]=((x&65280)>>8|(x&255)<<8)>>1}for(var z=function(ae,te,re){for(var fe=ae.length,Ce=0,Se=new Ge(te);Ce>_e]=rt}else for(je=new Ge(fe),Ce=0;Ce>15-ae[Ce]);return je},ne=new nt(288),b=0;b<144;++b)ne[b]=8;for(var b=144;b<256;++b)ne[b]=9;for(var b=256;b<280;++b)ne[b]=7;for(var b=280;b<288;++b)ne[b]=8;for(var le=new nt(32),b=0;b<32;++b)le[b]=5;var xe=z(ne,9,0),Ee=z(ne,9,1),Qe=z(le,5,0),We=z(le,5,1),Ve=function(ae){for(var te=ae[0],re=1;rete&&(te=ae[re]);return te},tt=function(ae,te,re){var fe=te/8|0;return(ae[fe]|ae[fe+1]<<8)>>(te&7)&re},ke=function(ae,te){var re=te/8|0;return(ae[re]|ae[re+1]<<8|ae[re+2]<<16)>>(te&7)},Ft=function(ae){return(ae+7)/8|0},Te=function(ae,te,re){return(te==null||te<0)&&(te=0),(re==null||re>ae.length)&&(re=ae.length),new nt(ae.subarray(te,re))},kt={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},st=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],At=function(ae,te,re){var fe=new Error(te||st[ae]);if(fe.code=ae,Error.captureStackTrace&&Error.captureStackTrace(fe,At),!re)throw fe;return fe},Dt=function(ae,te,re,fe){var Ce=ae.length,Se=fe?fe.length:0;if(!Ce||te.f&&!te.l)return re||new nt(0);var De=!re,je=De||te.i!=2,_e=te.i;De&&(re=new nt(Ce*3));var rt=function(zn){var Vn=re.length;if(zn>Vn){var tr=new nt(Math.max(Vn*2,zn));tr.set(re),re=tr}},vt=te.f||0,St=te.p||0,Ot=te.b||0,$e=te.l,ln=te.d,Xt=te.m,un=te.n,Rt=Ce*8;do{if(!$e){vt=tt(ae,St,1);var cn=tt(ae,St+1,3);if(St+=3,cn)if(cn==1)$e=Ee,ln=We,Xt=9,un=5;else if(cn==2){var Or=tt(ae,St,31)+257,nr=tt(ae,St+10,15)+4,Cn=Or+tt(ae,St+5,31)+1;St+=14;for(var ar=new nt(Cn),Sr=new nt(19),_t=0;_t>4;if(jn<16)ar[_t++]=jn;else{var et=0,ut=0;for(jn==16?(ut=3+tt(ae,St,3),St+=2,et=ar[_t-1]):jn==17?(ut=3+tt(ae,St,7),St+=3):jn==18&&(ut=11+tt(ae,St,127),St+=7);ut--;)ar[_t++]=et}}var ht=ar.subarray(0,Or),bt=ar.subarray(Or);Xt=Ve(ht),un=Ve(bt),$e=z(ht,Xt,1),ln=z(bt,un,1)}else At(1);else{var jn=Ft(St)+4,Jn=ae[jn-4]|ae[jn-3]<<8,fr=jn+Jn;if(fr>Ce){_e&&At(0);break}je&&rt(Ot+Jn),re.set(ae.subarray(jn,fr),Ot),te.b=Ot+=Jn,te.p=St=fr*8,te.f=vt;continue}if(St>Rt){_e&&At(0);break}}je&&rt(Ot+131072);for(var Mt=(1<>4;if(St+=et&15,St>Rt){_e&&At(0);break}if(et||At(2),ct<256)re[Ot++]=ct;else if(ct==256){Ye=St,$e=null;break}else{var Et=ct-254;if(ct>264){var _t=ct-257,Lt=pe[_t];Et=tt(ae,St,(1<>4;Vt||At(3),St+=Vt&15;var bt=y[nn];if(nn>3){var Lt=Be[nn];bt+=ke(ae,St)&(1<Rt){_e&&At(0);break}je&&rt(Ot+131072);var sn=Ot+Et;if(Ot>8},xt=function(ae,te,re){re<<=te&7;var fe=te/8|0;ae[fe]|=re,ae[fe+1]|=re>>8,ae[fe+2]|=re>>16},ft=function(ae,te){for(var re=[],fe=0;feOt&&(Ot=Se[fe].s);var $e=new Ge(Ot+1),ln=it(re[vt-1],$e,0);if(ln>te){var fe=0,Xt=0,un=ln-te,Rt=1<te)Xt+=Rt-(1<>=un;Xt>0;){var jn=Se[fe].s;$e[jn]=0&&Xt;--fe){var Jn=Se[fe].s;$e[Jn]==te&&(--$e[Jn],++Xt)}ln=te}return{t:new nt($e),l:ln}},it=function(ae,te,re){return ae.s==-1?Math.max(it(ae.l,te,re+1),it(ae.r,te,re+1)):te[ae.s]=re},en=function(ae){for(var te=ae.length;te&&!ae[--te];);for(var re=new Ge(++te),fe=0,Ce=ae[0],Se=1,De=function(_e){re[fe++]=_e},je=1;je<=te;++je)if(ae[je]==Ce&&je!=te)++Se;else{if(!Ce&&Se>2){for(;Se>138;Se-=138)De(32754);Se>2&&(De(Se>10?Se-11<<5|28690:Se-3<<5|12305),Se=0)}else if(Se>3){for(De(Ce),--Se;Se>6;Se-=6)De(8304);Se>2&&(De(Se-3<<5|8208),Se=0)}for(;Se--;)De(Ce);Se=1,Ce=ae[je]}return{c:re.subarray(0,fe),n:te}},rn=function(ae,te){for(var re=0,fe=0;fe>8,ae[Ce+2]=ae[Ce]^255,ae[Ce+3]=ae[Ce+1]^255;for(var Se=0;Se4&&!Sr[Ne[$t-1]];--$t);var Tn=rt+5<<3,Ue=rn(Ce,ne)+rn(Se,le)+De,Ke=rn(Ce,Ot)+rn(Se,Xt)+De+14+3*$t+rn(nr,Sr)+2*nr[16]+3*nr[17]+7*nr[18];if(_e>=0&&Tn<=Ue&&Tn<=Ke)return Pt(te,vt,ae.subarray(_e,_e+rt));var et,ut,ht,bt;if(gt(te,vt,1+(Ke15&&(gt(te,vt,ct[Cn]>>5&127),vt+=ct[Cn]>>12)}}else et=xe,ut=ne,ht=Qe,bt=le;for(var Cn=0;Cn255){var Et=Lt>>18&31;xt(te,vt,et[Et+257]),vt+=ut[Et+257],Et>7&&(gt(te,vt,Lt>>23&31),vt+=pe[Et]);var Vt=Lt&31;xt(te,vt,ht[Vt]),vt+=bt[Vt],Vt>3&&(xt(te,vt,Lt>>5&8191),vt+=Be[Vt])}else xt(te,vt,et[Lt]),vt+=ut[Lt]}return xt(te,vt,et[256]),vt+ut[256]},En=new He([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new nt(0),mn=function(ae,te,re,fe,Ce,Se){var De=Se.z||ae.length,je=new nt(fe+De+5*(1+Math.ceil(De/7e3))+Ce),_e=je.subarray(fe,je.length-Ce),rt=Se.l,vt=(Se.r||0)&7;if(te){vt&&(_e[0]=Se.r>>3);for(var St=En[te-1],Ot=St>>13,$e=St&8191,ln=(1<7e3||Sr>24576)&&(et>423||!rt)){vt=Zt(ae,_e,0,Jn,fr,Or,Cn,Sr,$t,ar-$t,vt),Sr=nr=Cn=0,$t=ar;for(var ut=0;ut<286;++ut)fr[ut]=0;for(var ut=0;ut<30;++ut)Or[ut]=0}var ht=2,bt=0,Mt=$e,an=Ue-Ke&32767;if(et>2&&Tn==jn(ar-an))for(var Ye=Math.min(Ot,et)-1,ct=Math.min(32767,ar),Et=Math.min(258,et);an<=ct&&--Mt&&Ue!=Ke;){if(ae[ar+ht]==ae[ar+ht-an]){for(var Lt=0;Ltht){if(ht=Lt,bt=an,Lt>Ye)break;for(var Vt=Math.min(an,Lt-2),nn=0,ut=0;utnn&&(nn=Mn,Ke=sn)}}}Ue=Ke,Ke=Xt[Ue],an+=Ue-Ke&32767}if(bt){Jn[Sr++]=268435456|be[ht]<<18|a[bt];var zn=be[ht]&31,Vn=a[bt]&31;Cn+=pe[zn]+Be[Vn],++fr[257+zn],++Or[Vn],_t=ar+ht,++nr}else Jn[Sr++]=ae[ar],++fr[ae[ar]]}}for(ar=Math.max(ar,_t);ar=De&&(_e[vt/8|0]=rt,tr=De),vt=Pt(_e,vt+1,ae.subarray(ar,tr))}Se.i=De}return Te(je,0,fe+Ft(vt)+Ce)},Gn=null,Nt=function(){var ae=-1;return{p:function(te){for(var re=ae,fe=0;fe>>8;ae=re},d:function(){return~ae}}},_n=function(){var ae=1,te=0;return{p:function(re){for(var fe=ae,Ce=te,Se=re.length|0,De=0;De!=Se;){for(var je=Math.min(De+2655,Se);De>16),Ce=(Ce&65535)+15*(Ce>>16)}ae=fe,te=Ce},d:function(){return ae%=65521,te%=65521,(ae&255)<<24|(ae&65280)<<8|(te&255)<<8|te>>8}}},or=function(ae,te,re,fe,Ce){if(!Ce&&(Ce={l:1},te.dictionary)){var Se=te.dictionary.subarray(-32768),De=new nt(Se.length+ae.length);De.set(Se),De.set(ae,Se.length),ae=De,Ce.w=Se.length}return mn(ae,te.level==null?6:te.level,te.mem==null?Ce.l?Math.ceil(Math.max(8,Math.min(13,Math.log(ae.length)))*1.5):20:12+te.mem,re,fe,Ce)},Je=function(ae,te){var re={};for(var fe in ae)re[fe]=ae[fe];for(var fe in te)re[fe]=te[fe];return re},yn=function(ae,te,re){for(var fe=ae(),Ce=ae.toString(),Se=Ce.slice(Ce.indexOf("[")+1,Ce.lastIndexOf("]")).replace(/\s+/g,"").split(","),De=0;De>>0},Fn=function(ae,te){return Tt(ae,te)+Tt(ae,te+4)*4294967296},dt=function(ae,te,re){for(;re;++te)ae[te]=re,re>>>=8},on=function(ae,te){var re=te.filename;if(ae[0]=31,ae[1]=139,ae[2]=8,ae[8]=te.level<2?4:te.level==9?2:0,ae[9]=3,te.mtime!=0&&dt(ae,4,Math.floor(new Date(te.mtime||Date.now())/1e3)),re){ae[3]=8;for(var fe=0;fe<=re.length;++fe)ae[fe+10]=re.charCodeAt(fe)}},Bn=function(ae){(ae[0]!=31||ae[1]!=139||ae[2]!=8)&&At(6,"invalid gzip data");var te=ae[3],re=10;te&4&&(re+=(ae[10]|ae[11]<<8)+2);for(var fe=(te>>3&1)+(te>>4&1);fe>0;fe-=!ae[re++]);return re+(te&2)},bn=function(ae){var te=ae.length;return(ae[te-4]|ae[te-3]<<8|ae[te-2]<<16|ae[te-1]<<24)>>>0},er=function(ae){return 10+(ae.filename?ae.filename.length+1:0)},cr=function(ae,te){var re=te.level,fe=re==0?0:re<6?1:re==9?3:2;if(ae[0]=120,ae[1]=fe<<6|(te.dictionary&&32),ae[1]|=31-(ae[0]<<8|ae[1])%31,te.dictionary){var Ce=_n();Ce.p(te.dictionary),dt(ae,2,Ce.d())}},yr=function(ae,te){return((ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31)&&At(6,"invalid zlib data"),(ae[1]>>5&1)==+!te&&At(6,"invalid zlib data: "+(ae[1]&32?"need":"unexpected")+" dictionary"),(ae[1]>>3&4)+2};function Cr(ae,te){return typeof ae=="function"&&(te=ae,ae={}),this.ondata=te,ae}var mr=null,ur=null;function hr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[qe],function(fe){return Bt(br(fe.data[0],fe.data[1]))},0,re)}function br(ae,te){return or(ae,te||{},0,0)}var qr=null,ha=null;function Qr(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[ye],function(fe){return Bt(Qa(fe.data[0],lt(fe.data[1])))},1,re)}function Qa(ae,te){return Dt(ae,{i:2},te&&te.out,te&&te.dictionary)}var Ua=null,Rr=null;function gn(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[qe,pt,function(){return[wo]}],function(fe){return Bt(wo(fe.data[0],fe.data[1]))},2,re)}function wo(ae,te){te||(te={});var re=Nt(),fe=ae.length;re.p(ae);var Ce=or(ae,te,er(te),8),Se=Ce.length;return on(Ce,te),dt(Ce,Se-8,re.d()),dt(Ce,Se-4,fe),Ce}var eo=null,Oo=null;function Jo(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[ye,Re,function(){return[oo]}],function(fe){return Bt(oo(fe.data[0],fe.data[1]))},3,re)}function oo(ae,te){var re=Bn(ae);return re+8>ae.length&&At(6,"invalid gzip data"),Dt(ae.subarray(re,-8),{i:2},te&&te.out||new nt(bn(ae)),te&&te.dictionary)}var Xo=null,qo=null;function Co(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[qe,Xe,function(){return[Dn]}],function(fe){return Bt(Dn(fe.data[0],fe.data[1]))},4,re)}function Dn(ae,te){te||(te={});var re=_n();re.p(ae);var fe=or(ae,te,te.dictionary?6:2,4);return cr(fe,te),dt(fe,fe.length-4,re.d()),fe}var kn=null,vn=null;function Ur(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),Yt(ae,te,[ye,Qt,function(){return[Aa]}],function(fe){return Bt(Aa(fe.data[0],lt(fe.data[1])))},5,re)}function Aa(ae,te){return Dt(ae.subarray(yr(ae,te&&te.dictionary),-4),{i:2},te&&te.out,te&&te.dictionary)}var Nr=null,ga=null;function xa(ae,te,re){return re||(re=te,te={}),typeof re!="function"&&At(7),ae[0]==31&&ae[1]==139&&ae[2]==8?Jo(ae,te,re):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?Qr(ae,te,re):Ur(ae,te,re)}function wa(ae,te){return ae[0]==31&&ae[1]==139&&ae[2]==8?oo(ae,te):(ae[0]&15)!=8||ae[0]>>4>7||(ae[0]<<8|ae[1])%31?Qa(ae,te):Aa(ae,te)}var to=function(ae,te,re,fe){for(var Ce in ae){var Se=ae[Ce],De=te+Ce,je=fe;Array.isArray(Se)&&(je=Je(fe,Se[1]),Se=Se[0]),Se instanceof nt?re[De]=[Se,je]:(re[De+="/"]=[new nt(0),je],to(Se,De,re,fe))}},$o=typeof TextEncoder!="undefined"&&new TextEncoder,Er=typeof TextDecoder!="undefined"&&new TextDecoder,Ea=0;try{Er.decode(Hn,{stream:!0}),Ea=1}catch(ae){}var Ho=function(ae){for(var te="",re=0;;){var fe=ae[re++],Ce=(fe>127)+(fe>223)+(fe>239);if(re+Ce>ae.length)return{s:te,r:Te(ae,re-1)};Ce?Ce==3?(fe=((fe&15)<<18|(ae[re++]&63)<<12|(ae[re++]&63)<<6|ae[re++]&63)-65536,te+=String.fromCharCode(55296|fe>>10,56320|fe&1023)):Ce&1?te+=String.fromCharCode((fe&31)<<6|ae[re++]&63):te+=String.fromCharCode((fe&15)<<12|(ae[re++]&63)<<6|ae[re++]&63):te+=String.fromCharCode(fe)}},Lo=null,Qo=null;function io(ae,te){if(te){for(var re=new nt(ae.length),fe=0;fe>1)),De=0,je=function(vt){Se[De++]=vt},fe=0;feSe.length){var _e=new nt(De+8+(Ce-fe<<1));_e.set(Se),Se=_e}var rt=ae.charCodeAt(fe);rt<128||te?je(rt):rt<2048?(je(192|rt>>6),je(128|rt&63)):rt>55295&&rt<57344?(rt=65536+(rt&1047552)|ae.charCodeAt(++fe)&1023,je(240|rt>>18),je(128|rt>>12&63),je(128|rt>>6&63),je(128|rt&63)):(je(224|rt>>12),je(128|rt>>6&63),je(128|rt&63))}return Te(Se,0,De)}function hi(ae,te){if(te){for(var re="",fe=0;fe65535&&At(9),te+=fe+4}return te},sA=function(ae,te,re,fe,Ce,Se,De,je){var _e=fe.length,rt=re.extra,vt=je&&je.length,St=zo(rt);dt(ae,te,De!=null?33639248:67324752),te+=4,De!=null&&(ae[te++]=20,ae[te++]=re.os),ae[te]=20,te+=2,ae[te++]=re.flag<<1|(Se<0&&8),ae[te++]=Ce&&8,ae[te++]=re.compression&255,ae[te++]=re.compression>>8;var Ot=new Date(re.mtime==null?Date.now():re.mtime),$e=Ot.getFullYear()-1980;if(($e<0||$e>119)&&At(10),dt(ae,te,$e<<25|Ot.getMonth()+1<<21|Ot.getDate()<<16|Ot.getHours()<<11|Ot.getMinutes()<<5|Ot.getSeconds()>>1),te+=4,Se!=-1&&(dt(ae,te,re.crc),dt(ae,te+4,Se<0?-Se-2:Se),dt(ae,te+8,re.size)),dt(ae,te+12,_e),dt(ae,te+14,St),te+=16,De!=null&&(dt(ae,te,vt),dt(ae,te+6,re.attrs),dt(ae,te+10,De),te+=14),ae.set(fe,te),te+=_e,St)for(var ln in rt){var Xt=rt[ln],un=Xt.length;dt(ae,te,+ln),dt(ae,te+2,un),ae.set(Xt,te+4),te+=4+un}return vt&&(ae.set(je,te),te+=vt),te},XA=function(ae,te,re,fe,Ce){dt(ae,te,101010256),dt(ae,te+8,re),dt(ae,te+10,re),dt(ae,te+12,fe),dt(ae,te+16,Ce)},_i=null,Dr=null,Gl=null,Fs=null;function xs(ae,te,re){re||(re=te,te={}),typeof re!="function"&&At(7);var fe={};to(ae,"",fe,te);var Ce=Object.keys(fe),Se=Ce.length,De=0,je=0,_e=Se,rt=new Array(Se),vt=[],St=function(){for(var un=0;un65535&&Ue(At(11,0,1),null),!Tn)Ue(null,jn);else if(Or<16e4)try{Ue(null,br(jn,Jn))}catch(Ke){Ue(Ke,null)}else vt.push(hr(jn,Jn,Ue))},Xt=0;Xt<_e;++Xt)ln(Xt);return St}function JA(ae,te){te||(te={});var re={},fe=[];to(ae,"",re,te);var Ce=0,Se=0;for(var De in re){var je=re[De],_e=je[0],rt=je[1],vt=rt.level==0?0:8,St=io(De),Ot=St.length,$e=rt.comment,ln=$e&&io($e),Xt=ln&&ln.length,un=zo(rt.extra);Ot>65535&&At(11);var Rt=vt?br(_e,rt):_e,cn=Rt.length,jn=Nt();jn.p(_e),fe.push(Je(rt,{size:_e.length,crc:jn.d(),c:Rt,f:St,m:ln,u:Ot!=De.length||ln&&$e.length!=Xt,o:Ce,compression:vt})),Ce+=30+Ot+un+cn,Se+=76+2*(Ot+un)+(Xt||0)+cn}for(var Jn=new nt(Se+22),fr=Ce,Or=Se-Ce,nr=0;nr65558)return De(At(13,0,1),null),Ce;var _e=fn(ae,je+8);if(_e){var rt=_e,vt=Tt(ae,je+16),St=vt==4294967295||rt==65535;if(St){var Ot=Tt(ae,je-12);St=Tt(ae,Ot)==101075792,St&&(rt=_e=Tt(ae,Ot+32),vt=Tt(ae,Ot+48))}for(var $e=te&&te.filter,ln=function(un){var Rt=Ji(ae,vt,St),cn=Rt[0],jn=Rt[1],Jn=Rt[2],fr=Rt[3],Or=Rt[4],nr=Rt[5],Cn=Ei(ae,nr);vt=Or;var ar=function(_t,$t){_t?(Ce(),De(_t,null)):($t&&(Se[fr]=$t),--_e||De(null,Se))};if(!$e||$e({name:fr,size:jn,originalSize:Jn,compression:cn}))if(!cn)ar(null,Te(ae,Cn,Cn+jn));else if(cn==8){var Sr=ae.subarray(Cn,Cn+jn);if(Jn<524288||jn>.8*Jn)try{ar(null,Qa(Sr,{out:new nt(Jn)}))}catch(_t){ar(_t,null)}else fe.push(Qr(Sr,{size:Jn},ar))}else ar(At(14,"unknown compression type "+cn,1),null);else ar(null,null)},Xt=0;Xt65558)&&At(13);var Ce=fn(ae,fe+8);if(!Ce)return{};var Se=Tt(ae,fe+16),De=Se==4294967295||Ce==65535;if(De){var je=Tt(ae,fe-12);De=Tt(ae,je)==101075792,De&&(Ce=Tt(ae,je+32),Se=Tt(ae,je+48))}for(var _e=te&&te.filter,rt=0;rt=200&&te.status<=299}function ms(ae){try{ae.dispatchEvent(new MouseEvent("click"))}catch(re){var te=document.createEvent("MouseEvents");te.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),ae.dispatchEvent(te)}}var ps,qA,jA=Ia.saveAs||((typeof window=="undefined"?"undefined":(0,he.Z)(window))!=="object"||window!==Ia?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(ae,te,re){var fe=Ia.URL||Ia.webkitURL,Ce=document.createElement("a");te=te||ae.name||"download",Ce.download=te,Ce.rel="noopener",typeof ae=="string"?(Ce.href=ae,Ce.origin!==location.origin?ml(Ce.href)?Sa(ae,te,re):ms(Ce,Ce.target="_blank"):ms(Ce)):(Ce.href=fe.createObjectURL(ae),setTimeout(function(){fe.revokeObjectURL(Ce.href)},4e4),setTimeout(function(){ms(Ce)},0))}:"msSaveOrOpenBlob"in navigator?function(ae,te,re){if(te=te||ae.name||"download",typeof ae=="string")if(ml(ae))Sa(ae,te,re);else{var fe=document.createElement("a");fe.href=ae,fe.target="_blank",setTimeout(function(){ms(fe)})}else navigator.msSaveOrOpenBlob(function(Ce,Se){return Se===void 0?Se={autoBom:!1}:(0,he.Z)(Se)!=="object"&&(Oa.warn("Deprecated: Expected third argument to be a object"),Se={autoBom:!Se}),Se.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(Ce.type)?new Blob(["\uFEFF",Ce],{type:Ce.type}):Ce}(ae,re),te)}:function(ae,te,re,fe){if((fe=fe||open("","_blank"))&&(fe.document.title=fe.document.body.innerText="downloading..."),typeof ae=="string")return Sa(ae,te,re);var Ce=ae.type==="application/octet-stream",Se=/constructor/i.test(Ia.HTMLElement)||Ia.safari,De=/CriOS\/[\d]+/.test(navigator.userAgent);if((De||Ce&&Se)&&(typeof FileReader=="undefined"?"undefined":(0,he.Z)(FileReader))==="object"){var je=new FileReader;je.onloadend=function(){var vt=je.result;vt=De?vt:vt.replace(/^data:[^;]*;/,"data:attachment/file;"),fe?fe.location.href=vt:location=vt,fe=null},je.readAsDataURL(ae)}else{var _e=Ia.URL||Ia.webkitURL,rt=_e.createObjectURL(ae);fe?fe.location=rt:location.href=rt,fe=null,setTimeout(function(){_e.revokeObjectURL(rt)},4e4)}});function vs(ae){var te;ae=ae||"",this.ok=!1,ae.charAt(0)=="#"&&(ae=ae.substr(1,6)),ae={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[ae=(ae=ae.replace(/ /g,"")).toLowerCase()]||ae;for(var re=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(je){return[parseInt(je[1]),parseInt(je[2]),parseInt(je[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(je){return[parseInt(je[1],16),parseInt(je[2],16),parseInt(je[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(je){return[parseInt(je[1]+je[1],16),parseInt(je[2]+je[2],16),parseInt(je[3]+je[3],16)]}}],fe=0;fe255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var je=this.r.toString(16),_e=this.g.toString(16),rt=this.b.toString(16);return je.length==1&&(je="0"+je),_e.length==1&&(_e="0"+_e),rt.length==1&&(rt="0"+rt),"#"+je+_e+rt}}function $A(ae,te){var re=ae[0],fe=ae[1],Ce=ae[2],Se=ae[3];re=Ui(re,fe,Ce,Se,te[0],7,-680876936),Se=Ui(Se,re,fe,Ce,te[1],12,-389564586),Ce=Ui(Ce,Se,re,fe,te[2],17,606105819),fe=Ui(fe,Ce,Se,re,te[3],22,-1044525330),re=Ui(re,fe,Ce,Se,te[4],7,-176418897),Se=Ui(Se,re,fe,Ce,te[5],12,1200080426),Ce=Ui(Ce,Se,re,fe,te[6],17,-1473231341),fe=Ui(fe,Ce,Se,re,te[7],22,-45705983),re=Ui(re,fe,Ce,Se,te[8],7,1770035416),Se=Ui(Se,re,fe,Ce,te[9],12,-1958414417),Ce=Ui(Ce,Se,re,fe,te[10],17,-42063),fe=Ui(fe,Ce,Se,re,te[11],22,-1990404162),re=Ui(re,fe,Ce,Se,te[12],7,1804603682),Se=Ui(Se,re,fe,Ce,te[13],12,-40341101),Ce=Ui(Ce,Se,re,fe,te[14],17,-1502002290),re=$n(re,fe=Ui(fe,Ce,Se,re,te[15],22,1236535329),Ce,Se,te[1],5,-165796510),Se=$n(Se,re,fe,Ce,te[6],9,-1069501632),Ce=$n(Ce,Se,re,fe,te[11],14,643717713),fe=$n(fe,Ce,Se,re,te[0],20,-373897302),re=$n(re,fe,Ce,Se,te[5],5,-701558691),Se=$n(Se,re,fe,Ce,te[10],9,38016083),Ce=$n(Ce,Se,re,fe,te[15],14,-660478335),fe=$n(fe,Ce,Se,re,te[4],20,-405537848),re=$n(re,fe,Ce,Se,te[9],5,568446438),Se=$n(Se,re,fe,Ce,te[14],9,-1019803690),Ce=$n(Ce,Se,re,fe,te[3],14,-187363961),fe=$n(fe,Ce,Se,re,te[8],20,1163531501),re=$n(re,fe,Ce,Se,te[13],5,-1444681467),Se=$n(Se,re,fe,Ce,te[2],9,-51403784),Ce=$n(Ce,Se,re,fe,te[7],14,1735328473),re=Zn(re,fe=$n(fe,Ce,Se,re,te[12],20,-1926607734),Ce,Se,te[5],4,-378558),Se=Zn(Se,re,fe,Ce,te[8],11,-2022574463),Ce=Zn(Ce,Se,re,fe,te[11],16,1839030562),fe=Zn(fe,Ce,Se,re,te[14],23,-35309556),re=Zn(re,fe,Ce,Se,te[1],4,-1530992060),Se=Zn(Se,re,fe,Ce,te[4],11,1272893353),Ce=Zn(Ce,Se,re,fe,te[7],16,-155497632),fe=Zn(fe,Ce,Se,re,te[10],23,-1094730640),re=Zn(re,fe,Ce,Se,te[13],4,681279174),Se=Zn(Se,re,fe,Ce,te[0],11,-358537222),Ce=Zn(Ce,Se,re,fe,te[3],16,-722521979),fe=Zn(fe,Ce,Se,re,te[6],23,76029189),re=Zn(re,fe,Ce,Se,te[9],4,-640364487),Se=Zn(Se,re,fe,Ce,te[12],11,-421815835),Ce=Zn(Ce,Se,re,fe,te[15],16,530742520),re=lr(re,fe=Zn(fe,Ce,Se,re,te[2],23,-995338651),Ce,Se,te[0],6,-198630844),Se=lr(Se,re,fe,Ce,te[7],10,1126891415),Ce=lr(Ce,Se,re,fe,te[14],15,-1416354905),fe=lr(fe,Ce,Se,re,te[5],21,-57434055),re=lr(re,fe,Ce,Se,te[12],6,1700485571),Se=lr(Se,re,fe,Ce,te[3],10,-1894986606),Ce=lr(Ce,Se,re,fe,te[10],15,-1051523),fe=lr(fe,Ce,Se,re,te[1],21,-2054922799),re=lr(re,fe,Ce,Se,te[8],6,1873313359),Se=lr(Se,re,fe,Ce,te[15],10,-30611744),Ce=lr(Ce,Se,re,fe,te[6],15,-1560198380),fe=lr(fe,Ce,Se,re,te[13],21,1309151649),re=lr(re,fe,Ce,Se,te[4],6,-145523070),Se=lr(Se,re,fe,Ce,te[11],10,-1120210379),Ce=lr(Ce,Se,re,fe,te[2],15,718787259),fe=lr(fe,Ce,Se,re,te[9],21,-343485551),ae[0]=ka(re,ae[0]),ae[1]=ka(fe,ae[1]),ae[2]=ka(Ce,ae[2]),ae[3]=ka(Se,ae[3])}function _A(ae,te,re,fe,Ce,Se){return te=ka(ka(te,ae),ka(fe,Se)),ka(te<>>32-Ce,re)}function Ui(ae,te,re,fe,Ce,Se,De){return _A(te&re|~te&fe,ae,te,Ce,Se,De)}function $n(ae,te,re,fe,Ce,Se,De){return _A(te&fe|re&~fe,ae,te,Ce,Se,De)}function Zn(ae,te,re,fe,Ce,Se,De){return _A(te^re^fe,ae,te,Ce,Se,De)}function lr(ae,te,re,fe,Ce,Se,De){return _A(re^(te|~fe),ae,te,Ce,Se,De)}function Yr(ae){var te,re=ae.length,fe=[1732584193,-271733879,-1732584194,271733878];for(te=64;te<=ae.length;te+=64)$A(fe,tn(ae.substring(te-64,te)));ae=ae.substring(te-64);var Ce=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(te=0;te>2]|=ae.charCodeAt(te)<<(te%4<<3);if(Ce[te>>2]|=128<<(te%4<<3),te>55)for($A(fe,Ce),te=0;te<16;te++)Ce[te]=0;return Ce[14]=8*re,$A(fe,Ce),fe}function tn(ae){var te,re=[];for(te=0;te<64;te+=4)re[te>>2]=ae.charCodeAt(te)+(ae.charCodeAt(te+1)<<8)+(ae.charCodeAt(te+2)<<16)+(ae.charCodeAt(te+3)<<24);return re}ps=Ia.atob.bind(Ia),qA=Ia.btoa.bind(Ia);var co="0123456789abcdef".split("");function zr(ae){for(var te="",re=0;re<4;re++)te+=co[ae>>8*re+4&15]+co[ae>>8*re&15];return te}function Ao(ae){return String.fromCharCode((255&ae)>>0,(65280&ae)>>8,(16711680&ae)>>16,(4278190080&ae)>>24)}function Ta(ae){return Yr(ae).map(Ao).join("")}var Mo=function(ae){for(var te=0;te>16)+(te>>16)+(re>>16)<<16|65535&re}return ae+te&4294967295}function ya(ae,te){var re,fe,Ce,Se;if(ae!==re){for(var De=(Ce=ae,Se=1+(256/ae.length>>0),new Array(Se+1).join(Ce)),je=[],_e=0;_e<256;_e++)je[_e]=_e;var rt=0;for(_e=0;_e<256;_e++){var vt=je[_e];rt=(rt+vt+De.charCodeAt(_e))%256,je[_e]=je[rt],je[rt]=vt}re=ae,fe=je}else je=fe;var St=te.length,Ot=0,$e=0,ln="";for(_e=0;_e\x80/\f\xA9\xFEdSiz";var Se=(te+this.padding).substr(0,32),De=(re+this.padding).substr(0,32);this.O=this.processOwnerPassword(Se,De),this.P=-(1+(255^Ce)),this.encryptionKey=Ta(Se+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(fe)).substr(0,5),this.U=ya(this.encryptionKey,this.padding)}function Bi(ae){if(/[^\u0000-\u00ff]/.test(ae))throw new Error("Invalid PDF Name Object: "+ae+", Only accept ASCII characters.");for(var te="",re=ae.length,fe=0;fe126?te+="#"+("0"+Ce.toString(16)).slice(-2):te+=ae[fe]}return te}function Ga(ae){if((0,he.Z)(ae)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var te={};this.subscribe=function(re,fe,Ce){if(Ce=Ce||!1,typeof re!="string"||typeof fe!="function"||typeof Ce!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");te.hasOwnProperty(re)||(te[re]={});var Se=Math.random().toString(35);return te[re][Se]=[fe,!!Ce],Se},this.unsubscribe=function(re){for(var fe in te)if(te[fe][re])return delete te[fe][re],Object.keys(te[fe]).length===0&&delete te[fe],!0;return!1},this.publish=function(re){if(te.hasOwnProperty(re)){var fe=Array.prototype.slice.call(arguments,1),Ce=[];for(var Se in te[re]){var De=te[re][Se];try{De[0].apply(ae,fe)}catch(je){Ia.console&&Oa.error("jsPDF PubSub Error",je.message,je)}De[1]&&Ce.push(Se)}Ce.length&&Ce.forEach(this.unsubscribe)}},this.getTopics=function(){return te}}function oi(ae){if(!(this instanceof oi))return new oi(ae);var te="opacity,stroke-opacity".split(",");for(var re in ae)ae.hasOwnProperty(re)&&te.indexOf(re)>=0&&(this[re]=ae[re]);this.id="",this.objectNumber=-1}function Fi(ae,te){this.gState=ae,this.matrix=te,this.id="",this.objectNumber=-1}function Gr(ae,te,re,fe,Ce){if(!(this instanceof Gr))return new Gr(ae,te,re,fe,Ce);this.type=ae==="axial"?2:3,this.coords=te,this.colors=re,Fi.call(this,fe,Ce)}function jr(ae,te,re,fe,Ce){if(!(this instanceof jr))return new jr(ae,te,re,fe,Ce);this.boundingBox=ae,this.xStep=te,this.yStep=re,this.stream="",this.cloneIndex=0,Fi.call(this,fe,Ce)}function Kt(ae){var te,re=typeof arguments[0]=="string"?arguments[0]:"p",fe=arguments[1],Ce=arguments[2],Se=arguments[3],De=[],je=1,_e=16,rt="S",vt=null;(0,he.Z)(ae=ae||{})==="object"&&(re=ae.orientation,fe=ae.unit||fe,Ce=ae.format||Ce,Se=ae.compress||ae.compressPdf||Se,(vt=ae.encryption||null)!==null&&(vt.userPassword=vt.userPassword||"",vt.ownerPassword=vt.ownerPassword||"",vt.userPermissions=vt.userPermissions||[]),je=typeof ae.userUnit=="number"?Math.abs(ae.userUnit):1,ae.precision!==void 0&&(te=ae.precision),ae.floatPrecision!==void 0&&(_e=ae.floatPrecision),rt=ae.defaultPathOperation||"S"),De=ae.filters||(Se===!0?["FlateEncode"]:De),fe=fe||"mm",re=(""+(re||"P")).toLowerCase();var St=ae.putOnlyUsedFonts||!1,Ot={},$e={internal:{},__private__:{}};$e.__private__.PubSub=Ga;var ln="1.3",Xt=$e.__private__.getPdfVersion=function(){return ln};$e.__private__.setPdfVersion=function(Le){ln=Le};var un={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};$e.__private__.getPageFormats=function(){return un};var Rt=$e.__private__.getPageFormat=function(Le){return un[Le]};Ce=Ce||"a4";var cn={COMPAT:"compat",ADVANCED:"advanced"},jn=cn.COMPAT;function Jn(){this.saveGraphicsState(),Wt(new Fa(kr,0,0,-kr,0,ll()*kr).toString()+" cm"),this.setFontSize(this.getFontSize()/kr),rt="n",jn=cn.ADVANCED}function fr(){this.restoreGraphicsState(),rt="S",jn=cn.COMPAT}var Or=$e.__private__.combineFontStyleAndFontWeight=function(Le,wt){if(Le=="bold"&&wt=="normal"||Le=="bold"&&wt==400||Le=="normal"&&wt=="italic"||Le=="bold"&&wt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return wt&&(Le=wt==400||wt==="normal"?Le==="italic"?"italic":"normal":wt!=700&&wt!=="bold"||Le!=="normal"?(wt==700?"bold":wt)+""+Le:"bold"),Le};$e.advancedAPI=function(Le){var wt=jn===cn.COMPAT;return wt&&Jn.call(this),typeof Le!="function"||(Le(this),wt&&fr.call(this)),this},$e.compatAPI=function(Le){var wt=jn===cn.ADVANCED;return wt&&fr.call(this),typeof Le!="function"||(Le(this),wt&&Jn.call(this)),this},$e.isAdvancedAPI=function(){return jn===cn.ADVANCED};var nr,Cn=function(Le){if(jn!==cn.ADVANCED)throw new Error(Le+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},ar=$e.roundToPrecision=$e.__private__.roundToPrecision=function(Le,wt){var dn=te||wt;if(isNaN(Le)||isNaN(dn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Le.toFixed(dn).replace(/0+$/,"")};nr=$e.hpf=$e.__private__.hpf=typeof _e=="number"?function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.hpf");return ar(Le,_e)}:_e==="smart"?function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.hpf");return ar(Le,Le>-1&&Le<1?16:5)}:function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.hpf");return ar(Le,16)};var Sr=$e.f2=$e.__private__.f2=function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.f2");return ar(Le,2)},_t=$e.__private__.f3=function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.f3");return ar(Le,3)},$t=$e.scale=$e.__private__.scale=function(Le){if(isNaN(Le))throw new Error("Invalid argument passed to jsPDF.scale");return jn===cn.COMPAT?Le*kr:jn===cn.ADVANCED?Le:void 0},Tn=function(Le){return jn===cn.COMPAT?ll()-Le:jn===cn.ADVANCED?Le:void 0},Ue=function(Le){return $t(Tn(Le))};$e.__private__.setPrecision=$e.setPrecision=function(Le){typeof parseInt(Le,10)=="number"&&(te=parseInt(Le,10))};var Ke,et="00000000000000000000000000000000",ut=$e.__private__.getFileId=function(){return et},ht=$e.__private__.setFileId=function(Le){return et=Le!==void 0&&/^[a-fA-F0-9]{32}$/.test(Le)?Le.toUpperCase():et.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),vt!==null&&(xA=new so(vt.userPermissions,vt.userPassword,vt.ownerPassword,et)),et};$e.setFileId=function(Le){return ht(Le),this},$e.getFileId=function(){return ut()};var bt=$e.__private__.convertDateToPDFDate=function(Le){var wt=Le.getTimezoneOffset(),dn=wt<0?"+":"-",Un=Math.floor(Math.abs(wt/60)),Xn=Math.abs(wt%60),Br=[dn,Et(Un),"'",Et(Xn),"'"].join("");return["D:",Le.getFullYear(),Et(Le.getMonth()+1),Et(Le.getDate()),Et(Le.getHours()),Et(Le.getMinutes()),Et(Le.getSeconds()),Br].join("")},Mt=$e.__private__.convertPDFDateToDate=function(Le){var wt=parseInt(Le.substr(2,4),10),dn=parseInt(Le.substr(6,2),10)-1,Un=parseInt(Le.substr(8,2),10),Xn=parseInt(Le.substr(10,2),10),Br=parseInt(Le.substr(12,2),10),Kr=parseInt(Le.substr(14,2),10);return new Date(wt,dn,Un,Xn,Br,Kr,0)},an=$e.__private__.setCreationDate=function(Le){var wt;if(Le===void 0&&(Le=new Date),Le instanceof Date)wt=bt(Le);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(Le))throw new Error("Invalid argument passed to jsPDF.setCreationDate");wt=Le}return Ke=wt},Ye=$e.__private__.getCreationDate=function(Le){var wt=Ke;return Le==="jsDate"&&(wt=Mt(Ke)),wt};$e.setCreationDate=function(Le){return an(Le),this},$e.getCreationDate=function(Le){return Ye(Le)};var ct,Et=$e.__private__.padd2=function(Le){return("0"+parseInt(Le)).slice(-2)},Lt=$e.__private__.padd2Hex=function(Le){return("00"+(Le=Le.toString())).substr(Le.length)},Vt=0,nn=[],sn=[],pn=0,Mn=[],zn=[],Vn=!1,tr=sn,Lr=function(){Vt=0,pn=0,sn=[],nn=[],Mn=[],ao=ti(),Wo=ti()};$e.__private__.setCustomOutputDestination=function(Le){Vn=!0,tr=Le};var Rn=function(Le){Vn||(tr=Le)};$e.__private__.resetCustomOutputDestination=function(){Vn=!1,tr=sn};var Wt=$e.__private__.out=function(Le){return Le=Le.toString(),pn+=Le.length+1,tr.push(Le),tr},Wr=$e.__private__.write=function(Le){return Wt(arguments.length===1?Le.toString():Array.prototype.join.call(arguments," "))},Tr=$e.__private__.getArrayBuffer=function(Le){for(var wt=Le.length,dn=new ArrayBuffer(wt),Un=new Uint8Array(dn);wt--;)Un[wt]=Le.charCodeAt(wt);return dn},Yn=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];$e.__private__.getStandardFonts=function(){return Yn};var ir=ae.fontSize||16;$e.__private__.setFontSize=$e.setFontSize=function(Le){return ir=jn===cn.ADVANCED?Le/kr:Le,this};var Ar,qn=$e.__private__.getFontSize=$e.getFontSize=function(){return jn===cn.COMPAT?ir:ir*kr},vr=ae.R2L||!1;$e.__private__.setR2L=$e.setR2L=function(Le){return vr=Le,this},$e.__private__.getR2L=$e.getR2L=function(){return vr};var Mr,sa=$e.__private__.setZoomMode=function(Le){var wt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Le))Ar=Le;else if(isNaN(Le)){if(wt.indexOf(Le)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Le+'" is not recognized.');Ar=Le}else Ar=parseInt(Le,10)};$e.__private__.getZoomMode=function(){return Ar};var ta,Xr=$e.__private__.setPageMode=function(Le){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Le)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Le+'" is not recognized.');Mr=Le};$e.__private__.getPageMode=function(){return Mr};var da=$e.__private__.setLayoutMode=function(Le){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Le)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Le+'" is not recognized.');ta=Le};$e.__private__.getLayoutMode=function(){return ta},$e.__private__.setDisplayMode=$e.setDisplayMode=function(Le,wt,dn){return sa(Le),da(wt),Xr(dn),this};var na={title:"",subject:"",author:"",keywords:"",creator:""};$e.__private__.getDocumentProperty=function(Le){if(Object.keys(na).indexOf(Le)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return na[Le]},$e.__private__.getDocumentProperties=function(){return na},$e.__private__.setDocumentProperties=$e.setProperties=$e.setDocumentProperties=function(Le){for(var wt in na)na.hasOwnProperty(wt)&&Le[wt]&&(na[wt]=Le[wt]);return this},$e.__private__.setDocumentProperty=function(Le,wt){if(Object.keys(na).indexOf(Le)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return na[Le]=wt};var Pa,kr,To,Ya,ja,ho={},Ka={},_o=[],Za={},nA={},_r={},ma={},va=null,ea=0,ua=[],Zr=new Ga($e),za=ae.hotfixes||[],Ja={},uo={},xi=[],Fa=function Le(wt,dn,Un,Xn,Br,Kr){if(!(this instanceof Le))return new Le(wt,dn,Un,Xn,Br,Kr);isNaN(wt)&&(wt=1),isNaN(dn)&&(dn=0),isNaN(Un)&&(Un=0),isNaN(Xn)&&(Xn=1),isNaN(Br)&&(Br=0),isNaN(Kr)&&(Kr=0),this._matrix=[wt,dn,Un,Xn,Br,Kr]};Object.defineProperty(Fa.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Le){this._matrix[0]=Le}}),Object.defineProperty(Fa.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Le){this._matrix[1]=Le}}),Object.defineProperty(Fa.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Le){this._matrix[2]=Le}}),Object.defineProperty(Fa.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Le){this._matrix[3]=Le}}),Object.defineProperty(Fa.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Le){this._matrix[4]=Le}}),Object.defineProperty(Fa.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Le){this._matrix[5]=Le}}),Object.defineProperty(Fa.prototype,"a",{get:function(){return this._matrix[0]},set:function(Le){this._matrix[0]=Le}}),Object.defineProperty(Fa.prototype,"b",{get:function(){return this._matrix[1]},set:function(Le){this._matrix[1]=Le}}),Object.defineProperty(Fa.prototype,"c",{get:function(){return this._matrix[2]},set:function(Le){this._matrix[2]=Le}}),Object.defineProperty(Fa.prototype,"d",{get:function(){return this._matrix[3]},set:function(Le){this._matrix[3]=Le}}),Object.defineProperty(Fa.prototype,"e",{get:function(){return this._matrix[4]},set:function(Le){this._matrix[4]=Le}}),Object.defineProperty(Fa.prototype,"f",{get:function(){return this._matrix[5]},set:function(Le){this._matrix[5]=Le}}),Object.defineProperty(Fa.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Fa.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Fa.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Fa.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Fa.prototype.join=function(Le){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(nr).join(Le)},Fa.prototype.multiply=function(Le){var wt=Le.sx*this.sx+Le.shy*this.shx,dn=Le.sx*this.shy+Le.shy*this.sy,Un=Le.shx*this.sx+Le.sy*this.shx,Xn=Le.shx*this.shy+Le.sy*this.sy,Br=Le.tx*this.sx+Le.ty*this.shx+this.tx,Kr=Le.tx*this.shy+Le.ty*this.sy+this.ty;return new Fa(wt,dn,Un,Xn,Br,Kr)},Fa.prototype.decompose=function(){var Le=this.sx,wt=this.shy,dn=this.shx,Un=this.sy,Xn=this.tx,Br=this.ty,Kr=Math.sqrt(Le*Le+wt*wt),ba=(Le/=Kr)*dn+(wt/=Kr)*Un;dn-=Le*ba,Un-=wt*ba;var no=Math.sqrt(dn*dn+Un*Un);return ba/=no,Le*(Un/=no)>16&255,Un=no>>8&255,Xn=255&no}if(Un===void 0||Br===void 0&&dn===Un&&Un===Xn)if(typeof dn=="string")wt=dn+" "+Kr[0];else switch(Le.precision){case 2:wt=Sr(dn/255)+" "+Kr[0];break;case 3:default:wt=_t(dn/255)+" "+Kr[0]}else if(Br===void 0||(0,he.Z)(Br)==="object"){if(Br&&!isNaN(Br.a)&&Br.a===0)return wt=["1.","1.","1.",Kr[1]].join(" ");if(typeof dn=="string")wt=[dn,Un,Xn,Kr[1]].join(" ");else switch(Le.precision){case 2:wt=[Sr(dn/255),Sr(Un/255),Sr(Xn/255),Kr[1]].join(" ");break;default:case 3:wt=[_t(dn/255),_t(Un/255),_t(Xn/255),Kr[1]].join(" ")}}else if(typeof dn=="string")wt=[dn,Un,Xn,Br,Kr[2]].join(" ");else switch(Le.precision){case 2:wt=[Sr(dn),Sr(Un),Sr(Xn),Sr(Br),Kr[2]].join(" ");break;case 3:default:wt=[_t(dn),_t(Un),_t(Xn),_t(Br),Kr[2]].join(" ")}return wt},qa=$e.__private__.getFilters=function(){return De},Ci=$e.__private__.putStream=function(Le){var wt=(Le=Le||{}).data||"",dn=Le.filters||qa(),Un=Le.alreadyAppliedFilters||[],Xn=Le.addLength1||!1,Br=wt.length,Kr=Le.objectId,ba=function(zA){return zA};if(vt!==null&&Kr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");vt!==null&&(ba=xA.encryptor(Kr,0));var no={};dn===!0&&(dn=["FlateEncode"]);var ko=Le.additionalKeyValues||[],Do=(no=Kt.API.processDataByFilters!==void 0?Kt.API.processDataByFilters(wt,dn):{data:wt,reverseChain:[]}).reverseChain+(Array.isArray(Un)?Un.join(" "):Un.toString());if(no.data.length!==0&&(ko.push({key:"Length",value:no.data.length}),Xn===!0&&ko.push({key:"Length1",value:Br})),Do.length!=0)if(Do.split("/").length-1==1)ko.push({key:"Filter",value:Do});else{ko.push({key:"Filter",value:"["+Do+"]"});for(var si=0;si>"),no.data.length!==0&&(Wt("stream"),Wt(ba(no.data)),Wt("endstream"))},Ii=$e.__private__.putPage=function(Le){var wt=Le.number,dn=Le.data,Un=Le.objId,Xn=Le.contentsObjId;pA(Un,!0),Wt("<>"),Wt("endobj");var Br=dn.join(` `);return jn===cn.ADVANCED&&(Br+=` Q`),pA(Xn,!0),Ci({data:Br,filters:qa(),objectId:Xn}),Wt("endobj"),Un},uA=$e.__private__.putPages=function(){var Le,wt,dn=[];for(Le=1;Le<=ea;Le++)ua[Le].objId=ti(),ua[Le].contentsObjId=ti();for(Le=1;Le<=ea;Le++)dn.push(Ii({number:Le,data:zn[Le],objId:ua[Le].objId,contentsObjId:ua[Le].contentsObjId,mediaBox:ua[Le].mediaBox,cropBox:ua[Le].cropBox,bleedBox:ua[Le].bleedBox,trimBox:ua[Le].trimBox,artBox:ua[Le].artBox,userUnit:ua[Le].userUnit,rootDictionaryObjId:ao,resourceDictionaryObjId:Wo}));pA(ao,!0),Wt("<>"),Wt("endobj"),Zr.publish("postPutPages")},aA=function(Le){Zr.publish("putFont",{font:Le,out:Wt,newObject:Hr,putStream:Ci}),Le.isAlreadyPutted!==!0&&(Le.objectNumber=Hr(),Wt("<<"),Wt("/Type /Font"),Wt("/BaseFont /"+Bi(Le.postScriptName)),Wt("/Subtype /Type1"),typeof Le.encoding=="string"&&Wt("/Encoding /"+Le.encoding),Wt("/FirstChar 32"),Wt("/LastChar 255"),Wt(">>"),Wt("endobj"))},FA=function(){for(var Le in ho)ho.hasOwnProperty(Le)&&(St===!1||St===!0&&Ot.hasOwnProperty(Le))&&aA(ho[Le])},ws=function(Le){Le.objectNumber=Hr();var wt=[];wt.push({key:"Type",value:"/XObject"}),wt.push({key:"Subtype",value:"/Form"}),wt.push({key:"BBox",value:"["+[nr(Le.x),nr(Le.y),nr(Le.x+Le.width),nr(Le.y+Le.height)].join(" ")+"]"}),wt.push({key:"Matrix",value:"["+Le.matrix.toString()+"]"});var dn=Le.pages[1].join(` `);Ci({data:dn,additionalKeyValues:wt,objectId:Le.objectNumber}),Wt("endobj")},os=function(){for(var Le in Ja)Ja.hasOwnProperty(Le)&&ws(Ja[Le])},RA=function(Le,wt){var dn,Un=[],Xn=1/(wt-1);for(dn=0;dn<1;dn+=Xn)Un.push(dn);if(Un.push(1),Le[0].offset!=0){var Br={offset:0,color:Le[0].color};Le.unshift(Br)}if(Le[Le.length-1].offset!=1){var Kr={offset:1,color:Le[Le.length-1].color};Le.push(Kr)}for(var ba="",no=0,ko=0;koLe[no+1].offset;)no++;var Do=Le[no].offset,si=(dn-Do)/(Le[no+1].offset-Do),Gi=Le[no].color,AA=Le[no+1].color;ba+=Lt(Math.round((1-si)*Gi[0]+si*AA[0]).toString(16))+Lt(Math.round((1-si)*Gi[1]+si*AA[1]).toString(16))+Lt(Math.round((1-si)*Gi[2]+si*AA[2]).toString(16))}return ba.trim()},OA=function(Le,wt){wt||(wt=21);var dn=Hr(),Un=RA(Le.colors,wt),Xn=[];Xn.push({key:"FunctionType",value:"0"}),Xn.push({key:"Domain",value:"[0.0 1.0]"}),Xn.push({key:"Size",value:"["+wt+"]"}),Xn.push({key:"BitsPerSample",value:"8"}),Xn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Xn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ci({data:Un,additionalKeyValues:Xn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:dn}),Wt("endobj"),Le.objectNumber=Hr(),Wt("<< /ShadingType "+Le.type),Wt("/ColorSpace /DeviceRGB");var Br="/Coords ["+nr(parseFloat(Le.coords[0]))+" "+nr(parseFloat(Le.coords[1]))+" ";Le.type===2?Br+=nr(parseFloat(Le.coords[2]))+" "+nr(parseFloat(Le.coords[3])):Br+=nr(parseFloat(Le.coords[2]))+" "+nr(parseFloat(Le.coords[3]))+" "+nr(parseFloat(Le.coords[4]))+" "+nr(parseFloat(Le.coords[5])),Wt(Br+="]"),Le.matrix&&Wt("/Matrix ["+Le.matrix.toString()+"]"),Wt("/Function "+dn+" 0 R"),Wt("/Extend [true true]"),Wt(">>"),Wt("endobj")},cA=function(Le,wt){var dn=ti(),Un=Hr();wt.push({resourcesOid:dn,objectOid:Un}),Le.objectNumber=Un;var Xn=[];Xn.push({key:"Type",value:"/Pattern"}),Xn.push({key:"PatternType",value:"1"}),Xn.push({key:"PaintType",value:"1"}),Xn.push({key:"TilingType",value:"1"}),Xn.push({key:"BBox",value:"["+Le.boundingBox.map(nr).join(" ")+"]"}),Xn.push({key:"XStep",value:nr(Le.xStep)}),Xn.push({key:"YStep",value:nr(Le.yStep)}),Xn.push({key:"Resources",value:dn+" 0 R"}),Le.matrix&&Xn.push({key:"Matrix",value:"["+Le.matrix.toString()+"]"}),Ci({data:Le.stream,additionalKeyValues:Xn,objectId:Le.objectNumber}),Wt("endobj")},bi=function(Le){var wt;for(wt in Za)Za.hasOwnProperty(wt)&&(Za[wt]instanceof Gr?OA(Za[wt]):Za[wt]instanceof jr&&cA(Za[wt],Le))},mi=function(Le){for(var wt in Le.objectNumber=Hr(),Wt("<<"),Le)switch(wt){case"opacity":Wt("/ca "+Sr(Le[wt]));break;case"stroke-opacity":Wt("/CA "+Sr(Le[wt]))}Wt(">>"),Wt("endobj")},Cs=function(){var Le;for(Le in _r)_r.hasOwnProperty(Le)&&mi(_r[Le])},Qs=function(){for(var Le in Wt("/XObject <<"),Ja)Ja.hasOwnProperty(Le)&&Ja[Le].objectNumber>=0&&Wt("/"+Le+" "+Ja[Le].objectNumber+" 0 R");Zr.publish("putXobjectDict"),Wt(">>")},Ws=function(){xA.oid=Hr(),Wt("<<"),Wt("/Filter /Standard"),Wt("/V "+xA.v),Wt("/R "+xA.r),Wt("/U <"+xA.toHexString(xA.U)+">"),Wt("/O <"+xA.toHexString(xA.O)+">"),Wt("/P "+xA.P),Wt(">>"),Wt("endobj")},cs=function(){for(var Le in Wt("/Font <<"),ho)ho.hasOwnProperty(Le)&&(St===!1||St===!0&&Ot.hasOwnProperty(Le))&&Wt("/"+Le+" "+ho[Le].objectNumber+" 0 R");Wt(">>")},_l=function(){if(Object.keys(Za).length>0){for(var Le in Wt("/Shading <<"),Za)Za.hasOwnProperty(Le)&&Za[Le]instanceof Gr&&Za[Le].objectNumber>=0&&Wt("/"+Le+" "+Za[Le].objectNumber+" 0 R");Zr.publish("putShadingPatternDict"),Wt(">>")}},pl=function(Le){if(Object.keys(Za).length>0){for(var wt in Wt("/Pattern <<"),Za)Za.hasOwnProperty(wt)&&Za[wt]instanceof $e.TilingPattern&&Za[wt].objectNumber>=0&&Za[wt].objectNumber>")}},xo=function(){if(Object.keys(_r).length>0){var Le;for(Le in Wt("/ExtGState <<"),_r)_r.hasOwnProperty(Le)&&_r[Le].objectNumber>=0&&Wt("/"+Le+" "+_r[Le].objectNumber+" 0 R");Zr.publish("putGStateDict"),Wt(">>")}},fo=function(Le){pA(Le.resourcesOid,!0),Wt("<<"),Wt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),cs(),_l(),pl(Le.objectOid),xo(),Qs(),Wt(">>"),Wt("endobj")},oA=function(){var Le=[];FA(),Cs(),os(),bi(Le),Zr.publish("putResources"),Le.forEach(fo),fo({resourcesOid:Wo,objectOid:Number.MAX_SAFE_INTEGER}),Zr.publish("postPutResources")},pi=function(){Zr.publish("putAdditionalObjects");for(var Le=0;Le>8&&(no=!0);Le=ba.join("")}for(dn=Le.length;no===void 0&&dn!==0;)Le.charCodeAt(dn-1)>>8&&(no=!0),dn--;if(!no)return Le;for(ba=wt.noBOM?[]:[254,255],dn=0,Un=Le.length;dn>8)>>8)throw new Error("Character at position "+dn+" of string '"+Le+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ba.push(Do),ba.push(ko-(Do<<8))}return String.fromCharCode.apply(void 0,ba)},MA=$e.__private__.pdfEscape=$e.pdfEscape=function(Le,wt){return Al(Le,wt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Fl=$e.__private__.beginPage=function(Le){zn[++ea]=[],ua[ea]={objId:0,contentsObjId:0,userUnit:Number(je),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Le[0]),topRightY:Number(Le[1])}},vl(ea),Rn(zn[ct])},ou=function(Le,wt){var dn,Un,Xn;switch(re=wt||re,typeof Le=="string"&&(dn=Rt(Le.toLowerCase()),Array.isArray(dn)&&(Un=dn[0],Xn=dn[1])),Array.isArray(Le)&&(Un=Le[0]*kr,Xn=Le[1]*kr),isNaN(Un)&&(Un=Ce[0],Xn=Ce[1]),(Un>14400||Xn>14400)&&(Oa.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Un=Math.min(14400,Un),Xn=Math.min(14400,Xn)),Ce=[Un,Xn],re.substr(0,1)){case"l":Xn>Un&&(Ce=[Xn,Un]);break;case"p":Un>Xn&&(Ce=[Xn,Un])}Fl(Ce),Ts(ni),Wt(Ys),ec!==0&&Wt(ec+" J"),tc!==0&&Wt(tc+" j"),Zr.publish("addPage",{pageNumber:ea})},Eu=function(Le){Le>0&&Le<=ea&&(zn.splice(Le,1),ua.splice(Le,1),ea--,ct>ea&&(ct=ea),this.setPage(ct))},vl=function(Le){Le>0&&Le<=ea&&(ct=Le)},Zs=$e.__private__.getNumberOfPages=$e.getNumberOfPages=function(){return zn.length-1},xl=function(Le,wt,dn){var Un,Xn=void 0;return dn=dn||{},Le=Le!==void 0?Le:ho[Pa].fontName,wt=wt!==void 0?wt:ho[Pa].fontStyle,Un=Le.toLowerCase(),Ka[Un]!==void 0&&Ka[Un][wt]!==void 0?Xn=Ka[Un][wt]:Ka[Le]!==void 0&&Ka[Le][wt]!==void 0?Xn=Ka[Le][wt]:dn.disableWarning===!1&&Oa.warn("Unable to look up font label for font '"+Le+"', '"+wt+"'. Refer to getFontList() for available fonts."),Xn||dn.noFallback||(Xn=Ka.times[wt])==null&&(Xn=Ka.times.normal),Xn},Pu=$e.__private__.putInfo=function(){var Le=Hr(),wt=function(Un){return Un};for(var dn in vt!==null&&(wt=xA.encryptor(Le,0)),Wt("<<"),Wt("/Producer ("+MA(wt("jsPDF "+Kt.version))+")"),na)na.hasOwnProperty(dn)&&na[dn]&&Wt("/"+dn.substr(0,1).toUpperCase()+dn.substr(1)+" ("+MA(wt(na[dn]))+")");Wt("/CreationDate ("+MA(wt(Ke))+")"),Wt(">>"),Wt("endobj")},Ll=$e.__private__.putCatalog=function(Le){var wt=(Le=Le||{}).rootDictionaryObjId||ao;switch(Hr(),Wt("<<"),Wt("/Type /Catalog"),Wt("/Pages "+wt+" 0 R"),Ar||(Ar="fullwidth"),Ar){case"fullwidth":Wt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Wt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Wt("/OpenAction [3 0 R /Fit]");break;case"original":Wt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var dn=""+Ar;dn.substr(dn.length-1)==="%"&&(Ar=parseInt(Ar)/100),typeof Ar=="number"&&Wt("/OpenAction [3 0 R /XYZ null null "+Sr(Ar)+"]")}switch(ta||(ta="continuous"),ta){case"continuous":Wt("/PageLayout /OneColumn");break;case"single":Wt("/PageLayout /SinglePage");break;case"two":case"twoleft":Wt("/PageLayout /TwoColumnLeft");break;case"tworight":Wt("/PageLayout /TwoColumnRight")}Mr&&Wt("/PageMode /"+Mr),Zr.publish("putCatalog"),Wt(">>"),Wt("endobj")},Fu=$e.__private__.putTrailer=function(){Wt("trailer"),Wt("<<"),Wt("/Size "+(Vt+1)),Wt("/Root "+Vt+" 0 R"),Wt("/Info "+(Vt-1)+" 0 R"),vt!==null&&Wt("/Encrypt "+xA.oid+" 0 R"),Wt("/ID [ <"+et+"> <"+et+"> ]"),Wt(">>")},iu=$e.__private__.putHeader=function(){Wt("%PDF-"+ln),Wt("%\xBA\xDF\xAC\xE0")},Bl=$e.__private__.putXRef=function(){var Le="0000000000";Wt("xref"),Wt("0 "+(Vt+1)),Wt("0000000000 65535 f ");for(var wt=1;wt<=Vt;wt++)typeof nn[wt]=="function"?Wt((Le+nn[wt]()).slice(-10)+" 00000 n "):nn[wt]!==void 0?Wt((Le+nn[wt]).slice(-10)+" 00000 n "):Wt("0000000000 00000 n ")},Vs=$e.__private__.buildDocument=function(){Lr(),Rn(sn),Zr.publish("buildDocument"),iu(),uA(),pi(),oA(),vt!==null&&Ws(),Pu(),Ll();var Le=pn;return Bl(),Fu(),Wt("startxref"),Wt(""+Le),Wt("%%EOF"),Rn(zn[ct]),sn.join(` `)},Wl=$e.__private__.getBlob=function(Le){return new Blob([Tr(Le)],{type:"application/pdf"})},Il=$e.output=$e.__private__.output=BA(function(Le,wt){switch(typeof(wt=wt||{})=="string"?wt={filename:wt}:wt.filename=wt.filename||"generated.pdf",Le){case void 0:return Vs();case"save":$e.save(wt.filename);break;case"arraybuffer":return Tr(Vs());case"blob":return Wl(Vs());case"bloburi":case"bloburl":if(Ia.URL!==void 0&&typeof Ia.URL.createObjectURL=="function")return Ia.URL&&Ia.URL.createObjectURL(Wl(Vs()))||void 0;Oa.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var dn="",Un=Vs();try{dn=qA(Un)}catch(AA){dn=qA(unescape(encodeURIComponent(Un)))}return"data:application/pdf;filename="+wt.filename+";base64,"+dn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Ia)==="[object Window]"){var Xn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Br=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';wt.pdfObjectUrl&&(Xn=wt.pdfObjectUrl,Br="");var Kr='