!(function(){var O1=Object.defineProperty,k1=Object.defineProperties;var M1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Iv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable;var Ep=(Vt,Ut,ve)=>Ut in Vt?O1(Vt,Ut,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Vt[Ut]=ve,zc=(Vt,Ut)=>{for(var ve in Ut||(Ut={}))Iv.call(Ut,ve)&&Ep(Vt,ve,Ut[ve]);if(vm)for(var ve of vm(Ut))Nv.call(Ut,ve)&&Ep(Vt,ve,Ut[ve]);return Vt},Cp=(Vt,Ut)=>k1(Vt,M1(Ut));var Dv=(Vt,Ut)=>{var ve={};for(var le in Vt)Iv.call(Vt,le)&&Ut.indexOf(le)<0&&(ve[le]=Vt[le]);if(Vt!=null&&vm)for(var le of vm(Vt))Ut.indexOf(le)<0&&Nv.call(Vt,le)&&(ve[le]=Vt[le]);return ve};var ys=(Vt,Ut,ve)=>Ep(Vt,typeof Ut!="symbol"?Ut+"":Ut,ve);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={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=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},89489:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},59477:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={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=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},26227:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},49198:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},87169:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},52671:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},8657:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},56082:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},33853:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},15075:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},43531:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},38819:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},nt=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},95869:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return we}});var le=ve(54476),Ce=ve(59301),je={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=je,ze=ve(7657),Re=function(ce,Ue){return Ce.createElement(ze.Z,(0,le.Z)({},ce,{ref:Ue,icon:nt}))},Be=Ce.forwardRef(Re),we=Be},69453:function(Vt,Ut){"use strict";Ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},72179:function(){"use strict";function Vt(ie,y,a,ee){a===void 0&&(a=0),ee===void 0&&(ee=1/0),this._name=ie,this._defaultValue=y,this._minimum=a,this._maximum=ee}Object.defineProperty(Vt.prototype,"name",{get:function(){return this._name},set:function(ie){if(typeof ie!="string"||ie==="")throw new Error("Shape name must be a valid string.");this._name=ie}}),Object.defineProperty(Vt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("The default value must be a real number, not: "+ie);this._defaultValue=ie}}),Object.defineProperty(Vt.prototype,"minimum",{get:function(){return this._minimum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Minimum must be a real number, not: "+ie);this._minimum=ie}}),Object.defineProperty(Vt.prototype,"maximum",{get:function(){return this._maximum},set:function(ie){if(typeof ie!="number"||isNaN(ie))throw new Error("Maximum must be a real number, not: "+ie);this._maximum=ie}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ie,y){var a=go.Shape._FigureParameters[ie];return a?a[y]:null},go.Shape.setFigureParameter=function(ie,y,a){if(!(a instanceof Vt))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 ee=go.Shape._FigureParameters[ie];ee||(ee=[],go.Shape._FigureParameters[ie]=ee),ee[y]=a};var Ut=[];function ve(ie,y){var a=Ut.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function le(){var ie=Ut.pop();return ie===void 0?new go.Point:ie}function Ce(ie){Ut.push(ie)}function je(ie,y,a,ee,b,te,ne,ae,fe){fe||(fe=new go.Point);var xe=ie-a,Pe=b-ne,Ne=NaN,Ge=NaN;if(xe===0)if(Pe===0)ie===a&&(Ne=ie,Ge=y);else{var Ye=(te-ae)/Pe,et=te-Ye*b;Ne=ie,Ge=Ye*Ne+et}else if(Pe===0){var ke=(y-ee)/xe,ht=y-ke*ie;Ne=b,Ge=ke*Ne+ht}else{var ke=(y-ee)/xe,Ye=(te-ae)/Pe,ht=y-ke*ie,et=te-Ye*b;Ne=(et-ht)/(ke-Ye),Ge=ke*Ne+ht}return fe.x=Ne,fe.y=Ge,fe}function nt(ie,y,a,ee,b,te,ne,ae,fe,xe,Pe,Ne,Ge,Ye){var et=1-fe,ke=fe,ht=ie*et+a*ke,Oe=y*et+ee*ke,xt=a*et+b*ke,ut=ee*et+te*ke,ot=b*et+ne*ke,Et=te*et+ae*ke,ct=ht*et+xt*ke,Bt=Oe*et+ut*ke,st=xt*et+ot*ke,rt=ut*et+Et*ke,Rt=ct*et+st*ke,An=Bt*et+rt*ke;xe.x=ht,xe.y=Oe,Pe.x=ct,Pe.y=Bt,Ne.x=Rt,Ne.y=An,Ge.x=st,Ge.y=rt,Ye.x=ot,Ye.y=Et}var ze=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),Be=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Vt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=5),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var b=ee*Be,te=new go.Geometry().add(new go.PathFigure(ee,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-ee,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,b,b,0).close()));return b>1&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ie,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(ie,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(ie,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(ie,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(ie,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(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=a/2,ee.endX=y,ee.endY=a/2,ee}),go.Shape.defineFigureGenerator("LineV",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y/2,ee.startY=0,ee.endX=y/2,ee.endY=a,ee}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ie,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(ie,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(ie,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(ie,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(ie,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(ie,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(ie,y,a){var ee=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ee*y,(1-ee)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,(1-ee)*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(ie,y,a){var ee=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ee,ee,ee,ee).close()));return b.spot1=ze,b.spot2=Re,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=0,ee.startY=0,ee.endX=y,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Line2",function(ie,y,a){var ee=new go.Geometry(go.Geometry.Line);return ee.startX=y,ee.startY=0,ee.endX=0,ee.endY=a,ee}),go.Shape.defineFigureGenerator("Curve1",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,Be*y,0,y,(1-Be)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,Be*a,(1-Be)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,Be*a,Be*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-Be)*y,0,0,(1-Be)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ie,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(ie,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(ie,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(ie,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 Vt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)?ee=.1:ee<-1?ee=-1:ee>1&&(ee=1);var b=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.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())):te.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&&(ee=y);var b=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.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())):te.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&&(ee=.5);var b=Math.abs(ee)*y;if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.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())):te.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&&(ee=y/2);var b=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.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())):te.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&&(ee=y/2);var b=Math.abs(ee);if(ee===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=y,te.endY=a,te}else{var te=new go.Geometry;return ee>0?te.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())):te.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&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ae,ae).close())),te.spot1=ze,te.spot2=Re,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(ie,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(ie,y,a){var ee=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ee*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close())).setSpots(ee/2,ee/2,1-ee/2,1-ee/2)}),go.Shape.setFigureParameter("Pie",0,new Vt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Vt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,b=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(b)&&(b=315);var te=ee%360;te<0&&(te+=360);var ne=b%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,te,ne,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ie,y,a){var ee=Be/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,te*a,y,(1-ee)*a,(b+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var b=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ne-b)).add(new go.PathSegment(go.PathSegment.Line,y,ne-b)).add(new go.PathSegment(go.PathSegment.Line,y,ne+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ne+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,a)).add(new go.PathSegment(go.PathSegment.Line,te-b,a)).add(new go.PathSegment(go.PathSegment.Line,te-b,ne+b)).add(new go.PathSegment(go.PathSegment.Line,0,ne+b)).add(new go.PathSegment(go.PathSegment.Line,0,ne-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ne-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var b=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ne-b)).add(new go.PathSegment(go.PathSegment.Line,y,ne-b)).add(new go.PathSegment(go.PathSegment.Line,y,ne+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ne+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,a)).add(new go.PathSegment(go.PathSegment.Line,te-b,a)).add(new go.PathSegment(go.PathSegment.Line,te-b,ne+b)).add(new go.PathSegment(go.PathSegment.Line,0,ne+b)).add(new go.PathSegment(go.PathSegment.Line,0,ne-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ne-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Vt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;if((isNaN(ee)||ee<0)&&(ee=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 te=y/2,ne=a/2,ae=Math.atan2(a,y),fe=ee-Math.min(Math.cos(ae)*ee/2,te),xe=ee-Math.min(Math.sin(ae)*ee/2,ne),b=new go.Geometry,Pe=new go.PathFigure(fe,0,!0);return b.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-fe,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,xe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-xe)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-fe,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,fe,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-xe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,xe).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Vt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var b=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Vt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,(1-ee)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-ee/2)*y,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Vt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-ee)*y,.25*a,Math.abs(1-ee)*y,.75*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ie,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,Be*y,0,y,(.5-Be/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+Be/2)*a,Be*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ie,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(ie,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(ie,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(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);ee.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 te=.2,ne=.3,ae=0,fe=te*Be;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+fe+ae)*a,(.5-fe+ne)*y,(.5+te+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+fe+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+fe+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-fe+ae)*a,(.5+fe+ne)*y,(.5-te+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-fe+ne)*y,(.5-te+ae)*a,(.5-te+ne+.05)*y,(.5-fe+ae-.02)*a)),te=.2,ne=0,ae=-.3,fe=te*Be,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+fe+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+fe+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-fe+ae)*a,(.5+fe+ne)*y,(.5-te+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-fe+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-fe+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+fe+ae)*a,(.5-fe+ne)*y,(.5+te+ae)*a)),te=.2,ne=-.3,ae=0,fe=te*Be,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne-.05)*y,(.5-fe+ae-.02)*a,(.5+fe+ne)*y,(.5-te+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-fe+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-fe+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+fe+ae)*a,(.5-fe+ne)*y,(.5+te+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+fe+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+fe+ae)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);ee.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 te=.1,ne=.5,ae=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,ae*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*ae,te*y,te*y).close()),b=new go.PathFigure(y*.5,0,!1),ee.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,b=new go.PathFigure((ne+te)*y,ae*a,!0),ee.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*ae,te*y,te*y).close()),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Peace",function(ie,y,a){var ee=.8535533905932737,b=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,ee*y,ee*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=.5,ne=.5,ae=.5,fe=new go.PathFigure(ne*y,(ae-te)*a);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),te=.4,b=Be*.4;var xe=le(),Pe=le(),Ne=le(),Ge=le();nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.42,xe,Pe,Ne,Ge,Ge);var Ye=le(),et=le(),ke=le();nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.58,Ge,Ge,ke,Ye,et);var ht=le(),Oe=le(),xt=le();nt(ne,ae+te,ne-b,ae+te,ne-te,ae+b,ne-te,ae,.42,ht,Oe,xt,Ge,Ge);var ut=le(),ot=le(),Et=le();return nt(ne,ae+te,ne-b,ae+te,ne-te,ae+b,ne-te,ae,.58,Ge,Ge,Et,ut,ot),fe.add(new go.PathSegment(go.PathSegment.Move,Et.x*y,Et.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,ut.x*y,ut.y*a,ot.x*y,ot.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-b)*a,(ne-b)*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ne.x*y,Ne.y*a,xe.x*y,xe.y*a,Pe.x*y,Pe.y*a)),fe.add(new go.PathSegment(go.PathSegment.Line,Et.x*y,Et.y*a).close()),fe.add(new go.PathSegment(go.PathSegment.Move,xt.x*y,xt.y*a)),fe.add(new go.PathSegment(go.PathSegment.Line,ke.x*y,ke.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Ye.x*y,Ye.y*a,et.x*y,et.y*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+b)*a,(ne+b)*y,(ae+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,xt.x*y,xt.y*a,ht.x*y,ht.y*a,Oe.x*y,Oe.y*a).close()),Ce(xe),Ce(Pe),Ce(Ne),Ce(Ge),Ce(Ye),Ce(et),Ce(ke),Ce(ht),Ce(Oe),Ce(xt),Ce(ut),Ce(ot),Ce(Et),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Fragile",function(ie,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 Vt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30),ee>y&&(ee=y);var b=(y-ee)/2,te=b+ee;return new go.Geometry().add(new go.PathFigure(te,.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(ie,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(ie,y,a){var ee=new go.Geometry,b=Be*.4,te=.4,ne=.5,ae=.5,fe=le(),xe=le(),Pe=le(),Ne=le(),Ge=new go.PathFigure((ne-te)*y,ae*a,!1);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-b)*a,(ne-b)*y,(ae-te)*a)),nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.44,Pe,Ne,xe,fe,fe),Ge.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Pe.x*y,Pe.y*a,Ne.x*y,Ne.y*a));var Ye=ve(xe.x,xe.y);nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.56,fe,fe,xe,Pe,Ne);var et=ve(xe.x,xe.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.95*.9)*y,Ye.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ye.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,0)),Ge.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(et.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(et.x*.1+.9)*y,(et.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,et.x*y,et.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ne.x*y,Ne.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+b)*a,(ne+b)*y,(ae+te)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae+te)*a,(ne-te)*y,(ae+b)*a)),te=.35,b=Be*.35;var ke=new go.PathFigure(ne*y,(ae-te)*a,!1);ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a));var ht=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(ht),Ce(fe),Ce(xe),Ce(Pe),Ce(Ne),Ce(Ye),Ce(et),ee.spot1=new go.Spot(.202,.257),ee.spot2=new go.Spot(.792,.739),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("GenderFemale",function(ie,y,a){var ee=new go.Geometry,b=.375,te=0,ne=-.125,ae=b*Be,fe=new go.PathFigure((.525+te)*y,(.5+b+ne)*a,!1);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5+b+ne)*a,(.5+b+te)*y,(.5+ae+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-b+ne)*a,(1-.5+b+te)*y,(.5-ae+ne)*a,(.5+ae+te)*y,(.5-b+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-b+ne)*a,(.5-b+te)*y,(.5-ae+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+b+ne)*a,(.5-b+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,(.5+b+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,te=0,ne=-.125,ae=b*Be;var fe=new go.PathFigure((1-.5+b+te)*y,(.5+ne)*a,!1);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+b+ne)*a,(.5+b+te)*y,(.5+ae+ne)*a,(.5+ae+te)*y,(.5+b+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5+b+ne)*a,(.5-b+te)*y,(.5+ae+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-b+ne)*a,(.5-b+te)*y,(.5-ae+ne)*a,(.5-ae+te)*y,(.5-b+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5-b+ne)*a,(1-.5+b+te)*y,(.5-ae+ne)*a));var fe=new go.PathFigure((.525+te)*y,(.5+b+ne)*a,!1);return ee.add(fe),ee.spot1=new go.Spot(.232,.136),ee.spot2=new go.Spot(.682,.611),ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicImplies",function(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*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(ie,y,a){var ee=ie?ie.parameter1:NaN;return isNaN(ee)&&(ee=.2),new go.Geometry().add(new go.PathFigure((1-ee)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*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,ee*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,ee*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ie,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(ie,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(ie,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(ie,y,a){var ee=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 ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("LogicTruth",function(ie,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(ie,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(ie,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(ie,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(ie,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(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ie,y,a){var ee=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,ee*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ee*y,ee*a,ee*y,ee*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Vt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Vt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=.3);var te=(1-ee)*y,ne=(.5-b/2)*a,ae=(.5+b/2)*a,fe=new go.Geometry,xe=new go.PathFigure(0,ne,!0);fe.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,te,a)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ae)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),fe.spot1=new go.Spot(0,ne/a);var Pe=je(0,ae/a,1,ae/a,te/y,1,1,.5,le());return fe.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),fe}),go.Shape.setFigureParameter("Arrow2",0,new Vt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Vt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=30),ee>y&&(ee=y);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var te=y-ee,ne=(a-b)/2,ae=ne+b,fe=new go.Geometry,xe=new go.PathFigure(0,ne,!0);fe.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te,ne)),xe.add(new go.PathSegment(go.PathSegment.Line,te,0)),xe.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),xe.add(new go.PathSegment(go.PathSegment.Line,te,a)),xe.add(new go.PathSegment(go.PathSegment.Line,te,ae)),xe.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),fe.spot1=new go.Spot(0,ne/a);var Pe=je(0,ae/a,1,ae/a,te/y,1,1,.5,le());return fe.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),fe}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("DoubleArrow",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Vt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var b=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var fe=je(0,.5,.3,0,0,b/a,.1,b/a,le());return ne.spot1=new go.Spot(fe.x,fe.y),fe=je(.7,1,1,.5,0,te/a,1,te/a,fe),ne.spot2=new go.Spot(fe.x,fe.y),Ce(fe),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Vt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Vt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var te=(a-ee)/2,ne=te+ee,ae=(a-b)/2,fe=ae+b;(ee>a||b>a)&&(b>ee?(ee=ee*a/b,te=(a-ee)/2,ne=te+ee,ae=0,fe=a):(te=0,ne=a,ae=0,fe=a));var xe=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);xe.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var Ne=je(0,.5,.3,ae/a,0,te/a,1,te/a,le());return xe.spot1=new go.Spot(Ne.x,Ne.y),Ne=je(.7,fe/a,1,.5,0,ne/a,1,ne/a,Ne),xe.spot2=new go.Spot(Ne.x,Ne.y),Ce(Ne),xe}),go.Shape.setFigureParameter("IBeamArrow",0,new Vt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var b=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,b/a);var fe=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(fe.x,fe.y),Ce(fe),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Vt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Vt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var b=ie?ie.parameter2:NaN;isNaN(b)&&(b=100);var te=(a-ee)/2,ne=te+ee,ae=(a-b)/2,fe=ae+b;(ee>a||b>a)&&(b>ee?(ee=ee*a/b,te=(a-ee)/2,ne=te+ee,ae=0,fe=a):(te=0,ne=a,ae=0,fe=a));var xe=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);xe.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),xe.spot1=new go.Spot(0,te/a);var Ne=je(.7,fe/a,1,.5,0,ne/a,1,ne/a,le());return xe.spot2=new go.Spot(Ne.x,Ne.y),Ce(Ne),xe}),go.Shape.setFigureParameter("Pointer",0,new Vt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var b=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(ee,.35);var ne=je(.2,.65,1,.65,0,1,1,.5,le());return b.spot2=new go.Spot(ne.x,ne.y),Ce(ne),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Vt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var b=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ee*y,.75*a,ee*y,.25*a).close()),b.spot1=new go.Spot(ee,.35);var ne=je(0,.65,1,.65,0,1,1,.5,le());return b.spot2=new go.Spot(ne.x,ne.y),Ce(ne),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Vt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var b=(.5-ee/2)*a,te=(.5+ee/2)*a,ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var fe=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(fe.x,fe.y),Ce(fe),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Vt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var b=(a-ee)/2,te=b+ee;ee>a&&(b=0,te=a);var ne=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ae.add(new go.PathSegment(go.PathSegment.Line,0,te)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,b/a);var fe=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(fe.x,fe.y),Ce(fe),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Vt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var b=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(ee,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=Be*.1,ne=new go.PathFigure(0,.9*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+te)*a).close()),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.97),ee}),go.Shape.defineFigureGenerator("Cone2",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);ee.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 te=new go.PathFigure(0,.9*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.82),ee}),go.Shape.defineFigureGenerator("Cube1",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);ee.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 te=new go.PathFigure(.5*y,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.5,.85),ee}),go.Shape.defineFigureGenerator("Cube2",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);ee.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 te=new go.PathFigure(0,.3*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(.7,1),ee}),go.Shape.defineFigureGenerator("Cylinder1",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var b=new go.Geometry,te=Be*.5,ne=new go.PathFigure(0,ee,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,Be*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,Be*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-Be*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-Be*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var ae=new go.PathFigure(y,ee,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-Be*ee,(.5+te)*y,2*ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-Be*ee)),b.spot1=new go.Spot(0,0,0,2*ee),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,a/3);var b=new go.Geometry,te=Be*.5,ne=new go.PathFigure(0,a-ee,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,Be*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,Be*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-Be*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-Be*ee));var ae=new go.PathFigure(0,a-ee,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-Be*ee,(.5-te)*y,a-2*ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-ee,(.5+te)*y,a-2*ee,y,a-ee-Be*ee)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*ee),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var b=new go.Geometry,te=Be*.5,ne=new go.PathFigure(ee,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-Be*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-Be*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Be*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,Be*ee,0));var ae=new go.PathFigure(ee,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+Be*ee,0,2*ee,(.5-te)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+Be*ee,a)),b.spot1=new go.Spot(0,0,2*ee,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=5),ee=Math.min(ee,y/3);var b=new go.Geometry,te=Be*.5,ne=new go.PathFigure(y-ee,0,!0);b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-Be*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-Be*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,Be*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,Be*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var ae=new go.PathFigure(y-ee,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-Be*ee,0,y-2*ee,(.5-te)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y-2*ee,(.5+te)*a,y-ee-Be*ee,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*ee,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);ee.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 te=new go.PathFigure(.25*y,.25*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.408,.172),ee.spot2=new go.Spot(.833,.662),ee}),go.Shape.defineFigureGenerator("Prism2",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);ee.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 te=new go.PathFigure(0,a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),ee.spot1=new go.Spot(.25,.5),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("Pyramid1",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);ee.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 te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Pyramid2",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);ee.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 te=new go.PathFigure(.5*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),te.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),ee.spot1=new go.Spot(.25,.367),ee.spot2=new go.Spot(.75,.875),ee}),go.Shape.defineFigureGenerator("Actor",function(ie,y,a){var ee=new go.Geometry,b=.2,te=.1,ne=Be*b,ae=Be*te,fe=.5,xe=.1,Pe=new go.PathFigure(fe*y,(xe+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*y,xe*a,(fe-ne)*y,(xe+te)*a,(fe-b)*y,(xe+ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-te)*a,(fe-b)*y,(xe-ae)*a,(fe-ne)*y,(xe-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*y,xe*a,(fe+ne)*y,(xe-te)*a,(fe+b)*y,(xe-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe+te)*a,(fe+b)*y,(xe+ae)*a,(fe+ne)*y,(xe+te)*a));var Ne=.05,Ge=Be*Ne;fe=.05,xe=.25;var Ye=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),fe=.95,xe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+Ne)*y,xe*a,(fe+Ge)*y,(xe-Ne)*a,(fe+Ne)*y,(xe-Ge)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ne=.025,Ge=Be*Ne,fe=.825,xe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-Ne)*a,(fe+Ne)*y,(xe-Ge)*a,(fe+Ge)*y,(xe-Ne)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Ne)*y,xe*a,(fe-Ge)*y,(xe-Ne)*a,(fe-Ne)*y,(xe-Ge)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ne=.05,Ge=Be*Ne,fe=.5,xe=.7,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-Ne)*a,(fe+Ne)*y,(xe-Ge)*a,(fe+Ge)*y,(xe-Ne)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Ne)*y,xe*a,(fe-Ge)*y,(xe-Ne)*a,(fe-Ne)*y,(xe-Ge)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ne=.025,Ge=Be*Ne,fe=.175,xe=.35,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-Ne)*a,(fe+Ne)*y,(xe-Ge)*a,(fe+Ge)*y,(xe-Ne)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-Ne)*y,xe*a,(fe-Ge)*y,(xe-Ne)*a,(fe-Ne)*y,(xe-Ge)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ne=.05,Ge=Be*Ne,fe=.05,xe=.25,Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-Ne)*a,(fe-Ne)*y,(xe-Ge)*a,(fe-Ge)*y,(xe-Ne)*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),ee.spot1=new go.Spot(.2,.2),ee.spot2=new go.Spot(.8,.65),ee}),go.Shape.setFigureParameter("Card",0,new Vt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var b=new go.Geometry,te=new go.PathFigure(y,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,ee*a)),te.add(new go.PathSegment(go.PathSegment.Line,ee*y,0).close()),b.spot1=new go.Spot(0,ee),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);ee.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 te=new go.PathFigure(.5*y,.5*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,.25),ee}),go.Shape.defineFigureGenerator("CreateRequest",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,b*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=Be*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-te)*a));var ae=new go.PathFigure(y,.1*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+te)*a,(.5+b)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+te)*a)),ee.spot1=new go.Spot(0,.4),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("DataStorage",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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()),ee.spot1=new go.Spot(.226,0),ee.spot2=new go.Spot(.81,1),ee}),go.Shape.defineFigureGenerator("DiskStorage",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=Be*.1,ne=new go.PathFigure(y,.1*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+te)*a,(.5+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-te)*a,(.5-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-te)*a));var ae=new go.PathFigure(y,.1*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+te)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+te)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+te)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+te)*a)),ee.spot1=new go.Spot(0,.3),ee.spot2=new go.Spot(1,.9),ee}),go.Shape.defineFigureGenerator("Display",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return ee.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()),ee.spot1=new go.Spot(.25,0),ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("DividedEvent",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var te=Be*.2,ne=new go.PathFigure(0,.2*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-te)*a,(.2-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+te)*y,0,y,(.2-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+te)*a,(.8+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-te)*y,a,0,(.8+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,b*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,b*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return ee.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()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(b*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);ee.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 te=new go.PathFigure(.1*y,.4*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("File",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(.75*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Interrupt",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);ee.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 te=new go.PathFigure(y,.5*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("InternalStorage",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.1);var ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(b*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,te*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,te*a)),ee}),go.Shape.defineFigureGenerator("Junction",function(ie,y,a){var ee=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=Be*.5,ae=.5,fe=new go.PathFigure(y,ae*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+ne)*a,(ae+ne)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-ne)*y,a,0,(ae+ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-ne)*a,(ae-ne)*y,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+ne)*y,0,y,(ae-ne)*a));var xe=new go.PathFigure((te+b)*y,(te+b)*a,!1);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),xe.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(te+b)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);ee.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 te=new go.PathFigure(.1*y,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),ee.spot1=new go.Spot(.1,0),ee.spot2=new go.Spot(1,.6),ee}),go.Shape.defineFigureGenerator("LoopLimit",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);return ee.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()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MagneticTape",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=.5,ne=new go.PathFigure(.5*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-b)*y,a,0,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-b)*a,(te-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+b)*y,0,y,(te-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+b)*a,(te+b)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),ee.spot1=new go.Spot(.15,.15),ee.spot2=new go.Spot(.85,.8),ee}),go.Shape.defineFigureGenerator("ManualInput",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,0,!0);return ee.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()),ee.spot1=new go.Spot(0,.25),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("MessageFromUser",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.7);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("MicroformRecording",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("MultiDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);ee.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 te=new go.PathFigure(.1*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.8,.77),ee}),go.Shape.defineFigureGenerator("MultiProcess",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);ee.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 te=new go.PathFigure(.2*y,.1*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),ee.spot1=new go.Spot(0,.2),ee.spot2=new go.Spot(.8,1),ee}),go.Shape.defineFigureGenerator("OfflineStorage",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var te=1-b,ne=new go.PathFigure(0,0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*b*y,b*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.75,1),ee}),go.Shape.defineFigureGenerator("Or",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+b)*a,(te+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-b)*y,a,0,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-b)*a,(te-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+b)*y,0,y,(te-b)*a));var ae=new go.PathFigure(y,.5*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ee}),go.Shape.defineFigureGenerator("PaperTape",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return ee.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()),ee.spot1=new go.Spot(0,.49),ee.spot2=new go.Spot(1,.75),ee}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ne=new go.PathFigure(0,0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Procedure",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-b)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(b*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);ee.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 te=new go.PathFigure(0,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ee.spot1=new go.Spot(.25,.25),ee.spot2=new go.Spot(.75,.5),ee}),go.Shape.defineFigureGenerator("Start",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(b*y,0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(b*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),ee.spot1=new go.Spot(b,0),ee.spot2=new go.Spot(1-b,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return ee.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)),ee.spot1=new go.Spot(.23,0),ee.spot2=new go.Spot(.77,1),ee}),go.Shape.defineFigureGenerator("TransmittalTape",function(ie,y,a){var ee=new go.Geometry,b=ie?ie.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(.55,1),ee}),go.Shape.defineFigureGenerator("Buffer",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Clock",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=.5,ne=new go.PathFigure(y,te*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,y,(te+b)*a,(te+b)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-b)*y,a,0,(te+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-b)*a,(te-b)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+b)*y,0,y,(te-b)*a));var ae=new go.PathFigure(y,te*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,te*a));var fe=new go.PathFigure(.8*y,.75*a,!1);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),ee}),go.Shape.defineFigureGenerator("Ground",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,b=Be*.1,te=.1,ne=.9,ae=.5,fe=new go.PathFigure(.8*y,.5*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var xe=new go.PathFigure((ne+te)*y,ae*a,!0);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+b)*a,(ne+b)*y,(ae+te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae+te)*a,(ne-te)*y,(ae+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-b)*a,(ne-b)*y,(ae-te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+b)*y,(ae-te)*a,(ne+te)*y,(ae-b)*a)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.4,.75),ee}),go.Shape.defineFigureGenerator("NandGate",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=Be*.4,ne=Be*.1,ae=.1,fe=.9,xe=.5,Pe=new go.PathFigure(.8*y,.5*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+te)*a,(.4+b)*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-te)*a));var Ne=new go.PathFigure((fe+ae)*y,xe*a,!0);return ee.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe+ae)*a,(fe+ae)*y,(xe+ne)*a,(fe+ne)*y,(xe+ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y,xe*a,(fe-ne)*y,(xe+ae)*a,(fe-ae)*y,(xe+ne)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-ae)*a,(fe-ae)*y,(xe-ne)*a,(fe-ne)*y,(xe-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y,xe*a,(fe+ne)*y,(xe-ae)*a,(fe+ae)*y,(xe-ne)*a)),ee.spot1=new go.Spot(0,.05),ee.spot2=new go.Spot(.55,.95),ee}),go.Shape.defineFigureGenerator("NorGate",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*b,ne=0,ae=.5,fe=new go.PathFigure(.8*y,.5*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(ae-b)*a,.7*y,(ae-te)*a)),b=.1,te=Be*.1,ne=.9,ae=.5;var xe=new go.PathFigure((ne-b)*y,ae*a,!0);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a)),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.6,.75),ee}),go.Shape.defineFigureGenerator("OrGate",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*b,ne=0,ae=.5,fe=new go.PathFigure(0,0,!0);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(ae-b)*a,.8*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+te)*a,(ne+te+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),ee.spot1=new go.Spot(.2,.25),ee.spot2=new go.Spot(.75,.75),ee}),go.Shape.defineFigureGenerator("XnorGate",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*b,ne=.2,ae=.5,fe=new go.PathFigure(.1*y,0,!1);ee.add(fe),fe.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);ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+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,(ne+te)*y,(ae-b)*a,.7*y,(ae-te)*a)),b=.1,te=Be*.1,ne=.9,ae=.5;var Pe=new go.PathFigure((ne-b)*y,ae*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a)),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.65,.75),ee}),go.Shape.defineFigureGenerator("XorGate",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*b,ne=.2,ae=.5,fe=new go.PathFigure(.1*y,0,!1);ee.add(fe),fe.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 ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(ae-b)*a,.9*y,(ae-te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),ee.spot1=new go.Spot(.4,.25),ee.spot2=new go.Spot(.8,.75),ee}),go.Shape.defineFigureGenerator("Capacitor",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Inductor",function(ie,y,a){var ee=new go.Geometry,b=Be*.1,te=.1,ne=.1,ae=.5,fe=new go.PathFigure((ne-b*.5)*y,a,!1);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-b)*y,a,(ne-te)*y,0)),ne=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-b)*y,a,(ne-te)*y,0)),ne=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-b)*y,a,(ne-te)*y,0)),ne=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+b)*y,a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-b)*y,a,(ne-te)*y,0)),ne=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b*.5)*y,a,(ne+te)*y,0,(ne+b)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,b=Be*.5,te=.5,ne=.5,ae=.5,fe=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-b)*a,(ne-b)*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+b)*y,(ae-te)*a,(ne+te)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+b)*a,(ne+b)*y,(ae+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae+te)*a,(ne-te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,ae*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te-.1)*y,ae*a,ne*y,(ae-te)*a,ne*y,(ae+te)*a)),ee}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,0,!1);return ee.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)),ee.spot1=new go.Spot(0,.25),ee.spot2=new go.Spot(.5,.75),ee}),go.Shape.defineFigureGenerator("Wifi",function(ie,y,a){var ee=new go.Geometry,b=y,te=a;y=y*.38,a=a*.6;var ne=Be*.8,ae=.8,fe=0,xe=.5,Pe=(b-y)/2,Ne=(te-a)/2,Ge=new go.PathFigure(fe*y+Pe,(xe+ae)*a+Ne,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y+Pe,xe*a+Ne,(fe-ne)*y+Pe,(xe+ae)*a+Ne,(fe-ae)*y+Pe,(xe+ne)*a+Ne)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe-ae)*a+Ne,(fe-ae)*y+Pe,(xe-ne)*a+Ne,(fe-ne)*y+Pe,(xe-ae)*a+Ne)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae+ne*.5)*y+Pe,xe*a+Ne,fe*y+Pe,(xe-ae)*a+Ne,(fe-ae+ne*.5)*y+Pe,(xe-ne)*a+Ne)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe+ae)*a+Ne,(fe-ae+ne*.5)*y+Pe,(xe+ne)*a+Ne,fe*y+Pe,(xe+ae)*a+Ne).close()),ne=Be*.4,ae=.4,fe=.2,xe=.5;var Ye=new go.PathFigure(fe*y+Pe,(xe+ae)*a+Ne,!0);ee.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y+Pe,xe*a+Ne,(fe-ne)*y+Pe,(xe+ae)*a+Ne,(fe-ae)*y+Pe,(xe+ne)*a+Ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe-ae)*a+Ne,(fe-ae)*y+Pe,(xe-ne)*a+Ne,(fe-ne)*y+Pe,(xe-ae)*a+Ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae+ne*.5)*y+Pe,xe*a+Ne,fe*y+Pe,(xe-ae)*a+Ne,(fe-ae+ne*.5)*y+Pe,(xe-ne)*a+Ne)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe+ae)*a+Ne,(fe-ae+ne*.5)*y+Pe,(xe+ne)*a+Ne,fe*y+Pe,(xe+ae)*a+Ne).close()),ne=Be*.2,ae=.2,fe=.5,xe=.5;var et=new go.PathFigure((fe-ae)*y+Pe,xe*a+Ne,!0);ee.add(et),et.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe-ae)*a+Ne,(fe-ae)*y+Pe,(xe-ne)*a+Ne,(fe-ne)*y+Pe,(xe-ae)*a+Ne)),et.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y+Pe,xe*a+Ne,(fe+ne)*y+Pe,(xe-ae)*a+Ne,(fe+ae)*y+Pe,(xe-ne)*a+Ne)),et.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe+ae)*a+Ne,(fe+ae)*y+Pe,(xe+ne)*a+Ne,(fe+ne)*y+Pe,(xe+ae)*a+Ne)),et.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ae)*y+Pe,xe*a+Ne,(fe-ne)*y+Pe,(xe+ae)*a+Ne,(fe-ae)*y+Pe,(xe+ne)*a+Ne)),ne=Be*.4,ae=.4,fe=.8,xe=.5;var ke=new go.PathFigure(fe*y+Pe,(xe-ae)*a+Ne,!0);ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y+Pe,xe*a+Ne,(fe+ne)*y+Pe,(xe-ae)*a+Ne,(fe+ae)*y+Pe,(xe-ne)*a+Ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe+ae)*a+Ne,(fe+ae)*y+Pe,(xe+ne)*a+Ne,(fe+ne)*y+Pe,(xe+ae)*a+Ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae-ne*.5)*y+Pe,xe*a+Ne,fe*y+Pe,(xe+ae)*a+Ne,(fe+ae-ne*.5)*y+Pe,(xe+ne)*a+Ne)),ke.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe-ae)*a+Ne,(fe+ae-ne*.5)*y+Pe,(xe-ne)*a+Ne,fe*y+Pe,(xe-ae)*a+Ne).close()),ne=Be*.8,ae=.8,fe=1,xe=.5;var ht=new go.PathFigure(fe*y+Pe,(xe-ae)*a+Ne,!0);return ee.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae)*y+Pe,xe*a+Ne,(fe+ne)*y+Pe,(xe-ae)*a+Ne,(fe+ae)*y+Pe,(xe-ne)*a+Ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe+ae)*a+Ne,(fe+ae)*y+Pe,(xe+ne)*a+Ne,(fe+ne)*y+Pe,(xe+ae)*a+Ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ae-ne*.5)*y+Pe,xe*a+Ne,fe*y+Pe,(xe+ae)*a+Ne,(fe+ae-ne*.5)*y+Pe,(xe+ne)*a+Ne)),ht.add(new go.PathSegment(go.PathSegment.Bezier,fe*y+Pe,(xe-ae)*a+Ne,(fe+ae-ne*.5)*y+Pe,(xe-ne)*a+Ne,fe*y+Pe,(xe-ae)*a+Ne).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(0,0,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Ethernet",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);ee.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 te=new go.PathFigure(.1*y,a,!0,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Power",function(ie,y,a){var ee=new go.Geometry,b=Be*.4,te=.4,ne=.5,ae=.5,fe=le(),xe=le(),Pe=le(),Ne=le();nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.5,fe,fe,xe,Pe,Ne);var Ge=ve(xe.x,xe.y),Ye=new go.PathFigure(xe.x*y,xe.y*a,!0);ee.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ne.x*y,Ne.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+b)*a,(ne+b)*y,(ae+te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-b)*y,(ae+te)*a,(ne-te)*y,(ae+b)*a)),nt(ne-te,ae,ne-te,ae-b,ne-b,ae-te,ne,ae-te,.5,Pe,Ne,xe,fe,fe),Ye.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Pe.x*y,Pe.y*a,Ne.x*y,Ne.y*a)),b=Be*.3,te=.3,nt(ne-te,ae,ne-te,ae-b,ne-b,ae-te,ne,ae-te,.5,Pe,Ne,xe,fe,fe),Ye.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,Ne.x*y,Ne.y*a,Pe.x*y,Pe.y*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),nt(ne,ae-te,ne+b,ae-te,ne+te,ae-b,ne+te,ae,.5,fe,fe,xe,Pe,Ne),Ye.add(new go.PathSegment(go.PathSegment.Bezier,xe.x*y,xe.y*a,Ne.x*y,Ne.y*a,Pe.x*y,Pe.y*a).close());var Ye=new go.PathFigure(.45*y,0,!0);return ee.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Ce(fe),Ce(xe),Ce(Pe),Ce(Ne),Ce(Ge),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a/2,!0);ee.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,ae,fe){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+fe)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+fe)*a).close())}return te(b,0,0),te(b,.4,0),te(b,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return ee.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()),ee.spot1=new go.Spot(.3,.3),ee.spot2=new go.Spot(.7,.7),ee}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("FireHazard",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return ee.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()),ee.spot1=new go.Spot(.07,.445),ee.spot2=new go.Spot(.884,.958),ee}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ie,y,a){var ee=new go.Geometry,b=.5,te=0,ne=0,ae=b*Be,fe=.4*Math.SQRT2/2+.5,xe=.5-.5*Math.SQRT2/2,Pe=1,Ne=.5,Ge=.5,Ye=0,et=new go.PathFigure(fe*y,(1-xe)*a,!1);return ee.add(et),et.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Ne*a,Pe*y,.7*a,Pe*y,Ne*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+te)*y,(Ye+te)*a,(.5+b+te)*y,(.5-ae+te)*a,(.5+ae+te)*y,(.5-b+te)*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-b+ne)*a,(.5-b+te)*y,(.5-ae+ne)*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-b+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,.9*a)),et.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),et.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),et.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*y,.95*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);ee.add(b);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);ee.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 ee.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)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);ee.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 te=new go.PathFigure(.45*y,.73*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),te.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),te.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);ee.add(b);var te=new go.PathFigure(.335*y,(1-.555)*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),te.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,ae=.5,fe=ne,xe=Math.PI/4,Pe=4*(1-Math.cos(xe))/(3*Math.sin(xe)),Ne=Pe*.5,Ge=ne,Ye=ne,et=Pe*Ge,ke=Pe*Ye;te.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,fe*a,(ae-(et+Ge)/2)*y,(fe+(Ye+ke)/2)*a,(ae-Ge)*y,(fe+ke)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(fe-Ye)*a,(ae-Ge)*y,(fe-ke)*a,(ae-et)*y,(fe-Ye)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,fe*a,(ae+et)*y,(fe-Ye)*a,(ae+Ge)*y,(fe-ke)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(fe+ke)*a,(ae+(et+Ge)/2)*y,(fe+(Ye+ke)/2)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),te.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var ht=new go.PathFigure(.2*y,a,!1);ee.add(ht),ht.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Oe=new go.PathFigure(.8*y,a,!1);return ee.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);ee.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 te=new go.PathFigure(.2*y,.2*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventError",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);ee.add(b);var te=new go.PathFigure(y,a,!1);ee.add(te);var ne=new go.PathFigure(.1*y,a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Caution",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);ee.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 te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*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)),ee}),go.Shape.defineFigureGenerator("Recycle",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);ee.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 te=new go.PathFigure(.475*y,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),te.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),te.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),ee}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*.5,ne=new go.PathFigure(y,b*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+te)*a,(b+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-te)*y,a,0,(b+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-te)*a,(b-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+te)*y,0,y,(b-te)*a));var ae=new go.PathFigure(b*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),ee}),go.Shape.defineFigureGenerator("Package",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);ee.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 te=new go.PathFigure(0,.15*a,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),ee.spot1=new go.Spot(0,.1),ee.spot2=new go.Spot(1,1),ee}),go.Shape.defineFigureGenerator("Class",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),ee}),go.Shape.defineFigureGenerator("Component",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,a,!0);ee.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 te=new go.PathFigure(0,.2*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),ee}),go.Shape.defineFigureGenerator("Boat Shipment",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);ee.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 te=new go.PathFigure(.15*y,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ee}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(y,.8*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,ae=Be*.1,fe=.2,xe=.9,Pe=new go.PathFigure((fe-ne)*y,xe*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-ne)*a,(fe-ne)*y,(xe-ae)*a,(fe-ae)*y,(xe-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y,xe*a,(fe+ae)*y,(xe-ne)*a,(fe+ne)*y,(xe-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe+ne)*a,(fe+ne)*y,(xe+ae)*a,(fe+ae)*y,(xe+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y,xe*a,(fe-ae)*y,(xe+ne)*a,(fe-ne)*y,(xe+ae)*a).close()),ne=.1,ae=Be*.1,fe=.8,xe=.9;var Ne=new go.PathFigure((fe-ne)*y,xe*a,!0);return ee.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe-ne)*a,(fe-ne)*y,(xe-ae)*a,(fe-ae)*y,(xe-ne)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ne)*y,xe*a,(fe+ae)*y,(xe-ne)*a,(fe+ne)*y,(xe-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*y,(xe+ne)*a,(fe+ne)*y,(xe+ae)*a,(fe+ae)*y,(xe+ne)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ne)*y,xe*a,(fe-ae)*y,(xe+ne)*a,(fe-ne)*y,(xe+ae)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(0,.5*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var fe=.1,xe=Be*.1,Pe=.1,Ne=.9,Ge=new go.PathFigure((Pe-fe)*y,Ne*a,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ne-fe)*a,(Pe-fe)*y,(Ne-xe)*a,(Pe-xe)*y,(Ne-fe)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+fe)*y,Ne*a,(Pe+xe)*y,(Ne-fe)*a,(Pe+fe)*y,(Ne-xe)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ne+fe)*a,(Pe+fe)*y,(Ne+xe)*a,(Pe+xe)*y,(Ne+fe)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-fe)*y,Ne*a,(Pe-xe)*y,(Ne+fe)*a,(Pe-fe)*y,(Ne+xe)*a)),fe=.1,xe=Be*.1,Pe=.4,Ne=.9;var Ye=new go.PathFigure((Pe-fe)*y,Ne*a,!0);return ee.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ne-fe)*a,(Pe-fe)*y,(Ne-xe)*a,(Pe-xe)*y,(Ne-fe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+fe)*y,Ne*a,(Pe+xe)*y,(Ne-fe)*a,(Pe+fe)*y,(Ne-xe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ne+fe)*a,(Pe+fe)*y,(Ne+xe)*a,(Pe+xe)*y,(Ne+fe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-fe)*y,Ne*a,(Pe-xe)*y,(Ne+fe)*a,(Pe-fe)*y,(Ne+xe)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);ee.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 te=new go.PathFigure(.45*y,.7*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var Pe=.05,Ne=Be*.05,Ge=.175,Ye=.95,ae=new go.PathFigure((Ge-Pe)*y,Ye*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye-Pe)*a,(Ge-Pe)*y,(Ye-Ne)*a,(Ge-Ne)*y,(Ye-Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ye*a,(Ge+Ne)*y,(Ye-Pe)*a,(Ge+Pe)*y,(Ye-Ne)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye+Pe)*a,(Ge+Pe)*y,(Ye+Ne)*a,(Ge+Ne)*y,(Ye+Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ye*a,(Ge-Ne)*y,(Ye+Pe)*a,(Ge-Pe)*y,(Ye+Ne)*a));var Pe=.05,Ne=Be*.05,Ge=.375,Ye=.95,fe=new go.PathFigure((Ge-Pe)*y,Ye*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye-Pe)*a,(Ge-Pe)*y,(Ye-Ne)*a,(Ge-Ne)*y,(Ye-Pe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ye*a,(Ge+Ne)*y,(Ye-Pe)*a,(Ge+Pe)*y,(Ye-Ne)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye+Pe)*a,(Ge+Pe)*y,(Ye+Ne)*a,(Ge+Ne)*y,(Ye+Pe)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ye*a,(Ge-Ne)*y,(Ye+Pe)*a,(Ge-Pe)*y,(Ye+Ne)*a));var Pe=.05,Ne=Be*.05,Ge=.625,Ye=.95,xe=new go.PathFigure((Ge-Pe)*y,Ye*a,!0);ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye-Pe)*a,(Ge-Pe)*y,(Ye-Ne)*a,(Ge-Ne)*y,(Ye-Pe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ye*a,(Ge+Ne)*y,(Ye-Pe)*a,(Ge+Pe)*y,(Ye-Ne)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye+Pe)*a,(Ge+Pe)*y,(Ye+Ne)*a,(Ge+Ne)*y,(Ye+Pe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ye*a,(Ge-Ne)*y,(Ye+Pe)*a,(Ge-Pe)*y,(Ye+Ne)*a));var Pe=.05,Ne=Be*.05,Ge=.825,Ye=.95,et=new go.PathFigure((Ge-Pe)*y,Ye*a,!0);ee.add(et),et.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye-Pe)*a,(Ge-Pe)*y,(Ye-Ne)*a,(Ge-Ne)*y,(Ye-Pe)*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ye*a,(Ge+Ne)*y,(Ye-Pe)*a,(Ge+Pe)*y,(Ye-Ne)*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ye+Pe)*a,(Ge+Pe)*y,(Ye+Ne)*a,(Ge+Ne)*y,(Ye+Pe)*a)),et.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ye*a,(Ge-Ne)*y,(Ye+Pe)*a,(Ge-Pe)*y,(Ye+Ne)*a).close());var ke=new go.PathFigure(0,a,!1);return ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Warehouse",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(0,.2*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,fe=Be*.05,xe=.35,Pe=.775,Ne=new go.PathFigure((xe-ae)*y,Pe*a,!0);return ee.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(Pe-ae)*a,(xe-ae)*y,(Pe-fe)*a,(xe-fe)*y,(Pe-ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+ae)*y,Pe*a,(xe+fe)*y,(Pe-ae)*a,(xe+ae)*y,(Pe-fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*y,(Pe+ae)*a,(xe+ae)*y,(Pe+fe)*a,(xe+fe)*y,(Pe+ae)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe-ae)*y,Pe*a,(xe-fe)*y,(Pe+ae)*a,(xe-ae)*y,(Pe+fe)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Bluetooth",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);return ee.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)),ee}),go.Shape.defineFigureGenerator("Globe",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Wave",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return ee.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)),ee}),go.Shape.defineFigureGenerator("Operator",function(ie,y,a){var ee=new go.Geometry,b=.3,te=Be*.3,ne=.5,ae=.7,fe=new go.PathFigure((ne-b)*y,ae*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a));var xe=new go.PathFigure(0,.7*a,!1);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),ee}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return ee.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)),ee}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y,0,!0);return ee.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)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);ee.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 te=new go.PathFigure(0,.6*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),ee}),go.Shape.defineFigureGenerator("Delete",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*.5,ne=.5,ae=.5,fe=new go.PathFigure((ne-b)*y,ae*a,!0);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a));var xe=new go.PathFigure(.15*y,.5*a,!1);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),ee}),go.Shape.defineFigureGenerator("Flag",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Help",function(ie,y,a){var ee=new go.Geometry,b=.5,te=Be*.5,ne=.5,ae=.5,fe=new go.PathFigure((ne-b)*y,ae*a,!1);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*a).close()),b=.05,te=Be*.05,ne=.5,ae=.8;var xe=new go.PathFigure((ne-b)*y,ae*a,!1);return ee.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-b)*a,(ne-b)*y,(ae-te)*a,(ne-te)*y,(ae-b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+b)*y,ae*a,(ne+te)*y,(ae-b)*a,(ne+b)*y,(ae-te)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+b)*a,(ne+b)*y,(ae+te)*a,(ne+te)*y,(ae+b)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-b)*y,ae*a,(ne-te)*y,(ae+b)*a,(ne-b)*y,(ae+te)*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)),ee}),go.Shape.defineFigureGenerator("Location",function(ie,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(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);ee.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 te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),ee}),go.Shape.defineFigureGenerator("Unlocked",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);ee.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 te=new go.PathFigure(.2*y,.5*a,!1);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),ee}),go.Shape.defineFigureGenerator("Gear",function(ie,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(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Map",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return ee.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)),ee}),go.Shape.defineFigureGenerator("Eject",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a,!0);ee.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 te=new go.PathFigure(0,a*.6,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),ee}),go.Shape.defineFigureGenerator("Pencil",function(ie,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(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);ee.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 te=new go.PathFigure(.126*y,.85*a,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var fe=new go.PathFigure(.5*y,.1*a,!1);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),fe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),ee}),go.Shape.defineFigureGenerator("Staircase",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("5Bars",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,a*1,!0);ee.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 te=new go.PathFigure(y*.204,a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var fe=new go.PathFigure(y*.816,a,!0);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),ee}),go.Shape.defineFigureGenerator("PC",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!0);ee.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 te=new go.PathFigure(y*.055,.07*a,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var fe=new go.PathFigure(y*1,0,!0);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),fe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),ee}),go.Shape.defineFigureGenerator("Plane",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("Key",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return ee.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()),ee}),go.Shape.defineFigureGenerator("FilmTape",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(0,0,!1);ee.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 te=new go.PathFigure(0,0,!1);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var fe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),fe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),ee}),go.Shape.defineFigureGenerator("FloppyDisk",function(ie,y,a){var ee=new go.Geometry,b=8,te=b*Be,ne=new go.PathFigure(b,0,!1);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,0).close());var ae=new go.PathFigure(y*.83,0,!1);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var fe=new go.PathFigure(y*.83,a*1,!1);ee.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var xe=new go.PathFigure(y*.78,a*.05,!1);return ee.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()),ee}),go.Shape.defineFigureGenerator("SpeechBubble",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=15),ee=Math.min(ee,y/3),ee=Math.min(ee,a/3);var b=ee*Be,te=a*.8,ne=new go.Geometry,ae=new go.PathFigure(ee,0,!0);return ne.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-ee,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,y-b,0,y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-b,y-b,te)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,te)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,te)),ae.add(new go.PathSegment(go.PathSegment.Line,ee,te)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,te-ee,b,te,0,te-b)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,b,b,0).close()),b>1?(ne.spot1=new go.Spot(0,0,b,b),ne.spot2=new go.Spot(1,.8,-b,-b)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);ee.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 te=new go.PathFigure(y*1,a*.55,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),te.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),ee}),go.Shape.defineFigureGenerator("Windows",function(ie,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(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);ee.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 te=new go.PathFigure(y*.1,a*.2,!0);ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),te.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),ee}),go.Shape.defineFigureGenerator("Beaker",function(ie,y,a){var ee=new go.Geometry,b=15,te=b*Be,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),te>1?(ee.spot1=new go.Spot(0,0,te,te),ee.spot2=new go.Spot(1,1,-te,-te)):(ee.spot1=go.Spot.TopLeft,ee.spot2=go.Spot.BottomRight),ee}),go.Shape.defineFigureGenerator("Download",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);ee.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),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-te)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),ee}),go.Shape.defineFigureGenerator("Bin",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);ee.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),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-te)).close()),ee}),go.Shape.defineFigureGenerator("Upload",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);ee.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),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-te)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),ee}),go.Shape.defineFigureGenerator("EmptyDrink",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return ee.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()),ee}),go.Shape.defineFigureGenerator("Drink",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);ee.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 te=new go.PathFigure(y*.235,a*.28,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),te.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),te.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),ee}),go.Shape.defineFigureGenerator("4Arrows",function(ie,y,a){var ee=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return ee.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()),ee}),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")},25730: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 Vt={},Ut="5.0",ve={},le=null,Ce=!1,je=!1,nt=null,ze=!1,Re=null,Be=null,we=0;we4?parseFloat(ft):5};Vt.setHTML5Codebase=function(ft,Nt){Be=ft,rt(ft,Nt)},Vt.setJavaCodebase=Vt.setJavaCodebaseVersion=Vt.isCompiledInstalled=Vt.setPreCompiledScriptPath=Vt.setPreCompiledResourcePath=function(){},Vt.setHTML5CodebaseVersion=function(ft,Nt){var yn=parseFloat(ft);if(yn!==NaN&&yn<5){console.log("The GeoGebra HTML5 codebase version "+yn+" is deprecated. Using version latest instead.");return}Re=ft,st(ft,Nt)},Vt.getHTML5CodebaseVersion=function(){return ie},Vt.getParameters=function(){return ve},Vt.setFontsCSSURL=function(ft){ne=ft},Vt.setGiacJSURL=function(ft){},Vt.setJNLPFile=function(ft){ce=ft},Vt.setJNLPBaseDir=function(ft){},Vt.inject=function(){function ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Nt="auto",yn=ve.id,Rn,un=!1,Kn=0;Kn=5)return!0;var ft=Vt.getAppletObject();return ft&&typeof ft.recalculateEnvironments=="function"?(ft.recalculateEnvironments(),!0):!1},Vt.startAnimation=function(){var ft=Vt.getAppletObject();return ft&&typeof ft.startAnimation=="function"?(ft.startAnimation(),!0):!1},Vt.stopAnimation=function(){var ft=Vt.getAppletObject();return ft&&typeof ft.stopAnimation=="function"?(ft.stopAnimation(),!0):!1},Vt.getAppletObject=function(){var ft=ve.id!==void 0?ve.id:"ggbApplet";return window[ft]},Vt.resize=function(){};var et=function(ft,Nt,yn){var Rn=document.createElement("param");Rn.setAttribute("name",Nt),Rn.setAttribute("value",yn),ft.appendChild(Rn)},ke=function(ft){return ft&&ft!=="false"},ht=function(ft,Nt,yn){fe(ie)<=4.2&&(yn=!0);var Rn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Rn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var un=document.createElement("div");un.classList.add("appletParameters","notranslate");var Kn=Nt.width,wt=Nt.height;if(Nt.disableAutoScale=Nt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Nt.disableAutoScale,Nt.width!==void 0)if(fe(ie)<=4.4)ke(Nt.showToolBar)&&(Nt.height-=7),ke(Nt.showAlgebraInput)&&(Nt.height-=37),Nt.width<605&&ke(Nt.showToolBar)&&(Nt.width=605,Kn=605);else{var zn=100;(ke(Nt.showToolBar)||ke(Nt.showMenuBar))&&(Nt.hasOwnProperty("customToolBar")&&(Nt.customToolbar=Nt.customToolBar),zn=ke(Nt.showMenuBar)?245:155),Kn=5?(Nt.appletOnLoad=function(At){var jt=ft.querySelector(".ggb_preview");jt&&jt.parentNode.removeChild(jt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(fn),window.GGBT_wsf_view&&$(window).trigger("resize"),Xe(At)},Le||fn.appendChild(he)):un.appendChild(he),fn.appendChild(un),Le||ft.appendChild(fn),setTimeout(function(){Vt.resize()},1)}else{var ge=document.createElement("div");ge.className="applet_scaler",ge.style.position="relative",ge.style.display="block",ge.appendChild(un),ft.appendChild(ge),Nt.appletOnLoad=function(At){Vt.resize(),Xe(At)}}function Se(At,jt){jt&&typeof jt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(At,jt.appletOnLoad):renderGGBElement(At),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",jt)}function qe(At,jt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:At,params:jt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kn){Se(kn.article,kn.params)}),html5AppletsToProcess=null)},fe(ie)<5&&(At.className+=" geogebraweb")):Se(At,jt)}if(Rn){scriptLoadStarted=!0;for(var pt=0;pt0?(Wn.remove(),fn.attr("id","fullscreencontent").show(),jQuery(Xe).append(fn),window.dispatchEvent(new Event("resize"))):ht(Wn,Nt,!1),window.GGBT_wsf_view.launchFullScreen(Xe)}else be=Rn,ht(ft,Nt,!1);if(!window.GGBT_wsf_view)for(wt=0;wtft/4*3&&(Wn=ft/4*3),Xe=Wn/5.8,zn.setAttribute("src",b),zn.setAttribute("width",Wn),zn.setAttribute("height",Xe);var fn=(ft-Wn)/2,Le=(Nt-Xe)/2;zn.style.left=fn+"px",zn.style.top=Le+"px",un.appendChild(zn)}}return un.appendChild(wt),un},ct=function(ft){return ft=ft.toLowerCase(),ft==="html5"||ft==="screenshot"?ft:"html5"},Bt=["web","webSimple","web3d","tablet","tablet3d","phone"],st=function(ft,Nt){if(ie=ft,Nt){rt(ie,!0);return}var yn=!Ce;if(yn){var Rn=fe(ie);!isNaN(Rn)&&Rn<4.4&&(yn=!1)}var un,Kn;window.location.protocol.substr(0,4)==="http"?un=window.location.protocol:un="http:";var wt=ie.indexOf("//");wt>0?Kn=ie:wt===0?Kn=un+ie:Kn="https://www.geogebra.org/apps/5.2.814.0/";for(var zn in Bt)if(ie.slice(Bt[zn].length*-1)===Bt[zn]||ie.slice((Bt[zn].length+1)*-1)===Bt[zn]+"/"){rt(Kn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&yn&&!le.is3D&&!le.AV&&!le.SV&&!le.CV&&!le.EV2&&!le.CP&&!le.PC&&!le.DA&&!le.FI&&!le.PV&&!ke(ve.showToolBar)&&!ke(ve.showMenuBar)&&!ke(ve.showAlgebraInput)&&!ke(ve.enableRightClick)&&(!ve.appName||ve.appName=="classic")?Kn+="webSimple/":Kn+="web3d/",rt(Kn,!1)},rt=function(ft,Nt){if(ft.requirejs){Ue=ft;return}ft.slice(-1)!=="/"&&(ft+="/"),Ue=ft,Nt===null&&(Nt=ft.indexOf("http")===-1),Fe=Nt,y="web.nocache.js",a=!1;var yn=Ue.split("/");yn.length>1&&(!Nt&&yn[yn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Bt.indexOf(yn[yn.length-2])>=0&&(y=yn[yn.length-2]+".nocache.js")),yn=ft.split("/"),ie=yn[yn.length-3],ie.substr(0,4)==="test"?ie=ie.substr(4,1)+"."+ie.substr(5,1):(ie.substr(0,3)==="war"||ie.substr(0,4)==="beta")&&(ie="5.0");var Rn=parseFloat(ie);Rn!==NaN&&Rn<5&&ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rn+" is deprecated. Using version latest instead."),st("5.0",Nt))},Rt=function(ft,Nt){window.console&&window.console.log&&(!Nt||typeof Nt.showLogging=="undefined"||Nt.showLogging&&Nt.showLogging!=="false")&&console.log(ft)};ve.material_id!==void 0?Ne(An):An();function An(){var ft=Ut;Re!==null?ft=Re:parseFloat(ft)<5&&(ft="5.0"),st(ft,!1),Be!==null&&rt(Be,Fe),ze=!0}return Vt},GGBAppletUtils=function(){"use strict";function Vt(){return window.GGBT_wsf_edit!==void 0}function Ut(ze,Re){Re!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+Re+","+Re+")",ze.style.webkitTransform="scale("+Re+","+Re+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function ve(ze,Re,Be,we,De,ce){var Ue=null;if(ce!=null&&ce!="")for(var Fe=ze.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+ce+" ")>-1){Ue=Fe;break}else Fe=Fe.parentNode;var be=0,ie=0,y=0,a=0,ee=0,b=0,te=0;if(Ue)be=Ue.offsetWidth,ie=Math.max(we?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(be=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=be):(be=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),ze){var ne=ze.getBoundingClientRect();ne.left>0&&ne.left<=be&&(De===void 0||!De)&&(document.dir==="rtl"?(ee=be-ne.width-ne.left,b=y<=480?10:30):(b=ne.left,ee=y<=480?10:30),a=b+ee)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return ze&&((Be===void 0||!Be)&&Re>0&&Re+a1&&(ce=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))De=le(ze,Re,ce,Be,ze.scaleContainerClass);else return we;return ce&&(!ze.hasOwnProperty("scale")||we===1)?De:Math.min(we,De)}function je(ze){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),Be=Math.min(window.innerHeight,document.documentElement.clientHeight),we=ze.getBoundingClientRect(),De=(Re-we.width)/2,ce=(Be-we.height)/2;ce<0&&(ce=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(De<40?ze.style.left="40px":ze.style.left=De+"px",ze.style.top=ce+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ce<40?ze.style.top="40px":ze.style.top=ce+"px",ze.style.left=De+"px")}function nt(ze,Re){var Be=ze.querySelector(".appletParameters");if(Be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==Be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(Be.parentElement&&/fullscreen/.test(Be.parentElement.className))return;var we=Ce(Re,ze);Vt()&&Be.setAttribute("data-param-scale",we);for(var De=null,ce=0;ce=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(Vt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Vt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Vt){var Ut=c[Vt];return Ut==null?null:Ut},r=d,webModule.__errFn=e}function B(){function Vt(ze){var Re=ze.lastIndexOf(rb);Re==-1&&(Re=ze.length);var Be=ze.indexOf(sb);Be==-1&&(Be=ze.length);var we=ze.lastIndexOf(tb,Math.min(Be,Re));return we>=O?ze.substring(O,we+P):W}function Ut(ze){if(!ze.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=ze+vb,ze=Vt(Re.src)}return ze}function ve(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function le(){for(var ze=o.getElementsByTagName(_),Re=O;ReO?ze[ze.length-P].href:W}function je(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var nt=ve();return nt==W&&(nt=le()),nt==W&&(nt=Ce()),nt==W&&je()&&(nt=Vt(o.location.href)),nt=Ut(nt),nt}function C(Vt){return Vt.match(/^\//)||Vt.match(/^[a-zA-Z]+:\/\//)?Vt:webModule.__moduleBase+Vt}function D(){var Vt=[],Ut=O,ve=[],le=[];function Ce(ze){var Re=le[ze](),Be=ve[ze];if(Re in Be)return Re;var we=[];for(var De in Be)we[Be[De]]=De;throw r&&r(ze,we,Re),null}if(__gwt_isKnownPropertyValue=function(ze,Re){return Re in ve[ze]},webModule.__getPropMap=function(){var ze={};for(var Re in ve)ve.hasOwnProperty(Re)&&(ze[Re]=Ce(Re));return ze},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var je;try{je=Cb;var nt=je.indexOf(Db);nt!=-1&&(Ut=parseInt(je.substring(nt+P),$),je=je.substring(O,nt))}catch(ze){}return webModule.__softPermutationId=Ut,C(je+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},82977:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Ax:function(){return nt},Ds:function(){return ze},KI:function(){return Be},SI:function(){return je},f1:function(){return Ce}});var le=ve(49647);function Ce(we){let De=!0;if(we.length>0){for(let ce=0;cexe in fe?Ue(fe,xe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):fe[xe]=Pe,a=(fe,xe)=>{for(var Pe in xe||(xe={}))be.call(xe,Pe)&&y(fe,Pe,xe[Pe]);if(Fe)for(var Pe of Fe(xe))ie.call(xe,Pe)&&y(fe,Pe,xe[Pe]);return fe};const ee=(fe={})=>{var xe,Pe,Ne,Ge;let Ye=(xe=fe==null?void 0:fe.emotion)==null?void 0:xe.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),et=(Pe=fe==null?void 0:fe.focus)==null?void 0:Pe.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),ke=(Ne=fe==null?void 0:fe.action)==null?void 0:Ne.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe)),ht=(Ge=fe==null?void 0:fe.intention)==null?void 0:Ge.map(Oe=>a({value:Oe==null?void 0:Oe.rate},Oe));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ye||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:et||[]},{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:ht||[]}]},b=({className:fe,dataSource:xe=[],col:Pe=4,right:Ne,bottom:Ge=23,precision:Ye=0,wrapWidth:et=1200})=>{const ke=(Oe="",xt,ut="--")=>Oe?(Oe==null?void 0:Oe.length)>xt?(Oe==null?void 0:Oe.slice(0,xt-1))+"...":Oe:ut,ht=Math.floor((et-(Pe-1)*Ne)/Pe);return le.createElement("div",{className:nt()(Ce.list,fe)},!!(xe!=null&&xe.length)&&(xe==null?void 0:xe.map((Oe,xt)=>{const{cover_pic:ut,created_at:ot,emotion:Et,action:ct,intention:Bt,focus:st}=Oe;return le.createElement("div",{key:xt,className:Ce.wrap,style:{width:ht,marginRight:(1+xt)%Pe===0?0:Ne+Ye,marginBottom:Ge}},le.createElement("div",{className:Ce.img},le.createElement("img",{src:`${ce.Z.API_SERVER}${ut}`}),le.createElement("div",{className:Ce.tips},le.createElement("div",null,le.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),le.createElement("span",null,ot))),le.createElement("div",{className:Ce.footer},le.createElement("ul",null,le.createElement("li",null,le.createElement("i",{className:"iconfont icon-biaoqing"}),le.createElement("span",null,"\u8868\u60C5\uFF1A",le.createElement(Re.Z,{title:Et},le.createElement("span",{className:"c-grey-333"},ke(Et,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-hangwei"}),le.createElement("span",null,"\u884C\u4E3A\uFF1A",le.createElement(Re.Z,{title:ct},le.createElement("span",{className:"c-grey-333"},ke(ct,4)))))),le.createElement("ul",null,le.createElement("li",null,le.createElement("i",{className:"iconfont icon-yitu"}),le.createElement("span",null,"\u610F\u56FE\uFF1A",le.createElement(Re.Z,{title:Bt},le.createElement("span",{className:"c-grey-333"},ke(Bt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-zhuangtai"}),le.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",le.createElement(Re.Z,{title:st},le.createElement("span",{className:"c-grey-333"},ke(st,3))))))))})))},te=({className:fe,style:xe,title:Pe,hideBar:Ne=!1,children:Ge,customText:Ye="",noDataText:et="",emptyData:ke=[],loading:ht,actionAnalysis:Oe})=>{var xt,ut;const ot=((xt=ke==null?void 0:ke[0])==null?void 0:xt.every(ct=>{var Bt;return!((Bt=ct==null?void 0:ct.data)!=null&&Bt.length)}))&&!((ut=ke==null?void 0:ke[1])!=null&&ut.length)||!Oe,Et=Oe?et:Ye;return le.createElement(Be.Z,{loading:ht,active:!0},ot&&le.createElement("div",{className:nt()(Ce.noData,fe),style:xe},!!Pe&&le.createElement("div",{className:Ce.title},!Ne&&le.createElement("b",null),le.createElement("span",null,Pe)),le.createElement("div",{className:Ce.itemWrap},le.createElement(De.Z,{customText:Et}))),!ot&&Ge)};var ae=({className:fe,style:xe,data:Pe=[],title:Ne,hideBar:Ge=!1,loading:Ye=!1})=>le.createElement("div",{className:nt()(Ce.analysis,fe),style:xe},!!Ne&&le.createElement("div",{className:Ce.title},!Ge&&le.createElement("b",null),le.createElement("span",null,Ne)),le.createElement(we.Z,{spinning:Ye},le.createElement("div",{className:Ce.itemWrap},Pe==null?void 0:Pe.map((et,ke)=>le.createElement("div",{className:Ce.item,key:ke},le.createElement(ze.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:et==null?void 0:et.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(ht){for(let Oe in et==null?void 0:et.data)if(ht==(et==null?void 0:et.data[Oe].name))return ht+" "+(et==null?void 0:et.data[Oe].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:et==null?void 0:et.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:et==null?void 0:et.data}]},style:{height:145}}))))))},86858:function(Vt,Ut,ve){"use strict";var le=ve(86204),Ce=ve.n(le),je=Object.defineProperty,nt=(we,De,ce)=>De in we?je(we,De,{enumerable:!0,configurable:!0,writable:!0,value:ce}):we[De]=ce,ze=(we,De,ce)=>nt(we,typeof De!="symbol"?De+"":De,ce),Re=(we,De,ce)=>new Promise((Ue,Fe)=>{var be=a=>{try{y(ce.next(a))}catch(ee){Fe(ee)}},ie=a=>{try{y(ce.throw(a))}catch(ee){Fe(ee)}},y=a=>a.done?Ue(a.value):Promise.resolve(a.value).then(be,ie);y((ce=ce.apply(we,De)).next())});class Be extends le.EventEmitter{constructor(De,ce){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=De,this.body=ce}startStream(){return Re(this,null,function*(){this.controller=new AbortController;const{signal:De}=this.controller;try{const ce=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:De});if(!ce.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ce.status}`);const Ue=ce.headers.get("content-type");if(!Ue)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(Ue.includes("application/json")){const ie=yield ce.json();this.emit("error",ie);return}if(!Ue.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Fe=ce.body.getReader(),be=new TextDecoder("utf-8");for(;;){const{done:ie,value:y}=yield Fe.read();if(ie)break;const a=be.decode(y,{stream:!0});this.buffer+=a;const ee=this.buffer.split(` `);this.buffer=ee.pop()||"";for(const b of ee)if(b.startsWith("data:")){const te=b.slice(5).trim();if(te==="[DONE]")break;try{const ne=JSON.parse(te);ne.data&&this.handleData(ne.data)}catch(ne){this.buffer=b+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(ce){ce.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ce.message)}})}handleData(De){De.content&&(this.fullContent+=De.content,this.emit("data",{chunk:De,full:this.fullContent}))}cancelRequest(){var De;(De=this.controller)==null||De.abort()}}Ut.Z=Be},5140:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return Fe}});var le=ve(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},je=ve(92310),nt=ve.n(je),ze=ve(71418),Re=ve(2859),Be=ve(98280),we=ve(19374),De=ve(75790),ce=(be,ie,y)=>new Promise((a,ee)=>{var b=ae=>{try{ne(y.next(ae))}catch(fe){ee(fe)}},te=ae=>{try{ne(y.throw(ae))}catch(fe){ee(fe)}},ne=ae=>ae.done?a(ae.value):Promise.resolve(ae.value).then(b,te);ne((y=y.apply(be,ie)).next())}),Fe=({data:be,className:ie,fullWidth:y,style:a={},onClose:ee,onOk:b,showFullTools:te,noAssociationId:ne})=>{const ae=(0,De.useIntl)(),fe=(0,le.useRef)(null),xe=(0,le.useRef)(null),Pe=(0,le.useRef)(null),Ne=(0,le.useRef)(null),[Ge,Ye]=(0,le.useState)(!1),[et,ke]=(0,le.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,le.useEffect)(()=>{Pe.current||(Pe.current=document.createElement("style"),document.head.appendChild(Pe.current)),be!=null&&be.visible?(document.body.setAttribute("data-custom","y-hidden"),Pe.current.innerHTML=" html { overflow-y: hidden; }",be!=null&&be.src&&ht()):(document.body.removeAttribute("data-custom"),Pe.current&&(document.head.removeChild(Pe.current),Pe.current=null))},[be==null?void 0:be.visible]);const ht=()=>ce(void 0,null,function*(){Ye(!0),ke("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Et=yield(0,we.ZJ)(be==null?void 0:be.src);fe.current.src="",fe.current.src=Et,fe.current.onload=function(){ot()},Ye(!1),ke("")}),Oe=()=>{document.body.removeAttribute("data-custom"),Pe.current.innerHTML=" ",ee()},xt=Et=>ce(void 0,null,function*(){Ye(!0),ke("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ct=yield(0,Be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:be.title,file:Et.dataUrl}});ct!=null&&ct.id&&!ne?(yield(0,Be.ZP)(`/api/attachments/${be.id}/add_subitem.json`,{method:"post",body:{subitem_id:ct==null?void 0:ct.id,settings:JSON.stringify(Et.state)}})).status===0&&b():ct!=null&&ct.id&&b(ct),document.body.removeAttribute("data-custom"),Pe.current.innerHTML=" ",Ye(!1),ke("")}),ut=()=>{const Et=document.querySelector('a[href="https://markerjs.com/"]');Et&&Et.parentNode&&(Et.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:ae.formatMessage({id:"shixuns.text",defaultMessage:"\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:ae.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Bt=>{const st=document.querySelector(Bt.name);st&&st.setAttribute("title",Bt.title)})},ot=()=>{xe.current=new Re.hP(fe.current),xe.current.targetRoot=Ne.current,xe.current.addEventListener("render",xt),xe.current.addEventListener("beforeclose",Oe),te&&(xe.current.availableMarkerTypes=xe.current.ALL_MARKER_TYPES,xe.current.uiStyleSettings.redoButtonVisible=!0,xe.current.uiStyleSettings.notesButtonVisible=!0,xe.current.uiStyleSettings.zoomButtonVisible=!0,xe.current.uiStyleSettings.zoomOutButtonVisible=!0,xe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=xe.current.uiStyleSettings,xe.current.show(),be!=null&&be.snapshotData&&xe.current.restoreState(be.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ut()},300)};return le.createElement(le.Fragment,null,(be==null?void 0:be.visible)&&le.createElement(ze.Z,{spinning:Ge,tip:et,style:{position:"absolute"}},le.createElement("div",{ref:Ne,className:nt()(Ce.imageDimensions,ie,y?Ce.fullWidth:""),style:a},le.createElement("img",{className:Ce.img,ref:fe}))))}},88601:function(Vt,Ut,ve){"use strict";var le=ve(59301),Ce=ve(95237),je=ve(43604),nt=ve(99313),ze=ve(3113),Re=ve(12470),Be=ve(69453),we=ve(48136),De=ve(75790),ce=ve(59301);const Ue=(0,le.forwardRef)(({callback:Fe,showSaveButton:be,value:ie=""},y)=>{const a=(0,le.useRef)(),ee=(0,De.useIntl)(),b=[{name:ee.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\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 "}]}]}],te=[{name:ee.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\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:ee.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\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}`}]}]}],ne=xe=>{a.current.setValue(a.current.getValue()+" "+xe.value+" ")},ae=[{key:"1",label:ee.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:ce.createElement(Ce.Z,{className:Be.Z.lists,gutter:[10,10]},b.map((xe,Pe)=>ce.createElement(je.Z,{flex:"110px",className:Be.Z.item},ce.createElement("div",null,ce.createElement(Re.Z,{value:`$$${xe.value}$$`}),xe.name),ce.createElement("div",{className:Be.Z.children},xe.children.map((Ne,Ge)=>ce.createElement("div",{key:Ge},ce.createElement("h1",null,Ne.name),ce.createElement(Ce.Z,{gutter:[10,10]},Ne.data.map((Ye,et)=>ce.createElement(je.Z,{key:et,onClick:()=>ne(Ye),className:Be.Z.diamond},ce.createElement(Re.Z,{value:"`$$"+Ye.value+"$$`"}))))))))))},{key:"2",label:ee.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:ce.createElement(Ce.Z,{className:Be.Z.lists,gutter:[10,10]},te.map((xe,Pe)=>ce.createElement(je.Z,{flex:"110px",className:Be.Z.item},ce.createElement("div",null,ce.createElement(Re.Z,{value:"`$$"+xe.value+"$$`"}),xe.name),ce.createElement("div",{className:Be.Z.children},xe.children.map((Ne,Ge)=>ce.createElement("div",{key:Ge},Ne.name&&ce.createElement("h1",null,Ne.name),ce.createElement(Ce.Z,{gutter:[10,10]},Ne.data.map((Ye,et)=>ce.createElement(je.Z,{key:et,onClick:()=>ne(Ye),className:Be.Z.diamond},ce.createElement(Re.Z,{value:"`$$"+Ye.value+"$$`"}))))))))))}],fe=()=>{var xe=document.createElement("div");xe.innerHTML=a.current.getValue();var Pe=xe.innerText;return Fe&&Fe(Pe),Pe};return(0,le.useImperativeHandle)(y,()=>({getData:fe})),ce.createElement("div",{className:Be.Z.mathWrap},ce.createElement(nt.default,{defaultActiveKey:"1",items:ae}),ce.createElement("math-field",{locale:"zh_cn",className:Be.Z.mathField,placeholder:ee.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:a,style:{width:800,marginTop:30,fontSize:18}},ie||""),be&&ce.createElement("div",{className:Be.Z.button},ce.createElement(ze.ZP,{size:"large",onClick:fe,style:{zIndex:8,marginTop:10},type:"primary"},ee.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});Ut.Z=Ue},61941:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return ht}});var le=ve(59301),Ce=ve(75790),je=ve(43418),nt=ve(78241),ze=ve(8591),Re=ve(71418),Be=ve(17574),we=ve(95237),De=ve(43604),ce=ve(6848),Ue=ve(92832),Fe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},be=ve(57318),ie=ve(14203),y=ve(91570),a=ve(63090),ee=Object.defineProperty,b=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,xe=(Oe,xt,ut)=>xt in Oe?ee(Oe,xt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Oe[xt]=ut,Pe=(Oe,xt)=>{for(var ut in xt||(xt={}))ae.call(xt,ut)&&xe(Oe,ut,xt[ut]);if(ne)for(var ut of ne(xt))fe.call(xt,ut)&&xe(Oe,ut,xt[ut]);return Oe},Ne=(Oe,xt)=>b(Oe,te(xt)),Ge=(Oe,xt)=>{var ut={};for(var ot in Oe)ae.call(Oe,ot)&&xt.indexOf(ot)<0&&(ut[ot]=Oe[ot]);if(Oe!=null&&ne)for(var ot of ne(Oe))xt.indexOf(ot)<0&&fe.call(Oe,ot)&&(ut[ot]=Oe[ot]);return ut},Ye=(Oe,xt,ut)=>new Promise((ot,Et)=>{var ct=rt=>{try{st(ut.next(rt))}catch(Rt){Et(Rt)}},Bt=rt=>{try{st(ut.throw(rt))}catch(Rt){Et(Rt)}},st=rt=>rt.done?ot(rt.value):Promise.resolve(rt.value).then(ct,Bt);st((ut=ut.apply(Oe,xt)).next())});const et=(Oe=[])=>Oe==null?void 0:Oe.map(xt=>Ne(Pe({},xt),{title:(xt==null?void 0:xt.value)||"",key:xt==null?void 0:xt.id,isLeaf:!0})),ke=Oe=>{var xt=Oe,{user:ut,children:ot,isShowComponent:Et=!0,ModalProps:ct={},onDataSelect:Bt}=xt,st=Ge(xt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const rt=(0,Ce.useIntl)(),[Rt,An]=je.default.useModal(),[ft]=nt.default.useForm(),[Nt,yn]=(0,le.useState)([]),[Rn,un]=(0,le.useState)(!1),[Kn,wt]=(0,le.useState)(!1),[,zn,Wn,Xe]=(0,be.U)(ie.qE,{page:1,limit:9999}),[,,fn]=(0,be.U)(ie.V8,{}),[,,Le]=(0,be.U)(ie.B$,{}),[,,he]=(0,be.U)(ie.DH,{}),[,,ge]=(0,be.U)(ie.bJ,{}),Se=()=>{un(!1),ft.resetFields(),wt(!1)},qe=He=>Ye(void 0,null,function*(){const{node:Ve,dragNode:bt,event:gt}=He,At=He.node.pos.split("-"),jt=He.dropPosition-Number(At[At.length-1]);if(jt==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(jt==1&&(bt==null?void 0:bt.item_index)==(Ve==null?void 0:Ve.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const kn=yield ge({id:bt==null?void 0:bt.key,position:jt==-1?1:(bt==null?void 0:bt.item_index)>(Ve==null?void 0:Ve.item_index)?(Ve==null?void 0:Ve.item_index)+1:Ve==null?void 0:Ve.item_index});(kn==null?void 0:kn.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Wn({},!0))}),pt=He=>Ye(void 0,null,function*(){let Ve={};Kn?Ve=yield Le(Pe({},He)):Ve=yield he(Pe({},He)),(Ve==null?void 0:Ve.status)==0&&(ze.ZP.success((Ve==null?void 0:Ve.message)||(Kn?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Wn({},!0),Se())});return(0,le.useEffect)(()=>{ct!=null&&ct.open&&Wn({},!0)},[ct==null?void 0:ct.open]),(0,le.useEffect)(()=>{var He;yn(et((He=Xe==null?void 0:Xe.data)==null?void 0:He.list))},[Xe]),Et?le.createElement(le.Fragment,null,An,ot,le.createElement(je.default,Pe({},Pe({title:rt.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}),width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},ct)),le.createElement(Re.Z,{spinning:zn},(Nt==null?void 0:Nt.length)>0?le.createElement(le.Fragment,null,le.createElement(Be.default.DirectoryTree,{height:500,className:Fe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Bt,treeData:Nt,onDrop:qe,titleRender:He=>le.createElement(le.Fragment,null,le.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},He==null?void 0:He.title),le.createElement("div",{className:`${Fe.EditDom}`},le.createElement(we.Z,{wrap:!1,align:"middle",gutter:16},le.createElement(De.Z,null,le.createElement(ce.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},le.createElement("i",{className:`iconfont icon-tuodong1 font12 ${Fe.currentPrimary}`}))),le.createElement(De.Z,null,le.createElement(ce.Z,{title:rt.formatMessage({id:"classroomProgrammingHomework.edit",defaultMessage:"\u7F16\u8F91"})},le.createElement("i",{className:`iconfont icon-bianji11 font12 ${Fe.currentPrimary}`,onClick:Ve=>{Ve.stopPropagation(),ft.setFieldsValue(Pe({},He)),un(!0)}}))),le.createElement(De.Z,null,le.createElement(ce.Z,{title:"\u5220\u9664"},le.createElement("i",{className:`iconfont icon-shanchu14 font12 ${Fe.currentDelete}`,onClick:Ve=>{Ve.stopPropagation(),Rt.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:()=>Ye(void 0,null,function*(){const bt=yield fn({id:He==null?void 0:He.key});(bt==null?void 0:bt.status)==0&&(ze.ZP.success((bt==null?void 0:bt.message)||"\u5220\u9664\u6210\u529F"),Wn({},!0))})})}}))))))}),le.createElement(a.op,{className:"ml20 mt20",icon:le.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{wt(!0),un(!0)}},rt.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"}))):le.createElement(y.Z,{styles:{margin:"30px auto"},customText:le.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",le.createElement("a",{onClick:()=>{wt(!0),un(!0)}},rt.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"})))}))),le.createElement(je.default,{title:Kn?rt.formatMessage({id:"classroomGraphicGroupHomework.addCommonComment",defaultMessage:"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"}):"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Rn,okText:Kn?rt.formatMessage({id:"classrooms.add",defaultMessage:"\u6DFB\u52A0"}):rt.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),onCancel:()=>{Se()},onOk:()=>{ft.submit()}},le.createElement(nt.default,{form:ft,onFinish:pt},Kn&&le.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"),le.createElement(nt.default.Item,{hidden:!0,name:"id"}),le.createElement(nt.default.Item,{className:"mt10",name:"value"},le.createElement(Ue.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}}))))):null};var ht=(0,Ce.connect)(({loading:Oe,user:xt})=>({user:xt,loading:Oe.effects}))(ke)},45923:function(Vt,Ut,ve){"use strict";ve.d(Ut,{h:function(){return fe}});var le=ve(59301),Ce=ve(57809),je=ve(78241),nt=ve(3113),ze=ve(89780),Re=ve.n(ze),Be=ve(6303),we=ve(87671),De=ve(75790),ce=Object.defineProperty,Ue=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,a=(xe,Pe,Ne)=>Pe in xe?ce(xe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):xe[Pe]=Ne,ee=(xe,Pe)=>{for(var Ne in Pe||(Pe={}))ie.call(Pe,Ne)&&a(xe,Ne,Pe[Ne]);if(be)for(var Ne of be(Pe))y.call(Pe,Ne)&&a(xe,Ne,Pe[Ne]);return xe},b=(xe,Pe)=>Ue(xe,Fe(Pe));const te=Ce.default.Option,ne={labelCol:{span:4},wrapperCol:{span:20}},ae={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"]};Ut.Z=({callback:xe,onCancel:Pe})=>{const[Ne,Ge]=(0,le.useState)("python");function Ye(ht){Ge(ae[ht][1])}function et(ht){xe(ht)}const ke=(0,De.useIntl)();return le.createElement(je.default,b(ee({},ne),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:et,style:{width:500}}),le.createElement(je.default.Item,{label:ke.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},le.createElement(Ce.default,{getPopupContainer:ht=>ht.parentNode,onChange:Ye},Object.keys(ae).map(ht=>le.createElement(te,{key:ht,value:ht},ae[ht][0])))),le.createElement(je.default.Item,{label:ke.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(fe,{mode:Ne})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(nt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},ke.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),le.createElement(nt.ZP,{type:"ghost",onClick:Pe},ke.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function fe({value:xe,onChange:Pe,mode:Ne,options:Ge={}}){const Ye=(0,le.useRef)(),[et,ke]=(0,le.useState)();return(0,le.useEffect)(()=>{if(et){let ht=function(Oe){const xt=Oe.getValue();Pe&&Pe(xt)};return et.on("change",ht),()=>{et.off("change",ht)}}},[et,Pe]),(0,le.useEffect)(()=>{et&&et.setOption("mode",Ne)},[et,Ne]),(0,le.useEffect)(()=>{et&&(xe!==et.getValue()||xe==="")&&setTimeout(()=>{et.setValue(xe||"")},300)},[et,xe]),(0,le.useEffect)(()=>{if(Ye.current&&!et){const ht=Re().fromTextArea(Ye.current,ee({mode:Ne,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ge));ke(ht)}},[Ye.current,et]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ye}))}},48551:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return as}});var le=ve(59301),Ce=ve(89780),je=ve.n(Ce),nt=ve(76374),ze=ve(6303),Re=ve(6313),Be=ve(25717),we=ve(99498),De=ve(25419),ce=ve(67549),Ue=ve(12470),Fe=({value:mn="",className:Cn,showTextOnly:Fn,showLines:gr,style:aa={}})=>{const oa=(0,le.useMemo)(()=>"",[mn]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:oa}}))},be=ve(75790),ie=ve(59301),y=Object.defineProperty,a=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ae=(mn,Cn,Fn)=>Cn in mn?y(mn,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):mn[Cn]=Fn,fe=(mn,Cn)=>{for(var Fn in Cn||(Cn={}))te.call(Cn,Fn)&&ae(mn,Fn,Cn[Fn]);if(b)for(var Fn of b(Cn))ne.call(Cn,Fn)&&ae(mn,Fn,Cn[Fn]);return mn},xe=(mn,Cn)=>a(mn,ee(Cn));function Pe({onActionCallback:mn,title:Cn,icon:Fn,actionName:gr,className:aa="",children:oa}){function ma(){mn(gr)}return ie.createElement("a",{title:Cn,className:aa,onClick:ma},ie.createElement("i",{className:`${Fn}`}),oa)}var Ne=({watch:mn,showNullButton:Cn,showNullProgramButton:Fn,onActionCallback:gr,fullScreen:aa,insertTemp:oa,hidetoolBar:ma,extraUse:pa})=>{const da=(0,be.useIntl)(),Ti=[...[{title:da.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:da.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:da.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:da.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:da.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:da.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:da.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:da.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:da.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:da.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:da.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:da.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:da.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:da.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:da.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:da.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${mn?da.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):da.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${mn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ie.createElement("ul",{className:"markdown-toolbar-container"},!ma&&Ti.map((li,kr)=>ie.createElement("li",{key:kr},li.actionName?ie.createElement(Pe,xe(fe({},li),{onActionCallback:gr})):ie.createElement("span",{className:"v-line"}))),Cn?ie.createElement("li",null,ie.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gr},ie.createElement("span",{className:"fill-tip"},da.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",da.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,Fn?ie.createElement(ie.Fragment,null,ie.createElement("li",null,ie.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gr},ie.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ie.createElement("li",null,ie.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gr},ie.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,oa&&ie.createElement("li",null,ie.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:da.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${oa}`,onActionCallback:gr},ie.createElement("span",{className:"fill-tip"},da.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),pa&&ie.createElement("li",null,pa),ie.createElement("li",{className:"btn-full-screen"},ie.createElement(Pe,{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:gr})))},Ge=ve(44991),Ye=ve(78241),et=ve(92832),ke=ve(3113),ht=Object.defineProperty,Oe=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,ct=(mn,Cn,Fn)=>Cn in mn?ht(mn,Cn,{enumerable:!0,configurable:!0,writable:!0,value:Fn}):mn[Cn]=Fn,Bt=(mn,Cn)=>{for(var Fn in Cn||(Cn={}))ot.call(Cn,Fn)&&ct(mn,Fn,Cn[Fn]);if(ut)for(var Fn of ut(Cn))Et.call(Cn,Fn)&&ct(mn,Fn,Cn[Fn]);return mn},st=(mn,Cn)=>Oe(mn,xt(Cn));const rt={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:mn,onCancel:Cn})=>{function Fn(aa){mn(aa)}const gr=(0,be.useIntl)();return le.createElement(Ye.default,st(Bt({},rt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Fn,style:{width:500}}),le.createElement(Ye.default.Item,{label:gr.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(et.default,null)),le.createElement(Ye.default.Item,{label:gr.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(et.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},gr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),le.createElement(ke.ZP,{type:"ghost",onClick:Cn},gr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},An=ve(45923),ft=ve(76021),Nt=ve(43418),yn=ve(95237),Rn=ve(5140),un=ve(59301),Kn=({callback:mn,onCancel:Cn})=>{const Fn=document.createElement("canvas"),gr=Fn.getContext("2d");Fn.width=1e3,Fn.height=800,gr.fillStyle="#ffffff",gr.fillRect(0,0,Fn.width,Fn.height);const aa=Fn.toDataURL("image/png");return un.createElement(Nt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},un.createElement(yn.Z,{style:{height:"100vh"}},un.createElement(Rn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:aa,visible:!0,title:String(Date.now())},onOk:oa=>{mn({src:oa.url})},onClose:Cn})))},wt=ve(12378);function zn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(zn,go.CommandHandler),zn.prototype.canAlignSelection=function(){var mn=this.diagram;return!(mn===null||mn.isReadOnly||mn.isModelReadOnly||mn.selection.count<2)},zn.prototype.alignLeft=function(){var mn=this.diagram;mn.startTransaction("aligning left");var Cn=1/0;mn.selection.each(function(Fn){Fn instanceof go.Link||(Cn=Math.min(Fn.position.x,Cn))}),mn.selection.each(function(Fn){Fn instanceof go.Link||Fn.move(new go.Point(Cn,Fn.position.y))}),mn.commitTransaction("aligning left")},zn.prototype.alignRight=function(){var mn=this.diagram;mn.startTransaction("aligning right");var Cn=-1/0;mn.selection.each(function(Fn){if(!(Fn instanceof go.Link)){var gr=Fn.actualBounds.x+Fn.actualBounds.width;Cn=Math.max(gr,Cn)}}),mn.selection.each(function(Fn){Fn instanceof go.Link||Fn.move(new go.Point(Cn-Fn.actualBounds.width,Fn.position.y))}),mn.commitTransaction("aligning right")},zn.prototype.alignTop=function(){var mn=this.diagram;mn.startTransaction("alignTop");var Cn=1/0;mn.selection.each(function(Fn){Fn instanceof go.Link||(Cn=Math.min(Fn.position.y,Cn))}),mn.selection.each(function(Fn){Fn instanceof go.Link||Fn.move(new go.Point(Fn.position.x,Cn))}),mn.commitTransaction("alignTop")},zn.prototype.alignBottom=function(){var mn=this.diagram;mn.startTransaction("aligning bottom");var Cn=-1/0;mn.selection.each(function(Fn){if(!(Fn instanceof go.Link)){var gr=Fn.actualBounds.y+Fn.actualBounds.height;Cn=Math.max(gr,Cn)}}),mn.selection.each(function(Fn){Fn instanceof go.Link||Fn.move(new go.Point(Fn.actualBounds.x,Cn-Fn.actualBounds.height))}),mn.commitTransaction("aligning bottom")},zn.prototype.alignCenterX=function(){var mn=this.diagram,Cn=mn.selection.first();if(Cn){mn.startTransaction("aligning Center X");var Fn=Cn.actualBounds.x+Cn.actualBounds.width/2;mn.selection.each(function(gr){gr instanceof go.Link||gr.move(new go.Point(Fn-gr.actualBounds.width/2,gr.actualBounds.y))}),mn.commitTransaction("aligning Center X")}},zn.prototype.alignCenterY=function(){var mn=this.diagram,Cn=mn.selection.first();if(Cn){mn.startTransaction("aligning Center Y");var Fn=Cn.actualBounds.y+Cn.actualBounds.height/2;mn.selection.each(function(gr){gr instanceof go.Link||gr.move(new go.Point(gr.actualBounds.x,Fn-gr.actualBounds.height/2))}),mn.commitTransaction("aligning Center Y")}},zn.prototype.alignColumn=function(mn){var Cn=this.diagram;Cn.startTransaction("align Column"),mn===void 0&&(mn=0),mn=parseFloat(mn);var Fn=new Array;Cn.selection.each(function(pa){pa instanceof go.Link||Fn.push(pa)});for(var gr=0;gr0){for(var pa=oa.elt(ma-1);pa!==null&&pa.isTreeExpanded&&!pa.isTreeLeaf;){var da=this._sortTreeChildrenByY(pa);pa=da.last()}pa!==null&&mn.select(pa)}else mn.select(aa)}}else if(Fn.key==="Down")if(Cn.isTreeExpanded&&!Cn.isTreeLeaf){var gr=this._sortTreeChildrenByY(Cn).first();gr!==null&&mn.select(gr)}else for(;Cn!==null;){var aa=Cn.findTreeParentNode();if(aa===null)break;var oa=this._sortTreeChildrenByY(aa),ma=oa.indexOf(Cn);if(maoa.y?1:aa.xoa.x?1:0}),Cn},zn.prototype.copyToClipboard=function(mn){go.CommandHandler.prototype.copyToClipboard.call(this,mn),this._lastPasteOffset.set(this.pasteOffset)},zn.prototype.pasteFromClipboard=function(){var mn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(mn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),mn},Object.defineProperty(zn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(mn){if(mn!=="move"&&mn!=="select"&&mn!=="scroll"&&mn!=="tree"&&mn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+mn);this._arrowKeyBehavior=mn}}),Object.defineProperty(zn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(mn){if(!(mn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+mn);this._pasteOffset.set(mn)}});var Wn=zn,Xe=ve(72179),fn=ve(43604),Le=ve(98280),he={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ge=ve(59301),Se=(mn,Cn,Fn)=>new Promise((gr,aa)=>{var oa=da=>{try{pa(Fn.next(da))}catch(co){aa(co)}},ma=da=>{try{pa(Fn.throw(da))}catch(co){aa(co)}},pa=da=>da.done?gr(da.value):Promise.resolve(da.value).then(oa,ma);pa((Fn=Fn.apply(mn,Cn)).next())});function qe({onCancel:mn,callback:Cn}){let Fn=(0,le.useRef)(),gr=(0,le.useRef)(),aa=(0,le.useRef)(),oa=(0,le.useRef)(!1);const ma=(0,le.useRef)(!1),[pa,da]=(0,le.useState)(0);function co(){const kr=wt.bx.make,Ua={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"};Fn.current=new wt.S0(gr.current,{padding:20,grid:kr(wt.s_,"Grid",kr(wt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),kr(wt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Gr=>{var oo=Gr.diagram.commandHandler.addTopLevelParts(Gr.diagram.selection,!0);oo||Gr.diagram.currentTool.doCancel()},commandHandler:kr(Wn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Gr=>{var oo=Gr.subject;oo.location=oo.location.copy().snapToGridPoint(Gr.diagram.grid.gridOrigin,Gr.diagram.grid.gridCellSize),setTimeout(()=>{Gr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Gr=>{var oo=Gr.subject;setTimeout(()=>{Gr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Gr=>{var oo=Gr.parameter.part;oo.invalidateConnectedLinks();var io=Gr.subject;Gr.diagram.toolManager.linkingTool.isForwards?io.toNode.invalidateConnectedLinks():io.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Fn.current.nodeTemplate=kr(wt.NB,"Auto",{locationSpot:wt.z6.Center,locationObjectName:"SHAPE",desiredSize:new wt.$u(120,60),minSize:new wt.$u(40,40),resizable:!0,resizeCellSize:new wt.$u(10,10),rotatable:!0},new wt.KX("location","loc",wt.E9.parse).makeTwoWay(wt.E9.stringify),new wt.KX("desiredSize","size",wt.$u.parse).makeTwoWay(wt.$u.stringify),kr(wt.bn,{name:"SHAPE",fill:Ua.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:wt.z6.AllSides,toSpot:wt.z6.AllSides},new wt.KX("figure"),new wt.KX("fill"),new wt.KX("stroke","borderColor"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),kr(wt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),kr(wt.al,{margin:1,textAlign:"center",overflow:wt.al.OverflowEllipsis,editable:!0},new wt.KX("text").makeTwoWay(),new wt.KX("stroke","color"))),Fn.current.nodeTemplate.toolTip=kr("ToolTip",kr(wt.s_,"Vertical",{maxSize:new wt.$u(200,NaN)},kr(wt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new wt.KX("text")),kr(wt.al,{font:"10pt sans-serif",textAlign:"center"},new wt.KX("text","details"))));function Ki(Gr,oo){var io=(Ja,$i)=>{Ja.handled=!0,Ja.diagram.model.commit(us=>{var zs=$i.part.adornedPart,gA=new wt.E9().setRectSpot(zs.actualBounds,Gr);gA.subtract(zs.location),gA.scale(2,2),gA.x+=Math.sign(gA.x)*130,gA.y+=Math.sign(gA.y)*130,gA.add(zs.location),gA.snapToGridPoint(Ja.diagram.grid.gridOrigin,Ja.diagram.grid.gridCellSize);var LA=us.copyNodeData(zs.data);us.setGroupKeyForNodeData(LA,us.getGroupKeyForNodeData(zs.data)),us.addNodeData(LA);var oi={from:zs.key,to:us.getKeyForNodeData(LA)};us.addLinkData(oi);var Va=Ja.diagram.findNodeForData(LA);Va.location=gA,Ja.diagram.select(Va),setTimeout(()=>{Ja.diagram.commandHandler.editTextBlock()},20)})};return kr(wt.bn,{figure:oo,alignment:Gr,alignmentFocus:Gr.opposite(),width:Gr.equals(wt.z6.Top)||Gr.equals(wt.z6.Bottom)?25:18,height:Gr.equals(wt.z6.Top)||Gr.equals(wt.z6.Bottom)?18:25,fill:"orange",stroke:Ua.white,strokeWidth:4,mouseEnter:(Ja,$i)=>$i.fill="dodgerblue",mouseLeave:(Ja,$i)=>$i.fill="orange",isActionable:!0,click:io,contextClick:io})}function $o(Gr){return kr(wt.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:(oo,io)=>io.fill="dodgerblue",mouseLeave:(oo,io)=>io.fill="orange",click:(oo,io)=>{oo.diagram.commandHandler.showContextMenu(io.part.adornedPart)}},Gr||{})}Fn.current.nodeTemplate.selectionAdornmentTemplate=kr(wt.uz,"Spot",kr(wt.Vm,{padding:10}),Ki(wt.z6.Top,"TriangleUp"),Ki(wt.z6.Left,"TriangleLeft"),Ki(wt.z6.Right,"TriangleRight"),Ki(wt.z6.Bottom,"TriangleDown"),$o({alignment:new wt.z6(.75,0)}));function Uo(Gr,oo){return(io,Ja)=>{io.handled=!0,io.diagram.model.commit($i=>{$i.set(Ja.part.adornedPart.data,Gr,oo)})}}function xo(Gr,oo){return oo||(oo="color"),kr(wt.bn,{width:16,height:16,stroke:"lightgray",fill:Gr,margin:1,background:"transparent",mouseEnter:(io,Ja)=>Ja.stroke="dodgerblue",mouseLeave:(io,Ja)=>Ja.stroke="lightgray",click:Uo(oo,Gr),contextClick:Uo(oo,Gr)})}function qi(){return[kr("ContextMenuButton",kr(wt.s_,"Horizontal",xo(Ua.white,"fill"),xo(Ua.beige,"fill"),xo(Ua.extralightblue,"fill"),xo(Ua.extralightred,"fill"))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",xo(Ua.lightgray,"fill"),xo(Ua.lightgreen,"fill"),xo(Ua.lightblue,"fill"),xo(Ua.lightred,"fill")))]}function Vs(){return[kr("ContextMenuButton",kr(wt.s_,"Horizontal",xo(Ua.black),xo(Ua.green),xo(Ua.blue),xo(Ua.red))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",xo(Ua.white),xo(Ua.magenta),xo(Ua.purple),xo(Ua.orange)))]}function Ys(Gr,oo){return oo||(oo="thickness"),kr(wt.bn,"LineH",{width:16,height:16,strokeWidth:Gr,margin:1,background:"transparent",mouseEnter:(io,Ja)=>Ja.background="dodgerblue",mouseLeave:(io,Ja)=>Ja.background="transparent",click:Uo(oo,Gr),contextClick:Uo(oo,Gr)})}function os(Gr,oo){return oo||(oo="dash"),kr(wt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Gr,margin:1,background:"transparent",mouseEnter:(io,Ja)=>Ja.background="dodgerblue",mouseLeave:(io,Ja)=>Ja.background="transparent",click:Uo(oo,Gr),contextClick:Uo(oo,Gr)})}function nA(){return[kr("ContextMenuButton",kr(wt.s_,"Horizontal",Ys(1),Ys(2),Ys(3),Ys(4))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",os(null),os([2,4]),os([4,4])))]}function Ui(Gr,oo){return oo||(oo="figure"),kr(wt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Gr,margin:1,background:"transparent",mouseEnter:(io,Ja)=>Ja.fill="dodgerblue",mouseLeave:(io,Ja)=>Ja.fill="lightgray",click:Uo(oo,Gr),contextClick:Uo(oo,Gr)})}Fn.current.nodeTemplate.contextMenu=kr("ContextMenu",kr("ContextMenuButton",kr(wt.s_,"Horizontal",Ui("Rectangle"),Ui("RoundedRectangle"),Ui("Ellipse"),Ui("Diamond"))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",Ui("Parallelogram2"),Ui("ManualOperation"),Ui("Procedure"),Ui("Cylinder1"))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",Ui("Terminator"),Ui("CreateRequest"),Ui("Document"),Ui("TriangleDown"))),qi(),Vs(),nA()),Fn.current.groupTemplate=kr(wt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:wt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Gr,oo)=>{var io=oo.addMembers(oo.diagram.selection,!0);io||oo.diagram.currentTool.doCancel()},avoidable:!1},new wt.KX("location","loc",wt.E9.parse).makeTwoWay(wt.E9.stringify),kr(wt.s_,"Auto",{name:"BODY"},kr(wt.bn,{parameter1:10,fill:Ua.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:wt.z6.AllSides,toSpot:wt.z6.AllSides},new wt.KX("fill"),new wt.KX("stroke","color"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),kr(wt.Vm,{background:"transparent",margin:20})),kr(wt.al,{alignment:wt.z6.Top,alignmentFocus:wt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new wt.KX("text"),new wt.KX("stroke","color"))),Fn.current.groupTemplate.selectionAdornmentTemplate=kr(wt.uz,"Spot",kr(wt.s_,"Auto",kr(wt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),kr(wt.Vm,{margin:1.5})),$o({alignment:wt.z6.TopRight,alignmentFocus:wt.z6.BottomRight})),Fn.current.groupTemplate.contextMenu=kr("ContextMenu",qi(),Vs(),nA()),Fn.current.linkTemplate=kr(wt.rU,{layerName:"Foreground",routing:wt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new wt.KX("fromSpot","fromSpot",wt.z6.parse),new wt.KX("toSpot","toSpot",wt.z6.parse),new wt.KX("fromShortLength","dir",Gr=>Gr>=1?10:0),new wt.KX("toShortLength","dir",Gr=>Gr>=1?10:0),new wt.KX("points").makeTwoWay(),kr(wt.bn,{strokeWidth:2},new wt.KX("stroke","color"),new wt.KX("strokeWidth","thickness"),new wt.KX("strokeDashArray","dash")),kr(wt.bn,{segmentIndex:0,segmentOffset:new wt.E9(15,0),segmentOrientation:wt.rU.OrientAlong,alignmentFocus:wt.z6.Right,figure:"circle",width:10,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Gr=>Gr===1)),kr(wt.bn,{segmentIndex:-1,segmentOffset:new wt.E9(-10,6),segmentOrientation:wt.rU.OrientPlus90,alignmentFocus:wt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Gr=>Gr>=1),new wt.KX("width","thickness",Gr=>7+3*Gr),new wt.KX("height","thickness",Gr=>7+3*Gr),new wt.KX("segmentOffset","thickness",Gr=>new wt.E9(-15,4+1.5*Gr))),kr(wt.bn,{segmentIndex:0,segmentOffset:new wt.E9(15,-6),segmentOrientation:wt.rU.OrientMinus90,alignmentFocus:wt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new wt.KX("fill","color"),new wt.KX("visible","dir",Gr=>Gr===2),new wt.KX("width","thickness",Gr=>7+3*Gr),new wt.KX("height","thickness",Gr=>7+3*Gr),new wt.KX("segmentOffset","thickness",Gr=>new wt.E9(-15,4+1.5*Gr))),kr(wt.al,{alignmentFocus:new wt.z6(0,1,-4,0),editable:!0},new wt.KX("text").makeTwoWay(),new wt.KX("stroke","color"))),Fn.current.linkTemplate.selectionAdornmentTemplate=kr(wt.uz,kr(wt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:lA(2)},new wt.KX("pathPattern","thickness",lA)),$o({alignmentFocus:new wt.z6(0,0,-6,-4)}));function lA(Gr){return kr(wt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Gr+4).toString()+" H3"})}function Bl(Gr){var oo="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Gr===0?oo="M0 0 M16 16 M0 8 L16 8":Gr===2&&(oo="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),kr(wt.bn,{geometryString:oo,margin:2,background:"transparent",mouseEnter:(io,Ja)=>Ja.background="dodgerblue",mouseLeave:(io,Ja)=>Ja.background="transparent",click:Uo("dir",Gr),contextClick:Uo("dir",Gr)})}function Ir(Gr){var oo=(io,Ja)=>{io.handled=!0,io.diagram.model.commit($i=>{var us=Ja.part.adornedPart;$i.set(us.data,Gr?"toSpot":"fromSpot",wt.z6.stringify(wt.z6.AllSides)),(Gr?us.toNode:us.fromNode).invalidateConnectedLinks()})};return kr(wt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(io,Ja)=>Ja.background="dodgerblue",mouseLeave:(io,Ja)=>Ja.background="transparent",click:oo,contextClick:oo})}function qA(Gr,oo){var io=0,Ja=wt.z6.RightSide;Gr.equals(wt.z6.Top)?(io=270,Ja=wt.z6.TopSide):Gr.equals(wt.z6.Left)?(io=180,Ja=wt.z6.LeftSide):Gr.equals(wt.z6.Bottom)&&(io=90,Ja=wt.z6.BottomSide),oo||(io-=180);var $i=(us,zs)=>{us.handled=!0,us.diagram.model.commit(gA=>{var LA=zs.part.adornedPart;gA.set(LA.data,oo?"toSpot":"fromSpot",wt.z6.stringify(Ja)),(oo?LA.toNode:LA.fromNode).invalidateConnectedLinks()})};return kr(wt.bn,{alignment:Gr,alignmentFocus:Gr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:io,background:"transparent",mouseEnter:(us,zs)=>zs.background="dodgerblue",mouseLeave:(us,zs)=>zs.background="transparent",click:$i,contextClick:$i})}Fn.current.linkTemplate.contextMenu=kr("ContextMenu",Vs(),nA(),kr("ContextMenuButton",kr(wt.s_,"Horizontal",Bl(0),Bl(1),Bl(2))),kr("ContextMenuButton",kr(wt.s_,"Horizontal",kr(wt.s_,"Spot",Ir(!1),qA(wt.z6.Top,!1),qA(wt.z6.Left,!1),qA(wt.z6.Right,!1),qA(wt.z6.Bottom,!1)),kr(wt.s_,"Spot",{margin:new wt.Zt(0,0,0,2)},Ir(!0),qA(wt.z6.Top,!0),qA(wt.z6.Left,!0),qA(wt.z6.Right,!0),qA(wt.z6.Bottom,!0)))));const Eu=`{ "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 wl=["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 yl(Gr){return console.log("shapeName:",Gr),wl.indexOf(Gr)>=0}var au=new wt.YI(aa.current,{maxSelectionCount:1,linkTemplate:kr(wt.rU,{locationSpot:wt.z6.Center,selectionAdornmentTemplate:kr(wt.uz,"Link",{locationSpot:wt.z6.Center},kr(wt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),kr(wt.bn,{toArrow:"Standard",stroke:null}))},{routing:wt.rU.AvoidsNodes,curve:wt.rU.JumpOver,corner:5,toShortLength:4},new wt.KX("points"),kr(wt.bn,{isPanelMain:!0,strokeWidth:2}),kr(wt.bn,{toArrow:"Standard",stroke:null})),model:new wt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...wt.bn.getFigureGenerators().toArray().map(Gr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Gr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Fn.current.addDiagramListener("TextEdited",function(Gr){var oo;const io=Gr.subject.part;var Ja=(oo=document.activeElement)==null?void 0:oo.value;typeof Ja=="string"&&Ja.trim()===""&&Fn.current.model.commit(function($i){$i.set(io.data,"text","\u672A\u547D\u540D"),Fn.current.commandHandler.stopCommand()},"increment")}),au.nodeTemplate=kr(wt.NB,"Auto",{locationSpot:wt.z6.Center},new wt.KX("location","location",wt.E9.parse).makeTwoWay(wt.E9.stringify),kr(wt.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 wt.KX("stroke").makeTwoWay(),new wt.KX("fill").makeTwoWay(),new wt.KX("figure")),kr(wt.al,{margin:new wt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new wt.$u(16,16),maxSize:new wt.$u(10,NaN),textAlign:"center",editable:!0},new wt.KX("key").makeTwoWay())),setTimeout(()=>{Fn.current.grid=kr(wt.s_,"Grid",kr(wt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),kr(wt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Fn.current.grid.visible=!0,Fn.current.grid.gridCellStroke="darkgray",Fn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Fn.current,Fn.current}const Ti=()=>Se(this,null,function*(){var kr=Fn.current.makeImage();const Ua=yield(0,Le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:kr.src}});Cn({src:Ua.url})});(0,le.useEffect)(()=>(setTimeout(()=>{co()},500),da(pa+1),()=>{Fn.current=null}),[]);const li=(0,be.useIntl)();return ge.createElement("div",{ref:ma,className:oa.current?`${he.maxH60} body-overflow-initial`:"body-overflow-initial"},ge.createElement(Nt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!pa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ge.createElement(yn.Z,null,ge.createElement(fn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ge.createElement(fn.Z,{onClick:()=>{var kr,Ua,Ki=Fn.current.selection.first();if(oa.current=!oa.current,document.activeElement&&Ki){let $o=(Ua=(kr=document.activeElement)==null?void 0:kr.value)==null?void 0:Ua.trim();typeof $o=="string"&&Fn.current.model.commit(function(Uo){Uo.set(Ki.data,"text",$o||"\u672A\u547D\u540D"),Fn.current.commandHandler.stopCommand()},"increment")}da(pa+1)}},ge.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/",li.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:mn},ge.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:he.flowChartWrp},ge.createElement("div",{style:{display:"flex",height:"100%"}},ge.createElement("div",{style:{width:"300px",height:"100%"}},ge.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ge.createElement("div",{style:{height:"calc(100% - 50px)"},className:he.myPaletteDiv,ref:aa})),ge.createElement("div",{style:{flex:1,position:"relative"}},ge.createElement("div",{ref:gr,style:{height:"80vh"}}))),ge.createElement("div",{className:"tr"},ge.createElement(ke.ZP,{size:"large",onClick:Ti,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},li.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var pt=qe,He=ve(5112),Ve=ve(5871);const bt=He.ZP.Group,gt={margin:"0 8px"};var At=({callback:mn,onCancel:Cn})=>{function Fn(aa){mn(aa)}const gr=(0,be.useIntl)();return le.createElement(Ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Fn},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:gt},gr.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),le.createElement("span",{style:gt},gr.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),le.createElement(Ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(Ve.Z,null)),le.createElement("span",{style:gt},gr.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),le.createElement(Ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(Ve.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:gt},gr.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),le.createElement(Ye.default.Item,{name:"align"},le.createElement(bt,null,le.createElement(He.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(He.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(He.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(He.ZP,{value:"right"},le.createElement("i",{className:"fa fa-align-right"}))))),le.createElement("div",{className:"flex-container flex-end"},le.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},gr.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),le.createElement(ke.ZP,{type:"ghost",onClick:Cn},gr.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},jt=ve(78673),kn=ve(25730),It=ve.n(kn),Mt=(0,le.forwardRef)(({use3d:mn,width:Cn,height:Fn,callback:gr,showSaveButton:aa},oa)=>{const ma=(0,le.useRef)(),pa=(0,le.useRef)(),da=(0,be.useIntl)(),[co,Ti]=(0,le.useState)(!1),li=(0,le.useRef)({id:ma,appName:"graphing",width:Cn||1e3,height:Fn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,le.useEffect)(()=>{pa.current=new(It())(li.current,!0),window.onload=function(){pa.current.inject("applet_container")}},[]);const kr=()=>{var Ua=window.ggbApplet.getPNGBase64(1,!0,72);return gr&&gr(Ua),Ua};return(0,le.useEffect)(()=>{li.current.appName=co?"3D":"graphing",pa.current.inject("applet_container")},[co]),(0,le.useEffect)(()=>{Ti(mn)},[mn]),(0,le.useImperativeHandle)(oa,()=>({getImgData:kr})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ma}),le.createElement(yn.Z,{align:"middle"},le.createElement(fn.Z,{flex:1},le.createElement(jt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:da.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:co,onChange:Ua=>Ti(Ua)})),le.createElement(fn.Z,null,le.createElement(ke.ZP,{size:"large",onClick:kr,style:{zIndex:8,marginTop:10},type:"primary"},da.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),En=ve(88601),lt=ve(1012),Yt=ve(8591);const hn="link",Sn="upload-image",Jn="add-flowchart",ur="draw-image",Lr="add-flowchart",Fr="code-block",fr="add-table",ir="------------",hr={default:ir,left:`:${ir}`,center:`:${ir}:`,right:`${ir}:`};var Hr=ve(28934),zr=(mn,Cn,Fn)=>new Promise((gr,aa)=>{var oa=da=>{try{pa(Fn.next(da))}catch(co){aa(co)}},ma=da=>{try{pa(Fn.throw(da))}catch(co){aa(co)}},pa=da=>da.done?gr(da.value):Promise.resolve(da.value).then(oa,ma);pa((Fn=Fn.apply(mn,Cn)).next())});function La(){}let cr=0;const ao=1e4,no="\u2581",Yr="@\u2581\u2581@",rn="@\u2581@",hi=` **\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`,ha=["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 Li(mn){return/^\d+$/.test(mn)?`${mn}px`:mn}const Na=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Zi={[Na+"-B"]:"bold",[Na+"-I"]:"italic"};var as=({defaultValue:mn="",onChange:Cn,width:Fn="100%",height:gr=400,miniToolbar:aa=!1,isFocus:oa=!1,watch:ma,insertTemp:pa,mode:da="markdown",id:co="markdown-editor-id",showResizeBar:Ti=!1,noStorage:li=!1,showNullButton:kr=!1,showNullProgramButton:Ua=!1,hidetoolBar:Ki=!1,fullScreen:$o=!1,onBlur:Uo,onCMBeforeChange:xo,onFullScreen:qi,className:Vs="",disablePaste:Ys=!1,disabled:os=!1,disabledFill:nA=!1,placeholder:Ui="",values:lA="",extraUse:Bl})=>{const[Ir,qA]=(0,le.useState)(null),[Eu,wl]=(0,le.useState)(mn),[yl,au]=(0,le.useState)(ma),[Gr,oo]=(0,le.useState)($o),[io,Ja]=(0,le.useState)(""),[$i,us]=(0,le.useState)(0),[zs,gA]=(0,le.useState)(gr),[LA,oi]=(0,le.useState)(!1),Va=(0,le.useRef)((0,lt.Z)()),wc=(0,le.useRef)(!1),Nl=(0,le.useRef)(),[Ru,Sl]=(0,le.useState)(0),[Cu,bu]=(0,le.useState)(0),IA=(0,le.useRef)(),Pu=(0,le.useRef)(),Al=(0,le.useRef)(),xu=(0,le.useRef)(),NA=()=>zr(void 0,null,function*(){var Ia;const Gt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Va.current}});(Ia=Gt==null?void 0:Gt.attachments)!=null&&Ia.length&&(console.log("cm:",Ir,IA),Gt.attachments.map(Ot=>{Ot.content_type.indexOf("image")>-1?Ir.replaceSelection(`![,](/api/attachments/${Ot.id}?type=${Ot.content_type})`):Ot.content_type.indexOf("video")>-1?Ir.replaceSelection(``):Ot.content_type.indexOf("pdf")>-1?Ir.replaceSelection(`${Ot.name}`):Ir.replaceSelection(`[${Ot.name}](${ENV.API_SERVER}/api/attachments/${Ot.id}?type=${Ot.content_type})`)}))});(0,le.useEffect)(()=>{const Ia=window.scrollY||window.pageYOffset;wl(lA),Ir==null||Ir.setValue(lA),window.scrollTo(0,Ia)},[lA]),(0,le.useEffect)(()=>{qi==null||qi(Gr)},[Gr]),(0,le.useEffect)(()=>{if(IA.current){let Ia=function(Ot,cn){var dr;if(Ys){cn.preventDefault();return}const Cr=cn.clipboardData;if(Cr){const ya=Cr.types.toString(),la=Cr.items;if(ya==="Files"||Cr.types.indexOf("Files")>-1){if(cn.preventDefault(),da=="stex")return;try{let Nr=la[1];((dr=la[0])==null?void 0:dr.kind)==="file"&&(Nr=la[0]);const Rr=Nr.getAsFile(),za=Rr.name.split(".").pop();(0,ft.I)(Rr,Yo=>{var Ko,Wa,Io;Yo.id?((Ko=Rr==null?void 0:Rr.type)==null?void 0:Ko.indexOf("image"))>-1?Gt.replaceSelection(``):((Wa=Rr==null?void 0:Rr.type)==null?void 0:Wa.indexOf("video"))>-1?Gt.replaceSelection(``):((Io=Rr==null?void 0:Rr.type)==null?void 0:Io.indexOf("pdf"))>-1?Gt.replaceSelection(`${Rr.name}`):ha.includes(za)?Gt.replaceSelection(`${Rr.name}`):Gt.replaceSelection(`[${Rr.name}](/api/attachments/${Yo.id}?type=${Yo.content_type})`):(Yo==null?void 0:Yo.status)===401&&(Yt.ZP.warning((Yo==null?void 0:Yo.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Nr){Yt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Gt=je().fromTextArea(IA.current,{mode:da,lineNumbers:!aa,lineWrapping:!0,value:mn,autoCloseTags:!Ua,autoCloseBrackets:!0});return Gt.on("keyup",function(Ot,cn){cn.keyCode===8&&(Ot.getValue()==""?Gt.setOption("placeholder",Ui):Gt.setOption("placeholder",null))}),Gt.on("keydown",function(Ot,cn){if(cn.keyCode===8){var dr=Fu(Ot);dr&&cn.preventDefault()}}),oa&&Gt.focus(),Gt.on("paste",Ia),Gt.on("dragleave",function(Ot,cn){Pu.current.classList.remove("mouse-hover-md")}),os&&Gt.on("beforeChange",function(Ot,cn){(cn.origin==="paste"||cn.origin==="+input")&&cn.cancel()}),qA(Gt),()=>{Gt.off("paste",Ia)}}},[]);const ou=(0,le.useCallback)(()=>{if(Pu.current)try{}catch(Ia){console.log(Ia,"---- to set md editor body height")}},[zs,Pu,Gr]);(0,le.useEffect)(()=>{function Ia(){let Gt=new nt.Z(Ot=>{for(let cn of Ot)(cn.target.offsetHeight>0||cn.target.offsetWidth>0)&&(ou(),Ir.setSize("100%","100%"),Ir.refresh())});return Gt.observe(IA.current.parentElement),Gt}if(Ir){const Gt=Ia();return()=>{var Ot,cn;(Ot=IA.current)!=null&&Ot.parentElement&&Gt.unobserve((cn=IA.current)==null?void 0:cn.parentElement)}}},[Ir,ou]),(0,le.useEffect)(()=>{if(Ir){let Ia=[];for(const[Gt,Ot]of Object.entries(Zi)){let cn={[Gt]:()=>{dn(Ot)}};Ia.push(cn),Ir.addKeyMap(cn)}return Nl.current=setInterval(()=>{wc.current&&NA()},4e3),()=>{clearInterval(Nl.current);for(let Gt of Ia)Ir.removeKeyMap(Gt)}}},[Ir]),(0,le.useEffect)(()=>{$o!==Gr&&oo($o)},[$o]),(0,Hr.Z)(()=>{if(!li&&$i>0){let Ia=new Date().getTime(),Gt=window.sessionStorage.getItem(co);Ia>=$i+ao&&(!Gt||Gt!==Eu)&&(window.sessionStorage.setItem(co,Eu),oi(!0))}},ao),(0,le.useEffect)(()=>{au(ma)},[Ir,ma]),(0,le.useEffect)(()=>{Ir&&oa&&Ir.focus()},[Ir,oa]),(0,le.useEffect)(()=>{if(yl&&Ir){let Ia=function(Ot){let cn=Ot.target;if(xu.current){let dr=cn.scrollTop/cn.scrollHeight;xu.current.scrollTop=xu.current.scrollHeight*dr}};const Gt=Ir.getScrollerElement();return Gt.addEventListener("scroll",Ia),()=>{Gt.removeEventListener("scroll",Ia)}}},[Ir,yl]),(0,le.useEffect)(()=>{if(Ir&&xo){let Ia=function(Gt,Ot){xo(Gt,Ot)};return Ir.on("beforeChange",Ia),()=>{Ir.off("beforeChange",Ia)}}},[Ir,xo]),(0,le.useEffect)(()=>{if(Ir&&Uo){let Ia=function(){Uo(Ir.getValue())};return Ir.on("blur",Ia),()=>{Ir.off("blur",Ia)}}},[Ir,Uo]);function Fu(Ia,Gt){var Ot=Ia.getDoc(),cn=Ot.getCursor(),dr=Ot.getLine(cn.line),Cr=dr.charAt(cn.ch-1),ya=dr.lastIndexOf("@\u2581@",cn.ch),la=dr.lastIndexOf("@\u2581\u2581@",cn.ch),Nr=ya>la?ya:la,Rr=ya>la?3:4;if(Yr.indexOf(Cr)===-1)return null;if(console.log("change1:",Gt,Ia,dr,cn,Nr,ya,la,Cr),Nr>=0&&cn.ch-Nr<5){var za=Nr+Rr;return Ot.replaceRange("",{line:cn.line,ch:Nr},{line:cn.line,ch:za}),{line:cn.line,ch:za}}return null}(0,le.useEffect)(()=>{if(Ir){let Ia=function(Gt,Ot){const cn=Gt.getValue();wl(cn),us(new Date().getTime()),Gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Cn&&(Ua?Cn(cn,ks(cn)):Cn(cn))};return Ir.on("change",Ia),()=>{Ir.off("change",Ia)}}},[Ir,Cn]),(0,le.useEffect)(()=>{if(Ir)if(mn==null)Ir.setValue(""),wl("");else{const Ia=window.scrollY||window.pageYOffset;mn!==Ir.getValue()&&(Ir.setValue(mn),wl(mn),Ir.setCursor(os?1:Ir.lineCount(),0),window.scrollTo(0,Ia))}},[Ir,mn]);const dn=(0,le.useCallback)(Ia=>{const Gt=Ir.getCursor(),Ot=Ir.getSelection();let cn=Ot.split(` `);switch(Ia){case"bold":return Ir.replaceSelection("**"+Ot+"**"),Ot===""&&Ir.setCursor(Gt.line,Gt.ch+2),Ir.focus();case"italic":return Ir.replaceSelection("*"+Ot+"*"),Ot===""&&Ir.setCursor(Gt.line,Gt.ch+1),Ir.focus();case"code":return Ir.replaceSelection("`"+Ot+"`"),Ot===""&&Ir.setCursor(Gt.line,Gt.ch+1),Ir.focus();case"inline-latex":return Ja("inline-latex"),Ir.focus();case"latex":return Ir.replaceSelection("```latex\n"+Ot+"\n```"),Ir.setCursor(Gt.line+1,Ot.length+1),Ir.focus();case"line-break":return Ir.replaceSelection(`
`),Ir.focus();case"list-ul":return Ot===""?Ir.replaceSelection("- "+Ot):Ir.replaceSelection(cn.map(dr=>dr===""?"":`- ${dr}`).join(` `)),Ir.focus();case"list-ol":return Ot===""?Ir.replaceSelection("1. "+Ot):Ir.replaceSelection(cn.map((dr,Cr)=>dr===""?"":`${Cr+1}. ${dr}`).join(` `)),Ir.focus();case"add-null-ch":return Ot===""&&Ir.setCursor(Gt.line,Gt.ch),Ir.replaceSelection(no),Ir.focus();case"add-signal":return Ot===""&&Ir.setCursor(Gt.line,Gt.ch),Ir.replaceSelection(rn),Ir.focus();case"add-multiple":return Ot===""&&Ir.setCursor(Gt.line,Gt.ch),Ir.replaceSelection(Yr),Ir.focus();case"inster-template-1":return Ot===""&&Ir.setCursor(Gt.line,Gt.ch),Ir.replaceSelection(hi),Ir.focus();case"eraser":return Ir.setValue(""),Ir.focus();case"trigger-watch":return au(!yl),Ir.focus();case"trigger-full-screen":return oo(!Gr),Ir.focus();case hn:Ja(hn);return;case Fr:Ja(Fr);return;case Sn:Ja(Sn);return;case ur:Ja(ur);return;case"maths-latex":Ja("maths-latex");return;case Jn:Ja(Jn);return;case fr:Ja(fr);return;default:throw new Error}},[Ir,yl,Gr]),KA=(0,le.useCallback)((Ia,Gt)=>{var Ot,cn,dr,Cr,ya,la;switch(Ja(""),io){case hn:const{title:Ko,link:Wa}=Ia;return Ir.replaceSelection(`[${Ko}](${Wa})`),Ir.focus();case Fr:const{language:Io,content:Ln}=Ia;return Ir.replaceSelection(["```"+Io,Ln,"```"].join(` `)),Ir.focus();case"maths-latex":for(var Nr=atob(Ia),Rr=new Uint8Array(Nr.length),za=0;za{va.id?Ir.replaceSelection(`![,](/api/attachments/${va.id}?type=${va.content_type})`):(va==null?void 0:va.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ir.replaceSelection("`$$"+Ia+"$$`");break;case Sn:case ur:case Lr:const{src:vn,alt:Dn}=Ia,Un=Gt,lr=(dr=(cn=(Ot=Un==null?void 0:Un.name)==null?void 0:Ot.split("."))==null?void 0:cn.pop)==null?void 0:dr.call(cn);return((Cr=Un==null?void 0:Un.type)==null?void 0:Cr.indexOf("image"))>-1||!(Un!=null&&Un.type)?Un.align||Un.width?Ir.replaceSelection(`

${Dn||

`):Ir.replaceSelection(`${Dn||`):((ya=Un==null?void 0:Un.type)==null?void 0:ya.indexOf("video"))>-1?Ir.replaceSelection(``):((la=Un==null?void 0:Un.type)==null?void 0:la.indexOf("pdf"))>-1?Ir.replaceSelection(`${Un.name}`):ha.includes(lr)?Ir.replaceSelection(`${Un.name}`):Ir.replaceSelection(`[${Un.name}](${vn})`),Ir.focus();case fr:const{row:_r,col:$n,align:$r}=Ia;let ea=` `;for(let va=0;va<_r;va++){let qa=[],Ar=[];for(let fo=0;fo<$n;fo++)va===1&&Ar.push(hr[$r]),qa.push(" ");va===1&&(ea+=`| ${Ar.join(" | ")} | `),ea+=`| ${qa.join($n===1?"":" | ")} | `}return Ir.replaceSelection(ea+` `),Ir.focus();default:throw new Error}},[Ir,io]),iu=(0,le.useMemo)(()=>{switch(io){case hn:return le.createElement(Rt,{callback:KA,onCancel:DA});case Fr:return le.createElement(An.Z,{callback:KA,onCancel:DA});case Sn:return le.createElement(ft.Z,{callback:KA,onCancel:DA});case Jn:return le.createElement(pt,{callback:KA,onCancel:DA});case fr:return le.createElement(At,{callback:KA,onCancel:DA});case"maths-latex":return le.createElement(Mt,{showSaveButton:!0,callback:KA});case"inline-latex":return le.createElement(En.Z,{showSaveButton:!0,callback:KA});default:return null}},[io]);function DA(){Ja("")}(0,le.useEffect)(()=>{if(Al.current){let Ia=function(ya){dr=!0,Cr=ya.pageY},Gt=function(){dr=!1},Ot=function(ya){if(dr){let la=ya.pageY-Cr;la<0&&(la=0),la>300&&(la=300);let Nr=gr+la+"px";gA(Nr)}},cn=Al.current,dr=!1,Cr=0;return cn.addEventListener("mousedown",Ia),document.addEventListener("mousemove",Ot),document.addEventListener("mouseup",Gt),()=>{cn.removeEventListener("mousedown",Ia),document.removeEventListener("mousemove",Ot),document.removeEventListener("mouseup",Gt)}}},[Ir,Al]),(0,le.useEffect)(()=>{gA(gr)},[gr]);const $A=Li(Fn),su=Li(zs),ju={width:$A,height:su},Dl=(0,le.useMemo)(()=>{if($i){let Ia=new Date($i),Gt=Ia.getHours(),Ot=Ia.getMinutes(),cn=Ia.getSeconds();return Gt=Gt<10?"0"+Gt:Gt,Ot=Ot<10?"0"+Ot:Ot,cn=cn<10?"0"+cn:cn,`${Gt}:${Ot}:${cn}`}return 0},[$i]),ks=Ia=>{const Gt=[];if(Ua){let Ot=-1;Ia=Ia.replace(/(@▁▁@|@▁@)/g,function(cn,dr,Cr){Gt.push({multiLine:cn!==rn})})}return Gt};function fA(){window.sessionStorage.removeItem(co),oi(!1),us(0)}function ec(){oi(!1),us(0),Ir.setValue(window.sessionStorage.getItem(co))}const Vi=(0,be.useIntl)(),Au={[hn]:"\u6DFB\u52A0\u94FE\u63A5",[Fr]:Vi.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[Sn]:Vi.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[ur]:"\u6DFB\u52A0\u753B\u56FE",[Jn]:Vi.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[fr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Vi.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Vi.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,le.useEffect)(()=>{Au[io]&&io!==ur&&io!==Jn&&setTimeout(()=>{const Ia=document.getElementsByClassName("markdown-popup-form")[0],Gt=window.innerWidth/2-Ia.offsetWidth/2,Ot=window.innerHeight/2-Ia.offsetHeight/2;Sl(Gt),bu(Ot)},0)},[io]);const tc=Ia=>{Ia.preventDefault();const Gt=Ia.clientX-Ru,Ot=Ia.clientY-Cu;document.body.onmousemove=cn=>{let dr=cn.clientX-Gt,Cr=cn.clientY-Ot;const ya=document.getElementsByClassName("markdown-popup-form")[0],la=window.innerWidth-ya.offsetWidth,Nr=window.innerHeight-ya.offsetHeight;dr=Math.max(0,Math.min(dr,la)),Cr=Math.max(0,Math.min(Cr,Nr)),Hu(cn.clientX,cn.clientY,Gt,Ot)&&(Sl(dr),bu(Cr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Hu=(Ia,Gt,Ot,cn)=>{const dr=document.body.clientHeight,Cr=document.body.clientWidth;return Ia<20&&Ot>Ia||Ia>Cr-20&&OtGt||Gt>dr-20&&cnke in et?be(et,ke,{enumerable:!0,configurable:!0,writable:!0,value:ht}):et[ke]=ht,ne=(et,ke)=>{for(var ht in ke||(ke={}))ee.call(ke,ht)&&te(et,ht,ke[ht]);if(a)for(var ht of a(ke))b.call(ke,ht)&&te(et,ht,ke[ht]);return et},ae=(et,ke)=>ie(et,y(ke));const{useForm:fe}=le.default,xe={width:280,marginRight:10},Pe={labelCol:{span:5},wrapperCol:{span:19}};var Ne=({callback:et,onCancel:ke})=>{const[ht]=fe();let Oe=(0,De.useRef)();const xt=(0,Ue.useIntl)();function ut(ct){Oe.current.width=ht.getFieldValue("width"),Oe.current.align=ht.getFieldValue("align"),et(ct,Oe.current)}function ot(ct,Bt){if(ct.status===-1){Ce.ZP.error(ct.message);return}ht.setFieldsValue({src:`/api/attachments/${ct.id}`,type:Bt.type})}function Et(ct){let Bt=ct.target.files[0];Oe.current=Bt,Ye(Bt,ot)}return Fe.createElement(le.default,ae(ne({form:ht},Pe),{className:"upload-image-panel",onFinish:ut,style:{width:470,overflow:"hidden"}}),Fe.createElement(le.default.Item,{label:xt.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},Fe.createElement("div",{className:"flex-container"},Fe.createElement(le.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Fe.createElement(je.default,{style:xe})),Fe.createElement(Ge,{onFileChange:Et}))),Fe.createElement(le.default.Item,{label:xt.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},Fe.createElement(je.default,{style:{width:264}})),Fe.createElement(le.default.Item,{label:xt.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},Fe.createElement(nt.Z,null,Fe.createElement(le.default.Item,{name:"width",style:{margin:0}},Fe.createElement(ze.Z,{style:{width:264}})),Fe.createElement("span",{className:"ml8"},"%"))),Fe.createElement(le.default.Item,{label:xt.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},Fe.createElement(Re.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:xt.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:xt.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:xt.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),Fe.createElement("aside",null,Fe.createElement(le.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Fe.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},xt.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Fe.createElement(Be.ZP,{type:"default",onClick:ke},xt.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function Ge({onFileChange:et}){return Fe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Fe.createElement("input",{type:"file",onChange:et}))}function Ye(et,ke){if(!et)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ce.bg)())throw Ce.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ht=new FormData;ht.append("editormd-image-file",et),ht.append("file_param_name","editormd-image-file"),ht.append("byxhr","true");var Oe=new window.XMLHttpRequest;Oe.withCredentials=!0,Oe.addEventListener("load",function(xt){ke(JSON.parse(xt.target.responseText),et)},!1),Oe.addEventListener("error",function(xt){console.error(xt)},!1),Oe.open("POST",`${we.KI}/api/attachments.json`),Oe.send(ht)}},44991:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return je}});var le=ve(59301),Ce=ve(4676);class je extends le.Component{constructor(ze){super(ze);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,Ce.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},68999:function(Vt,Ut,ve){"use strict";ve.d(Ut,{i:function(){return Pe},Z:function(){return Ge}});var le={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"},Ce=ve(71418),je=ve(6848),nt=ve(93948),ze=ve(92310),Re=ve.n(ze),Be=ve(19374),we=ve(91570),De=ve(53229),ce=ve(75790),Ue=ve(79005),Fe=ve(20345),be=ve(77882),ie=ve(31081),y=ve(75309),a=ve(71979),ee=ve(47558),b=ve(42922),te=ve(66832),ne=ve(96593),ae=ve(19664),fe=ve(91833),xe=ve(59301);const Pe=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ue,swimg:Fe},{name:"101\u8BA1\u5212",ptimg:be,swimg:ie},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ee,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:te,swimg:ne},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ae,swimg:fe}];var Ge=({className:Ye,dataSource:et=[],col:ke=4,right:ht,bottom:Oe=23,precision:xt=0,wrapWidth:ut=1200,trackEventItems:ot,loading:Et,onRemove:ct=()=>{},isCurrent:Bt=!0,showAlias:st=!1,showProgress:rt=!1})=>{const Rt=(0,ce.useIntl)(),An=Math.floor((ut-(ke-1)*ht)/ke),ft=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:Rt.formatMessage({id:"shixuns.plan101",defaultMessage:"101\u8BA1\u5212"}),ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:Rt.formatMessage({id:"shixuns.nationalFirstClass",defaultMessage:"\u56FD\u5BB6\u4E00\u6D41"}),ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:Rt.formatMessage({id:"shixuns.provincialFirstClass",defaultMessage:"\u7701\u7EA7\u4E00\u6D41"}),ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:Rt.formatMessage({id:"shixuns.premiumCourse",defaultMessage:"\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:Rt.formatMessage({id:"shixuns.newTypeTextbook",defaultMessage:"\u65B0\u578B\u6559\u6750"}),ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Nt=>(window.ENV==="build"&&(Nt.ptimg=`/react/build${Nt.ptimg}`,Nt.swimg=`/react/build${Nt.swimg}`),Nt));return xe.createElement(Ce.Z,{spinning:Et},xe.createElement("div",{className:Re()(le.list,Ye)},!!(et!=null&&et.length)&&(et==null?void 0:et.map((Nt,yn)=>{var Rn,un,Kn,wt,zn,Wn;const{name:Xe,id:fn,identifier:Le,featured:he,school_name:ge,image_url:Se,excellent:qe,is_plan:pt}=Nt;return xe.createElement("div",{key:fn,className:Bt&&rt?le.wrapisCurrent:le.wrap,style:{width:An,marginRight:(1+yn)%ke===0?0:ht+xt,marginBottom:Oe}},xe.createElement("a",{className:le.li,onClick:He=>{He.preventDefault(),He.stopPropagation(),ot&&(0,Be.L9)([ot]),(0,Be.xg)(`/paths/${Le}`)}},xe.createElement("div",{className:le.img},xe.createElement("img",{className:le.cover,src:`${Se}`}),Bt&&(0,De.bg)()&&(Nt==null?void 0:Nt.studying)&&xe.createElement("div",{className:`${le.movebq} user-path-items`,onClick:He=>{He.stopPropagation(),ct(Nt)}},xe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),xe.createElement("span",{className:"c-red"},Rt.formatMessage({id:"classrooms.remove",defaultMessage:"\u79FB\u9664"}))),(Rn=Nt==null?void 0:Nt.subject_tags)==null?void 0:Rn.map((He,Ve)=>{var bt,gt;if(Ve===0){const jt=(bt=ft.find(kn=>kn.name==He))==null?void 0:bt.swimg;return xe.createElement("img",{className:le.sign,src:jt,style:{left:"-4px"}})}const At=(gt=ft.find(jt=>jt.name==He))==null?void 0:gt.ptimg;return xe.createElement("img",{className:le.sign,src:At,style:{left:`${48+52*(Ve-1)+2*Ve}px`}})}),xe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Nt==null?void 0:Nt.excellent)&&xe.createElement("div",{className:le.bq},Rt.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})))),xe.createElement("div",{className:le.name},xe.createElement(je.Z,{title:st&&(Nt!=null&&Nt.excellent_alias_name)?xe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Xe}`,xe.createElement("br",null),xe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Nt==null?void 0:Nt.excellent_alias_name}`)):Xe},xe.createElement("span",{className:le.e},st&&(Nt==null?void 0:Nt.excellent_alias_name)||Xe))),Bt&&rt&&((un=Nt==null?void 0:Nt.progress)==null?void 0:un.all_score)!=0&&xe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},xe.createElement(nt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Kn=Nt==null?void 0:Nt.progress)==null?void 0:Kn.my_score)/((wt=Nt==null?void 0:Nt.progress)==null?void 0:wt.all_score)*100).toFixed(),showInfo:!1}),Rt.formatMessage({id:"shixuns.completed",defaultMessage:"\u5DF2\u5B8C\u6210"})," ",(zn=Nt==null?void 0:Nt.progress)==null?void 0:zn.my_score,"/",(Wn=Nt==null?void 0:Nt.progress)==null?void 0:Wn.all_score),(!Bt||!rt)&&xe.createElement("div",{className:le.tags},xe.createElement("div",null,xe.createElement(je.Z,{placement:"bottom",title:Rt.formatMessage({id:"paths.chapterCount",defaultMessage:"\u7AE0\u8282\u6570"})},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),xe.createElement("span",null,Nt.stages_count))),xe.createElement(je.Z,{placement:"bottom",title:Rt.formatMessage({id:"paths.numberOfLearners",defaultMessage:"\u5B66\u4E60\u4EBA\u6570"})},xe.createElement("span",null,xe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),xe.createElement("span",null,Nt.members_count)))))))})),!et.length&&xe.createElement(we.Z,null)))}},63090:function(Vt,Ut,ve){"use strict";ve.d(Ut,{jL:function(){return ze},w9:function(){return Wi},vv:function(){return aa},dN:function(){return mn},QD:function(){return wc},cQ:function(){return He.Z},vg:function(){return Yr},Oz:function(){return Hr},op:function(){return us},O5:function(){return Dl},_b:function(){return IA},t7:function(){return Oe},tT:function(){return ot},Gi:function(){return $o},YG:function(){return pa},Ed:function(){return Ua},kT:function(){return Ti},qp:function(){return b},Um:function(){return Pe},K3:function(){return ae},vr:function(){return Sl},qE:function(){return LA},Je:function(){return Bt},wb:function(){return zn},rC:function(){return pt},lB:function(){return fn},cq:function(){return Ys},kO:function(){return lA},tp:function(){return Ye},Si:function(){return ec},k8:function(){return Io},Du:function(){return cn}});var le=ve(59301),Ce={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2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h/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:Ln=[],img:vn,imgWidth:Dn=346,title:Un,sunTitle:lr,bannerExtraContent:_r})=>le.createElement("div",{className:Ce.banner},le.createElement("div",{className:Ce.content},le.createElement("aside",null,le.createElement("p",null,le.createElement("b",null,Un),le.createElement("span",null,lr)),Ln.length>0&&le.createElement("div",{className:Ce.btns},Ln.map(($n,$r)=>le.createElement("div",{key:$r,onClick:$n.click},$n.name,$n.sign?le.createElement("img",{src:je,width:39}):null))),_r),vn&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:vn,width:Dn}))),Re={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"},Be=ve(92310),we=ve.n(Be),De=ve(89392),ce=ve(75790),Ue=Object.defineProperty,Fe=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(Ln,vn,Dn)=>vn in Ln?Ue(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,a=(Ln,vn)=>{for(var Dn in vn||(vn={}))be.call(vn,Dn)&&y(Ln,Dn,vn[Dn]);if(Fe)for(var Dn of Fe(vn))ie.call(vn,Dn)&&y(Ln,Dn,vn[Dn]);return Ln},b=({dataSource:Ln=[],value:vn,onChange:Dn,onTitleChange:Un,className:lr,title:_r,titleWidth:$n=41,style:$r={},fontColor:ea="#6A7283",showCount:va,classNameActive:qa,styleItem:Ar={}})=>{const fo=(0,ce.useIntl)(),[Mo,Xo]=(0,le.useState)(0),[Ra,it]=(0,le.useState)(!1),Ro=(0,le.useRef)(null),mi=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var Qr;Ln.length!==0&&(((Qr=Ro==null?void 0:Ro.current)==null?void 0:Qr.clientHeight)>97?Xo(1):Xo(0)),Ln.length===0&&Xo(0),it(!1)},[Ln]),le.createElement("div",{className:we()(Re.row,lr),style:$r},le.createElement("div",{onClick:(0,De.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:$n,marginTop:Ra?12:4},className:`${Re.title} ${Un?"current":""}`},_r),le.createElement("div",{className:Ra?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},le.createElement("div",{className:Re.bar,ref:mi,style:Mo>0?{height:Mo===1?97:"auto",overflow:Mo===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},le.createElement("div",{className:Re.tag,ref:Ro},Ln==null?void 0:Ln.map(Qr=>le.createElement("span",{onClick:()=>Dn(Qr.id),key:Qr.id,style:a(a({color:ea},Ar),(Qr==null?void 0:Qr.style)||{}),className:vn===Qr.id?we()(qa||Re.active,Qr.classNameActive):""},le.createElement("span",{title:Qr.name,className:Re.name},Qr.name),!!va&&le.createElement("span",{className:Re.num},Qr.count))))),!!Mo&&le.createElement(le.Fragment,null,Mo===1?le.createElement("div",{onClick:()=>{var Qr;Xo(2),((Qr=Ro==null?void 0:Ro.current)==null?void 0:Qr.clientHeight)>245?it(!0):it(!1)},className:Re.action},fo.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"}),le.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):le.createElement("div",{onClick:()=>{mi.current.scrollTop=0,Xo(1),it(!1)},className:Re.action},fo.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"}),le.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},te={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"},ae=({dataSource:Ln=[],value:vn,onChange:Dn,onTitleChange:Un,className:lr,title:_r,titleWidth:$n=41,style:$r={},fontColor:ea="#6A7283",showCount:va,expand:qa=!0})=>{const[Ar,fo]=(0,le.useState)(0),[Mo,Xo]=(0,le.useState)(!1),Ra=(0,le.useRef)(null),it=(0,le.useRef)(null),[Ro,mi]=(0,le.useState)(qa);return le.createElement("div",{className:we()(te.row,lr),style:$r},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,De.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:$n,marginTop:Mo?12:4},className:`${te.title} ${Un?"current":""}`},_r),le.createElement("i",{className:`iconfont ${Ro?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ro?8:10},onClick:()=>mi(!Ro)})),Ro&&le.createElement("div",{className:Mo?`${te.tagsWrap} ${te.tagsBorderWrap}`:te.tagsWrap},le.createElement("div",{className:te.fenge}),le.createElement("div",{className:te.bar,ref:it},le.createElement("div",{className:te.tag,ref:Ra},Ln==null?void 0:Ln.map(Qr=>le.createElement("span",{onClick:()=>Dn(Qr.id),key:Qr.id,style:{color:ea},className:vn===Qr.id?te.active:""},le.createElement("span",{title:Qr.name,className:te.name},Qr.name),!!va&&le.createElement("span",{className:te.num},Qr.count)))))))},fe={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Pe=({dataSource:Ln=[],value:vn,onChange:Dn,onTitleChange:Un,className:lr,title:_r,titleWidth:$n=41,style:$r={},fontColor:ea="#fff",showCount:va,expand:qa=!0})=>{const[Ar,fo]=(0,le.useState)(0),[Mo,Xo]=(0,le.useState)(!1),Ra=(0,le.useRef)(null),it=(0,le.useRef)(null),[Ro,mi]=(0,le.useState)(qa);return le.createElement("div",{className:we()(fe.row,lr),style:$r},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,De.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:$n},className:`${fe.title} ${Un?"current":""}`},_r),le.createElement("i",{className:`iconfont ${Ro?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ro?"#00DDC7":"#037F74",fontSize:Ro?10:12},onClick:()=>mi(!Ro)})),Ro&&le.createElement("div",{className:Mo?`${fe.tagsWrap} ${fe.tagsBorderWrap}`:fe.tagsWrap},le.createElement("div",{className:fe.bar,ref:it},le.createElement("div",{className:fe.tag,ref:Ra},Ln==null?void 0:Ln.map(Qr=>le.createElement("span",{onClick:()=>Dn(Qr.id),key:Qr.id,style:{color:ea},className:vn===Qr.id?fe.active:""},le.createElement("span",{title:Qr.name,className:fe.name},Qr.name),!!va&&le.createElement("span",{className:fe.num},Qr.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"},Ye=({dataSource:Ln=[],value:vn,onChange:Dn,className:Un,style:lr={}})=>le.createElement("div",{style:lr,className:we()(Ne.tabs,Un)},Ln.map(_r=>le.createElement("span",{onClick:()=>Dn(_r.id),className:vn===_r.id?Ne.active:"",key:_r.id},_r.name))),et={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"},ke=ve(92832),Oe=({dataSource:Ln=[],value:vn="",onChange:Dn,onInputChange:Un=()=>{},className:lr,style:_r={},placeholder:$n,allowClear:$r=!1})=>{var ea;const[va,qa]=(0,le.useState)(""),[Ar,fo]=(0,le.useState)("");(0,le.useEffect)(()=>{var Ra;let it=vn;(Ra=JSON.stringify(vn))!=null&&Ra.includes("{")&&(qa(vn.id),it=vn.value||"");try{fo(decodeURIComponent(it||""))}catch(Ro){fo(decodeURIComponent(it||""))}},[vn]);const Mo=()=>{Dn(encodeURIComponent(Ar),va||null)},Xo=Ra=>{Ra!==va&&(qa(Ra),Dn(encodeURIComponent(Ar),Ra))};return le.createElement("div",{className:we()(et.input,lr),style:_r},!!Ln.length&&le.createElement("div",{className:et.dropdown},le.createElement("div",{className:et.text},(ea=Ln.find(Ra=>Ra.id===va))==null?void 0:ea.name,le.createElement("i",{className:"iconfont icon-zhankai4"}),le.createElement("b",{className:et.b1}),le.createElement("b",{className:et.b2})),le.createElement("div",{className:et.menu},Ln.map((Ra,it)=>le.createElement("div",{key:it,onClick:()=>Xo(Ra.id)},Ra.name)))),le.createElement(ke.default,{onPressEnter:Mo,value:Ar,onChange:Ra=>{fo(Ra.target.value),Un(encodeURIComponent(Ra.target.value),va||null)},bordered:!1,placeholder:$n}),le.createElement("i",{onClick:Mo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},xt={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},ot=({dataSource:Ln=[],value:vn="",onChange:Dn,onInputChange:Un=()=>{},className:lr,style:_r={},placeholder:$n,allowClear:$r=!1})=>{var ea;const[va,qa]=(0,le.useState)(""),[Ar,fo]=(0,le.useState)("");(0,le.useEffect)(()=>{var Ra;let it=vn;(Ra=JSON.stringify(vn))!=null&&Ra.includes("{")&&(qa(vn.id),it=vn.value||"");try{fo(decodeURIComponent(it||""))}catch(Ro){fo(decodeURIComponent(it||""))}},[vn]);const Mo=()=>{Dn(encodeURIComponent(Ar),va||null)},Xo=Ra=>{Ra!==va&&(qa(Ra),Dn(encodeURIComponent(Ar),Ra))};return le.createElement("div",{className:we()(xt.input,lr),style:_r},!!Ln.length&&le.createElement("div",{className:xt.dropdown},le.createElement("div",{className:xt.text},(ea=Ln.find(Ra=>Ra.id===va))==null?void 0:ea.name,le.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),le.createElement("div",{className:xt.menu},Ln.map((Ra,it)=>le.createElement("div",{key:it,onClick:()=>Xo(Ra.id)},Ra.name)))),le.createElement(ke.default,{onPressEnter:Mo,value:Ar,onChange:Ra=>{fo(Ra.target.value),Un(encodeURIComponent(Ra.target.value),va||null)},bordered:!1,placeholder:$n}),le.createElement("i",{onClick:Mo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Et={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"},Bt=({value:Ln,onChange:vn,className:Dn,total:Un,pageSize:lr,style:_r={}})=>{const $n=(0,ce.useIntl)(),$r=Ln<2,ea=Ln>=Math.ceil(Un/lr);return Un<=lr?le.createElement(le.Fragment,null):le.createElement("div",{className:we()(Et.quickPager,Dn),style:_r},le.createElement("div",{onClick:()=>{$r||vn(Ln-1,"prev")},className:$r?Et.disabled:""},$n.formatMessage({id:"shixuns.previousPage"})),le.createElement("div",{onClick:()=>{ea||vn(Ln+1,"next")},className:ea?Et.disabled:""},$n.formatMessage({id:"shixuns.nextPage"})))},st={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"},rt=ve(71418),Rt=ve(6848),An=ve(13570),ft=ve(49647),Nt=ve(19374),yn=ve(96908),Rn=ve(57177),un=ve(81378),Kn=ve(91570),zn=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,trackEventItems:$r,loading:ea})=>{const va=(0,ce.useIntl)(),qa=Math.floor(($n-(Dn-1)*Un)/Dn);return le.createElement(rt.Z,{spinning:ea},le.createElement("div",{className:we()(st.list,Ln)},!!vn.length&&vn.map((Ar,fo)=>{const{name:Mo,id:Xo,identifier:Ra,power:it,cover_image_id:Ro,pic:mi}=Ar;return le.createElement("div",{className:st.wrap,key:Xo,style:{width:qa,marginRight:(1+fo)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{target:"_blank",href:`/shixuns/${Ra}/challenges`,className:st.li,onClick:Qr=>{Qr.preventDefault(),$r&&(0,Nt.L9)([$r]),it&&(0,Nt.xg)(`/shixuns/${Ra}/challenges`)}},le.createElement("div",{className:st.img},le.createElement("img",{className:st.cover,src:`${mi}`}),Ar.is_jupyter&&le.createElement("img",{className:st.sign,src:yn}),Ar.is_jupyter_lab&&le.createElement("img",{className:st.sign,src:Rn}),Ar.is_unity_3d&&le.createElement("img",{className:st.sign,src:un})),le.createElement("div",{className:st.name},le.createElement(Rt.Z,{title:Mo||va.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},le.createElement("span",{className:st.e},Mo||va.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),le.createElement("div",{className:st.tags},le.createElement(Rt.Z,{placement:"bottom",title:va.formatMessage({id:"shixuns.numberOfLevels",defaultMessage:"\u5173\u5361\u6570"})},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,Ar.challenges_count))),!!Ar.myshixuns_count&&le.createElement(Rt.Z,{placement:"bottom",title:va.formatMessage({id:"shixuns.numberOfLearners"})},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,Ar.myshixuns_count))),le.createElement(Rt.Z,{placement:"bottom",title:va.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},le.createElement("span",null,le.createElement("span",null,(0,Nt.Mr)(va,Ar.level)))),le.createElement("div",{className:st.rate},le.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Ar.score_info}),le.createElement("span",null,"\xA0",Ar.score_info?`${Ar.score_info}${va.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"})}`:"5"+va.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))))),!it&&le.createElement("div",{className:st.lockWrap},le.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&le.createElement(Kn.Z,null)))},Wn={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"},fn=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,wrapClassName:$r,trackEventItems:ea,loading:va})=>{const qa=Math.floor(($n-(Dn-1)*Un)/Dn);return le.createElement(rt.Z,{spinning:va},le.createElement("div",{className:we()(Wn.list,Ln)},!!vn.length&&vn.map((Ar,fo)=>{const{name:Mo,id:Xo,identifier:Ra,power:it,cover_image_id:Ro,pic:mi}=Ar;return le.createElement("div",{className:we()(Wn.wrap,$r),key:Xo,style:{width:qa,marginRight:(1+fo)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{target:"_blank",href:`/shixuns/${Ra}/challenges`,className:Wn.li,onClick:Qr=>{Qr.preventDefault(),ea&&(0,Nt.L9)([ea]),it&&(0,Nt.xg)(`/shixuns/${Ra}/challenges`)}},le.createElement("img",{src:ve(47621),className:Wn.titleBg}),le.createElement("div",{className:Wn.name},le.createElement(Rt.Z,{title:Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Wn.e},Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:Wn.img},le.createElement("img",{className:Wn.cover,src:Ro?`${ft.Z.API_SERVER}/api/attachments/${Ro}`:`${ft.Z.IMG_SERVER+mi}`}),Ar.is_jupyter&&le.createElement("div",{className:Wn.bq},"Jupyter"),Ar.is_jupyter_lab&&le.createElement("div",{className:Wn.bq},"JupyterLab"),Ar.is_unity_3d&&le.createElement("div",{className:Wn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),le.createElement("div",{className:"mt20 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Wn.value},Ar.myshixuns_count)),le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u56F0\u96BE\u7B49\u7EA7"),le.createElement("span",{className:Wn.value},Ar.level))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u5173\u5361\u6570"),le.createElement("span",{className:Wn.value},Ar.challenges_count)),le.createElement("div",{className:Wn.rate},le.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:Ar.score_info}),le.createElement("span",{className:Wn.value,style:{color:"#FF9C00"}},"\xA0",Ar.score_info?`${Ar.score_info}\u5206`:"5\u5206"))))),!it&&le.createElement("div",{className:Wn.lockWrap},le.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&le.createElement(Kn.Z,null)))},Le={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus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d8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",pt=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,trackEventItems:$r,loading:ea,wrapClassName:va,imgClassName:qa})=>{const Ar=Math.floor(($n-(Dn-1)*Un)/Dn);return le.createElement(rt.Z,{spinning:ea},le.createElement("div",{className:we()(Le.list,Ln)},!!vn.length&&vn.map((fo,Mo)=>{const{name:Xo,id:Ra,identifier:it,power:Ro,cover_image_id:mi,pic:Qr}=fo;return le.createElement("div",{className:we()(Le.wrap,va),key:Ra,style:{width:Ar,marginRight:(1+Mo)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{target:"_blank",href:`/shixuns/${it}/challenges`,className:Le.li,onClick:Qo=>{Qo.preventDefault(),$r&&(0,Nt.L9)([$r]),Ro&&(0,Nt.xg)(`/shixuns/${it}/challenges`)}},le.createElement("div",{className:we()(Le.img,qa)},le.createElement("img",{className:Le.cover,src:mi?`${ft.Z.API_SERVER}/api/attachments/${mi}`:`${ft.Z.IMG_SERVER+Qr}`}),fo.is_jupyter&&le.createElement("img",{className:Le.sign,src:he}),fo.is_jupyter_lab&&le.createElement("img",{className:Le.sign,src:ge}),fo.is_unity_3d&&le.createElement("img",{className:Le.sign,src:Se})),le.createElement("div",{className:Le.name},le.createElement(Rt.Z,{title:Xo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Le.e},Xo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:Le.tags},le.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,fo.challenges_count))),!!fo.myshixuns_count&&le.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,fo.myshixuns_count))),le.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,fo.level))),le.createElement("div",{className:Le.rate},le.createElement(An.Z,{allowHalf:!0,disabled:!0,defaultValue:fo.score_info}),le.createElement("span",null,"\xA0",fo.score_info?`${fo.score_info}\u5206`:"5\u5206")))),!Ro&&le.createElement("div",{className:Le.lockWrap},le.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!vn.length&&le.createElement(Kn.Z,null)))},He=ve(68999),Ve={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"},bt=ve(79005),gt=ve(20345),At=ve(77882),jt=ve(31081),kn=ve(75309),It=ve(71979),on=ve(47558),Mt=ve(42922),En=ve(66832),lt=ve(96593),Yt=ve(19664),hn=ve(91833),Sn=Object.defineProperty,Jn=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Fr=(Ln,vn,Dn)=>vn in Ln?Sn(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,fr=(Ln,vn)=>{for(var Dn in vn||(vn={}))ur.call(vn,Dn)&&Fr(Ln,Dn,vn[Dn]);if(Jn)for(var Dn of Jn(vn))Lr.call(vn,Dn)&&Fr(Ln,Dn,vn[Dn]);return Ln};const ir=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:bt,swimg:gt},{name:"101\u8BA1\u5212",ptimg:At,swimg:jt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:kn,swimg:It},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:Mt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:En,swimg:lt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Yt,swimg:hn}];var Hr=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,trackEventItems:$r,loading:ea,wrapClassName:va,imgClassName:qa,isArrow:Ar=!1,imgStyle:fo={}})=>{const Mo=Math.floor(($n-(Dn-1)*Un)/Dn),[Xo,Ra]=(0,le.useState)(),[it,Ro]=(0,le.useState)(),mi=Qo=>Ra(Qo),Qr=()=>Ra(-1);return le.createElement(rt.Z,{spinning:ea},le.createElement("div",{className:we()(Ve.list,Ln)},!!(vn!=null&&vn.length)&&(vn==null?void 0:vn.map((Qo,zi)=>{var Ms;const{name:Yi,id:Xi,identifier:Kl,featured:UA,school_name:Qi,image_url:lu,excellent:Ca,is_plan:ii}=Qo;return le.createElement("div",{key:Xi,className:we()(Ve.wrap,va),style:{width:Mo,marginRight:(1+zi)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{target:"_blank",href:`/paths/${Kl}`,className:Ve.li,onClick:pi=>{pi.preventDefault(),$r&&(0,Nt.L9)([$r]),(0,Nt.xg)(`/paths/${Kl}`)}},le.createElement("img",{src:ve(39057),className:Ve.titleBg}),le.createElement("div",{className:Ve.name},le.createElement(Rt.Z,{title:Yi},le.createElement("span",{className:Ve.e,style:{color:Ar&&Xo===zi?"#145DFF":"#000000"},onMouseEnter:()=>{mi(zi)},onMouseLeave:Qr},Yi))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:we()(Ve.img,qa)},le.createElement("img",{className:Ve.cover,style:fr({},fo),src:`${ft.Z.IMG_SERVER+lu}`}),(Ms=Qo==null?void 0:Qo.subject_tags)==null?void 0:Ms.map((pi,cs)=>{var Fo,yA;if(cs===0){const QA=(Fo=ir.find(Ri=>Ri.name==pi))==null?void 0:Fo.swimg;return le.createElement("img",{className:Ve.sign,src:QA,style:{left:"-4px"}})}const el=(yA=ir.find(QA=>QA.name==pi))==null?void 0:yA.ptimg;return le.createElement("img",{className:Ve.sign,src:el,style:{left:`${48+52*(cs-1)+2*cs}px`}})}),le.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Qo==null?void 0:Qo.excellent)&&le.createElement("div",{className:Ve.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Ve.text},"\u7AE0\u8282\u6570"),le.createElement("span",{className:Ve.value},Qo.stages_count)),le.createElement("div",null,le.createElement("span",{className:Ve.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Ve.value},Qo.members_count))))))})),!vn.length&&le.createElement(Kn.Z,null)))},zr={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},La=ve(53229),cr=ve(59301);const ao=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:bt,swimg:gt},{name:"101\u8BA1\u5212",ptimg:At,swimg:jt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:kn,swimg:It},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:Mt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:En,swimg:lt},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Yt,swimg:hn}];var Yr=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,trackEventItems:$r,loading:ea,onRemove:va=()=>{},isCurrent:qa=!0,showAlias:Ar=!1,wrapClassName:fo,imgClassName:Mo})=>{const Xo=Math.floor(($n-(Dn-1)*Un)/Dn),Ra=[{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(it=>(window.ENV==="build"&&(it.ptimg=`/react/build${it.ptimg}`,it.swimg=`/react/build${it.swimg}`),it));return cr.createElement(rt.Z,{spinning:ea},cr.createElement("div",{className:we()(zr.list,Ln)},!!(vn!=null&&vn.length)&&(vn==null?void 0:vn.map((it,Ro)=>{var mi;const{name:Qr,id:Qo,identifier:zi,featured:Ms,school_name:Yi,image_url:Xi,excellent:Kl,is_plan:UA}=it;return cr.createElement("div",{key:Qo,className:we()(zr.wrap,fo),style:{width:Xo,marginRight:(1+Ro)%Dn===0?0:Un+_r,marginBottom:lr}},cr.createElement("a",{className:zr.li,onClick:Qi=>{Qi.preventDefault(),Qi.stopPropagation(),$r&&(0,Nt.L9)([$r]),(0,Nt.xg)(`/paths/${zi}`)}},cr.createElement("div",{className:we()(zr.img,Mo)},cr.createElement("img",{className:zr.cover,src:`${ft.Z.IMG_SERVER+Xi}`}),qa&&(0,La.bg)()&&(it==null?void 0:it.studying)&&cr.createElement("div",{className:`${zr.movebq} user-path-items`,onClick:Qi=>{Qi.stopPropagation(),va(it)}},cr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),cr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(mi=it==null?void 0:it.subject_tags)==null?void 0:mi.map((Qi,lu)=>{var Ca,ii;if(lu===0){const cs=(Ca=Ra.find(Fo=>Fo.name==Qi))==null?void 0:Ca.swimg;return cr.createElement("img",{className:zr.sign,src:cs,style:{left:"-4px"}})}const pi=(ii=Ra.find(cs=>cs.name==Qi))==null?void 0:ii.ptimg;return cr.createElement("img",{className:zr.sign,src:pi,style:{left:`${48+52*(lu-1)+2*lu}px`}})}),cr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(it==null?void 0:it.excellent)&&cr.createElement("div",{className:zr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),cr.createElement("div",{className:zr.name},cr.createElement(Rt.Z,{title:Ar&&(it!=null&&it.excellent_alias_name)?cr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Qr}`,cr.createElement("br",null),cr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${it==null?void 0:it.excellent_alias_name}`)):Qr},cr.createElement("span",{className:zr.e},Ar&&(it==null?void 0:it.excellent_alias_name)||Qr))),cr.createElement("div",{className:zr.tags},cr.createElement("div",null,cr.createElement(Rt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},cr.createElement("span",null,cr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),cr.createElement("span",null,it.stages_count))),cr.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},cr.createElement("span",null,cr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),cr.createElement("span",null,it.members_count)))))))})),!vn.length&&cr.createElement(Kn.Z,null)))},rn={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"},hi="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+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA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K0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ha=ve(59301),Wi=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,trackEventItems:$r,loading:ea})=>{const va=(0,ce.useIntl)(),qa=Math.floor(($n-(Dn-1)*Un)/Dn);return ha.createElement(rt.Z,{spinning:ea},ha.createElement("div",{className:we()(rn.list,Ln)},!!vn.length&&vn.map((Ar,fo)=>{const{subject_identifier:Mo,id:Xo,identifier:Ra,power:it}=Ar,Ro=Ar.is_public!=0&&Ar.is_public;return ha.createElement("div",{className:rn.wrap,key:Xo,style:{width:qa,marginRight:(1+fo)%Dn===0?0:Un+_r,marginBottom:lr}},ha.createElement("a",{className:rn.li,onClick:mi=>{mi.preventDefault(),$r&&(0,Nt.L9)([$r]),(0,Nt.xg)(Ar.first_category_url)}},ha.createElement("div",{className:rn.top},ha.createElement(Rt.Z,{title:Ar.name},ha.createElement("div",{className:rn.name},Ar.name)),ha.createElement("img",{className:rn.img,src:ft.Z.IMG_SERVER+"/images/"+Ar.avatar_url}),ha.createElement("div",{className:rn.text,title:Ar.creator},Ar.creator),Mo&&ha.createElement("div",{className:rn.btns},ha.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ha.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ro&&ha.createElement("div",{className:rn.sign},va.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),ha.createElement("div",{className:rn.bottom},Ar.visits>0&&ha.createElement(Rt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-liulanyan"}),ha.createElement("span",null,Ar.visits))),Ar.course_members_count>0&&ha.createElement(Rt.Z,{title:va.formatMessage({id:"classrooms.member",defaultMessage:"\u6210\u5458"}),placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-chengyuan"}),Ar.course_members_count)),Ar.tasks_count>0&&ha.createElement(Rt.Z,{title:va.formatMessage({id:"paths.homework",defaultMessage:"\u4F5C\u4E1A"}),placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-zuoye"}),Ar.tasks_count)),Ar.is_end?ha.createElement("div",{style:{color:"#6B758B"}},va.formatMessage({id:"classroomClassroomExperiments.notEvaluated",defaultMessage:"\u5DF2\u7ED3\u675F"})):ha.createElement("div",{style:{color:"#00B187"}},va.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!Ar.is_accessible&&ha.createElement("div",{className:rn.lockWrap},ha.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ha.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&ha.createElement(Kn.Z,null)))},Na={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___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STqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mn=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,wrapClassName:$r,trackEventItems:ea,loading:va})=>{const qa=Math.floor(($n-(Dn-1)*Un)/Dn);return le.createElement(rt.Z,{spinning:va},le.createElement("div",{className:we()(Na.list,Ln)},!!vn.length&&vn.map((Ar,fo)=>{const{subject_identifier:Mo,id:Xo,identifier:Ra,power:it}=Ar,Ro=Ar.is_public!=0&&Ar.is_public;return le.createElement("div",{className:we()(`${Na.wrap} ${Ar.is_accessible?"":Na.warpStyle}`,$r),key:Xo,style:{width:qa,marginRight:(1+fo)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{className:Na.li,onClick:mi=>{mi.preventDefault(),ea&&(0,Nt.L9)([ea]),(0,Nt.xg)(Ar.first_category_url)}},le.createElement("div",{className:Na.creator},le.createElement("img",{className:Na.img,src:ft.Z.IMG_SERVER+"/images/"+Ar.avatar_url}),le.createElement("div",{className:Na.text,title:Ar.creator},Ar.creator)),le.createElement("div",{className:Na.top},le.createElement(Rt.Z,{title:Ar.name},le.createElement("div",{className:Na.name},Ar.name)),Ro&&le.createElement("div",{className:Na.sign},"\u516C\u5F00")),le.createElement("div",{className:Na.middle},le.createElement("div",{className:Na.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:Na.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:Na.value},(Ar==null?void 0:Ar.visits)||0)),le.createElement("div",null,le.createElement("span",{className:Na.text},"\u6210\u5458"),le.createElement("span",{className:Na.value},(Ar==null?void 0:Ar.course_members_count)||0))),le.createElement("div",{className:Na.row},le.createElement("div",null,le.createElement("span",{className:Na.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:Na.value},(Ar==null?void 0:Ar.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:Na.text},"\u72B6\u6001"),Ar.is_end?le.createElement("span",{className:Na.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:Na.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Mo&&le.createElement("div",{className:Na.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ar.is_accessible&&le.createElement("div",{className:Na.lockWrap},le.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&le.createElement(Kn.Z,null)))},Cn={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Fn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs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2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",aa=({className:Ln,dataSource:vn=[],col:Dn=4,right:Un,bottom:lr=23,precision:_r=0,wrapWidth:$n=1200,wrapClassName:$r,trackEventItems:ea,loading:va})=>{const qa=Math.floor(($n-(Dn-1)*Un)/Dn);return le.createElement(rt.Z,{spinning:va},le.createElement("div",{className:we()(Cn.list,Ln)},!!vn.length&&vn.map((Ar,fo)=>{const{subject_identifier:Mo,id:Xo,identifier:Ra,power:it}=Ar,Ro=Ar.is_public!=0&&Ar.is_public;return le.createElement("div",{className:we()(`${Cn.wrap} ${Ar.is_accessible?"":Cn.warpStyle}`,$r),key:Xo,style:{width:qa,marginRight:(1+fo)%Dn===0?0:Un+_r,marginBottom:lr}},le.createElement("a",{className:Cn.li,onClick:mi=>{mi.preventDefault(),ea&&(0,Nt.L9)([ea]),(0,Nt.xg)(Ar.first_category_url)}},le.createElement("div",{className:Cn.creator},le.createElement("img",{className:Cn.img,src:ft.Z.IMG_SERVER+"/images/"+Ar.avatar_url}),le.createElement("div",{className:Cn.text,title:Ar.creator},Ar.creator)),le.createElement("div",{className:Cn.top},le.createElement(Rt.Z,{title:Ar.name},le.createElement("div",{className:Cn.name},Ar.name)),Ro&&le.createElement("div",{className:Cn.sign})),le.createElement("div",{className:Cn.middle},le.createElement("div",{className:Cn.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:Cn.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:Cn.value},(Ar==null?void 0:Ar.visits)||0)),le.createElement("div",null,le.createElement("span",{className:Cn.text},"\u6210\u5458"),le.createElement("span",{className:Cn.value},(Ar==null?void 0:Ar.course_members_count)||0))),le.createElement("div",{className:Cn.row},le.createElement("div",null,le.createElement("span",{className:Cn.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:Cn.value},(Ar==null?void 0:Ar.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:Cn.text},"\u72B6\u6001"),Ar.is_end?le.createElement("span",{className:Cn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:Cn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Mo&&le.createElement("div",{className:Cn.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ar.is_accessible&&le.createElement("div",{className:Cn.lockWrap},le.createElement("img",{src:`${ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),le.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!vn.length&&le.createElement(Kn.Z,null)))},oa={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"},pa=({dataSource:Ln=[],value:vn,onChange:Dn,className:Un,style:lr={},tabBarExtraContent:_r})=>le.createElement("div",{className:we()(oa.tabs,Un),style:lr},le.createElement("div",{className:oa.tabsWrap},Ln.map(($n,$r)=>le.createElement("aside",{className:oa.tab,onClick:()=>{Dn($n.id),$n.link&&ce.history.push($n.link)},key:$r},le.createElement("div",{className:vn===$n.id?oa.active:""},$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:oa.tabBar},_r)),da={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"},Ti=({dataSource:Ln=[],value:vn,onChange:Dn,className:Un,style:lr={},tabBarExtraContent:_r})=>le.createElement("div",{className:we()(da.tabs,Un),style:lr},le.createElement("div",{className:da.tabsWrap},Ln.map(($n,$r)=>le.createElement("aside",{className:da.tab,onClick:()=>{Dn($n.id),$n.link&&ce.history.push($n.link)},key:$r},le.createElement("div",{className:vn===$n.id?da.active:""},$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:da.tabBar},_r)),li={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Ua=({dataSource:Ln=[],value:vn,onChange:Dn,className:Un,style:lr={},tabBarExtraContent:_r})=>le.createElement("div",{className:we()(li.tabs,Un),style:lr},le.createElement("div",{className:li.tabsWrap},Ln.map(($n,$r)=>le.createElement("aside",{className:`${li.tab} ${vn===$n.id?li.active:""}`,onClick:()=>{Dn($n.id),$n.link&&ce.history.push($n.link)},key:$r},le.createElement("div",null,$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:li.tabBar},_r)),$o=({className:Ln,style:vn={},children:Dn})=>le.createElement("div",{className:we()(Ln),style:vn},Dn),Uo={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"},xo=ve(38854),qi=ve(20834),Ys=({sortValue:Ln,dropValue:vn,className:Dn,onSort:Un,onDrop:lr,dataSource:_r})=>{var $n;const $r=(0,ce.useIntl)(),[ea,va]=(0,le.useState)([]),qa=[{id:"updated_at",name:$r.formatMessage({id:"personalHomepageclassrooms.latestUpdates",defaultMessage:"\u6700\u65B0\u52A8\u6001"})},{id:"created_at",name:$r.formatMessage({id:"common.newestCreated",defaultMessage:"\u6700\u65B0\u521B\u5EFA"})},{id:"name",name:$r.formatMessage({id:"common.sortByName",defaultMessage:"\u540D\u79F0\u6392\u5E8F"})}];return(0,le.useEffect)(()=>{(_r==null?void 0:_r.length)>0?va(_r):va(qa)},[_r]),le.createElement("div",{className:we()(Uo.orderWrap,Dn)},le.createElement(xo.Z,{dropdownRender:()=>le.createElement(qi.default,null,ea.map((Ar,fo)=>le.createElement(qi.default.Item,{key:fo,onClick:()=>lr(Ar.id)},Ar.name)))},le.createElement("span",{className:Uo.orderTextWrap},($n=ea.find(Ar=>vn===Ar.id))==null?void 0:$n.name)),le.createElement("span",{className:Uo.orderIconWrap},le.createElement("span",{className:Uo.orderAsc},le.createElement("i",{className:Ln==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Uo.cursorPointer} ${Uo.active}`:`iconfont icon-sanjiaoxing-up font12 ${Uo.cursorPointer}`,onClick:()=>Un(Ln==="asc"?"desc":"asc")})),le.createElement("span",{className:Uo.orderDesc},le.createElement("i",{className:Ln==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Uo.cursorPointer} ${Uo.active}`:`iconfont icon-sanjiaoxing-down font12 ${Uo.cursorPointer}`,onClick:()=>Un(Ln==="asc"?"desc":"asc")}))))},os={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const nA=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var lA=({sortValue:Ln,dropValue:vn,className:Dn,onSort:Un,onDrop:lr,dataSource:_r=nA})=>{var $n;return le.createElement("div",{className:we()(os.orderWrap,Dn)},le.createElement(xo.Z,{dropdownRender:()=>le.createElement(qi.default,null,_r.map(($r,ea)=>le.createElement(qi.default.Item,{key:ea,onClick:()=>lr($r.id)},$r.name)))},le.createElement("span",{className:os.orderTextWrap},($n=_r.find($r=>vn===$r.id))==null?void 0:$n.name)),le.createElement("span",{className:os.orderIconWrap},le.createElement("span",{className:os.orderAsc},le.createElement("i",{className:Ln==="asc"?`iconfont icon-sanjiaoxing-up font12 ${os.cursorPointer} ${os.active}`:`iconfont icon-sanjiaoxing-up font12 ${os.cursorPointer}`,onClick:()=>Un(Ln==="asc"?"desc":"asc")})),le.createElement("span",{className:os.orderDesc},le.createElement("i",{className:Ln==="desc"?`iconfont icon-sanjiaoxing-down font12 ${os.cursorPointer} ${os.active}`:`iconfont icon-sanjiaoxing-down font12 ${os.cursorPointer}`,onClick:()=>Un(Ln==="asc"?"desc":"asc")}))))},Bl={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"},Ir=ve(3113),qA=ve(81081),Eu=Object.defineProperty,wl=Object.getOwnPropertySymbols,yl=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,Gr=(Ln,vn,Dn)=>vn in Ln?Eu(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,oo=(Ln,vn)=>{for(var Dn in vn||(vn={}))yl.call(vn,Dn)&&Gr(Ln,Dn,vn[Dn]);if(wl)for(var Dn of wl(vn))au.call(vn,Dn)&&Gr(Ln,Dn,vn[Dn]);return Ln},io=(Ln,vn)=>{var Dn={};for(var Un in Ln)yl.call(Ln,Un)&&vn.indexOf(Un)<0&&(Dn[Un]=Ln[Un]);if(Ln!=null&&wl)for(var Un of wl(Ln))vn.indexOf(Un)<0&&au.call(Ln,Un)&&(Dn[Un]=Ln[Un]);return Dn},Ja=(Ln,vn,Dn)=>new Promise((Un,lr)=>{var _r=ea=>{try{$r(Dn.next(ea))}catch(va){lr(va)}},$n=ea=>{try{$r(Dn.throw(ea))}catch(va){lr(va)}},$r=ea=>ea.done?Un(ea.value):Promise.resolve(ea.value).then(_r,$n);$r((Dn=Dn.apply(Ln,vn)).next())}),us=Ln=>{var vn=Ln,{className:Dn,style:Un,children:lr,loading:_r=!1,openLoading:$n,onClick:$r=()=>{},size:ea="middle",shape:va="round",theme:qa}=vn,Ar=io(vn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[fo,Mo]=(0,le.useState)(!1),Xo=(0,le.useMemo)(()=>{switch(qa){case qA.Fy.THEMEONE:return Bl.ThemeOne;case qA.Fy.DEFAULT:default:return Bl.btn}},[qa]);return le.createElement(Ir.ZP,oo({onClick:(0,De.throttle)(Ra=>Ja(void 0,null,function*(){$n&&Mo(!0);try{yield $r(Ra)}catch(it){console.log("error",it)}$n&&Mo(!1)}),2e3,{leading:!0,trailing:!1}),className:we()(Xo,Bl[`${ea}-${va}`],Dn),style:Un,size:ea,shape:va,loading:fo||_r},Ar),lr)},zs={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"},LA=({className:Ln,style:vn,children:Dn=null,onClick:Un,title:lr})=>{const _r=(0,ce.useIntl)();return le.createElement("div",{className:we()(zs.head,Ln),style:vn},le.createElement("span",{className:"primary-hover",onClick:Un},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),_r.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"})),le.createElement("b",{title:lr},lr),le.createElement("div",{className:zs.node},Dn))},oi={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"},wc=({confirmShow:Ln=!0,confirmTitle:vn,confirmClick:Dn,cancelShow:Un=!0,cancelTitle:lr,cancelClick:_r,className:$n,style:$r,confirmLoading:ea=!1})=>le.createElement("div",{className:we()(oi.btns,$n),style:$r},Ln&&le.createElement(Ir.ZP,{loading:ea,onClick:Dn,type:"primary",className:oi.confirm},vn),Un&&le.createElement(Ir.ZP,{onClick:_r,className:oi.cancel},lr)),Nl={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"},Sl=({className:Ln,style:vn={},LeftContent:Dn,children:Un,RightContent:lr})=>le.createElement("div",{className:we()(Nl.fixedBottom,Ln),style:vn},le.createElement("div",{className:Nl.wrap},le.createElement("div",{className:Nl.left},Dn),le.createElement("div",{className:Nl.center},Un),le.createElement("div",{className:Nl.right},lr))),Cu={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"},IA=({className:Ln,style:vn={},dataSource:Dn=[]})=>le.createElement("div",{className:we()(Cu.crumbs,Ln),style:vn},Dn.map((Un,lr)=>lrce.history.push(Un.path)},Un.name):le.createElement("span",null,Un.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:lr,style:{color:"#5F6368"}},Un.name))),Pu=ve(31797),Al=Object.defineProperty,xu=Object.defineProperties,NA=Object.getOwnPropertyDescriptors,ou=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,KA=(Ln,vn,Dn)=>vn in Ln?Al(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,iu=(Ln,vn)=>{for(var Dn in vn||(vn={}))Fu.call(vn,Dn)&&KA(Ln,Dn,vn[Dn]);if(ou)for(var Dn of ou(vn))dn.call(vn,Dn)&&KA(Ln,Dn,vn[Dn]);return Ln},DA=(Ln,vn)=>xu(Ln,NA(vn)),$A=(Ln,vn)=>{var Dn={};for(var Un in Ln)Fu.call(Ln,Un)&&vn.indexOf(Un)<0&&(Dn[Un]=Ln[Un]);if(Ln!=null&&ou)for(var Un of ou(Ln))vn.indexOf(Un)<0&&dn.call(Ln,Un)&&(Dn[Un]=Ln[Un]);return Dn};const{Countdown:su}=Pu.default;var Dl=Ln=>{var vn=Ln,{onChange:Dn}=vn,Un=$A(vn,["onChange"]);const[lr,_r]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof lr=="number"&&lr>=0&&Dn(lr)},[lr]);const $n=$r=>{const ea=Math.floor($r/1e3);_r(ea)};return le.createElement(su,DA(iu({},Un),{onChange:$n}))},ks={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ec=({DataProps:Ln,className:vn,style:Dn={}})=>{var Un;const lr=(0,ce.useIntl)();return le.createElement("div",{className:we()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ks.ClassRoomItem,vn),style:Dn,onClick:()=>{(0,Nt.xg)(Ln==null?void 0:Ln.first_category_url)}},le.createElement("div",{className:"flex flex-col item-center"},le.createElement("img",{src:`${(Un=ft.Z)==null?void 0:Un.IMG_SERVER}/images/${Ln==null?void 0:Ln.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ln==null?void 0:Ln.subject_identifier)&&le.createElement("div",{className:"mt-40px"},le.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),le.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},le.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ln!=null&&Ln.is_public)&&le.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"}},lr.formatMessage({id:"testPaperBank.public",defaultMessage:"\u516C\u5F00"})),le.createElement("span",{className:we()("text-16px font-medium",ks.TitleDom)},Ln==null?void 0:Ln.name)),le.createElement("div",{className:"c-grey-333 font-medium"},Ln==null?void 0:Ln.creator),le.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ln==null?void 0:Ln.course_members_count),le.createElement("div",{className:"c-grey-333 flex item-center justify-between"},le.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ln==null?void 0:Ln.tasks_count),Ln!=null&&Ln.is_end?le.createElement("div",{style:{color:"#5F6A95"}},lr.formatMessage({id:"personalHomepageclassroomClassroomExperiments.notEvaluated",defaultMessage:"\u5DF2\u7ED3\u675F"})):le.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Vi=Object.defineProperty,Au=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,Ia=(Ln,vn,Dn)=>vn in Ln?Vi(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,Gt=(Ln,vn)=>{for(var Dn in vn||(vn={}))tc.call(vn,Dn)&&Ia(Ln,Dn,vn[Dn]);if(Au)for(var Dn of Au(vn))Hu.call(vn,Dn)&&Ia(Ln,Dn,vn[Dn]);return Ln},cn=({DataProps:Ln=[],selectValue:vn,onChange:Dn,className:Un,style:lr={},extra:_r,classNameItem:$n,styleItem:$r={},barHidden:ea})=>{const[va,qa]=(0,le.useState)();return(0,le.useEffect)(()=>{qa(Array.isArray(vn)?vn:[vn])},[vn]),le.createElement("div",{className:we()("flex px-20px py-10px gap-40px",Un),style:Gt({borderBottom:"1px solid #D3F0FF"},lr)},Ln==null?void 0:Ln.map(Ar=>le.createElement("div",{key:Ar==null?void 0:Ar.id,className:we()("flex item-center justify-center current c-grey-333 text-16 relative",$n,Ar==null?void 0:Ar.className),style:Gt(Gt({color:va!=null&&va.includes(Ar==null?void 0:Ar.id)?"#1890FF":"",minWidth:88},$r),(Ar==null?void 0:Ar.style)||{}),onClick:fo=>{Dn==null||Dn({domEvent:fo,item:Ar}),Ar!=null&&Ar.link&&ce.history.push(Ar==null?void 0:Ar.link)}},Ar==null?void 0:Ar.name,!ea&&(va==null?void 0:va.includes(Ar==null?void 0:Ar.id))&&le.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),le.createElement("div",{className:"ml-auto"},_r))},dr=Object.defineProperty,Cr=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,la=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,za=(Ln,vn,Dn)=>vn in Ln?dr(Ln,vn,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):Ln[vn]=Dn,Yo=(Ln,vn)=>{for(var Dn in vn||(vn={}))Nr.call(vn,Dn)&&za(Ln,Dn,vn[Dn]);if(la)for(var Dn of la(vn))Rr.call(vn,Dn)&&za(Ln,Dn,vn[Dn]);return Ln},Ko=(Ln,vn)=>Cr(Ln,ya(vn)),Io=({value:Ln,onChange:vn,onInputChange:Dn,className:Un,style:lr={},InputProps:_r})=>{const[$n,$r]=(0,le.useState)(Ln);return le.createElement("div",{className:we()("flex item-center rounded-full px-10px py-2px",Un),style:Yo({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},lr)},le.createElement(ke.default,Ko(Yo({bordered:!1},_r),{onChange:ea=>{$r(ea.target.value),Dn==null||Dn(encodeURIComponent(ea.target.value))},onPressEnter:ea=>{vn==null||vn({domEvent:ea,item:{value:$n}})}})),le.createElement("img",{className:"h-22px current",src:ve(25365),height:22,onClick:ea=>{vn==null||vn({domEvent:ea,item:{value:$n}})}}))}},28934:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return Ce}});var le=ve(59301);function Ce(je,nt){const ze=(0,le.useRef)();(0,le.useEffect)(()=>{ze.current=je}),(0,le.useEffect)(()=>{function Re(){ze.current()}if(nt!==null){let Be=setInterval(Re,nt);return()=>clearInterval(Be)}},[nt])}},44091:function(Vt,Ut,ve){"use strict";var le=ve(43418),Ce=ve(8591),je=ve(98280),nt=ve(75790),ze=ve(53229),Re=ve(59301),Be=(De,ce,Ue)=>new Promise((Fe,be)=>{var ie=ee=>{try{a(Ue.next(ee))}catch(b){be(b)}},y=ee=>{try{a(Ue.throw(ee))}catch(b){be(b)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ue=Ue.apply(De,ce)).next())});const we=({shixunHomeworks:De,classroomList:ce,dispatch:Ue})=>{const Fe=(0,nt.useIntl)(),be=(0,nt.useParams)();return Re.createElement(le.default,{centered:!0,title:Fe.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:De.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:Fe.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Fe.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Be(void 0,null,function*(){var ie,y,a,ee;if((0,ze.Rm)()&&!((ie=ce.AssistantObject.practice)!=null&&ie.can_redo)){Ce.ZP.warning(Fe.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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 b=yield(0,je.ZP)(`/api/myshixuns/${De.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:be.coursesId,homework_common_id:De.actionTabs.homework_common_id}});if(b.shixun_identifier){Ce.ZP.success(Fe.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"})),Ue({type:"shixunHomeworks/setActionTabs",payload:{}});const te=(a=(y=b==null?void 0:b.new_works)==null?void 0:y.find(ne=>`${ne.homework_common_id}`===be.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((ee=ce.AssistantObject.practice)!=null&&ee.can_view))return;nt.history.replace(`/classrooms/${be.coursesId}/shixun_homework/${be.categoryId}/${te}/comment`)}}),onCancel:()=>{Ue({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,Fe.formatMessage({id:"classrooms.returnAssignmentWarning",defaultMessage:"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"})),Re.createElement("p",null,Fe.formatMessage({id:"classrooms.confirmReturnAssignment",defaultMessage:"\u786E\u5B9A\u6253\u56DE?"})))};Ut.Z=(0,nt.connect)(({shixunHomeworks:De,classroomList:ce})=>({shixunHomeworks:De,classroomList:ce}))(we)},74551:function(Vt,Ut,ve){"use strict";ve.r(Ut),ve.d(Ut,{default:function(){return Ia}});var le=ve(81081),Ce=ve(59301),je=ve(75790),nt=ve(66649),ze=ve.n(nt),Re=ve(86129),Be=ve.n(Re),we=ve(98280),De=ve(43418),ce=ve(8591),Ue=ve(61621),Fe=ve(66104),be=ve(3113),ie=ve(6848),y=ve(92832),a=ve(28103),ee=ve(95237),b=ve(43604),te=ve(1710),ne=ve(57809),ae=ve(58421),fe=ve(95869),xe=ve(87169),Pe=ve(26227),Ne=ve(49647),Ge=ve(53229),Ye=ve(19374),et=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_"},ht={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Oe=({shixunHomeworks:Gt,data:Ot,globalSetting:cn,loading:dr,dispatch:Cr})=>{var ya;const la=(0,je.useIntl)(),{shixunWorkReport:Nr}=Gt;let Rr=((ya=Ot==null?void 0:Ot.efficiency_list)==null?void 0:ya.length)-parseInt(Ot==null?void 0:Ot.myself_eff[0]);const za=()=>({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(Ko){return Ko.name===Nr.username?"\u59D3\u540D\uFF1A"+Nr.username+"
\u5B66\u53F7\uFF1A "+Nr.user_id+"
\u6548\u7387\uFF1A"+(Ot==null?void 0:Ot.myself_eff[1]):Ko.name+":"+Ko.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:Ot==null?void 0:Ot.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:Nr.username,xAxis:Rr,yAxis:Ot==null?void 0:Ot.myself_eff[1],value:Ot==null?void 0:Ot.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Yo=()=>({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(Ko){var Wa=Ko.value;if(Ko.name===Nr.username)return"\u59D3\u540D\uFF1A"+Nr.username+"
\u5B66\u53F7\uFF1A "+Nr.user_id+"
\u5F97\u5206\uFF1A"+(Ot==null?void 0:Ot.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:ht,data:Ot==null?void 0:Ot.consume_list,symbolSize:function(Ko){return Math.round(Ko[2])},markPoint:{data:[{name:Nr.username,xAxis:Ot==null?void 0:Ot.myself_object[0],yAxis:Ot==null?void 0:Ot.myself_object[1],value:Ot==null?void 0:Ot.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(b.Z,{flex:"800px"},Ce.createElement(et.Z,{style:{width:750,height:580},option:za()})),Ce.createElement(b.Z,{flex:"1"},Ce.createElement("aside",{className:ke.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Nr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Nr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.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"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(b.Z,{flex:"800px"},Ce.createElement(et.Z,{style:{width:750,height:580},option:Yo()})),Ce.createElement(b.Z,{flex:"1"},Ce.createElement("aside",{className:ke.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Nr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Nr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_object[1]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ce.createElement("br",null)))))))};var xt=(0,je.connect)(({shixunHomeworks:Gt,loading:Ot,globalSetting:cn})=>({shixunHomeworks:Gt,globalSetting:cn,loading:Ot.effects}))(Oe),ut=ve(36420),ot=ve(5871),Et=({defaultValue:Gt,onBlur:Ot,max:cn,className:dr="game-score"})=>{const[Cr,ya]=(0,Ce.useState)(Gt);(0,Ce.useEffect)(()=>{ya(Gt)},[Gt]);function la(Rr){ya(Rr)}function Nr(){Cr!==Gt&&Ot(Cr>cn?cn:Cr)}return Ce.createElement(ot.Z,{max:cn,min:0,className:dr,value:Cr,onChange:la,onBlur:Nr})},ct=ve(48551),Bt={md:"md___GIQyK"},st=ve(59301),rt=Object.defineProperty,Rt=Object.defineProperties,An=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Rn=(Gt,Ot,cn)=>Ot in Gt?rt(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,un=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))Nt.call(Ot,cn)&&Rn(Gt,cn,Ot[cn]);if(ft)for(var cn of ft(Ot))yn.call(Ot,cn)&&Rn(Gt,cn,Ot[cn]);return Gt},Kn=(Gt,Ot)=>Rt(Gt,An(Ot));const wt=ne.default.Option,zn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Wn=(Gt=>(Gt[Gt.SET_PATH=0]="SET_PATH",Gt[Gt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Gt))(Wn||{});function Xe(Gt,Ot){switch(Ot.type){case 0:return Kn(un({},Gt),{selectedPath:Ot.payload});case 1:return Kn(un({},Gt),{passedContent:Ot.payload});default:throw new Error}}var fn=({path:Gt,game_id:Ot,onPathChange:cn,autoHeight:dr,diff_code_count:Cr,data:ya,game_codes_cn:la})=>{var Nr,Rr,za,Yo;const Ko=Gt.split("\uFF1B").filter(lr=>!!lr),[Wa,Io]=(0,Ce.useReducer)(Xe,{selectedPath:Ko[0],passedContent:{language:"python",content:""}}),{selectedPath:Ln,passedContent:vn}=Wa;function Dn(lr){Io({type:0,payload:lr})}const Un={\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 st.createElement(st.Fragment,null,st.createElement("h2",null," ",st.createElement("span",null,la,st.createElement(ie.Z,{title:st.createElement("div",null,st.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),st.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),st.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"),st.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},st.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Cr&&st.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Cr),st.createElement("span",null,st.createElement(ne.default,{style:{width:200},value:Ln,onChange:Dn}," ",Ko.map(lr=>st.createElement(wt,{key:lr,value:lr},lr))," "))," "),(Ln==null?void 0:Ln.split(".")[1])==="md"&&st.createElement(ct.Z,{height:300,autoHeight:dr,defaultValue:((Rr=(Nr=ya==null?void 0:ya.filter(lr=>lr.path===Ln))==null?void 0:Nr[0])==null?void 0:Rr.content)||"",className:Bt.md}),(Ln==null?void 0:Ln.split(".")[1])!=="md"&&st.createElement(ut.ZP,{height:300,language:vn.language,value:((Yo=(za=ya==null?void 0:ya.filter(lr=>lr.path===Ln))==null?void 0:za[0])==null?void 0:Yo.content)||"",autoHeight:dr,theme:"default",isCopy:!0,options:zn}))},Le=ve(98458),he=ve(96249),ge=ve.n(he),Se=Object.defineProperty,qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ve=(Gt,Ot,cn)=>Ot in Gt?Se(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,bt=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))pt.call(Ot,cn)&&Ve(Gt,cn,Ot[cn]);if(qe)for(var cn of qe(Ot))He.call(Ot,cn)&&Ve(Gt,cn,Ot[cn]);return Gt},gt=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const At=({shixunHomeworks:Gt,autoHeight:Ot,classroomList:cn,dispatch:dr})=>{var Cr,ya,la,Nr,Rr,za,Yo;const Ko=(0,je.useIntl)(),{shixunWorkReport:Wa}=Gt,{stage_list:Io,work_id:Ln}=Wa,[vn,Dn]=(0,Ce.useState)(!1),[Un,lr]=(0,Ce.useState)(!0),[_r,$n]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),$r=(0,Ce.useRef)(null),[ea,va]=(0,Ce.useState)(!1),qa=(Qr,Qo)=>{var zi;const{clientWidth:Ms,clientHeight:Yi}=window.document.documentElement,Xi=(zi=$r.current)==null?void 0:zi.getBoundingClientRect();Xi&&$n({left:-Xi.left+Qo.x,right:Ms-(Xi.right-Qo.x),top:-Xi.top+Qo.y,bottom:Yi-(Xi.bottom-Qo.y)})},Ar=(0,je.useParams)(),fo=(0,Ge.GJ)(),Mo={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(Ar)},[]);const Xo=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Qr,Qo,zi)=>Ce.createElement("div",null,Qr,Qo.is_work_end_evaluate&&Ce.createElement(Ye.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:Qr=>ze()(Qr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Qr,Qo)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>gt(void 0,null,function*(){var zi,Ms;const Yi=yield(0,Le.Lk)(Qo.game_identifier,{path:(Ms=(zi=Qo.path)==null?void 0:zi.replace(/\;/g,";"))==null?void 0:Ms.split(";")[0],query_index:Qo.query_index,homework_common_id:Ar.categoryId});(Yi==null?void 0:Yi.status)===0&&(va(Yi),Dn(!0))})},Qo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Ra=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Qr,Qo)=>{var zi;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ne.Z.IMG_SERVER+"/images/"+((zi=Qo==null?void 0:Qo.user)==null?void 0:zi.image_url)}),Qr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Qr=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Qr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Qr=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Qr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Qr=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Qr?ze()(Qr).format("YYYY-MM-DD HH:mm"):"--")}];function it(Qr,Qo){return gt(this,null,function*(){const{challenge_id:zi}=Io[Qr],Ms=yield dr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ar.homeworkId,type:"report",score:Qo,challenge_id:zi}});yield dr({type:"shixunHomeworks/getShixunWorkReport",payload:bt({},Ar)}),Ms.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Ro(Qr,Qo){return(0,we.U2)(`student_works/${Ln}/rep_passed_content.json`,{path:Qo,game_id:Qr})}const mi=Wa.shixun_detail;return Ce.createElement(Ce.Fragment,null,mi==null?void 0:mi.map(function(Qr,Qo){var zi,Ms;return Ce.createElement("div",{key:Qo},Ce.createElement("aside",{className:"pl30 pr30",key:Qo},Ce.createElement("div",{className:`${ke.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",Qo+1,"\u5173 ",Ce.createElement(je.Link,{className:"c-black",target:"_blank",to:`/tasks/${Ar.coursesId}/${Ar.categoryId}/${Qr.game_identifier}`},Qr.subject))),fo?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(Et,{className:"game-score",max:Io[Qo].game_score_full,defaultValue:Io[Qo].game_score,onBlur:Yi=>{var Xi;if((0,Ge.Rm)()&&!((Xi=cn.AssistantObject.practice)!=null&&Xi.can_appraise)){ce.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}it(Qo,Yi)}})):null),Ce.createElement("div",{className:"font16 mt10"},Qr.st===0&&(Qr.path?typeof(Qr==null?void 0:Qr.game_codes_cn)=="string"?Ce.createElement("aside",{className:ke.shixunWrp},Ce.createElement(fn,{game_codes_cn:Qr==null?void 0:Qr.game_codes_cn,autoHeight:Ot,path:Qr.path,game_id:Qr.id,data:Qr.game_codes,diff_code_count:Qr.diff_code_count,onPathChange:Ro})):Ce.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"),Qr.st===1&&(Qr.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")),Ce.createElement("aside",{className:"mt10 font16"},(zi=Qr.outputs)!=null&&zi.length?Ce.createElement(te.default,{columns:Xo,pagination:{hideOnSinglePage:!0},dataSource:Qr.outputs.map(Yi=>bt(bt({},Qr),Yi))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((Ms=Qr==null?void 0:Qr.adjust_review_score_list)==null?void 0:Ms.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:Ra,pagination:{hideOnSinglePage:!0},dataSource:Qr.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(De.default,{open:vn,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{va({}),Dn(!1)},onCancel:()=>{va({}),Dn(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Un&&lr(!1)},onMouseOut:()=>{lr(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Qr=>Ce.createElement(ge(),{disabled:Un,bounds:_r,nodeRef:$r,onStart:(Qo,zi)=>qa(Qo,zi)},Ce.createElement("div",{ref:$r},Qr))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((Cr=ea==null?void 0:ea.data)==null?void 0:Cr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((ya=ea==null?void 0:ea.data)==null?void 0:ya.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(la=ea==null?void 0:ea.data)==null?void 0:la.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((Nr=ea==null?void 0:ea.data)==null?void 0:Nr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Rr=ea==null?void 0:ea.data)==null?void 0:Rr.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(za=ea==null?void 0:ea.data)==null?void 0:za.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Yo=ea==null?void 0:ea.data)==null?void 0:Yo.test_set_passed_rate)*100,"%")))),Ce.createElement(ut.ZP,{height:500,autoHeight:Ot,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ea==null?void 0:ea.content)||""))),options:Mo})))};var jt=(0,je.connect)(({shixunHomeworks:Gt,loading:Ot,globalSetting:cn,classroomList:dr})=>({shixunHomeworks:Gt,globalSetting:cn,loading:Ot.effects,classroomList:dr}))(At),kn=ve(78241),It={greyText:"greyText___Ypiia",info:"info___XU7Xg",label:"label___r5OkY",blackContent:"blackContent___SxDt0",orangeContent:"orangeContent___Nuo4G",inputLabel:"inputLabel___OM4Yo",tableTitle:"tableTitle___uG2JW",scoreTable:"scoreTable___M561L"},on=ve(61941),Mt=ve(59301),En=Object.defineProperty,lt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Sn=(Gt,Ot,cn)=>Ot in Gt?En(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,Jn=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))Yt.call(Ot,cn)&&Sn(Gt,cn,Ot[cn]);if(lt)for(var cn of lt(Ot))hn.call(Ot,cn)&&Sn(Gt,cn,Ot[cn]);return Gt},ur=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const Lr=({shixunHomeworks:Gt,dispatch:Ot,classroomList:cn})=>{const dr=(0,je.useIntl)(),{shixunWorkReport:Cr}=Gt,ya=(0,je.useParams)(),[la,Nr]=(0,Ce.useState)(!1),[Rr]=kn.default.useForm(),[za,Yo]=De.default.useModal(),[Ko,Wa]=(0,Ce.useState)(!1),[Io,Ln]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var Un,lr,_r,$n;Gt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Rr.setFieldsValue({comment:(lr=(Un=Gt.actionTabs.selectArrs)==null?void 0:Un.data)==null?void 0:lr.work_comment,hidden_comment:($n=(_r=Gt.actionTabs.selectArrs)==null?void 0:_r.data)==null?void 0:$n.work_comment_hidden})},[Gt.actionTabs.key]);const vn=()=>ur(void 0,null,function*(){const Un=Rr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ya.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Un.hidden_comment,comment:Un.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),Rr.resetFields(),Ot({type:"shixunHomeworks/setActionTabs",payload:{}}),Ot({type:"shixunHomeworks/getShixunWorkReport",payload:Jn({},ya)}))}),Dn=[{title:"\u5173\u5361",dataIndex:"name",render:(Un,lr,_r)=>_r+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Un,lr,_r)=>Mt.createElement("div",null,Un,lr.complete_status===4&&Mt.createElement(Ye.vA,{status:lr.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:dr.formatMessage({id:"classrooms.finishTime",defaultMessage:"\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:Un=>Un?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Un,lr)=>Mt.createElement("div",null,Mt.createElement("span",{style:{color:parseFloat(lr.game_score_full)!==parseFloat(Un)?"#E30000":"#53C41B"}},Un),"/",lr.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Un,lr)=>(0,Ge.GJ)()?Mt.createElement(Et,{max:lr.game_score_full,defaultValue:parseFloat(Un),onBlur:_r=>ur(void 0,null,function*(){var $n,$r;if((0,Ge.Rm)()&&!(($n=cn.AssistantObject.practice)!=null&&$n.can_appraise)){ce.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 ea=yield Ot({type:"shixunHomeworks/changeScore",payload:{categoryId:ya.homeworkId,type:"report",score:_r,challenge_id:lr.challenge_id}});($r=Gt==null?void 0:Gt.actionTabs)==null||$r.fn(),yield Ot({type:"shixunHomeworks/getShixunWorkReport",payload:Jn({},ya)}),ea.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Un}];return Mt.createElement(Mt.Fragment,null,Yo,Mt.createElement(De.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Gt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:dr.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",onOk:()=>ur(void 0,null,function*(){var Un;if((0,Ge.Rm)()&&!((Un=cn.AssistantObject.practice)!=null&&Un.can_appraise)){ce.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 lr=Rr.getFieldsValue();JSON.stringify(lr)==="{}"||lr.hidden_comment===""&&lr.comment===""?Nr(!0):vn()}),onCancel:()=>{Ot({type:"shixunHomeworks/setActionTabs",payload:{}})}},Mt.createElement(ee.Z,{justify:"space-between",className:It.info},Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u59D3\u540D"),Mt.createElement("span",{className:It.blackContent},Cr==null?void 0:Cr.username)),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5B66\u53F7"),Mt.createElement("span",{className:It.blackContent},(Cr==null?void 0:Cr.student_id)||"--")),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u73ED\u7EA7"),Mt.createElement("span",{className:It.blackContent},(Cr==null?void 0:Cr.group_name)||"--")),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u5173\u5361\u5F97\u5206"),Mt.createElement("span",{className:It.orangeContent},(Cr==null?void 0:Cr.challenge_score)||"--")),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6548\u7387\u5206"),Mt.createElement("span",{className:It.orangeContent},(Cr==null?void 0:Cr.eff_score)||"--")),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u8865\u4EA4\u6263\u5206"),Mt.createElement("span",{className:It.orangeContent},(Cr==null?void 0:Cr.late_penalty)||"--")),Mt.createElement(b.Z,null,Mt.createElement("span",{className:`${It.label} ${It.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Mt.createElement("span",{className:It.orangeContent},(Cr==null?void 0:Cr.work_score)||"--"))),Mt.createElement(kn.default,{form:Rr,onChange:()=>{la&&Nr(!1)}},Mt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Mt.createElement(b.Z,null,Mt.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Mt.createElement(b.Z,null,Mt.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Ko,onCancel:()=>{Wa(!1)}},onDataSelect:(Un,lr)=>ur(void 0,[Un,lr],function*(_r,{node:$n}){const $r=()=>{Rr.setFieldsValue({comment:$n==null?void 0:$n.value}),Wa(!1)};if(Rr.getFieldValue("comment")){za.confirm({icon:null,title:dr.formatMessage({id:"classrooms.prompt",defaultMessage:"\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:$r});return}$r()})},Mt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Mt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Un=>{Wa(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Mt.createElement(kn.default.Item,{name:"comment"},Mt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Mt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Mt.createElement(b.Z,null,Mt.createElement("div",{className:`${It.inputLabel} ${It.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Mt.createElement(b.Z,null,Mt.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Io,onCancel:()=>{Ln(!1)}},onDataSelect:(Un,lr)=>ur(void 0,[Un,lr],function*(_r,{node:$n}){const $r=()=>{Rr.setFieldsValue({hidden_comment:$n==null?void 0:$n.value}),Ln(!1)};if(Rr.getFieldValue("hidden_comment")){za.confirm({icon:null,title:dr.formatMessage({id:"classrooms.prompt",defaultMessage:"\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:$r});return}$r()})},Mt.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Mt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Un=>{Ln(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Mt.createElement(kn.default.Item,{name:"hidden_comment"},Mt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),la&&Mt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Mt.createElement("div",{className:It.tableTitle},"\u5173\u5361\u6210\u7EE9"),Mt.createElement(te.default,{className:It.scoreTable,dataSource:Cr.stage_list,rowKey:"challenge_id",pagination:!1,columns:Dn,scroll:{x:"max-content"}})))};var Fr=(0,je.connect)(({shixunHomeworks:Gt,classroomList:Ot})=>({shixunHomeworks:Gt,classroomList:Ot}))(Lr),fr=ve(81895),ir=ve(12470),hr=ve(59189),Hr=ve(44164),zr=ve.n(Hr),La={wrap:"wrap___rFTBy",line:"line___kZzhh"},cr=ve(38695),no=({detailData:Gt})=>{var Ot;return Ce.createElement("div",{className:La.wrap},Ce.createElement(cr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,cr.Uf)(Gt),(Gt==null?void 0:Gt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(cr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,cr.Uf)(Gt)}),!!((Ot=Gt==null?void 0:Gt.photos)!=null&&Ot.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:La.line}),Ce.createElement(cr._s,{dataSource:Gt==null?void 0:Gt.photos,right:21,col:4,wrapWidth:1140}))))},Yr=ve(34188),rn=ve(59301),hi=Object.defineProperty,ha=Object.defineProperties,Li=Object.getOwnPropertyDescriptors,Wi=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Zi=Object.prototype.propertyIsEnumerable,as=(Gt,Ot,cn)=>Ot in Gt?hi(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,mn=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))Na.call(Ot,cn)&&as(Gt,cn,Ot[cn]);if(Wi)for(var cn of Wi(Ot))Zi.call(Ot,cn)&&as(Gt,cn,Ot[cn]);return Gt},Cn=(Gt,Ot)=>ha(Gt,Li(Ot)),Fn=(Gt,Ot)=>{var cn={};for(var dr in Gt)Na.call(Gt,dr)&&Ot.indexOf(dr)<0&&(cn[dr]=Gt[dr]);if(Gt!=null&&Wi)for(var dr of Wi(Gt))Ot.indexOf(dr)<0&&Zi.call(Gt,dr)&&(cn[dr]=Gt[dr]);return cn},gr=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const aa=Gt=>{var Ot=Gt,{shixunHomeworks:cn,classroomList:dr,globalSetting:Cr,loading:ya,user:la,dispatch:Nr}=Ot,Rr=Fn(Ot,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),za,Yo,Ko;const Wa=(0,je.useIntl)(),[Io,Ln]=(0,Ce.useState)(mn({},(0,je.useParams)())),vn=(0,je.useParams)(),[Dn,Un]=(0,Ce.useState)({page:1,page_size:10}),lr=(0,je.useLocation)(),[]=(0,Ce.useState)([]),[_r,$n]=(0,Ce.useState)(),$r=(0,Ce.useRef)(),[ea,va]=(0,Ce.useState)(!1),[qa,Ar]=(0,Ce.useState)(!0),[fo,Mo]=(0,Ce.useState)(!1),[Xo,Ra]=(0,Ce.useState)(!1),{shixunWorkReport:it}=cn,[Ro,mi]=(0,Ce.useState)(),[Qr,Qo]=(0,Ce.useState)([]),[zi,Ms]=(0,Ce.useState)(),[Yi,Xi]=(0,Ce.useState)("all"),Kl=(0,Ge.GJ)(),[UA,Qi]=(0,Ce.useState)(new(Be())),[lu,Ca]=(0,Ce.useState)(0),[ii,pi]=(0,Ce.useState)(!1),[cs,Fo]=(0,Ce.useState)(!1),[yA,el]=(0,Ce.useState)(!1),[QA,Ri]=(0,Ce.useState)(""),[uA,zl]=(0,Ce.useState)(!1),[Ga,Ts]=(0,Ce.useState)(!0),[El,cA]=(0,Ce.useState)(0),hs=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Ss=(0,Ce.useRef)(),Lu=()=>gr(void 0,null,function*(){(la.userInfo.is_teacher||la.userInfo.admin)&&(zl(!0),Ts(!1))});(0,Ce.useEffect)(()=>{var Kr;(0,Ge.Rm)()&&dr.AssistantObject.practice&&!((Kr=dr.AssistantObject.practice)!=null&&Kr.can_view)&&je.history.replace("/403")},[(za=dr.AssistantObject.practice)==null?void 0:za.can_view]),(0,Ce.useEffect)(()=>{Lu(),console.log("\u6253\u5370\u7684------",it),Ss.current=it==null?void 0:it.next_student_work_id,Ri(it.repeat_minus_score)},[it,la]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),cA(it.work_score)},[it.work_score,QA]),(0,Ce.useEffect)(()=>(Nr({type:"globalSetting/footerToggle",payload:!1}),()=>{Nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var Kr;if(it){let lo=[];(Kr=it==null?void 0:it.target_test_sets)==null||Kr.map((br,ho)=>{var si;(si=br==null?void 0:br.targets)==null||si.map((Rs,rA)=>{var hA;Rs.name=br==null?void 0:br.name,Rs.total_target_score=br==null?void 0:br.total_target_score,Rs.actual_target_score=br==null?void 0:br.actual_target_score,Rs.rowSpan=rA===0?(hA=br==null?void 0:br.targets)==null?void 0:hA.length:0,Rs.order=ho+1,lo.push(Rs)})}),mi(lo),(0,Ge.Rm)()&&Nr({type:"classroomList/getAssistantPermissions",payload:{course_id:Io.coursesId}})}},[it]),(0,Ce.useEffect)(()=>{cn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!qa&&setTimeout(()=>{nc("all")},800)},[it==null?void 0:it.homework_common_id,qa]),(0,Ce.useEffect)(()=>{Ln(mn({},vn))},[lr.pathname]);const Gc=()=>{document.body.scrollIntoView()},SA=Kr=>{Dn.page=Kr,Un(mn({},Dn)),Gl(Dn,Yi)},Gl=(Kr,lo)=>gr(void 0,null,function*(){Mo(!0);const br=yield(0,we.ZP)(`/api/student_works/${Io==null?void 0:Io.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Cn(mn({},Kr),{challenge_id:lo=="all"?null:lo})});(br==null?void 0:br.status)===0&&(Qo(br==null?void 0:br.list),Ms(br==null?void 0:br.count)),Mo(!1)});function Ls(){return gr(this,null,function*(){hs.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const uu=()=>{document.querySelectorAll("canvas").forEach(Kr=>{(!Kr.clientWidth||!Kr.clientHeight)&&Kr.remove()})},bs=Kr=>gr(void 0,null,function*(){const lo=yield(0,hr.t1)({homeworkId:Kr||Io.homeworkId});$n(lo==null?void 0:lo.data)}),nc=Kr=>gr(void 0,null,function*(){var lo,br,ho,si;let Rs=0,rA;rA=De.default.info({width:460,title:rn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",rn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:rn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",rn.createElement("span",{className:"c-blue"},Rs+1),"/",Kr!=="all"?1:it==null?void 0:it.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ke.modal,onOk:()=>{}});const hA={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Zl=UA.folder(it==null?void 0:it.shixun_name);function Nu(Vl){return gr(this,null,function*(){yield bs(Vl||Ss.current);const ja=yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:mn({homeworkId:Vl||Ss.current},hs.current||{})});Ss.current=ja==null?void 0:ja.next_student_work_id,Gc(),Rs++,setTimeout(()=>gr(this,null,function*(){var aA,zo,OA,ms;uu();const js=Zl.folder(`${ja==null?void 0:ja.group_name}`).folder(`${ja!=null&&ja.student_id&&(ja==null?void 0:ja.student_id)!="--"?ja.student_id+"+":""}${ja==null?void 0:ja.username}`),Yl=document.querySelector("#export-all").children;let Cl=zr()();for(let Xs=0;Xsgr(this,null,function*(){Xs0&&((OA=(zo=ja==null?void 0:ja.shixun_detail)==null?void 0:zo.filter(Xs=>{var Gs;return((Gs=Xs==null?void 0:Xs.game_codes)==null?void 0:Gs.length)>0}))==null?void 0:OA.length)>0){const Xs=js.folder("\u4EE3\u7801\u6587\u4EF6");(ms=ja==null?void 0:ja.shixun_detail)==null||ms.map((Gs,mA)=>{var ji,Du;if(((ji=Gs==null?void 0:Gs.game_codes)==null?void 0:ji.length)>0){const Xl=Xs.folder(`\u7B2C${mA+1}\u5173-${Gs.subject}-${Gs.id}`);(Du=Gs==null?void 0:Gs.game_codes)==null||Du.map(ll=>{Xl.file(`${ll.filename}.txt`,ll==null?void 0:ll.content)})}})}rA.update({content:rn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",rn.createElement("span",{className:"c-blue"},Rs),"/",ja==null?void 0:ja.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Rs==(ja==null?void 0:ja.students_count)?(rA.destroy(),Wl()):Nu()}),2200)})}if(Kr!=="all"||(it==null?void 0:it.students_count)<2){uu(),Gc();const Vl=$r.current.children;let ja=zr()();const zo=Zl.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let OA=0;OAgr(void 0,null,function*(){OA0&&((ho=(br=it==null?void 0:it.shixun_detail)==null?void 0:br.filter(OA=>{var ms;return((ms=OA==null?void 0:OA.game_codes)==null?void 0:ms.length)>0}))==null?void 0:ho.length)>0){const OA=zo.folder("\u4EE3\u7801\u6587\u4EF6");(si=it==null?void 0:it.shixun_detail)==null||si.map((ms,kA)=>{var js,Yl;if(((js=ms==null?void 0:ms.game_codes)==null?void 0:js.length)>0){const Cl=OA.folder(`\u7B2C${kA+1}\u5173-${ms.subject}-${ms.id}`);(Yl=ms==null?void 0:ms.game_codes)==null||Yl.map(Xs=>{Cl.file(`${Xs.filename}.txt`,Xs==null?void 0:Xs.content)})}})}rA.destroy(),Wl();return}else Nu(it==null?void 0:it.first_student_work_id)}),Wl=()=>{UA.generateAsync({type:"blob"}).then(function(Kr){console.log(it,"shixunWorkReport");const lo=document.createElement("a");lo.href=window.URL.createObjectURL(Kr),lo.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(lo);const br=document.createEvent("MouseEvents");br.initEvent("click",!1,!1),lo.dispatchEvent(br),document.body.removeChild(lo),Qi(new(Be()))}),Ra(!1)};(0,Ce.useEffect)(()=>{cu()},[Io.homeworkId]);const cu=()=>gr(void 0,null,function*(){yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:mn(mn({},Io),hs.current||{})}),bs(),(0,Ge.GJ)()&&Ls(),Ar(!1)}),yc=[{title:"\u5173\u5361",dataIndex:"name",render:(Kr,lo,br)=>br+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Kr,lo,br)=>rn.createElement("div",null,Kr,lo.complete_status===4&&rn.createElement(Ye.vA,{status:lo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Kr,lo,br)=>Kr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:Wa.formatMessage({id:"classrooms.finishTime",defaultMessage:"\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:Kr=>Kr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Kr,lo)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(lo.myself_experience)!==parseFloat(Kr)?"red":"green"}},lo.myself_experience),"/",Kr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Kr,lo)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(lo.game_score_full)!==parseFloat(Kr)?"red":"green"}},Kr),"/",lo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Kr,lo)=>Kl?rn.createElement(Et,{max:lo.game_score_full,defaultValue:parseFloat(Kr),onBlur:br=>gr(void 0,null,function*(){var ho;if((0,Ge.Rm)()&&!((ho=dr.AssistantObject.practice)!=null&&ho.can_appraise)){ce.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 si=yield Nr({type:"shixunHomeworks/changeScore",payload:{categoryId:Io.homeworkId,type:"report",score:br,challenge_id:lo.challenge_id}});Gl({page:1,page_size:10},"all"),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:mn(mn({},Io),hs.current||{})}),si.status===0&&ce.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Kr}];let Iu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Kr,lo,br)=>({children:Kr,props:{rowSpan:lo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Kr,lo,br)=>({children:Kr,props:{rowSpan:lo.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:(Kr,lo,br)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(lo.actual_test_score)!==parseFloat(Kr)?"red":"green"}},lo.actual_test_score),"/",Kr)},{title:"\u6307\u6807\u603B\u5206",render:(Kr,lo,br)=>({children:rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(lo.actual_target_score)!==parseFloat(Kr)?"red":"green"}},lo.actual_target_score),"/",Kr),props:{rowSpan:lo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Wc=[{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:Kr=>rn.createElement("span",null,Kr?ze()(Kr).format("YYYY-MM-DD HH:mm"):"--")}],zA=Kr=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Kr==="next"?je.history.push(`/classrooms/${Io.coursesId}/shixun_homework/${Io.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):je.history.push(`/classrooms/${Io.coursesId}/shixun_homework/${Io.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},Sc=Kr=>{Ri(""),Kr.target.value&&(console.log("\u8FDB\u6765",it),Kr.target.value=Kr.target.value>it.repeat_setting_score?it.repeat_setting_score:Kr.target.value,Ri(Kr.target.value))},rc=()=>gr(void 0,null,function*(){const Kr=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:QA}});yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:mn(mn({},Io),hs.current||{})}),Kr.status===0&&ce.ZP.info("\u64CD\u4F5C\u6210\u529F")});return rn.createElement("section",{style:{minHeight:"100vh",background:`url(${ve(26528)}) center / cover no-repeat`}},rn.createElement("div",{className:"edu-container pb-60px"},rn.createElement(Ue.Z,{loading:ya["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},it.course_id&&rn.createElement("section",{className:"animated fadeIn pt-10px"},it.category&&rn.createElement(Fe.Z,{separator:">",items:[{title:rn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework`}," ",it.course_name)},{title:rn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`}," ",it.category.category_name)},{title:rn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:it.username}]}),rn.createElement("div",{className:"mt20 flex item-center gap-10px"},rn.createElement("strong",{className:"font20"}," ",it==null?void 0:it.homework_name," "),rn.createElement(Ye.VV,{temporary:!0,status:it.homework_status}),rn.createElement("div",{className:"ml-auto flex item-center gap-10px"},it.view_tpi&&rn.createElement(be.ZP,{icon:rn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Kr,lo;(0,Ye.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(lo=(Kr=it==null?void 0:it.shixun_detail)==null?void 0:Kr[0])==null?void 0:lo.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&&rn.createElement(be.ZP,{icon:rn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>gr(void 0,null,function*(){yield Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:vn.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),rn.createElement(be.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Kr;if((0,Ge.Rm)()&&!((Kr=dr.AssistantObject.practice)!=null&&Kr.can_download)){ce.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}nc("")},loading:ea},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(it==null?void 0:it.students_count)>1&&rn.createElement(be.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Kr;if((0,Ge.Rm)()&&!((Kr=dr.AssistantObject.practice)!=null&&Kr.can_download)){ce.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}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:rn.createElement(ie.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:rn.createElement(ie.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:()=>{nc("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Yr.jj)({categoryId:Io.categoryId,coursesId:Io.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),rn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},rn.createElement("div",{id:"export-all",ref:$r},rn.createElement("div",{id:"export-all-1"},rn.createElement("div",{className:"flex item-center"},rn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ge.GJ)()&&rn.createElement(be.ZP,{className:`ml-auto rounded-4px ${ke.NewButtonStyle}`,type:"primary",icon:rn.createElement(fe.Z,{rev:void 0}),onClick:()=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:mn({},it)},fn:()=>Gl({page:1,page_size:10},"all")}})}}," ",it.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),rn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},rn.createElement("div",{className:"flex flex-col justify-center item-center"},rn.createElement("div",{className:"flex flex-col item-center"},rn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Ne.Z.IMG_SERVER}/images/${it.image_url}`,alt:it.username}),rn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},rn.createElement(Ye.vA,{status:it.compelete_status}))),rn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},it.username),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",rn.createElement("span",{className:"ml10 c-grey-333"},it.student_id||"--")),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",rn.createElement("span",{className:"ml10 c-grey-333"},it.group_name||"--"))),rn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},rn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-red"},it.complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-red"},it.current_complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:it&&it.efficiency===null?"--":it&&it.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:it&&it.max_efficiency===null?"--":it&&it.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},it.challenge_score),"/",rn.createElement("span",{className:"c-light-black"},it.challenge_score_full)),hidden:!(it!=null&&it.eff_score_full)},{title:"\u6548\u7387\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},it.eff_score),"/",rn.createElement("span",{className:"c-light-black"},it.eff_score_full)),hidden:!(it!=null&&it.eff_score_full)}].map((Kr,lo)=>!(Kr!=null&&Kr.hidden)&&rn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},Kr==null?void 0:Kr.children),rn.createElement("div",{style:{color:"#8E8E8E"}},Kr==null?void 0:Kr.title)))),rn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:rn.createElement(rn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",rn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Kr=>{pi(!0)}})),children:it==null?void 0:it.human_training_time_rules},{title:rn.createElement(rn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",rn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Kr=>{Fo(!0)}})),children:it==null?void 0:it.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:it.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:rn.createElement(rn.Fragment,null," \u67E5\u91CD\u6263\u5206",it!=null&&it.review_rate?rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{it!=null&&it.review_id&&uA&&(localStorage.setItem("studentDetial",window.location.pathname),je.history.push(`/classrooms/:coursesId/shixun_homework/${Io.categoryId}/review_detail/${it==null?void 0:it.review_id}`))}}," ",it.review_rate.toFixed(1),"% "):rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:rn.createElement(rn.Fragment,null,(it==null?void 0:it.repeat_minus_score)!==0?"- -":rn.createElement(rn.Fragment,null,uA?rn.createElement(rn.Fragment,null,rn.createElement(y.default,{style:{width:"45px",height:"22px"},value:QA,onChange:Kr=>{Sc(Kr)},onBlur:rc,disabled:Ga})," / ",it==null?void 0:it.repeat_setting_score):rn.createElement(rn.Fragment,null," ",it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score," "))),hidden:!(it!=null&&it.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:it.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},El),"/",rn.createElement("span",{className:"c-light-black"},it.all_work_score))}].map((Kr,lo)=>!(Kr!=null&&Kr.hidden)&&rn.createElement("div",{key:lo,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},Kr==null?void 0:Kr.children),rn.createElement("div",{style:{color:"#8E8E8E"}},Kr==null?void 0:Kr.title))))),rn.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`}},it.overall_appraisal)),rn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(it.work_comment_hidden||it.work_comment)&&rn.createElement("div",null,rn.createElement(ee.Z,{align:"middle"},rn.createElement(b.Z,{flex:1},rn.createElement("h1",{className:ke.title},"\u70B9\u8BC4\u5185\u5BB9")),rn.createElement(b.Z,{className:"pr30"},(0,Ge.GJ)()&&rn.createElement(be.ZP,{onClick:()=>gr(void 0,null,function*(){De.default.confirm({centered:!0,okText:Wa.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",title:Wa.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:rn.createElement(xe.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return gr(this,null,function*(){(yield(0,hr.gZ)({comment_id:it.comment_id,homeworkId:Io.homeworkId})).status===0&&(ce.ZP.success("\u5220\u9664\u6210\u529F"),Nr({type:"shixunHomeworks/getShixunWorkReport",payload:mn(mn({},Io),hs.current||{})}))})}})})},rn.createElement(Pe.Z,null),"\u5220\u9664"))),rn.createElement(a.Z,{style:{margin:0}}),it.work_comment&&rn.createElement("aside",{className:"pl30 pr30 mt20"},rn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),rn.createElement("br",null),rn.createElement(ir.Z,{value:it.work_comment})),it.work_comment_hidden&&rn.createElement("aside",{className:"pl30 pr30 mt20"},rn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),rn.createElement("br",null),rn.createElement(ir.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&&rn.createElement(no,{detailData:it}),rn.createElement("div",{className:ke.score},rn.createElement("h1",{className:ke.title},"\u9636\u6BB5\u6210\u7EE9"),(it==null?void 0:it.adjust_review_score_count)>0&&(0,Ge.GJ)()&&rn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{el(!0),Gl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),rn.createElement(te.default,{className:ke.TableStyle,dataSource:it.stage_list,rowKey:Kr=>Kr==null?void 0:Kr.challenge_id,pagination:!1,columns:yc}),((Yo=it==null?void 0:it.target_test_sets)==null?void 0:Yo.length)>0&&rn.createElement("div",null,rn.createElement("h1",{className:ke.title},"\u6307\u6807\u6210\u7EE9"),rn.createElement(te.default,{className:ke.TableStyle,dataSource:Ro,rowKey:Kr=>Kr==null?void 0:Kr.challenge_id,pagination:!1,bordered:!0,columns:Iu})),(it==null?void 0:it.work_description)&&rn.createElement(rn.Fragment,null,rn.createElement("h1",{className:ke.title},"\u4E2A\u4EBA\u603B\u7ED3"),rn.createElement(ir.Z,{value:it==null?void 0:it.work_description})),rn.createElement("h1",{className:ke.title},"\u56FE\u5F62\u7EDF\u8BA1"),rn.createElement(xt,{data:_r}),rn.createElement("h1",{className:ke.title},Wa.formatMessage({id:"classrooms.practicalDetails",defaultMessage:"\u5B9E\u8BAD\u8BE6\u60C5"}))),rn.createElement(jt,{autoHeight:Xo}))))),(0,Ge.GJ)()&&rn.createElement("aside",{className:`sticky ${ke.footerBar}`},rn.createElement("aside",{className:"edu-container flex item-center"},rn.createElement(je.Link,{className:ke.exitComment,to:`/classrooms/${Io.coursesId}/shixun_homework/${Io.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),rn.createElement("div",{className:"ml-auto flex item-center gap-20px"},rn.createElement(be.ZP,{disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>zA()},"\u4E0A\u4E00\u4E2A"),rn.createElement(be.ZP,{disabled:!(it!=null&&it.next_student_work_id),onClick:()=>zA("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&rn.createElement(be.ZP,{className:ke.NewButtonStyle,type:"primary",onClick:()=>gr(void 0,null,function*(){Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:mn({},it)},fn:()=>Gl({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),rn.createElement(Fr,null),rn.createElement(fr.Z,null),rn.createElement(De.default,{open:ii,width:860,centered:!0,onCancel:()=>{pi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},rn.createElement("div",{style:{color:"#333333",fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),rn.createElement("br",null),rn.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"),rn.createElement("br",null),rn.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"),rn.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 "),rn.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")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),rn.createElement("br",null),rn.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 "),rn.createElement("br",null),rn.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"),rn.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 "),rn.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"),rn.createElement("br",null),rn.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")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),rn.createElement("br",null),rn.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")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),rn.createElement("br",null),rn.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"))),rn.createElement(De.default,{open:cs,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Fo(!1)},width:600},rn.createElement("div",{style:{fontWeight:400,color:"#333333"}},rn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.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"),rn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.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"),rn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.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"))),rn.createElement(De.default,{open:yA,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Xi("all"),el(!1)},destroyOnClose:!0,width:900},rn.createElement("div",{style:{fontWeight:400,color:"#333333"}},rn.createElement("div",null,rn.createElement("span",null,"\u5173\u5361\uFF1A"),rn.createElement(ne.default,{style:{width:300},value:Yi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Kr=>gr(void 0,null,function*(){Xi(Kr),Gl({page:1,page_size:10},Kr)})},rn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(Ko=it==null?void 0:it.stage_list)==null?void 0:Ko.map((Kr,lo)=>rn.createElement(ne.default.Option,{key:lo,value:Kr==null?void 0:Kr.challenge_id},"\u7B2C",(0,Ye.EM)(lo+1),"\u5173")))),rn.createElement("div",{className:"mt20"},rn.createElement(te.default,{dataSource:Qr,rowKey:Kr=>Kr==null?void 0:Kr.id,pagination:!1,columns:Wc,loading:fo})),rn.createElement("div",{className:ke.footer},rn.createElement("div",null,rn.createElement("span",{style:{color:"#656F87"}},"\u5171",rn.createElement("span",{className:"c-light-primary"},zi),"\u6761\u6570\u636E")),rn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(Dn==null?void 0:Dn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:zi,onChange:SA})))))};var oa=(0,je.connect)(({shixunHomeworks:Gt,classroomList:Ot,loading:cn,globalSetting:dr,user:Cr})=>({shixunHomeworks:Gt,classroomList:Ot,globalSetting:dr,loading:cn.effects,user:Cr}))(aa),ma=ve(27812),pa={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"},da={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const co=({shixunHomeworks:Gt,data:Ot,globalSetting:cn,loading:dr,dispatch:Cr})=>{var ya;const la=(0,je.useIntl)(),{shixunWorkReport:Nr}=Gt;let Rr=((ya=Ot==null?void 0:Ot.efficiency_list)==null?void 0:ya.length)-parseInt(Ot==null?void 0:Ot.myself_eff[0]);const za=()=>({title:{text:la.formatMessage({id:"classroomClassroomExperiments.learningEfficiency",defaultMessage:"\u5B66\u4E60\u6548\u7387"}),subtext:la.formatMessage({id:"classroomClassroomExperiments.learningEfficiencyFormula",defaultMessage:"\uFF08\u5B66\u4E60\u6548\u7387=log\uFF08\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6\uFF09\uFF09"})},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(Ko){return Ko.name===Nr.username?`${la.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})}:`+Nr.username+"
"+la.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})+Nr.user_id+"
\u6548\u7387\uFF1A"+(Ot==null?void 0:Ot.myself_eff[1]):Ko.name+":"+Ko.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:la.formatMessage({id:"classroomClassroomExperiments.studentPosition",defaultMessage:"\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:Ot==null?void 0:Ot.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:la.formatMessage({id:"classroomClassroomExperiments.learningEfficiencyDistributionInterval",defaultMessage:"\u5B66\u4E60\u6548\u7387\u5206\u5E03\u533A\u95F4"}),xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:Nr.username,xAxis:Rr,yAxis:Ot==null?void 0:Ot.myself_eff[1],value:Ot==null?void 0:Ot.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Yo=()=>({title:{text:"\u80FD\u529B\u503C",subtext:la.formatMessage({id:"classroomClassroomExperiments.abilityValueFormula",defaultMessage:"\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(Ko){var Wa=Ko.value;if(Ko.name===Nr.username)return`${la.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})}:`+Nr.username+"
"+la.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})+Nr.user_id+"
\u5F97\u5206\uFF1A"+(Ot==null?void 0:Ot.myself_object[1])}},xAxis:{type:"value",name:la.formatMessage({id:"classroomClassroomExperiments.logTotalPracticalTime",defaultMessage:"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:da,data:Ot==null?void 0:Ot.consume_list,symbolSize:function(Ko){return Math.round(Ko[2])},markPoint:{data:[{name:Nr.username,xAxis:Ot==null?void 0:Ot.myself_object[0],yAxis:Ot==null?void 0:Ot.myself_object[1],value:Ot==null?void 0:Ot.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(b.Z,{flex:"800px"},Ce.createElement(et.Z,{style:{width:750,height:580},option:za()})),Ce.createElement(b.Z,{flex:"1"},Ce.createElement("aside",{className:pa.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"}))," ",Ce.createElement("span",{className:"ml30"},Nr.username)),Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}))," ",Ce.createElement("span",{className:"ml30"},Nr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classroomClassroomExperiments.learningEfficiency",defaultMessage:"\u5B66\u4E60\u6548\u7387"}))," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classroomClassroomExperiments.currentRanking",defaultMessage:"\u5F53\u524D\u6392\u540D"}))," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.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"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(b.Z,{flex:"800px"},Ce.createElement(et.Z,{style:{width:750,height:580},option:Yo()})),Ce.createElement(b.Z,{flex:"1"},Ce.createElement("aside",{className:pa.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"}))," ",Ce.createElement("span",{className:"ml30"},Nr.username)),Ce.createElement("li",null,Ce.createElement("span",null,la.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}))," ",Ce.createElement("span",{className:"ml30"},Nr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},Ot==null?void 0:Ot.myself_object[1]))),Ce.createElement("p",null,la.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation",defaultMessage:"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C "}),Ce.createElement("br",null),la.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation1",defaultMessage:"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C"}),Ce.createElement("br",null),la.formatMessage({id:"classroomClassroomExperiments.abilityGraphExplanation2",defaultMessage:" \u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11"}),Ce.createElement("br",null)))))))};var Ti=(0,je.connect)(({shixunHomeworks:Gt,loading:Ot,globalSetting:cn})=>({shixunHomeworks:Gt,globalSetting:cn,loading:Ot.effects}))(co),li=({defaultValue:Gt,onBlur:Ot,max:cn,className:dr="game-score"})=>{const[Cr,ya]=(0,Ce.useState)(Gt);(0,Ce.useEffect)(()=>{ya(Gt)},[Gt]);function la(Rr){ya(Rr)}function Nr(){Cr!==Gt&&Ot(Cr>cn?cn:Cr)}return Ce.createElement(ot.Z,{max:cn,min:0,className:dr,value:Cr,onChange:la,onBlur:Nr})},kr={md:"md___TEmcT"},Ua=ve(59301),Ki=Object.defineProperty,$o=Object.defineProperties,Uo=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,Vs=Object.prototype.propertyIsEnumerable,Ys=(Gt,Ot,cn)=>Ot in Gt?Ki(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,os=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))qi.call(Ot,cn)&&Ys(Gt,cn,Ot[cn]);if(xo)for(var cn of xo(Ot))Vs.call(Ot,cn)&&Ys(Gt,cn,Ot[cn]);return Gt},nA=(Gt,Ot)=>$o(Gt,Uo(Ot));const Ui=ne.default.Option,lA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Bl=(Gt=>(Gt[Gt.SET_PATH=0]="SET_PATH",Gt[Gt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Gt))(Bl||{});function Ir(Gt,Ot){switch(Ot.type){case 0:return nA(os({},Gt),{selectedPath:Ot.payload});case 1:return nA(os({},Gt),{passedContent:Ot.payload});default:throw new Error}}var qA=({path:Gt,game_id:Ot,onPathChange:cn,autoHeight:dr,diff_code_count:Cr,data:ya,game_codes_cn:la})=>{var Nr,Rr,za,Yo;const Ko=Gt.split("\uFF1B").filter(_r=>!!_r),[Wa,Io]=(0,Ce.useReducer)(Ir,{selectedPath:Ko[0],passedContent:{language:"python",content:""}}),{selectedPath:Ln,passedContent:vn}=Wa,Dn=(0,je.useIntl)();function Un(_r){Io({type:0,payload:_r})}const lr={\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 Ua.createElement(Ua.Fragment,null,Ua.createElement("h2",null," ",Ua.createElement("span",null,la,Ua.createElement(ie.Z,{title:Ua.createElement("div",null,Ua.createElement("div",null,Dn.formatMessage({id:"classroomClassroomExperiments.codeDisplayRules",defaultMessage:"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"})),Ua.createElement("div",null,Dn.formatMessage({id:"classroomClassroomExperiments.displayHighestScoringCodeBeforeDeadline",defaultMessage:"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C"})),Ua.createElement("div",null,Dn.formatMessage({id:"classroomClassroomExperiments.displayLatestIfMultipleHighestScores",defaultMessage:"2.\u82E5\u6709\u591A\u4E2A\u6700\u9AD8\u5206\u7248\u672C\uFF0C\u5C55\u793A\u63D0\u4EA4\u65F6\u95F4\u6700\u665A\u7684\u7248\u672C\u3002"})),Ua.createElement("div",null,Dn.formatMessage({id:"classroomClassroomExperiments.noDisplayForSubmissionsAfterDeadline",defaultMessage:"3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"})))},Ua.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Cr&&Ua.createElement("span",{style:{marginLeft:"50px"}},Dn.formatMessage({id:"classroomClassroomExperiments.codeModifiedLines",defaultMessage:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570"})," ",Cr),Ua.createElement("span",null,Ua.createElement(ne.default,{style:{width:200},value:Ln,onChange:Un}," ",Ko.map(_r=>Ua.createElement(Ui,{key:_r,value:_r},_r))," "))," "),(Ln==null?void 0:Ln.split(".")[1])==="md"&&Ua.createElement(ct.Z,{height:300,autoHeight:dr,defaultValue:((Rr=(Nr=ya==null?void 0:ya.filter(_r=>_r.path===Ln))==null?void 0:Nr[0])==null?void 0:Rr.content)||"",className:kr.md}),(Ln==null?void 0:Ln.split(".")[1])!=="md"&&Ua.createElement(ut.ZP,{height:300,language:vn.language,value:((Yo=(za=ya==null?void 0:ya.filter(_r=>_r.path===Ln))==null?void 0:za[0])==null?void 0:Yo.content)||"",autoHeight:dr,theme:"default",isCopy:!0,options:lA}))},Eu=ve(86858),wl=Object.defineProperty,yl=Object.defineProperties,au=Object.getOwnPropertyDescriptors,Gr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable,Ja=(Gt,Ot,cn)=>Ot in Gt?wl(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,$i=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))oo.call(Ot,cn)&&Ja(Gt,cn,Ot[cn]);if(Gr)for(var cn of Gr(Ot))io.call(Ot,cn)&&Ja(Gt,cn,Ot[cn]);return Gt},us=(Gt,Ot)=>yl(Gt,au(Ot)),zs=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const gA=({shixunHomeworks:Gt,autoHeight:Ot,classroomList:cn,dispatch:dr})=>{var Cr,ya,la,Nr,Rr,za,Yo,Ko;const Wa=(0,je.useIntl)(),{shixunWorkReport:Io}=Gt,{stage_list:Ln,work_id:vn,ai_code_evaluation_promote:Dn}=Io,[Un,lr]=(0,Ce.useState)(!1),[_r,$n]=(0,Ce.useState)(!0),[$r,ea]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),va=(0,Ce.useRef)(null),[qa,Ar]=(0,Ce.useState)(!1),[fo,Mo]=(0,Ce.useState)(""),Xo=(0,Ce.useRef)(null),Ra=(Ca,ii)=>{var pi;const{clientWidth:cs,clientHeight:Fo}=window.document.documentElement,yA=(pi=va.current)==null?void 0:pi.getBoundingClientRect();yA&&ea({left:-yA.left+ii.x,right:cs-(yA.right-ii.x),top:-yA.top+ii.y,bottom:Fo-(yA.bottom-ii.y)})},it=(0,je.useParams)(),Ro=(0,Ge.GJ)(),mi={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(it)},[]);const Qr=[{title:Wa.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"position",width:"100px"},{title:Wa.formatMessage({id:"classroomClassroomExperiments.detailedInformation",defaultMessage:"\u8BE6\u7EC6\u4FE1\u606F"}),dataIndex:"output_detail",render:(Ca,ii,pi)=>Ce.createElement("div",null,Ca,ii.is_work_end_evaluate&&Ce.createElement(Ye.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:Wa.formatMessage({id:"classroomClassroomExperiments.evaluationTime",defaultMessage:"\u8BC4\u6D4B\u65F6\u95F4"}),width:"170px",dataIndex:"created_at",render:Ca=>ze()(Ca).format("YYYY-MM-DD HH:mm")},{title:Wa.formatMessage({id:"classrooms.action",defaultMessage:"\u64CD\u4F5C"}),width:"80px",dataIndex:"query_index",render:(Ca,ii)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>zs(void 0,null,function*(){var pi,cs;const Fo=yield(0,Le.Lk)(ii.game_identifier,{path:(cs=(pi=ii.path)==null?void 0:pi.replace(/\;/g,";"))==null?void 0:cs.split(";")[0],query_index:ii.query_index,homework_common_id:it.categoryId});(Fo==null?void 0:Fo.status)===0&&(Ar(Fo),lr(!0))})},ii.query_index?Wa.formatMessage({id:"classroomClassroomExperiments.viewCode",defaultMessage:"\u67E5\u770B\u4EE3\u7801"}):"")}],Qo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Ca,ii)=>{var pi;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ne.Z.IMG_SERVER+"/images/"+((pi=ii==null?void 0:ii.user)==null?void 0:pi.image_url)}),Ca)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Ca=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Ca,Wa.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Ca=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Ca,Wa.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Ca=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Ca?ze()(Ca).format("YYYY-MM-DD HH:mm"):"--")}];function zi(Ca,ii){return zs(this,null,function*(){const{challenge_id:pi}=Ln[Ca],cs=yield dr({type:"shixunHomeworks/changeScore",payload:{categoryId:it.homeworkId,type:"report",score:ii,challenge_id:pi}});yield dr({type:"shixunHomeworks/getShixunWorkReport",payload:$i({},it)}),cs.status===0&&ce.ZP.success(Wa.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}function Ms(Ca,ii){return(0,we.U2)(`student_works/${vn}/rep_passed_content.json`,{path:ii,game_id:Ca})}const[Yi,Xi]=(0,Ce.useState)((Cr=Io==null?void 0:Io.shixun_detail)==null?void 0:Cr.map(Ca=>us($i({},Ca),{commentEdit:!1}))),Kl=Ca=>Ca.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[UA,Qi]=(0,Ce.useState)(!1),lu=(Ca,ii)=>zs(void 0,null,function*(){var pi,cs;Qi(!0),Xo.current=new Eu.Z(Ne.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:Dn,shixun_id:Io==null?void 0:Io.myshixun_identifier,game_id:Ca==null?void 0:Ca.id,source:"shixun",is_chat:!1,type:9,description:Ca==null?void 0:Ca.challenge_description,query:(cs=(pi=Ca==null?void 0:Ca.game_codes)==null?void 0:pi[0])==null?void 0:cs.content,homework_common_id:it.categoryId}),yield new Promise((Fo,yA)=>{Xo.current.on("data",el=>{const QA=[...Yi];QA[ii].comment=Kl(el==null?void 0:el.full),Xi(QA)}),Xo.current.on("done",()=>zs(void 0,null,function*(){var el;Qi(!1);const QA=[...Yi],Ri=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Ca==null?void 0:Ca.challenge_id,comment:QA[ii].comment}});if((Ri==null?void 0:Ri.status)==0){ce.ZP.success("\u8BC4\u4EF7\u6210\u529F");const uA=[...Yi];uA[ii].comment_updated_at=(el=Ri==null?void 0:Ri.data)==null?void 0:el.comment_updated_at,Xi(uA)}})),Xo.current.startStream()})});return Ce.createElement(Ce.Fragment,null,Yi==null?void 0:Yi.map(function(Ca,ii){var pi,cs;return Ce.createElement("div",{key:ii},Ce.createElement("aside",{className:"pl30 pr30",key:ii},Ce.createElement("div",{className:`${pa.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},Wa.formatMessage({id:"classrooms.times",defaultMessage:"\u7B2C"}),ii+1,"\u5173 ",Ce.createElement(je.Link,{className:"c-black",target:"_blank",to:`/tasks/${it.coursesId}/${it.categoryId}/${Ca.game_identifier}`},Ca.subject))),Ro?Ce.createElement("span",null,Wa.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),"\uFF1A",Ce.createElement(li,{className:"game-score",max:Ln[ii].game_score_full,defaultValue:Ln[ii].game_score,onBlur:Fo=>{var yA;if((0,Ge.Rm)()&&!((yA=cn.AssistantObject.practice)!=null&&yA.can_appraise)){ce.ZP.warning(Wa.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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}zi(ii,Fo)}})):null),Ce.createElement("div",{className:"font16 mt10"},Ca.st===0&&(Ca.path?typeof(Ca==null?void 0:Ca.game_codes_cn)=="string"?Ce.createElement("aside",{className:pa.shixunWrp},Ce.createElement(qA,{game_codes_cn:Ca==null?void 0:Ca.game_codes_cn,autoHeight:Ot,path:Ca.path,game_id:Ca.id,data:Ca.game_codes,diff_code_count:Ca.diff_code_count,onPathChange:Ms})):Ce.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"),Ca.st===1&&(Ca.complete_status===0?Wa.formatMessage({id:"classrooms.levelNotPassed",defaultMessage:"\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")),Ce.createElement("aside",{className:"mt10 font16"},(pi=Ca.outputs)!=null&&pi.length?Ce.createElement(te.default,{columns:Qr,pagination:{hideOnSinglePage:!0},dataSource:Ca.outputs.map(Fo=>$i($i({},Ca),Fo))}):Wa.formatMessage({id:"classroomClassroomExperiments.noEvaluationRecordsThisLevel",defaultMessage:"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"})),Ce.createElement("aside",{className:"mt10 font16"},((cs=Ca==null?void 0:Ca.adjust_review_score_list)==null?void 0:cs.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:Qo,pagination:{hideOnSinglePage:!0},dataSource:Ca.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(De.default,{open:Un,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{Ar({}),lr(!1)},onCancel:()=>{Ar({}),lr(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{_r&&$n(!1)},onMouseOut:()=>{$n(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Ca=>Ce.createElement(ge(),{disabled:_r,bounds:$r,nodeRef:va,onStart:(ii,pi)=>Ra(ii,pi)},Ce.createElement("div",{ref:va},Ca))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((ya=qa==null?void 0:qa.data)==null?void 0:ya.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((la=qa==null?void 0:qa.data)==null?void 0:la.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Nr=qa==null?void 0:qa.data)==null?void 0:Nr.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},Wa.formatMessage({id:"classroomClassroomExperiments.evaluationTime",defaultMessage:"\u8BC4\u6D4B\u65F6\u95F4"})),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((Rr=qa==null?void 0:qa.data)==null?void 0:Rr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(za=qa==null?void 0:qa.data)==null?void 0:za.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},Wa.formatMessage({id:"shixuns.memory",defaultMessage:"\u5185\u5B58"})),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Yo=qa==null?void 0:qa.data)==null?void 0:Yo.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Ko=qa==null?void 0:qa.data)==null?void 0:Ko.test_set_passed_rate)*100,"%")))),Ce.createElement(ut.ZP,{height:500,autoHeight:Ot,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((qa==null?void 0:qa.content)||""))),options:mi})))};var LA=(0,je.connect)(({shixunHomeworks:Gt,loading:Ot,globalSetting:cn,classroomList:dr})=>({shixunHomeworks:Gt,globalSetting:cn,loading:Ot.effects,classroomList:dr}))(gA),oi={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Va=ve(59301),wc=Object.defineProperty,Nl=Object.getOwnPropertySymbols,Ru=Object.prototype.hasOwnProperty,Sl=Object.prototype.propertyIsEnumerable,Cu=(Gt,Ot,cn)=>Ot in Gt?wc(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,bu=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))Ru.call(Ot,cn)&&Cu(Gt,cn,Ot[cn]);if(Nl)for(var cn of Nl(Ot))Sl.call(Ot,cn)&&Cu(Gt,cn,Ot[cn]);return Gt},IA=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const Pu=({shixunHomeworks:Gt,dispatch:Ot,classroomList:cn})=>{const{shixunWorkReport:dr}=Gt,Cr=(0,je.useIntl)(),ya=(0,je.useParams)(),[la,Nr]=(0,Ce.useState)(!1),[Rr]=kn.default.useForm(),[za,Yo]=De.default.useModal(),[Ko,Wa]=(0,Ce.useState)(!1),[Io,Ln]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var Un,lr,_r,$n;Gt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Rr.setFieldsValue({comment:(lr=(Un=Gt.actionTabs.selectArrs)==null?void 0:Un.data)==null?void 0:lr.work_comment,hidden_comment:($n=(_r=Gt.actionTabs.selectArrs)==null?void 0:_r.data)==null?void 0:$n.work_comment_hidden})},[Gt.actionTabs.key]);const vn=()=>IA(void 0,null,function*(){const Un=Rr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${ya.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Un.hidden_comment,comment:Un.comment}})).status===0&&(ce.ZP.success("\u8BC4\u9605\u6210\u529F"),Rr.resetFields(),Ot({type:"shixunHomeworks/setActionTabs",payload:{}}),Ot({type:"shixunHomeworks/getShixunWorkReport",payload:bu({},ya)}))}),Dn=[{title:"\u5173\u5361",dataIndex:"name",render:(Un,lr,_r)=>_r+1},{title:Cr.formatMessage({id:"classrooms.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",render:(Un,lr,_r)=>Va.createElement("div",null,Un,lr.complete_status===4&&Va.createElement(Ye.vA,{status:lr.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:Cr.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:Cr.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"evaluate_count",align:"center"},{title:Cr.formatMessage({id:"classroomClassroomExperiments.practicalTimeSpent",defaultMessage:"\u5B9E\u8BAD\u8017\u65F6"}),dataIndex:"time_consuming"},{title:Cr.formatMessage({id:"classroomClassroomExperiments.whetherViewedAnswers",defaultMessage:"\u662F\u5426\u67E5\u770B\u7B54\u6848"}),dataIndex:"view_answer",align:"center",render:Un=>Un?"\u662F":"\u5426"},{title:Cr.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"}),dataIndex:"game_score",align:"center",render:(Un,lr)=>Va.createElement("div",null,Va.createElement("span",{style:{color:parseFloat(lr.game_score_full)!==parseFloat(Un)?"#E30000":"#53C41B"}},Un),"/",lr.game_score_full)},{title:Cr.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),dataIndex:"game_score",align:"center",fixed:"right",render:(Un,lr)=>(0,Ge.GJ)()?Va.createElement(li,{max:lr.game_score_full,defaultValue:parseFloat(Un),onBlur:_r=>IA(void 0,null,function*(){var $n,$r;if((0,Ge.Rm)()&&!(($n=cn.AssistantObject.practice)!=null&&$n.can_appraise)){ce.ZP.warning(Cr.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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 ea=yield Ot({type:"shixunHomeworks/changeScore",payload:{categoryId:ya.homeworkId,type:"report",score:_r,challenge_id:lr.challenge_id}});($r=Gt==null?void 0:Gt.actionTabs)==null||$r.fn(),yield Ot({type:"shixunHomeworks/getShixunWorkReport",payload:bu({},ya)}),ea.status===0&&ce.ZP.success(Cr.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):Un}];return Va.createElement(Va.Fragment,null,Yo,Va.createElement(De.default,{centered:!0,width:1080,title:Cr.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"}),open:Gt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:Cr.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Cr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>IA(void 0,null,function*(){var Un;if((0,Ge.Rm)()&&!((Un=cn.AssistantObject.practice)!=null&&Un.can_appraise)){ce.ZP.warning(Cr.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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 lr=Rr.getFieldsValue();JSON.stringify(lr)==="{}"||lr.hidden_comment===""&&lr.comment===""?Nr(!0):vn()}),onCancel:()=>{Ot({type:"shixunHomeworks/setActionTabs",payload:{}})}},Va.createElement(ee.Z,{justify:"space-between",className:oi.info},Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},Cr.formatMessage({id:"classrooms.name",defaultMessage:"\u59D3\u540D"})),Va.createElement("span",{className:oi.blackContent},dr==null?void 0:dr.username)),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},Cr.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"})),Va.createElement("span",{className:oi.blackContent},(dr==null?void 0:dr.student_id)||"--")),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},"\u73ED\u7EA7"),Va.createElement("span",{className:oi.blackContent},(dr==null?void 0:dr.group_name)||"--")),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},Cr.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"})),Va.createElement("span",{className:oi.orangeContent},(dr==null?void 0:dr.challenge_score)||"--")),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},"\u6548\u7387\u5206"),Va.createElement("span",{className:oi.orangeContent},(dr==null?void 0:dr.eff_score)||"--")),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},Cr.formatMessage({id:"classroomClassroomExperiments.resubmissionDeduction",defaultMessage:"\u8865\u4EA4\u6263\u5206"})),Va.createElement("span",{className:oi.orangeContent},(dr==null?void 0:dr.late_penalty)||"--")),Va.createElement(b.Z,null,Va.createElement("span",{className:`${oi.label} ${oi.greyText}`},Cr.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"})),Va.createElement("span",{className:oi.orangeContent},(dr==null?void 0:dr.work_score)||"--"))),Va.createElement(kn.default,{form:Rr,onChange:()=>{la&&Nr(!1)}},Va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Va.createElement(b.Z,null,Va.createElement("div",{className:`${oi.inputLabel} ${oi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Va.createElement(b.Z,null,Va.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Ko,onCancel:()=>{Wa(!1)}},onDataSelect:(Un,lr)=>IA(void 0,[Un,lr],function*(_r,{node:$n}){const $r=()=>{Rr.setFieldsValue({comment:$n==null?void 0:$n.value}),Wa(!1)};if(Rr.getFieldValue("comment")){za.confirm({icon:null,title:Cr.formatMessage({id:"classrooms.prompt",defaultMessage:"\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:$r});return}$r()})},Va.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Un=>{Wa(!0)}},Cr.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),Va.createElement(kn.default.Item,{name:"comment"},Va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Va.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Va.createElement(b.Z,null,Va.createElement("div",{className:`${oi.inputLabel} ${oi.greyText}`},Cr.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"}))),Va.createElement(b.Z,null,Va.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Io,onCancel:()=>{Ln(!1)}},onDataSelect:(Un,lr)=>IA(void 0,[Un,lr],function*(_r,{node:$n}){const $r=()=>{Rr.setFieldsValue({hidden_comment:$n==null?void 0:$n.value}),Ln(!1)};if(Rr.getFieldValue("hidden_comment")){za.confirm({icon:null,title:Cr.formatMessage({id:"classrooms.prompt",defaultMessage:"\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:$r});return}$r()})},Va.createElement(be.ZP,{style:{padding:0,height:"auto"},icon:Va.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Un=>{Ln(!0)}},Cr.formatMessage({id:"classroomGraphicGroupHomework.commonComments",defaultMessage:"\u5E38\u7528\u8BC4\u8BED"}))))),Va.createElement(kn.default.Item,{name:"hidden_comment"},Va.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),la&&Va.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Va.createElement("div",{className:oi.tableTitle},"\u5173\u5361\u6210\u7EE9"),Va.createElement(te.default,{className:oi.scoreTable,dataSource:dr.stage_list,rowKey:"challenge_id",pagination:!1,columns:Dn,scroll:{x:"max-content"}})))};var Al=(0,je.connect)(({shixunHomeworks:Gt,classroomList:Ot})=>({shixunHomeworks:Gt,classroomList:Ot}))(Pu),xu=ve(44091),NA={wrap:"wrap___LZOi9",line:"line___oju0L"},Fu=({detailData:Gt})=>{var Ot;return Ce.createElement("div",{className:NA.wrap},Ce.createElement(cr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,cr.Uf)(Gt),(Gt==null?void 0:Gt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ce.createElement(cr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,cr.Uf)(Gt)}),!!((Ot=Gt==null?void 0:Gt.photos)!=null&&Ot.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:NA.line}),Ce.createElement(cr._s,{dataSource:Gt==null?void 0:Gt.photos,right:21,col:4,wrapWidth:1140}))))},dn=ve(59301),KA=Object.defineProperty,iu=Object.defineProperties,DA=Object.getOwnPropertyDescriptors,$A=Object.getOwnPropertySymbols,su=Object.prototype.hasOwnProperty,ju=Object.prototype.propertyIsEnumerable,Dl=(Gt,Ot,cn)=>Ot in Gt?KA(Gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Gt[Ot]=cn,ks=(Gt,Ot)=>{for(var cn in Ot||(Ot={}))su.call(Ot,cn)&&Dl(Gt,cn,Ot[cn]);if($A)for(var cn of $A(Ot))ju.call(Ot,cn)&&Dl(Gt,cn,Ot[cn]);return Gt},fA=(Gt,Ot)=>iu(Gt,DA(Ot)),ec=(Gt,Ot)=>{var cn={};for(var dr in Gt)su.call(Gt,dr)&&Ot.indexOf(dr)<0&&(cn[dr]=Gt[dr]);if(Gt!=null&&$A)for(var dr of $A(Gt))Ot.indexOf(dr)<0&&ju.call(Gt,dr)&&(cn[dr]=Gt[dr]);return cn},Vi=(Gt,Ot,cn)=>new Promise((dr,Cr)=>{var ya=Rr=>{try{Nr(cn.next(Rr))}catch(za){Cr(za)}},la=Rr=>{try{Nr(cn.throw(Rr))}catch(za){Cr(za)}},Nr=Rr=>Rr.done?dr(Rr.value):Promise.resolve(Rr.value).then(ya,la);Nr((cn=cn.apply(Gt,Ot)).next())});const Au=Gt=>{var Ot=Gt,{shixunHomeworks:cn,classroomList:dr,globalSetting:Cr,loading:ya,user:la,dispatch:Nr}=Ot,Rr=ec(Ot,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),za,Yo,Ko;const[Wa,Io]=(0,Ce.useState)(ks({},(0,je.useParams)())),Ln=(0,je.useParams)(),[vn,Dn]=(0,Ce.useState)({page:1,page_size:10}),Un=(0,je.useLocation)(),[]=(0,Ce.useState)([]),[lr,_r]=(0,Ce.useState)(),$n=(0,Ce.useRef)(),$r=(0,Ce.useRef)(),[ea,va]=(0,Ce.useState)(!1),[qa,Ar]=(0,Ce.useState)(!0),[fo,Mo]=(0,Ce.useState)(!1),[Xo,Ra]=(0,Ce.useState)(!1),{shixunWorkReport:it}=cn,[Ro,mi]=(0,Ce.useState)(),[Qr,Qo]=(0,Ce.useState)([]),[zi,Ms]=(0,Ce.useState)(),[Yi,Xi]=(0,Ce.useState)("all"),Kl=(0,Ge.GJ)(),[UA,Qi]=(0,Ce.useState)(new(Be())),[lu,Ca]=(0,Ce.useState)(0),[ii,pi]=(0,Ce.useState)(!1),[cs,Fo]=(0,Ce.useState)(!1),[yA,el]=(0,Ce.useState)(!1),[QA,Ri]=(0,Ce.useState)(""),[uA,zl]=(0,Ce.useState)(!1),Ga=(0,je.useIntl)(),[Ts,El]=(0,Ce.useState)(!0),[cA,hs]=(0,Ce.useState)(0),Ss=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Lu=(0,Ce.useRef)(),Gc=()=>Vi(void 0,null,function*(){(la.userInfo.is_teacher||la.userInfo.admin)&&(zl(!0),El(!1))});(0,Ce.useEffect)(()=>{var br;(0,Ge.Rm)()&&dr.AssistantObject.practice&&!((br=dr.AssistantObject.practice)!=null&&br.can_view)&&je.history.replace("/403")},[(za=dr.AssistantObject.practice)==null?void 0:za.can_view]),(0,Ce.useEffect)(()=>{Gc(),console.log("\u6253\u5370\u7684------",it),Lu.current=it==null?void 0:it.next_student_work_id,Ri(it.repeat_minus_score)},[it,la]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),hs(it.work_score)},[it.work_score,QA]),(0,Ce.useEffect)(()=>(Nr({type:"globalSetting/footerToggle",payload:!1}),()=>{Nr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var br;if(it){let ho=[];(br=it==null?void 0:it.target_test_sets)==null||br.map((si,Rs)=>{var rA;(rA=si==null?void 0:si.targets)==null||rA.map((hA,Zl)=>{var Nu;hA.name=si==null?void 0:si.name,hA.total_target_score=si==null?void 0:si.total_target_score,hA.actual_target_score=si==null?void 0:si.actual_target_score,hA.rowSpan=Zl===0?(Nu=si==null?void 0:si.targets)==null?void 0:Nu.length:0,hA.order=Rs+1,ho.push(hA)})}),mi(ho),(0,Ge.Rm)()&&Nr({type:"classroomList/getAssistantPermissions",payload:{course_id:Wa.coursesId}})}},[it]),(0,Ce.useEffect)(()=>{cn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!qa&&setTimeout(()=>{cu("all")},800)},[it==null?void 0:it.homework_common_id,qa]),(0,Ce.useEffect)(()=>{Io(ks({},Ln))},[Un.pathname]);const SA=()=>{document.body.scrollIntoView()},Gl=br=>{vn.page=br,Dn(ks({},vn)),Ls(vn,Yi)},Ls=(br,ho)=>Vi(void 0,null,function*(){Mo(!0);const si=yield(0,we.ZP)(`/api/student_works/${Wa==null?void 0:Wa.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:fA(ks({},br),{challenge_id:ho=="all"?null:ho})});(si==null?void 0:si.status)===0&&(Qo(si==null?void 0:si.list),Ms(si==null?void 0:si.count)),Mo(!1)});function uu(){return Vi(this,null,function*(){Ss.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const bs=()=>{document.querySelectorAll("canvas").forEach(br=>{(!br.clientWidth||!br.clientHeight)&&br.remove()})},nc=()=>{$n.current.offsetHeight>62e3?Ra(!1):Ra(!0)},Wl=br=>Vi(void 0,null,function*(){const ho=yield(0,hr.t1)({homeworkId:br||Wa.homeworkId});_r(ho==null?void 0:ho.data)}),cu=br=>Vi(void 0,null,function*(){var ho,si,Rs,rA;let hA=0,Zl;Zl=De.default.info({width:460,title:dn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",dn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:dn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",dn.createElement("span",{className:"c-blue"},hA+1),"/",br!=="all"?1:it==null?void 0:it.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:pa.modal,onOk:()=>{}});const Nu={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Vl=UA.folder(it==null?void 0:it.shixun_name);function ja(aA){return Vi(this,null,function*(){yield Wl(aA||Lu.current);const zo=yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ks({homeworkId:aA||Lu.current},Ss.current||{})});Lu.current=zo==null?void 0:zo.next_student_work_id,SA(),hA++,setTimeout(()=>Vi(this,null,function*(){var OA,ms,kA,js;bs();const Cl=Vl.folder(`${zo==null?void 0:zo.group_name}`).folder(`${zo!=null&&zo.student_id&&(zo==null?void 0:zo.student_id)!="--"?zo.student_id+"+":""}${zo==null?void 0:zo.username}`),Xs=document.querySelector("#export-all").children;let Gs=zr()();for(let mA=0;mAVi(this,null,function*(){mA0&&((kA=(ms=zo==null?void 0:zo.shixun_detail)==null?void 0:ms.filter(mA=>{var ji;return((ji=mA==null?void 0:mA.game_codes)==null?void 0:ji.length)>0}))==null?void 0:kA.length)>0){const mA=Cl.folder("\u4EE3\u7801\u6587\u4EF6");(js=zo==null?void 0:zo.shixun_detail)==null||js.map((ji,Du)=>{var Xl,ll;if(((Xl=ji==null?void 0:ji.game_codes)==null?void 0:Xl.length)>0){const Pg=mA.folder(`\u7B2C${Du+1}\u5173-${ji.subject}-${ji.id}`);(ll=ji==null?void 0:ji.game_codes)==null||ll.map(Uu=>{Pg.file(`${Uu.filename}.txt`,Uu==null?void 0:Uu.content)})}})}Zl.update({content:dn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",dn.createElement("span",{className:"c-blue"},hA),"/",zo==null?void 0:zo.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),hA==(zo==null?void 0:zo.students_count)?(Zl.destroy(),yc()):ja()}),2200)})}if(br!=="all"||(it==null?void 0:it.students_count)<2){bs(),SA();const aA=$r.current.children;let zo=zr()();const ms=Vl.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let kA=0;kAVi(void 0,null,function*(){kA0&&((Rs=(si=it==null?void 0:it.shixun_detail)==null?void 0:si.filter(kA=>{var js;return((js=kA==null?void 0:kA.game_codes)==null?void 0:js.length)>0}))==null?void 0:Rs.length)>0){const kA=ms.folder("\u4EE3\u7801\u6587\u4EF6");(rA=it==null?void 0:it.shixun_detail)==null||rA.map((js,Yl)=>{var Cl,Xs;if(((Cl=js==null?void 0:js.game_codes)==null?void 0:Cl.length)>0){const Gs=kA.folder(`\u7B2C${Yl+1}\u5173-${js.subject}-${js.id}`);(Xs=js==null?void 0:js.game_codes)==null||Xs.map(mA=>{Gs.file(`${mA.filename}.txt`,mA==null?void 0:mA.content)})}})}Zl.destroy(),yc();return}else ja(it==null?void 0:it.first_student_work_id)}),yc=()=>{UA.generateAsync({type:"blob"}).then(function(br){console.log(it,"shixunWorkReport");const ho=document.createElement("a");ho.href=window.URL.createObjectURL(br),ho.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(ho);const si=document.createEvent("MouseEvents");si.initEvent("click",!1,!1),ho.dispatchEvent(si),document.body.removeChild(ho),Qi(new(Be()))}),Ra(!1)};(0,Ce.useEffect)(()=>{Iu()},[Wa.homeworkId]);const Iu=()=>Vi(void 0,null,function*(){Ar(!0),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ks(ks({},Wa),Ss.current||{})}),Wl(),(0,Ge.GJ)()&&uu(),Ar(!1)}),Wc=[{title:Ga.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),dataIndex:"name",render:(br,ho,si)=>si+1},{title:Ga.formatMessage({id:"classroomClassroomExperiments.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",render:(br,ho,si)=>dn.createElement("div",null,br,ho.complete_status===4&&dn.createElement(Ye.vA,{status:ho.complete_status}))},{title:Ga.formatMessage({id:"classroomClassroomExperiments.startTime",defaultMessage:"\u5F00\u542F\u65F6\u95F4"}),dataIndex:"open_time"},{title:Ga.formatMessage({id:"classroomClassroomExperiments.codeModifiedLines",defaultMessage:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570"}),dataIndex:"diff_code_count",render:(br,ho,si)=>br||"- -"},{title:Ga.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"}),dataIndex:"evaluate_count"},{title:Ga.formatMessage({id:"classrooms.completionTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:Ga.formatMessage({id:"classroomClassroomExperiments.practicalTimeSpent",defaultMessage:"\u5B9E\u8BAD\u8017\u65F6"}),dataIndex:"time_consuming"},{title:Ga.formatMessage({id:"classroomClassroomExperiments.whetherViewedAnswers",defaultMessage:"\u662F\u5426\u67E5\u770B\u7B54\u6848"}),dataIndex:"view_answer",render:br=>br?"\u662F":"\u5426"},{title:Ga.formatMessage({id:"classroomClassroomExperiments.experiencePoints",defaultMessage:"\u7ECF\u9A8C\u503C"}),dataIndex:"experience",render:(br,ho)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(ho.myself_experience)!==parseFloat(br)?"red":"green"}},ho.myself_experience),"/",br)},{title:Ga.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"}),dataIndex:"game_score",render:(br,ho)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(ho.game_score_full)!==parseFloat(br)?"red":"green"}},br),"/",ho.game_score_full)},{title:Ga.formatMessage({id:"classroomClassroomExperiments.adjustScore",defaultMessage:"\u8C03\u5206"}),dataIndex:"game_score",render:(br,ho)=>Kl?dn.createElement(li,{max:ho.game_score_full,defaultValue:parseFloat(br),onBlur:si=>Vi(void 0,null,function*(){var Rs;if((0,Ge.Rm)()&&!((Rs=dr.AssistantObject.practice)!=null&&Rs.can_appraise)){ce.ZP.warning(Ga.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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=yield Nr({type:"shixunHomeworks/changeScore",payload:{categoryId:Wa.homeworkId,type:"report",score:si,challenge_id:ho.challenge_id}});Ls({page:1,page_size:10},"all"),yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ks(ks({},Wa),Ss.current||{})}),rA.status===0&&ce.ZP.success(Ga.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):br}];let zA=[{title:Ga.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),dataIndex:"order",key:"order",render:(br,ho,si)=>({children:br,props:{rowSpan:ho.rowSpan}})},{title:Ga.formatMessage({id:"classroomClassroomExperiments.taskName",defaultMessage:"\u4EFB\u52A1\u540D\u79F0"}),dataIndex:"name",key:"name",render:(br,ho,si)=>({children:br,props:{rowSpan:ho.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:(br,ho,si)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(ho.actual_test_score)!==parseFloat(br)?"red":"green"}},ho.actual_test_score),"/",br)},{title:"\u6307\u6807\u603B\u5206",render:(br,ho,si)=>({children:dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(ho.actual_target_score)!==parseFloat(br)?"red":"green"}},ho.actual_target_score),"/",br),props:{rowSpan:ho.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Sc=[{title:Ga.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\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:br=>dn.createElement("span",null,br?ze()(br).format("YYYY-MM-DD HH:mm"):"--")}],rc=br=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{br==="next"?je.history.push(`/classrooms/${Wa.coursesId}/shixun_homework/${Wa.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):je.history.push(`/classrooms/${Wa.coursesId}/shixun_homework/${Wa.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},Kr=br=>{Ri(""),br.target.value&&(console.log("\u8FDB\u6765",it),br.target.value=br.target.value>it.repeat_setting_score?it.repeat_setting_score:br.target.value,Ri(br.target.value))},lo=()=>Vi(void 0,null,function*(){const br=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:QA}});yield Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ks(ks({},Wa),Ss.current||{})}),br.status===0&&ce.ZP.info(Ga.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))});return dn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},dn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},dn.createElement(Ue.Z,{loading:ya["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},dn.createElement("div",{className:"edu-container"},it.course_id&&dn.createElement("section",{className:"animated fadeIn"},dn.createElement("aside",{className:""},it.category&&dn.createElement(Fe.Z,{separator:">"},dn.createElement(Fe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework`},it.course_name)),dn.createElement(Fe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`},it.category.category_name)),dn.createElement(Fe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},Ga.formatMessage({id:"classroomClassroomExperiments.homeworkDetails",defaultMessage:"\u4F5C\u4E1A\u8BE6\u60C5"}))),dn.createElement(Fe.Z.Item,null,it.username))),dn.createElement("aside",{className:[pa.title1,"mt20"].join(" ")},dn.createElement(ee.Z,{align:"middle"},dn.createElement(b.Z,{flex:1},dn.createElement(je.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},dn.createElement(ma.Z,{className:"font16 c-black"})),dn.createElement("strong",{className:"font20 ml5"},it==null?void 0:it.homework_name),dn.createElement(Ye.VV,{temporary:!0,status:it.homework_status})),dn.createElement(b.Z,{className:pa.title1_right},it.view_tpi&&dn.createElement(be.ZP,{onClick:()=>{var br,ho;(0,Ye.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(ho=(br=it==null?void 0:it.shixun_detail)==null?void 0:br[0])==null?void 0:ho.game_identifier}`)}},dn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),Ga.formatMessage({id:"classroomClassroomExperiments.viewStudentPractical",defaultMessage:"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"})),(0,Ge.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&&dn.createElement(be.ZP,{className:"ml10",onClick:()=>Vi(void 0,null,function*(){yield Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:Ln.categoryId}})})},dn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),Ga.formatMessage({id:"classroomMemberManagementTAPermissions.returnForRedo2",defaultMessage:"\u6253\u56DE\u91CD\u505A"})),dn.createElement(be.ZP,{className:"ml10",onClick:()=>{var br;if((0,Ge.Rm)()&&!((br=dr.AssistantObject.practice)!=null&&br.can_download)){ce.ZP.warning(Ga.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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}cu("")},loading:ea},dn.createElement("span",{className:"iconfont icon-daochu mr5"}),Ga.formatMessage({id:"classroomClassroomExperiments.exportPracticalReport",defaultMessage:"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"})),(0,Ge.GJ)()&&(it==null?void 0:it.students_count)>1&&dn.createElement(be.ZP,{className:"ml10",onClick:()=>{var br;if((0,Ge.Rm)()&&!((br=dr.AssistantObject.practice)!=null&&br.can_download)){ce.ZP.warning(Ga.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\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}De.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:dn.createElement(ie.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:dn.createElement(ie.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:()=>{cu("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Yr.jj)({categoryId:Wa.categoryId,coursesId:Wa.coursesId},"shixun_report")}}})}},dn.createElement("span",{className:"iconfont icon-daochu mr5"}),Ga.formatMessage({id:"classroomClassroomExperiments.exportAllStudentsPracticalReports",defaultMessage:"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"})))))),dn.createElement("aside",{className:"mt30 relative"})),dn.createElement("aside",{className:"edu-container bg-white",ref:$n},dn.createElement("div",{id:"export-all",ref:$r},dn.createElement("div",{id:"export-all-1"},dn.createElement("div",{className:pa.title},dn.createElement("h1",null,Ga.formatMessage({id:"classroomClassroomExperiments.overallEvaluation",defaultMessage:"\u603B\u4F53\u8BC4\u4EF7"})),dn.createElement("div",null,(0,Ge.GJ)()&&dn.createElement(be.ZP,{className:"mr20",type:"primary",onClick:()=>{Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:ks({},it)},fn:()=>Ls({page:1,page_size:10},"all")}})}},dn.createElement(fe.Z,null),it.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":Ga.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))),dn.createElement(a.Z,{style:{marginTop:0}}),dn.createElement(ee.Z,{className:"pl30 pr30"},dn.createElement(b.Z,null,dn.createElement("img",{className:pa.userPic,src:`${Ne.Z.IMG_SERVER}/images/${it.image_url}`,alt:it.username})),dn.createElement(b.Z,null,dn.createElement("span",{className:"font16 ml40"},it.username),dn.createElement(Ye.vA,{status:it.compelete_status}),dn.createElement("ul",{className:pa.userInfo},dn.createElement("li",null,Ga.formatMessage({id:"classrooms.studentNumber",defaultMessage:"\u5B66\u53F7"}),"\uFF1A",it.student_id||"--"),dn.createElement("li",null,Ga.formatMessage({id:"classrooms.classDivision",defaultMessage:"\u5206\u73ED"}),"\uFF1A",it.group_name||"--"),dn.createElement("br",null),dn.createElement("li",null,Ga.formatMessage({id:"classroomClassroomExperiments.levelsCompletedBeforeDeadline",defaultMessage:"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361"}),"\uFF1A",dn.createElement("span",{className:"c-red"},it.complete_count),"/",dn.createElement("span",{className:"c-red"},it.challenges_count)),dn.createElement("li",null,Ga.formatMessage({id:"classroomClassroomExperiments.latestCompletedLevelMinus",defaultMessage:"\u6700\u65B0\u5B8C\u6210\u5173\u5361"}),"\uFF1A",dn.createElement("span",{className:"c-red"},it.current_complete_count||"-"),"/",dn.createElement("span",{className:"c-red"},it.challenges_count)),dn.createElement("li",null,Ga.formatMessage({id:"classroomClassroomExperiments.completionEfficiencyDashDash",defaultMessage:"\u5B8C\u6210\u6548\u7387"}),"\uFF1A",it&&it.efficiency===null?"--":it&&it.efficiency),dn.createElement("li",null,Ga.formatMessage({id:"classroomClassroomExperiments.classHighestCompletionEfficiencyDashDash",defaultMessage:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387"}),"\uFF1A",it&&it.max_efficiency===null?"--":it&&it.max_efficiency))),dn.createElement("ul",{className:[pa.listItem,"mt10"].join(" ")},dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.clearanceTime",defaultMessage:"\u901A\u5173\u65F6\u95F4"})),dn.createElement("div",{className:"c-light-black mt20"},it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm"))),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.timingRules",defaultMessage:"\u8BA1\u65F6\u89C4\u5219"}),dn.createElement("i",{onClick:br=>{br.stopPropagation(),br.preventDefault(),pi(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},it==null?void 0:it.human_training_time_rules)),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.totalPracticalTime",defaultMessage:"\u5B9E\u8BAD\u603B\u8017\u65F6"}),dn.createElement("i",{onClick:br=>{br.stopPropagation(),br.preventDefault(),Fo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},it.time_consuming)),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.evaluationCount",defaultMessage:"\u8BC4\u6D4B\u6B21\u6570"})),dn.createElement("div",{className:"mt20"},it.evaluate_count)),(it==null?void 0:it.eff_score_full)&&dn.createElement(dn.Fragment,null,dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.levelScore",defaultMessage:"\u5173\u5361\u5F97\u5206"})),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.challenge_score),"/",dn.createElement("span",{className:"c-light-black"},it.challenge_score_full))),dn.createElement("li",null,dn.createElement("strong",null,"\u6548\u7387\u5206"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.eff_score),"/",dn.createElement("span",{className:"c-light-black"},it.eff_score_full)))),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)!==0&&dn.createElement("li",{style:{position:"relative"}},dn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),dn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},it!=null&&it.review_rate?dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(it!=null&&it.review_id&&uA)localStorage.setItem("studentDetial",window.location.pathname),je.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${Wa.categoryId}/review_detail/${it==null?void 0:it.review_id}`});else return}},it.review_rate.toFixed(1),"%"):dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),uA?dn.createElement("div",{className:"mt20"},dn.createElement(y.default,{style:{width:"45px",height:"22px"},value:QA,onChange:br=>{Kr(br)},onBlur:lo,disabled:Ts})," / ",it==null?void 0:it.repeat_setting_score):dn.createElement("div",{className:"mt20"},it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score)),console.log("sssssssssssssssssssssss",it==null?void 0:it.have_repeat,it==null?void 0:it.repeat_minus_score),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)===0&&dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),dn.createElement("div",{className:"mt20"}," - -")),!(it!=null&&it.have_repeat)&&dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.plagiarismDeduction",defaultMessage:"\u67E5\u91CD\u6263\u5206"})),dn.createElement("div",{className:"mt20"}," - -")),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.resubmissionDeduction",defaultMessage:"\u8865\u4EA4\u6263\u5206"})),dn.createElement("div",{className:"mt20"},dn.createElement("span",null,it.late_penalty||"- -"))),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classrooms.finalGrade",defaultMessage:"\u6700\u7EC8\u6210\u7EE9"})),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},cA),"/",dn.createElement("span",{className:"c-light-black"},it.all_work_score))),dn.createElement("li",null,dn.createElement("strong",null,Ga.formatMessage({id:"classroomClassroomExperiments.overallScore",defaultMessage:"\u603B\u8BC4"})),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.overall_appraisal))))),dn.createElement(a.Z,{style:{margin:0}}),(it.work_comment_hidden||it.work_comment)&&dn.createElement("div",null,dn.createElement(ee.Z,{align:"middle"},dn.createElement(b.Z,{flex:1},dn.createElement("h1",{className:pa.title},"\u70B9\u8BC4\u5185\u5BB9")),dn.createElement(b.Z,{className:"pr30"},(0,Ge.GJ)()&&dn.createElement(be.ZP,{onClick:()=>Vi(void 0,null,function*(){De.default.confirm({centered:!0,okText:Ga.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Ga.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Ga.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:dn.createElement(xe.Z,null),content:Ga.formatMessage({id:"paperlibrary.confirmDeleteSure",defaultMessage:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F"}),onOk(){return Vi(this,null,function*(){(yield(0,hr.gZ)({comment_id:it.comment_id,homeworkId:Wa.homeworkId})).status===0&&(ce.ZP.success(Ga.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),Nr({type:"shixunHomeworks/getShixunWorkReport",payload:ks(ks({},Wa),Ss.current||{})}))})}})})},dn.createElement(Pe.Z,null),Ga.formatMessage({id:"classrooms.delete",defaultMessage:"\u5220\u9664"})))),dn.createElement(a.Z,{style:{margin:0}}),it.work_comment&&dn.createElement("aside",{className:"pl30 pr30 mt20"},dn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),dn.createElement("br",null),dn.createElement(ir.Z,{value:it.work_comment})),it.work_comment_hidden&&dn.createElement("aside",{className:"pl30 pr30 mt20"},dn.createElement("span",{className:"c-light-black font12"},"# ",Ga.formatMessage({id:"classroomGraphicGroupHomework.visibleOnlyToClassTeachers",defaultMessage:"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"})),dn.createElement("br",null),dn.createElement(ir.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&&dn.createElement(Fu,{detailData:it}),dn.createElement("div",{className:pa.score},dn.createElement("h1",{className:pa.title},Ga.formatMessage({id:"classroomClassroomExperiments.stageScores",defaultMessage:"\u9636\u6BB5\u6210\u7EE9"})),(it==null?void 0:it.adjust_review_score_count)>0&&(0,Ge.GJ)()&&dn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{el(!0),Ls({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(te.default,{dataSource:it.stage_list,rowKey:br=>br==null?void 0:br.challenge_id,pagination:!1,columns:Wc})),((Yo=it==null?void 0:it.target_test_sets)==null?void 0:Yo.length)>0&&dn.createElement("div",null,dn.createElement("h1",{className:pa.title},"\u6307\u6807\u6210\u7EE9"),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(te.default,{dataSource:Ro,rowKey:br=>br==null?void 0:br.challenge_id,pagination:!1,bordered:!0,columns:zA}))),(it==null?void 0:it.work_description)&&dn.createElement(dn.Fragment,null,dn.createElement("h1",{className:pa.title},"\u4E2A\u4EBA\u603B\u7ED3"),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(ir.Z,{value:it==null?void 0:it.work_description}))),dn.createElement("h1",{className:pa.title},Ga.formatMessage({id:"classroomClassroomExperiments.graphicalStatistics",defaultMessage:"\u56FE\u5F62\u7EDF\u8BA1"})),dn.createElement(Ti,{data:lr}),dn.createElement("h1",{className:pa.title},Ga.formatMessage({id:"classrooms.practicalDetails",defaultMessage:"\u5B9E\u8BAD\u8BE6\u60C5"}))),dn.createElement(LA,{autoHeight:Xo}))),(0,Ge.GJ)()&&dn.createElement("aside",{className:`${pa.footerBar} ${ea?pa.footerBarStatic:""}`},dn.createElement("aside",{className:"edu-container"},dn.createElement(ee.Z,{align:"middle"},dn.createElement(b.Z,{flex:"1"},dn.createElement(je.Link,{className:pa.exitComment,to:`/classrooms/${Wa.coursesId}/shixun_homework/${Wa.categoryId}/detail`},Ga.formatMessage({id:"classroomClassroomExperiments.returnToList",defaultMessage:"\u8FD4\u56DE\u5217\u8868"}))),dn.createElement(b.Z,{flex:"1",className:"tr"},dn.createElement(be.ZP,{type:"default",disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>rc()},Ga.formatMessage({id:"classroomGraphicGroupHomework.previous",defaultMessage:"\u4E0A\u4E00\u4E2A"})),dn.createElement(be.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(it!=null&&it.next_student_work_id),onClick:()=>rc("next")},Ga.formatMessage({id:"classroomGraphicGroupHomework.next",defaultMessage:"\u4E0B\u4E00\u4E2A"})),(0,Ge.GJ)()&&dn.createElement(be.ZP,{type:"primary",onClick:()=>Vi(void 0,null,function*(){Nr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:ks({},it)},fn:()=>Ls({page:1,page_size:10},"all")}})})},Ga.formatMessage({id:"classroomClassroomExperiments.commentHomework",defaultMessage:"\u70B9\u8BC4\u4F5C\u4E1A"})))))))),dn.createElement(Al,null),dn.createElement(xu.Z,null),dn.createElement(De.default,{open:ii,width:860,centered:!0,onCancel:()=>{pi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},dn.createElement("div",{style:{color:"#333333",fontWeight:400}},dn.createElement("span",{style:{fontWeight:500}},"1\u3001",Ga.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\u9875\u9762\u505C\u7559\u65F6\u957F"})),dn.createElement("br",null),dn.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"),dn.createElement("br",null),dn.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"),dn.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 "),dn.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")),dn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},dn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),dn.createElement("br",null),dn.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 "),dn.createElement("br",null),dn.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"),dn.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 "),dn.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"),dn.createElement("br",null),dn.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")),dn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},dn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),dn.createElement("br",null),dn.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")),dn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},dn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),dn.createElement("br",null),dn.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"))),dn.createElement(De.default,{open:cs,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Fo(!1)},width:600},dn.createElement("div",{style:{fontWeight:400,color:"#333333"}},dn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",dn.createElement("span",{style:{color:"#145DFF"}},Ga.formatMessage({id:"classroomClassroomExperiments.pageStayDuration",defaultMessage:"\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"),dn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",dn.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"),dn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",dn.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"))),dn.createElement(De.default,{open:yA,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Xi("all"),el(!1)},destroyOnClose:!0,width:900},dn.createElement("div",{style:{fontWeight:400,color:"#333333"}},dn.createElement("div",null,dn.createElement("span",null,Ga.formatMessage({id:"classroomClassroomExperiments.level",defaultMessage:"\u5173\u5361"}),"\uFF1A"),dn.createElement(ne.default,{style:{width:300},value:Yi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:br=>Vi(void 0,null,function*(){Xi(br),Ls({page:1,page_size:10},br)})},dn.createElement(ne.default.Option,{value:"all"}," ",Ga.formatMessage({id:"classrooms.all",defaultMessage:"\u5168\u90E8"})," "),(Ko=it==null?void 0:it.stage_list)==null?void 0:Ko.map((br,ho)=>dn.createElement(ne.default.Option,{key:ho,value:br==null?void 0:br.challenge_id},Ga.formatMessage({id:"classrooms.times",defaultMessage:"\u7B2C"}),(0,Ye.EM)(ho+1),"\u5173")))),dn.createElement("div",{className:"mt20"},dn.createElement(te.default,{dataSource:Qr,rowKey:br=>br==null?void 0:br.id,pagination:!1,columns:Sc,loading:fo})),dn.createElement("div",{className:pa.footer},dn.createElement("div",null,dn.createElement("span",{style:{color:"#656F87"}},Ga.formatMessage({id:"common.total",defaultMessage:"\u5171"}),dn.createElement("span",{className:"c-light-primary"},zi),"\u6761\u6570\u636E")),dn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(vn==null?void 0:vn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:zi,onChange:Gl})))))};var tc=(0,je.connect)(({shixunHomeworks:Gt,classroomList:Ot,loading:cn,globalSetting:dr,user:Cr})=>({shixunHomeworks:Gt,classroomList:Ot,globalSetting:dr,loading:cn.effects,user:Cr}))(Au);const Hu=({globalSetting:Gt})=>{var Ot;const cn=(0,je.useIntl)();switch(Number((Ot=Gt==null?void 0:Gt.setting)==null?void 0:Ot.theme)){case le.Fy.THEMEONE:return Ce.createElement(oa,null);case le.Fy.DEFAULT:default:return Ce.createElement(tc,null)}};var Ia=(0,je.connect)(({globalSetting:Gt})=>({globalSetting:Gt}))(Hu)},81895:function(Vt,Ut,ve){"use strict";var le=ve(43418),Ce=ve(8591),je=ve(98280),nt=ve(75790),ze=ve(53229),Re=ve(59301),Be=(De,ce,Ue)=>new Promise((Fe,be)=>{var ie=ee=>{try{a(Ue.next(ee))}catch(b){be(b)}},y=ee=>{try{a(Ue.throw(ee))}catch(b){be(b)}},a=ee=>ee.done?Fe(ee.value):Promise.resolve(ee.value).then(ie,y);a((Ue=Ue.apply(De,ce)).next())});const we=({shixunHomeworks:De,classroomList:ce,dispatch:Ue})=>{const Fe=(0,nt.useIntl)(),be=(0,nt.useParams)();return Re.createElement(le.default,{centered:!0,title:Fe.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),open:De.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:Fe.formatMessage({id:"classrooms.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:"\u53D6\u6D88",onOk:()=>Be(void 0,null,function*(){var ie,y,a,ee;if((0,ze.Rm)()&&!((ie=ce.AssistantObject.practice)!=null&&ie.can_redo)){Ce.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 b=yield(0,je.ZP)(`/api/myshixuns/${De.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:be.coursesId,homework_common_id:De.actionTabs.homework_common_id}});if(b.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),Ue({type:"shixunHomeworks/setActionTabs",payload:{}});const te=(a=(y=b==null?void 0:b.new_works)==null?void 0:y.find(ne=>`${ne.homework_common_id}`===be.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((ee=ce.AssistantObject.practice)!=null&&ee.can_view))return;nt.history.replace(`/classrooms/${be.coursesId}/shixun_homework/${be.categoryId}/${te}/comment`)}}),onCancel:()=>{Ue({type:"shixunHomeworks/setActionTabs",payload:{}})}},Re.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),Re.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ut.Z=(0,nt.connect)(({shixunHomeworks:De,classroomList:ce})=>({shixunHomeworks:De,classroomList:ce}))(we)},34188:function(Vt,Ut,ve){"use strict";ve.d(Ut,{AD:function(){return xt},BA:function(){return fn},D9:function(){return st},Hp:function(){return xe},IM:function(){return Rt},Iy:function(){return Pe},KM:function(){return Xe},KU:function(){return yn},MJ:function(){return Ne},Ne:function(){return rt},ON:function(){return un},Uj:function(){return zn},VY:function(){return Nt},YO:function(){return wt},YX:function(){return Kn},Zn:function(){return y},_g:function(){return ne},_k:function(){return ct},c6:function(){return ht},cr:function(){return a},eV:function(){return Oe},fi:function(){return ee},gh:function(){return et},hS:function(){return An},iA:function(){return b},j6:function(){return ae},je:function(){return Et},jj:function(){return fe},kS:function(){return Rn},o6:function(){return ke},pO:function(){return Wn},rQ:function(){return ut},sA:function(){return Ye},xm:function(){return Bt},xo:function(){return ft},y8:function(){return ot},yd:function(){return te}});var le=ve(98458),Ce=ve(75790),je=ve(19374),nt=ve(8591),ze=ve(49647),Re=Object.defineProperty,Be=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ce=(Le,he,ge)=>he in Le?Re(Le,he,{enumerable:!0,configurable:!0,writable:!0,value:ge}):Le[he]=ge,Ue=(Le,he)=>{for(var ge in he||(he={}))we.call(he,ge)&&ce(Le,ge,he[ge]);if(Be)for(var ge of Be(he))De.call(he,ge)&&ce(Le,ge,he[ge]);return Le},Fe=(Le,he,ge)=>new Promise((Se,qe)=>{var pt=bt=>{try{Ve(ge.next(bt))}catch(gt){qe(gt)}},He=bt=>{try{Ve(ge.throw(bt))}catch(gt){qe(gt)}},Ve=bt=>bt.done?Se(bt.value):Promise.resolve(bt.value).then(pt,He);Ve((ge=ge.apply(Le,he)).next())});const be=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Le=>Fe(void 0,null,function*(){be(),(yield(0,le.YR)(Ue({},Le))).status===0&&(yield(0,je.QH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le.coursesId}/export_couser_info.json`,query:Le}))),ie()}),a=Le=>Fe(void 0,null,function*(){const he=yield(0,le.yS)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_member_act_score`);else{if(he.status===-2)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_member_act_score`))}}),ee=Le=>Fe(void 0,null,function*(){const he=yield(0,le.W0)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_score`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_score`))}}),b=Le=>Fe(void 0,null,function*(){const he=yield(0,le.Nl)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Le=>Fe(void 0,null,function*(){const he=yield(0,le.IU)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/export_star_user`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/export_star_user`))}}),ne=Le=>Fe(void 0,null,function*(){const he=yield(0,le.td)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-2)return he;if(he.status===-3)(0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_exercise_and_other`);else if(he.status===-4)return he}}),ae=Le=>Fe(void 0,null,function*(){const he=yield(0,le.QX)(Ue({},Le));if(he.status===0)nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_homework`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/course_total_homework`))}}),fe=(Le,he)=>Fe(void 0,null,function*(){const ge=yield(0,le.o_)(Ue({},Le));ge.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"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`)):ge.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`))}),xe=(Le,he)=>Fe(void 0,null,function*(){const ge=yield(0,le.ZL)(Ue({},Le));ge.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"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`)):ge.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`))}),Pe=(Le,he)=>Fe(void 0,null,function*(){const ge=yield(0,le.aP)(Ue({},Le));ge.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`)):ge.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`))}),Ne=(Le,he)=>Fe(void 0,null,function*(){const ge=yield(0,le.vV)(Ue({},Le));ge.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"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`)):ge.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/${he}`))}),Ge=Le=>Fe(void 0,null,function*(){be(),(yield exportCourseWorkListAppendix(Ue({},Le))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Le.categoryId}/works_list.zip`,query:Le}))),ie()}),Ye=Le=>Fe(void 0,null,function*(){be(),yield(0,je.QH)("",ze.Z.API_SERVER+`/api/polls/${Le.categoryId}/commit_result.xlsx`),ie()}),et=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le.coursesId}/attendances/export_xlsx_data.xlsx`,query:Le}))}),ke=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le.coursesId}/video_study_statics.xlsx`,query:Le}))}),ht=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le.coursesId}/export_video_study.xlsx`,query:Le}))}),Oe=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le.coursesId}/export_course_students_info.xlsx`,query:Le}))}),xt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Le}))}),ut=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Le}))}),ot=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Le}))}),Et=Le=>Fe(void 0,null,function*(){const he=yield(0,le.Uy)(Ue({},Le));he.status===0?(nt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/exercise_score,export_exercise_users`)):he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Le.coursesId}/exportlist/exercise_score,export_exercise_users`))}),ct=Le=>Fe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Le.id}.xlsx`,query:Le}))}),Bt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Le}))}),st=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le==null?void 0:Le.coursesId}/${Le.menuKey}_statistic.xlsx?${Le.checkedList.map(he=>`course_group_id[]=${he}`).join("&")}`,query:Le}))}),rt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Le==null?void 0:Le.ec_year_id}/ec_training_objectives.xlsx`,query:Le}))}),Rt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)(Le==null?void 0:Le.name,(0,je.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Le}))}),An=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Le==null?void 0:Le.ec_year_id}/ec_courses.xlsx`,query:Le}))}),ft=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Le==null?void 0:Le.ec_year_id}/ec_graduation_requirements.xlsx`,query:Le}))}),Nt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Le}))}),yn=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Le.categoryId}/rank_list.xlsx`,query:Le}))}),Rn=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Le}))}),un=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Le.id}.json`,query:Le}))}),Kn=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Le.categoryId}.json`,query:Le}))}),wt=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/polls/${Le==null?void 0:Le.id}/commit_result.json`,query:Le}))}),zn=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Le}))}),Wn=(Le,he)=>Fe(void 0,null,function*(){yield(0,je.FH)(he||"",(0,je.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Le==null?void 0:Le.exercise_id}/consult_exercise.json`,query:Le}))}),Xe=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Le==null?void 0:Le.identifier}/competition_commit_records/member_works.xlsx`,query:Le}))}),fn=Le=>Fe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:ze.Z.API_SERVER+`/api/courses/${Le==null?void 0:Le.coursesId}/group_homeworks/import_group_template.xlsx`,query:Le}))})},57318:function(Vt,Ut,ve){"use strict";ve.d(Ut,{U:function(){return De}});var le=ve(59301),Ce=Object.defineProperty,je=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,Re=(ce,Ue,Fe)=>Ue in ce?Ce(ce,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ce[Ue]=Fe,Be=(ce,Ue)=>{for(var Fe in Ue||(Ue={}))nt.call(Ue,Fe)&&Re(ce,Fe,Ue[Fe]);if(je)for(var Fe of je(Ue))ze.call(Ue,Fe)&&Re(ce,Fe,Ue[Fe]);return ce},we=(ce,Ue,Fe)=>new Promise((be,ie)=>{var y=b=>{try{ee(Fe.next(b))}catch(te){ie(te)}},a=b=>{try{ee(Fe.throw(b))}catch(te){ie(te)}},ee=b=>b.done?be(b.value):Promise.resolve(b.value).then(y,a);ee((Fe=Fe.apply(ce,Ue)).next())});function De(ce,Ue){const[Fe,be]=(0,le.useState)(Ue),[ie,y]=(0,le.useState)(!1),[a,ee]=(0,le.useState)();return[Fe,ie,(te,ne=!1)=>we(this,null,function*(){const ae=ne?Ue:Be(Be({},Fe),te);y(!0),be(ae);const fe=yield ce(ae);return y(!1),ee(fe),fe}),a]}},50371:function(Vt,Ut){"use strict";function ve(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce{const ze=je[nt];ze!==void 0&&(le[nt]=ze)})}return le}Ut.Z=ve},13845:function(Vt,Ut,ve){"use strict";ve.d(Ut,{F:function(){return le},Z:function(){return Ce}});function le(je){return je!=null&&je===je.window}function Ce(je,nt){var ze,Re;if(typeof window=="undefined")return 0;const Be=nt?"scrollTop":"scrollLeft";let we=0;return le(je)?we=je[nt?"pageYOffset":"pageXOffset"]:je instanceof Document?we=je.documentElement[Be]:(je instanceof HTMLElement||je)&&(we=je[Be]),je&&!le(je)&&typeof we!="number"&&(we=(Re=((ze=je.ownerDocument)!==null&&ze!==void 0?ze:je).documentElement)===null||Re===void 0?void 0:Re[Be]),we}},56762:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return Ce}});var le=ve(59301);function Ce(){const[,je]=le.useReducer(nt=>nt+1,0);return je}},68031:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return nt}});var le=ve(16089);function Ce(ze,Re,Be,we){const De=Be-Re;return ze/=we/2,ze<1?De/2*ze*ze*ze+Re:De/2*((ze-=2)*ze*ze+2)+Re}var je=ve(13845);function nt(ze){let Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Be=()=>window,callback:we,duration:De=450}=Re,ce=Be(),Ue=(0,je.Z)(ce,!0),Fe=Date.now(),be=()=>{const y=Date.now()-Fe,a=Ce(y>De?De:y,Ue,ze,De);(0,je.F)(ce)?ce.scrollTo(window.pageXOffset,a):ce instanceof Document||ce.constructor.name==="HTMLDocument"?ce.documentElement.scrollTop=a:ce.scrollTop=a,y{let{children:ot}=ut;const{getPrefixCls:Et}=ze.useContext(Be.E_),ct=Et("breadcrumb");return ze.createElement("li",{className:`${ct}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};ce.__ANT_BREADCRUMB_SEPARATOR=!0;var Ue=ce,Fe=function(ut,ot){var Et={};for(var ct in ut)Object.prototype.hasOwnProperty.call(ut,ct)&&ot.indexOf(ct)<0&&(Et[ct]=ut[ct]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,ct=Object.getOwnPropertySymbols(ut);Btot[Bt]||ct)}function ie(ut,ot,Et,ct){if(Et==null)return null;const{className:Bt,onClick:st}=ot,rt=Fe(ot,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,nt.Z)(rt,{data:!0,aria:!0})),{onClick:st});return ct!==void 0?ze.createElement("a",Object.assign({},Rt,{className:Ce()(`${ut}-link`,Bt),href:ct}),Et):ze.createElement("span",Object.assign({},Rt,{className:Ce()(`${ut}-link`,Bt)}),Et)}function y(ut,ot){return(ct,Bt,st,rt,Rt)=>{if(ot)return ot(ct,Bt,st,rt);const An=be(ct,Bt);return ie(ut,ct,An,Rt)}}var a=function(ut,ot){var Et={};for(var ct in ut)Object.prototype.hasOwnProperty.call(ut,ct)&&ot.indexOf(ct)<0&&(Et[ct]=ut[ct]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,ct=Object.getOwnPropertySymbols(ut);Bt{const{prefixCls:ot,separator:Et="/",children:ct,menu:Bt,overlay:st,dropdownProps:rt,href:Rt}=ut,ft=(Nt=>{if(Bt||st){const yn=Object.assign({},rt);if(Bt){const Rn=Bt||{},{items:un}=Rn,Kn=a(Rn,["items"]);yn.menu=Object.assign(Object.assign({},Kn),{items:un==null?void 0:un.map((wt,zn)=>{var{key:Wn,title:Xe,label:fn,path:Le}=wt,he=a(wt,["key","title","label","path"]);let ge=fn!=null?fn:Xe;return Le&&(ge=ze.createElement("a",{href:`${Rt}${Le}`},ge)),Object.assign(Object.assign({},he),{key:Wn!=null?Wn:zn,label:ge})})})}else st&&(yn.overlay=st);return ze.createElement(De.Z,Object.assign({placement:"bottom"},yn),ze.createElement("span",{className:`${ot}-overlay-link`},Nt,ze.createElement(we.Z,null)))}return Nt})(ct);return ft!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,ft),Et&&ze.createElement(Ue,null,Et)):null},b=ut=>{const{prefixCls:ot,children:Et,href:ct}=ut,Bt=a(ut,["prefixCls","children","href"]),{getPrefixCls:st}=ze.useContext(Be.E_),rt=st("breadcrumb",ot);return ze.createElement(ee,Object.assign({},Bt,{prefixCls:rt}),ie(rt,Bt,Et,ct))};b.__ANT_BREADCRUMB_ITEM=!0;var te=b,ne=ve(17313),ae=ve(83116),fe=ve(37613);const xe=ut=>{const{componentCls:ot,iconCls:Et}=ut;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(ut)),{color:ut.itemColor,fontSize:ut.fontSize,[Et]:{fontSize:ut.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ut.linkColor,transition:`color ${ut.motionDurationMid}`,padding:`0 ${ut.paddingXXS}px`,borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",marginInline:-ut.marginXXS,"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover}},(0,ne.Qy)(ut)),"li:last-child":{color:ut.lastItemColor},[`${ot}-separator`]:{marginInline:ut.separatorMargin,color:ut.separatorColor},[`${ot}-link`]:{[` > ${Et} + span, > ${Et} + a `]:{marginInlineStart:ut.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:ut.borderRadiusSM,height:ut.lineHeight*ut.fontSize,display:"inline-block",padding:`0 ${ut.paddingXXS}px`,marginInline:-ut.marginXXS,[`> ${Et}`]:{marginInlineStart:ut.marginXXS,fontSize:ut.fontSizeIcon},"&:hover":{color:ut.linkHoverColor,backgroundColor:ut.colorBgTextHover,a:{color:ut.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ut.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ae.Z)("Breadcrumb",ut=>{const ot=(0,fe.TS)(ut,{});return[xe(ot)]},ut=>({itemColor:ut.colorTextDescription,lastItemColor:ut.colorText,iconFontSize:ut.fontSize,linkColor:ut.colorTextDescription,linkHoverColor:ut.colorText,separatorColor:ut.colorTextDescription,separatorMargin:ut.marginXS})),Ne=function(ut,ot){var Et={};for(var ct in ut)Object.prototype.hasOwnProperty.call(ut,ct)&&ot.indexOf(ct)<0&&(Et[ct]=ut[ct]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,ct=Object.getOwnPropertySymbols(ut);Bt{var{breadcrumbName:rt}=st,Rt=Ne(st,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:rt})})}),Bt}function Ye(ut,ot){return(0,ze.useMemo)(()=>ut||(ot?ot.map(Ge):null),[ut,ot])}var et=function(ut,ot){var Et={};for(var ct in ut)Object.prototype.hasOwnProperty.call(ut,ct)&&ot.indexOf(ct)<0&&(Et[ct]=ut[ct]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,ct=Object.getOwnPropertySymbols(ut);Bt{if(ot===void 0)return ot;let Et=(ot||"").replace(/^\//,"");return Object.keys(ut).forEach(ct=>{Et=Et.replace(`:${ct}`,ut[ct])}),Et},ht=ut=>{const{prefixCls:ot,separator:Et="/",style:ct,className:Bt,rootClassName:st,routes:rt,items:Rt,children:An,itemRender:ft,params:Nt={}}=ut,yn=et(ut,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Rn,direction:un,breadcrumb:Kn}=ze.useContext(Be.E_);let wt;const zn=Rn("breadcrumb",ot),[Wn,Xe]=Pe(zn),fn=Ye(Rt,rt),Le=y(zn,ft);if(fn&&fn.length>0){const Se=[],qe=Rt||rt;wt=fn.map((pt,He)=>{const{path:Ve,key:bt,type:gt,menu:At,overlay:jt,onClick:kn,className:It,separator:on,dropdownProps:Mt}=pt,En=ke(Nt,Ve);En!==void 0&&Se.push(En);const lt=bt!=null?bt:He;if(gt==="separator")return ze.createElement(Ue,{key:lt},on);const Yt={},hn=He===fn.length-1;At?Yt.menu=At:jt&&(Yt.overlay=jt);let{href:Sn}=pt;return Se.length&&En!==void 0&&(Sn=`#/${Se.join("/")}`),ze.createElement(ee,Object.assign({key:lt},Yt,(0,nt.Z)(pt,{data:!0,aria:!0}),{className:It,dropdownProps:Mt,href:Sn,separator:hn?"":Et,onClick:kn,prefixCls:zn}),Le(pt,Nt,qe,Se,Sn))})}else if(An){const Se=(0,je.Z)(An).length;wt=(0,je.Z)(An).map((qe,pt)=>{if(!qe)return qe;const He=pt===Se-1;return(0,Re.Tm)(qe,{separator:He?"":Et,key:pt})})}const he=Ce()(zn,Kn==null?void 0:Kn.className,{[`${zn}-rtl`]:un==="rtl"},Bt,st,Xe),ge=Object.assign(Object.assign({},Kn==null?void 0:Kn.style),ct);return Wn(ze.createElement("nav",Object.assign({className:he,style:ge},yn),ze.createElement("ol",null,wt)))};ht.Item=te,ht.Separator=Ue;var Oe=ht,xt=Oe},24905:function(Vt,Ut,ve){"use strict";ve.d(Ut,{default:function(){return Pe}});var le=ve(92310),Ce=ve.n(le),je=ve(5630),nt=ve(59301),ze=ve(36355),Re=ve(1684),Be=ve(32441),De=nt.createContext(null),ce=ve(98447),Ue=ve(14088),Fe=ve(4572),be=function(Ne,Ge){var Ye={};for(var et in Ne)Object.prototype.hasOwnProperty.call(Ne,et)&&Ge.indexOf(et)<0&&(Ye[et]=Ne[et]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,et=Object.getOwnPropertySymbols(Ne);ke{var Ye;const{prefixCls:et,className:ke,rootClassName:ht,children:Oe,indeterminate:xt=!1,style:ut,onMouseEnter:ot,onMouseLeave:Et,skipGroup:ct=!1,disabled:Bt}=Ne,st=be(Ne,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:rt,direction:Rt,checkbox:An}=nt.useContext(ze.E_),ft=nt.useContext(De),{isFormItemInput:Nt}=nt.useContext(Be.aM),yn=nt.useContext(Re.Z),Rn=(Ye=(ft==null?void 0:ft.disabled)||Bt)!==null&&Ye!==void 0?Ye:yn,un=nt.useRef(st.value);nt.useEffect(()=>{ft==null||ft.registerValue(st.value)},[]),nt.useEffect(()=>{if(!ct)return st.value!==un.current&&(ft==null||ft.cancelValue(un.current),ft==null||ft.registerValue(st.value),un.current=st.value),()=>ft==null?void 0:ft.cancelValue(st.value)},[st.value]);const Kn=rt("checkbox",et),[wt,zn]=(0,ce.ZP)(Kn),Wn=Object.assign({},st);ft&&!ct&&(Wn.onChange=function(){st.onChange&&st.onChange.apply(st,arguments),ft.toggleOption&&ft.toggleOption({label:Oe,value:st.value})},Wn.name=ft.name,Wn.checked=ft.value.includes(st.value));const Xe=Ce()(`${Kn}-wrapper`,{[`${Kn}-rtl`]:Rt==="rtl",[`${Kn}-wrapper-checked`]:Wn.checked,[`${Kn}-wrapper-disabled`]:Rn,[`${Kn}-wrapper-in-form-item`]:Nt},An==null?void 0:An.className,ke,ht,zn),fn=Ce()({[`${Kn}-indeterminate`]:xt},Fe.A,zn),Le=xt?"mixed":void 0;return wt(nt.createElement(Ue.Z,{component:"Checkbox",disabled:Rn},nt.createElement("label",{className:Xe,style:Object.assign(Object.assign({},An==null?void 0:An.style),ut),onMouseEnter:ot,onMouseLeave:Et},nt.createElement(je.Z,Object.assign({"aria-checked":Le},Wn,{prefixCls:Kn,className:fn,disabled:Rn,ref:Ge})),Oe!==void 0&&nt.createElement("span",null,Oe))))};var a=nt.forwardRef(ie),ee=ve(94480),b=ve(2738),te=function(Ne,Ge){var Ye={};for(var et in Ne)Object.prototype.hasOwnProperty.call(Ne,et)&&Ge.indexOf(et)<0&&(Ye[et]=Ne[et]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,et=Object.getOwnPropertySymbols(Ne);ke{const{defaultValue:Ye,children:et,options:ke=[],prefixCls:ht,className:Oe,rootClassName:xt,style:ut,onChange:ot}=Ne,Et=te(Ne,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ct,direction:Bt}=nt.useContext(ze.E_),[st,rt]=nt.useState(Et.value||Ye||[]),[Rt,An]=nt.useState([]);nt.useEffect(()=>{"value"in Et&&rt(Et.value||[])},[Et.value]);const ft=nt.useMemo(()=>ke.map(he=>typeof he=="string"||typeof he=="number"?{label:he,value:he}:he),[ke]),Nt=he=>{An(ge=>ge.filter(Se=>Se!==he))},yn=he=>{An(ge=>[].concat((0,ee.Z)(ge),[he]))},Rn=he=>{const ge=st.indexOf(he.value),Se=(0,ee.Z)(st);ge===-1?Se.push(he.value):Se.splice(ge,1),"value"in Et||rt(Se),ot==null||ot(Se.filter(qe=>Rt.includes(qe)).sort((qe,pt)=>{const He=ft.findIndex(bt=>bt.value===qe),Ve=ft.findIndex(bt=>bt.value===pt);return He-Ve}))},un=ct("checkbox",ht),Kn=`${un}-group`,[wt,zn]=(0,ce.ZP)(un),Wn=(0,b.Z)(Et,["value","disabled"]),Xe=ke.length?ft.map(he=>nt.createElement(a,{prefixCls:un,key:he.value.toString(),disabled:"disabled"in he?he.disabled:Et.disabled,value:he.value,checked:st.includes(he.value),onChange:he.onChange,className:`${Kn}-item`,style:he.style,title:he.title},he.label)):et,fn={toggleOption:Rn,value:st,disabled:Et.disabled,name:Et.name,registerValue:yn,cancelValue:Nt},Le=Ce()(Kn,{[`${Kn}-rtl`]:Bt==="rtl"},Oe,xt,zn);return wt(nt.createElement("div",Object.assign({className:Le,style:ut},Wn,{ref:Ge}),nt.createElement(De.Provider,{value:fn},Xe)))},ae=nt.forwardRef(ne);var fe=nt.memo(ae);const xe=a;xe.Group=fe,xe.__ANT_CHECKBOX=!0;var Pe=xe},98447:function(Vt,Ut,ve){"use strict";ve.d(Ut,{C2:function(){return ze}});var le=ve(17313),Ce=ve(37613),je=ve(83116);const nt=Re=>{const{checkboxCls:Be}=Re,we=`${Be}-wrapper`;return[{[`${Be}-group`]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[we]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${we}`]:{marginInlineStart:0},[`&${we}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Be]:Object.assign(Object.assign({},(0,le.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${Be}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Be}-inner`]:Object.assign({},(0,le.oN)(Re))},[`${Be}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[` ${we}:not(${we}-disabled), ${Be}:not(${Be}-disabled) `]:{[`&:hover ${Be}-inner`]:{borderColor:Re.colorPrimary}},[`${we}:not(${we}-disabled)`]:{[`&:hover ${Be}-checked:not(${Be}-disabled) ${Be}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Be}-checked:not(${Be}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${Be}-checked`]:{[`${Be}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[` ${we}-checked:not(${we}-disabled), ${Be}-checked:not(${Be}-disabled) `]:{[`&:hover ${Be}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[Be]:{"&-indeterminate":{[`${Be}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${we}-disabled`]:{cursor:"not-allowed"},[`${Be}-disabled`]:{[`&, ${Be}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Be}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${Be}-indeterminate ${Be}-inner::after`]:{background:Re.colorTextDisabled}}}]};function ze(Re,Be){const we=(0,Ce.TS)(Be,{checkboxCls:`.${Re}`,checkboxSize:Be.controlInteractiveSize});return[nt(we)]}Ut.ZP=(0,je.Z)("Checkbox",(Re,Be)=>{let{prefixCls:we}=Be;return[ze(we,Re)]})},28103:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return Fe}});var le=ve(92310),Ce=ve.n(le),je=ve(59301),nt=ve(36355),ze=ve(17313),Re=ve(83116),Be=ve(37613);const we=be=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:b,orientationMargin:te,verticalMarginInline:ne}=be;return{[ie]:Object.assign(Object.assign({},(0,ze.Wf)(be)),{borderBlockStart:`${ee}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ne,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${ee}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${be.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-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:`${ee}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ie}-with-text-left`]:{"&::before":{width:`${te*100}%`},"&::after":{width:`${100-te*100}%`}},[`&-horizontal${ie}-with-text-right`]:{"&::before":{width:`${100-te*100}%`},"&::after":{width:`${te*100}%`}},[`${ie}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${ee}px 0 0`},[`&-horizontal${ie}-with-text${ie}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ie}-dashed`]:{borderInlineStartWidth:ee,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ie}-with-text`]:{color:be.colorText,fontWeight:"normal",fontSize:be.fontSize},[`&-horizontal${ie}-with-text-left${ie}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ie}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ie}-with-text-right${ie}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ie}-inner-text`]:{paddingInlineEnd:y}}})}};var De=(0,Re.Z)("Divider",be=>{const ie=(0,Be.TS)(be,{dividerHorizontalWithTextGutterMargin:be.margin,dividerHorizontalGutterMargin:be.marginLG,sizePaddingEdgeHorizontal:0});return[we(ie)]},be=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:be.marginXS})),ce=function(be,ie){var y={};for(var a in be)Object.prototype.hasOwnProperty.call(be,a)&&ie.indexOf(a)<0&&(y[a]=be[a]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(be);ee{const{getPrefixCls:ie,direction:y,divider:a}=je.useContext(nt.E_),{prefixCls:ee,type:b="horizontal",orientation:te="center",orientationMargin:ne,className:ae,rootClassName:fe,children:xe,dashed:Pe,plain:Ne,style:Ge}=be,Ye=ce(be,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),et=ie("divider",ee),[ke,ht]=De(et),Oe=te.length>0?`-${te}`:te,xt=!!xe,ut=te==="left"&&ne!=null,ot=te==="right"&&ne!=null,Et=Ce()(et,a==null?void 0:a.className,ht,`${et}-${b}`,{[`${et}-with-text`]:xt,[`${et}-with-text${Oe}`]:xt,[`${et}-dashed`]:!!Pe,[`${et}-plain`]:!!Ne,[`${et}-rtl`]:y==="rtl",[`${et}-no-default-orientation-margin-left`]:ut,[`${et}-no-default-orientation-margin-right`]:ot},ae,fe),ct=je.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),Bt=Object.assign(Object.assign({},ut&&{marginLeft:ct}),ot&&{marginRight:ct});return ke(je.createElement("div",Object.assign({className:Et,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},Ye,{role:"separator"}),xe&&b!=="vertical"&&je.createElement("span",{className:`${et}-inner-text`,style:Bt},xe)))}},91857:function(Vt,Ut,ve){"use strict";var le=ve(59301),Ce=ve(38819),je=ve(92310),nt=ve.n(je),ze=ve(31561),Re=ve(70425),Be=ve(18929),we=ve(2738),De=ve(79676),ce=ve(53487),Ue=ve(92343),Fe=ve(36355),be=ve(20834),ie=ve(40875),y=ve(88088),a=ve(47211);const ee=null,b=fe=>{const{menu:xe,arrow:Pe,prefixCls:Ne,children:Ge,trigger:Ye,disabled:et,dropdownRender:ke,getPopupContainer:ht,overlayClassName:Oe,rootClassName:xt,open:ut,onOpenChange:ot,visible:Et,onVisibleChange:ct,mouseEnterDelay:Bt=.15,mouseLeaveDelay:st=.1,autoAdjustOverflow:rt=!0,placement:Rt="",overlay:An,transitionName:ft}=fe,{getPopupContainer:Nt,getPrefixCls:yn,direction:Rn}=le.useContext(Fe.E_),un=le.useMemo(()=>{const At=yn();return ft!==void 0?ft:Rt.includes("top")?`${At}-slide-down`:`${At}-slide-up`},[yn,Rt,ft]),Kn=le.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Rn==="rtl"?"bottomRight":"bottomLeft",[Rt,Rn]),wt=yn("dropdown",Ne),[zn,Wn]=(0,a.Z)(wt),[,Xe]=(0,y.Z)(),fn=le.Children.only(Ge),Le=(0,Ue.Tm)(fn,{className:nt()(`${wt}-trigger`,{[`${wt}-rtl`]:Rn==="rtl"},fn.props.className),disabled:et}),he=et?[]:Ye;let ge;he&&he.includes("contextMenu")&&(ge=!0);const[Se,qe]=(0,Be.Z)(!1,{value:ut!=null?ut:Et}),pt=(0,Re.useEvent)(At=>{ot==null||ot(At),ct==null||ct(At),qe(At)}),He=nt()(Oe,xt,Wn,{[`${wt}-rtl`]:Rn==="rtl"}),Ve=(0,De.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:rt,offset:Xe.marginXXS,arrowWidth:Pe?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius}),bt=le.useCallback(()=>{qe(!1)},[]),gt=()=>{let At;return xe!=null&&xe.items?At=le.createElement(be.default,Object.assign({},xe)):typeof An=="function"?At=An():At=An,ke&&(At=ke(At)),At=le.Children.only(typeof At=="string"?le.createElement("span",null,At):At),le.createElement(ie.J,{prefixCls:`${wt}-menu`,expandIcon:le.createElement("span",{className:`${wt}-menu-submenu-arrow`},le.createElement(Ce.Z,{className:`${wt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:bt,validator:jt=>{let{mode:kn}=jt}},At)};return zn(le.createElement(ze.Z,Object.assign({alignPoint:ge},(0,we.Z)(fe,["rootClassName"]),{mouseEnterDelay:Bt,mouseLeaveDelay:st,visible:Se,builtinPlacements:Ve,arrow:!!Pe,overlayClassName:He,prefixCls:wt,getPopupContainer:ht||Nt,transitionName:un,trigger:he,overlay:gt,placement:Kn,onVisibleChange:pt}),Le))};function te(fe){return Object.assign(Object.assign({},fe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,ce.Z)(b,"dropdown",fe=>fe,te),ae=fe=>le.createElement(ne,Object.assign({},fe),le.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ae,Ut.Z=b},38854:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return y}});var le=ve(91857),Ce=ve(92310),je=ve.n(Ce),nt=ve(59301),ze=ve(18785),Re=ve(3113),Be=ve(36355),we=ve(81327),De=ve(33234),ce=ve(47211),Ue=function(a,ee){var b={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(b[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:ee,getPrefixCls:b,direction:te}=nt.useContext(Be.E_),{prefixCls:ne,type:ae="default",danger:fe,disabled:xe,loading:Pe,onClick:Ne,htmlType:Ge,children:Ye,className:et,menu:ke,arrow:ht,autoFocus:Oe,overlay:xt,trigger:ut,align:ot,open:Et,onOpenChange:ct,placement:Bt,getPopupContainer:st,href:rt,icon:Rt=nt.createElement(ze.Z,null),title:An,buttonsRender:ft=gt=>gt,mouseEnterDelay:Nt,mouseLeaveDelay:yn,overlayClassName:Rn,overlayStyle:un,destroyPopupOnHide:Kn,dropdownRender:wt}=a,zn=Ue(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"]),Wn=b("dropdown",ne),Xe=`${Wn}-button`,[fn,Le]=(0,ce.Z)(Wn),he={menu:ke,arrow:ht,autoFocus:Oe,align:ot,disabled:xe,trigger:xe?[]:ut,onOpenChange:ct,getPopupContainer:st||ee,mouseEnterDelay:Nt,mouseLeaveDelay:yn,overlayClassName:Rn,overlayStyle:un,destroyPopupOnHide:Kn,dropdownRender:wt},{compactSize:ge,compactItemClassnames:Se}=(0,De.ri)(Wn,te),qe=je()(Xe,Se,et,Le);"overlay"in a&&(he.overlay=xt),"open"in a&&(he.open=Et),"placement"in a?he.placement=Bt:he.placement=te==="rtl"?"bottomLeft":"bottomRight";const pt=nt.createElement(Re.ZP,{type:ae,danger:fe,disabled:xe,loading:Pe,onClick:Ne,htmlType:Ge,href:rt,title:An},Ye),He=nt.createElement(Re.ZP,{type:ae,danger:fe,icon:Rt}),[Ve,bt]=ft([pt,He]);return fn(nt.createElement(we.Z.Compact,Object.assign({className:qe,size:ge,block:!0},zn),Ve,nt.createElement(le.Z,Object.assign({},he),bt)))};Fe.__ANT_BUTTON=!0;var be=Fe;const ie=le.Z;ie.Button=be;var y=ie},47211:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return Ue}});var le=ve(17313),Ce=ve(13826),je=ve(92899),nt=ve(29878),ze=ve(19447),Re=ve(83116),Be=ve(37613),De=Fe=>{const{componentCls:be,menuCls:ie,colorError:y,colorTextLightSolid:a}=Fe,ee=`${ie}-item`;return{[`${be}, ${be}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const ce=Fe=>{const{componentCls:be,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:b,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:fe,dropdownEdgeChildPadding:xe,colorTextDisabled:Pe,fontSizeIcon:Ne,controlPaddingHorizontal:Ge,colorBgElevated:Ye}=Fe;return[{[be]:Object.assign(Object.assign({},(0,le.Wf)(Fe)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+ee/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${te}-down, & > ${b}-btn-icon > ${te}-down`]:{fontSize:Ne}},[`${be}-wrap`]:{position:"relative",[`${b}-btn > ${te}-down`]:{fontSize:Ne},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${be}-wrap-open`]:{[`${te}-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:Ce.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:Ce.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:Ce.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:Ce.ly}})},(0,ze.ZP)(Fe,{colorBg:Ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${be} ${ie}`]:{position:"relative",margin:0},[`${ie}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${be}, ${be}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:xe,listStyleType:"none",backgroundColor:Ye,backgroundClip:"padding-box",borderRadius:Fe.borderRadiusLG,outline:"none",boxShadow:Fe.boxShadowSecondary},(0,le.Qy)(Fe)),{[`${ie}-item-group-title`]:{padding:`${ae}px ${Ge}px`,color:Fe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:fe,marginInlineEnd:Fe.marginXS,fontSize:Fe.fontSizeSM},[`${ie}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ie}-item, ${ie}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Ge}px`,color:Fe.colorText,fontWeight:"normal",fontSize:fe,lineHeight:Fe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Fe.borderRadiusSM,"&:hover, &-active":{backgroundColor:Fe.controlItemBgHover}},(0,le.Qy)(Fe)),{"&-selected":{color:Fe.colorPrimary,backgroundColor:Fe.controlItemBgActive,"&:hover, &-active":{backgroundColor:Fe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Fe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Fe.colorSplit},[`${be}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Fe.paddingXS,[`${be}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Fe.colorTextDescription,fontSize:Ne,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${Fe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ge+Fe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${be}-menu-submenu-title`]:{[`&, ${be}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ye,cursor:"not-allowed"}},[`${ie}-submenu-selected ${be}-menu-submenu-title`]:{color:Fe.colorPrimary}})}},[(0,Ce.oN)(Fe,"slide-up"),(0,Ce.oN)(Fe,"slide-down"),(0,je.Fm)(Fe,"move-up"),(0,je.Fm)(Fe,"move-down"),(0,nt._y)(Fe,"zoom-big")]]};var Ue=(0,Re.Z)("Dropdown",(Fe,be)=>{let{rootPrefixCls:ie}=be;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:b,lineHeight:te,paddingXXS:ne,componentCls:ae,borderRadiusLG:fe}=Fe,xe=(ee-b*te)/2,{dropdownArrowOffset:Pe}=(0,ze.fS)({contentRadius:fe}),Ne=(0,Be.TS)(Fe,{menuCls:`${ae}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:xe,dropdownEdgeChildPadding:ne});return[ce(Ne),De(Ne)]},Fe=>({zIndexPopup:Fe.zIndexPopupBase+50}))},8628:function(Vt,Ut,ve){"use strict";var le=ve(59301),Ce=ve(34280),je=ve(56762),nt=ve(69507);function ze(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const Be=(0,le.useRef)({}),we=(0,je.Z)(),De=(0,nt.ZP)();return(0,Ce.Z)(()=>{const ce=De.subscribe(Ue=>{Be.current=Ue,Re&&we()});return()=>De.unsubscribe(ce)},[]),Be.current}Ut.Z=ze},45818:function(Vt,Ut,ve){"use strict";ve.d(Ut,{D:function(){return ne},Z:function(){return xe}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},nt=je,ze=ve(7657),Re=function(Ne,Ge){return Ce.createElement(ze.Z,(0,le.Z)({},Ne,{ref:Ge,icon:nt}))},Be=Ce.forwardRef(Re),we=Be,De=ve(33853),ce=ve(38819),Ue=ve(92310),Fe=ve.n(Ue),be=ve(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=ve(36355),ee=ve(84966),b=function(Pe,Ne){var Ge={};for(var Ye in Pe)Object.prototype.hasOwnProperty.call(Pe,Ye)&&Ne.indexOf(Ye)<0&&(Ge[Ye]=Pe[Ye]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ye=Object.getOwnPropertySymbols(Pe);et{let Pe=0;return function(){let Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Ne}${Pe}`}})();var xe=Ce.forwardRef((Pe,Ne)=>{const{prefixCls:Ge,className:Ye,trigger:et,children:ke,defaultCollapsed:ht=!1,theme:Oe="dark",style:xt={},collapsible:ut=!1,reverseArrow:ot=!1,width:Et=200,collapsedWidth:ct=80,zeroWidthTriggerStyle:Bt,breakpoint:st,onCollapse:rt,onBreakpoint:Rt}=Pe,An=b(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,Ce.useContext)(ee.Gs),[Nt,yn]=(0,Ce.useState)("collapsed"in Pe?Pe.collapsed:ht),[Rn,un]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in Pe&&yn(Pe.collapsed)},[Pe.collapsed]);const Kn=(Le,he)=>{"collapsed"in Pe||yn(Le),rt==null||rt(Le,he)},wt=(0,Ce.useRef)();wt.current=Le=>{un(Le.matches),Rt==null||Rt(Le.matches),Nt!==Le.matches&&Kn(Le.matches,"responsive")},(0,Ce.useEffect)(()=>{function Le(ge){return wt.current(ge)}let he;if(typeof window!="undefined"){const{matchMedia:ge}=window;if(ge&&st&&st in te){he=ge(`(max-width: ${te[st]})`);try{he.addEventListener("change",Le)}catch(Se){he.addListener(Le)}Le(he)}}return()=>{try{he==null||he.removeEventListener("change",Le)}catch(ge){he==null||he.removeListener(Le)}}},[st]),(0,Ce.useEffect)(()=>{const Le=ae("ant-sider-");return ft.addSider(Le),()=>ft.removeSider(Le)},[]);const zn=()=>{Kn(!Nt,"clickTrigger")},{getPrefixCls:Wn}=(0,Ce.useContext)(a.E_),Xe=()=>{const Le=Wn("layout-sider",Ge),he=(0,be.Z)(An,["collapsed"]),ge=Nt?ct:Et,Se=y(ge)?`${ge}px`:String(ge),qe=parseFloat(String(ct||0))===0?Ce.createElement("span",{onClick:zn,className:Fe()(`${Le}-zero-width-trigger`,`${Le}-zero-width-trigger-${ot?"right":"left"}`),style:Bt},et||Ce.createElement(we,null)):null,Ve={expanded:ot?Ce.createElement(ce.Z,null):Ce.createElement(De.Z,null),collapsed:ot?Ce.createElement(De.Z,null):Ce.createElement(ce.Z,null)}[Nt?"collapsed":"expanded"],bt=et!==null?qe||Ce.createElement("div",{className:`${Le}-trigger`,onClick:zn,style:{width:Se}},et||Ve):null,gt=Object.assign(Object.assign({},xt),{flex:`0 0 ${Se}`,maxWidth:Se,minWidth:Se,width:Se}),At=Fe()(Le,`${Le}-${Oe}`,{[`${Le}-collapsed`]:!!Nt,[`${Le}-has-trigger`]:ut&&et!==null&&!qe,[`${Le}-below`]:!!Rn,[`${Le}-zero-width`]:parseFloat(Se)===0},Ye);return Ce.createElement("aside",Object.assign({className:At},he,{style:gt,ref:Ne}),Ce.createElement("div",{className:`${Le}-children`},ke),ut||Rn&&qe?bt:null)},fn=Ce.useMemo(()=>({siderCollapsed:Nt}),[Nt]);return Ce.createElement(ne.Provider,{value:fn},Xe())})},84966:function(Vt,Ut,ve){"use strict";ve.d(Ut,{VY:function(){return ne},$_:function(){return te},h4:function(){return b},Gs:function(){return be},ZP:function(){return ae}});var le=ve(94480),Ce=ve(92310),je=ve.n(Ce),nt=ve(2738),ze=ve(59301),Re=ve(36355),Be=ve(83116),De=fe=>{const{componentCls:xe,bodyBg:Pe,lightSiderBg:Ne,lightTriggerBg:Ge,lightTriggerColor:Ye}=fe;return{[`${xe}-sider-light`]:{background:Ne,[`${xe}-sider-trigger`]:{color:Ye,background:Ge},[`${xe}-sider-zero-width-trigger`]:{color:Ye,background:Ge,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const ce=fe=>{const{antCls:xe,componentCls:Pe,colorText:Ne,triggerColor:Ge,footerBg:Ye,triggerBg:et,headerHeight:ke,headerPadding:ht,headerColor:Oe,footerPadding:xt,triggerHeight:ut,zeroTriggerHeight:ot,zeroTriggerWidth:Et,motionDurationMid:ct,motionDurationSlow:Bt,fontSize:st,borderRadius:rt,bodyBg:Rt,headerBg:An,siderBg:ft}=fe;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rt,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:ft,transition:`all ${ct}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${xe}-menu${xe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:ut},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:ut,color:Ge,lineHeight:`${ut}px`,textAlign:"center",background:et,cursor:"pointer",transition:`all ${ct}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ke,insetInlineEnd:-Et,zIndex:1,width:Et,height:ot,color:Ge,fontSize:fe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ft,borderStartStartRadius:0,borderStartEndRadius:rt,borderEndEndRadius:rt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Bt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Bt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Et,borderStartStartRadius:rt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:rt}}}}},De(fe)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:ke,padding:ht,color:Oe,lineHeight:`${ke}px`,background:An,[`${xe}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:xt,color:Ne,fontSize:st,background:Ye},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var Ue=(0,Be.Z)("Layout",fe=>[ce(fe)],fe=>{const{colorBgLayout:xe,controlHeight:Pe,controlHeightLG:Ne,colorText:Ge,controlHeightSM:Ye,marginXXS:et,colorTextLightSolid:ke,colorBgContainer:ht}=fe,Oe=Ne*1.25;return{colorBgHeader:"#001529",colorBgBody:xe,colorBgTrigger:"#002140",bodyBg:xe,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${Oe}px`,headerColor:Ge,footerPadding:`${Ye}px ${Oe}px`,footerBg:xe,siderBg:"#001529",triggerHeight:Ne+et*2,triggerBg:"#002140",triggerColor:ke,zeroTriggerWidth:Ne,zeroTriggerHeight:Ne,lightSiderBg:ht,lightTriggerBg:ht,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Fe=function(fe,xe){var Pe={};for(var Ne in fe)Object.prototype.hasOwnProperty.call(fe,Ne)&&xe.indexOf(Ne)<0&&(Pe[Ne]=fe[Ne]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ne=Object.getOwnPropertySymbols(fe);Genull,removeSider:()=>null}});function ie(fe){let{suffixCls:xe,tagName:Pe,displayName:Ne}=fe;return Ge=>ze.forwardRef((et,ke)=>ze.createElement(Ge,Object.assign({ref:ke,suffixCls:xe,tagName:Pe},et)))}const y=ze.forwardRef((fe,xe)=>{const{prefixCls:Pe,suffixCls:Ne,className:Ge,tagName:Ye}=fe,et=Fe(fe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ke}=ze.useContext(Re.E_),ht=ke("layout",Pe),[Oe,xt]=Ue(ht),ut=Ne?`${ht}-${Ne}`:ht;return Oe(ze.createElement(Ye,Object.assign({className:je()(Pe||ut,Ge,xt),ref:xe},et)))}),a=ze.forwardRef((fe,xe)=>{const{direction:Pe}=ze.useContext(Re.E_),[Ne,Ge]=ze.useState([]),{prefixCls:Ye,className:et,rootClassName:ke,children:ht,hasSider:Oe,tagName:xt,style:ut}=fe,ot=Fe(fe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Et=(0,nt.Z)(ot,["suffixCls"]),{getPrefixCls:ct,layout:Bt}=ze.useContext(Re.E_),st=ct("layout",Ye),[rt,Rt]=Ue(st),An=je()(st,{[`${st}-has-sider`]:typeof Oe=="boolean"?Oe:Ne.length>0,[`${st}-rtl`]:Pe==="rtl"},Bt==null?void 0:Bt.className,et,ke,Rt),ft=ze.useMemo(()=>({siderHook:{addSider:Nt=>{Ge(yn=>[].concat((0,le.Z)(yn),[Nt]))},removeSider:Nt=>{Ge(yn=>yn.filter(Rn=>Rn!==Nt))}}}),[]);return rt(ze.createElement(be.Provider,{value:ft},ze.createElement(xt,Object.assign({ref:xe,className:An,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),ut)},Et),ht)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),b=ie({suffixCls:"header",tagName:"header",displayName:"Header"})(y),te=ie({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=ie({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=ee},40875:function(Vt,Ut,ve){"use strict";ve.d(Ut,{J:function(){return Re}});var le=ve(59301),Ce=ve(33234),je=ve(70425),nt=function(Be,we){var De={};for(var ce in Be)Object.prototype.hasOwnProperty.call(Be,ce)&&we.indexOf(ce)<0&&(De[ce]=Be[ce]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,ce=Object.getOwnPropertySymbols(Be);Ue{const{children:De}=Be,ce=nt(Be,["children"]),Ue=le.useContext(ze),Fe=le.useMemo(()=>Object.assign(Object.assign({},Ue),ce),[Ue,ce.prefixCls,ce.mode,ce.selectable]);return le.createElement(ze.Provider,{value:Fe},le.createElement(Ce.BR,null,(0,je.supportNodeRef)(De)?le.cloneElement(De,{ref:we}):De))});Ut.Z=ze},20834:function(Vt,Ut,ve){"use strict";ve.d(Ut,{default:function(){return fn}});var le=ve(15285),Ce=ve(59301),je=ve(45818),nt=ve(92310),ze=ve.n(nt),Re=ve(36355),Be=function(Le,he){var ge={};for(var Se in Le)Object.prototype.hasOwnProperty.call(Le,Se)&&he.indexOf(Se)<0&&(ge[Se]=Le[Se]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Le);qe{const{prefixCls:he,className:ge,dashed:Se}=Le,qe=Be(Le,["prefixCls","className","dashed"]),{getPrefixCls:pt}=Ce.useContext(Re.E_),He=pt("menu",he),Ve=ze()({[`${He}-item-divider-dashed`]:!!Se},ge);return Ce.createElement(le.iz,Object.assign({className:Ve},qe))},ce=ve(11592),Ue=ve(2738),Fe=ve(6848),be=ve(92343),y=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Le=>{var he;const{className:ge,children:Se,icon:qe,title:pt,danger:He}=Le,{prefixCls:Ve,firstLevel:bt,direction:gt,disableMenuItemTitleTooltip:At,inlineCollapsed:jt}=Ce.useContext(y),kn=Yt=>{const hn=Ce.createElement("span",{className:`${Ve}-title-content`},Se);return(!qe||(0,be.l$)(Se)&&Se.type==="span")&&Se&&Yt&&bt&&typeof Se=="string"?Ce.createElement("div",{className:`${Ve}-inline-collapsed-noicon`},Se.charAt(0)):hn},{siderCollapsed:It}=Ce.useContext(je.D);let on=pt;typeof pt=="undefined"?on=bt?Se:"":pt===!1&&(on="");const Mt={title:on};!It&&!jt&&(Mt.title=null,Mt.open=!1);const En=(0,ce.Z)(Se).length;let lt=Ce.createElement(le.ck,Object.assign({},(0,Ue.Z)(Le,["title","icon","danger"]),{className:ze()({[`${Ve}-item-danger`]:He,[`${Ve}-item-only-child`]:(qe?En+1:En)===1},ge),title:typeof pt=="string"?pt:void 0}),(0,be.Tm)(qe,{className:ze()((0,be.l$)(qe)?(he=qe.props)===null||he===void 0?void 0:he.className:"",`${Ve}-item-icon`)}),kn(jt));return At||(lt=Ce.createElement(Fe.Z,Object.assign({},Mt,{placement:gt==="rtl"?"left":"right",overlayClassName:`${Ve}-inline-collapsed-tooltip`}),lt)),lt},te=Le=>{var he;const{popupClassName:ge,icon:Se,title:qe,theme:pt}=Le,He=Ce.useContext(y),{prefixCls:Ve,inlineCollapsed:bt,theme:gt}=He,At=(0,le.Xl)();let jt;if(!Se)jt=bt&&!At.length&&qe&&typeof qe=="string"?Ce.createElement("div",{className:`${Ve}-inline-collapsed-noicon`},qe.charAt(0)):Ce.createElement("span",{className:`${Ve}-title-content`},qe);else{const It=(0,be.l$)(qe)&&qe.type==="span";jt=Ce.createElement(Ce.Fragment,null,(0,be.Tm)(Se,{className:ze()((0,be.l$)(Se)?(he=Se.props)===null||he===void 0?void 0:he.className:"",`${Ve}-item-icon`)}),It?qe:Ce.createElement("span",{className:`${Ve}-title-content`},qe))}const kn=Ce.useMemo(()=>Object.assign(Object.assign({},He),{firstLevel:!1}),[He]);return Ce.createElement(y.Provider,{value:kn},Ce.createElement(le.Wd,Object.assign({},(0,Ue.Z)(Le,["icon"]),{title:jt,popupClassName:ze()(Ve,ge,`${Ve}-${pt||gt}`)})))},ne=ve(18785),ae=ve(70425),fe=ve(62892),xe=ve(40875),Pe=function(Le,he){var ge={};for(var Se in Le)Object.prototype.hasOwnProperty.call(Le,Se)&&he.indexOf(Se)<0&&(ge[Se]=Le[Se]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Le);qe{if(he&&typeof he=="object"){const Se=he,{label:qe,children:pt,key:He,type:Ve}=Se,bt=Pe(Se,["label","children","key","type"]),gt=He!=null?He:`tmp-${ge}`;return pt||Ve==="group"?Ve==="group"?Ce.createElement(le.BW,Object.assign({key:gt},bt,{title:qe}),Ne(pt)):Ce.createElement(te,Object.assign({key:gt},bt,{title:qe}),Ne(pt)):Ve==="divider"?Ce.createElement(De,Object.assign({key:gt},bt)):Ce.createElement(ee,Object.assign({key:gt},bt),qe)}return null}).filter(he=>he)}function Ge(Le){return Ce.useMemo(()=>Le&&Ne(Le),[Le])}var Ye=ve(64993),et=ve(17313),ke=ve(8378),ht=ve(13826),Oe=ve(29878),xt=ve(83116),ut=ve(37613),Et=Le=>{const{componentCls:he,motionDurationSlow:ge,horizontalLineHeight:Se,colorSplit:qe,lineWidth:pt,lineType:He,itemPaddingInline:Ve}=Le;return{[`${he}-horizontal`]:{lineHeight:Se,border:0,borderBottom:`${pt}px ${He} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${he}-item, ${he}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ve},[`> ${he}-item:hover, > ${he}-item-active, > ${he}-submenu ${he}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${he}-item, ${he}-submenu-title`]:{transition:[`border-color ${ge}`,`background ${ge}`].join(",")},[`${he}-submenu-arrow`]:{display:"none"}}}},Bt=Le=>{let{componentCls:he,menuArrowOffset:ge}=Le;return{[`${he}-rtl`]:{direction:"rtl"},[`${he}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${he}-rtl${he}-vertical, ${he}-submenu-rtl ${he}-vertical`]:{[`${he}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ge})`},"&::after":{transform:`rotate(45deg) translateY(${ge})`}}}}};const st=Le=>Object.assign({},(0,et.oN)(Le));var Rt=(Le,he)=>{const{componentCls:ge,itemColor:Se,itemSelectedColor:qe,groupTitleColor:pt,itemBg:He,subMenuItemBg:Ve,itemSelectedBg:bt,activeBarHeight:gt,activeBarWidth:At,activeBarBorderWidth:jt,motionDurationSlow:kn,motionEaseInOut:It,motionEaseOut:on,itemPaddingInline:Mt,motionDurationMid:En,itemHoverColor:lt,lineType:Yt,colorSplit:hn,itemDisabledColor:Sn,dangerItemColor:Jn,dangerItemHoverColor:ur,dangerItemSelectedColor:Lr,dangerItemActiveBg:Fr,dangerItemSelectedBg:fr,itemHoverBg:ir,itemActiveBg:hr,menuSubMenuBg:Hr,horizontalItemSelectedColor:zr,horizontalItemSelectedBg:La,horizontalItemBorderRadius:cr,horizontalItemHoverBg:ao,popupBg:no}=Le;return{[`${ge}-${he}, ${ge}-${he} > ${ge}`]:{color:Se,background:He,[`&${ge}-root:focus-visible`]:Object.assign({},st(Le)),[`${ge}-item-group-title`]:{color:pt},[`${ge}-submenu-selected`]:{[`> ${ge}-submenu-title`]:{color:qe}},[`${ge}-item-disabled, ${ge}-submenu-disabled`]:{color:`${Sn} !important`},[`${ge}-item:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{[`&:hover, > ${ge}-submenu-title:hover`]:{color:lt}},[`&:not(${ge}-horizontal)`]:{[`${ge}-item:not(${ge}-item-selected)`]:{"&:hover":{backgroundColor:ir},"&:active":{backgroundColor:hr}},[`${ge}-submenu-title`]:{"&:hover":{backgroundColor:ir},"&:active":{backgroundColor:hr}}},[`${ge}-item-danger`]:{color:Jn,[`&${ge}-item:hover`]:{[`&:not(${ge}-item-selected):not(${ge}-submenu-selected)`]:{color:ur}},[`&${ge}-item:active`]:{background:Fr}},[`${ge}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ge}-item-selected`]:{color:qe,[`&${ge}-item-danger`]:{color:Lr},"a, a:hover":{color:"inherit"}},[`& ${ge}-item-selected`]:{backgroundColor:bt,[`&${ge}-item-danger`]:{backgroundColor:fr}},[`${ge}-item, ${ge}-submenu-title`]:{[`&:not(${ge}-item-disabled):focus-visible`]:Object.assign({},st(Le))},[`&${ge}-submenu > ${ge}`]:{backgroundColor:Hr},[`&${ge}-popup > ${ge}`]:{backgroundColor:no},[`&${ge}-horizontal`]:Object.assign(Object.assign({},he==="dark"?{borderBottom:0}:{}),{[`> ${ge}-item, > ${ge}-submenu`]:{top:jt,marginTop:-jt,marginBottom:0,borderRadius:cr,"&::after":{position:"absolute",insetInline:Mt,bottom:0,borderBottom:`${gt}px solid transparent`,transition:`border-color ${kn} ${It}`,content:'""'},"&:hover, &-active, &-open":{background:ao,"&::after":{borderBottomWidth:gt,borderBottomColor:zr}},"&-selected":{color:zr,backgroundColor:La,"&:hover":{backgroundColor:La},"&::after":{borderBottomWidth:gt,borderBottomColor:zr}}}}),[`&${ge}-root`]:{[`&${ge}-inline, &${ge}-vertical`]:{borderInlineEnd:`${jt}px ${Yt} ${hn}`}},[`&${ge}-inline`]:{[`${ge}-sub${ge}-inline`]:{background:Ve},[`${ge}-item, ${ge}-submenu-title`]:jt&&At?{width:`calc(100% + ${jt}px)`}:{},[`${ge}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${At}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${En} ${on}`,`opacity ${En} ${on}`].join(","),content:'""'},[`&${ge}-item-danger`]:{"&::after":{borderInlineEndColor:Lr}}},[`${ge}-selected, ${ge}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${En} ${It}`,`opacity ${En} ${It}`].join(",")}}}}}};const An=Le=>{const{componentCls:he,itemHeight:ge,itemMarginInline:Se,padding:qe,menuArrowSize:pt,marginXS:He,itemMarginBlock:Ve}=Le,bt=qe+pt+He;return{[`${he}-item`]:{position:"relative",overflow:"hidden"},[`${he}-item, ${he}-submenu-title`]:{height:ge,lineHeight:`${ge}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Se,marginBlock:Ve,width:`calc(100% - ${Se*2}px)`},[`> ${he}-item, > ${he}-submenu > ${he}-submenu-title`]:{height:ge,lineHeight:`${ge}px`},[`${he}-item-group-list ${he}-submenu-title, ${he}-submenu-title`]:{paddingInlineEnd:bt}}};var Nt=Le=>{const{componentCls:he,iconCls:ge,itemHeight:Se,colorTextLightSolid:qe,dropdownWidth:pt,controlHeightLG:He,motionDurationMid:Ve,motionEaseOut:bt,paddingXL:gt,itemMarginInline:At,fontSizeLG:jt,motionDurationSlow:kn,paddingXS:It,boxShadowSecondary:on,collapsedWidth:Mt,collapsedIconSize:En}=Le,lt={height:Se,lineHeight:`${Se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[he]:{"&-inline, &-vertical":Object.assign({[`&${he}-root`]:{boxShadow:"none"}},An(Le))},[`${he}-submenu-popup`]:{[`${he}-vertical`]:Object.assign(Object.assign({},An(Le)),{boxShadow:on})}},{[`${he}-submenu-popup ${he}-vertical${he}-sub`]:{minWidth:pt,maxHeight:`calc(100vh - ${He*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${he}-inline`]:{width:"100%",[`&${he}-root`]:{[`${he}-item, ${he}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${kn}`,`background ${kn}`,`padding ${Ve} ${bt}`].join(","),[`> ${he}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${he}-sub${he}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${he}-submenu > ${he}-submenu-title`]:lt,[`& ${he}-item-group-title`]:{paddingInlineStart:gt}},[`${he}-item`]:lt}},{[`${he}-inline-collapsed`]:{width:Mt,[`&${he}-root`]:{[`${he}-item, ${he}-submenu ${he}-submenu-title`]:{[`> ${he}-inline-collapsed-noicon`]:{fontSize:jt,textAlign:"center"}}},[`> ${he}-item, > ${he}-item-group > ${he}-item-group-list > ${he}-item, > ${he}-item-group > ${he}-item-group-list > ${he}-submenu > ${he}-submenu-title, > ${he}-submenu > ${he}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${jt/2}px - ${At}px)`,textOverflow:"clip",[` ${he}-submenu-arrow, ${he}-submenu-expand-icon `]:{opacity:0},[`${he}-item-icon, ${ge}`]:{margin:0,fontSize:En,lineHeight:`${Se}px`,"+ span":{display:"inline-block",opacity:0}}},[`${he}-item-icon, ${ge}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${he}-item-icon, ${ge}`]:{display:"none"},"a, a:hover":{color:qe}},[`${he}-item-group-title`]:Object.assign(Object.assign({},et.vS),{paddingInline:It})}}]};const yn=Le=>{const{componentCls:he,motionDurationSlow:ge,motionDurationMid:Se,motionEaseInOut:qe,motionEaseOut:pt,iconCls:He,iconSize:Ve,iconMarginInlineEnd:bt}=Le;return{[`${he}-item, ${he}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ge}`,`background ${ge}`,`padding ${ge} ${qe}`].join(","),[`${he}-item-icon, ${He}`]:{minWidth:Ve,fontSize:Ve,transition:[`font-size ${Se} ${pt}`,`margin ${ge} ${qe}`,`color ${ge}`].join(","),"+ span":{marginInlineStart:bt,opacity:1,transition:[`opacity ${ge} ${qe}`,`margin ${ge}`,`color ${ge}`].join(",")}},[`${he}-item-icon`]:Object.assign({},(0,et.Ro)()),[`&${he}-item-only-child`]:{[`> ${He}, > ${he}-item-icon`]:{marginInlineEnd:0}}},[`${he}-item-disabled, ${he}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${he}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Rn=Le=>{const{componentCls:he,motionDurationSlow:ge,motionEaseInOut:Se,borderRadius:qe,menuArrowSize:pt,menuArrowOffset:He}=Le;return{[`${he}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Le.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ge} ${Se}, opacity ${ge}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:pt*.6,height:pt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${ge} ${Se}`,`transform ${ge} ${Se}`,`top ${ge} ${Se}`,`color ${ge} ${Se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${He})`},"&::after":{transform:`rotate(-45deg) translateY(${He})`}}}}},un=Le=>{const{antCls:he,componentCls:ge,fontSize:Se,motionDurationSlow:qe,motionDurationMid:pt,motionEaseInOut:He,paddingXS:Ve,padding:bt,colorSplit:gt,lineWidth:At,zIndexPopup:jt,borderRadiusLG:kn,subMenuItemBorderRadius:It,menuArrowSize:on,menuArrowOffset:Mt,lineType:En,menuPanelMaskInset:lt,groupTitleLineHeight:Yt,groupTitleFontSize:hn}=Le;return[{"":{[`${ge}`]:Object.assign(Object.assign({},(0,et.dF)()),{"&-hidden":{display:"none"}})},[`${ge}-submenu-hidden`]:{display:"none"}},{[ge]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(Le)),(0,et.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Se,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",[`${ge}-item`]:{flex:"none"}},[`${ge}-item, ${ge}-submenu, ${ge}-submenu-title`]:{borderRadius:Le.itemBorderRadius},[`${ge}-item-group-title`]:{padding:`${Ve}px ${bt}px`,fontSize:hn,lineHeight:Yt,transition:`all ${qe}`},[`&-horizontal ${ge}-submenu`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`].join(",")},[`${ge}-submenu, ${ge}-submenu-inline`]:{transition:[`border-color ${qe} ${He}`,`background ${qe} ${He}`,`padding ${pt} ${He}`].join(",")},[`${ge}-submenu ${ge}-sub`]:{cursor:"initial",transition:[`background ${qe} ${He}`,`padding ${qe} ${He}`].join(",")},[`${ge}-title-content`]:{transition:`color ${qe}`},[`${ge}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ge}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:gt,borderStyle:En,borderWidth:0,borderTopWidth:At,marginBlock:At,padding:0,"&-dashed":{borderStyle:"dashed"}}}),yn(Le)),{[`${ge}-item-group`]:{[`${ge}-item-group-list`]:{margin:0,padding:0,[`${ge}-item, ${ge}-submenu-title`]:{paddingInline:`${Se*2}px ${bt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:jt,borderRadius:kn,boxShadow:"none",transformOrigin:"0 0",[`&${ge}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${lt}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:lt},"\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:Le.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Le.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Le.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Le.paddingXS},[`> ${ge}`]:Object.assign(Object.assign(Object.assign({borderRadius:kn},yn(Le)),Rn(Le)),{[`${ge}-item, ${ge}-submenu > ${ge}-submenu-title`]:{borderRadius:It},[`${ge}-submenu-title::after`]:{transition:`transform ${qe} ${He}`}})}}),Rn(Le)),{[`&-inline-collapsed ${ge}-submenu-arrow, &-inline ${ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Mt})`},"&::after":{transform:`rotate(45deg) translateX(-${Mt})`}},[`${ge}-submenu-open${ge}-submenu-inline > ${ge}-submenu-title > ${ge}-submenu-arrow`]:{transform:`translateY(-${on*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Mt})`},"&::before":{transform:`rotate(45deg) translateX(${Mt})`}}})},{[`${he}-layout-header`]:{[ge]:{lineHeight:"inherit"}}}]};var Kn=(Le,he)=>(0,xt.Z)("Menu",Se=>{if(he===!1)return[];const{colorBgElevated:qe,colorPrimary:pt,colorTextLightSolid:He,controlHeightLG:Ve,fontSize:bt,darkItemColor:gt,darkDangerItemColor:At,darkItemBg:jt,darkSubMenuItemBg:kn,darkItemSelectedColor:It,darkItemSelectedBg:on,darkDangerItemSelectedBg:Mt,darkItemHoverBg:En,darkGroupTitleColor:lt,darkItemHoverColor:Yt,darkItemDisabledColor:hn,darkDangerItemHoverColor:Sn,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:ur}=Se,Lr=bt/7*5,Fr=(0,ut.TS)(Se,{menuArrowSize:Lr,menuHorizontalHeight:Ve*1.15,menuArrowOffset:`${Lr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),fr=(0,ut.TS)(Fr,{itemColor:gt,itemHoverColor:Yt,groupTitleColor:lt,itemSelectedColor:It,itemBg:jt,popupBg:jt,subMenuItemBg:kn,itemActiveBg:"transparent",itemSelectedBg:on,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:En,itemDisabledColor:hn,dangerItemColor:At,dangerItemHoverColor:Sn,dangerItemSelectedColor:Jn,dangerItemActiveBg:ur,dangerItemSelectedBg:Mt,menuSubMenuBg:kn,horizontalItemSelectedColor:He,horizontalItemSelectedBg:pt});return[un(Fr),Et(Fr),Nt(Fr),Rt(Fr,"light"),Rt(fr,"dark"),Bt(Fr),(0,ke.Z)(Fr),(0,ht.oN)(Fr,"slide-up"),(0,ht.oN)(Fr,"slide-down"),(0,Oe._y)(Fr,"zoom-big")]},Se=>{const{colorPrimary:qe,colorError:pt,colorTextDisabled:He,colorErrorBg:Ve,colorText:bt,colorTextDescription:gt,colorBgContainer:At,colorFillAlter:jt,colorFillContent:kn,lineWidth:It,lineWidthBold:on,controlItemBgActive:Mt,colorBgTextHover:En,controlHeightLG:lt,lineHeight:Yt,colorBgElevated:hn,marginXXS:Sn,padding:Jn,fontSize:ur,controlHeightSM:Lr,fontSizeLG:Fr,colorTextLightSolid:fr,colorErrorHover:ir}=Se,hr=new Ye.C(fr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Se.zIndexPopupBase+50,radiusItem:Se.borderRadiusLG,itemBorderRadius:Se.borderRadiusLG,radiusSubMenuItem:Se.borderRadiusSM,subMenuItemBorderRadius:Se.borderRadiusSM,colorItemText:bt,itemColor:bt,colorItemTextHover:bt,itemHoverColor:bt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:gt,groupTitleColor:gt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:At,itemBg:At,colorItemBgHover:En,itemHoverBg:En,colorItemBgActive:kn,itemActiveBg:Mt,colorSubItemBg:jt,subMenuItemBg:jt,colorItemBgSelected:Mt,itemSelectedBg:Mt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:on,activeBarHeight:on,colorActiveBarBorderSize:It,activeBarBorderWidth:It,colorItemTextDisabled:He,itemDisabledColor:He,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Ve,dangerItemActiveBg:Ve,colorDangerItemBgSelected:Ve,dangerItemSelectedBg:Ve,itemMarginInline:Se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:lt,groupTitleLineHeight:Yt,collapsedWidth:lt*2,popupBg:hn,itemMarginBlock:Sn,itemPaddingInline:Jn,horizontalLineHeight:`${lt*1.15}px`,iconSize:ur,iconMarginInlineEnd:Lr-ur,collapsedIconSize:Fr,groupTitleFontSize:ur,darkItemDisabledColor:new Ye.C(fr).setAlpha(.25).toRgbString(),darkItemColor:hr,darkDangerItemColor:pt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:fr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:hr,darkItemHoverColor:fr,darkDangerItemHoverColor:ir,darkDangerItemSelectedColor:fr,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"]]})(Le),wt=function(Le,he){var ge={};for(var Se in Le)Object.prototype.hasOwnProperty.call(Le,Se)&&he.indexOf(Se)<0&&(ge[Se]=Le[Se]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Le);qe{var ge,Se;const qe=Ce.useContext(xe.Z),pt=qe||{},{getPrefixCls:He,getPopupContainer:Ve,direction:bt,menu:gt}=Ce.useContext(Re.E_),At=He(),{prefixCls:jt,className:kn,style:It,theme:on="light",expandIcon:Mt,_internalDisableMenuItemTitleTooltip:En,inlineCollapsed:lt,siderCollapsed:Yt,items:hn,children:Sn,rootClassName:Jn,mode:ur,selectable:Lr,onClick:Fr,overflowedIndicatorPopupClassName:fr}=Le,ir=wt(Le,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),hr=(0,Ue.Z)(ir,["collapsedWidth"]),Hr=Ge(hn)||Sn;(ge=pt.validator)===null||ge===void 0||ge.call(pt,{mode:ur});const zr=(0,ae.useEvent)(function(){var Na;Fr==null||Fr.apply(void 0,arguments),(Na=pt.onClick)===null||Na===void 0||Na.call(pt)}),La=pt.mode||ur,cr=Lr!=null?Lr:pt.selectable,ao=Ce.useMemo(()=>Yt!==void 0?Yt:lt,[lt,Yt]),no={horizontal:{motionName:`${At}-slide-up`},inline:(0,fe.Z)(At),other:{motionName:`${At}-zoom-big`}},Yr=He("menu",jt||pt.prefixCls),[rn,hi]=Kn(Yr,!qe),ha=ze()(`${Yr}-${on}`,gt==null?void 0:gt.className,kn);let Li;if(typeof Mt=="function")Li=Mt;else if(Mt===null||Mt===!1)Li=null;else if(pt.expandIcon===null||pt.expandIcon===!1)Li=null;else{const Na=Mt!=null?Mt:pt.expandIcon;Li=(0,be.Tm)(Na,{className:ze()(`${Yr}-submenu-expand-icon`,(0,be.l$)(Na)?(Se=Na.props)===null||Se===void 0?void 0:Se.className:"")})}const Wi=Ce.useMemo(()=>({prefixCls:Yr,inlineCollapsed:ao||!1,direction:bt,firstLevel:!0,theme:on,mode:La,disableMenuItemTitleTooltip:En}),[Yr,ao,bt,En,on]);return rn(Ce.createElement(xe.Z.Provider,{value:null},Ce.createElement(y.Provider,{value:Wi},Ce.createElement(le.ZP,Object.assign({getPopupContainer:Ve,overflowedIndicator:Ce.createElement(ne.Z,null),overflowedIndicatorPopupClassName:ze()(Yr,`${Yr}-${on}`,fr),mode:La,selectable:cr,onClick:zr},hr,{inlineCollapsed:ao,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),It),className:ha,prefixCls:Yr,direction:bt,defaultMotions:no,expandIcon:Li,ref:he,rootClassName:ze()(Jn,hi)}),Hr))))});const Xe=(0,Ce.forwardRef)((Le,he)=>{const ge=(0,Ce.useRef)(null),Se=Ce.useContext(je.D);return(0,Ce.useImperativeHandle)(he,()=>({menu:ge.current,focus:qe=>{var pt;(pt=ge.current)===null||pt===void 0||pt.focus(qe)}})),Ce.createElement(Wn,Object.assign({ref:ge},Le,Se))});Xe.Item=ee,Xe.SubMenu=te,Xe.Divider=De,Xe.ItemGroup=le.BW;var fn=Xe},58421:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return pt}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nt=je,ze=ve(7657),Re=function(Ve,bt){return Ce.createElement(ze.Z,(0,le.Z)({},Ve,{ref:bt,icon:nt}))},Be=Ce.forwardRef(Re),we=Be,De=ve(49198),ce=ve(33853),Ue=ve(38819),Fe=ve(92310),be=ve.n(Fe),ie=ve(20068),y=ve(33885),a=ve(67732),ee=ve(83652),b=ve(42403),te=ve(158),ne=ve(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},fe=ae,xe=ve(91735),Pe=function(He){(0,b.Z)(bt,He);var Ve=(0,te.Z)(bt);function bt(){var gt;(0,a.Z)(this,bt);for(var At=arguments.length,jt=new Array(At),kn=0;kn=0||It.relatedTarget.className.indexOf("".concat(lt,"-item"))>=0))&&En(gt.getValidValue()))},gt.go=function(It){var on=gt.state.goInputText;on!==""&&(It.keyCode===fe.ENTER||It.type==="click")&&(gt.setState({goInputText:""}),gt.props.quickGo(gt.getValidValue()))},gt}return(0,ee.Z)(bt,[{key:"getPageSizeOptions",value:function(){var At=this.props,jt=At.pageSize,kn=At.pageSizeOptions;return kn.some(function(It){return It.toString()===jt.toString()})?kn:kn.concat([jt.toString()]).sort(function(It,on){var Mt=Number.isNaN(Number(It))?0:Number(It),En=Number.isNaN(Number(on))?0:Number(on);return Mt-En})}},{key:"render",value:function(){var At=this,jt=this.props,kn=jt.pageSize,It=jt.locale,on=jt.rootPrefixCls,Mt=jt.changeSize,En=jt.quickGo,lt=jt.goButton,Yt=jt.selectComponentClass,hn=jt.buildOptionText,Sn=jt.selectPrefixCls,Jn=jt.disabled,ur=this.state.goInputText,Lr="".concat(on,"-options"),Fr=Yt,fr=null,ir=null,hr=null;if(!Mt&&!En)return null;var Hr=this.getPageSizeOptions();if(Mt&&Fr){var zr=Hr.map(function(La,cr){return Ce.createElement(Fr.Option,{key:cr,value:La.toString()},(hn||At.buildOptionText)(La))});fr=Ce.createElement(Fr,{disabled:Jn,prefixCls:Sn,showSearch:!1,className:"".concat(Lr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(kn||Hr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(cr){return cr.parentNode},"aria-label":It.page_size,defaultOpen:!1},zr)}return En&&(lt&&(hr=typeof lt=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Jn,className:"".concat(Lr,"-quick-jumper-button")},It.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},lt)),ir=Ce.createElement("div",{className:"".concat(Lr,"-quick-jumper")},It.jump_to,Ce.createElement("input",{disabled:Jn,type:"text",value:ur,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":It.page}),It.page,hr)),Ce.createElement("li",{className:"".concat(Lr)},fr,ir)}}]),bt}(Ce.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ne=Pe,Ge=function(Ve){var bt,gt=Ve.rootPrefixCls,At=Ve.page,jt=Ve.active,kn=Ve.className,It=Ve.showTitle,on=Ve.onClick,Mt=Ve.onKeyPress,En=Ve.itemRender,lt="".concat(gt,"-item"),Yt=be()(lt,"".concat(lt,"-").concat(At),(bt={},(0,ie.Z)(bt,"".concat(lt,"-active"),jt),(0,ie.Z)(bt,"".concat(lt,"-disabled"),!At),(0,ie.Z)(bt,Ve.className,kn),bt)),hn=function(){on(At)},Sn=function(Lr){Mt(Lr,on,At)},Jn=En(At,"page",Ce.createElement("a",{rel:"nofollow"},At));return Jn?Ce.createElement("li",{title:It?At.toString():null,className:Yt,onClick:hn,onKeyPress:Sn,tabIndex:0},Jn):null},Ye=Ge;function et(){}function ke(He){var Ve=Number(He);return typeof Ve=="number"&&!Number.isNaN(Ve)&&isFinite(Ve)&&Math.floor(Ve)===Ve}var ht=function(Ve,bt,gt){return gt};function Oe(He,Ve,bt){var gt=typeof He=="undefined"?Ve.pageSize:He;return Math.floor((bt.total-1)/gt)+1}var xt=function(He){(0,b.Z)(bt,He);var Ve=(0,te.Z)(bt);function bt(gt){var At;(0,a.Z)(this,bt),At=Ve.call(this,gt),At.paginationNode=Ce.createRef(),At.getJumpPrevPage=function(){return Math.max(1,At.state.current-(At.props.showLessItems?3:5))},At.getJumpNextPage=function(){return Math.min(Oe(void 0,At.state,At.props),At.state.current+(At.props.showLessItems?3:5))},At.getItemIcon=function(Mt,En){var lt=At.props.prefixCls,Yt=Mt||Ce.createElement("button",{type:"button","aria-label":En,className:"".concat(lt,"-item-link")});return typeof Mt=="function"&&(Yt=Ce.createElement(Mt,(0,y.Z)({},At.props))),Yt},At.isValid=function(Mt){var En=At.props.total;return ke(Mt)&&Mt!==At.state.current&&ke(En)&&En>0},At.shouldDisplayQuickJumper=function(){var Mt=At.props,En=Mt.showQuickJumper,lt=Mt.total,Yt=At.state.pageSize;return lt<=Yt?!1:En},At.handleKeyDown=function(Mt){(Mt.keyCode===fe.ARROW_UP||Mt.keyCode===fe.ARROW_DOWN)&&Mt.preventDefault()},At.handleKeyUp=function(Mt){var En=At.getValidValue(Mt),lt=At.state.currentInputValue;En!==lt&&At.setState({currentInputValue:En}),Mt.keyCode===fe.ENTER?At.handleChange(En):Mt.keyCode===fe.ARROW_UP?At.handleChange(En-1):Mt.keyCode===fe.ARROW_DOWN&&At.handleChange(En+1)},At.handleBlur=function(Mt){var En=At.getValidValue(Mt);At.handleChange(En)},At.changePageSize=function(Mt){var En=At.state.current,lt=Oe(Mt,At.state,At.props);En=En>lt?lt:En,lt===0&&(En=At.state.current),typeof Mt=="number"&&("pageSize"in At.props||At.setState({pageSize:Mt}),"current"in At.props||At.setState({current:En,currentInputValue:En})),At.props.onShowSizeChange(En,Mt),"onChange"in At.props&&At.props.onChange&&At.props.onChange(En,Mt)},At.handleChange=function(Mt){var En=At.props,lt=En.disabled,Yt=En.onChange,hn=At.state,Sn=hn.pageSize,Jn=hn.current,ur=hn.currentInputValue;if(At.isValid(Mt)&&!lt){var Lr=Oe(void 0,At.state,At.props),Fr=Mt;return Mt>Lr?Fr=Lr:Mt<1&&(Fr=1),"current"in At.props||At.setState({current:Fr}),Fr!==ur&&At.setState({currentInputValue:Fr}),Yt(Fr,Sn),Fr}return Jn},At.prev=function(){At.hasPrev()&&At.handleChange(At.state.current-1)},At.next=function(){At.hasNext()&&At.handleChange(At.state.current+1)},At.jumpPrev=function(){At.handleChange(At.getJumpPrevPage())},At.jumpNext=function(){At.handleChange(At.getJumpNextPage())},At.hasPrev=function(){return At.state.current>1},At.hasNext=function(){return At.state.current2?lt-2:0),hn=2;hn=kn?on=kn:on=Number(jt),on}},{key:"getShowSizeChanger",value:function(){var At=this.props,jt=At.showSizeChanger,kn=At.total,It=At.totalBoundaryShowSizeChanger;return typeof jt!="undefined"?jt:kn>It}},{key:"render",value:function(){var At=this.props,jt=At.prefixCls,kn=At.className,It=At.style,on=At.disabled,Mt=At.hideOnSinglePage,En=At.total,lt=At.locale,Yt=At.showQuickJumper,hn=At.showLessItems,Sn=At.showTitle,Jn=At.showTotal,ur=At.simple,Lr=At.itemRender,Fr=At.showPrevNextJumpers,fr=At.jumpPrevIcon,ir=At.jumpNextIcon,hr=At.selectComponentClass,Hr=At.selectPrefixCls,zr=At.pageSizeOptions,La=this.state,cr=La.current,ao=La.pageSize,no=La.currentInputValue;if(Mt===!0&&En<=ao)return null;var Yr=Oe(void 0,this.state,this.props),rn=[],hi=null,ha=null,Li=null,Wi=null,Na=null,Zi=Yt&&Yt.goButton,as=hn?1:2,mn=cr-1>0?cr-1:0,Cn=cr+1En?En:cr*ao]));if(ur){Zi&&(typeof Zi=="boolean"?Na=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},lt.jump_to_confirm):Na=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Zi),Na=Ce.createElement("li",{title:Sn?"".concat(lt.jump_to).concat(cr,"/").concat(Yr):null,className:"".concat(jt,"-simple-pager")},Na));var aa=this.renderPrev(mn);return Ce.createElement("ul",(0,le.Z)({className:be()(jt,"".concat(jt,"-simple"),(0,ie.Z)({},"".concat(jt,"-disabled"),on),kn),style:It,ref:this.paginationNode},Fn),gr,aa?Ce.createElement("li",{title:Sn?lt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:be()("".concat(jt,"-prev"),(0,ie.Z)({},"".concat(jt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},aa):null,Ce.createElement("li",{title:Sn?"".concat(cr,"/").concat(Yr):null,className:"".concat(jt,"-simple-pager")},Ce.createElement("input",{type:"text",value:no,disabled:on,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(jt,"-slash")},"/"),Yr),Ce.createElement("li",{title:Sn?lt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:be()("".concat(jt,"-next"),(0,ie.Z)({},"".concat(jt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Cn)),Na)}if(Yr<=3+as*2){var oa={locale:lt,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Sn,itemRender:Lr};Yr||rn.push(Ce.createElement(Ye,(0,le.Z)({},oa,{key:"noPager",page:1,className:"".concat(jt,"-item-disabled")})));for(var ma=1;ma<=Yr;ma+=1){var pa=cr===ma;rn.push(Ce.createElement(Ye,(0,le.Z)({},oa,{key:ma,page:ma,active:pa})))}}else{var da=hn?lt.prev_3:lt.prev_5,co=hn?lt.next_3:lt.next_5,Ti=Lr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(fr,"prev page")),li=Lr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ir,"next page"));Fr&&(hi=Ti?Ce.createElement("li",{title:Sn?da:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:be()("".concat(jt,"-jump-prev"),(0,ie.Z)({},"".concat(jt,"-jump-prev-custom-icon"),!!fr))},Ti):null,ha=li?Ce.createElement("li",{title:Sn?co:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:be()("".concat(jt,"-jump-next"),(0,ie.Z)({},"".concat(jt,"-jump-next-custom-icon"),!!ir))},li):null),Wi=Ce.createElement(Ye,{locale:lt,last:!0,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Yr,page:Yr,active:!1,showTitle:Sn,itemRender:Lr}),Li=Ce.createElement(Ye,{locale:lt,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Sn,itemRender:Lr});var kr=Math.max(1,cr-as),Ua=Math.min(cr+as,Yr);cr-1<=as&&(Ua=1+as*2),Yr-cr<=as&&(kr=Yr-as*2);for(var Ki=kr;Ki<=Ua;Ki+=1){var $o=cr===Ki;rn.push(Ce.createElement(Ye,{locale:lt,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ki,page:Ki,active:$o,showTitle:Sn,itemRender:Lr}))}cr-1>=as*2&&cr!==3&&(rn[0]=(0,Ce.cloneElement)(rn[0],{className:"".concat(jt,"-item-after-jump-prev")}),rn.unshift(hi)),Yr-cr>=as*2&&cr!==Yr-2&&(rn[rn.length-1]=(0,Ce.cloneElement)(rn[rn.length-1],{className:"".concat(jt,"-item-before-jump-next")}),rn.push(ha)),kr!==1&&rn.unshift(Li),Ua!==Yr&&rn.push(Wi)}var Uo=!this.hasPrev()||!Yr,xo=!this.hasNext()||!Yr,qi=this.renderPrev(mn),Vs=this.renderNext(Cn);return Ce.createElement("ul",(0,le.Z)({className:be()(jt,kn,(0,ie.Z)({},"".concat(jt,"-disabled"),on)),style:It,ref:this.paginationNode},Fn),gr,qi?Ce.createElement("li",{title:Sn?lt.prev_page:null,onClick:this.prev,tabIndex:Uo?null:0,onKeyPress:this.runIfEnterPrev,className:be()("".concat(jt,"-prev"),(0,ie.Z)({},"".concat(jt,"-disabled"),Uo)),"aria-disabled":Uo},qi):null,rn,Vs?Ce.createElement("li",{title:Sn?lt.next_page:null,onClick:this.next,tabIndex:xo?null:0,onKeyPress:this.runIfEnterNext,className:be()("".concat(jt,"-next"),(0,ie.Z)({},"".concat(jt,"-disabled"),xo)),"aria-disabled":xo},Vs):null,Ce.createElement(Ne,{disabled:on,locale:lt,rootPrefixCls:jt,selectComponentClass:hr,selectPrefixCls:Hr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:cr,pageSize:ao,pageSizeOptions:zr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Zi}))}}],[{key:"getDerivedStateFromProps",value:function(At,jt){var kn={};if("current"in At&&(kn.current=At.current,At.current!==jt.current&&(kn.currentInputValue=kn.current)),"pageSize"in At&&At.pageSize!==jt.pageSize){var It=jt.current,on=Oe(At.pageSize,jt,At);It=It>on?on:It,"current"in At||(kn.current=It,kn.currentInputValue=It),kn.pageSize=At.pageSize}return kn}}]),bt}(Ce.Component);xt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:et,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:et,locale:xe.Z,style:{},itemRender:ht,totalBoundaryShowSizeChanger:50};var ut=xt,ot=ve(22075),Et=ve(36355),ct=ve(19716),Bt=ve(8628),st=ve(9763),rt=ve(57809);const Rt=He=>Ce.createElement(rt.default,Object.assign({},He,{showSearch:!0,size:"small"})),An=He=>Ce.createElement(rt.default,Object.assign({},He,{showSearch:!0,size:"middle"}));Rt.Option=rt.default.Option,An.Option=rt.default.Option;var ft=ve(9937),Nt=ve(17313),yn=ve(83116),Rn=ve(37613);const un=He=>{const{componentCls:Ve}=He;return{[`${Ve}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ve}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ve}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ve}-disabled`]:{cursor:"not-allowed",[`${Ve}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:He.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:He.colorBorder,backgroundColor:He.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:He.itemActiveBgDisabled},a:{color:He.itemActiveColorDisabled}}},[`${Ve}-item-link`]:{color:He.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ve}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ve}-simple-pager`]:{color:He.colorTextDisabled},[`${Ve}-jump-prev, ${Ve}-jump-next`]:{[`${Ve}-item-link-icon`]:{opacity:0},[`${Ve}-item-ellipsis`]:{opacity:1}}},[`&${Ve}-simple`]:{[`${Ve}-prev, ${Ve}-next`]:{[`&${Ve}-disabled ${Ve}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Kn=He=>{const{componentCls:Ve}=He;return{[`&${Ve}-mini ${Ve}-total-text, &${Ve}-mini ${Ve}-simple-pager`]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`},[`&${Ve}-mini ${Ve}-item`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM-2}px`},[`&${Ve}-mini:not(${Ve}-disabled) ${Ve}-item:not(${Ve}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},[`&${Ve}-mini ${Ve}-prev, &${Ve}-mini ${Ve}-next`]:{minWidth:He.itemSizeSM,height:He.itemSizeSM,margin:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ve}-mini:not(${Ve}-disabled)`]:{[`${Ve}-prev, ${Ve}-next`]:{[`&:hover ${Ve}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ve}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${Ve}-disabled:hover ${Ve}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ve}-mini ${Ve}-prev ${Ve}-item-link, &${Ve}-mini ${Ve}-next ${Ve}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}},[`&${Ve}-mini ${Ve}-jump-prev, &${Ve}-mini ${Ve}-jump-next`]:{height:He.itemSizeSM,marginInlineEnd:0,lineHeight:`${He.itemSizeSM}px`},[`&${Ve}-mini ${Ve}-options`]:{marginInlineStart:He.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:He.miniOptionsSizeChangerTop},"&-quick-jumper":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ft.x0)(He)),{width:He.paginationMiniQuickJumperInputWidth,height:He.controlHeightSM})}}}},wt=He=>{const{componentCls:Ve}=He;return{[` &${Ve}-simple ${Ve}-prev, &${Ve}-simple ${Ve}-next `]:{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`,verticalAlign:"top",[`${Ve}-item-link`]:{height:He.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive},"&::after":{height:He.itemSizeSM,lineHeight:`${He.itemSizeSM}px`}}},[`&${Ve}-simple ${Ve}-simple-pager`]:{display:"inline-block",height:He.itemSizeSM,marginInlineEnd:He.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:He.marginXS,padding:`0 ${He.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:He.itemInputBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadius,outline:"none",transition:`border-color ${He.motionDurationMid}`,color:"inherit","&:hover":{borderColor:He.colorPrimary},"&:focus":{borderColor:He.colorPrimaryHover,boxShadow:`${He.inputOutlineOffset}px 0 ${He.controlOutlineWidth}px ${He.controlOutline}`},"&[disabled]":{color:He.colorTextDisabled,backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,cursor:"not-allowed"}}}}},zn=He=>{const{componentCls:Ve}=He;return{[`${Ve}-jump-prev, ${Ve}-jump-next`]:{outline:0,[`${Ve}-item-container`]:{position:"relative",[`${Ve}-item-link-icon`]:{color:He.colorPrimary,fontSize:He.fontSizeSM,opacity:0,transition:`all ${He.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ve}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:He.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:He.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:He.paginationEllipsisTextIndent,opacity:1,transition:`all ${He.motionDurationMid}`}},"&:hover":{[`${Ve}-item-link-icon`]:{opacity:1},[`${Ve}-item-ellipsis`]:{opacity:0}}},[` ${Ve}-prev, ${Ve}-jump-prev, ${Ve}-jump-next `]:{marginInlineEnd:He.marginXS},[` ${Ve}-prev, ${Ve}-next, ${Ve}-jump-prev, ${Ve}-jump-next `]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,color:He.colorText,fontFamily:He.fontFamily,lineHeight:`${He.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:He.borderRadius,cursor:"pointer",transition:`all ${He.motionDurationMid}`},[`${Ve}-prev, ${Ve}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:He.colorText,cursor:"pointer",userSelect:"none"},[`${Ve}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:He.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:"none",transition:`all ${He.motionDurationMid}`},[`&:hover ${Ve}-item-link`]:{backgroundColor:He.colorBgTextHover},[`&:active ${Ve}-item-link`]:{backgroundColor:He.colorBgTextActive},[`&${Ve}-disabled:hover`]:{[`${Ve}-item-link`]:{backgroundColor:"transparent"}}},[`${Ve}-slash`]:{marginInlineEnd:He.paginationSlashMarginInlineEnd,marginInlineStart:He.paginationSlashMarginInlineStart},[`${Ve}-options`]:{display:"inline-block",marginInlineStart:He.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:He.controlHeight,marginInlineStart:He.marginXS,lineHeight:`${He.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ft.ik)(He)),{width:He.controlHeightLG*1.25,height:He.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:He.marginXS,marginInlineEnd:He.marginXS})}}}},Wn=He=>{const{componentCls:Ve}=He;return{[`${Ve}-item`]:{display:"inline-block",minWidth:He.itemSize,height:He.itemSize,marginInlineEnd:He.marginXS,fontFamily:He.fontFamily,lineHeight:`${He.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${He.lineWidth}px ${He.lineType} transparent`,borderRadius:He.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${He.paginationItemPaddingInline}px`,color:He.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ve}-item-active)`]:{"&:hover":{transition:`all ${He.motionDurationMid}`,backgroundColor:He.colorBgTextHover},"&:active":{backgroundColor:He.colorBgTextActive}},"&-active":{fontWeight:He.fontWeightStrong,backgroundColor:He.itemActiveBg,borderColor:He.colorPrimary,a:{color:He.colorPrimary},"&:hover":{borderColor:He.colorPrimaryHover},"&:hover a":{color:He.colorPrimaryHover}}}}},Xe=He=>{const{componentCls:Ve}=He;return{[Ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Nt.Wf)(He)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ve}-total-text`]:{display:"inline-block",height:He.itemSize,marginInlineEnd:He.marginXS,lineHeight:`${He.itemSize-2}px`,verticalAlign:"middle"}}),Wn(He)),zn(He)),wt(He)),Kn(He)),un(He)),{[`@media only screen and (max-width: ${He.screenLG}px)`]:{[`${Ve}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${He.screenSM}px)`]:{[`${Ve}-options`]:{display:"none"}}}),[`&${He.componentCls}-rtl`]:{direction:"rtl"}}},fn=He=>{const{componentCls:Ve}=He;return{[`${Ve}${Ve}-disabled:not(${Ve}-mini)`]:{"&, &:hover":{[`${Ve}-item-link`]:{borderColor:He.colorBorder}},"&:focus-visible":{[`${Ve}-item-link`]:{borderColor:He.colorBorder}},[`${Ve}-item, ${Ve}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,[`&:hover:not(${Ve}-item-active)`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,a:{color:He.colorTextDisabled}},[`&${Ve}-item-active`]:{backgroundColor:He.itemActiveBgDisabled}},[`${Ve}-prev, ${Ve}-next`]:{"&:hover button":{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder,color:He.colorTextDisabled},[`${Ve}-item-link`]:{backgroundColor:He.colorBgContainerDisabled,borderColor:He.colorBorder}}},[`${Ve}:not(${Ve}-mini)`]:{[`${Ve}-prev, ${Ve}-next`]:{"&:hover button":{borderColor:He.colorPrimaryHover,backgroundColor:He.itemBg},[`${Ve}-item-link`]:{backgroundColor:He.itemLinkBg,borderColor:He.colorBorder},[`&:hover ${Ve}-item-link`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,color:He.colorPrimary},[`&${Ve}-disabled`]:{[`${Ve}-item-link`]:{borderColor:He.colorBorder,color:He.colorTextDisabled}}},[`${Ve}-item`]:{backgroundColor:He.itemBg,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,[`&:hover:not(${Ve}-item-active)`]:{borderColor:He.colorPrimary,backgroundColor:He.itemBg,a:{color:He.colorPrimary}},"&-active":{borderColor:He.colorPrimary}}}}},Le=He=>{const{componentCls:Ve}=He;return{[`${Ve}:not(${Ve}-disabled)`]:{[`${Ve}-item`]:Object.assign({},(0,Nt.Qy)(He)),[`${Ve}-jump-prev, ${Ve}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ve}-item-link-icon`]:{opacity:1},[`${Ve}-item-ellipsis`]:{opacity:0}},(0,Nt.oN)(He))},[`${Ve}-prev, ${Ve}-next`]:{[`&:focus-visible ${Ve}-item-link`]:Object.assign({},(0,Nt.oN)(He))}}}};var he=(0,yn.Z)("Pagination",He=>{const Ve=(0,Rn.TS)(He,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:He.marginXXS/2,paginationMiniQuickJumperInputWidth:He.controlHeightLG*1.1,paginationItemPaddingInline:He.marginXXS*1.5,paginationEllipsisLetterSpacing:He.marginXXS/2,paginationSlashMarginInlineStart:He.marginXXS,paginationSlashMarginInlineEnd:He.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ft.e5)(He),(0,ft.TM)(He));return[Xe(Ve),Le(Ve),He.wireframe&&fn(Ve)]},He=>({itemBg:He.colorBgContainer,itemSize:He.controlHeight,itemSizeSM:He.controlHeightSM,itemActiveBg:He.colorBgContainer,itemLinkBg:He.colorBgContainer,itemActiveColorDisabled:He.colorTextDisabled,itemActiveBgDisabled:He.controlItemBgActiveDisabled,itemInputBg:He.colorBgContainer,miniOptionsSizeChangerTop:0})),ge=function(He,Ve){var bt={};for(var gt in He)Object.prototype.hasOwnProperty.call(He,gt)&&Ve.indexOf(gt)<0&&(bt[gt]=He[gt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,gt=Object.getOwnPropertySymbols(He);At{const{prefixCls:Ve,selectPrefixCls:bt,className:gt,rootClassName:At,style:jt,size:kn,locale:It,selectComponentClass:on,responsive:Mt,showSizeChanger:En}=He,lt=ge(He,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Yt}=(0,Bt.Z)(Mt),{getPrefixCls:hn,direction:Sn,pagination:Jn={}}=Ce.useContext(Et.E_),ur=hn("pagination",Ve),[Lr,Fr]=he(ur),fr=En!=null?En:Jn.showSizeChanger,ir=Ce.useMemo(()=>{const Yr=Ce.createElement("span",{className:`${ur}-item-ellipsis`},"\u2022\u2022\u2022"),rn=Ce.createElement("button",{className:`${ur}-item-link`,type:"button",tabIndex:-1},Sn==="rtl"?Ce.createElement(Ue.Z,null):Ce.createElement(ce.Z,null)),hi=Ce.createElement("button",{className:`${ur}-item-link`,type:"button",tabIndex:-1},Sn==="rtl"?Ce.createElement(ce.Z,null):Ce.createElement(Ue.Z,null)),ha=Ce.createElement("a",{className:`${ur}-item-link`},Ce.createElement("div",{className:`${ur}-item-container`},Sn==="rtl"?Ce.createElement(De.Z,{className:`${ur}-item-link-icon`}):Ce.createElement(we,{className:`${ur}-item-link-icon`}),Yr)),Li=Ce.createElement("a",{className:`${ur}-item-link`},Ce.createElement("div",{className:`${ur}-item-container`},Sn==="rtl"?Ce.createElement(we,{className:`${ur}-item-link-icon`}):Ce.createElement(De.Z,{className:`${ur}-item-link-icon`}),Yr));return{prevIcon:rn,nextIcon:hi,jumpPrevIcon:ha,jumpNextIcon:Li}},[Sn,ur]),[hr]=(0,st.Z)("Pagination",ot.Z),Hr=Object.assign(Object.assign({},hr),It),zr=(0,ct.Z)(kn),La=zr==="small"||!!(Yt&&!zr&&Mt),cr=hn("select",bt),ao=be()({[`${ur}-mini`]:La,[`${ur}-rtl`]:Sn==="rtl"},Jn==null?void 0:Jn.className,gt,At,Fr),no=Object.assign(Object.assign({},Jn==null?void 0:Jn.style),jt);return Lr(Ce.createElement(ut,Object.assign({},ir,lt,{style:no,prefixCls:ur,selectPrefixCls:cr,className:ao,selectComponentClass:on||(La?Rt:An),locale:Hr,showSizeChanger:fr})))},pt=qe},93948:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return En}});var le=ve(59301),Ce=ve(29679),je=ve(40001),nt=ve(19248),ze=ve(99267),Re=ve(92310),Be=ve.n(Re),we=ve(2738),De=ve(36355),ce=ve(54476),Ue=ve(33885),Fe=ve(75931),be={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var Yt=(0,le.useRef)([]),hn=(0,le.useRef)(null);return(0,le.useEffect)(function(){var Sn=Date.now(),Jn=!1;Yt.current.forEach(function(ur){if(ur){Jn=!0;var Lr=ur.style;Lr.transitionDuration=".3s, .3s, .3s, .06s",hn.current&&Sn-hn.current<100&&(Lr.transitionDuration="0s, 0s")}}),Jn&&(hn.current=Date.now())}),Yt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Yt){var hn=(0,Ue.Z)((0,Ue.Z)({},be),Yt),Sn=hn.className,Jn=hn.percent,ur=hn.prefixCls,Lr=hn.strokeColor,Fr=hn.strokeLinecap,fr=hn.strokeWidth,ir=hn.style,hr=hn.trailColor,Hr=hn.trailWidth,zr=hn.transition,La=(0,Fe.Z)(hn,y);delete La.gapPosition;var cr=Array.isArray(Jn)?Jn:[Jn],ao=Array.isArray(Lr)?Lr:[Lr],no=ie(),Yr=fr/2,rn=100-fr/2,hi="M ".concat(Fr==="round"?Yr:0,",").concat(Yr,` L `).concat(Fr==="round"?rn:100,",").concat(Yr),ha="0 0 100 ".concat(fr),Li=0;return le.createElement("svg",(0,ce.Z)({className:Be()("".concat(ur,"-line"),Sn),viewBox:ha,preserveAspectRatio:"none",style:ir},La),le.createElement("path",{className:"".concat(ur,"-line-trail"),d:hi,strokeLinecap:Fr,stroke:hr,strokeWidth:Hr||fr,fillOpacity:"0"}),cr.map(function(Wi,Na){var Zi=1;switch(Fr){case"round":Zi=1-fr/100;break;case"square":Zi=1-fr/2/100;break;default:Zi=1;break}var as={strokeDasharray:"".concat(Wi*Zi,"px, 100px"),strokeDashoffset:"-".concat(Li,"px"),transition:zr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},mn=ao[Na]||ao[ao.length-1];return Li+=Wi,le.createElement("path",{key:Na,className:"".concat(ur,"-line-path"),d:hi,strokeLinecap:Fr,stroke:mn,strokeWidth:fr,fillOpacity:"0",ref:function(Fn){no[Na]=Fn},style:as})}))},ee=a,b=ve(76190),te=ve(42978),ne=ve(47273),ae=0,fe=(0,ne.Z)();function xe(){var lt;return fe?(lt=ae,ae+=1):lt="TEST_OR_SSR",lt}var Pe=function(lt){var Yt=le.useState(),hn=(0,te.Z)(Yt,2),Sn=hn[0],Jn=hn[1];return le.useEffect(function(){Jn("rc_progress_".concat(xe()))},[]),lt||Sn},Ne=function(Yt){var hn=Yt.bg,Sn=Yt.children;return le.createElement("div",{style:{width:"100%",height:"100%",background:hn}},Sn)};function Ge(lt,Yt){return Object.keys(lt).map(function(hn){var Sn=parseFloat(hn),Jn="".concat(Math.floor(Sn*Yt),"%");return"".concat(lt[hn]," ").concat(Jn)})}var Ye=le.forwardRef(function(lt,Yt){var hn=lt.prefixCls,Sn=lt.color,Jn=lt.gradientId,ur=lt.radius,Lr=lt.style,Fr=lt.ptg,fr=lt.strokeLinecap,ir=lt.strokeWidth,hr=lt.size,Hr=lt.gapDegree,zr=Sn&&(0,b.Z)(Sn)==="object",La=zr?"#FFF":void 0,cr=hr/2,ao=le.createElement("circle",{className:"".concat(hn,"-circle-path"),r:ur,cx:cr,cy:cr,stroke:La,strokeLinecap:fr,strokeWidth:ir,opacity:Fr===0?0:1,style:Lr,ref:Yt});if(!zr)return ao;var no="".concat(Jn,"-conic"),Yr=Hr?"".concat(180+Hr/2,"deg"):"0deg",rn=Ge(Sn,(360-Hr)/360),hi=Ge(Sn,1),ha="conic-gradient(from ".concat(Yr,", ").concat(rn.join(", "),")"),Li="linear-gradient(to ".concat(Hr?"bottom":"top",", ").concat(hi.join(", "),")");return le.createElement(le.Fragment,null,le.createElement("mask",{id:no},ao),le.createElement("foreignObject",{x:0,y:0,width:hr,height:hr,mask:"url(#".concat(no,")")},le.createElement(Ne,{bg:Li},le.createElement(Ne,{bg:ha}))))}),et=Ye,ke=100,ht=function(Yt,hn,Sn,Jn,ur,Lr,Fr,fr,ir,hr){var Hr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,zr=Sn/100*360*((360-Lr)/360),La=Lr===0?0:{bottom:0,top:180,left:90,right:-90}[Fr],cr=(100-Jn)/100*hn;ir==="round"&&Jn!==100&&(cr+=hr/2,cr>=hn&&(cr=hn-.01));var ao=ke/2;return{stroke:typeof fr=="string"?fr:void 0,strokeDasharray:"".concat(hn,"px ").concat(Yt),strokeDashoffset:cr+Hr,transform:"rotate(".concat(ur+zr+La,"deg)"),transformOrigin:"".concat(ao,"px ").concat(ao,"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}},Oe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function xt(lt){var Yt=lt!=null?lt:[];return Array.isArray(Yt)?Yt:[Yt]}var ut=function(Yt){var hn=(0,Ue.Z)((0,Ue.Z)({},be),Yt),Sn=hn.id,Jn=hn.prefixCls,ur=hn.steps,Lr=hn.strokeWidth,Fr=hn.trailWidth,fr=hn.gapDegree,ir=fr===void 0?0:fr,hr=hn.gapPosition,Hr=hn.trailColor,zr=hn.strokeLinecap,La=hn.style,cr=hn.className,ao=hn.strokeColor,no=hn.percent,Yr=(0,Fe.Z)(hn,Oe),rn=ke/2,hi=Pe(Sn),ha="".concat(hi,"-gradient"),Li=rn-Lr/2,Wi=Math.PI*2*Li,Na=ir>0?90+ir/2:-90,Zi=Wi*((360-ir)/360),as=(0,b.Z)(ur)==="object"?ur:{count:ur,space:2},mn=as.count,Cn=as.space,Fn=xt(no),gr=xt(ao),aa=gr.find(function(li){return li&&(0,b.Z)(li)==="object"}),oa=aa&&(0,b.Z)(aa)==="object",ma=oa?"butt":zr,pa=ht(Wi,Zi,0,100,Na,ir,hr,Hr,ma,Lr),da=ie(),co=function(){var kr=0;return Fn.map(function(Ua,Ki){var $o=gr[Ki]||gr[gr.length-1],Uo=ht(Wi,Zi,kr,Ua,Na,ir,hr,$o,ma,Lr);return kr+=Ua,le.createElement(et,{key:Ki,color:$o,ptg:Ua,radius:Li,prefixCls:Jn,gradientId:ha,style:Uo,strokeLinecap:ma,strokeWidth:Lr,gapDegree:ir,ref:function(qi){da[Ki]=qi},size:ke})}).reverse()},Ti=function(){var kr=Math.round(mn*(Fn[0]/100)),Ua=100/mn,Ki=0;return new Array(mn).fill(null).map(function($o,Uo){var xo=Uo<=kr-1?gr[0]:Hr,qi=xo&&(0,b.Z)(xo)==="object"?"url(#".concat(ha,")"):void 0,Vs=ht(Wi,Zi,Ki,Ua,Na,ir,hr,xo,"butt",Lr,Cn);return Ki+=(Zi-Vs.strokeDashoffset+Cn)*100/Zi,le.createElement("circle",{key:Uo,className:"".concat(Jn,"-circle-path"),r:Li,cx:rn,cy:rn,stroke:qi,strokeWidth:Lr,opacity:1,style:Vs,ref:function(os){da[Uo]=os}})})};return le.createElement("svg",(0,ce.Z)({className:Be()("".concat(Jn,"-circle"),cr),viewBox:"0 0 ".concat(ke," ").concat(ke),style:La,id:Sn,role:"presentation"},Yr),!mn&&le.createElement("circle",{className:"".concat(Jn,"-circle-trail"),r:Li,cx:rn,cy:rn,stroke:Hr,strokeLinecap:ma,strokeWidth:Fr||Lr,style:pa}),mn?Ti():co())},ot=ut,Et={Line:ee,Circle:ot},ct=ve(6848),Bt=ve(30071);function st(lt){return!lt||lt<0?0:lt>100?100:lt}function rt(lt){let{success:Yt,successPercent:hn}=lt,Sn=hn;return Yt&&"progress"in Yt&&(Sn=Yt.progress),Yt&&"percent"in Yt&&(Sn=Yt.percent),Sn}const Rt=lt=>{let{percent:Yt,success:hn,successPercent:Sn}=lt;const Jn=st(rt({success:hn,successPercent:Sn}));return[Jn,st(st(Yt)-Jn)]},An=lt=>{let{success:Yt={},strokeColor:hn}=lt;const{strokeColor:Sn}=Yt;return[Sn||Bt.presetPrimaryColors.green,hn||null]},ft=(lt,Yt,hn)=>{var Sn,Jn,ur,Lr;let Fr=-1,fr=-1;if(Yt==="step"){const ir=hn.steps,hr=hn.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?(Fr=lt==="small"?2:14,fr=hr!=null?hr:8):typeof lt=="number"?[Fr,fr]=[lt,lt]:[Fr=14,fr=8]=lt,Fr*=ir}else if(Yt==="line"){const ir=hn==null?void 0:hn.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?fr=ir||(lt==="small"?6:8):typeof lt=="number"?[Fr,fr]=[lt,lt]:[Fr=-1,fr=8]=lt}else(Yt==="circle"||Yt==="dashboard")&&(typeof lt=="string"||typeof lt=="undefined"?[Fr,fr]=lt==="small"?[60,60]:[120,120]:typeof lt=="number"?[Fr,fr]=[lt,lt]:(Fr=(Jn=(Sn=lt[0])!==null&&Sn!==void 0?Sn:lt[1])!==null&&Jn!==void 0?Jn:120,fr=(Lr=(ur=lt[0])!==null&&ur!==void 0?ur:lt[1])!==null&&Lr!==void 0?Lr:120));return[Fr,fr]},Nt=3,yn=lt=>Nt/lt*100;var un=lt=>{const{prefixCls:Yt,trailColor:hn=null,strokeLinecap:Sn="round",gapPosition:Jn,gapDegree:ur,width:Lr=120,type:Fr,children:fr,success:ir,size:hr=Lr}=lt,[Hr,zr]=ft(hr,"circle");let{strokeWidth:La}=lt;La===void 0&&(La=Math.max(yn(Hr),6));const cr={width:Hr,height:zr,fontSize:Hr*.15+6},ao=le.useMemo(()=>{if(ur||ur===0)return ur;if(Fr==="dashboard")return 75},[ur,Fr]),no=Jn||Fr==="dashboard"&&"bottom"||void 0,Yr=Object.prototype.toString.call(lt.strokeColor)==="[object Object]",rn=An({success:ir,strokeColor:lt.strokeColor}),hi=Be()(`${Yt}-inner`,{[`${Yt}-circle-gradient`]:Yr}),ha=le.createElement(ot,{percent:Rt(lt),strokeWidth:La,trailWidth:La,strokeColor:rn,strokeLinecap:Sn,trailColor:hn,prefixCls:Yt,gapDegree:ao,gapPosition:no});return le.createElement("div",{className:hi,style:cr},Hr<=20?le.createElement(ct.Z,{title:fr},le.createElement("span",null,ha)):le.createElement(le.Fragment,null,ha,fr))},Kn=function(lt,Yt){var hn={};for(var Sn in lt)Object.prototype.hasOwnProperty.call(lt,Sn)&&Yt.indexOf(Sn)<0&&(hn[Sn]=lt[Sn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,Sn=Object.getOwnPropertySymbols(lt);Jn{let Yt=[];return Object.keys(lt).forEach(hn=>{const Sn=parseFloat(hn.replace(/%/g,""));isNaN(Sn)||Yt.push({key:Sn,value:lt[hn]})}),Yt=Yt.sort((hn,Sn)=>hn.key-Sn.key),Yt.map(hn=>{let{key:Sn,value:Jn}=hn;return`${Jn} ${Sn}%`}).join(", ")},zn=(lt,Yt)=>{const{from:hn=Bt.presetPrimaryColors.blue,to:Sn=Bt.presetPrimaryColors.blue,direction:Jn=Yt==="rtl"?"to left":"to right"}=lt,ur=Kn(lt,["from","to","direction"]);if(Object.keys(ur).length!==0){const Lr=wt(ur);return{backgroundImage:`linear-gradient(${Jn}, ${Lr})`}}return{backgroundImage:`linear-gradient(${Jn}, ${hn}, ${Sn})`}};var Xe=lt=>{const{prefixCls:Yt,direction:hn,percent:Sn,size:Jn,strokeWidth:ur,strokeColor:Lr,strokeLinecap:Fr="round",children:fr,trailColor:ir=null,success:hr}=lt,Hr=Lr&&typeof Lr!="string"?zn(Lr,hn):{backgroundColor:Lr},zr=Fr==="square"||Fr==="butt"?0:void 0,La={backgroundColor:ir||void 0,borderRadius:zr},cr=Jn!=null?Jn:[-1,ur||(Jn==="small"?6:8)],[ao,no]=ft(cr,"line",{strokeWidth:ur}),Yr=Object.assign({width:`${st(Sn)}%`,height:no,borderRadius:zr},Hr),rn=rt(lt),hi={width:`${st(rn)}%`,height:no,borderRadius:zr,backgroundColor:hr==null?void 0:hr.strokeColor},ha={width:ao<0?"100%":ao,height:no};return le.createElement(le.Fragment,null,le.createElement("div",{className:`${Yt}-outer`,style:ha},le.createElement("div",{className:`${Yt}-inner`,style:La},le.createElement("div",{className:`${Yt}-bg`,style:Yr}),rn!==void 0?le.createElement("div",{className:`${Yt}-success-bg`,style:hi}):null)),fr)},Le=lt=>{const{size:Yt,steps:hn,percent:Sn=0,strokeWidth:Jn=8,strokeColor:ur,trailColor:Lr=null,prefixCls:Fr,children:fr}=lt,ir=Math.round(hn*(Sn/100)),hr=Yt==="small"?2:14,Hr=Yt!=null?Yt:[hr,Jn],[zr,La]=ft(Hr,"step",{steps:hn,strokeWidth:Jn}),cr=zr/hn,ao=new Array(hn);for(let no=0;no{const Yt=lt?"100%":"-100%";return new he.Keyframes(`antProgress${lt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},He=lt=>{const{componentCls:Yt,iconCls:hn}=lt;return{[Yt]:Object.assign(Object.assign({},(0,ge.Wf)(lt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:lt.fontSize,marginInlineEnd:lt.marginXS,marginBottom:lt.marginXS},[`${Yt}-outer`]:{display:"inline-block",width:"100%"},[`&${Yt}-show-info`]:{[`${Yt}-outer`]:{marginInlineEnd:`calc(-2em - ${lt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${lt.paddingXS}px)`}},[`${Yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:lt.remainingColor,borderRadius:lt.lineBorderRadius},[`${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:lt.defaultColor}},[`${Yt}-success-bg, ${Yt}-bg`]:{position:"relative",backgroundColor:lt.defaultColor,borderRadius:lt.lineBorderRadius,transition:`all ${lt.motionDurationSlow} ${lt.motionEaseInOutCirc}`},[`${Yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:lt.colorSuccess},[`${Yt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:lt.marginXS,color:lt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[hn]:{fontSize:lt.fontSize}},[`&${Yt}-status-active`]:{[`${Yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:lt.colorBgContainer,borderRadius:lt.lineBorderRadius,opacity:0,animationName:pt(),animationDuration:lt.progressActiveMotionDuration,animationTimingFunction:lt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Yt}-rtl${Yt}-status-active`]:{[`${Yt}-bg::before`]:{animationName:pt(!0)}},[`&${Yt}-status-exception`]:{[`${Yt}-bg`]:{backgroundColor:lt.colorError},[`${Yt}-text`]:{color:lt.colorError}},[`&${Yt}-status-exception ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:lt.colorError}},[`&${Yt}-status-success`]:{[`${Yt}-bg`]:{backgroundColor:lt.colorSuccess},[`${Yt}-text`]:{color:lt.colorSuccess}},[`&${Yt}-status-success ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:lt.colorSuccess}}})}},Ve=lt=>{const{componentCls:Yt,iconCls:hn}=lt;return{[Yt]:{[`${Yt}-circle-trail`]:{stroke:lt.remainingColor},[`&${Yt}-circle ${Yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Yt}-circle ${Yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:lt.circleTextColor,fontSize:lt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[hn]:{fontSize:`${lt.fontSize/lt.fontSizeSM}em`}},[`${Yt}-circle&-status-exception`]:{[`${Yt}-text`]:{color:lt.colorError}},[`${Yt}-circle&-status-success`]:{[`${Yt}-text`]:{color:lt.colorSuccess}}},[`${Yt}-inline-circle`]:{lineHeight:1,[`${Yt}-inner`]:{verticalAlign:"bottom"}}}},bt=lt=>{const{componentCls:Yt}=lt;return{[Yt]:{[`${Yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:lt.progressStepMinWidth,marginInlineEnd:lt.progressStepMarginInlineEnd,backgroundColor:lt.remainingColor,transition:`all ${lt.motionDurationSlow}`,"&-active":{backgroundColor:lt.defaultColor}}}}}},gt=lt=>{const{componentCls:Yt,iconCls:hn}=lt;return{[Yt]:{[`${Yt}-small&-line, ${Yt}-small&-line ${Yt}-text ${hn}`]:{fontSize:lt.fontSizeSM}}}};var At=(0,Se.Z)("Progress",lt=>{const Yt=lt.marginXXS/2,hn=(0,qe.TS)(lt,{progressStepMarginInlineEnd:Yt,progressStepMinWidth:Yt,progressActiveMotionDuration:"2.4s"});return[He(hn),Ve(hn),bt(hn),gt(hn)]},lt=>({circleTextColor:lt.colorText,defaultColor:lt.colorInfo,remainingColor:lt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),jt=function(lt,Yt){var hn={};for(var Sn in lt)Object.prototype.hasOwnProperty.call(lt,Sn)&&Yt.indexOf(Sn)<0&&(hn[Sn]=lt[Sn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,Sn=Object.getOwnPropertySymbols(lt);Jn{const{prefixCls:hn,className:Sn,rootClassName:Jn,steps:ur,strokeColor:Lr,percent:Fr=0,size:fr="default",showInfo:ir=!0,type:hr="line",status:Hr,format:zr,style:La}=lt,cr=jt(lt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ao=le.useMemo(()=>{var Fn,gr;const aa=rt(lt);return parseInt(aa!==void 0?(Fn=aa!=null?aa:0)===null||Fn===void 0?void 0:Fn.toString():(gr=Fr!=null?Fr:0)===null||gr===void 0?void 0:gr.toString(),10)},[Fr,lt.success,lt.successPercent]),no=le.useMemo(()=>!It.includes(Hr)&&ao>=100?"success":Hr||"normal",[Hr,ao]),{getPrefixCls:Yr,direction:rn,progress:hi}=le.useContext(De.E_),ha=Yr("progress",hn),[Li,Wi]=At(ha),Na=le.useMemo(()=>{if(!ir)return null;const Fn=rt(lt);let gr;const aa=zr||(ma=>`${ma}%`),oa=hr==="line";return zr||no!=="exception"&&no!=="success"?gr=aa(st(Fr),st(Fn)):no==="exception"?gr=oa?le.createElement(nt.Z,null):le.createElement(ze.Z,null):no==="success"&&(gr=oa?le.createElement(Ce.Z,null):le.createElement(je.Z,null)),le.createElement("span",{className:`${ha}-text`,title:typeof gr=="string"?gr:void 0},gr)},[ir,Fr,ao,no,hr,ha,zr]),Zi=Array.isArray(Lr)?Lr[0]:Lr,as=typeof Lr=="string"||Array.isArray(Lr)?Lr:void 0;let mn;hr==="line"?mn=ur?le.createElement(Le,Object.assign({},lt,{strokeColor:as,prefixCls:ha,steps:ur}),Na):le.createElement(Xe,Object.assign({},lt,{strokeColor:Zi,prefixCls:ha,direction:rn}),Na):(hr==="circle"||hr==="dashboard")&&(mn=le.createElement(un,Object.assign({},lt,{strokeColor:Zi,prefixCls:ha,progressStatus:no}),Na));const Cn=Be()(ha,`${ha}-status-${no}`,`${ha}-${hr==="dashboard"&&"circle"||ur&&"steps"||hr}`,{[`${ha}-inline-circle`]:hr==="circle"&&ft(fr,"circle")[0]<=20,[`${ha}-show-info`]:ir,[`${ha}-${fr}`]:typeof fr=="string",[`${ha}-rtl`]:rn==="rtl"},hi==null?void 0:hi.className,Sn,Jn,Wi);return Li(le.createElement("div",Object.assign({ref:Yt,style:Object.assign(Object.assign({},hi==null?void 0:hi.style),La),className:Cn,role:"progressbar","aria-valuenow":ao},(0,we.Z)(cr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),mn))}),En=Mt},13570:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return st}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},nt=je,ze=ve(7657),Re=function(Rt,An){return Ce.createElement(ze.Z,(0,le.Z)({},Rt,{ref:An,icon:nt}))},Be=Ce.forwardRef(Re),we=Be,De=ve(92310),ce=ve.n(De),Ue=ve(20068),Fe=ve(42978),be=ve(75931),ie=ve(18929),y=ve(10228),a=ve(26112);function ee(rt,Rt){var An=rt.disabled,ft=rt.prefixCls,Nt=rt.character,yn=rt.characterRender,Rn=rt.index,un=rt.count,Kn=rt.value,wt=rt.allowHalf,zn=rt.focused,Wn=rt.onHover,Xe=rt.onClick,fn=function(Ve){Wn(Ve,Rn)},Le=function(Ve){Xe(Ve,Rn)},he=function(Ve){Ve.keyCode===y.Z.ENTER&&Xe(Ve,Rn)},ge=Rn+1,Se=new Set([ft]);Kn===0&&Rn===0&&zn?Se.add("".concat(ft,"-focused")):wt&&Kn+.5>=ge&&KnRn?"true":"false","aria-posinset":Rn+1,"aria-setsize":un,tabIndex:An?-1:0},Ce.createElement("div",{className:"".concat(ft,"-first")},qe),Ce.createElement("div",{className:"".concat(ft,"-second")},qe)));return yn&&(pt=yn(pt,rt)),pt}var b=Ce.forwardRef(ee);function te(){var rt=Ce.useRef({});function Rt(ft){return rt.current[ft]}function An(ft){return function(Nt){rt.current[ft]=Nt}}return[Rt,An]}function ne(rt){var Rt=rt.pageXOffset,An="scrollLeft";if(typeof Rt!="number"){var ft=rt.document;Rt=ft.documentElement[An],typeof Rt!="number"&&(Rt=ft.body[An])}return Rt}function ae(rt){var Rt,An,ft=rt.ownerDocument,Nt=ft.body,yn=ft&&ft.documentElement,Rn=rt.getBoundingClientRect();return Rt=Rn.left,An=Rn.top,Rt-=yn.clientLeft||Nt.clientLeft||0,An-=yn.clientTop||Nt.clientTop||0,{left:Rt,top:An}}function fe(rt){var Rt=ae(rt),An=rt.ownerDocument,ft=An.defaultView||An.parentWindow;return Rt.left+=ne(ft),Rt.left}var xe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(rt,Rt){var An,ft=rt.prefixCls,Nt=ft===void 0?"rc-rate":ft,yn=rt.className,Rn=rt.defaultValue,un=rt.value,Kn=rt.count,wt=Kn===void 0?5:Kn,zn=rt.allowHalf,Wn=zn===void 0?!1:zn,Xe=rt.allowClear,fn=Xe===void 0?!0:Xe,Le=rt.character,he=Le===void 0?"\u2605":Le,ge=rt.characterRender,Se=rt.disabled,qe=rt.direction,pt=qe===void 0?"ltr":qe,He=rt.tabIndex,Ve=He===void 0?0:He,bt=rt.autoFocus,gt=rt.onHoverChange,At=rt.onChange,jt=rt.onFocus,kn=rt.onBlur,It=rt.onKeyDown,on=rt.onMouseLeave,Mt=(0,be.Z)(rt,xe),En=te(),lt=(0,Fe.Z)(En,2),Yt=lt[0],hn=lt[1],Sn=Ce.useRef(null),Jn=function(){if(!Se){var ma;(ma=Sn.current)===null||ma===void 0||ma.focus()}};Ce.useImperativeHandle(Rt,function(){return{focus:Jn,blur:function(){if(!Se){var ma;(ma=Sn.current)===null||ma===void 0||ma.blur()}}}});var ur=(0,ie.Z)(Rn||0,{value:un}),Lr=(0,Fe.Z)(ur,2),Fr=Lr[0],fr=Lr[1],ir=(0,ie.Z)(null),hr=(0,Fe.Z)(ir,2),Hr=hr[0],zr=hr[1],La=function(ma,pa){var da=pt==="rtl",co=ma+1;if(Wn){var Ti=Yt(ma),li=fe(Ti),kr=Ti.clientWidth;(da&&pa-li>kr/2||!da&&pa-li0&&!da||pa===y.Z.RIGHT&&co>0&&da?(Wn?co-=.5:co-=1,cr(co),ma.preventDefault()):pa===y.Z.LEFT&&co{const{componentCls:Rt}=rt;return{[`${Rt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:rt.marginXS},"> div":{transition:`all ${rt.motionDurationMid}, outline 0s`,"&:hover":{transform:rt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${rt.lineWidth}px dashed ${rt.starColor}`,transform:rt.starHoverScale}},"&-first, &-second":{color:rt.starBg,transition:`all ${rt.motionDurationMid}`,userSelect:"none",[rt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Rt}-star-first, &-half ${Rt}-star-second`]:{opacity:1},[`&-half ${Rt}-star-first, &-full ${Rt}-star-second`]:{color:"inherit"}}}},ut=rt=>({[`&-rtl${rt.componentCls}`]:{direction:"rtl"}}),ot=rt=>{const{componentCls:Rt}=rt;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(rt)),{display:"inline-block",margin:0,padding:0,color:rt.starColor,fontSize:rt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Rt} ${Rt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),xt(rt)),{[`+ ${Rt}-text`]:{display:"inline-block",marginInlineStart:rt.marginXS,fontSize:rt.fontSize}}),ut(rt))}};var Et=(0,ht.Z)("Rate",rt=>{const Rt=(0,Oe.TS)(rt,{});return[ot(Rt)]},rt=>({starColor:rt.yellow6,starSize:rt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:rt.colorFillContent})),ct=function(rt,Rt){var An={};for(var ft in rt)Object.prototype.hasOwnProperty.call(rt,ft)&&Rt.indexOf(ft)<0&&(An[ft]=rt[ft]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,ft=Object.getOwnPropertySymbols(rt);Nt{const{prefixCls:An,className:ft,rootClassName:Nt,style:yn,tooltips:Rn,character:un=Ce.createElement(we,null)}=rt,Kn=ct(rt,["prefixCls","className","rootClassName","style","tooltips","character"]),wt=(Se,qe)=>{let{index:pt}=qe;return Rn?Ce.createElement(et.Z,{title:Rn[pt]},Se):Se},{getPrefixCls:zn,direction:Wn,rate:Xe}=Ce.useContext(Ye.E_),fn=zn("rate",An),[Le,he]=Et(fn),ge=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),yn);return Le(Ce.createElement(Ge,Object.assign({ref:Rt,character:un,characterRender:wt},Kn,{className:ce()(ft,Nt,he,Xe==null?void 0:Xe.className),style:ge,prefixCls:fn,direction:Wn})))})},61621:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return he}});var le=ve(92310),Ce=ve.n(le),je=ve(59301),nt=ve(36355),ze=ve(2738),Be=ge=>{const{prefixCls:Se,className:qe,style:pt,size:He,shape:Ve}=ge,bt=Ce()({[`${Se}-lg`]:He==="large",[`${Se}-sm`]:He==="small"}),gt=Ce()({[`${Se}-circle`]:Ve==="circle",[`${Se}-square`]:Ve==="square",[`${Se}-round`]:Ve==="round"}),At=je.useMemo(()=>typeof He=="number"?{width:He,height:He,lineHeight:`${He}px`}:{},[He]);return je.createElement("span",{className:Ce()(Se,bt,gt,qe),style:Object.assign(Object.assign({},At),pt)})},we=ve(36237),De=ve(83116),ce=ve(37613);const Ue=new we.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Fe=ge=>({height:ge,lineHeight:`${ge}px`}),be=ge=>Object.assign({width:ge},Fe(ge)),ie=ge=>({background:ge.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ue,animationDuration:ge.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ge=>Object.assign({width:ge*5,minWidth:ge*5},Fe(ge)),a=ge=>{const{skeletonAvatarCls:Se,gradientFromColor:qe,controlHeight:pt,controlHeightLG:He,controlHeightSM:Ve}=ge;return{[`${Se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},be(pt)),[`${Se}${Se}-circle`]:{borderRadius:"50%"},[`${Se}${Se}-lg`]:Object.assign({},be(He)),[`${Se}${Se}-sm`]:Object.assign({},be(Ve))}},ee=ge=>{const{controlHeight:Se,borderRadiusSM:qe,skeletonInputCls:pt,controlHeightLG:He,controlHeightSM:Ve,gradientFromColor:bt}=ge;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bt,borderRadius:qe},y(Se)),[`${pt}-lg`]:Object.assign({},y(He)),[`${pt}-sm`]:Object.assign({},y(Ve))}},b=ge=>Object.assign({width:ge},Fe(ge)),te=ge=>{const{skeletonImageCls:Se,imageSizeBase:qe,gradientFromColor:pt,borderRadiusSM:He}=ge;return{[`${Se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:pt,borderRadius:He},b(qe*2)),{[`${Se}-path`]:{fill:"#bfbfbf"},[`${Se}-svg`]:Object.assign(Object.assign({},b(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${Se}-svg${Se}-svg-circle`]:{borderRadius:"50%"}}),[`${Se}${Se}-circle`]:{borderRadius:"50%"}}},ne=(ge,Se,qe)=>{const{skeletonButtonCls:pt}=ge;return{[`${qe}${pt}-circle`]:{width:Se,minWidth:Se,borderRadius:"50%"},[`${qe}${pt}-round`]:{borderRadius:Se}}},ae=ge=>Object.assign({width:ge*2,minWidth:ge*2},Fe(ge)),fe=ge=>{const{borderRadiusSM:Se,skeletonButtonCls:qe,controlHeight:pt,controlHeightLG:He,controlHeightSM:Ve,gradientFromColor:bt}=ge;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:bt,borderRadius:Se,width:pt*2,minWidth:pt*2},ae(pt))},ne(ge,pt,qe)),{[`${qe}-lg`]:Object.assign({},ae(He))}),ne(ge,He,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ae(Ve))}),ne(ge,Ve,`${qe}-sm`))},xe=ge=>{const{componentCls:Se,skeletonAvatarCls:qe,skeletonTitleCls:pt,skeletonParagraphCls:He,skeletonButtonCls:Ve,skeletonInputCls:bt,skeletonImageCls:gt,controlHeight:At,controlHeightLG:jt,controlHeightSM:kn,gradientFromColor:It,padding:on,marginSM:Mt,borderRadius:En,titleHeight:lt,blockRadius:Yt,paragraphLiHeight:hn,controlHeightXS:Sn,paragraphMarginTop:Jn}=ge;return{[`${Se}`]:{display:"table",width:"100%",[`${Se}-header`]:{display:"table-cell",paddingInlineEnd:on,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:It},be(At)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},be(jt)),[`${qe}-sm`]:Object.assign({},be(kn))},[`${Se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:lt,background:It,borderRadius:Yt,[`+ ${He}`]:{marginBlockStart:kn}},[`${He}`]:{padding:0,"> li":{width:"100%",height:hn,listStyle:"none",background:It,borderRadius:Yt,"+ li":{marginBlockStart:Sn}}},[`${He}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Se}-content`]:{[`${pt}, ${He} > li`]:{borderRadius:En}}},[`${Se}-with-avatar ${Se}-content`]:{[`${pt}`]:{marginBlockStart:Mt,[`+ ${He}`]:{marginBlockStart:Jn}}},[`${Se}${Se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},fe(ge)),a(ge)),ee(ge)),te(ge)),[`${Se}${Se}-block`]:{width:"100%",[`${Ve}`]:{width:"100%"},[`${bt}`]:{width:"100%"}},[`${Se}${Se}-active`]:{[` ${pt}, ${He} > li, ${qe}, ${Ve}, ${bt}, ${gt} `]:Object.assign({},ie(ge))}}};var Pe=(0,De.Z)("Skeleton",ge=>{const{componentCls:Se}=ge,qe=(0,ce.TS)(ge,{skeletonAvatarCls:`${Se}-avatar`,skeletonTitleCls:`${Se}-title`,skeletonParagraphCls:`${Se}-paragraph`,skeletonButtonCls:`${Se}-button`,skeletonInputCls:`${Se}-input`,skeletonImageCls:`${Se}-image`,imageSizeBase:ge.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ge.gradientFromColor} 25%, ${ge.gradientToColor} 37%, ${ge.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[xe(qe)]},ge=>{const{colorFillContent:Se,colorFill:qe}=ge,pt=Se,He=qe;return{color:pt,colorGradientEnd:He,gradientFromColor:pt,gradientToColor:He,titleHeight:ge.controlHeight/2,blockRadius:ge.borderRadiusSM,paragraphMarginTop:ge.marginLG+ge.marginXXS,paragraphLiHeight:ge.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=ge=>{const{prefixCls:Se,className:qe,rootClassName:pt,active:He,shape:Ve="circle",size:bt="default"}=ge,{getPrefixCls:gt}=je.useContext(nt.E_),At=gt("skeleton",Se),[jt,kn]=Pe(At),It=(0,ze.Z)(ge,["prefixCls","className"]),on=Ce()(At,`${At}-element`,{[`${At}-active`]:He},qe,pt,kn);return jt(je.createElement("div",{className:on},je.createElement(Be,Object.assign({prefixCls:`${At}-avatar`,shape:Ve,size:bt},It))))},et=ge=>{const{prefixCls:Se,className:qe,rootClassName:pt,active:He,block:Ve=!1,size:bt="default"}=ge,{getPrefixCls:gt}=je.useContext(nt.E_),At=gt("skeleton",Se),[jt,kn]=Pe(At),It=(0,ze.Z)(ge,["prefixCls"]),on=Ce()(At,`${At}-element`,{[`${At}-active`]:He,[`${At}-block`]:Ve},qe,pt,kn);return jt(je.createElement("div",{className:on},je.createElement(Be,Object.assign({prefixCls:`${At}-button`,size:bt},It))))};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 Oe=ge=>{const{prefixCls:Se,className:qe,rootClassName:pt,style:He,active:Ve}=ge,{getPrefixCls:bt}=je.useContext(nt.E_),gt=bt("skeleton",Se),[At,jt]=Pe(gt),kn=Ce()(gt,`${gt}-element`,{[`${gt}-active`]:Ve},qe,pt,jt);return At(je.createElement("div",{className:kn},je.createElement("div",{className:Ce()(`${gt}-image`,qe),style:He},je.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${gt}-image-svg`},je.createElement("path",{d:ke,className:`${gt}-image-path`})))))},ut=ge=>{const{prefixCls:Se,className:qe,rootClassName:pt,active:He,block:Ve,size:bt="default"}=ge,{getPrefixCls:gt}=je.useContext(nt.E_),At=gt("skeleton",Se),[jt,kn]=Pe(At),It=(0,ze.Z)(ge,["prefixCls"]),on=Ce()(At,`${At}-element`,{[`${At}-active`]:He,[`${At}-block`]:Ve},qe,pt,kn);return jt(je.createElement("div",{className:on},je.createElement(Be,Object.assign({prefixCls:`${At}-input`,size:bt},It))))},ot=ve(54476),Et={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"},ct=Et,Bt=ve(7657),st=function(Se,qe){return je.createElement(Bt.Z,(0,ot.Z)({},Se,{ref:qe,icon:ct}))},rt=je.forwardRef(st),Rt=rt,ft=ge=>{const{prefixCls:Se,className:qe,rootClassName:pt,style:He,active:Ve,children:bt}=ge,{getPrefixCls:gt}=je.useContext(nt.E_),At=gt("skeleton",Se),[jt,kn]=Pe(At),It=Ce()(At,`${At}-element`,{[`${At}-active`]:Ve},kn,qe,pt),on=bt!=null?bt:je.createElement(Rt,null);return jt(je.createElement("div",{className:It},je.createElement("div",{className:Ce()(`${At}-image`,qe),style:He},on)))},Nt=ve(94480),Rn=ge=>{const Se=gt=>{const{width:At,rows:jt=2}=ge;if(Array.isArray(At))return At[gt];if(jt-1===gt)return At},{prefixCls:qe,className:pt,style:He,rows:Ve}=ge,bt=(0,Nt.Z)(Array(Ve)).map((gt,At)=>je.createElement("li",{key:At,style:{width:Se(At)}}));return je.createElement("ul",{className:Ce()(qe,pt),style:He},bt)},Kn=ge=>{let{prefixCls:Se,className:qe,width:pt,style:He}=ge;return je.createElement("h3",{className:Ce()(Se,qe),style:Object.assign({width:pt},He)})};function wt(ge){return ge&&typeof ge=="object"?ge:{}}function zn(ge,Se){return ge&&!Se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wn(ge,Se){return!ge&&Se?{width:"38%"}:ge&&Se?{width:"50%"}:{}}function Xe(ge,Se){const qe={};return(!ge||!Se)&&(qe.width="61%"),!ge&&Se?qe.rows=3:qe.rows=2,qe}const fn=ge=>{const{prefixCls:Se,loading:qe,className:pt,rootClassName:He,style:Ve,children:bt,avatar:gt=!1,title:At=!0,paragraph:jt=!0,active:kn,round:It}=ge,{getPrefixCls:on,direction:Mt,skeleton:En}=je.useContext(nt.E_),lt=on("skeleton",Se),[Yt,hn]=Pe(lt);if(qe||!("loading"in ge)){const Sn=!!gt,Jn=!!At,ur=!!jt;let Lr;if(Sn){const ir=Object.assign(Object.assign({prefixCls:`${lt}-avatar`},zn(Jn,ur)),wt(gt));Lr=je.createElement("div",{className:`${lt}-header`},je.createElement(Be,Object.assign({},ir)))}let Fr;if(Jn||ur){let ir;if(Jn){const Hr=Object.assign(Object.assign({prefixCls:`${lt}-title`},Wn(Sn,ur)),wt(At));ir=je.createElement(Kn,Object.assign({},Hr))}let hr;if(ur){const Hr=Object.assign(Object.assign({prefixCls:`${lt}-paragraph`},Xe(Sn,Jn)),wt(jt));hr=je.createElement(Rn,Object.assign({},Hr))}Fr=je.createElement("div",{className:`${lt}-content`},ir,hr)}const fr=Ce()(lt,{[`${lt}-with-avatar`]:Sn,[`${lt}-active`]:kn,[`${lt}-rtl`]:Mt==="rtl",[`${lt}-round`]:It},En==null?void 0:En.className,pt,He,hn);return Yt(je.createElement("div",{className:fr,style:Object.assign(Object.assign({},En==null?void 0:En.style),Ve)},Lr,Fr))}return typeof bt!="undefined"?bt:null};fn.Button=et,fn.Avatar=Ge,fn.Input=ut,fn.Image=Oe,fn.Node=ft;var Le=fn,he=Le},31797:function(Vt,Ut,ve){"use strict";ve.d(Ut,{default:function(){return Pe}});var le=ve(59301),Ce=ve(56762),je=ve(92343),nt=ve(92310),ze=ve.n(nt),Re=ve(36355),Be=ve(61621),De=Ne=>{const{value:Ge,formatter:Ye,precision:et,decimalSeparator:ke,groupSeparator:ht="",prefixCls:Oe}=Ne;let xt;if(typeof Ye=="function")xt=Ye(Ge);else{const ut=String(Ge),ot=ut.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||ut==="-")xt=ut;else{const Et=ot[1];let ct=ot[2]||"0",Bt=ot[4]||"";ct=ct.replace(/\B(?=(\d{3})+(?!\d))/g,ht),typeof et=="number"&&(Bt=Bt.padEnd(et,"0").slice(0,et>0?et:0)),Bt&&(Bt=`${ke}${Bt}`),xt=[le.createElement("span",{key:"int",className:`${Oe}-content-value-int`},Et,ct),Bt&&le.createElement("span",{key:"decimal",className:`${Oe}-content-value-decimal`},Bt)]}}return le.createElement("span",{className:`${Oe}-content-value`},xt)},ce=ve(17313),Ue=ve(83116),Fe=ve(37613);const be=Ne=>{const{componentCls:Ge,marginXXS:Ye,padding:et,colorTextDescription:ke,titleFontSize:ht,colorTextHeading:Oe,contentFontSize:xt,fontFamily:ut}=Ne;return{[`${Ge}`]:Object.assign(Object.assign({},(0,ce.Wf)(Ne)),{[`${Ge}-title`]:{marginBottom:Ye,color:ke,fontSize:ht},[`${Ge}-skeleton`]:{paddingTop:et},[`${Ge}-content`]:{color:Oe,fontSize:xt,fontFamily:ut,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ye},[`${Ge}-content-suffix`]:{marginInlineStart:Ye}}})}};var ie=(0,Ue.Z)("Statistic",Ne=>{const Ge=(0,Fe.TS)(Ne,{});return[be(Ge)]},Ne=>{const{fontSizeHeading3:Ge,fontSize:Ye}=Ne;return{titleFontSize:Ye,contentFontSize:Ge}}),a=Ne=>{const{prefixCls:Ge,className:Ye,rootClassName:et,style:ke,valueStyle:ht,value:Oe=0,title:xt,valueRender:ut,prefix:ot,suffix:Et,loading:ct=!1,onMouseEnter:Bt,onMouseLeave:st,decimalSeparator:rt=".",groupSeparator:Rt=","}=Ne,{getPrefixCls:An,direction:ft,statistic:Nt}=le.useContext(Re.E_),yn=An("statistic",Ge),[Rn,un]=ie(yn),Kn=le.createElement(De,Object.assign({decimalSeparator:rt,groupSeparator:Rt,prefixCls:yn},Ne,{value:Oe})),wt=ze()(yn,{[`${yn}-rtl`]:ft==="rtl"},Nt==null?void 0:Nt.className,Ye,et,un);return Rn(le.createElement("div",{className:wt,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),ke),onMouseEnter:Bt,onMouseLeave:st},xt&&le.createElement("div",{className:`${yn}-title`},xt),le.createElement(Be.Z,{paragraph:!1,loading:ct,className:`${yn}-skeleton`},le.createElement("div",{style:ht,className:`${yn}-content`},ot&&le.createElement("span",{className:`${yn}-content-prefix`},ot),ut?ut(Kn):Kn,Et&&le.createElement("span",{className:`${yn}-content-suffix`},Et)))))};const ee=[["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(Ne,Ge){let Ye=Ne;const et=/\[[^\]]*]/g,ke=(Ge.match(et)||[]).map(ut=>ut.slice(1,-1)),ht=Ge.replace(et,"[]"),Oe=ee.reduce((ut,ot)=>{let[Et,ct]=ot;if(ut.includes(Et)){const Bt=Math.floor(Ye/ct);return Ye-=Bt*ct,ut.replace(new RegExp(`${Et}+`,"g"),st=>{const rt=st.length;return Bt.toString().padStart(rt,"0")})}return ut},ht);let xt=0;return Oe.replace(et,()=>{const ut=ke[xt];return xt+=1,ut})}function te(Ne,Ge){const{format:Ye=""}=Ge,et=new Date(Ne).getTime(),ke=Date.now(),ht=Math.max(et-ke,0);return b(ht,Ye)}const ne=1e3/30;function ae(Ne){return new Date(Ne).getTime()}const fe=Ne=>{const{value:Ge,format:Ye="HH:mm:ss",onChange:et,onFinish:ke}=Ne,ht=(0,Ce.Z)(),Oe=le.useRef(null),xt=()=>{ke==null||ke(),Oe.current&&(clearInterval(Oe.current),Oe.current=null)},ut=()=>{const ct=ae(Ge);ct>=Date.now()&&(Oe.current=setInterval(()=>{ht(),et==null||et(ct-Date.now()),ct(ut(),()=>{Oe.current&&(clearInterval(Oe.current),Oe.current=null)}),[Ge]);const ot=(ct,Bt)=>te(ct,Object.assign(Object.assign({},Bt),{format:Ye})),Et=ct=>(0,je.Tm)(ct,{title:void 0});return le.createElement(a,Object.assign({},Ne,{valueRender:Et,formatter:ot}))};var xe=le.memo(fe);a.Countdown=xe;var Pe=a},15969:function(Vt,Ut,ve){"use strict";ve.d(Ut,{N:function(){return le}});const le=Ce=>({color:Ce.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ce.motionDurationSlow}`,"&:focus, &:hover":{color:Ce.colorLinkHover},"&:active":{color:Ce.colorLinkActive}})},1710:function(Vt,Ut,ve){"use strict";ve.d(Ut,{default:function(){return r0}});var le={},Ce="rc-table-internal-hook",je=ve(42978),nt=ve(6089),ze=ve(34280),Re=ve(13697),Be=ve(59301),we=ve(4676);function De(Je){var tt=Be.createContext(void 0),Pt=function(qt){var $t=qt.value,Pn=qt.children,In=Be.useRef($t);In.current=$t;var Bn=Be.useState(function(){return{getValue:function(){return In.current},listeners:new Set}}),Gn=(0,je.Z)(Bn,1),er=Gn[0];return(0,ze.Z)(function(){(0,we.unstable_batchedUpdates)(function(){er.listeners.forEach(function(Zn){Zn($t)})})},[$t]),Be.createElement(tt.Provider,{value:er},Pn)};return{Context:tt,Provider:Pt,defaultValue:Je}}function ce(Je,tt){var Pt=(0,nt.Z)(typeof tt=="function"?tt:function(Zn){if(tt===void 0)return Zn;if(!Array.isArray(tt))return Zn[tt];var xr={};return tt.forEach(function(Br){xr[Br]=Zn[Br]}),xr}),Tt=Be.useContext(Je==null?void 0:Je.Context),qt=Tt||{},$t=qt.listeners,Pn=qt.getValue,In=Be.useRef();In.current=Pt(Tt?Pn():Je==null?void 0:Je.defaultValue);var Bn=Be.useState({}),Gn=(0,je.Z)(Bn,2),er=Gn[1];return(0,ze.Z)(function(){if(!Tt)return;function Zn(xr){var Br=Pt(xr);(0,Re.Z)(In.current,Br,!0)||er({})}return $t.add(Zn),function(){$t.delete(Zn)}},[Tt]),In.current}var Ue=ve(54476),Fe=ve(8654);function be(){var Je=Be.createContext(null);function tt(){return Be.useContext(Je)}function Pt(qt,$t){var Pn=(0,Fe.Yr)(qt),In=function(Gn,er){var Zn=Pn?{ref:er}:{},xr=Be.useRef(0),Br=Be.useRef(Gn),Sr=tt();return Sr!==null?Be.createElement(qt,(0,Ue.Z)({},Gn,Zn)):((!$t||$t(Br.current,Gn))&&(xr.current+=1),Br.current=Gn,Be.createElement(Je.Provider,{value:xr.current},Be.createElement(qt,(0,Ue.Z)({},Gn,Zn))))};return Pn?Be.forwardRef(In):In}function Tt(qt,$t){var Pn=(0,Fe.Yr)(qt),In=function(Gn,er){var Zn=Pn?{ref:er}:{};return tt(),Be.createElement(qt,(0,Ue.Z)({},Gn,Zn))};return Pn?Be.memo(Be.forwardRef(In),$t):Be.memo(In,$t)}return{makeImmutable:Pt,responseImmutable:Tt,useImmutableMark:tt}}var ie=be(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,b=be(),te=b.makeImmutable,ne=b.responseImmutable,ae=b.useImmutableMark,fe=De(),xe=fe;function Pe(Je,tt){var Pt=Be.useRef(0);Pt.current+=1;var Tt=Be.useRef(Je),qt=[];Object.keys(Je||{}).map(function(Pn){var In;(Je==null?void 0:Je[Pn])!==((In=Tt.current)===null||In===void 0?void 0:In[Pn])&&qt.push(Pn)}),Tt.current=Je;var $t=Be.useRef([]);return qt.length&&($t.current=qt),Be.useDebugValue(Pt.current),Be.useDebugValue($t.current.join(", ")),tt&&console.log("".concat(tt,":"),Pt.current,$t.current),Pt.current}var Ne=null,Ge=Be.memo(function(){var Je=Pe();return Be.createElement("h1",null,"Render Times: ",Je)});Ge.displayName="RenderBlock";var Ye=ve(76190),et=ve(33885),ke=ve(20068),ht=ve(92310),Oe=ve.n(ht),xt=ve(80547),ut=ve(97938),ot=ve(48736),Et=Be.createContext({renderWithProps:!1}),ct=Et,Bt="RC_TABLE_KEY";function st(Je){return Je==null?[]:Array.isArray(Je)?Je:[Je]}function rt(Je){var tt=[],Pt={};return Je.forEach(function(Tt){for(var qt=Tt||{},$t=qt.key,Pn=qt.dataIndex,In=$t||st(Pn).join("-")||Bt;Pt[In];)In="".concat(In,"_next");Pt[In]=!0,tt.push(In)}),tt}function Rt(Je){return Je!=null}function An(Je){return Je&&(0,Ye.Z)(Je)==="object"&&!Array.isArray(Je)&&!Be.isValidElement(Je)}function ft(Je,tt,Pt,Tt,qt,$t){var Pn=Be.useContext(ct),In=ae(),Bn=(0,xt.Z)(function(){if(Rt(Tt))return[Tt];var Gn=tt==null||tt===""?[]:Array.isArray(tt)?tt:[tt],er=(0,ut.Z)(Je,Gn),Zn=er,xr=void 0;if(qt){var Br=qt(er,Je,Pt);An(Br)?(Zn=Br.children,xr=Br.props,Pn.renderWithProps=!0):Zn=Br}return[Zn,xr]},[In,Je,Tt,tt,qt,Pt],function(Gn,er){if($t){var Zn=(0,je.Z)(Gn,2),xr=Zn[1],Br=(0,je.Z)(er,2),Sr=Br[1];return $t(Sr,xr)}return Pn.renderWithProps?!0:!(0,Re.Z)(Gn,er,!0)});return Bn}function Nt(Je,tt,Pt,Tt){var qt=Je+tt-1;return Je<=Tt&&qt>=Pt}function yn(Je,tt){return ce(xe,function(Pt){var Tt=Nt(Je,tt||1,Pt.hoverStartRow,Pt.hoverEndRow);return[Tt,Pt.onHover]})}var Rn=function(tt){var Pt=tt.ellipsis,Tt=tt.rowType,qt=tt.children,$t,Pn=Pt===!0?{showTitle:!0}:Pt;return Pn&&(Pn.showTitle||Tt==="header")&&(typeof qt=="string"||typeof qt=="number"?$t=qt.toString():Be.isValidElement(qt)&&typeof qt.props.children=="string"&&($t=qt.props.children)),$t};function un(Je){var tt,Pt,Tt,qt,$t,Pn,In,Bn,Gn=Je.component,er=Je.children,Zn=Je.ellipsis,xr=Je.scope,Br=Je.prefixCls,Sr=Je.className,ta=Je.align,Wr=Je.record,qr=Je.render,Zr=Je.dataIndex,ua=Je.renderIndex,Ha=Je.shouldCellUpdate,Za=Je.index,Pa=Je.rowType,so=Je.colSpan,bo=Je.rowSpan,ga=Je.fixLeft,xa=Je.fixRight,Ba=Je.firstFixLeft,Aa=Je.lastFixLeft,ba=Je.firstFixRight,$a=Je.lastFixRight,Go=Je.appendNode,Eo=Je.additionalProps,Ya=Eo===void 0?{}:Eo,Oo=Je.isSticky,ri="".concat(Br,"-cell"),es=ce(xe,["supportSticky","allColumnsFixedLeft"]),Bi=es.supportSticky,ps=es.allColumnsFixedLeft,Is=ft(Wr,Zr,ua,er,qr,Ha),Lo=(0,je.Z)(Is,2),Js=Lo[0],Ci=Lo[1],ts={},is=typeof ga=="number"&&Bi,ul=typeof xa=="number"&&Bi;is&&(ts.position="sticky",ts.left=ga),ul&&(ts.position="sticky",ts.right=xa);var Sa=(tt=(Pt=(Tt=Ci==null?void 0:Ci.colSpan)!==null&&Tt!==void 0?Tt:Ya.colSpan)!==null&&Pt!==void 0?Pt:so)!==null&&tt!==void 0?tt:1,ro=(qt=($t=(Pn=Ci==null?void 0:Ci.rowSpan)!==null&&Pn!==void 0?Pn:Ya.rowSpan)!==null&&$t!==void 0?$t:bo)!==null&&qt!==void 0?qt:1,eo=yn(Za,ro),Oa=(0,je.Z)(eo,2),bi=Oa[0],ka=Oa[1],wo=function(ia){var tl;Wr&&ka(Za,Za+ro-1),Ya==null||(tl=Ya.onMouseEnter)===null||tl===void 0||tl.call(Ya,ia)},Ai=function(ia){var tl;Wr&&ka(-1,-1),Ya==null||(tl=Ya.onMouseLeave)===null||tl===void 0||tl.call(Ya,ia)};if(Sa===0||ro===0)return null;var ui=(In=Ya.title)!==null&&In!==void 0?In:Rn({rowType:Pa,ellipsis:Zn,children:Js}),GA=Oe()(ri,Sr,(Bn={},(0,ke.Z)(Bn,"".concat(ri,"-fix-left"),is&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-left-first"),Ba&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-left-last"),Aa&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-left-all"),Aa&&ps&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-right"),ul&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-right-first"),ba&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-fix-right-last"),$a&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-ellipsis"),Zn),(0,ke.Z)(Bn,"".concat(ri,"-with-append"),Go),(0,ke.Z)(Bn,"".concat(ri,"-fix-sticky"),(is||ul)&&Oo&&Bi),(0,ke.Z)(Bn,"".concat(ri,"-row-hover"),!Ci&&bi),Bn),Ya.className,Ci==null?void 0:Ci.className),Ws={};ta&&(Ws.textAlign=ta);var ql=(0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)({},ts),Ya.style),Ws),Ci==null?void 0:Ci.style),Zs=Js;return(0,Ye.Z)(Zs)==="object"&&!Array.isArray(Zs)&&!Be.isValidElement(Zs)&&(Zs=null),Zn&&(Aa||ba)&&(Zs=Be.createElement("span",{className:"".concat(ri,"-content")},Zs)),Be.createElement(Gn,(0,Ue.Z)({},Ci,Ya,{className:GA,style:ql,title:ui,scope:xr,onMouseEnter:wo,onMouseLeave:Ai,colSpan:Sa!==1?Sa:null,rowSpan:ro!==1?ro:null}),Go,Zs)}var Kn=Be.memo(un);function wt(Je,tt,Pt,Tt,qt,$t){var Pn=Pt[Je]||{},In=Pt[tt]||{},Bn,Gn;Pn.fixed==="left"?Bn=Tt.left[qt==="rtl"?tt:Je]:In.fixed==="right"&&(Gn=Tt.right[qt==="rtl"?Je:tt]);var er=!1,Zn=!1,xr=!1,Br=!1,Sr=Pt[tt+1],ta=Pt[Je-1],Wr=!($t!=null&&$t.children);if(qt==="rtl"){if(Bn!==void 0){var qr=ta&&ta.fixed==="left";Br=!qr&&Wr}else if(Gn!==void 0){var Zr=Sr&&Sr.fixed==="right";xr=!Zr&&Wr}}else if(Bn!==void 0){var ua=Sr&&Sr.fixed==="left";er=!ua&&Wr}else if(Gn!==void 0){var Ha=ta&&ta.fixed==="right";Zn=!Ha&&Wr}return{fixLeft:Bn,fixRight:Gn,lastFixLeft:er,firstFixRight:Zn,lastFixRight:xr,firstFixLeft:Br,isSticky:Tt.isSticky}}var zn=Be.createContext({}),Wn=zn;function Xe(Je){var tt=Je.className,Pt=Je.index,Tt=Je.children,qt=Je.colSpan,$t=qt===void 0?1:qt,Pn=Je.rowSpan,In=Je.align,Bn=ce(xe,["prefixCls","direction"]),Gn=Bn.prefixCls,er=Bn.direction,Zn=Be.useContext(Wn),xr=Zn.scrollColumnIndex,Br=Zn.stickyOffsets,Sr=Zn.flattenColumns,ta=Zn.columns,Wr=Pt+$t-1,qr=Wr+1===xr?$t+1:$t,Zr=wt(Pt,Pt+qr-1,Sr,Br,er,ta==null?void 0:ta[Pt]);return Be.createElement(Kn,(0,Ue.Z)({className:tt,index:Pt,component:"td",prefixCls:Gn,record:null,dataIndex:null,align:In,colSpan:qr,rowSpan:Pn,render:function(){return Tt}},Zr))}var fn=ve(75931),Le=["children"];function he(Je){var tt=Je.children,Pt=(0,fn.Z)(Je,Le);return Be.createElement("tr",Pt,tt)}function ge(Je){var tt=Je.children;return tt}ge.Row=he,ge.Cell=Xe;var Se=ge;function qe(Je){var tt=Je.children,Pt=Je.stickyOffsets,Tt=Je.flattenColumns,qt=Je.columns,$t=ce(xe,"prefixCls"),Pn=Tt.length-1,In=Tt[Pn],Bn=Be.useMemo(function(){return{stickyOffsets:Pt,flattenColumns:Tt,scrollColumnIndex:In!=null&&In.scrollbar?Pn:null,columns:qt}},[In,Tt,Pn,Pt,qt]);return Be.createElement(Wn.Provider,{value:Bn},Be.createElement("tfoot",{className:"".concat($t,"-summary")},tt))}var pt=ne(qe),He=Se,Ve=ve(70425),bt=ve(29301),gt=ve(29194),At=ve(24514),jt=ve(75152),kn=ve(26112);function It(Je,tt,Pt,Tt,qt,$t,Pn){Je.push({record:tt,indent:Pt,index:Pn});var In=$t(tt),Bn=qt==null?void 0:qt.has(In);if(tt&&Array.isArray(tt[Tt])&&Bn)for(var Gn=0;Gn1?Ba-1:0),ba=1;ba=0;In-=1){var Bn=tt[In],Gn=Pt&&Pt[In],er=Gn&&Gn[ir];if(Bn||er||Pn){var Zn=er||{},xr=Zn.columnType,Br=(0,fn.Z)(Zn,Hr);qt.unshift(Be.createElement("col",(0,Ue.Z)({key:In,style:{width:Bn}},Br))),Pn=!0}}return Be.createElement("colgroup",null,qt)}var La=zr,cr=ve(94480),ao=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function no(Je,tt){return(0,Be.useMemo)(function(){for(var Pt=[],Tt=0;Tt1?"colgroup":"col":null,ellipsis:Wr.ellipsis,align:Wr.align,component:Wr.title?$t:Pn,prefixCls:er,key:Br[ta]},qr,{additionalProps:Zr,rowType:"header"}))}))}hi.displayName="HeaderRow";var ha=hi;function Li(Je){var tt=[];function Pt(Pn,In){var Bn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;tt[Bn]=tt[Bn]||[];var Gn=In,er=Pn.filter(Boolean).map(function(Zn){var xr={key:Zn.key,className:Zn.className||"",children:Zn.title,column:Zn,colStart:Gn},Br=1,Sr=Zn.children;return Sr&&Sr.length>0&&(Br=Pt(Sr,Gn,Bn+1).reduce(function(ta,Wr){return ta+Wr},0),xr.hasSubColumns=!0),"colSpan"in Zn&&(Br=Zn.colSpan),"rowSpan"in Zn&&(xr.rowSpan=Zn.rowSpan),xr.colSpan=Br,xr.colEnd=xr.colStart+Br-1,tt[Bn].push(xr),Gn+=Br,Br});return er}Pt(Je,0);for(var Tt=tt.length,qt=function(In){tt[In].forEach(function(Bn){!("rowSpan"in Bn)&&!Bn.hasSubColumns&&(Bn.rowSpan=Tt-In)})},$t=0;$t1&&arguments[1]!==void 0?arguments[1]:"";return typeof tt=="number"?tt:tt.endsWith("%")?Je*parseFloat(tt)/100:null}function mn(Je,tt){return Be.useMemo(function(){if(tt&&tt>0){var Pt=0,Tt=0;Je.forEach(function(Gn){var er=as(tt,Gn.width);er?Pt+=er:Tt+=1});var qt=tt-Pt,$t=Tt,Pn=qt/Tt,In=0,Bn=Je.map(function(Gn){var er=(0,et.Z)({},Gn),Zn=as(tt,er.width);if(Zn)er.width=Zn;else{var xr=Math.floor(Pn);er.width=$t===1?qt:xr,qt-=xr,$t-=1}return In+=er.width,er});return[Bn,In]}return[Je,tt]},[Je,tt])}var Cn=["children"],Fn=["fixed"];function gr(Je){return(0,Zi.Z)(Je).filter(function(tt){return Be.isValidElement(tt)}).map(function(tt){var Pt=tt.key,Tt=tt.props,qt=Tt.children,$t=(0,fn.Z)(Tt,Cn),Pn=(0,et.Z)({key:Pt},$t);return qt&&(Pn.children=gr(qt)),Pn})}function aa(Je){var tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Je.filter(function(Pt){return Pt&&(0,Ye.Z)(Pt)==="object"}).reduce(function(Pt,Tt,qt){var $t=Tt.fixed,Pn=$t===!0?"left":$t,In="".concat(tt,"-").concat(qt),Bn=Tt.children;return Bn&&Bn.length>0?[].concat((0,cr.Z)(Pt),(0,cr.Z)(aa(Bn,In).map(function(Gn){return(0,et.Z)({fixed:Pn},Gn)}))):[].concat((0,cr.Z)(Pt),[(0,et.Z)((0,et.Z)({key:In},Tt),{},{fixed:Pn})])},[])}function oa(Je){for(var tt=!0,Pt=0;Pt=0;$t-=1){var Pn=Je[$t];if(qt&&Pn.fixed!=="right")qt=!1;else if(!qt&&Pn.fixed==="right"){warning(!1,"Index ".concat($t+1," of `columns` missing `fixed='right'` prop."));break}}}function ma(Je){return Je.map(function(tt){var Pt=tt.fixed,Tt=(0,fn.Z)(tt,Fn),qt=Pt;return Pt==="left"?qt="right":Pt==="right"&&(qt="left"),(0,et.Z)({fixed:qt},Tt)})}function pa(Je,tt){var Pt=Je.prefixCls,Tt=Je.columns,qt=Je.children,$t=Je.expandable,Pn=Je.expandedKeys,In=Je.columnTitle,Bn=Je.getRowKey,Gn=Je.onTriggerExpand,er=Je.expandIcon,Zn=Je.rowExpandable,xr=Je.expandIconColumnIndex,Br=Je.direction,Sr=Je.expandRowByClick,ta=Je.columnWidth,Wr=Je.fixed,qr=Je.scrollWidth,Zr=Be.useMemo(function(){return Tt||gr(qt)},[Tt,qt]),ua=Be.useMemo(function(){if($t){var xa,Ba=Zr.slice();if(!Ba.includes(le)){var Aa=xr||0;Aa>=0&&Ba.splice(Aa,0,le)}var ba=Ba.indexOf(le);Ba=Ba.filter(function(Ya,Oo){return Ya!==le||Oo===ba});var $a=Zr[ba],Go;(Wr==="left"||Wr)&&!xr?Go="left":(Wr==="right"||Wr)&&xr===Zr.length?Go="right":Go=$a?$a.fixed:null;var Eo=(xa={},(0,ke.Z)(xa,ir,{className:"".concat(Pt,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ke.Z)(xa,"title",In),(0,ke.Z)(xa,"fixed",Go),(0,ke.Z)(xa,"className","".concat(Pt,"-row-expand-icon-cell")),(0,ke.Z)(xa,"width",ta),(0,ke.Z)(xa,"render",function(Oo,ri,es){var Bi=Bn(ri,es),ps=Pn.has(Bi),Is=Zn?Zn(ri):!0,Lo=er({prefixCls:Pt,expanded:ps,expandable:Is,record:ri,onExpand:Gn});return Sr?Be.createElement("span",{onClick:function(Ci){return Ci.stopPropagation()}},Lo):Lo}),xa);return Ba.map(function(Ya){return Ya===le?Eo:Ya})}return Zr.filter(function(Ya){return Ya!==le})},[$t,Zr,Bn,Pn,er,Br]),Ha=Be.useMemo(function(){var xa=ua;return tt&&(xa=tt(xa)),xa.length||(xa=[{render:function(){return null}}]),xa},[tt,ua,Br]),Za=Be.useMemo(function(){return Br==="rtl"?ma(aa(Ha)):aa(Ha)},[Ha,Br,qr]),Pa=mn(Za,qr),so=(0,je.Z)(Pa,2),bo=so[0],ga=so[1];return[Ha,bo,ga]}var da=pa;function co(Je){var tt,Pt=Je.prefixCls,Tt=Je.record,qt=Je.onExpand,$t=Je.expanded,Pn=Je.expandable,In="".concat(Pt,"-row-expand-icon");if(!Pn)return Be.createElement("span",{className:Oe()(In,"".concat(Pt,"-row-spaced"))});var Bn=function(er){qt(Tt,er),er.stopPropagation()};return Be.createElement("span",{className:Oe()(In,(tt={},(0,ke.Z)(tt,"".concat(Pt,"-row-expanded"),$t),(0,ke.Z)(tt,"".concat(Pt,"-row-collapsed"),!$t),tt)),onClick:Bn})}function Ti(Je,tt,Pt){var Tt=[];function qt($t){($t||[]).forEach(function(Pn,In){Tt.push(tt(Pn,In)),qt(Pn[Pt])})}return qt(Je),Tt}function li(Je,tt,Pt){var Tt=hr(Je),qt=Tt.expandIcon,$t=Tt.expandedRowKeys,Pn=Tt.defaultExpandedRowKeys,In=Tt.defaultExpandAllRows,Bn=Tt.expandedRowRender,Gn=Tt.onExpand,er=Tt.onExpandedRowsChange,Zn=Tt.childrenColumnName,xr=qt||co,Br=Zn||"children",Sr=Be.useMemo(function(){return Bn?"row":Je.expandable&&Je.internalHooks===Ce&&Je.expandable.__PARENT_RENDER_ICON__||tt.some(function(Za){return Za&&(0,Ye.Z)(Za)==="object"&&Za[Br]})?"nest":!1},[!!Bn,tt]),ta=Be.useState(function(){return Pn||(In?Ti(tt,Pt,Br):[])}),Wr=(0,je.Z)(ta,2),qr=Wr[0],Zr=Wr[1],ua=Be.useMemo(function(){return new Set($t||qr||[])},[$t,qr]),Ha=Be.useCallback(function(Za){var Pa=Pt(Za,tt.indexOf(Za)),so,bo=ua.has(Pa);bo?(ua.delete(Pa),so=(0,cr.Z)(ua)):so=[].concat((0,cr.Z)(ua),[Pa]),Zr(so),Gn&&Gn(!bo,Za),er&&er(so)},[Pt,ua,tt,Gn,er]);return[Tt,Sr,ua,xr,Br,Ha]}function kr(Je,tt,Pt,Tt){var qt=Je.map(function($t,Pn){return wt(Pn,Pn,Je,tt,Pt,Tt==null?void 0:Tt[Pn])});return(0,xt.Z)(function(){return qt},[qt],function($t,Pn){return!(0,Re.Z)($t,Pn)})}function Ua(Je){var tt=(0,Be.useRef)(Je),Pt=(0,Be.useState)({}),Tt=(0,je.Z)(Pt,2),qt=Tt[1],$t=(0,Be.useRef)(null),Pn=(0,Be.useRef)([]);function In(Bn){Pn.current.push(Bn);var Gn=Promise.resolve();$t.current=Gn,Gn.then(function(){if($t.current===Gn){var er=Pn.current,Zn=tt.current;Pn.current=[],er.forEach(function(xr){tt.current=xr(tt.current)}),$t.current=null,Zn!==tt.current&&qt({})}})}return(0,Be.useEffect)(function(){return function(){$t.current=null}},[]),[tt.current,In]}function Ki(Je){var tt=(0,Be.useRef)(Je||null),Pt=(0,Be.useRef)();function Tt(){window.clearTimeout(Pt.current)}function qt(Pn){tt.current=Pn,Tt(),Pt.current=window.setTimeout(function(){tt.current=null,Pt.current=void 0},100)}function $t(){return tt.current}return(0,Be.useEffect)(function(){return Tt},[]),[qt,$t]}function $o(){var Je=Be.useState(-1),tt=(0,je.Z)(Je,2),Pt=tt[0],Tt=tt[1],qt=Be.useState(-1),$t=(0,je.Z)(qt,2),Pn=$t[0],In=$t[1],Bn=Be.useCallback(function(Gn,er){Tt(Gn),In(er)},[]);return[Pt,Pn,Bn]}var Uo=ve(47273),xo=(0,Uo.Z)()?window:null;function qi(Je,tt){var Pt=(0,Ye.Z)(Je)==="object"?Je:{},Tt=Pt.offsetHeader,qt=Tt===void 0?0:Tt,$t=Pt.offsetSummary,Pn=$t===void 0?0:$t,In=Pt.offsetScroll,Bn=In===void 0?0:In,Gn=Pt.getContainer,er=Gn===void 0?function(){return xo}:Gn,Zn=er()||xo;return Be.useMemo(function(){var xr=!!Je;return{isSticky:xr,stickyClassName:xr?"".concat(tt,"-sticky-holder"):"",offsetHeader:qt,offsetSummary:Pn,offsetScroll:Bn,container:Zn}},[Bn,qt,Pn,tt,Zn])}function Vs(Je,tt,Pt){var Tt=(0,Be.useMemo)(function(){for(var qt=[],$t=[],Pn=0,In=0,Bn=0;Bn=Zn&&(Ya=Zn-xr),Pn({scrollLeft:Ya/Zn*(er+2)}),Zr.current.x=ba.pageX},xa=function(){if($t.current){var ba=(0,lA.os)($t.current).top,$a=ba+$t.current.offsetHeight,Go=Bn===window?document.documentElement.scrollTop+window.innerHeight:(0,lA.os)(Bn).top+Bn.clientHeight;$a-(0,jt.Z)()<=Go||ba>=Go-In?qr(function(Eo){return(0,et.Z)((0,et.Z)({},Eo),{},{isHiddenScrollBar:!0})}):qr(function(Eo){return(0,et.Z)((0,et.Z)({},Eo),{},{isHiddenScrollBar:!1})})}},Ba=function(ba){qr(function($a){return(0,et.Z)((0,et.Z)({},$a),{},{scrollLeft:ba/er*Zn||0})})};return Be.useImperativeHandle(Pt,function(){return{setScrollLeft:Ba}}),Be.useEffect(function(){var Aa=(0,Ui.Z)(document.body,"mouseup",so,!1),ba=(0,Ui.Z)(document.body,"mousemove",ga,!1);return xa(),function(){Aa.remove(),ba.remove()}},[xr,Za]),Be.useEffect(function(){var Aa=(0,Ui.Z)(Bn,"scroll",xa,!1),ba=(0,Ui.Z)(window,"resize",xa,!1);return function(){Aa.remove(),ba.remove()}},[Bn]),Be.useEffect(function(){Wr.isHiddenScrollBar||qr(function(Aa){var ba=$t.current;return ba?(0,et.Z)((0,et.Z)({},Aa),{},{scrollLeft:ba.scrollLeft/ba.scrollWidth*ba.clientWidth}):Aa})},[Wr.isHiddenScrollBar]),er<=Zn||!xr||Wr.isHiddenScrollBar?null:Be.createElement("div",{style:{height:(0,jt.Z)(),width:Zn,bottom:In},className:"".concat(Gn,"-sticky-scroll")},Be.createElement("div",{onMouseDown:bo,ref:Br,className:Oe()("".concat(Gn,"-sticky-scroll-bar"),(0,ke.Z)({},"".concat(Gn,"-sticky-scroll-bar-active"),Za)),style:{width:"".concat(xr,"px"),transform:"translate3d(".concat(Wr.scrollLeft,"px, 0, 0)")}}))},Ir=Be.forwardRef(Bl);function qA(Je){return null}var Eu=qA;function wl(Je){return null}var yl=wl,au="rc-table",Gr=[],oo={};function io(){return"No Data"}function Ja(Je){var tt,Pt=(0,et.Z)({rowKey:"key",prefixCls:au,emptyText:io},Je),Tt=Pt.prefixCls,qt=Pt.className,$t=Pt.rowClassName,Pn=Pt.style,In=Pt.data,Bn=Pt.rowKey,Gn=Pt.scroll,er=Pt.tableLayout,Zn=Pt.direction,xr=Pt.title,Br=Pt.footer,Sr=Pt.summary,ta=Pt.caption,Wr=Pt.id,qr=Pt.showHeader,Zr=Pt.components,ua=Pt.emptyText,Ha=Pt.onRow,Za=Pt.onHeaderRow,Pa=Pt.internalHooks,so=Pt.transformColumns,bo=Pt.internalRefs,ga=Pt.tailor,xa=Pt.sticky,Ba=In||Gr,Aa=!!Ba.length,ba=Pa===Ce,$a=Be.useCallback(function(Ii,gs){return(0,ut.Z)(Zr,Ii)||gs},[Zr]),Go=Be.useMemo(function(){return typeof Bn=="function"?Bn:function(Ii){var gs=Ii&&Ii[Bn];return gs}},[Bn]),Eo=$a(["body"]),Ya=$o(),Oo=(0,je.Z)(Ya,3),ri=Oo[0],es=Oo[1],Bi=Oo[2],ps=li(Pt,Ba,Go),Is=(0,je.Z)(ps,6),Lo=Is[0],Js=Is[1],Ci=Is[2],ts=Is[3],is=Is[4],ul=Is[5],Sa=Gn==null?void 0:Gn.x,ro=Be.useState(0),eo=(0,je.Z)(ro,2),Oa=eo[0],bi=eo[1],ka=da((0,et.Z)((0,et.Z)((0,et.Z)({},Pt),Lo),{},{expandable:!!Lo.expandedRowRender,columnTitle:Lo.columnTitle,expandedKeys:Ci,getRowKey:Go,onTriggerExpand:ul,expandIcon:ts,expandIconColumnIndex:Lo.expandIconColumnIndex,direction:Zn,scrollWidth:ba&&ga&&typeof Sa=="number"?Sa:null}),ba?so:null),wo=(0,je.Z)(ka,3),Ai=wo[0],ui=wo[1],GA=wo[2],Ws=GA!=null?GA:Sa,ql=Be.useMemo(function(){return{columns:Ai,flattenColumns:ui}},[Ai,ui]),Zs=Be.useRef(),bl=Be.useRef(),ia=Be.useRef(),tl=Be.useRef(),Cc=Be.useRef(),Pi=Be.useState(!1),ai=(0,je.Z)(Pi,2),Ps=ai[0],oA=ai[1],ds=Be.useState(!1),Wo=(0,je.Z)(ds,2),WA=Wo[0],TA=Wo[1],cl=Ua(new Map),nl=(0,je.Z)(cl,2),rl=nl[0],Ql=nl[1],_u=rt(ui),Ol=_u.map(function(Ii){return rl.get(Ii)}),Ns=Be.useMemo(function(){return Ol},[Ol.join("_")]),EA=Ys(Ns,ui.length,Zn),qs=Gn&&Rt(Gn.y),xs=Gn&&Rt(Ws)||!!Lo.fixed,du=xs&&ui.some(function(Ii){var gs=Ii.fixed;return gs}),Qu=Be.useRef(),Ku=qi(xa,Tt),gu=Ku.isSticky,vd=Ku.offsetHeader,Zd=Ku.offsetSummary,ci=Ku.offsetScroll,ss=Ku.stickyClassName,CA=Ku.container,Es=Be.useMemo(function(){return Sr==null?void 0:Sr(Ba)},[Sr,Ba]),bA=(qs||gu)&&Be.isValidElement(Es)&&Es.type===Se&&Es.props.fixed,RA,Ds,fu;qs&&(Ds={overflowY:"scroll",maxHeight:Gn.y}),xs&&(RA={overflowX:"auto"},qs||(Ds={overflowY:"hidden"}),fu={width:Ws===!0?"auto":Ws,minWidth:"100%"});var Bd=Be.useCallback(function(Ii,gs){(0,gt.Z)(Zs.current)&&Ql(function($l){if($l.get(Ii)!==gs){var ic=new Map($l);return ic.set(Ii,gs),ic}return $l})},[]),wd=Ki(null),Vd=(0,je.Z)(wd,2),Fg=Vd[0],Lg=Vd[1];function Xc(Ii,gs){gs&&(typeof gs=="function"?gs(Ii):gs.scrollLeft!==Ii&&(gs.scrollLeft=Ii,gs.scrollLeft!==Ii&&setTimeout(function(){gs.scrollLeft=Ii},0)))}var hu=(0,nt.Z)(function(Ii){var gs=Ii.currentTarget,$l=Ii.scrollLeft,ic=Zn==="rtl",sc=typeof $l=="number"?$l:gs.scrollLeft,xf=gs||oo;if(!Lg()||Lg()===xf){var kg;Fg(xf),Xc(sc,bl.current),Xc(sc,ia.current),Xc(sc,Cc.current),Xc(sc,(kg=Qu.current)===null||kg===void 0?void 0:kg.setScrollLeft)}var Mg=gs||bl.current;if(Mg){var Tg=Mg.scrollWidth,Rg=Mg.clientWidth;if(Tg===Rg){oA(!1),TA(!1);return}ic?(oA(-sc0)):(oA(sc>0),TA(sc1?ta-ba:0,Go=(0,et.Z)((0,et.Z)((0,et.Z)({},so),Bn),{},{flex:"0 0 ".concat(ba,"px"),width:"".concat(ba,"px"),marginRight:$a,pointerEvents:"auto"}),Eo=Be.useMemo(function(){return er?Ba<=1:ga===0||Ba===0||Ba>1},[Ba,ga,er]);Eo?Go.visibility="hidden":er&&(Go.height=Zn==null?void 0:Zn(Ba));var Ya=Eo?function(){return null}:xr,Oo={};return(Ba===0||ga===0)&&(Oo.rowSpan=1,Oo.colSpan=1),Be.createElement(Kn,(0,Ue.Z)({className:Oe()(Sr,Gn),ellipsis:Pt.ellipsis,align:Pt.align,scope:Pt.rowScope,component:"div",prefixCls:tt.prefixCls,key:ua,record:In,index:$t,renderIndex:Pn,dataIndex:Br,render:Ya,shouldCellUpdate:Pt.shouldCellUpdate},Ha,{appendNode:Za,additionalProps:(0,et.Z)((0,et.Z)({},Pa),{},{style:Go},Oo)}))}var Nl=wc,Ru=["data","index","className","rowKey","style","extra","getHeight"],Sl=Be.forwardRef(function(Je,tt){var Pt=Je.data,Tt=Je.index,qt=Je.className,$t=Je.rowKey,Pn=Je.style,In=Je.extra,Bn=Je.getHeight,Gn=(0,fn.Z)(Je,Ru),er=Pt.record,Zn=Pt.indent,xr=Pt.index,Br=ce(xe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=Br.scrollX,ta=Br.flattenColumns,Wr=Br.prefixCls,qr=Br.fixColumn,Zr=Br.componentWidth,ua=lt(er,$t,Tt,Zn),Ha=ua.rowSupportExpand,Za=ua.expanded,Pa=ua.rowProps,so=ua.expandedRowRender,bo=ua.expandedRowClassName,ga;if(Ha&&Za){var xa=so(er,Tt,Zn+1,Za),Ba=bo==null?void 0:bo(er,Tt,Zn),Aa={};qr&&(Aa={style:(0,ke.Z)({},"--virtual-width","".concat(Zr,"px"))});var ba="".concat(Wr,"-expanded-row-cell");ga=Be.createElement("div",{className:Oe()("".concat(Wr,"-expanded-row"),"".concat(Wr,"-expanded-row-level-").concat(Zn+1),Ba)},Be.createElement(Kn,{component:"div",prefixCls:Wr,className:Oe()(ba,(0,ke.Z)({},"".concat(ba,"-fixed"),qr)),additionalProps:Aa},xa))}var $a=(0,et.Z)((0,et.Z)({},Pn),{},{width:Sr});In&&($a.position="absolute",$a.pointerEvents="none");var Go=Be.createElement("div",(0,Ue.Z)({},Pa,Gn,{ref:Ha?null:tt,className:Oe()(qt,"".concat(Wr,"-row"),Pa==null?void 0:Pa.className,(0,ke.Z)({},"".concat(Wr,"-row-extra"),In)),style:(0,et.Z)((0,et.Z)({},$a),Pa==null?void 0:Pa.style)}),ta.map(function(Eo,Ya){return Be.createElement(Nl,{key:Ya,rowInfo:ua,column:Eo,colIndex:Ya,indent:Zn,index:Tt,renderIndex:xr,record:er,inverse:In,getHeight:Bn})}));return Ha?Be.createElement("div",{ref:tt},Go,ga):Go}),Cu=ne(Sl),bu=Cu,IA=Be.forwardRef(function(Je,tt){var Pt=Je.data,Tt=Je.onScroll,qt=ce(xe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=qt.flattenColumns,Pn=qt.onColumnResize,In=qt.getRowKey,Bn=qt.expandedKeys,Gn=qt.prefixCls,er=qt.childrenColumnName,Zn=qt.emptyNode,xr=qt.scrollX,Br=ce(LA),Sr=Br.scrollY,ta=Br.listItemHeight,Wr=Be.useRef(),qr=on(Pt,er,Bn,In),Zr=Be.useMemo(function(){var ga=0;return $t.map(function(xa){var Ba=xa.width,Aa=xa.key;return ga+=Ba,[Aa,Ba,ga]})},[$t]),ua=Be.useMemo(function(){return Zr.map(function(ga){return ga[2]})},[Zr]);Be.useEffect(function(){Zr.forEach(function(ga){var xa=(0,je.Z)(ga,2),Ba=xa[0],Aa=xa[1];Pn(Ba,Aa)})},[Zr]),Be.useImperativeHandle(tt,function(){var ga={};return Object.defineProperty(ga,"scrollLeft",{get:function(){var Ba;return((Ba=Wr.current)===null||Ba===void 0?void 0:Ba.getScrollInfo().x)||0},set:function(Ba){var Aa;(Aa=Wr.current)===null||Aa===void 0||Aa.scrollTo({left:Ba})}}),ga});var Ha=function(xa,Ba){var Aa,ba=(Aa=qr[Ba])===null||Aa===void 0?void 0:Aa.record,$a=xa.onCell;if($a){var Go,Eo=$a(ba,Ba);return(Go=Eo==null?void 0:Eo.rowSpan)!==null&&Go!==void 0?Go:1}return 1},Za=function(xa){var Ba=xa.start,Aa=xa.end,ba=xa.getSize,$a=xa.offsetY;if(Aa<0)return null;for(var Go=$t.filter(function(Sa){return Ha(Sa,Ba)===0}),Eo=Ba,Ya=function(ro){if(Go=Go.filter(function(eo){return Ha(eo,ro)===0}),!Go.length)return Eo=ro,"break"},Oo=Ba;Oo>=0;Oo-=1){var ri=Ya(Oo);if(ri==="break")break}for(var es=$t.filter(function(Sa){return Ha(Sa,Aa)!==1}),Bi=Aa,ps=function(ro){if(es=es.filter(function(eo){return Ha(eo,ro)!==1}),!es.length)return Bi=Math.max(ro-1,Aa),"break"},Is=Aa;Is1})&&Js.push(ro)},ts=Eo;ts<=Bi;ts+=1)var is=Ci(ts);var ul=Js.map(function(Sa){var ro=qr[Sa],eo=In(ro.record,Sa),Oa=function(wo){var Ai=Sa+wo-1,ui=In(qr[Ai].record,Ai),GA=ba(eo,ui);return GA.bottom-GA.top},bi=ba(eo);return Be.createElement(bu,{key:Sa,data:ro,rowKey:eo,index:Sa,style:{top:-$a+bi.top},extra:!0,getHeight:Oa})});return ul},Pa=Be.useMemo(function(){return{columnsOffset:ua}},[ua]),so="".concat(Gn,"-tbody"),bo;return qr.length?bo=Be.createElement(gA.Z,{fullHeight:!1,ref:Wr,className:Oe()(so,"".concat(so,"-virtual")),height:Sr,itemHeight:ta||24,data:qr,itemKey:function(xa){return In(xa.record)},scrollWidth:xr,onVirtualScroll:function(xa){var Ba=xa.x;Tt({scrollLeft:Ba})},extraRender:Za},function(ga,xa,Ba){var Aa=In(ga.record,xa);return Be.createElement(bu,(0,Ue.Z)({data:ga,rowKey:Aa,index:xa},Ba))}):bo=Be.createElement("div",{className:Oe()("".concat(Gn,"-placeholder"))},Be.createElement(Kn,{component:"div",prefixCls:Gn},Zn)),Be.createElement(oi.Provider,{value:Pa},bo)}),Pu=ne(IA),Al=Pu,xu=function(tt,Pt){var Tt=Pt.ref,qt=Pt.onScroll;return Be.createElement(Al,{ref:Tt,data:tt,onScroll:qt})},NA=100;function ou(Je){var tt=Je.columns,Pt=Je.scroll,Tt=Je.prefixCls,qt=Tt===void 0?au:Tt,$t=Je.className,Pn=Je.listItemHeight,In=Pt||{},Bn=In.x,Gn=In.y;typeof Bn!="number"&&(Bn=((tt||[]).length+1)*NA),typeof Gn!="number"&&(Gn=500);var er=Be.useMemo(function(){return{scrollY:Gn,listItemHeight:Pn}},[Gn,Pn]);return Be.createElement(LA.Provider,{value:er},Be.createElement(zs,(0,Ue.Z)({},Je,{className:Oe()($t,"".concat(qt,"-virtual")),scroll:(0,et.Z)((0,et.Z)({},Pt),{},{x:Bn}),components:{body:xu},columns:tt,internalHooks:Ce,tailor:!0})))}function Fu(Je){return te(ou,Je)}var dn=Fu(),KA=null;function iu(Je){return null}var DA=iu;function $A(Je){return null}var su=$A,ju=ve(2738),Dl=ve(68031),ks=ve(36355),fA=ve(93891),ec=ve(19716),Vi=ve(8628),Au=ve(31724),tc=ve(58421),Hu=ve(71418),Ia=ve(88088);function Gt(Je){return function(Pt){let{prefixCls:Tt,onExpand:qt,record:$t,expanded:Pn,expandable:In}=Pt;const Bn=`${Tt}-row-expand-icon`;return Be.createElement("button",{type:"button",onClick:Gn=>{qt($t,Gn),Gn.stopPropagation()},className:Oe()(Bn,{[`${Bn}-spaced`]:!In,[`${Bn}-expanded`]:In&&Pn,[`${Bn}-collapsed`]:In&&!Pn}),"aria-label":Pn?Je.collapse:Je.expand,"aria-expanded":Pn})}}var Ot=Gt;function cn(Je,tt){return"key"in Je&&Je.key!==void 0&&Je.key!==null?Je.key:Je.dataIndex?Array.isArray(Je.dataIndex)?Je.dataIndex.join("."):Je.dataIndex:tt}function dr(Je,tt){return tt?`${tt}-${Je}`:`${Je}`}function Cr(Je,tt){return typeof Je=="function"?Je(tt):Je}function ya(Je,tt){const Pt=Cr(Je,tt);return Object.prototype.toString.call(Pt)==="[object Object]"?"":Pt}var la={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"},Nr=la,Rr=ve(7657),za=function(tt,Pt){return Be.createElement(Rr.Z,(0,Ue.Z)({},tt,{ref:Pt,icon:Nr}))},Yo=Be.forwardRef(za),Ko=Yo,Wa=ve(56762);function Io(Je){const tt=Be.useRef(Je),Pt=(0,Wa.Z)();return[()=>tt.current,Tt=>{tt.current=Tt,Pt()}]}var Ln=ve(3113),vn=ve(24905),Dn=ve(38854),Un=ve(64165),lr=ve(20834),_r=ve(40875),$n=ve(5112),$r=ve(17574),ea=ve(47472),va=ve(92832);function qa(Je){let{value:tt,onChange:Pt,filterSearch:Tt,tablePrefixCls:qt,locale:$t}=Je;return Tt?Be.createElement("div",{className:`${qt}-filter-dropdown-search`},Be.createElement(va.default,{prefix:Be.createElement(ea.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:Pt,value:tt,htmlSize:1,className:`${qt}-filter-dropdown-search-input`})):null}var Ar=qa,fo=ve(10228);const Mo=Je=>{const{keyCode:tt}=Je;tt===fo.Z.ENTER&&Je.stopPropagation()};var Ra=Be.forwardRef((Je,tt)=>Be.createElement("div",{className:Je.className,onClick:Pt=>Pt.stopPropagation(),onKeyDown:Mo,ref:tt},Je.children));function it(Je){let tt=[];return(Je||[]).forEach(Pt=>{let{value:Tt,children:qt}=Pt;tt.push(Tt),qt&&(tt=[].concat((0,cr.Z)(tt),(0,cr.Z)(it(qt))))}),tt}function Ro(Je){return Je.some(tt=>{let{children:Pt}=tt;return Pt})}function mi(Je,tt){return typeof tt=="string"||typeof tt=="number"?tt==null?void 0:tt.toString().toLowerCase().includes(Je.trim().toLowerCase()):!1}function Qr(Je){let{filters:tt,prefixCls:Pt,filteredKeys:Tt,filterMultiple:qt,searchValue:$t,filterSearch:Pn}=Je;return tt.map((In,Bn)=>{const Gn=String(In.value);if(In.children)return{key:Gn||Bn,label:In.text,popupClassName:`${Pt}-dropdown-submenu`,children:Qr({filters:In.children,prefixCls:Pt,filteredKeys:Tt,filterMultiple:qt,searchValue:$t,filterSearch:Pn})};const er=qt?vn.default:$n.ZP,Zn={key:In.value!==void 0?Gn:Bn,label:Be.createElement(Be.Fragment,null,Be.createElement(er,{checked:Tt.includes(Gn)}),Be.createElement("span",null,In.text))};return $t.trim()?typeof Pn=="function"?Pn($t,In)?Zn:null:mi($t,In.text)?Zn:null:Zn})}function Qo(Je){var tt,Pt;const{tablePrefixCls:Tt,prefixCls:qt,column:$t,dropdownPrefixCls:Pn,columnKey:In,filterMultiple:Bn,filterMode:Gn="menu",filterSearch:er=!1,filterState:Zn,triggerFilter:xr,locale:Br,children:Sr,getPopupContainer:ta}=Je,{filterDropdownOpen:Wr,onFilterDropdownOpenChange:qr,filterResetToDefaultFilteredValue:Zr,defaultFilteredValue:ua,filterDropdownVisible:Ha,onFilterDropdownVisibleChange:Za}=$t,[Pa,so]=Be.useState(!1),bo=!!(Zn&&(!((tt=Zn.filteredKeys)===null||tt===void 0)&&tt.length||Zn.forceFiltered)),ga=ka=>{so(ka),qr==null||qr(ka),Za==null||Za(ka)},xa=(Pt=Wr!=null?Wr:Ha)!==null&&Pt!==void 0?Pt:Pa,Ba=Zn==null?void 0:Zn.filteredKeys,[Aa,ba]=Io(Ba||[]),$a=ka=>{let{selectedKeys:wo}=ka;ba(wo)},Go=(ka,wo)=>{let{node:Ai,checked:ui}=wo;$a(Bn?{selectedKeys:ka}:{selectedKeys:ui&&Ai.key?[Ai.key]:[]})};Be.useEffect(()=>{Pa&&$a({selectedKeys:Ba||[]})},[Ba]);const[Eo,Ya]=Be.useState([]),Oo=ka=>{Ya(ka)},[ri,es]=Be.useState(""),Bi=ka=>{const{value:wo}=ka.target;es(wo)};Be.useEffect(()=>{Pa||es("")},[Pa]);const ps=ka=>{const wo=ka&&ka.length?ka:null;if(wo===null&&(!Zn||!Zn.filteredKeys)||(0,Re.Z)(wo,Zn==null?void 0:Zn.filteredKeys,!0))return null;xr({column:$t,key:In,filteredKeys:wo})},Is=()=>{ga(!1),ps(Aa())},Lo=function(){let{confirm:ka,closeDropdown:wo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ka&&ps([]),wo&&ga(!1),es(""),ba(Zr?(ua||[]).map(Ai=>String(Ai)):[])},Js=function(){let{closeDropdown:ka}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ka&&ga(!1),ps(Aa())},Ci=ka=>{ka&&Ba!==void 0&&ba(Ba||[]),ga(ka),!ka&&!$t.filterDropdown&&Is()},ts=Oe()({[`${Pn}-menu-without-submenu`]:!Ro($t.filters||[])}),is=ka=>{if(ka.target.checked){const wo=it($t==null?void 0:$t.filters).map(Ai=>String(Ai));ba(wo)}else ba([])},ul=ka=>{let{filters:wo}=ka;return(wo||[]).map((Ai,ui)=>{const GA=String(Ai.value),Ws={title:Ai.text,key:Ai.value!==void 0?GA:ui};return Ai.children&&(Ws.children=ul({filters:Ai.children})),Ws})},Sa=ka=>{var wo;return Object.assign(Object.assign({},ka),{text:ka.title,value:ka.key,children:((wo=ka.children)===null||wo===void 0?void 0:wo.map(Ai=>Sa(Ai)))||[]})};let ro;if(typeof $t.filterDropdown=="function")ro=$t.filterDropdown({prefixCls:`${Pn}-custom`,setSelectedKeys:ka=>$a({selectedKeys:ka}),selectedKeys:Aa(),confirm:Js,clearFilters:Lo,filters:$t.filters,visible:xa,close:()=>{ga(!1)}});else if($t.filterDropdown)ro=$t.filterDropdown;else{const ka=Aa()||[],wo=()=>($t.filters||[]).length===0?Be.createElement(Un.Z,{image:Un.Z.PRESENTED_IMAGE_SIMPLE,description:Br.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Gn==="tree"?Be.createElement(Be.Fragment,null,Be.createElement(Ar,{filterSearch:er,value:ri,onChange:Bi,tablePrefixCls:Tt,locale:Br}),Be.createElement("div",{className:`${Tt}-filter-dropdown-tree`},Bn?Be.createElement(vn.default,{checked:ka.length===it($t.filters).length,indeterminate:ka.length>0&&ka.lengthtypeof er=="function"?er(ri,Sa(ui)):mi(ri,ui.title):void 0}))):Be.createElement(Be.Fragment,null,Be.createElement(Ar,{filterSearch:er,value:ri,onChange:Bi,tablePrefixCls:Tt,locale:Br}),Be.createElement(lr.default,{selectable:!0,multiple:Bn,prefixCls:`${Pn}-menu`,className:ts,onSelect:$a,onDeselect:$a,selectedKeys:ka,getPopupContainer:ta,openKeys:Eo,onOpenChange:Oo,items:Qr({filters:$t.filters||[],filterSearch:er,prefixCls:qt,filteredKeys:Aa(),filterMultiple:Bn,searchValue:ri})})),Ai=()=>Zr?(0,Re.Z)((ua||[]).map(ui=>String(ui)),ka,!0):ka.length===0;ro=Be.createElement(Be.Fragment,null,wo(),Be.createElement("div",{className:`${qt}-dropdown-btns`},Be.createElement(Ln.ZP,{type:"link",size:"small",disabled:Ai(),onClick:()=>Lo()},Br.filterReset),Be.createElement(Ln.ZP,{type:"primary",size:"small",onClick:Is},Br.filterConfirm)))}$t.filterDropdown&&(ro=Be.createElement(_r.J,{selectable:void 0},ro));const eo=()=>Be.createElement(Ra,{className:`${qt}-dropdown`},ro);let Oa;typeof $t.filterIcon=="function"?Oa=$t.filterIcon(bo):$t.filterIcon?Oa=$t.filterIcon:Oa=Be.createElement(Ko,null);const{direction:bi}=Be.useContext(ks.E_);return Be.createElement("div",{className:`${qt}-column`},Be.createElement("span",{className:`${Tt}-column-title`},Sr),Be.createElement(Dn.Z,{dropdownRender:eo,trigger:["click"],open:xa,onOpenChange:Ci,getPopupContainer:ta,placement:bi==="rtl"?"bottomLeft":"bottomRight"},Be.createElement("span",{role:"button",tabIndex:-1,className:Oe()(`${qt}-trigger`,{active:bo}),onClick:ka=>{ka.stopPropagation()}},Oa)))}var zi=Qo;function Ms(Je,tt,Pt){let Tt=[];return(Je||[]).forEach((qt,$t)=>{var Pn;const In=dr($t,Pt);if(qt.filters||"filterDropdown"in qt||"onFilter"in qt)if("filteredValue"in qt){let Bn=qt.filteredValue;"filterDropdown"in qt||(Bn=(Pn=Bn==null?void 0:Bn.map(String))!==null&&Pn!==void 0?Pn:Bn),Tt.push({column:qt,key:cn(qt,In),filteredKeys:Bn,forceFiltered:qt.filtered})}else Tt.push({column:qt,key:cn(qt,In),filteredKeys:tt&&qt.defaultFilteredValue?qt.defaultFilteredValue:void 0,forceFiltered:qt.filtered});"children"in qt&&(Tt=[].concat((0,cr.Z)(Tt),(0,cr.Z)(Ms(qt.children,tt,In))))}),Tt}function Yi(Je,tt,Pt,Tt,qt,$t,Pn,In){return Pt.map((Bn,Gn)=>{const er=dr(Gn,In),{filterMultiple:Zn=!0,filterMode:xr,filterSearch:Br}=Bn;let Sr=Bn;if(Sr.filters||Sr.filterDropdown){const ta=cn(Sr,er),Wr=Tt.find(qr=>{let{key:Zr}=qr;return ta===Zr});Sr=Object.assign(Object.assign({},Sr),{title:qr=>Be.createElement(zi,{tablePrefixCls:Je,prefixCls:`${Je}-filter`,dropdownPrefixCls:tt,column:Sr,columnKey:ta,filterState:Wr,filterMultiple:Zn,filterMode:xr,filterSearch:Br,triggerFilter:$t,locale:qt,getPopupContainer:Pn},Cr(Bn.title,qr))})}return"children"in Sr&&(Sr=Object.assign(Object.assign({},Sr),{children:Yi(Je,tt,Sr.children,Tt,qt,$t,Pn,er)})),Sr})}function Xi(Je){const tt={};return Je.forEach(Pt=>{let{key:Tt,filteredKeys:qt,column:$t}=Pt;const{filters:Pn,filterDropdown:In}=$t;if(In)tt[Tt]=qt||null;else if(Array.isArray(qt)){const Bn=it(Pn);tt[Tt]=Bn.filter(Gn=>qt.includes(String(Gn)))}else tt[Tt]=null}),tt}function Kl(Je,tt){return tt.reduce((Pt,Tt)=>{const{column:{onFilter:qt,filters:$t},filteredKeys:Pn}=Tt;return qt&&Pn&&Pn.length?Pt.filter(In=>Pn.some(Bn=>{const Gn=it($t),er=Gn.findIndex(xr=>String(xr)===String(Bn)),Zn=er!==-1?Gn[er]:Bn;return qt(Zn,In)})):Pt},Je)}const UA=Je=>Je.flatMap(tt=>"children"in tt?[tt].concat((0,cr.Z)(UA(tt.children||[]))):[tt]);function Qi(Je){let{prefixCls:tt,dropdownPrefixCls:Pt,mergedColumns:Tt,onFilterChange:qt,getPopupContainer:$t,locale:Pn}=Je;const In=Be.useMemo(()=>UA(Tt||[]),[Tt]),[Bn,Gn]=Be.useState(()=>Ms(In,!0)),er=Be.useMemo(()=>{const Sr=Ms(In,!1);if(Sr.length===0)return Sr;let ta=!0,Wr=!0;if(Sr.forEach(qr=>{let{filteredKeys:Zr}=qr;Zr!==void 0?ta=!1:Wr=!1}),ta){const qr=(In||[]).map((Zr,ua)=>cn(Zr,dr(ua)));return Bn.filter(Zr=>{let{key:ua}=Zr;return qr.includes(ua)}).map(Zr=>{const ua=In[qr.findIndex(Ha=>Ha===Zr.key)];return Object.assign(Object.assign({},Zr),{column:Object.assign(Object.assign({},Zr.column),ua),forceFiltered:ua.filtered})})}return Sr},[In,Bn]),Zn=Be.useMemo(()=>Xi(er),[er]),xr=Sr=>{const ta=er.filter(Wr=>{let{key:qr}=Wr;return qr!==Sr.key});ta.push(Sr),Gn(ta),qt(Xi(ta),ta)};return[Sr=>Yi(tt,Pt,Sr,er,Pn,xr,$t),er,Zn]}var lu=Qi;function Ca(Je,tt,Pt){const Tt=Be.useRef({});function qt($t){if(!Tt.current||Tt.current.data!==Je||Tt.current.childrenColumnName!==tt||Tt.current.getRowKey!==Pt){let In=function(Bn){Bn.forEach((Gn,er)=>{const Zn=Pt(Gn,er);Pn.set(Zn,Gn),Gn&&typeof Gn=="object"&&tt in Gn&&In(Gn[tt]||[])})};const Pn=new Map;In(Je),Tt.current={data:Je,childrenColumnName:tt,kvMap:Pn,getRowKey:Pt}}return Tt.current.kvMap.get($t)}return[qt]}var ii=ve(50371),pi=function(Je,tt){var Pt={};for(var Tt in Je)Object.prototype.hasOwnProperty.call(Je,Tt)&&tt.indexOf(Tt)<0&&(Pt[Tt]=Je[Tt]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Tt=Object.getOwnPropertySymbols(Je);qt{const $t=Je[qt];typeof $t!="function"&&(Pt[qt]=$t)}),Pt}function yA(Je,tt,Pt){const Tt=Pt&&typeof Pt=="object"?Pt:{},{total:qt=0}=Tt,$t=pi(Tt,["total"]),[Pn,In]=(0,Be.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:cs})),Bn=(0,ii.Z)(Pn,$t,{total:qt>0?qt:Je}),Gn=Math.ceil((qt||Je)/Bn.pageSize);Bn.current>Gn&&(Bn.current=Gn||1);const er=(xr,Br)=>{In({current:xr!=null?xr:1,pageSize:Br||Bn.pageSize})},Zn=(xr,Br)=>{var Sr;Pt&&((Sr=Pt.onChange)===null||Sr===void 0||Sr.call(Pt,xr,Br)),er(xr,Br),tt(xr,Br||(Bn==null?void 0:Bn.pageSize))};return Pt===!1?[{},()=>{}]:[Object.assign(Object.assign({},Bn),{onChange:Zn}),er]}var el=yA,QA=ve(84105),Ri=ve(35654),uA=ve(90782),zl=ve(71430),Ga=ve(18929);const Ts={},El="SELECT_ALL",cA="SELECT_INVERT",hs="SELECT_NONE",Ss=[],Lu=(Je,tt)=>{let Pt=[];return(tt||[]).forEach(Tt=>{Pt.push(Tt),Tt&&typeof Tt=="object"&&Je in Tt&&(Pt=[].concat((0,cr.Z)(Pt),(0,cr.Z)(Lu(Je,Tt[Je]))))}),Pt};var SA=(Je,tt)=>{const{preserveSelectedRowKeys:Pt,selectedRowKeys:Tt,defaultSelectedRowKeys:qt,getCheckboxProps:$t,onChange:Pn,onSelect:In,onSelectAll:Bn,onSelectInvert:Gn,onSelectNone:er,onSelectMultiple:Zn,columnWidth:xr,type:Br,selections:Sr,fixed:ta,renderCell:Wr,hideSelectAll:qr,checkStrictly:Zr=!0}=tt||{},{prefixCls:ua,data:Ha,pageData:Za,getRecordByKey:Pa,getRowKey:so,expandType:bo,childrenColumnName:ga,locale:xa,getPopupContainer:Ba}=Je,[Aa,ba]=(0,Ga.Z)(Tt||qt||Ss,{value:Tt}),$a=Be.useRef(new Map),Go=(0,Be.useCallback)(Sa=>{if(Pt){const ro=new Map;Sa.forEach(eo=>{let Oa=Pa(eo);!Oa&&$a.current.has(eo)&&(Oa=$a.current.get(eo)),ro.set(eo,Oa)}),$a.current=ro}},[Pa,Pt]);Be.useEffect(()=>{Go(Aa)},[Aa]);const{keyEntities:Eo}=(0,Be.useMemo)(()=>{if(Zr)return{keyEntities:null};let Sa=Ha;if(Pt){const ro=new Set(Ha.map((Oa,bi)=>so(Oa,bi))),eo=Array.from($a.current).reduce((Oa,bi)=>{let[ka,wo]=bi;return ro.has(ka)?Oa:Oa.concat(wo)},[]);Sa=[].concat((0,cr.Z)(Sa),(0,cr.Z)(eo))}return(0,zl.I8)(Sa,{externalGetKey:so,childrenPropName:ga})},[Ha,so,Zr,ga,Pt]),Ya=(0,Be.useMemo)(()=>Lu(ga,Za),[ga,Za]),Oo=(0,Be.useMemo)(()=>{const Sa=new Map;return Ya.forEach((ro,eo)=>{const Oa=so(ro,eo),bi=($t?$t(ro):null)||{};Sa.set(Oa,bi)}),Sa},[Ya,so,$t]),ri=(0,Be.useCallback)(Sa=>{var ro;return!!(!((ro=Oo.get(so(Sa)))===null||ro===void 0)&&ro.disabled)},[Oo,so]),[es,Bi]=(0,Be.useMemo)(()=>{if(Zr)return[Aa||[],[]];const{checkedKeys:Sa,halfCheckedKeys:ro}=(0,uA.S)(Aa,!0,Eo,ri);return[Sa||[],ro]},[Aa,Zr,Eo,ri]),ps=(0,Be.useMemo)(()=>{const Sa=Br==="radio"?es.slice(0,1):es;return new Set(Sa)},[es,Br]),Is=(0,Be.useMemo)(()=>Br==="radio"?new Set:new Set(Bi),[Bi,Br]),[Lo,Js]=(0,Be.useState)(null);Be.useEffect(()=>{tt||ba(Ss)},[!!tt]);const Ci=(0,Be.useCallback)((Sa,ro)=>{let eo,Oa;Go(Sa),Pt?(eo=Sa,Oa=Sa.map(bi=>$a.current.get(bi))):(eo=[],Oa=[],Sa.forEach(bi=>{const ka=Pa(bi);ka!==void 0&&(eo.push(bi),Oa.push(ka))})),ba(eo),Pn==null||Pn(eo,Oa,{type:ro})},[ba,Pa,Pn,Pt]),ts=(0,Be.useCallback)((Sa,ro,eo,Oa)=>{if(In){const bi=eo.map(ka=>Pa(ka));In(Pa(Sa),ro,bi,Oa)}Ci(eo,"single")},[In,Pa,Ci]),is=(0,Be.useMemo)(()=>!Sr||qr?null:(Sr===!0?[El,cA,hs]:Sr).map(ro=>ro===El?{key:"all",text:xa.selectionAll,onSelect(){Ci(Ha.map((eo,Oa)=>so(eo,Oa)).filter(eo=>{const Oa=Oo.get(eo);return!(Oa!=null&&Oa.disabled)||ps.has(eo)}),"all")}}:ro===cA?{key:"invert",text:xa.selectInvert,onSelect(){const eo=new Set(ps);Za.forEach((bi,ka)=>{const wo=so(bi,ka),Ai=Oo.get(wo);Ai!=null&&Ai.disabled||(eo.has(wo)?eo.delete(wo):eo.add(wo))});const Oa=Array.from(eo);Gn&&Gn(Oa),Ci(Oa,"invert")}}:ro===hs?{key:"none",text:xa.selectNone,onSelect(){er==null||er(),Ci(Array.from(ps).filter(eo=>{const Oa=Oo.get(eo);return Oa==null?void 0:Oa.disabled}),"none")}}:ro).map(ro=>Object.assign(Object.assign({},ro),{onSelect:function(){for(var eo,Oa,bi=arguments.length,ka=new Array(bi),wo=0;wo{var ro;if(!tt)return Sa.filter(Pi=>Pi!==Ts);let eo=(0,cr.Z)(Sa);const Oa=new Set(ps),bi=Ya.map(so).filter(Pi=>!Oo.get(Pi).disabled),ka=bi.every(Pi=>Oa.has(Pi)),wo=bi.some(Pi=>Oa.has(Pi)),Ai=()=>{const Pi=[];ka?bi.forEach(Ps=>{Oa.delete(Ps),Pi.push(Ps)}):bi.forEach(Ps=>{Oa.has(Ps)||(Oa.add(Ps),Pi.push(Ps))});const ai=Array.from(Oa);Bn==null||Bn(!ka,ai.map(Ps=>Pa(Ps)),Pi.map(Ps=>Pa(Ps))),Ci(ai,"all"),Js(null)};let ui;if(Br!=="radio"){let Pi;if(is){const Wo={getPopupContainer:Ba,items:is.map((WA,TA)=>{const{key:cl,text:nl,onSelect:rl}=WA;return{key:cl!=null?cl:TA,onClick:()=>{rl==null||rl(bi)},label:nl}})};Pi=Be.createElement("div",{className:`${ua}-selection-extra`},Be.createElement(Dn.Z,{menu:Wo,getPopupContainer:Ba},Be.createElement("span",null,Be.createElement(QA.Z,null))))}const ai=Ya.map((Wo,WA)=>{const TA=so(Wo,WA),cl=Oo.get(TA)||{};return Object.assign({checked:Oa.has(TA)},cl)}).filter(Wo=>{let{disabled:WA}=Wo;return WA}),Ps=!!ai.length&&ai.length===Ya.length,oA=Ps&&ai.every(Wo=>{let{checked:WA}=Wo;return WA}),ds=Ps&&ai.some(Wo=>{let{checked:WA}=Wo;return WA});ui=!qr&&Be.createElement("div",{className:`${ua}-selection`},Be.createElement(vn.default,{checked:Ps?oA:!!Ya.length&&ka,indeterminate:Ps?!oA&&ds:!ka&&wo,onChange:Ai,disabled:Ya.length===0||Ps,"aria-label":Pi?"Custom selection":"Select all",skipGroup:!0}),Pi)}let GA;Br==="radio"?GA=(Pi,ai,Ps)=>{const oA=so(ai,Ps),ds=Oa.has(oA);return{node:Be.createElement($n.ZP,Object.assign({},Oo.get(oA),{checked:ds,onClick:Wo=>Wo.stopPropagation(),onChange:Wo=>{Oa.has(oA)||ts(oA,!0,[oA],Wo.nativeEvent)}})),checked:ds}}:GA=(Pi,ai,Ps)=>{var oA;const ds=so(ai,Ps),Wo=Oa.has(ds),WA=Is.has(ds),TA=Oo.get(ds);let cl;return bo==="nest"?cl=WA:cl=(oA=TA==null?void 0:TA.indeterminate)!==null&&oA!==void 0?oA:WA,{node:Be.createElement(vn.default,Object.assign({},TA,{indeterminate:cl,checked:Wo,skipGroup:!0,onClick:nl=>nl.stopPropagation(),onChange:nl=>{let{nativeEvent:rl}=nl;const{shiftKey:Ql}=rl;let _u=-1,Ol=-1;if(Ql&&Zr){const Ns=new Set([Lo,ds]);bi.some((EA,qs)=>{if(Ns.has(EA))if(_u===-1)_u=qs;else return Ol=qs,!0;return!1})}if(Ol!==-1&&_u!==Ol&&Zr){const Ns=bi.slice(_u,Ol+1),EA=[];Wo?Ns.forEach(xs=>{Oa.has(xs)&&(EA.push(xs),Oa.delete(xs))}):Ns.forEach(xs=>{Oa.has(xs)||(EA.push(xs),Oa.add(xs))});const qs=Array.from(Oa);Zn==null||Zn(!Wo,qs.map(xs=>Pa(xs)),EA.map(xs=>Pa(xs))),Ci(qs,"multiple")}else{const Ns=es;if(Zr){const EA=Wo?(0,Ri._5)(Ns,ds):(0,Ri.L0)(Ns,ds);ts(ds,!Wo,EA,rl)}else{const EA=(0,uA.S)([].concat((0,cr.Z)(Ns),[ds]),!0,Eo,ri),{checkedKeys:qs,halfCheckedKeys:xs}=EA;let du=qs;if(Wo){const Qu=new Set(qs);Qu.delete(ds),du=(0,uA.S)(Array.from(Qu),{checked:!1,halfCheckedKeys:xs},Eo,ri).checkedKeys}ts(ds,!Wo,du,rl)}}Js(Wo?null:ds)}})),checked:Wo}};const Ws=(Pi,ai,Ps)=>{const{node:oA,checked:ds}=GA(Pi,ai,Ps);return Wr?Wr(ds,ai,Ps,oA):oA};if(!eo.includes(Ts))if(eo.findIndex(Pi=>{var ai;return((ai=Pi[ir])===null||ai===void 0?void 0:ai.columnType)==="EXPAND_COLUMN"})===0){const[Pi,...ai]=eo;eo=[Pi,Ts].concat((0,cr.Z)(ai))}else eo=[Ts].concat((0,cr.Z)(eo));const ql=eo.indexOf(Ts);eo=eo.filter((Pi,ai)=>Pi!==Ts||ai===ql);const Zs=eo[ql-1],bl=eo[ql+1];let ia=ta;ia===void 0&&((bl==null?void 0:bl.fixed)!==void 0?ia=bl.fixed:(Zs==null?void 0:Zs.fixed)!==void 0&&(ia=Zs.fixed)),ia&&Zs&&((ro=Zs[ir])===null||ro===void 0?void 0:ro.columnType)==="EXPAND_COLUMN"&&Zs.fixed===void 0&&(Zs.fixed=ia);const tl=Oe()(`${ua}-selection-col`,{[`${ua}-selection-col-with-dropdown`]:Sr&&Br==="checkbox"}),Cc={fixed:ia,width:xr,className:`${ua}-selection-column`,title:tt.columnTitle||ui,render:Ws,onCell:tt.onCell,[ir]:{className:tl}};return eo.map(Pi=>Pi===Ts?Cc:Pi)},[so,Ya,tt,es,ps,Is,xr,is,bo,Lo,Oo,Zn,ts,ri]),ps]},Gl=ve(89489),Ls=ve(59477),uu=ve(6848);const bs="ascend",nc="descend";function Wl(Je){return typeof Je.sorter=="object"&&typeof Je.sorter.multiple=="number"?Je.sorter.multiple:!1}function cu(Je){return typeof Je=="function"?Je:Je&&typeof Je=="object"&&Je.compare?Je.compare:!1}function yc(Je,tt){return tt?Je[Je.indexOf(tt)+1]:Je[0]}function Iu(Je,tt,Pt){let Tt=[];function qt($t,Pn){Tt.push({column:$t,key:cn($t,Pn),multiplePriority:Wl($t),sortOrder:$t.sortOrder})}return(Je||[]).forEach(($t,Pn)=>{const In=dr(Pn,Pt);$t.children?("sortOrder"in $t&&qt($t,In),Tt=[].concat((0,cr.Z)(Tt),(0,cr.Z)(Iu($t.children,tt,In)))):$t.sorter&&("sortOrder"in $t?qt($t,In):tt&&$t.defaultSortOrder&&Tt.push({column:$t,key:cn($t,In),multiplePriority:Wl($t),sortOrder:$t.defaultSortOrder}))}),Tt}function Wc(Je,tt,Pt,Tt,qt,$t,Pn,In){return(tt||[]).map((Bn,Gn)=>{const er=dr(Gn,In);let Zn=Bn;if(Zn.sorter){const xr=Zn.sortDirections||qt,Br=Zn.showSorterTooltip===void 0?Pn:Zn.showSorterTooltip,Sr=cn(Zn,er),ta=Pt.find(bo=>{let{key:ga}=bo;return ga===Sr}),Wr=ta?ta.sortOrder:null,qr=yc(xr,Wr);let Zr;if(Bn.sortIcon)Zr=Bn.sortIcon({sortOrder:Wr});else{const bo=xr.includes(bs)&&Be.createElement(Ls.Z,{className:Oe()(`${Je}-column-sorter-up`,{active:Wr===bs})}),ga=xr.includes(nc)&&Be.createElement(Gl.Z,{className:Oe()(`${Je}-column-sorter-down`,{active:Wr===nc})});Zr=Be.createElement("span",{className:Oe()(`${Je}-column-sorter`,{[`${Je}-column-sorter-full`]:!!(bo&&ga)})},Be.createElement("span",{className:`${Je}-column-sorter-inner`,"aria-hidden":"true"},bo,ga))}const{cancelSort:ua,triggerAsc:Ha,triggerDesc:Za}=$t||{};let Pa=ua;qr===nc?Pa=Za:qr===bs&&(Pa=Ha);const so=typeof Br=="object"?Br:{title:Pa};Zn=Object.assign(Object.assign({},Zn),{className:Oe()(Zn.className,{[`${Je}-column-sort`]:Wr}),title:bo=>{const ga=Be.createElement("div",{className:`${Je}-column-sorters`},Be.createElement("span",{className:`${Je}-column-title`},Cr(Bn.title,bo)),Zr);return Br?Be.createElement(uu.Z,Object.assign({},so),ga):ga},onHeaderCell:bo=>{const ga=Bn.onHeaderCell&&Bn.onHeaderCell(bo)||{},xa=ga.onClick,Ba=ga.onKeyDown;ga.onClick=$a=>{Tt({column:Bn,key:Sr,sortOrder:qr,multiplePriority:Wl(Bn)}),xa==null||xa($a)},ga.onKeyDown=$a=>{$a.keyCode===fo.Z.ENTER&&(Tt({column:Bn,key:Sr,sortOrder:qr,multiplePriority:Wl(Bn)}),Ba==null||Ba($a))};const Aa=ya(Bn.title,{}),ba=Aa==null?void 0:Aa.toString();return Wr?ga["aria-sort"]=Wr==="ascend"?"ascending":"descending":ga["aria-label"]=ba||"",ga.className=Oe()(ga.className,`${Je}-column-has-sorters`),ga.tabIndex=0,Bn.ellipsis&&(ga.title=(Aa!=null?Aa:"").toString()),ga}})}return"children"in Zn&&(Zn=Object.assign(Object.assign({},Zn),{children:Wc(Je,Zn.children,Pt,Tt,qt,$t,Pn,er)})),Zn})}function zA(Je){const{column:tt,sortOrder:Pt}=Je;return{column:tt,order:Pt,field:tt.dataIndex,columnKey:tt.key}}function Sc(Je){const tt=Je.filter(Pt=>{let{sortOrder:Tt}=Pt;return Tt}).map(zA);return tt.length===0&&Je.length?Object.assign(Object.assign({},zA(Je[Je.length-1])),{column:void 0}):tt.length<=1?tt[0]||{}:tt}function rc(Je,tt,Pt){const Tt=tt.slice().sort((Pn,In)=>In.multiplePriority-Pn.multiplePriority),qt=Je.slice(),$t=Tt.filter(Pn=>{let{column:{sorter:In},sortOrder:Bn}=Pn;return cu(In)&&Bn});return $t.length?qt.sort((Pn,In)=>{for(let Bn=0;Bn<$t.length;Bn+=1){const Gn=$t[Bn],{column:{sorter:er},sortOrder:Zn}=Gn,xr=cu(er);if(xr&&Zn){const Br=xr(Pn,In,Zn);if(Br!==0)return Zn===bs?Br:-Br}}return 0}).map(Pn=>{const In=Pn[Pt];return In?Object.assign(Object.assign({},Pn),{[Pt]:rc(In,tt,Pt)}):Pn}):qt}function Kr(Je){let{prefixCls:tt,mergedColumns:Pt,onSorterChange:Tt,sortDirections:qt,tableLocale:$t,showSorterTooltip:Pn}=Je;const[In,Bn]=Be.useState(Iu(Pt,!0)),Gn=Be.useMemo(()=>{let Sr=!0;const ta=Iu(Pt,!1);if(!ta.length)return In;const Wr=[];function qr(ua){Sr?Wr.push(ua):Wr.push(Object.assign(Object.assign({},ua),{sortOrder:null}))}let Zr=null;return ta.forEach(ua=>{Zr===null?(qr(ua),ua.sortOrder&&(ua.multiplePriority===!1?Sr=!1:Zr=!0)):(Zr&&ua.multiplePriority!==!1||(Sr=!1),qr(ua))}),Wr},[Pt,In]),er=Be.useMemo(()=>{const Sr=Gn.map(ta=>{let{column:Wr,sortOrder:qr}=ta;return{column:Wr,order:qr}});return{sortColumns:Sr,sortColumn:Sr[0]&&Sr[0].column,sortOrder:Sr[0]&&Sr[0].order}},[Gn]);function Zn(Sr){let ta;Sr.multiplePriority===!1||!Gn.length||Gn[0].multiplePriority===!1?ta=[Sr]:ta=[].concat((0,cr.Z)(Gn.filter(Wr=>{let{key:qr}=Wr;return qr!==Sr.key})),[Sr]),Bn(ta),Tt(Sc(ta),ta)}return[Sr=>Wc(tt,Sr,Gn,Zn,qt,$t,Pn),Gn,er,()=>Sc(Gn)]}function lo(Je,tt){return Je.map(Pt=>{const Tt=Object.assign({},Pt);return Tt.title=Cr(Pt.title,tt),"children"in Tt&&(Tt.children=lo(Tt.children,tt)),Tt})}function br(Je){return[Be.useCallback(Pt=>lo(Pt,Je),[Je])]}var ho=$i((Je,tt)=>{const{_renderTimes:Pt}=Je,{_renderTimes:Tt}=tt;return Pt!==Tt}),si=Fu((Je,tt)=>{const{_renderTimes:Pt}=Je,{_renderTimes:Tt}=tt;return Pt!==Tt}),Rs=ve(64993),rA=ve(17313),hA=ve(83116),Zl=ve(37613),Vl=Je=>{const{componentCls:tt}=Je,Pt=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,Tt=(qt,$t,Pn)=>({[`&${tt}-${qt}`]:{[`> ${tt}-container`]:{[`> ${tt}-content, > ${tt}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${$t}px -${Pn+Je.lineWidth}px`}}}}}});return{[`${tt}-wrapper`]:{[`${tt}${tt}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${tt}-title`]:{border:Pt,borderBottom:0},[`> ${tt}-container`]:{borderInlineStart:Pt,borderTop:Pt,[` > ${tt}-content, > ${tt}-header, > ${tt}-body, > ${tt}-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:Pt},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Pt},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${tt}-cell-fix-right-first::after`]:{borderInlineEnd:Pt}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${tt}-expanded-row-fixed`]:{margin:`-${Je.tablePaddingVertical}px -${Je.tablePaddingHorizontal+Je.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Je.lineWidth,bottom:0,borderInlineEnd:Pt,content:'""'}}}}}},[`&${tt}-scroll-horizontal`]:{[`> ${tt}-container > ${tt}-body`]:{"> table > tbody":{[` > tr${tt}-expanded-row, > tr${tt}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},Tt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle)),Tt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall)),{[`> ${tt}-footer`]:{border:Pt,borderTop:0}}),[`${tt}-cell`]:{[`${tt}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Je.lineWidth}px 0 ${Je.lineWidth}px ${Je.tableHeaderBg}`}},[`${tt}-bordered ${tt}-cell-scrollbar`]:{borderInlineEnd:Pt}}}},aA=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-cell-ellipsis`]:Object.assign(Object.assign({},rA.vS),{wordBreak:"keep-all",[` &${tt}-cell-fix-left-last, &${tt}-cell-fix-right-first `]:{overflow:"visible",[`${tt}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${tt}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},OA=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-tbody > tr${tt}-placeholder`]:{textAlign:"center",color:Je.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Je.colorBgContainer}}}}},ms=ve(15969),js=Je=>{const{componentCls:tt,antCls:Pt,controlInteractiveSize:Tt,motionDurationSlow:qt,lineWidth:$t,paddingXS:Pn,lineType:In,tableBorderColor:Bn,tableExpandIconBg:Gn,tableExpandColumnWidth:er,borderRadius:Zn,fontSize:xr,fontSizeSM:Br,lineHeight:Sr,tablePaddingVertical:ta,tablePaddingHorizontal:Wr,tableExpandedRowBg:qr,paddingXXS:Zr}=Je,ua=Tt/2-$t,Ha=ua*2+$t*3,Za=`${$t}px ${In} ${Bn}`,Pa=Zr-$t;return{[`${tt}-wrapper`]:{[`${tt}-expand-icon-col`]:{width:er},[`${tt}-row-expand-icon-cell`]:{textAlign:"center",[`${tt}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${tt}-row-indent`]:{height:1,float:"left"},[`${tt}-row-expand-icon`]:Object.assign(Object.assign({},(0,ms.N)(Je)),{position:"relative",float:"left",boxSizing:"border-box",width:Ha,height:Ha,padding:0,color:"inherit",lineHeight:`${Ha}px`,background:Gn,border:Za,borderRadius:Zn,transform:`scale(${Tt/Ha})`,transition:`all ${qt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${qt} ease-out`,content:'""'},"&::before":{top:ua,insetInlineEnd:Pa,insetInlineStart:Pa,height:$t},"&::after":{top:Pa,bottom:Pa,insetInlineStart:ua,width:$t,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"}}),[`${tt}-row-indent + ${tt}-row-expand-icon`]:{marginTop:(xr*Sr-$t*3)/2-Math.ceil((Br*1.4-$t*3)/2),marginInlineEnd:Pn},[`tr${tt}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:qr}},[`${Pt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${tt}-expanded-row-fixed`]:{position:"relative",margin:`-${ta}px -${Wr}px`,padding:`${ta}px ${Wr}px`}}}},Cl=Je=>{const{componentCls:tt,antCls:Pt,iconCls:Tt,tableFilterDropdownWidth:qt,tableFilterDropdownSearchWidth:$t,paddingXXS:Pn,paddingXS:In,colorText:Bn,lineWidth:Gn,lineType:er,tableBorderColor:Zn,tableHeaderIconColor:xr,fontSizeSM:Br,tablePaddingHorizontal:Sr,borderRadius:ta,motionDurationSlow:Wr,colorTextDescription:qr,colorPrimary:Zr,tableHeaderFilterActiveBg:ua,colorTextDisabled:Ha,tableFilterDropdownBg:Za,tableFilterDropdownHeight:Pa,controlItemBgHover:so,controlItemBgActive:bo,boxShadowSecondary:ga,filterDropdownMenuBg:xa}=Je,Ba=`${Pt}-dropdown`,Aa=`${tt}-filter-dropdown`,ba=`${Pt}-tree`,$a=`${Gn}px ${er} ${Zn}`;return[{[`${tt}-wrapper`]:{[`${tt}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${tt}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Pn,marginInline:`${Pn}px ${-Sr/2}px`,padding:`0 ${Pn}px`,color:xr,fontSize:Br,borderRadius:ta,cursor:"pointer",transition:`all ${Wr}`,"&:hover":{color:qr,background:ua},"&.active":{color:Zr}}}},{[`${Pt}-dropdown`]:{[Aa]:Object.assign(Object.assign({},(0,rA.Wf)(Je)),{minWidth:qt,backgroundColor:Za,borderRadius:ta,boxShadow:ga,overflow:"hidden",[`${Ba}-menu`]:{maxHeight:Pa,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:xa,"&:empty::after":{display:"block",padding:`${In}px 0`,color:Ha,fontSize:Br,textAlign:"center",content:'"Not Found"'}},[`${Aa}-tree`]:{paddingBlock:`${In}px 0`,paddingInline:In,[ba]:{padding:0},[`${ba}-treenode ${ba}-node-content-wrapper:hover`]:{backgroundColor:so},[`${ba}-treenode-checkbox-checked ${ba}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:bo}}},[`${Aa}-search`]:{padding:In,borderBottom:$a,"&-input":{input:{minWidth:$t},[Tt]:{color:Ha}}},[`${Aa}-checkall`]:{width:"100%",marginBottom:Pn,marginInlineStart:Pn},[`${Aa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${In-Gn}px ${In}px`,overflow:"hidden",borderTop:$a}})}},{[`${Pt}-dropdown ${Aa}, ${Aa}-submenu`]:{[`${Pt}-checkbox-wrapper + span`]:{paddingInlineStart:In,color:Bn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Gs=Je=>{const{componentCls:tt,lineWidth:Pt,colorSplit:Tt,motionDurationSlow:qt,zIndexTableFixed:$t,tableBg:Pn,zIndexTableSticky:In}=Je,Bn=Tt;return{[`${tt}-wrapper`]:{[` ${tt}-cell-fix-left, ${tt}-cell-fix-right `]:{position:"sticky !important",zIndex:$t,background:Pn},[` ${tt}-cell-fix-left-first::after, ${tt}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Pt,width:30,transform:"translateX(100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${tt}-cell-fix-left-all::after`]:{display:"none"},[` ${tt}-cell-fix-right-first::after, ${tt}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Pt,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${tt}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:In+1,width:30,transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${tt}-ping-left`]:{[`&:not(${tt}-has-fix-left) ${tt}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Bn}`}},[` ${tt}-cell-fix-left-first::after, ${tt}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Bn}`},[`${tt}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${tt}-ping-right`]:{[`&:not(${tt}-has-fix-right) ${tt}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Bn}`}},[` ${tt}-cell-fix-right-first::after, ${tt}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Bn}`}}}}},ji=Je=>{const{componentCls:tt,antCls:Pt}=Je;return{[`${tt}-wrapper`]:{[`${tt}-pagination${Pt}-pagination`]:{margin:`${Je.margin}px 0`},[`${tt}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Je.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Xl=Je=>{const{componentCls:tt,tableRadius:Pt}=Je;return{[`${tt}-wrapper`]:{[tt]:{[`${tt}-title, ${tt}-header`]:{borderRadius:`${Pt}px ${Pt}px 0 0`},[`${tt}-title + ${tt}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${tt}-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:Pt,borderStartEndRadius:Pt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Pt},"> *:last-child":{borderStartEndRadius:Pt}}},"&-footer":{borderRadius:`0 0 ${Pt}px ${Pt}px`}}}}},Pg=Je=>{const{componentCls:tt}=Je;return{[`${tt}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${tt}-pagination-left`]:{justifyContent:"flex-end"},[`${tt}-pagination-right`]:{justifyContent:"flex-start"},[`${tt}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${tt}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${tt}-row-indent`]:{float:"right"}}}}},Bf=Je=>{const{componentCls:tt,antCls:Pt,iconCls:Tt,fontSizeIcon:qt,padding:$t,paddingXS:Pn,tableHeaderIconColor:In,tableHeaderIconColorHover:Bn,tableSelectionColumnWidth:Gn}=Je;return{[`${tt}-wrapper`]:{[`${tt}-selection-col`]:{width:Gn,[`&${tt}-selection-col-with-dropdown`]:{width:Gn+qt+$t/4}},[`${tt}-bordered ${tt}-selection-col`]:{width:Gn+Pn*2,[`&${tt}-selection-col-with-dropdown`]:{width:Gn+qt+$t/4+Pn*2}},[` table tr th${tt}-selection-column, table tr td${tt}-selection-column `]:{paddingInlineEnd:Je.paddingXS,paddingInlineStart:Je.paddingXS,textAlign:"center",[`${Pt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${tt}-selection-column${tt}-cell-fix-left`]:{zIndex:Je.zIndexTableFixed+1},[`table tr th${tt}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${tt}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${tt}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Je.tablePaddingHorizontal/4}px`,[Tt]:{color:In,fontSize:qt,verticalAlign:"baseline","&:hover":{color:Bn}}}}}},Wd=Je=>{const{componentCls:tt}=Je,Pt=(Tt,qt,$t,Pn)=>({[`${tt}${tt}-${Tt}`]:{fontSize:Pn,[` ${tt}-title, ${tt}-footer, ${tt}-cell, ${tt}-thead > tr > th, ${tt}-tbody > tr > th, ${tt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${qt}px ${$t}px`},[`${tt}-filter-trigger`]:{marginInlineEnd:`-${$t/2}px`},[`${tt}-expanded-row-fixed`]:{margin:`-${qt}px -${$t}px`},[`${tt}-tbody`]:{[`${tt}-wrapper:only-child ${tt}`]:{marginBlock:`-${qt}px`,marginInline:`${Je.tableExpandColumnWidth-$t}px -${$t}px`}},[`${tt}-selection-column`]:{paddingInlineStart:`${$t/4}px`}}});return{[`${tt}-wrapper`]:Object.assign(Object.assign({},Pt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle,Je.tableFontSizeMiddle)),Pt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall,Je.tableFontSizeSmall))}},ac=Je=>{const{componentCls:tt,marginXXS:Pt,fontSizeIcon:Tt,tableHeaderIconColor:qt,tableHeaderIconColorHover:$t}=Je;return{[`${tt}-wrapper`]:{[`${tt}-thead th${tt}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,"&:hover":{background:Je.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Je.colorPrimary},[` &${tt}-cell-fix-left:hover, &${tt}-cell-fix-right:hover `]:{background:Je.tableFixedHeaderSortActiveBg}},[`${tt}-thead th${tt}-column-sort`]:{background:Je.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${tt}-column-sort`]:{background:Je.tableBodySortBg},[`${tt}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${tt}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${tt}-column-sorter`]:{marginInlineStart:Pt,color:qt,fontSize:0,transition:`color ${Je.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Tt,"&.active":{color:Je.colorPrimary}},[`${tt}-column-sorter-up + ${tt}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${tt}-column-sorters:hover ${tt}-column-sorter`]:{color:$t}}}},Ul=Je=>{const{componentCls:tt,opacityLoading:Pt,tableScrollThumbBg:Tt,tableScrollThumbBgHover:qt,tableScrollThumbSize:$t,tableScrollBg:Pn,zIndexTableSticky:In,stickyScrollBarBorderRadius:Bn}=Je,Gn=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`;return{[`${tt}-wrapper`]:{[`${tt}-sticky`]:{"&-holder":{position:"sticky",zIndex:In,background:Je.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:In,display:"flex",alignItems:"center",background:Pn,borderTop:Gn,opacity:Pt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:Tt,borderRadius:Bn,transition:`all ${Je.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:qt}}}}}}},Zc=Je=>{const{componentCls:tt,lineWidth:Pt,tableBorderColor:Tt}=Je,qt=`${Pt}px ${Je.lineType} ${Tt}`;return{[`${tt}-wrapper`]:{[`${tt}-summary`]:{position:"relative",zIndex:Je.zIndexTableFixed,background:Je.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${tt}-summary`]:{boxShadow:`0 -${Pt}px 0 ${Tt}`}}}},yf=Je=>{const{componentCls:tt}=Je,Pt=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,Tt=`${tt}-expanded-row-cell`;return{[`${tt}-wrapper`]:{[`${tt}-tbody-virtual`]:{[`${tt}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${tt}-cell`]:{borderBottom:Pt},[`${tt}-expanded-row`]:{[`${Tt}${Tt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Je.lineWidth}px)`,borderInlineEnd:"none"}}},[`${tt}-bordered`]:{[`${tt}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Pt,position:"absolute"},[`${tt}-cell`]:{borderInlineEnd:Pt,[`&${tt}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Je.lineWidth,borderInlineStart:Pt}}}}}}};const Vc=Je=>{const{componentCls:tt,fontWeightStrong:Pt,tablePaddingVertical:Tt,tablePaddingHorizontal:qt,lineWidth:$t,lineType:Pn,tableBorderColor:In,tableFontSize:Bn,tableBg:Gn,tableRadius:er,tableHeaderTextColor:Zn,motionDurationMid:xr,tableHeaderBg:Br,tableHeaderCellSplitColor:Sr,tableRowHoverBg:ta,tableSelectedRowBg:Wr,tableSelectedRowHoverBg:qr,tableFooterTextColor:Zr,tableFooterBg:ua,paddingContentVerticalLG:Ha}=Je,Za=`${$t}px ${Pn} ${In}`;return{[`${tt}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,rA.dF)()),{[tt]:Object.assign(Object.assign({},(0,rA.Wf)(Je)),{fontSize:Bn,background:Gn,borderRadius:`${er}px ${er}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${er}px ${er}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${tt}-cell, ${tt}-thead > tr > th, ${tt}-tbody > tr > th, ${tt}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Ha}px ${qt}px`,overflowWrap:"break-word"},[`${tt}-title`]:{padding:`${Tt}px ${qt}px`},[`${tt}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Zn,fontWeight:Pt,textAlign:"start",background:Br,borderBottom:Za,transition:`background ${xr} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${tt}-selection-column):not(${tt}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Sr,transform:"translateY(-50%)",transition:`background-color ${xr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${tt}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${xr}, border-color ${xr}`,borderBottom:Za,[` > ${tt}-wrapper:only-child, > ${tt}-expanded-row-fixed > ${tt}-wrapper:only-child `]:{[tt]:{marginBlock:`-${Tt}px`,marginInline:`${Je.tableExpandColumnWidth-qt}px -${qt}px`,[`${tt}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Zn,fontWeight:Pt,textAlign:"start",background:Br,borderBottom:Za,transition:`background ${xr} ease`},[` &${tt}-row:hover > th, &${tt}-row:hover > td, > th${tt}-cell-row-hover, > td${tt}-cell-row-hover `]:{background:ta},[`&${tt}-row-selected`]:{"> th, > td":{background:Wr},"&:hover > th, &:hover > td":{background:qr}}}},[`${tt}-footer`]:{padding:`${Tt}px ${qt}px`,color:Zr,background:ua}})}};var md=(0,hA.Z)("Table",Je=>{const{colorTextHeading:tt,colorSplit:Pt,colorIcon:Tt,colorIconHover:qt,opacityLoading:$t,colorBgContainer:Pn,controlInteractiveSize:In,headerBg:Bn,headerColor:Gn,headerSortActiveBg:er,headerSortHoverBg:Zn,bodySortBg:xr,rowHoverBg:Br,rowSelectedBg:Sr,rowSelectedHoverBg:ta,rowExpandedBg:Wr,cellPaddingBlock:qr,cellPaddingInline:Zr,cellPaddingBlockMD:ua,cellPaddingInlineMD:Ha,cellPaddingBlockSM:Za,cellPaddingInlineSM:Pa,borderColor:so,footerBg:bo,footerColor:ga,headerBorderRadius:xa,cellFontSize:Ba,cellFontSizeMD:Aa,cellFontSizeSM:ba,headerSplitColor:$a,fixedHeaderSortActiveBg:Go,headerFilterHoverBg:Eo,filterDropdownBg:Ya,expandIconBg:Oo,selectionColumnWidth:ri,stickyScrollBarBg:es}=Je,Bi=new Rs.C(Tt),ps=new Rs.C(qt),Is=2,Lo=(0,Zl.TS)(Je,{tableFontSize:Ba,tableBg:Pn,tableRadius:xa,tablePaddingVertical:qr,tablePaddingHorizontal:Zr,tablePaddingVerticalMiddle:ua,tablePaddingHorizontalMiddle:Ha,tablePaddingVerticalSmall:Za,tablePaddingHorizontalSmall:Pa,tableBorderColor:so,tableHeaderTextColor:Gn,tableHeaderBg:Bn,tableFooterTextColor:ga,tableFooterBg:bo,tableHeaderCellSplitColor:$a,tableHeaderSortBg:er,tableHeaderSortHoverBg:Zn,tableHeaderIconColor:Bi.clone().setAlpha(Bi.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:ps.clone().setAlpha(ps.getAlpha()*$t).toRgbString(),tableBodySortBg:xr,tableFixedHeaderSortActiveBg:Go,tableHeaderFilterActiveBg:Eo,tableFilterDropdownBg:Ya,tableRowHoverBg:Br,tableSelectedRowBg:Sr,tableSelectedRowHoverBg:ta,zIndexTableFixed:Is,zIndexTableSticky:Is+1,tableFontSizeMiddle:Aa,tableFontSizeSmall:ba,tableSelectionColumnWidth:ri,tableExpandIconBg:Oo,tableExpandColumnWidth:In+2*Je.padding,tableExpandedRowBg:Wr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:es,tableScrollThumbBgHover:tt,tableScrollBg:Pt});return[Vc(Lo),ji(Lo),Zc(Lo),ac(Lo),Cl(Lo),Vl(Lo),Xl(Lo),js(Lo),Zc(Lo),OA(Lo),Bf(Lo),Gs(Lo),Ul(Lo),aA(Lo),Wd(Lo),Pg(Lo),yf(Lo)]},Je=>{const{colorFillAlter:tt,colorBgContainer:Pt,colorTextHeading:Tt,colorFillSecondary:qt,colorFillContent:$t,controlItemBgActive:Pn,controlItemBgActiveHover:In,padding:Bn,paddingSM:Gn,paddingXS:er,colorBorderSecondary:Zn,borderRadiusLG:xr,fontSize:Br,controlHeight:Sr,colorTextPlaceholder:ta}=Je,Wr=new Rs.C(qt).onBackground(Pt).toHexShortString(),qr=new Rs.C($t).onBackground(Pt).toHexShortString(),Zr=new Rs.C(tt).onBackground(Pt).toHexShortString();return{headerBg:Zr,headerColor:Tt,headerSortActiveBg:Wr,headerSortHoverBg:qr,bodySortBg:Zr,rowHoverBg:Zr,rowSelectedBg:Pn,rowSelectedHoverBg:In,rowExpandedBg:tt,cellPaddingBlock:Bn,cellPaddingInline:Bn,cellPaddingBlockMD:Gn,cellPaddingInlineMD:er,cellPaddingBlockSM:er,cellPaddingInlineSM:er,borderColor:Zn,headerBorderRadius:xr,footerBg:Zr,footerColor:Tt,cellFontSize:Br,cellFontSizeMD:Br,cellFontSizeSM:Br,headerSplitColor:Zn,fixedHeaderSortActiveBg:Wr,headerFilterHoverBg:$t,filterDropdownMenuBg:Pt,filterDropdownBg:Pt,expandIconBg:Pt,selectionColumnWidth:Sr,stickyScrollBarBg:ta,stickyScrollBarBorderRadius:100}});const xg=[],Yc=(Je,tt)=>{const{prefixCls:Pt,className:Tt,rootClassName:qt,style:$t,size:Pn,bordered:In,dropdownPrefixCls:Bn,dataSource:Gn,pagination:er,rowSelection:Zn,rowKey:xr="key",rowClassName:Br,columns:Sr,children:ta,childrenColumnName:Wr,onChange:qr,getPopupContainer:Zr,loading:ua,expandIcon:Ha,expandable:Za,expandedRowRender:Pa,expandIconColumnIndex:so,indentSize:bo,scroll:ga,sortDirections:xa,locale:Ba,showSorterTooltip:Aa=!0,virtual:ba}=Je,$a=Be.useMemo(()=>Sr||gr(ta),[Sr,ta]),Go=Be.useMemo(()=>$a.some(ci=>ci.responsive),[$a]),Eo=(0,Vi.Z)(Go),Ya=Be.useMemo(()=>{const ci=new Set(Object.keys(Eo).filter(ss=>Eo[ss]));return $a.filter(ss=>!ss.responsive||ss.responsive.some(CA=>ci.has(CA)))},[$a,Eo]),Oo=(0,ju.Z)(Je,["className","style","columns"]),{locale:ri=Au.Z,direction:es,table:Bi,renderEmpty:ps,getPrefixCls:Is,getPopupContainer:Lo}=Be.useContext(ks.E_),Js=(0,ec.Z)(Pn),Ci=Object.assign(Object.assign({},ri.Table),Ba),ts=Gn||xg,is=Is("table",Pt),ul=Is("dropdown",Bn),Sa=Object.assign({childrenColumnName:Wr,expandIconColumnIndex:so},Za),{childrenColumnName:ro="children"}=Sa,eo=Be.useMemo(()=>ts.some(ci=>ci==null?void 0:ci[ro])?"nest":Pa||Za&&Za.expandedRowRender?"row":null,[ts]),Oa={body:Be.useRef()},bi=Be.useMemo(()=>typeof xr=="function"?xr:ci=>ci==null?void 0:ci[xr],[xr]),[ka]=Ca(ts,ro,bi),wo={},Ai=function(ci,ss){let CA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Es,bA,RA;const Ds=Object.assign(Object.assign({},wo),ci);CA&&((Es=wo.resetPagination)===null||Es===void 0||Es.call(wo),!((bA=Ds.pagination)===null||bA===void 0)&&bA.current&&(Ds.pagination.current=1),er&&er.onChange&&er.onChange(1,(RA=Ds.pagination)===null||RA===void 0?void 0:RA.pageSize)),ga&&ga.scrollToFirstRowOnChange!==!1&&Oa.body.current&&(0,Dl.Z)(0,{getContainer:()=>Oa.body.current}),qr==null||qr(Ds.pagination,Ds.filters,Ds.sorter,{currentDataSource:Kl(rc(ts,Ds.sorterStates,ro),Ds.filterStates),action:ss})},ui=(ci,ss)=>{Ai({sorter:ci,sorterStates:ss},"sort",!1)},[GA,Ws,ql,Zs]=Kr({prefixCls:is,mergedColumns:Ya,onSorterChange:ui,sortDirections:xa||["ascend","descend"],tableLocale:Ci,showSorterTooltip:Aa}),bl=Be.useMemo(()=>rc(ts,Ws,ro),[ts,Ws]);wo.sorter=Zs(),wo.sorterStates=Ws;const ia=(ci,ss)=>{Ai({filters:ci,filterStates:ss},"filter",!0)},[tl,Cc,Pi]=lu({prefixCls:is,locale:Ci,dropdownPrefixCls:ul,mergedColumns:Ya,onFilterChange:ia,getPopupContainer:Zr||Lo}),ai=Kl(bl,Cc);wo.filters=Pi,wo.filterStates=Cc;const Ps=Be.useMemo(()=>{const ci={};return Object.keys(Pi).forEach(ss=>{Pi[ss]!==null&&(ci[ss]=Pi[ss])}),Object.assign(Object.assign({},ql),{filters:ci})},[ql,Pi]),[oA]=br(Ps),ds=(ci,ss)=>{Ai({pagination:Object.assign(Object.assign({},wo.pagination),{current:ci,pageSize:ss})},"paginate")},[Wo,WA]=el(ai.length,ds,er);wo.pagination=er===!1?{}:Fo(Wo,er),wo.resetPagination=WA;const TA=Be.useMemo(()=>{if(er===!1||!Wo.pageSize)return ai;const{current:ci=1,total:ss,pageSize:CA=cs}=Wo;return ai.lengthCA?ai.slice((ci-1)*CA,ci*CA):ai:ai.slice((ci-1)*CA,ci*CA)},[!!er,ai,Wo&&Wo.current,Wo&&Wo.pageSize,Wo&&Wo.total]),[cl,nl]=SA({prefixCls:is,data:ai,pageData:TA,getRowKey:bi,getRecordByKey:ka,expandType:eo,childrenColumnName:ro,locale:Ci,getPopupContainer:Zr||Lo},Zn),rl=(ci,ss,CA)=>{let Es;return typeof Br=="function"?Es=Oe()(Br(ci,ss,CA)):Es=Oe()(Br),Oe()({[`${is}-row-selected`]:nl.has(bi(ci,ss))},Es)};Sa.__PARENT_RENDER_ICON__=Sa.expandIcon,Sa.expandIcon=Sa.expandIcon||Ha||Ot(Ci),eo==="nest"&&Sa.expandIconColumnIndex===void 0?Sa.expandIconColumnIndex=Zn?1:0:Sa.expandIconColumnIndex>0&&Zn&&(Sa.expandIconColumnIndex-=1),typeof Sa.indentSize!="number"&&(Sa.indentSize=typeof bo=="number"?bo:15);const Ql=Be.useCallback(ci=>oA(cl(tl(GA(ci)))),[GA,tl,cl]);let _u,Ol;if(er!==!1&&(Wo!=null&&Wo.total)){let ci;Wo.size?ci=Wo.size:ci=Js==="small"||Js==="middle"?"small":void 0;const ss=bA=>Be.createElement(tc.Z,Object.assign({},Wo,{className:Oe()(`${is}-pagination ${is}-pagination-${bA}`,Wo.className),size:ci})),CA=es==="rtl"?"left":"right",{position:Es}=Wo;if(Es!==null&&Array.isArray(Es)){const bA=Es.find(fu=>fu.includes("top")),RA=Es.find(fu=>fu.includes("bottom")),Ds=Es.every(fu=>`${fu}`=="none");!bA&&!RA&&!Ds&&(Ol=ss(CA)),bA&&(_u=ss(bA.toLowerCase().replace("top",""))),RA&&(Ol=ss(RA.toLowerCase().replace("bottom","")))}else Ol=ss(CA)}let Ns;typeof ua=="boolean"?Ns={spinning:ua}:typeof ua=="object"&&(Ns=Object.assign({spinning:!0},ua));const[EA,qs]=md(is),[,xs]=(0,Ia.Z)(),du=Oe()(`${is}-wrapper`,Bi==null?void 0:Bi.className,{[`${is}-wrapper-rtl`]:es==="rtl"},Tt,qt,qs),Qu=Object.assign(Object.assign({},Bi==null?void 0:Bi.style),$t),Ku=Ba&&Ba.emptyText||(ps==null?void 0:ps("Table"))||Be.createElement(fA.Z,{componentName:"Table"}),gu=ba?si:ho,vd={},Zd=Be.useMemo(()=>{const{fontSize:ci,lineHeight:ss,padding:CA,paddingXS:Es,paddingSM:bA}=xs,RA=Math.floor(ci*ss);switch(Js){case"large":return CA*2+RA;case"small":return Es*2+RA;default:return bA*2+RA}},[xs,Js]);return ba&&(vd.listItemHeight=Zd),EA(Be.createElement("div",{ref:tt,className:du,style:Qu},Be.createElement(Hu.Z,Object.assign({spinning:!1},Ns),_u,Be.createElement(gu,Object.assign({},vd,Oo,{columns:Ya,direction:es,expandable:Sa,prefixCls:is,className:Oe()({[`${is}-middle`]:Js==="middle",[`${is}-small`]:Js==="small",[`${is}-bordered`]:In,[`${is}-empty`]:ts.length===0}),data:TA,rowKey:bi,rowClassName:rl,emptyText:Ku,internalHooks:Ce,internalRefs:Oa,transformColumns:Ql})),Ol)))};var t0=Be.forwardRef(Yc);const n0=(Je,tt)=>{const Pt=Be.useRef(0);return Pt.current+=1,Be.createElement(t0,Object.assign({},Je,{ref:tt,_renderTimes:Pt.current}))},MA=Be.forwardRef(n0);MA.SELECTION_COLUMN=Ts,MA.EXPAND_COLUMN=le,MA.SELECTION_ALL=El,MA.SELECTION_INVERT=cA,MA.SELECTION_NONE=hs,MA.Column=DA,MA.ColumnGroup=su,MA.Summary=He;var pd=MA,r0=pd},17574:function(Vt,Ut,ve){"use strict";ve.d(Ut,{default:function(){return Bt}});var le=ve(60091),Ce=ve(94480),je=ve(52671),nt=ve(8657),ze=ve(54476),Re=ve(59301),Be={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"},we=Be,De=ve(7657),ce=function(rt,Rt){return Re.createElement(De.Z,(0,ze.Z)({},rt,{ref:Rt,icon:we}))},Ue=Re.forwardRef(ce),Fe=Ue,be=ve(92310),ie=ve.n(be),y=ve(35654),a=ve(71430),ee=ve(36355),b=ve(56082),te=ve(62892),ne=ve(20648);const ae=4;function fe(st){const{dropPosition:rt,dropLevelOffset:Rt,prefixCls:An,indent:ft,direction:Nt="ltr"}=st,yn=Nt==="ltr"?"left":"right",Rn=Nt==="ltr"?"right":"left",un={[yn]:-Rt*ft+ae,[Rn]:0};switch(rt){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[yn]=ft+ae;break}return Re.createElement("div",{style:un,className:`${An}-drop-indicator`})}var xe=ve(71997),Ne=Re.forwardRef((st,rt)=>{const{getPrefixCls:Rt,direction:An,virtual:ft,tree:Nt}=Re.useContext(ee.E_),{prefixCls:yn,className:Rn,showIcon:un=!1,showLine:Kn,switcherIcon:wt,blockNode:zn=!1,children:Wn,checkable:Xe=!1,selectable:fn=!0,draggable:Le,motion:he,style:ge}=st,Se=Rt("tree",yn),qe=Rt(),pt=he!=null?he:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),He=Object.assign(Object.assign({},st),{checkable:Xe,selectable:fn,showIcon:un,motion:pt,blockNode:zn,showLine:!!Kn,dropIndicatorRender:fe}),[Ve,bt]=(0,ne.ZP)(Se),gt=Re.useMemo(()=>{if(!Le)return!1;let jt={};switch(typeof Le){case"function":jt.nodeDraggable=Le;break;case"object":jt=Object.assign({},Le);break;default:break}return jt.icon!==!1&&(jt.icon=jt.icon||Re.createElement(b.Z,null)),jt},[Le]),At=jt=>Re.createElement(xe.Z,{prefixCls:Se,switcherIcon:wt,treeNodeProps:jt,showLine:Kn});return Ve(Re.createElement(le.Z,Object.assign({itemHeight:20,ref:rt,virtual:ft},He,{style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),ge),prefixCls:Se,className:ie()({[`${Se}-icon-hide`]:!un,[`${Se}-block-node`]:zn,[`${Se}-unselectable`]:!fn,[`${Se}-rtl`]:An==="rtl"},Nt==null?void 0:Nt.className,Rn,bt),direction:An,checkable:Xe&&Re.createElement("span",{className:`${Se}-checkbox-inner`}),selectable:fn,switcherIcon:At,draggable:gt}),Wn))}),Ge;(function(st){st[st.None=0]="None",st[st.Start=1]="Start",st[st.End=2]="End"})(Ge||(Ge={}));function Ye(st,rt){function Rt(An){const{key:ft,children:Nt}=An;rt(ft,An)!==!1&&Ye(Nt||[],rt)}st.forEach(Rt)}function et(st){let{treeData:rt,expandedKeys:Rt,startKey:An,endKey:ft}=st;const Nt=[];let yn=Ge.None;if(An&&An===ft)return[An];if(!An||!ft)return[];function Rn(un){return un===An||un===ft}return Ye(rt,un=>{if(yn===Ge.End)return!1;if(Rn(un)){if(Nt.push(un),yn===Ge.None)yn=Ge.Start;else if(yn===Ge.Start)return yn=Ge.End,!1}else yn===Ge.Start&&Nt.push(un);return Rt.includes(un)}),Nt}function ke(st,rt){const Rt=(0,Ce.Z)(rt),An=[];return Ye(st,(ft,Nt)=>{const yn=Rt.indexOf(ft);return yn!==-1&&(An.push(Nt),Rt.splice(yn,1)),!!Rt.length}),An}var ht=function(st,rt){var Rt={};for(var An in st)Object.prototype.hasOwnProperty.call(st,An)&&rt.indexOf(An)<0&&(Rt[An]=st[An]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,An=Object.getOwnPropertySymbols(st);ft{var{defaultExpandAll:Rt,defaultExpandParent:An,defaultExpandedKeys:ft}=st,Nt=ht(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yn=Re.useRef(),Rn=Re.useRef(),un=()=>{const{keyEntities:gt}=(0,a.I8)(xt(Nt));let At;return Rt?At=Object.keys(gt):An?At=(0,y.r7)(Nt.expandedKeys||ft||[],gt):At=Nt.expandedKeys||ft,At},[Kn,wt]=Re.useState(Nt.selectedKeys||Nt.defaultSelectedKeys||[]),[zn,Wn]=Re.useState(()=>un());Re.useEffect(()=>{"selectedKeys"in Nt&&wt(Nt.selectedKeys)},[Nt.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in Nt&&Wn(Nt.expandedKeys)},[Nt.expandedKeys]);const Xe=(gt,At)=>{var jt;return"expandedKeys"in Nt||Wn(gt),(jt=Nt.onExpand)===null||jt===void 0?void 0:jt.call(Nt,gt,At)},fn=(gt,At)=>{var jt;const{multiple:kn}=Nt,{node:It,nativeEvent:on}=At,{key:Mt=""}=It,En=xt(Nt),lt=Object.assign(Object.assign({},At),{selected:!0}),Yt=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),hn=on==null?void 0:on.shiftKey;let Sn;kn&&Yt?(Sn=gt,yn.current=Mt,Rn.current=Sn,lt.selectedNodes=ke(En,Sn)):kn&&hn?(Sn=Array.from(new Set([].concat((0,Ce.Z)(Rn.current||[]),(0,Ce.Z)(et({treeData:En,expandedKeys:zn,startKey:Mt,endKey:yn.current}))))),lt.selectedNodes=ke(En,Sn)):(Sn=[Mt],yn.current=Mt,Rn.current=Sn,lt.selectedNodes=ke(En,Sn)),(jt=Nt.onSelect)===null||jt===void 0||jt.call(Nt,Sn,lt),"selectedKeys"in Nt||wt(Sn)},{getPrefixCls:Le,direction:he}=Re.useContext(ee.E_),{prefixCls:ge,className:Se,showIcon:qe=!0,expandAction:pt="click"}=Nt,He=ht(Nt,["prefixCls","className","showIcon","expandAction"]),Ve=Le("tree",ge),bt=ie()(`${Ve}-directory`,{[`${Ve}-directory-rtl`]:he==="rtl"},Se);return Re.createElement(Ne,Object.assign({icon:Oe,ref:rt,blockNode:!0},He,{showIcon:qe,expandAction:pt,prefixCls:Ve,className:bt,expandedKeys:zn,selectedKeys:Kn,onSelect:fn,onExpand:Xe}))};var Et=Re.forwardRef(ut);const ct=Ne;ct.DirectoryTree=Et,ct.TreeNode=le.O;var Bt=ct},20648:function(Vt,Ut,ve){"use strict";ve.d(Ut,{TM:function(){return be},Yk:function(){return Fe}});var le=ve(36237),Ce=ve(98447),je=ve(17313),nt=ve(8378),ze=ve(37613),Re=ve(83116);const Be=new le.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),we=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),De=(ie,y)=>({[`.${ie}-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:'""'}}}),ce=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:b,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:ae}=y,fe=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,je.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,je.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${ee}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:Be,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,je.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},we(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}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:te/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:te/2*.8,height:te/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:fe},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:te,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${te}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:te,height:te,lineHeight:`${te}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${te}px`,userSelect:"none"},De(ie,y)),[`${ee}.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:te/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ee}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${te/2}px !important`}}}}})}},Ue=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:b,directoryNodeSelectedColor:te}=ie;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ee,insetInlineStart:0,transition:`background-color ${ie.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ie.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ie.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:te,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},Fe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,b=y.paddingXS/2,te=(0,ze.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:b});return[ce(ie,te),Ue(te)]},be=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Ut.ZP=(0,Re.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,Ce.C2)(`${a}-checkbox`,ie)},Fe(a,ie),(0,nt.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},be(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Vt,Ut,ve){"use strict";ve.d(Ut,{Z:function(){return ee}});var le=ve(54476),Ce=ve(59301),je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},nt=je,ze=ve(7657),Re=function(te,ne){return Ce.createElement(ze.Z,(0,le.Z)({},te,{ref:ne,icon:nt}))},Be=Ce.forwardRef(Re),we=Be,De=ve(52671),ce=ve(58617),Ue=ve(15075),Fe=ve(43531),be=ve(92310),ie=ve.n(be),y=ve(92343),ee=b=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:ae,showLine:fe}=b,{isLeaf:xe,expanded:Pe,loading:Ne}=ae;if(Ne)return Ce.createElement(ce.Z,{className:`${te}-switcher-loading-icon`});let Ge;if(fe&&typeof fe=="object"&&(Ge=fe.showLeafIcon),xe){if(!fe)return null;if(typeof Ge!="boolean"&&Ge){const ke=typeof Ge=="function"?Ge(ae):Ge,ht=`${te}-switcher-line-custom-icon`;return(0,y.l$)(ke)?(0,y.Tm)(ke,{className:ie()(ke.props.className||"",ht)}):ke}return Ge?Ce.createElement(De.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ye=`${te}-switcher-icon`,et=typeof ne=="function"?ne(ae):ne;return(0,y.l$)(et)?(0,y.Tm)(et,{className:ie()(et.props.className||"",Ye)}):et!==void 0?et:fe?Pe?Ce.createElement(Ue.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(Fe.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(we,{className:Ye})}},86251:function(Vt,Ut){"use strict";Ut.byteLength=Be,Ut.toByteArray=De,Ut.fromByteArray=Fe;for(var ve=[],le=[],Ce=typeof Uint8Array!="undefined"?Uint8Array:Array,je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nt=0,ze=je.length;nt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=be.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function Be(be){var ie=Re(be),y=ie[0],a=ie[1];return(y+a)*3/4-a}function we(be,ie,y){return(ie+y)*3/4-y}function De(be){var ie,y=Re(be),a=y[0],ee=y[1],b=new Ce(we(be,a,ee)),te=0,ne=ee>0?a-4:a,ae;for(ae=0;ae>16&255,b[te++]=ie>>8&255,b[te++]=ie&255;return ee===2&&(ie=le[be.charCodeAt(ae)]<<2|le[be.charCodeAt(ae+1)]>>4,b[te++]=ie&255),ee===1&&(ie=le[be.charCodeAt(ae)]<<10|le[be.charCodeAt(ae+1)]<<4|le[be.charCodeAt(ae+2)]>>2,b[te++]=ie>>8&255,b[te++]=ie&255),b}function ce(be){return ve[be>>18&63]+ve[be>>12&63]+ve[be>>6&63]+ve[be&63]}function Ue(be,ie,y){for(var a,ee=[],b=ie;bne?ne:te+b));return a===1?(ie=be[y-1],ee.push(ve[ie>>2]+ve[ie<<4&63]+"==")):a===2&&(ie=(be[y-2]<<8)+be[y-1],ee.push(ve[ie>>10]+ve[ie>>4&63]+ve[ie<<2&63]+"=")),ee.join("")}},19208:function(Vt,Ut,ve){"use strict";var le;var Ce=ve(86251),je=ve(67467),nt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ut.lW=we,le=te,Ut.h2=50;var ze=2147483647;le=ze,we.TYPED_ARRAY_SUPPORT=Re(),!we.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 Re(){try{var Le=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(Le,he),Le.foo()===42}catch(ge){return!1}}Object.defineProperty(we.prototype,"parent",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.buffer}}),Object.defineProperty(we.prototype,"offset",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.byteOffset}});function Be(Le){if(Le>ze)throw new RangeError('The value "'+Le+'" is invalid for option "size"');var he=new Uint8Array(Le);return Object.setPrototypeOf(he,we.prototype),he}function we(Le,he,ge){if(typeof Le=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Fe(Le)}return De(Le,he,ge)}we.poolSize=8192;function De(Le,he,ge){if(typeof Le=="string")return be(Le,he);if(ArrayBuffer.isView(Le))return y(Le);if(Le==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Le);if(Wn(Le,ArrayBuffer)||Le&&Wn(Le.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Wn(Le,SharedArrayBuffer)||Le&&Wn(Le.buffer,SharedArrayBuffer)))return a(Le,he,ge);if(typeof Le=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Se=Le.valueOf&&Le.valueOf();if(Se!=null&&Se!==Le)return we.from(Se,he,ge);var qe=ee(Le);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Le[Symbol.toPrimitive]=="function")return we.from(Le[Symbol.toPrimitive]("string"),he,ge);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Le)}we.from=function(Le,he,ge){return De(Le,he,ge)},Object.setPrototypeOf(we.prototype,Uint8Array.prototype),Object.setPrototypeOf(we,Uint8Array);function ce(Le){if(typeof Le!="number")throw new TypeError('"size" argument must be of type number');if(Le<0)throw new RangeError('The value "'+Le+'" is invalid for option "size"')}function Ue(Le,he,ge){return ce(Le),Le<=0?Be(Le):he!==void 0?typeof ge=="string"?Be(Le).fill(he,ge):Be(Le).fill(he):Be(Le)}we.alloc=function(Le,he,ge){return Ue(Le,he,ge)};function Fe(Le){return ce(Le),Be(Le<0?0:b(Le)|0)}we.allocUnsafe=function(Le){return Fe(Le)},we.allocUnsafeSlow=function(Le){return Fe(Le)};function be(Le,he){if((typeof he!="string"||he==="")&&(he="utf8"),!we.isEncoding(he))throw new TypeError("Unknown encoding: "+he);var ge=ne(Le,he)|0,Se=Be(ge),qe=Se.write(Le,he);return qe!==ge&&(Se=Se.slice(0,qe)),Se}function ie(Le){for(var he=Le.length<0?0:b(Le.length)|0,ge=Be(he),Se=0;Se=ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze.toString(16)+" bytes");return Le|0}function te(Le){return+Le!=Le&&(Le=0),we.alloc(+Le)}we.isBuffer=function(he){return he!=null&&he._isBuffer===!0&&he!==we.prototype},we.compare=function(he,ge){if(Wn(he,Uint8Array)&&(he=we.from(he,he.offset,he.byteLength)),Wn(ge,Uint8Array)&&(ge=we.from(ge,ge.offset,ge.byteLength)),!we.isBuffer(he)||!we.isBuffer(ge))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(he===ge)return 0;for(var Se=he.length,qe=ge.length,pt=0,He=Math.min(Se,qe);ptqe.length?we.from(He).copy(qe,pt):Uint8Array.prototype.set.call(qe,He,pt);else if(we.isBuffer(He))He.copy(qe,pt);else throw new TypeError('"list" argument must be an Array of Buffers');pt+=He.length}return qe};function ne(Le,he){if(we.isBuffer(Le))return Le.length;if(ArrayBuffer.isView(Le)||Wn(Le,ArrayBuffer))return Le.byteLength;if(typeof Le!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Le);var ge=Le.length,Se=arguments.length>2&&arguments[2]===!0;if(!Se&&ge===0)return 0;for(var qe=!1;;)switch(he){case"ascii":case"latin1":case"binary":return ge;case"utf8":case"utf-8":return Rn(Le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ge*2;case"hex":return ge>>>1;case"base64":return wt(Le).length;default:if(qe)return Se?-1:Rn(Le).length;he=(""+he).toLowerCase(),qe=!0}}we.byteLength=ne;function ae(Le,he,ge){var Se=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((ge===void 0||ge>this.length)&&(ge=this.length),ge<=0)||(ge>>>=0,he>>>=0,ge<=he))return"";for(Le||(Le="utf8");;)switch(Le){case"hex":return ct(this,he,ge);case"utf8":case"utf-8":return Oe(this,he,ge);case"ascii":return ot(this,he,ge);case"latin1":case"binary":return Et(this,he,ge);case"base64":return ht(this,he,ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bt(this,he,ge);default:if(Se)throw new TypeError("Unknown encoding: "+Le);Le=(Le+"").toLowerCase(),Se=!0}}we.prototype._isBuffer=!0;function fe(Le,he,ge){var Se=Le[he];Le[he]=Le[ge],Le[ge]=Se}we.prototype.swap16=function(){var he=this.length;if(he%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ge=0;gege&&(he+=" ... "),""},nt&&(we.prototype[nt]=we.prototype.inspect),we.prototype.compare=function(he,ge,Se,qe,pt){if(Wn(he,Uint8Array)&&(he=we.from(he,he.offset,he.byteLength)),!we.isBuffer(he))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof he);if(ge===void 0&&(ge=0),Se===void 0&&(Se=he?he.length:0),qe===void 0&&(qe=0),pt===void 0&&(pt=this.length),ge<0||Se>he.length||qe<0||pt>this.length)throw new RangeError("out of range index");if(qe>=pt&&ge>=Se)return 0;if(qe>=pt)return-1;if(ge>=Se)return 1;if(ge>>>=0,Se>>>=0,qe>>>=0,pt>>>=0,this===he)return 0;for(var He=pt-qe,Ve=Se-ge,bt=Math.min(He,Ve),gt=this.slice(qe,pt),At=he.slice(ge,Se),jt=0;jt2147483647?ge=2147483647:ge<-2147483648&&(ge=-2147483648),ge=+ge,Xe(ge)&&(ge=qe?0:Le.length-1),ge<0&&(ge=Le.length+ge),ge>=Le.length){if(qe)return-1;ge=Le.length-1}else if(ge<0)if(qe)ge=0;else return-1;if(typeof he=="string"&&(he=we.from(he,Se)),we.isBuffer(he))return he.length===0?-1:Pe(Le,he,ge,Se,qe);if(typeof he=="number")return he=he&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Le,he,ge):Uint8Array.prototype.lastIndexOf.call(Le,he,ge):Pe(Le,[he],ge,Se,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Le,he,ge,Se,qe){var pt=1,He=Le.length,Ve=he.length;if(Se!==void 0&&(Se=String(Se).toLowerCase(),Se==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(Le.length<2||he.length<2)return-1;pt=2,He/=2,Ve/=2,ge/=2}function bt(It,on){return pt===1?It[on]:It.readUInt16BE(on*pt)}var gt;if(qe){var At=-1;for(gt=ge;gtHe&&(ge=He-Ve),gt=ge;gt>=0;gt--){for(var jt=!0,kn=0;knqe&&(Se=qe)):Se=qe;var pt=he.length;Se>pt/2&&(Se=pt/2);for(var He=0;He>>0,isFinite(Se)?(Se=Se>>>0,qe===void 0&&(qe="utf8")):(qe=Se,Se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var pt=this.length-ge;if((Se===void 0||Se>pt)&&(Se=pt),he.length>0&&(Se<0||ge<0)||ge>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var He=!1;;)switch(qe){case"hex":return Ne(this,he,ge,Se);case"utf8":case"utf-8":return Ge(this,he,ge,Se);case"ascii":case"latin1":case"binary":return Ye(this,he,ge,Se);case"base64":return et(this,he,ge,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,he,ge,Se);default:if(He)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),He=!0}},we.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ht(Le,he,ge){return he===0&&ge===Le.length?Ce.fromByteArray(Le):Ce.fromByteArray(Le.slice(he,ge))}function Oe(Le,he,ge){ge=Math.min(Le.length,ge);for(var Se=[],qe=he;qe239?4:pt>223?3:pt>191?2:1;if(qe+Ve<=ge){var bt,gt,At,jt;switch(Ve){case 1:pt<128&&(He=pt);break;case 2:bt=Le[qe+1],(bt&192)===128&&(jt=(pt&31)<<6|bt&63,jt>127&&(He=jt));break;case 3:bt=Le[qe+1],gt=Le[qe+2],(bt&192)===128&&(gt&192)===128&&(jt=(pt&15)<<12|(bt&63)<<6|gt&63,jt>2047&&(jt<55296||jt>57343)&&(He=jt));break;case 4:bt=Le[qe+1],gt=Le[qe+2],At=Le[qe+3],(bt&192)===128&&(gt&192)===128&&(At&192)===128&&(jt=(pt&15)<<18|(bt&63)<<12|(gt&63)<<6|At&63,jt>65535&&jt<1114112&&(He=jt))}}He===null?(He=65533,Ve=1):He>65535&&(He-=65536,Se.push(He>>>10&1023|55296),He=56320|He&1023),Se.push(He),qe+=Ve}return ut(Se)}var xt=4096;function ut(Le){var he=Le.length;if(he<=xt)return String.fromCharCode.apply(String,Le);for(var ge="",Se=0;SeSe)&&(ge=Se);for(var qe="",pt=he;ptSe&&(he=Se),ge<0?(ge+=Se,ge<0&&(ge=0)):ge>Se&&(ge=Se),gege)throw new RangeError("Trying to access beyond buffer length")}we.prototype.readUintLE=we.prototype.readUIntLE=function(he,ge,Se){he=he>>>0,ge=ge>>>0,Se||st(he,ge,this.length);for(var qe=this[he],pt=1,He=0;++He>>0,ge=ge>>>0,Se||st(he,ge,this.length);for(var qe=this[he+--ge],pt=1;ge>0&&(pt*=256);)qe+=this[he+--ge]*pt;return qe},we.prototype.readUint8=we.prototype.readUInt8=function(he,ge){return he=he>>>0,ge||st(he,1,this.length),this[he]},we.prototype.readUint16LE=we.prototype.readUInt16LE=function(he,ge){return he=he>>>0,ge||st(he,2,this.length),this[he]|this[he+1]<<8},we.prototype.readUint16BE=we.prototype.readUInt16BE=function(he,ge){return he=he>>>0,ge||st(he,2,this.length),this[he]<<8|this[he+1]},we.prototype.readUint32LE=we.prototype.readUInt32LE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),(this[he]|this[he+1]<<8|this[he+2]<<16)+this[he+3]*16777216},we.prototype.readUint32BE=we.prototype.readUInt32BE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),this[he]*16777216+(this[he+1]<<16|this[he+2]<<8|this[he+3])},we.prototype.readIntLE=function(he,ge,Se){he=he>>>0,ge=ge>>>0,Se||st(he,ge,this.length);for(var qe=this[he],pt=1,He=0;++He=pt&&(qe-=Math.pow(2,8*ge)),qe},we.prototype.readIntBE=function(he,ge,Se){he=he>>>0,ge=ge>>>0,Se||st(he,ge,this.length);for(var qe=ge,pt=1,He=this[he+--qe];qe>0&&(pt*=256);)He+=this[he+--qe]*pt;return pt*=128,He>=pt&&(He-=Math.pow(2,8*ge)),He},we.prototype.readInt8=function(he,ge){return he=he>>>0,ge||st(he,1,this.length),this[he]&128?(255-this[he]+1)*-1:this[he]},we.prototype.readInt16LE=function(he,ge){he=he>>>0,ge||st(he,2,this.length);var Se=this[he]|this[he+1]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt16BE=function(he,ge){he=he>>>0,ge||st(he,2,this.length);var Se=this[he+1]|this[he]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt32LE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),this[he]|this[he+1]<<8|this[he+2]<<16|this[he+3]<<24},we.prototype.readInt32BE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),this[he]<<24|this[he+1]<<16|this[he+2]<<8|this[he+3]},we.prototype.readFloatLE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),je.read(this,he,!0,23,4)},we.prototype.readFloatBE=function(he,ge){return he=he>>>0,ge||st(he,4,this.length),je.read(this,he,!1,23,4)},we.prototype.readDoubleLE=function(he,ge){return he=he>>>0,ge||st(he,8,this.length),je.read(this,he,!0,52,8)},we.prototype.readDoubleBE=function(he,ge){return he=he>>>0,ge||st(he,8,this.length),je.read(this,he,!1,52,8)};function rt(Le,he,ge,Se,qe,pt){if(!we.isBuffer(Le))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>qe||heLe.length)throw new RangeError("Index out of range")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(he,ge,Se,qe){if(he=+he,ge=ge>>>0,Se=Se>>>0,!qe){var pt=Math.pow(2,8*Se)-1;rt(this,he,ge,Se,pt,0)}var He=1,Ve=0;for(this[ge]=he&255;++Ve>>0,Se=Se>>>0,!qe){var pt=Math.pow(2,8*Se)-1;rt(this,he,ge,Se,pt,0)}var He=Se-1,Ve=1;for(this[ge+He]=he&255;--He>=0&&(Ve*=256);)this[ge+He]=he/Ve&255;return ge+Se},we.prototype.writeUint8=we.prototype.writeUInt8=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,1,255,0),this[ge]=he&255,ge+1},we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,2,65535,0),this[ge]=he&255,this[ge+1]=he>>>8,ge+2},we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,2,65535,0),this[ge]=he>>>8,this[ge+1]=he&255,ge+2},we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,4,4294967295,0),this[ge+3]=he>>>24,this[ge+2]=he>>>16,this[ge+1]=he>>>8,this[ge]=he&255,ge+4},we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,4,4294967295,0),this[ge]=he>>>24,this[ge+1]=he>>>16,this[ge+2]=he>>>8,this[ge+3]=he&255,ge+4},we.prototype.writeIntLE=function(he,ge,Se,qe){if(he=+he,ge=ge>>>0,!qe){var pt=Math.pow(2,8*Se-1);rt(this,he,ge,Se,pt-1,-pt)}var He=0,Ve=1,bt=0;for(this[ge]=he&255;++He>0)-bt&255;return ge+Se},we.prototype.writeIntBE=function(he,ge,Se,qe){if(he=+he,ge=ge>>>0,!qe){var pt=Math.pow(2,8*Se-1);rt(this,he,ge,Se,pt-1,-pt)}var He=Se-1,Ve=1,bt=0;for(this[ge+He]=he&255;--He>=0&&(Ve*=256);)he<0&&bt===0&&this[ge+He+1]!==0&&(bt=1),this[ge+He]=(he/Ve>>0)-bt&255;return ge+Se},we.prototype.writeInt8=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,1,127,-128),he<0&&(he=255+he+1),this[ge]=he&255,ge+1},we.prototype.writeInt16LE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,2,32767,-32768),this[ge]=he&255,this[ge+1]=he>>>8,ge+2},we.prototype.writeInt16BE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,2,32767,-32768),this[ge]=he>>>8,this[ge+1]=he&255,ge+2},we.prototype.writeInt32LE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,4,2147483647,-2147483648),this[ge]=he&255,this[ge+1]=he>>>8,this[ge+2]=he>>>16,this[ge+3]=he>>>24,ge+4},we.prototype.writeInt32BE=function(he,ge,Se){return he=+he,ge=ge>>>0,Se||rt(this,he,ge,4,2147483647,-2147483648),he<0&&(he=4294967295+he+1),this[ge]=he>>>24,this[ge+1]=he>>>16,this[ge+2]=he>>>8,this[ge+3]=he&255,ge+4};function Rt(Le,he,ge,Se,qe,pt){if(ge+Se>Le.length)throw new RangeError("Index out of range");if(ge<0)throw new RangeError("Index out of range")}function An(Le,he,ge,Se,qe){return he=+he,ge=ge>>>0,qe||Rt(Le,he,ge,4,34028234663852886e22,-34028234663852886e22),je.write(Le,he,ge,Se,23,4),ge+4}we.prototype.writeFloatLE=function(he,ge,Se){return An(this,he,ge,!0,Se)},we.prototype.writeFloatBE=function(he,ge,Se){return An(this,he,ge,!1,Se)};function ft(Le,he,ge,Se,qe){return he=+he,ge=ge>>>0,qe||Rt(Le,he,ge,8,17976931348623157e292,-17976931348623157e292),je.write(Le,he,ge,Se,52,8),ge+8}we.prototype.writeDoubleLE=function(he,ge,Se){return ft(this,he,ge,!0,Se)},we.prototype.writeDoubleBE=function(he,ge,Se){return ft(this,he,ge,!1,Se)},we.prototype.copy=function(he,ge,Se,qe){if(!we.isBuffer(he))throw new TypeError("argument should be a Buffer");if(Se||(Se=0),!qe&&qe!==0&&(qe=this.length),ge>=he.length&&(ge=he.length),ge||(ge=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),he.length-ge>>0,Se=Se===void 0?this.length:Se>>>0,he||(he=0);var He;if(typeof he=="number")for(He=ge;He55295&&ge<57344){if(!qe){if(ge>56319){(he-=3)>-1&&pt.push(239,191,189);continue}else if(He+1===Se){(he-=3)>-1&&pt.push(239,191,189);continue}qe=ge;continue}if(ge<56320){(he-=3)>-1&&pt.push(239,191,189),qe=ge;continue}ge=(qe-55296<<10|ge-56320)+65536}else qe&&(he-=3)>-1&&pt.push(239,191,189);if(qe=null,ge<128){if((he-=1)<0)break;pt.push(ge)}else if(ge<2048){if((he-=2)<0)break;pt.push(ge>>6|192,ge&63|128)}else if(ge<65536){if((he-=3)<0)break;pt.push(ge>>12|224,ge>>6&63|128,ge&63|128)}else if(ge<1114112){if((he-=4)<0)break;pt.push(ge>>18|240,ge>>12&63|128,ge>>6&63|128,ge&63|128)}else throw new Error("Invalid code point")}return pt}function un(Le){for(var he=[],ge=0;ge>8,qe=ge%256,pt.push(qe),pt.push(Se);return pt}function wt(Le){return Ce.toByteArray(yn(Le))}function zn(Le,he,ge,Se){for(var qe=0;qe=he.length||qe>=Le.length);++qe)he[qe+ge]=Le[qe];return qe}function Wn(Le,he){return Le instanceof he||Le!=null&&Le.constructor!=null&&Le.constructor.name!=null&&Le.constructor.name===he.name}function Xe(Le){return Le!==Le}var fn=function(){for(var Le="0123456789abcdef",he=new Array(256),ge=0;ge<16;++ge)for(var Se=ge*16,qe=0;qe<16;++qe)he[Se+qe]=Le[ge]+Le[qe];return he}()},14625:function(Vt){function Ut(le){var Ce,je,nt="";if(typeof le=="string"||typeof le=="number")nt+=le;else if(typeof le=="object")if(Array.isArray(le)){var ze=le.length;for(Ce=0;Ce0&&(Ne=ae[0]),Ne instanceof Error)throw Ne;var Ge=new Error("Unhandled error."+(Ne?" ("+Ne.message+")":""));throw Ge.context=Ne,Ge}var Ye=Pe[ne];if(Ye===void 0)return!1;if(typeof Ye=="function")ve(Ye,this,ae);else for(var et=Ye.length,ke=be(Ye,et),fe=0;fe0&&Ne.length>xe&&!Ne.warned){Ne.warned=!0;var Ge=new Error("Possible EventEmitter memory leak detected. "+Ne.length+" "+String(ne)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ge.name="MaxListenersExceededWarning",Ge.emitter=te,Ge.type=ne,Ge.count=Ne.length,Ce(Ge)}return te}nt.prototype.addListener=function(ne,ae){return we(this,ne,ae,!1)},nt.prototype.on=nt.prototype.addListener,nt.prototype.prependListener=function(ne,ae){return we(this,ne,ae,!0)};function De(){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 ce(te,ne,ae){var fe={fired:!1,wrapFn:void 0,target:te,type:ne,listener:ae},xe=De.bind(fe);return xe.listener=ae,fe.wrapFn=xe,xe}nt.prototype.once=function(ne,ae){return Re(ae),this.on(ne,ce(this,ne,ae)),this},nt.prototype.prependOnceListener=function(ne,ae){return Re(ae),this.prependListener(ne,ce(this,ne,ae)),this},nt.prototype.removeListener=function(ne,ae){var fe,xe,Pe,Ne,Ge;if(Re(ae),xe=this._events,xe===void 0)return this;if(fe=xe[ne],fe===void 0)return this;if(fe===ae||fe.listener===ae)--this._eventsCount===0?this._events=Object.create(null):(delete xe[ne],xe.removeListener&&this.emit("removeListener",ne,fe.listener||ae));else if(typeof fe!="function"){for(Pe=-1,Ne=fe.length-1;Ne>=0;Ne--)if(fe[Ne]===ae||fe[Ne].listener===ae){Ge=fe[Ne].listener,Pe=Ne;break}if(Pe<0)return this;Pe===0?fe.shift():ie(fe,Pe),fe.length===1&&(xe[ne]=fe[0]),xe.removeListener!==void 0&&this.emit("removeListener",ne,Ge||ae)}return this},nt.prototype.off=nt.prototype.removeListener,nt.prototype.removeAllListeners=function(ne){var ae,fe,xe;if(fe=this._events,fe===void 0)return this;if(fe.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):fe[ne]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete fe[ne]),this;if(arguments.length===0){var Pe=Object.keys(fe),Ne;for(xe=0;xe=0;xe--)this.removeListener(ne,ae[xe]);return this};function Ue(te,ne,ae){var fe=te._events;if(fe===void 0)return[];var xe=fe[ne];return xe===void 0?[]:typeof xe=="function"?ae?[xe.listener||xe]:[xe]:ae?y(xe):be(xe,xe.length)}nt.prototype.listeners=function(ne){return Ue(this,ne,!0)},nt.prototype.rawListeners=function(ne){return Ue(this,ne,!1)},nt.listenerCount=function(te,ne){return typeof te.listenerCount=="function"?te.listenerCount(ne):Fe.call(te,ne)},nt.prototype.listenerCount=Fe;function Fe(te){var ne=this._events;if(ne!==void 0){var ae=ne[te];if(typeof ae=="function")return 1;if(ae!==void 0)return ae.length}return 0}nt.prototype.eventNames=function(){return this._eventsCount>0?le(this._events):[]};function be(te,ne){for(var ae=new Array(ne),fe=0;fe0&&at[at.length-1])&&(On[0]===6||On[0]===2)){pe=0;continue}if(On[0]===3&&(!at||On[1]>at[0]&&On[1]=55296&&_e<=56319&&pe>10)+55296,yt%1024+56320)),(_e+1===pe||me.length>16384)&&(at+=String.fromCharCode.apply(String,me),me.length=0)}return at},ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ue=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Fe=0;Fe>4,jn[_e++]=(yt&15)<<4|zt>>2,jn[_e++]=(zt&3)<<6|Kt&63;return On},ee=function(de){for(var se=de.length,pe=[],me=0;me>te,Pe=1<>te,Ye=xe+Ge,et=Ye,ke=32,ht=et+ke,Oe=65536>>ne,xt=1<=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>te],pe=(pe<>te)],pe=(pe<>ne),pe=this.index[pe],pe+=se>>te&ut,pe=this.index[pe],pe=(pe<ft?(_e.push(!0),zt-=ft):_e.push(!1),["normal","auto","loose"].indexOf(se)!==-1&&[8208,8211,12316,12448].indexOf(at)!==-1)return me.push(yt),pe.push(qe);if(zt===un||zt===fn){if(yt===0)return me.push(yt),pe.push(Yt);var Kt=pe[yt-1];return Zi.indexOf(Kt)===-1?(me.push(me[yt-1]),pe.push(Kt)):(me.push(yt),pe.push(Yt))}if(me.push(yt),zt===hn)return pe.push(se==="strict"?gt:fr);if(zt===La||zt===lt)return pe.push(Yt);if(zt===cr)return at>=131072&&at<=196605||at>=196608&&at<=262141?pe.push(fr):pe.push(Yt);pe.push(zt)}),[me,pe,_e]},Fn=function(de,se,pe,me){var _e=me[pe];if(Array.isArray(de)?de.indexOf(_e)!==-1:de===_e)for(var at=pe;at<=me.length;){at++;var yt=me[at];if(yt===se)return!0;if(yt!==Xe)break}if(_e===Xe)for(var at=pe;at>0;){at--;var zt=me[at];if(Array.isArray(de)?de.indexOf(zt)!==-1:de===zt)for(var Kt=pe;Kt<=me.length;){Kt++;var yt=me[Kt];if(yt===se)return!0;if(yt!==Xe)break}if(zt!==Xe)break}return!1},gr=function(de,se){for(var pe=de;pe>=0;){var me=se[pe];if(me===Xe)pe--;else return me}return 0},aa=function(de,se,pe,me,_e){if(pe[me]===0)return Yr;var at=me-1;if(Array.isArray(_e)&&_e[at]===!0)return Yr;var yt=at-1,zt=at+1,Kt=se[at],On=yt>=0?se[yt]:0,jn=se[zt];if(Kt===yn&&jn===Rn)return Yr;if(Li.indexOf(Kt)!==-1)return no;if(Li.indexOf(jn)!==-1||Wi.indexOf(jn)!==-1)return Yr;if(gr(at,se)===zn)return rn;if(hi.get(de[at])===fn||(Kt===Sn||Kt===Jn)&&hi.get(de[zt])===fn||Kt===wt||jn===wt||Kt===Wn||[Xe,he,Se].indexOf(Kt)===-1&&jn===Wn||[pt,He,Ve,kn,En].indexOf(jn)!==-1||gr(at,se)===At||Fn(jt,At,at,se)||Fn([pt,He],gt,at,se)||Fn(Le,Le,at,se))return Yr;if(Kt===Xe)return rn;if(Kt===jt||jn===jt)return Yr;if(jn===qe||Kt===qe)return rn;if([he,Se,gt].indexOf(jn)!==-1||Kt===ge||On===Fr&&mn.indexOf(Kt)!==-1||Kt===En&&jn===Fr||jn===bt||ha.indexOf(jn)!==-1&&Kt===It||ha.indexOf(Kt)!==-1&&jn===It||Kt===Mt&&[fr,Sn,Jn].indexOf(jn)!==-1||[fr,Sn,Jn].indexOf(Kt)!==-1&&jn===on||ha.indexOf(Kt)!==-1&&Na.indexOf(jn)!==-1||Na.indexOf(Kt)!==-1&&ha.indexOf(jn)!==-1||[Mt,on].indexOf(Kt)!==-1&&(jn===It||[At,Se].indexOf(jn)!==-1&&se[zt+1]===It)||[At,Se].indexOf(Kt)!==-1&&jn===It||Kt===It&&[It,En,kn].indexOf(jn)!==-1)return Yr;if([It,En,kn,pt,He].indexOf(jn)!==-1)for(var Vn=at;Vn>=0;){var Pr=se[Vn];if(Pr===It)return Yr;if([En,kn].indexOf(Pr)!==-1)Vn--;else break}if([Mt,on].indexOf(jn)!==-1)for(var Vn=[pt,He].indexOf(Kt)!==-1?yt:at;Vn>=0;){var Pr=se[Vn];if(Pr===It)return Yr;if([En,kn].indexOf(Pr)!==-1)Vn--;else break}if(ir===Kt&&[ir,hr,ur,Lr].indexOf(jn)!==-1||[hr,ur].indexOf(Kt)!==-1&&[hr,Hr].indexOf(jn)!==-1||[Hr,Lr].indexOf(Kt)!==-1&&jn===Hr||as.indexOf(Kt)!==-1&&[bt,on].indexOf(jn)!==-1||as.indexOf(jn)!==-1&&Kt===Mt||ha.indexOf(Kt)!==-1&&ha.indexOf(jn)!==-1||Kt===kn&&ha.indexOf(jn)!==-1||ha.concat(It).indexOf(Kt)!==-1&&jn===At&&ao.indexOf(de[zt])===-1||ha.concat(It).indexOf(jn)!==-1&&Kt===He)return Yr;if(Kt===zr&&jn===zr){for(var Ka=pe[at],na=1;Ka>0&&(Ka--,se[Ka]===zr);)na++;if(na%2!==0)return Yr}return Kt===Sn&&jn===Jn?Yr:rn},oa=function(de,se){se||(se={lineBreak:"normal",wordBreak:"normal"});var pe=Cn(de,se.lineBreak),me=pe[0],_e=pe[1],at=pe[2];(se.wordBreak==="break-all"||se.wordBreak==="break-word")&&(_e=_e.map(function(zt){return[It,Yt,La].indexOf(zt)!==-1?fr:zt}));var yt=se.wordBreak==="keep-all"?at.map(function(zt,Kt){return zt&&de[Kt]>=19968&&de[Kt]<=40959}):void 0;return[me,_e,yt]},ma=function(){function de(se,pe,me,_e){this.codePoints=se,this.required=pe===no,this.start=me,this.end=_e}return de.prototype.slice=function(){return De.apply(void 0,this.codePoints.slice(this.start,this.end))},de}(),pa=function(de,se){var pe=we(de),me=oa(pe,se),_e=me[0],at=me[1],yt=me[2],zt=pe.length,Kt=0,On=0;return{next:function(){if(On>=zt)return{done:!0,value:null};for(var jn=Yr;On=ou&&de<=57},ec=function(de){return de>=55296&&de<=57343},Vi=function(de){return fA(de)||de>=$A&&de<=ju||de>=Fu&&de<=KA},Au=function(de){return de>=Fu&&de<=DA},tc=function(de){return de>=$A&&de<=ks},Hu=function(de){return Au(de)||tc(de)},Ia=function(de){return de>=gA},Gt=function(de){return de===kr||de===$o||de===Uo},Ot=function(de){return Hu(de)||Ia(de)||de===Bl},cn=function(de){return Ot(de)||fA(de)||de===Ir},dr=function(de){return de>=Cu&&de<=bu||de===IA||de>=Pu&&de<=Al||de===xu},Cr=function(de,se){return de!==Ki?!1:se!==kr},ya=function(de,se,pe){return de===Ir?Ot(se)||Cr(se,pe):Ot(de)?!0:!!(de===Ki&&Cr(de,se))},la=function(de,se,pe){return de===Va||de===Ir?fA(se)?!0:se===Sl&&fA(pe):fA(de===Sl?se:de)},Nr=function(de){var se=0,pe=1;(de[se]===Va||de[se]===Ir)&&(de[se]===Ir&&(pe=-1),se++);for(var me=[];fA(de[se]);)me.push(de[se++]);var _e=me.length?parseInt(De.apply(void 0,me),10):0;de[se]===Sl&&se++;for(var at=[];fA(de[se]);)at.push(de[se++]);var yt=at.length,zt=yt?parseInt(De.apply(void 0,at),10):0;(de[se]===su||de[se]===dn)&&se++;var Kt=1;(de[se]===Va||de[se]===Ir)&&(de[se]===Ir&&(Kt=-1),se++);for(var On=[];fA(de[se]);)On.push(de[se++]);var jn=On.length?parseInt(De.apply(void 0,On),10):0;return pe*(_e+zt*Math.pow(10,-yt))*Math.pow(10,Kt*jn)},Rr={type:2},za={type:3},Yo={type:4},Ko={type:13},Wa={type:8},Io={type:21},Ln={type:9},vn={type:10},Dn={type:11},Un={type:12},lr={type:14},_r={type:23},$n={type:1},$r={type:25},ea={type:24},va={type:26},qa={type:27},Ar={type:28},fo={type:29},Mo={type:31},Xo={type:32},Ra=function(){function de(){this._value=[]}return de.prototype.write=function(se){this._value=this._value.concat(we(se))},de.prototype.read=function(){for(var se=[],pe=this.consumeToken();pe!==Xo;)se.push(pe),pe=this.consumeToken();return se},de.prototype.consumeToken=function(){var se=this.consumeCodePoint();switch(se){case xo:return this.consumeStringToken(xo);case Vs:var pe=this.peekCodePoint(0),me=this.peekCodePoint(1),_e=this.peekCodePoint(2);if(cn(pe)||Cr(me,_e)){var at=ya(pe,me,_e)?co:da,yt=this.consumeName();return{type:5,value:yt,flags:at}}break;case Ys:if(this.peekCodePoint(0)===qi)return this.consumeCodePoint(),Ko;break;case nA:return this.consumeStringToken(nA);case Ui:return Rr;case lA:return za;case oi:if(this.peekCodePoint(0)===qi)return this.consumeCodePoint(),lr;break;case Va:if(la(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case wc:return Yo;case Ir:var zt=se,Kt=this.peekCodePoint(0),On=this.peekCodePoint(1);if(la(zt,Kt,On))return this.reconsumeCodePoint(se),this.consumeNumericToken();if(ya(zt,Kt,On))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();if(Kt===Ir&&On===wl)return this.consumeCodePoint(),this.consumeCodePoint(),ea;break;case Sl:if(la(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Ua:if(this.peekCodePoint(0)===oi)for(this.consumeCodePoint();;){var jn=this.consumeCodePoint();if(jn===oi&&(jn=this.consumeCodePoint(),jn===Ua))return this.consumeToken();if(jn===NA)return this.consumeToken()}break;case Nl:return va;case Ru:return qa;case Eu:if(this.peekCodePoint(0)===qA&&this.peekCodePoint(1)===Ir&&this.peekCodePoint(2)===Ir)return this.consumeCodePoint(),this.consumeCodePoint(),$r;break;case yl:var Vn=this.peekCodePoint(0),Pr=this.peekCodePoint(1),Ka=this.peekCodePoint(2);if(ya(Vn,Pr,Ka)){var yt=this.consumeName();return{type:7,value:yt}}break;case au:return Ar;case Ki:if(Cr(se,this.peekCodePoint(0)))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();break;case Gr:return fo;case oo:if(this.peekCodePoint(0)===qi)return this.consumeCodePoint(),Wa;break;case io:return Dn;case $i:return Un;case iu:case Dl:var na=this.peekCodePoint(0),Ea=this.peekCodePoint(1);return na===Va&&(Vi(Ea)||Ea===Ja)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(se),this.consumeIdentLikeToken();case us:if(this.peekCodePoint(0)===qi)return this.consumeCodePoint(),Ln;if(this.peekCodePoint(0)===us)return this.consumeCodePoint(),Io;break;case zs:if(this.peekCodePoint(0)===qi)return this.consumeCodePoint(),vn;break;case NA:return Xo}return Gt(se)?(this.consumeWhiteSpace(),Mo):fA(se)?(this.reconsumeCodePoint(se),this.consumeNumericToken()):Ot(se)?(this.reconsumeCodePoint(se),this.consumeIdentLikeToken()):{type:6,value:De(se)}},de.prototype.consumeCodePoint=function(){var se=this._value.shift();return typeof se=="undefined"?-1:se},de.prototype.reconsumeCodePoint=function(se){this._value.unshift(se)},de.prototype.peekCodePoint=function(se){return se>=this._value.length?-1:this._value[se]},de.prototype.consumeUnicodeRangeToken=function(){for(var se=[],pe=this.consumeCodePoint();Vi(pe)&&se.length<6;)se.push(pe),pe=this.consumeCodePoint();for(var me=!1;pe===Ja&&se.length<6;)se.push(pe),pe=this.consumeCodePoint(),me=!0;if(me){var _e=parseInt(De.apply(void 0,se.map(function(Kt){return Kt===Ja?ou:Kt})),16),at=parseInt(De.apply(void 0,se.map(function(Kt){return Kt===Ja?ju:Kt})),16);return{type:30,start:_e,end:at}}var yt=parseInt(De.apply(void 0,se),16);if(this.peekCodePoint(0)===Ir&&Vi(this.peekCodePoint(1))){this.consumeCodePoint(),pe=this.consumeCodePoint();for(var zt=[];Vi(pe)&&zt.length<6;)zt.push(pe),pe=this.consumeCodePoint();var at=parseInt(De.apply(void 0,zt),16);return{type:30,start:yt,end:at}}else return{type:30,start:yt,end:yt}},de.prototype.consumeIdentLikeToken=function(){var se=this.consumeName();return se.toLowerCase()==="url"&&this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),{type:19,value:se}):{type:20,value:se}},de.prototype.consumeUrlToken=function(){var se=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===NA)return{type:22,value:""};var pe=this.peekCodePoint(0);if(pe===nA||pe===xo){var me=this.consumeStringToken(this.consumeCodePoint());return me.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===NA||this.peekCodePoint(0)===lA)?(this.consumeCodePoint(),{type:22,value:me.value}):(this.consumeBadUrlRemnants(),_r)}for(;;){var _e=this.consumeCodePoint();if(_e===NA||_e===lA)return{type:22,value:De.apply(void 0,se)};if(Gt(_e))return this.consumeWhiteSpace(),this.peekCodePoint(0)===NA||this.peekCodePoint(0)===lA?(this.consumeCodePoint(),{type:22,value:De.apply(void 0,se)}):(this.consumeBadUrlRemnants(),_r);if(_e===xo||_e===nA||_e===Ui||dr(_e))return this.consumeBadUrlRemnants(),_r;if(_e===Ki)if(Cr(_e,this.peekCodePoint(0)))se.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),_r;else se.push(_e)}},de.prototype.consumeWhiteSpace=function(){for(;Gt(this.peekCodePoint(0));)this.consumeCodePoint()},de.prototype.consumeBadUrlRemnants=function(){for(;;){var se=this.consumeCodePoint();if(se===lA||se===NA)return;Cr(se,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},de.prototype.consumeStringSlice=function(se){for(var pe=5e4,me="";se>0;){var _e=Math.min(pe,se);me+=De.apply(void 0,this._value.splice(0,_e)),se-=_e}return this._value.shift(),me},de.prototype.consumeStringToken=function(se){var pe="",me=0;do{var _e=this._value[me];if(_e===NA||_e===void 0||_e===se)return pe+=this.consumeStringSlice(me),{type:0,value:pe};if(_e===kr)return this._value.splice(0,me),$n;if(_e===Ki){var at=this._value[me+1];at!==NA&&at!==void 0&&(at===kr?(pe+=this.consumeStringSlice(me),me=-1,this._value.shift()):Cr(_e,at)&&(pe+=this.consumeStringSlice(me),pe+=De(this.consumeEscapedCodePoint()),me=-1))}me++}while(!0)},de.prototype.consumeNumber=function(){var se=[],pe=Ti,me=this.peekCodePoint(0);for((me===Va||me===Ir)&&se.push(this.consumeCodePoint());fA(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0);var _e=this.peekCodePoint(1);if(me===Sl&&fA(_e))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=li;fA(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0),_e=this.peekCodePoint(1);var at=this.peekCodePoint(2);if((me===su||me===dn)&&((_e===Va||_e===Ir)&&fA(at)||fA(_e)))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=li;fA(this.peekCodePoint(0));)se.push(this.consumeCodePoint());return[Nr(se),pe]},de.prototype.consumeNumericToken=function(){var se=this.consumeNumber(),pe=se[0],me=se[1],_e=this.peekCodePoint(0),at=this.peekCodePoint(1),yt=this.peekCodePoint(2);if(ya(_e,at,yt)){var zt=this.consumeName();return{type:15,number:pe,flags:me,unit:zt}}return _e===os?(this.consumeCodePoint(),{type:16,number:pe,flags:me}):{type:17,number:pe,flags:me}},de.prototype.consumeEscapedCodePoint=function(){var se=this.consumeCodePoint();if(Vi(se)){for(var pe=De(se);Vi(this.peekCodePoint(0))&&pe.length<6;)pe+=De(this.consumeCodePoint());Gt(this.peekCodePoint(0))&&this.consumeCodePoint();var me=parseInt(pe,16);return me===0||ec(me)||me>1114111?LA:me}return se===NA?LA:se},de.prototype.consumeName=function(){for(var se="";;){var pe=this.consumeCodePoint();if(cn(pe))se+=De(pe);else if(Cr(pe,this.peekCodePoint(0)))se+=De(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(pe),se}},de}(),it=function(){function de(se){this._tokens=se}return de.create=function(se){var pe=new Ra;return pe.write(se),new de(pe.read())},de.parseValue=function(se){return de.create(se).parseComponentValue()},de.parseValues=function(se){return de.create(se).parseComponentValues()},de.prototype.parseComponentValue=function(){for(var se=this.consumeToken();se.type===31;)se=this.consumeToken();if(se.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(se);var pe=this.consumeComponentValue();do se=this.consumeToken();while(se.type===31);if(se.type===32)return pe;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},de.prototype.parseComponentValues=function(){for(var se=[];;){var pe=this.consumeComponentValue();if(pe.type===32)return se;se.push(pe),se.push()}},de.prototype.consumeComponentValue=function(){var se=this.consumeToken();switch(se.type){case 11:case 28:case 2:return this.consumeSimpleBlock(se.type);case 19:return this.consumeFunction(se)}return se},de.prototype.consumeSimpleBlock=function(se){for(var pe={type:se,values:[]},me=this.consumeToken();;){if(me.type===32||Kl(me,se))return pe;this.reconsumeToken(me),pe.values.push(this.consumeComponentValue()),me=this.consumeToken()}},de.prototype.consumeFunction=function(se){for(var pe={name:se.value,values:[],type:18};;){var me=this.consumeToken();if(me.type===32||me.type===3)return pe;this.reconsumeToken(me),pe.values.push(this.consumeComponentValue())}},de.prototype.consumeToken=function(){var se=this._tokens.shift();return typeof se=="undefined"?Xo:se},de.prototype.reconsumeToken=function(se){this._tokens.unshift(se)},de}(),Ro=function(de){return de.type===15},mi=function(de){return de.type===17},Qr=function(de){return de.type===20},Qo=function(de){return de.type===0},zi=function(de,se){return Qr(de)&&de.value===se},Ms=function(de){return de.type!==31},Yi=function(de){return de.type!==31&&de.type!==4},Xi=function(de){var se=[],pe=[];return de.forEach(function(me){if(me.type===4){if(pe.length===0)throw new Error("Error parsing function args, zero tokens for arg");se.push(pe),pe=[];return}me.type!==31&&pe.push(me)}),pe.length&&se.push(pe),se},Kl=function(de,se){return se===11&&de.type===12||se===28&&de.type===29?!0:se===2&&de.type===3},UA=function(de){return de.type===17||de.type===15},Qi=function(de){return de.type===16||UA(de)},lu=function(de){return de.length>1?[de[0],de[1]]:[de[0]]},Ca={type:17,number:0,flags:Ti},ii={type:16,number:50,flags:Ti},pi={type:16,number:100,flags:Ti},cs=function(de,se,pe){var me=de[0],_e=de[1];return[Fo(me,se),Fo(typeof _e!="undefined"?_e:me,pe)]},Fo=function(de,se){if(de.type===16)return de.number/100*se;if(Ro(de))switch(de.unit){case"rem":case"em":return 16*de.number;case"px":default:return de.number}return de.number},yA="deg",el="grad",QA="rad",Ri="turn",uA={name:"angle",parse:function(de,se){if(se.type===15)switch(se.unit){case yA:return Math.PI*se.number/180;case el:return Math.PI/200*se.number;case QA:return se.number;case Ri:return Math.PI*2*se.number}throw new Error("Unsupported angle type")}},zl=function(de){return de.type===15&&(de.unit===yA||de.unit===el||de.unit===QA||de.unit===Ri)},Ga=function(de){var se=de.filter(Qr).map(function(pe){return pe.value}).join(" ");switch(se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ca,Ca];case"to top":case"bottom":return Ts(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ca,pi];case"to right":case"left":return Ts(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[pi,pi];case"to bottom":case"top":return Ts(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[pi,Ca];case"to left":case"right":return Ts(270)}return 0},Ts=function(de){return Math.PI*de/180},El={name:"color",parse:function(de,se){if(se.type===18){var pe=Ls[se.name];if(typeof pe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+se.name+'"');return pe(de,se.values)}if(se.type===5){if(se.value.length===3){var me=se.value.substring(0,1),_e=se.value.substring(1,2),at=se.value.substring(2,3);return Ss(parseInt(me+me,16),parseInt(_e+_e,16),parseInt(at+at,16),1)}if(se.value.length===4){var me=se.value.substring(0,1),_e=se.value.substring(1,2),at=se.value.substring(2,3),yt=se.value.substring(3,4);return Ss(parseInt(me+me,16),parseInt(_e+_e,16),parseInt(at+at,16),parseInt(yt+yt,16)/255)}if(se.value.length===6){var me=se.value.substring(0,2),_e=se.value.substring(2,4),at=se.value.substring(4,6);return Ss(parseInt(me,16),parseInt(_e,16),parseInt(at,16),1)}if(se.value.length===8){var me=se.value.substring(0,2),_e=se.value.substring(2,4),at=se.value.substring(4,6),yt=se.value.substring(6,8);return Ss(parseInt(me,16),parseInt(_e,16),parseInt(at,16),parseInt(yt,16)/255)}}if(se.type===20){var zt=bs[se.value.toUpperCase()];if(typeof zt!="undefined")return zt}return bs.TRANSPARENT}},cA=function(de){return(255&de)===0},hs=function(de){var se=255&de,pe=255&de>>8,me=255&de>>16,_e=255&de>>24;return se<255?"rgba("+_e+","+me+","+pe+","+se/255+")":"rgb("+_e+","+me+","+pe+")"},Ss=function(de,se,pe,me){return(de<<24|se<<16|pe<<8|Math.round(me*255)<<0)>>>0},Lu=function(de,se){if(de.type===17)return de.number;if(de.type===16){var pe=se===3?1:255;return se===3?de.number/100*pe:Math.round(de.number/100*pe)}return 0},Gc=function(de,se){var pe=se.filter(Yi);if(pe.length===3){var me=pe.map(Lu),_e=me[0],at=me[1],yt=me[2];return Ss(_e,at,yt,1)}if(pe.length===4){var zt=pe.map(Lu),_e=zt[0],at=zt[1],yt=zt[2],Kt=zt[3];return Ss(_e,at,yt,Kt)}return 0};function SA(de,se,pe){return pe<0&&(pe+=1),pe>=1&&(pe-=1),pe<1/6?(se-de)*pe*6+de:pe<1/2?se:pe<2/3?(se-de)*6*(2/3-pe)+de:de}var Gl=function(de,se){var pe=se.filter(Yi),me=pe[0],_e=pe[1],at=pe[2],yt=pe[3],zt=(me.type===17?Ts(me.number):uA.parse(de,me))/(Math.PI*2),Kt=Qi(_e)?_e.number/100:0,On=Qi(at)?at.number/100:0,jn=typeof yt!="undefined"&&Qi(yt)?Fo(yt,1):1;if(Kt===0)return Ss(On*255,On*255,On*255,1);var Vn=On<=.5?On*(Kt+1):On+Kt-On*Kt,Pr=On*2-Vn,Ka=SA(Pr,Vn,zt+1/3),na=SA(Pr,Vn,zt),Ea=SA(Pr,Vn,zt-1/3);return Ss(Ka*255,na*255,Ea*255,jn)},Ls={hsl:Gl,hsla:Gl,rgb:Gc,rgba:Gc},uu=function(de,se){return El.parse(de,it.create(se).parseComponentValue())},bs={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},nc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(de,se){return se.map(function(pe){if(Qr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Wl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cu=function(de,se){var pe=El.parse(de,se[0]),me=se[1];return me&&Qi(me)?{color:pe,stop:me}:{color:pe,stop:null}},yc=function(de,se){var pe=de[0],me=de[de.length-1];pe.stop===null&&(pe.stop=Ca),me.stop===null&&(me.stop=pi);for(var _e=[],at=0,yt=0;ytat?_e.push(Kt):_e.push(at),at=Kt}else _e.push(null)}for(var On=null,yt=0;yt<_e.length;yt++){var jn=_e[yt];if(jn===null)On===null&&(On=yt);else if(On!==null){for(var Vn=yt-On,Pr=_e[On-1],Ka=(jn-Pr)/(Vn+1),na=1;na<=Vn;na++)_e[On+na-1]=Ka*na;On=null}}return de.map(function(Ea,ti){var to=Ea.color;return{color:to,stop:Math.max(Math.min(1,_e[ti]/se),0)}})},Iu=function(de,se,pe){var me=se/2,_e=pe/2,at=Fo(de[0],se)-me,yt=_e-Fo(de[1],pe);return(Math.atan2(yt,at)+Math.PI*2)%(Math.PI*2)},Wc=function(de,se,pe){var me=typeof de=="number"?de:Iu(de,se,pe),_e=Math.abs(se*Math.sin(me))+Math.abs(pe*Math.cos(me)),at=se/2,yt=pe/2,zt=_e/2,Kt=Math.sin(me-Math.PI/2)*zt,On=Math.cos(me-Math.PI/2)*zt;return[_e,at-On,at+On,yt-Kt,yt+Kt]},zA=function(de,se){return Math.sqrt(de*de+se*se)},Sc=function(de,se,pe,me,_e){var at=[[0,0],[0,se],[de,0],[de,se]];return at.reduce(function(yt,zt){var Kt=zt[0],On=zt[1],jn=zA(pe-Kt,me-On);return(_e?jnyt.optimumDistance)?{optimumCorner:zt,optimumDistance:jn}:yt},{optimumDistance:_e?1/0:-1/0,optimumCorner:null}).optimumCorner},rc=function(de,se,pe,me,_e){var at=0,yt=0;switch(de.size){case 0:de.shape===0?at=yt=Math.min(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-_e)):de.shape===1&&(at=Math.min(Math.abs(se),Math.abs(se-me)),yt=Math.min(Math.abs(pe),Math.abs(pe-_e)));break;case 2:if(de.shape===0)at=yt=Math.min(zA(se,pe),zA(se,pe-_e),zA(se-me,pe),zA(se-me,pe-_e));else if(de.shape===1){var zt=Math.min(Math.abs(pe),Math.abs(pe-_e))/Math.min(Math.abs(se),Math.abs(se-me)),Kt=Sc(me,_e,se,pe,!0),On=Kt[0],jn=Kt[1];at=zA(On-se,(jn-pe)/zt),yt=zt*at}break;case 1:de.shape===0?at=yt=Math.max(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-_e)):de.shape===1&&(at=Math.max(Math.abs(se),Math.abs(se-me)),yt=Math.max(Math.abs(pe),Math.abs(pe-_e)));break;case 3:if(de.shape===0)at=yt=Math.max(zA(se,pe),zA(se,pe-_e),zA(se-me,pe),zA(se-me,pe-_e));else if(de.shape===1){var zt=Math.max(Math.abs(pe),Math.abs(pe-_e))/Math.max(Math.abs(se),Math.abs(se-me)),Vn=Sc(me,_e,se,pe,!1),On=Vn[0],jn=Vn[1];at=zA(On-se,(jn-pe)/zt),yt=zt*at}break}return Array.isArray(de.size)&&(at=Fo(de.size[0],me),yt=de.size.length===2?Fo(de.size[1],_e):at),[at,yt]},Kr=function(de,se){var pe=Ts(180),me=[];return Xi(se).forEach(function(_e,at){if(at===0){var yt=_e[0];if(yt.type===20&&yt.value==="to"){pe=Ga(_e);return}else if(zl(yt)){pe=uA.parse(de,yt);return}}var zt=cu(de,_e);me.push(zt)}),{angle:pe,stops:me,type:1}},lo=function(de,se){var pe=Ts(180),me=[];return Xi(se).forEach(function(_e,at){if(at===0){var yt=_e[0];if(yt.type===20&&["top","left","right","bottom"].indexOf(yt.value)!==-1){pe=Ga(_e);return}else if(zl(yt)){pe=(uA.parse(de,yt)+Ts(270))%Ts(360);return}}var zt=cu(de,_e);me.push(zt)}),{angle:pe,stops:me,type:1}},br=function(de,se){var pe=Ts(180),me=[],_e=1,at=0,yt=3,zt=[];return Xi(se).forEach(function(Kt,On){var jn=Kt[0];if(On===0){if(Qr(jn)&&jn.value==="linear"){_e=1;return}else if(Qr(jn)&&jn.value==="radial"){_e=2;return}}if(jn.type===18){if(jn.name==="from"){var Vn=El.parse(de,jn.values[0]);me.push({stop:Ca,color:Vn})}else if(jn.name==="to"){var Vn=El.parse(de,jn.values[0]);me.push({stop:pi,color:Vn})}else if(jn.name==="color-stop"){var Pr=jn.values.filter(Yi);if(Pr.length===2){var Vn=El.parse(de,Pr[1]),Ka=Pr[0];mi(Ka)&&me.push({stop:{type:16,number:Ka.number*100,flags:Ka.flags},color:Vn})}}}}),_e===1?{angle:(pe+Ts(180))%Ts(360),stops:me,type:_e}:{size:yt,shape:at,stops:me,position:zt,type:_e}},ho="closest-side",si="farthest-side",Rs="closest-corner",rA="farthest-corner",hA="circle",Zl="ellipse",Nu="cover",Vl="contain",ja=function(de,se){var pe=0,me=3,_e=[],at=[];return Xi(se).forEach(function(yt,zt){var Kt=!0;if(zt===0){var On=!1;Kt=yt.reduce(function(Vn,Pr){if(On)if(Qr(Pr))switch(Pr.value){case"center":return at.push(ii),Vn;case"top":case"left":return at.push(Ca),Vn;case"right":case"bottom":return at.push(pi),Vn}else(Qi(Pr)||UA(Pr))&&at.push(Pr);else if(Qr(Pr))switch(Pr.value){case hA:return pe=0,!1;case Zl:return pe=1,!1;case"at":return On=!0,!1;case ho:return me=0,!1;case Nu:case si:return me=1,!1;case Vl:case Rs:return me=2,!1;case rA:return me=3,!1}else if(UA(Pr)||Qi(Pr))return Array.isArray(me)||(me=[]),me.push(Pr),!1;return Vn},Kt)}if(Kt){var jn=cu(de,yt);_e.push(jn)}}),{size:me,shape:pe,stops:_e,position:at,type:2}},aA=function(de,se){var pe=0,me=3,_e=[],at=[];return Xi(se).forEach(function(yt,zt){var Kt=!0;if(zt===0?Kt=yt.reduce(function(jn,Vn){if(Qr(Vn))switch(Vn.value){case"center":return at.push(ii),!1;case"top":case"left":return at.push(Ca),!1;case"right":case"bottom":return at.push(pi),!1}else if(Qi(Vn)||UA(Vn))return at.push(Vn),!1;return jn},Kt):zt===1&&(Kt=yt.reduce(function(jn,Vn){if(Qr(Vn))switch(Vn.value){case hA:return pe=0,!1;case Zl:return pe=1,!1;case Vl:case ho:return me=0,!1;case si:return me=1,!1;case Rs:return me=2,!1;case Nu:case rA:return me=3,!1}else if(UA(Vn)||Qi(Vn))return Array.isArray(me)||(me=[]),me.push(Vn),!1;return jn},Kt)),Kt){var On=cu(de,yt);_e.push(On)}}),{size:me,shape:pe,stops:_e,position:at,type:2}},zo=function(de){return de.type===1},OA=function(de){return de.type===2},ms={name:"image",parse:function(de,se){if(se.type===22){var pe={url:se.value,type:0};return de.cache.addImage(se.value),pe}if(se.type===18){var me=js[se.name];if(typeof me=="undefined")throw new Error('Attempting to parse an unsupported image function "'+se.name+'"');return me(de,se.values)}throw new Error("Unsupported image type "+se.type)}};function kA(de){return!(de.type===20&&de.value==="none")&&(de.type!==18||!!js[de.name])}var js={"linear-gradient":Kr,"-moz-linear-gradient":lo,"-ms-linear-gradient":lo,"-o-linear-gradient":lo,"-webkit-linear-gradient":lo,"radial-gradient":ja,"-moz-radial-gradient":aA,"-ms-radial-gradient":aA,"-o-radial-gradient":aA,"-webkit-radial-gradient":aA,"-webkit-gradient":br},Yl={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(de,se){if(se.length===0)return[];var pe=se[0];return pe.type===20&&pe.value==="none"?[]:se.filter(function(me){return Yi(me)&&kA(me)}).map(function(me){return ms.parse(de,me)})}},Cl={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(de,se){return se.map(function(pe){if(Qr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Xs={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(de,se){return Xi(se).map(function(pe){return pe.filter(Qi)}).map(lu)}},Gs={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(de,se){return Xi(se).map(function(pe){return pe.filter(Qr).map(function(me){return me.value}).join(" ")}).map(mA)}},mA=function(de){switch(de){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}},ji;(function(de){de.AUTO="auto",de.CONTAIN="contain",de.COVER="cover"})(ji||(ji={}));var Du={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(de,se){return Xi(se).map(function(pe){return pe.filter(Xl)})}},Xl=function(de){return Qr(de)||Qi(de)},ll=function(de){return{name:"border-"+de+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Pg=ll("top"),Uu=ll("right"),Bf=ll("bottom"),Ec=ll("left"),Wd=function(de){return{name:"border-radius-"+de,initialValue:"0 0",prefix:!1,type:1,parse:function(se,pe){return lu(pe.filter(Qi))}}},Bm=Wd("top-left"),ac=Wd("top-right"),Jl=Wd("bottom-right"),Ul=Wd("bottom-left"),Ji=function(de){return{name:"border-"+de+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(se,pe){switch(pe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Zc=Ji("top"),wf=Ji("right"),yf=Ji("bottom"),Vc=Ji("left"),md=function(de){return{name:"border-"+de+"-width",initialValue:"0",type:0,prefix:!1,parse:function(se,pe){return Ro(pe)?pe.number:0}}},xg=md("top"),Yc=md("right"),t0=md("bottom"),n0=md("left"),MA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pd={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(de,se){switch(se){case"rtl":return 1;case"ltr":default:return 0}}},r0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(de,se){return se.filter(Qr).reduce(function(pe,me){return pe|Je(me.value)},0)}},Je=function(de){switch(de){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},tt={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(de,se){switch(se){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Pt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(de,se){return se.type===20&&se.value==="normal"?0:se.type===17||se.type===15?se.number:0}},Tt;(function(de){de.NORMAL="normal",de.STRICT="strict"})(Tt||(Tt={}));var qt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(de,se){switch(se){case"strict":return Tt.STRICT;case"normal":default:return Tt.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pn=function(de,se){return Qr(de)&&de.value==="normal"?1.2*se:de.type===17?se*de.number:Qi(de)?Fo(de,se):se},In={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(de,se){return se.type===20&&se.value==="none"?null:ms.parse(de,se)}},Bn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(de,se){switch(se){case"inside":return 0;case"outside":default:return 1}}},Gn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(de,se){switch(se){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}}},er=function(de){return{name:"margin-"+de,initialValue:"0",prefix:!1,type:4}},Zn=er("top"),xr=er("right"),Br=er("bottom"),Sr=er("left"),ta={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(de,se){return se.filter(Qr).map(function(pe){switch(pe.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Wr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(de,se){switch(se){case"break-word":return"break-word";case"normal":default:return"normal"}}},qr=function(de){return{name:"padding-"+de,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Zr=qr("top"),ua=qr("right"),Ha=qr("bottom"),Za=qr("left"),Pa={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(de,se){switch(se){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},so={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(de,se){switch(se){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},bo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(de,se){return se.length===1&&zi(se[0],"none")?[]:Xi(se).map(function(pe){for(var me={color:bs.TRANSPARENT,offsetX:Ca,offsetY:Ca,blur:Ca},_e=0,at=0;at1?1:0],this.overflowWrap=ia(se,Wr,pe.overflowWrap),this.paddingTop=ia(se,Zr,pe.paddingTop),this.paddingRight=ia(se,ua,pe.paddingRight),this.paddingBottom=ia(se,Ha,pe.paddingBottom),this.paddingLeft=ia(se,Za,pe.paddingLeft),this.paintOrder=ia(se,ui,pe.paintOrder),this.position=ia(se,so,pe.position),this.textAlign=ia(se,Pa,pe.textAlign),this.textDecorationColor=ia(se,Is,(me=pe.textDecorationColor)!==null&&me!==void 0?me:pe.color),this.textDecorationLine=ia(se,Lo,(_e=pe.textDecorationLine)!==null&&_e!==void 0?_e:pe.textDecoration),this.textShadow=ia(se,bo,pe.textShadow),this.textTransform=ia(se,ga,pe.textTransform),this.transform=ia(se,xa,pe.transform),this.transformOrigin=ia(se,Eo,pe.transformOrigin),this.visibility=ia(se,Ya,pe.visibility),this.webkitTextStrokeColor=ia(se,GA,pe.webkitTextStrokeColor),this.webkitTextStrokeWidth=ia(se,Ws,pe.webkitTextStrokeWidth),this.wordBreak=ia(se,ri,pe.wordBreak),this.zIndex=ia(se,es,pe.zIndex)}return de.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},de.prototype.isTransparent=function(){return cA(this.backgroundColor)},de.prototype.isTransformed=function(){return this.transform!==null},de.prototype.isPositioned=function(){return this.position!==0},de.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},de.prototype.isFloating=function(){return this.float!==0},de.prototype.isInlineLevel=function(){return Sa(this.display,4)||Sa(this.display,33554432)||Sa(this.display,268435456)||Sa(this.display,536870912)||Sa(this.display,67108864)||Sa(this.display,134217728)},de}(),Zs=function(){function de(se,pe){this.content=ia(se,ro,pe.content),this.quotes=ia(se,ka,pe.quotes)}return de}(),bl=function(){function de(se,pe){this.counterIncrement=ia(se,eo,pe.counterIncrement),this.counterReset=ia(se,Oa,pe.counterReset)}return de}(),ia=function(de,se,pe){var me=new Ra,_e=pe!==null&&typeof pe!="undefined"?pe.toString():se.initialValue;me.write(_e);var at=new it(me.read());switch(se.type){case 2:var yt=at.parseComponentValue();return se.parse(de,Qr(yt)?yt.value:se.initialValue);case 0:return se.parse(de,at.parseComponentValue());case 1:return se.parse(de,at.parseComponentValues());case 4:return at.parseComponentValue();case 3:switch(se.format){case"angle":return uA.parse(de,at.parseComponentValue());case"color":return El.parse(de,at.parseComponentValue());case"image":return ms.parse(de,at.parseComponentValue());case"length":var zt=at.parseComponentValue();return UA(zt)?zt:Ca;case"length-percentage":var Kt=at.parseComponentValue();return Qi(Kt)?Kt:Ca;case"time":return Bi.parse(de,at.parseComponentValue())}break}},tl="data-html2canvas-debug",Cc=function(de){var se=de.getAttribute(tl);switch(se){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Pi=function(de,se){var pe=Cc(de);return pe===1||se===pe},ai=function(){function de(se,pe){if(this.context=se,this.textNodes=[],this.elements=[],this.flags=0,Pi(pe,3))debugger;this.styles=new ql(se,window.getComputedStyle(pe,null)),A0(pe)&&(this.styles.animationDuration.some(function(me){return me>0})&&(pe.style.animationDuration="0s"),this.styles.transform!==null&&(pe.style.transform="none")),this.bounds=Re(this.context,pe),Pi(pe,4)&&(this.flags|=16)}return de}(),Ps="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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IAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",oA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ds=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Wo=0;Wo>4,jn[_e++]=(yt&15)<<4|zt>>2,jn[_e++]=(zt&3)<<6|Kt&63;return On},TA=function(de){for(var se=de.length,pe=[],me=0;me>nl,Ns=1<>nl,xs=Ol+qs,du=xs,Qu=32,Ku=du+Qu,gu=65536>>rl,vd=1<<_u,Zd=vd-1,ci=function(de,se,pe){return de.slice?de.slice(se,pe):new Uint16Array(Array.prototype.slice.call(de,se,pe))},ss=function(de,se,pe){return de.slice?de.slice(se,pe):new Uint32Array(Array.prototype.slice.call(de,se,pe))},CA=function(de,se){var pe=WA(de),me=Array.isArray(pe)?cl(pe):new Uint32Array(pe),_e=Array.isArray(pe)?TA(pe):new Uint16Array(pe),at=24,yt=ci(_e,at/2,me[4]/2),zt=me[5]===2?ci(_e,(at+me[4])/2):ss(me,Math.ceil((at+me[4])/4));return new Es(me[0],me[1],me[2],me[3],yt,zt)},Es=function(){function de(se,pe,me,_e,at,yt){this.initialValue=se,this.errorValue=pe,this.highStart=me,this.highValueIndex=_e,this.index=at,this.data=yt}return de.prototype.get=function(se){var pe;if(se>=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>nl],pe=(pe<>nl)],pe=(pe<>rl),pe=this.index[pe],pe+=se>>nl&Zd,pe=this.index[pe],pe=(pe<=55296&&_e<=56319&&pe>10)+55296,yt%1024+56320)),(_e+1===pe||me.length>16384)&&(at+=String.fromCharCode.apply(String,me),me.length=0)}return at},Dg=CA(Ps),Oi="\xD7",qd="\xF7",Ef=function(de){return Dg.get(de)},a0=function(de,se,pe){var me=pe-2,_e=se[me],at=se[pe-1],yt=se[pe];if(at===Bd&&yt===wd)return Oi;if(at===Bd||at===wd||at===Vd||yt===Bd||yt===wd||yt===Vd)return qd;if(at===Xc&&[Xc,hu,Ig,Yd].indexOf(yt)!==-1||(at===Ig||at===hu)&&(yt===hu||yt===bc)||(at===Yd||at===bc)&&yt===bc||yt===Ng||yt===Fg||yt===Lg||at===fu)return Oi;if(at===Ng&&yt===Xd){for(;_e===Fg;)_e=se[--me];if(_e===Xd)return Oi}if(at===Pc&&yt===Pc){for(var zt=0;_e===Pc;)zt++,_e=se[--me];if(zt%2===0)return Oi}return qd},Cf=function(de){var se=Jd(de),pe=se.length,me=0,_e=0,at=se.map(Ef);return{next:function(){if(me>=pe)return{done:!0,value:null};for(var yt=Oi;meyt.x||jn.y>yt.y;return yt=jn,On===0?!0:Vn});return de.body.removeChild(se),zt},bf=function(){return typeof new Image().crossOrigin!="undefined"},oc=function(){return typeof new XMLHttpRequest().responseType=="string"},Og=function(de){var se=new Image,pe=de.createElement("canvas"),me=pe.getContext("2d");if(!me)return!1;se.src="data:image/svg+xml,";try{me.drawImage(se,0,0),pe.toDataURL()}catch(_e){return!1}return!0},eg=function(de){return de[0]===0&&de[1]===255&&de[2]===0&&de[3]===255},Pf=function(de){var se=de.createElement("canvas"),pe=100;se.width=pe,se.height=pe;var me=se.getContext("2d");if(!me)return Promise.reject(!1);me.fillStyle="rgb(0, 255, 0)",me.fillRect(0,0,pe,pe);var _e=new Image,at=se.toDataURL();_e.src=at;var yt=yd(pe,pe,0,0,_e);return me.fillStyle="red",me.fillRect(0,0,pe,pe),tg(yt).then(function(zt){me.drawImage(zt,0,0);var Kt=me.getImageData(0,0,pe,pe).data;me.fillStyle="red",me.fillRect(0,0,pe,pe);var On=de.createElement("div");return On.style.backgroundImage="url("+at+")",On.style.height=pe+"px",eg(Kt)?tg(yd(pe,pe,0,0,On)):Promise.reject(!1)}).then(function(zt){return me.drawImage(zt,0,0),eg(me.getImageData(0,0,pe,pe).data)}).catch(function(){return!1})},yd=function(de,se,pe,me,_e){var at="http://www.w3.org/2000/svg",yt=document.createElementNS(at,"svg"),zt=document.createElementNS(at,"foreignObject");return yt.setAttributeNS(null,"width",de.toString()),yt.setAttributeNS(null,"height",se.toString()),zt.setAttributeNS(null,"width","100%"),zt.setAttributeNS(null,"height","100%"),zt.setAttributeNS(null,"x",pe.toString()),zt.setAttributeNS(null,"y",me.toString()),zt.setAttributeNS(null,"externalResourcesRequired","true"),yt.appendChild(zt),zt.appendChild(_e),yt},tg=function(de){return new Promise(function(se,pe){var me=new Image;me.onload=function(){return se(me)},me.onerror=pe,me.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(de))})},PA={get SUPPORT_RANGE_BOUNDS(){var de=Qg(document);return Object.defineProperty(PA,"SUPPORT_RANGE_BOUNDS",{value:de}),de},get SUPPORT_WORD_BREAKING(){var de=PA.SUPPORT_RANGE_BOUNDS&&$d(document);return Object.defineProperty(PA,"SUPPORT_WORD_BREAKING",{value:de}),de},get SUPPORT_SVG_DRAWING(){var de=Og(document);return Object.defineProperty(PA,"SUPPORT_SVG_DRAWING",{value:de}),de},get SUPPORT_FOREIGNOBJECT_DRAWING(){var de=typeof Array.from=="function"&&typeof window.fetch=="function"?Pf(document):Promise.resolve(!1);return Object.defineProperty(PA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:de}),de},get SUPPORT_CORS_IMAGES(){var de=bf();return Object.defineProperty(PA,"SUPPORT_CORS_IMAGES",{value:de}),de},get SUPPORT_RESPONSE_TYPE(){var de=oc();return Object.defineProperty(PA,"SUPPORT_RESPONSE_TYPE",{value:de}),de},get SUPPORT_CORS_XHR(){var de="withCredentials"in new XMLHttpRequest;return Object.defineProperty(PA,"SUPPORT_CORS_XHR",{value:de}),de},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var de=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(PA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:de}),de}},zu=function(){function de(se,pe){this.text=se,this.bounds=pe}return de}(),ng=function(de,se,pe,me){var _e=ic(se,pe),at=[],yt=0;return _e.forEach(function(zt){if(pe.textDecorationLine.length||zt.trim().length>0)if(PA.SUPPORT_RANGE_BOUNDS){var Kt=Ii(me,yt,zt.length).getClientRects();if(Kt.length>1){var On=gs(zt),jn=0;On.forEach(function(Pr){at.push(new zu(Pr,ze.fromDOMRectList(de,Ii(me,jn+yt,Pr.length).getClientRects()))),jn+=Pr.length})}else at.push(new zu(zt,ze.fromDOMRectList(de,Kt)))}else{var Vn=me.splitText(zt.length);at.push(new zu(zt,o0(de,me))),me=Vn}else PA.SUPPORT_RANGE_BOUNDS||(me=me.splitText(zt.length));yt+=zt.length}),at},o0=function(de,se){var pe=se.ownerDocument;if(pe){var me=pe.createElement("html2canvaswrapper");me.appendChild(se.cloneNode(!0));var _e=se.parentNode;if(_e){_e.replaceChild(me,se);var at=Re(de,me);return me.firstChild&&_e.replaceChild(me.firstChild,me),at}}return ze.EMPTY},Ii=function(de,se,pe){var me=de.ownerDocument;if(!me)throw new Error("Node has no owner document");var _e=me.createRange();return _e.setStart(de,se),_e.setEnd(de,se+pe),_e},gs=function(de){if(PA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var se=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(se.segment(de)).map(function(pe){return pe.segment})}return Ug(de)},$l=function(de,se){if(PA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var pe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(pe.segment(de)).map(function(me){return me.segment})}return xf(de,se)},ic=function(de,se){return se.letterSpacing!==0?gs(de):$l(de,se)},sc=[32,160,4961,65792,65793,4153,4241],xf=function(de,se){for(var pe=pa(de,{lineBreak:se.lineBreak,wordBreak:se.overflowWrap==="break-word"?"break-word":se.wordBreak}),me=[],_e,at=function(){if(_e.value){var yt=_e.value.slice(),zt=we(yt),Kt="";zt.forEach(function(On){sc.indexOf(On)===-1?Kt+=De(On):(Kt.length&&me.push(Kt),me.push(De(On)),Kt="")}),Kt.length&&me.push(Kt)}};!(_e=pe.next()).done;)at();return me},kg=function(){function de(se,pe,me){this.text=Mg(pe.data,me.textTransform),this.textBounds=ng(se,this.text,me,pe)}return de}(),Mg=function(de,se){switch(se){case 1:return de.toLowerCase();case 3:return de.replace(Tg,Rg);case 2:return de.toUpperCase();default:return de}},Tg=/(^|\s|:|-|\(|\))([a-z])/g,Rg=function(de,se,pe){return de.length>0?se+pe.toUpperCase():de},eh=function(de){ve(se,de);function se(pe,me){var _e=de.call(this,pe,me)||this;return _e.src=me.currentSrc||me.src,_e.intrinsicWidth=me.naturalWidth,_e.intrinsicHeight=me.naturalHeight,_e.context.cache.addImage(_e.src),_e}return se}(ai),th=function(de){ve(se,de);function se(pe,me){var _e=de.call(this,pe,me)||this;return _e.canvas=me,_e.intrinsicWidth=me.width,_e.intrinsicHeight=me.height,_e}return se}(ai),nh=function(de){ve(se,de);function se(pe,me){var _e=de.call(this,pe,me)||this,at=new XMLSerializer,yt=Re(pe,me);return me.setAttribute("width",yt.width+"px"),me.setAttribute("height",yt.height+"px"),_e.svg="data:image/svg+xml,"+encodeURIComponent(at.serializeToString(me)),_e.intrinsicWidth=me.width.baseVal.value,_e.intrinsicHeight=me.height.baseVal.value,_e.context.cache.addImage(_e.svg),_e}return se}(ai),rh=function(de){ve(se,de);function se(pe,me){var _e=de.call(this,pe,me)||this;return _e.value=me.value,_e}return se}(ai),i0=function(de){ve(se,de);function se(pe,me){var _e=de.call(this,pe,me)||this;return _e.start=me.start,_e.reversed=typeof me.reversed=="boolean"&&me.reversed===!0,_e}return se}(ai),xc=[{type:15,flags:0,unit:"px",number:3}],wm=[{type:16,flags:0,number:50}],ym=function(de){return de.width>de.height?new ze(de.left+(de.width-de.height)/2,de.top,de.height,de.height):de.width0)pe.textNodes.push(new kg(de,_e,pe.styles));else if(ag(_e))if(hh(_e)&&_e.assignedNodes)_e.assignedNodes().forEach(function(zt){return rg(de,zt,pe,me)});else{var yt=sh(de,_e);yt.styles.isVisible()&&(Sm(_e,yt,me)?yt.flags|=4:Em(yt.styles)&&(yt.flags|=2),_g.indexOf(_e.tagName)!==-1&&(yt.flags|=8),pe.elements.push(yt),_e.slot,_e.shadowRoot?rg(de,_e.shadowRoot,yt,me):!Kg(_e)&&!uh(_e)&&!Df(_e)&&rg(de,_e,yt,me))}},sh=function(de,se){return u0(se)?new eh(de,se):ch(se)?new th(de,se):uh(se)?new nh(de,se):Cm(se)?new rh(de,se):bm(se)?new i0(de,se):Pm(se)?new Hg(de,se):Df(se)?new oh(de,se):Kg(se)?new s0(de,se):gh(se)?new ih(de,se):new ai(de,se)},Ah=function(de,se){var pe=sh(de,se);return pe.flags|=4,rg(de,se,pe,pe),pe},Sm=function(de,se,pe){return se.styles.isPositionedWithZIndex()||se.styles.opacity<1||se.styles.isTransformed()||l0(de)&&pe.styles.isTransparent()},Em=function(de){return de.isPositioned()||de.isFloating()},lh=function(de){return de.nodeType===Node.TEXT_NODE},ag=function(de){return de.nodeType===Node.ELEMENT_NODE},A0=function(de){return ag(de)&&typeof de.style!="undefined"&&!Nf(de)},Nf=function(de){return typeof de.className=="object"},Cm=function(de){return de.tagName==="LI"},bm=function(de){return de.tagName==="OL"},Pm=function(de){return de.tagName==="INPUT"},xm=function(de){return de.tagName==="HTML"},uh=function(de){return de.tagName==="svg"},l0=function(de){return de.tagName==="BODY"},ch=function(de){return de.tagName==="CANVAS"},dh=function(de){return de.tagName==="VIDEO"},u0=function(de){return de.tagName==="IMG"},gh=function(de){return de.tagName==="IFRAME"},fh=function(de){return de.tagName==="STYLE"},c0=function(de){return de.tagName==="SCRIPT"},Kg=function(de){return de.tagName==="TEXTAREA"},Df=function(de){return de.tagName==="SELECT"},hh=function(de){return de.tagName==="SLOT"},mh=function(de){return de.tagName.indexOf("-")>0},bp=function(){function de(){this.counters={}}return de.prototype.getCounterValue=function(se){var pe=this.counters[se];return pe&&pe.length?pe[pe.length-1]:1},de.prototype.getCounterValues=function(se){var pe=this.counters[se];return pe||[]},de.prototype.pop=function(se){var pe=this;se.forEach(function(me){return pe.counters[me].pop()})},de.prototype.parse=function(se){var pe=this,me=se.counterIncrement,_e=se.counterReset,at=!0;me!==null&&me.forEach(function(zt){var Kt=pe.counters[zt.counter];Kt&&zt.increment!==0&&(at=!1,Kt.length||Kt.push(1),Kt[Math.max(0,Kt.length-1)]+=zt.increment)});var yt=[];return at&&_e.forEach(function(zt){var Kt=pe.counters[zt.counter];yt.push(zt.counter),Kt||(Kt=pe.counters[zt.counter]=[]),Kt.push(zt.reset)}),yt},de}(),d0={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"]},g0={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"]},Fm={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"]},ph={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"]},Sd=function(de,se,pe,me,_e,at){return depe?Gg(de,_e,at.length>0):me.integers.reduce(function(yt,zt,Kt){for(;de>=zt;)de-=zt,yt+=me.values[Kt];return yt},"")+at},Lm=function(de,se,pe,me){var _e="";do pe||de--,_e=me(de)+_e,de/=se;while(de*se>=se);return _e},pA=function(de,se,pe,me,_e){var at=pe-se+1;return(de<0?"-":"")+(Lm(Math.abs(de),at,me,function(yt){return De(Math.floor(yt%at)+se)})+_e)},Jc=function(de,se,pe){pe===void 0&&(pe=". ");var me=se.length;return Lm(Math.abs(de),me,!1,function(_e){return se[Math.floor(_e%me)]})+pe},Ed=1,Fc=2,Lc=4,zg=8,Ic=function(de,se,pe,me,_e,at){if(de<-9999||de>9999)return Gg(de,4,_e.length>0);var yt=Math.abs(de),zt=_e;if(yt===0)return se[0]+zt;for(var Kt=0;yt>0&&Kt<=4;Kt++){var On=yt%10;On===0&&Sa(at,Ed)&&zt!==""?zt=se[On]+zt:On>1||On===1&&Kt===0||On===1&&Kt===1&&Sa(at,Fc)||On===1&&Kt===1&&Sa(at,Lc)&&de>100||On===1&&Kt>1&&Sa(at,zg)?zt=se[On]+(Kt>0?pe[Kt-1]:"")+zt:On===1&&Kt>0&&(zt=pe[Kt-1]+zt),yt=Math.floor(yt/10)}return(de<0?me:"")+zt},vh="\u5341\u767E\u5343\u842C",Im="\u62FE\u4F70\u4EDF\u842C",Bh="\u30DE\u30A4\u30CA\u30B9",f0="\uB9C8\uC774\uB108\uC2A4",Gg=function(de,se,pe){var me=pe?". ":"",_e=pe?"\u3001":"",at=pe?", ":"",yt=pe?" ":"";switch(se){case 0:return"\u2022"+yt;case 1:return"\u25E6"+yt;case 2:return"\u25FE"+yt;case 5:var zt=pA(de,48,57,!0,me);return zt.length<4?"0"+zt:zt;case 4:return Jc(de,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",_e);case 6:return Sd(de,1,3999,d0,3,me).toLowerCase();case 7:return Sd(de,1,3999,d0,3,me);case 8:return pA(de,945,969,!1,me);case 9:return pA(de,97,122,!1,me);case 10:return pA(de,65,90,!1,me);case 11:return pA(de,1632,1641,!0,me);case 12:case 49:return Sd(de,1,9999,g0,3,me);case 35:return Sd(de,1,9999,g0,3,me).toLowerCase();case 13:return pA(de,2534,2543,!0,me);case 14:case 30:return pA(de,6112,6121,!0,me);case 15:return Jc(de,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",_e);case 16:return Jc(de,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",_e);case 17:case 48:return Ic(de,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vh,"\u8CA0",_e,Fc|Lc|zg);case 47:return Ic(de,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Im,"\u8CA0",_e,Ed|Fc|Lc|zg);case 42:return Ic(de,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",vh,"\u8D1F",_e,Fc|Lc|zg);case 41:return Ic(de,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Im,"\u8D1F",_e,Ed|Fc|Lc|zg);case 26:return Ic(de,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Bh,_e,0);case 25:return Ic(de,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Bh,_e,Ed|Fc|Lc);case 31:return Ic(de,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",f0,at,Ed|Fc|Lc);case 33:return Ic(de,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",f0,at,0);case 32:return Ic(de,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",f0,at,Ed|Fc|Lc);case 18:return pA(de,2406,2415,!0,me);case 20:return Sd(de,1,19999,ph,3,me);case 21:return pA(de,2790,2799,!0,me);case 22:return pA(de,2662,2671,!0,me);case 22:return Sd(de,1,10999,Fm,3,me);case 23:return Jc(de,"\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 Jc(de,"\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 pA(de,3302,3311,!0,me);case 28:return Jc(de,"\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",_e);case 29:return Jc(de,"\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",_e);case 34:return pA(de,3792,3801,!0,me);case 37:return pA(de,6160,6169,!0,me);case 38:return pA(de,4160,4169,!0,me);case 39:return pA(de,2918,2927,!0,me);case 40:return pA(de,1776,1785,!0,me);case 43:return pA(de,3046,3055,!0,me);case 44:return pA(de,3174,3183,!0,me);case 45:return pA(de,3664,3673,!0,me);case 46:return pA(de,3872,3881,!0,me);case 3:default:return pA(de,48,57,!0,me)}},wh="data-html2canvas-ignore",Nm=function(){function de(se,pe,me){if(this.context=se,this.options=me,this.scrolledElements=[],this.referenceElement=pe,this.counters=new bp,this.quoteDepth=0,!pe.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(pe.ownerDocument.documentElement,!1)}return de.prototype.toIFrame=function(se,pe){var me=this,_e=Dm(se,pe);if(!_e.contentWindow)return Promise.reject("Unable to find iframe window");var at=se.defaultView.pageXOffset,yt=se.defaultView.pageYOffset,zt=_e.contentWindow,Kt=zt.document,On=Zg(_e).then(function(){return Ce(me,void 0,void 0,function(){var jn,Vn;return je(this,function(Pr){switch(Pr.label){case 0:return this.scrolledElements.forEach(Eh),zt&&(zt.scrollTo(pe.left,pe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(zt.scrollY!==pe.top||zt.scrollX!==pe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(zt.scrollX-pe.left,zt.scrollY-pe.top,0,0))),jn=this.options.onclone,Vn=this.clonedReferenceElement,typeof Vn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Kt.fonts&&Kt.fonts.ready?[4,Kt.fonts.ready]:[3,2];case 1:Pr.sent(),Pr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Um(Kt)]:[3,4];case 3:Pr.sent(),Pr.label=4;case 4:return typeof jn=="function"?[2,Promise.resolve().then(function(){return jn(Kt,Vn)}).then(function(){return _e})]:[2,_e]}})})});return Kt.open(),Kt.write(Qm(document.doctype)+""),Sh(this.referenceElement.ownerDocument,at,yt),Kt.replaceChild(Kt.adoptNode(this.documentElement),Kt.documentElement),Kt.close(),On},de.prototype.createElementClone=function(se){if(Pi(se,2))debugger;if(ch(se))return this.createCanvasClone(se);if(dh(se))return this.createVideoClone(se);if(fh(se))return this.createStyleClone(se);var pe=se.cloneNode(!1);return u0(pe)&&(u0(se)&&se.currentSrc&&se.currentSrc!==se.src&&(pe.src=se.currentSrc,pe.srcset=""),pe.loading==="lazy"&&(pe.loading="eager")),mh(pe)?this.createCustomElementClone(pe):pe},de.prototype.createCustomElementClone=function(se){var pe=document.createElement("html2canvascustomelement");return Uf(se.style,pe),pe},de.prototype.createStyleClone=function(se){try{var pe=se.sheet;if(pe&&pe.cssRules){var me=[].slice.call(pe.cssRules,0).reduce(function(at,yt){return yt&&typeof yt.cssText=="string"?at+yt.cssText:at},""),_e=se.cloneNode(!1);return _e.textContent=me,_e}}catch(at){if(this.context.logger.error("Unable to access cssRules property",at),at.name!=="SecurityError")throw at}return se.cloneNode(!1)},de.prototype.createCanvasClone=function(se){var pe;if(this.options.inlineImages&&se.ownerDocument){var me=se.ownerDocument.createElement("img");try{return me.src=se.toDataURL(),me}catch(On){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",se)}}var _e=se.cloneNode(!1);try{_e.width=se.width,_e.height=se.height;var at=se.getContext("2d"),yt=_e.getContext("2d");if(yt)if(!this.options.allowTaint&&at)yt.putImageData(at.getImageData(0,0,se.width,se.height),0,0);else{var zt=(pe=se.getContext("webgl2"))!==null&&pe!==void 0?pe:se.getContext("webgl");if(zt){var Kt=zt.getContextAttributes();(Kt==null?void 0:Kt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",se)}yt.drawImage(se,0,0)}return _e}catch(On){this.context.logger.info("Unable to clone canvas as it is tainted",se)}return _e},de.prototype.createVideoClone=function(se){var pe=se.ownerDocument.createElement("canvas");pe.width=se.offsetWidth,pe.height=se.offsetHeight;var me=pe.getContext("2d");try{return me&&(me.drawImage(se,0,0,pe.width,pe.height),this.options.allowTaint||me.getImageData(0,0,pe.width,pe.height)),pe}catch(at){this.context.logger.info("Unable to clone video as it is tainted",se)}var _e=se.ownerDocument.createElement("canvas");return _e.width=se.offsetWidth,_e.height=se.offsetHeight,_e},de.prototype.appendChildNode=function(se,pe,me){(!ag(pe)||!c0(pe)&&!pe.hasAttribute(wh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(pe)))&&(!this.options.copyStyles||!ag(pe)||!fh(pe))&&se.appendChild(this.cloneNode(pe,me))},de.prototype.cloneChildNodes=function(se,pe,me){for(var _e=this,at=se.shadowRoot?se.shadowRoot.firstChild:se.firstChild;at;at=at.nextSibling)if(ag(at)&&hh(at)&&typeof at.assignedNodes=="function"){var yt=at.assignedNodes();yt.length&&yt.forEach(function(zt){return _e.appendChildNode(pe,zt,me)})}else this.appendChildNode(pe,at,me)},de.prototype.cloneNode=function(se,pe){if(lh(se))return document.createTextNode(se.data);if(!se.ownerDocument)return se.cloneNode(!1);var me=se.ownerDocument.defaultView;if(me&&ag(se)&&(A0(se)||Nf(se))){var _e=this.createElementClone(se);_e.style.transitionProperty="none";var at=me.getComputedStyle(se),yt=me.getComputedStyle(se,":before"),zt=me.getComputedStyle(se,":after");this.referenceElement===se&&A0(_e)&&(this.clonedReferenceElement=_e),l0(_e)&&xp(_e);var Kt=this.counters.parse(new bl(this.context,at)),On=this.resolvePseudoContent(se,_e,yt,Wg.BEFORE);mh(se)&&(pe=!0),dh(se)||this.cloneChildNodes(se,_e,pe),On&&_e.insertBefore(On,_e.firstChild);var jn=this.resolvePseudoContent(se,_e,zt,Wg.AFTER);return jn&&_e.appendChild(jn),this.counters.pop(Kt),(at&&(this.options.copyStyles||Nf(se))&&!gh(se)||pe)&&Uf(at,_e),(se.scrollTop!==0||se.scrollLeft!==0)&&this.scrolledElements.push([_e,se.scrollLeft,se.scrollTop]),(Kg(se)||Df(se))&&(Kg(_e)||Df(_e))&&(_e.value=se.value),_e}return se.cloneNode(!1)},de.prototype.resolvePseudoContent=function(se,pe,me,_e){var at=this;if(me){var yt=me.content,zt=pe.ownerDocument;if(!(!zt||!yt||yt==="none"||yt==="-moz-alt-content"||me.display==="none")){this.counters.parse(new bl(this.context,me));var Kt=new Zs(this.context,me),On=zt.createElement("html2canvaspseudoelement");Uf(me,On),Kt.content.forEach(function(Vn){if(Vn.type===0)On.appendChild(zt.createTextNode(Vn.value));else if(Vn.type===22){var Pr=zt.createElement("img");Pr.src=Vn.value,Pr.style.opacity="1",On.appendChild(Pr)}else if(Vn.type===18){if(Vn.name==="attr"){var Ka=Vn.values.filter(Qr);Ka.length&&On.appendChild(zt.createTextNode(se.getAttribute(Ka[0].value)||""))}else if(Vn.name==="counter"){var na=Vn.values.filter(Yi),Ea=na[0],ti=na[1];if(Ea&&Qr(Ea)){var to=at.counters.getCounterValue(Ea.value),Xa=ti&&Qr(ti)?Gn.parse(at.context,ti.value):3;On.appendChild(zt.createTextNode(Gg(to,Xa,!1)))}}else if(Vn.name==="counters"){var jo=Vn.values.filter(Yi),Ea=jo[0],gi=jo[1],ti=jo[2];if(Ea&&Qr(Ea)){var No=at.counters.getCounterValues(Ea.value),Da=ti&&Qr(ti)?Gn.parse(at.context,ti.value):3,ki=gi&&gi.type===0?gi.value:"",wi=No.map(function(tu){return Gg(tu,Da,!1)}).join(ki);On.appendChild(zt.createTextNode(wi))}}}else if(Vn.type===20)switch(Vn.value){case"open-quote":On.appendChild(zt.createTextNode(wo(Kt.quotes,at.quoteDepth++,!0)));break;case"close-quote":On.appendChild(zt.createTextNode(wo(Kt.quotes,--at.quoteDepth,!1)));break;default:On.appendChild(zt.createTextNode(Vn.value))}}),On.className=h0+" "+Qf;var jn=_e===Wg.BEFORE?" "+h0:" "+Qf;return Nf(pe)?pe.className.baseValue+=jn:pe.className+=jn,On}}},de.destroy=function(se){return se.parentNode?(se.parentNode.removeChild(se),!0):!1},de}(),Wg;(function(de){de[de.BEFORE=0]="BEFORE",de[de.AFTER=1]="AFTER"})(Wg||(Wg={}));var Dm=function(de,se){var pe=de.createElement("iframe");return pe.className="html2canvas-container",pe.style.visibility="hidden",pe.style.position="fixed",pe.style.left="-10000px",pe.style.top="0px",pe.style.border="0",pe.width=se.width.toString(),pe.height=se.height.toString(),pe.scrolling="no",pe.setAttribute(wh,"true"),de.body.appendChild(pe),pe},yh=function(de){return new Promise(function(se){if(de.complete){se();return}if(!de.src){se();return}de.onload=se,de.onerror=se})},Um=function(de){return Promise.all([].slice.call(de.images,0).map(yh))},Zg=function(de){return new Promise(function(se,pe){var me=de.contentWindow;if(!me)return pe("No window assigned for iframe");var _e=me.document;me.onload=de.onload=function(){me.onload=de.onload=null;var at=setInterval(function(){_e.body.childNodes.length>0&&_e.readyState==="complete"&&(clearInterval(at),se(de))},50)}})},Pp=["all","d","content"],Uf=function(de,se){for(var pe=de.length-1;pe>=0;pe--){var me=de.item(pe);Pp.indexOf(me)===-1&&se.style.setProperty(me,de.getPropertyValue(me))}return se},Qm=function(de){var se="";return de&&(se+=""),se},Sh=function(de,se,pe){de&&de.defaultView&&(se!==de.defaultView.pageXOffset||pe!==de.defaultView.pageYOffset)&&de.defaultView.scrollTo(se,pe)},Eh=function(de){var se=de[0],pe=de[1],me=de[2];se.scrollLeft=pe,se.scrollTop=me},Ch=":before",bh=":after",h0="___html2canvas___pseudoelement_before",Qf="___html2canvas___pseudoelement_after",Ph=`{ content: "" !important; display: none !important; }`,xp=function(de){xh(de,"."+h0+Ch+Ph+` .`+Qf+bh+Ph)},xh=function(de,se){var pe=de.ownerDocument;if(pe){var me=pe.createElement("style");me.textContent=se,de.appendChild(me)}},Fh=function(){function de(){}return de.getOrigin=function(se){var pe=de._link;return pe?(pe.href=se,pe.href=pe.href,pe.protocol+pe.hostname+pe.port):"about:blank"},de.isSameOrigin=function(se){return de.getOrigin(se)===de._origin},de.setContext=function(se){de._link=se.document.createElement("a"),de._origin=de.getOrigin(se.location.href)},de._origin="about:blank",de}(),mu=function(){function de(se,pe){this.context=se,this._options=pe,this._cache={}}return de.prototype.addImage=function(se){var pe=Promise.resolve();return this.has(se)||(v0(se)||Of(se))&&(this._cache[se]=this.loadImage(se)).catch(function(){}),pe},de.prototype.match=function(se){return this._cache[se]},de.prototype.loadImage=function(se){return Ce(this,void 0,void 0,function(){var pe,me,_e,at,yt=this;return je(this,function(zt){switch(zt.label){case 0:return pe=Fh.isSameOrigin(se),me=!Vg(se)&&this._options.useCORS===!0&&PA.SUPPORT_CORS_IMAGES&&!pe,_e=!Vg(se)&&!pe&&!v0(se)&&typeof this._options.proxy=="string"&&PA.SUPPORT_CORS_XHR&&!me,!pe&&this._options.allowTaint===!1&&!Vg(se)&&!v0(se)&&!_e&&!me?[2]:(at=se,_e?[4,this.proxy(at)]:[3,2]);case 1:at=zt.sent(),zt.label=2;case 2:return this.context.logger.debug("Added image "+se.substring(0,256)),[4,new Promise(function(Kt,On){var jn=new Image;jn.onload=function(){return Kt(jn)},jn.onerror=On,(Om(at)||me)&&(jn.crossOrigin="anonymous"),jn.src=at,jn.complete===!0&&setTimeout(function(){return Kt(jn)},500),yt._options.imageTimeout>0&&setTimeout(function(){return On("Timed out ("+yt._options.imageTimeout+"ms) loading image")},yt._options.imageTimeout)})];case 3:return[2,zt.sent()]}})})},de.prototype.has=function(se){return typeof this._cache[se]!="undefined"},de.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},de.prototype.proxy=function(se){var pe=this,me=this._options.proxy;if(!me)throw new Error("No proxy defined");var _e=se.substring(0,256);return new Promise(function(at,yt){var zt=PA.SUPPORT_RESPONSE_TYPE?"blob":"text",Kt=new XMLHttpRequest;Kt.onload=function(){if(Kt.status===200)if(zt==="text")at(Kt.response);else{var Vn=new FileReader;Vn.addEventListener("load",function(){return at(Vn.result)},!1),Vn.addEventListener("error",function(Pr){return yt(Pr)},!1),Vn.readAsDataURL(Kt.response)}else yt("Failed to proxy resource "+_e+" with status code "+Kt.status)},Kt.onerror=yt;var On=me.indexOf("?")>-1?"&":"?";if(Kt.open("GET",""+me+On+"url="+encodeURIComponent(se)+"&responseType="+zt),zt!=="text"&&Kt instanceof XMLHttpRequest&&(Kt.responseType=zt),pe._options.imageTimeout){var jn=pe._options.imageTimeout;Kt.timeout=jn,Kt.ontimeout=function(){return yt("Timed out ("+jn+"ms) proxying "+_e)}}Kt.send()})},de}(),m0=/^data:image\/svg\+xml/i,Lh=/^data:image\/.*;base64,/i,p0=/^data:image\/.*/i,Of=function(de){return PA.SUPPORT_SVG_DRAWING||!km(de)},Vg=function(de){return p0.test(de)},Om=function(de){return Lh.test(de)},v0=function(de){return de.substr(0,4)==="blob"},km=function(de){return de.substr(-3).toLowerCase()==="svg"||m0.test(de)},_a=function(){function de(se,pe){this.type=0,this.x=se,this.y=pe}return de.prototype.add=function(se,pe){return new de(this.x+se,this.y+pe)},de}(),Cd=function(de,se,pe){return new _a(de.x+(se.x-de.x)*pe,de.y+(se.y-de.y)*pe)},kf=function(){function de(se,pe,me,_e){this.type=1,this.start=se,this.startControl=pe,this.endControl=me,this.end=_e}return de.prototype.subdivide=function(se,pe){var me=Cd(this.start,this.startControl,se),_e=Cd(this.startControl,this.endControl,se),at=Cd(this.endControl,this.end,se),yt=Cd(me,_e,se),zt=Cd(_e,at,se),Kt=Cd(yt,zt,se);return pe?new de(this.start,me,yt,Kt):new de(Kt,zt,at,this.end)},de.prototype.add=function(se,pe){return new de(this.start.add(se,pe),this.startControl.add(se,pe),this.endControl.add(se,pe),this.end.add(se,pe))},de.prototype.reverse=function(){return new de(this.end,this.endControl,this.startControl,this.start)},de}(),Ou=function(de){return de.type===1},Mm=function(){function de(se){var pe=se.styles,me=se.bounds,_e=cs(pe.borderTopLeftRadius,me.width,me.height),at=_e[0],yt=_e[1],zt=cs(pe.borderTopRightRadius,me.width,me.height),Kt=zt[0],On=zt[1],jn=cs(pe.borderBottomRightRadius,me.width,me.height),Vn=jn[0],Pr=jn[1],Ka=cs(pe.borderBottomLeftRadius,me.width,me.height),na=Ka[0],Ea=Ka[1],ti=[];ti.push((at+Kt)/me.width),ti.push((na+Vn)/me.width),ti.push((yt+Ea)/me.height),ti.push((On+Pr)/me.height);var to=Math.max.apply(Math,ti);to>1&&(at/=to,yt/=to,Kt/=to,On/=to,Vn/=to,Pr/=to,na/=to,Ea/=to);var Xa=me.width-Kt,jo=me.height-Pr,gi=me.width-Vn,No=me.height-Ea,Da=pe.borderTopWidth,ki=pe.borderRightWidth,wi=pe.borderBottomWidth,Ho=pe.borderLeftWidth,wa=Fo(pe.paddingTop,se.bounds.width),tu=Fo(pe.paddingRight,se.bounds.width),vu=Fo(pe.paddingBottom,se.bounds.width),Fs=Fo(pe.paddingLeft,se.bounds.width);this.topLeftBorderDoubleOuterBox=at>0||yt>0?$s(me.left+Ho/3,me.top+Da/3,at-Ho/3,yt-Da/3,Cs.TOP_LEFT):new _a(me.left+Ho/3,me.top+Da/3),this.topRightBorderDoubleOuterBox=at>0||yt>0?$s(me.left+Xa,me.top+Da/3,Kt-ki/3,On-Da/3,Cs.TOP_RIGHT):new _a(me.left+me.width-ki/3,me.top+Da/3),this.bottomRightBorderDoubleOuterBox=Vn>0||Pr>0?$s(me.left+gi,me.top+jo,Vn-ki/3,Pr-wi/3,Cs.BOTTOM_RIGHT):new _a(me.left+me.width-ki/3,me.top+me.height-wi/3),this.bottomLeftBorderDoubleOuterBox=na>0||Ea>0?$s(me.left+Ho/3,me.top+No,na-Ho/3,Ea-wi/3,Cs.BOTTOM_LEFT):new _a(me.left+Ho/3,me.top+me.height-wi/3),this.topLeftBorderDoubleInnerBox=at>0||yt>0?$s(me.left+Ho*2/3,me.top+Da*2/3,at-Ho*2/3,yt-Da*2/3,Cs.TOP_LEFT):new _a(me.left+Ho*2/3,me.top+Da*2/3),this.topRightBorderDoubleInnerBox=at>0||yt>0?$s(me.left+Xa,me.top+Da*2/3,Kt-ki*2/3,On-Da*2/3,Cs.TOP_RIGHT):new _a(me.left+me.width-ki*2/3,me.top+Da*2/3),this.bottomRightBorderDoubleInnerBox=Vn>0||Pr>0?$s(me.left+gi,me.top+jo,Vn-ki*2/3,Pr-wi*2/3,Cs.BOTTOM_RIGHT):new _a(me.left+me.width-ki*2/3,me.top+me.height-wi*2/3),this.bottomLeftBorderDoubleInnerBox=na>0||Ea>0?$s(me.left+Ho*2/3,me.top+No,na-Ho*2/3,Ea-wi*2/3,Cs.BOTTOM_LEFT):new _a(me.left+Ho*2/3,me.top+me.height-wi*2/3),this.topLeftBorderStroke=at>0||yt>0?$s(me.left+Ho/2,me.top+Da/2,at-Ho/2,yt-Da/2,Cs.TOP_LEFT):new _a(me.left+Ho/2,me.top+Da/2),this.topRightBorderStroke=at>0||yt>0?$s(me.left+Xa,me.top+Da/2,Kt-ki/2,On-Da/2,Cs.TOP_RIGHT):new _a(me.left+me.width-ki/2,me.top+Da/2),this.bottomRightBorderStroke=Vn>0||Pr>0?$s(me.left+gi,me.top+jo,Vn-ki/2,Pr-wi/2,Cs.BOTTOM_RIGHT):new _a(me.left+me.width-ki/2,me.top+me.height-wi/2),this.bottomLeftBorderStroke=na>0||Ea>0?$s(me.left+Ho/2,me.top+No,na-Ho/2,Ea-wi/2,Cs.BOTTOM_LEFT):new _a(me.left+Ho/2,me.top+me.height-wi/2),this.topLeftBorderBox=at>0||yt>0?$s(me.left,me.top,at,yt,Cs.TOP_LEFT):new _a(me.left,me.top),this.topRightBorderBox=Kt>0||On>0?$s(me.left+Xa,me.top,Kt,On,Cs.TOP_RIGHT):new _a(me.left+me.width,me.top),this.bottomRightBorderBox=Vn>0||Pr>0?$s(me.left+gi,me.top+jo,Vn,Pr,Cs.BOTTOM_RIGHT):new _a(me.left+me.width,me.top+me.height),this.bottomLeftBorderBox=na>0||Ea>0?$s(me.left,me.top+No,na,Ea,Cs.BOTTOM_LEFT):new _a(me.left,me.top+me.height),this.topLeftPaddingBox=at>0||yt>0?$s(me.left+Ho,me.top+Da,Math.max(0,at-Ho),Math.max(0,yt-Da),Cs.TOP_LEFT):new _a(me.left+Ho,me.top+Da),this.topRightPaddingBox=Kt>0||On>0?$s(me.left+Math.min(Xa,me.width-ki),me.top+Da,Xa>me.width+ki?0:Math.max(0,Kt-ki),Math.max(0,On-Da),Cs.TOP_RIGHT):new _a(me.left+me.width-ki,me.top+Da),this.bottomRightPaddingBox=Vn>0||Pr>0?$s(me.left+Math.min(gi,me.width-Ho),me.top+Math.min(jo,me.height-wi),Math.max(0,Vn-ki),Math.max(0,Pr-wi),Cs.BOTTOM_RIGHT):new _a(me.left+me.width-ki,me.top+me.height-wi),this.bottomLeftPaddingBox=na>0||Ea>0?$s(me.left+Ho,me.top+Math.min(No,me.height-wi),Math.max(0,na-Ho),Math.max(0,Ea-wi),Cs.BOTTOM_LEFT):new _a(me.left+Ho,me.top+me.height-wi),this.topLeftContentBox=at>0||yt>0?$s(me.left+Ho+Fs,me.top+Da+wa,Math.max(0,at-(Ho+Fs)),Math.max(0,yt-(Da+wa)),Cs.TOP_LEFT):new _a(me.left+Ho+Fs,me.top+Da+wa),this.topRightContentBox=Kt>0||On>0?$s(me.left+Math.min(Xa,me.width+Ho+Fs),me.top+Da+wa,Xa>me.width+Ho+Fs?0:Kt-Ho+Fs,On-(Da+wa),Cs.TOP_RIGHT):new _a(me.left+me.width-(ki+tu),me.top+Da+wa),this.bottomRightContentBox=Vn>0||Pr>0?$s(me.left+Math.min(gi,me.width-(Ho+Fs)),me.top+Math.min(jo,me.height+Da+wa),Math.max(0,Vn-(ki+tu)),Pr-(wi+vu),Cs.BOTTOM_RIGHT):new _a(me.left+me.width-(ki+tu),me.top+me.height-(wi+vu)),this.bottomLeftContentBox=na>0||Ea>0?$s(me.left+Ho+Fs,me.top+No,Math.max(0,na-(Ho+Fs)),Ea-(wi+vu),Cs.BOTTOM_LEFT):new _a(me.left+Ho+Fs,me.top+me.height-(wi+vu))}return de}(),Cs;(function(de){de[de.TOP_LEFT=0]="TOP_LEFT",de[de.TOP_RIGHT=1]="TOP_RIGHT",de[de.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",de[de.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Cs||(Cs={}));var $s=function(de,se,pe,me,_e){var at=4*((Math.sqrt(2)-1)/3),yt=pe*at,zt=me*at,Kt=de+pe,On=se+me;switch(_e){case Cs.TOP_LEFT:return new kf(new _a(de,On),new _a(de,On-zt),new _a(Kt-yt,se),new _a(Kt,se));case Cs.TOP_RIGHT:return new kf(new _a(de,se),new _a(de+yt,se),new _a(Kt,On-zt),new _a(Kt,On));case Cs.BOTTOM_RIGHT:return new kf(new _a(Kt,se),new _a(Kt,se+zt),new _a(de+yt,On),new _a(de,On));case Cs.BOTTOM_LEFT:default:return new kf(new _a(Kt,On),new _a(Kt-yt,On),new _a(de,se+zt),new _a(de,se))}},Mf=function(de){return[de.topLeftBorderBox,de.topRightBorderBox,de.bottomRightBorderBox,de.bottomLeftBorderBox]},Fp=function(de){return[de.topLeftContentBox,de.topRightContentBox,de.bottomRightContentBox,de.bottomLeftContentBox]},B0=function(de){return[de.topLeftPaddingBox,de.topRightPaddingBox,de.bottomRightPaddingBox,de.bottomLeftPaddingBox]},ei=function(){function de(se,pe,me){this.offsetX=se,this.offsetY=pe,this.matrix=me,this.type=0,this.target=6}return de}(),og=function(){function de(se,pe){this.path=se,this.target=pe,this.type=1}return de}(),Hs=function(){function de(se){this.opacity=se,this.type=2,this.target=6}return de}(),w0=function(de){return de.type===0},y0=function(de){return de.type===1},Tf=function(de){return de.type===2},qc=function(de,se){return de.length===se.length?de.some(function(pe,me){return pe===se[me]}):!1},Ih=function(de,se,pe,me,_e){return de.map(function(at,yt){switch(yt){case 0:return at.add(se,pe);case 1:return at.add(se+me,pe);case 2:return at.add(se+me,pe+_e);case 3:return at.add(se,pe+_e)}return at})},Yg=function(){function de(se){this.element=se,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return de}(),S0=function(){function de(se,pe){if(this.container=se,this.parent=pe,this.effects=[],this.curves=new Mm(this.container),this.container.styles.opacity<1&&this.effects.push(new Hs(this.container.styles.opacity)),this.container.styles.transform!==null){var me=this.container.bounds.left+this.container.styles.transformOrigin[0].number,_e=this.container.bounds.top+this.container.styles.transformOrigin[1].number,at=this.container.styles.transform;this.effects.push(new ei(me,_e,at))}if(this.container.styles.overflowX!==0){var yt=Mf(this.curves),zt=B0(this.curves);qc(yt,zt)?this.effects.push(new og(yt,6)):(this.effects.push(new og(yt,2)),this.effects.push(new og(zt,4)))}}return de.prototype.getEffects=function(se){for(var pe=[2,3].indexOf(this.container.styles.position)===-1,me=this.parent,_e=this.effects.slice(0);me;){var at=me.effects.filter(function(Kt){return!y0(Kt)});if(pe||me.container.styles.position!==0||!me.parent){if(_e.unshift.apply(_e,at),pe=[2,3].indexOf(me.container.styles.position)===-1,me.container.styles.overflowX!==0){var yt=Mf(me.curves),zt=B0(me.curves);qc(yt,zt)||_e.unshift(new og(zt,6))}}else _e.unshift.apply(_e,at);me=me.parent}return _e.filter(function(Kt){return Sa(Kt.target,se)})},de}(),Xg=function(de,se,pe,me){de.container.elements.forEach(function(_e){var at=Sa(_e.flags,4),yt=Sa(_e.flags,2),zt=new S0(_e,de);Sa(_e.styles.display,2048)&&me.push(zt);var Kt=Sa(_e.flags,8)?[]:me;if(at||yt){var On=at||_e.styles.isPositioned()?pe:se,jn=new Yg(zt);if(_e.styles.isPositioned()||_e.styles.opacity<1||_e.styles.isTransformed()){var Vn=_e.styles.zIndex.order;if(Vn<0){var Pr=0;On.negativeZIndex.some(function(na,Ea){return Vn>na.element.container.styles.zIndex.order?(Pr=Ea,!1):Pr>0}),On.negativeZIndex.splice(Pr,0,jn)}else if(Vn>0){var Ka=0;On.positiveZIndex.some(function(na,Ea){return Vn>=na.element.container.styles.zIndex.order?(Ka=Ea+1,!1):Ka>0}),On.positiveZIndex.splice(Ka,0,jn)}else On.zeroOrAutoZIndexOrTransformedOrOpacity.push(jn)}else _e.styles.isFloating()?On.nonPositionedFloats.push(jn):On.nonPositionedInlineLevel.push(jn);Xg(zt,jn,at?jn:pe,Kt)}else _e.styles.isInlineLevel()?se.inlineLevel.push(zt):se.nonInlineLevel.push(zt),Xg(zt,se,pe,Kt);Sa(_e.flags,8)&&Jg(_e,Kt)})},Jg=function(de,se){for(var pe=de instanceof i0?de.start:1,me=de instanceof i0?de.reversed:!1,_e=0;_e0&&pe.intrinsicHeight>0){var at=jf(pe),yt=B0(me);this.path(yt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(_e,0,0,pe.intrinsicWidth,pe.intrinsicHeight,at.left,at.top,at.width,at.height),this.ctx.restore()}},se.prototype.renderNodeContent=function(pe){return Ce(this,void 0,void 0,function(){var me,_e,at,yt,zt,Kt,Xa,Xa,On,jn,Vn,Pr,gi,Ka,na,No,Ea,ti,to,Xa,jo,gi,No;return je(this,function(Da){switch(Da.label){case 0:this.applyEffects(pe.getEffects(4)),me=pe.container,_e=pe.curves,at=me.styles,yt=0,zt=me.textNodes,Da.label=1;case 1:return yt0&&al>0&&(wi=at.ctx.createPattern(No,"repeat"),at.renderRepeat(wa,wi,Ll,kl))):OA(jn)&&(Ho=Ac(pe,me,[null,null,null]),wa=Ho[0],tu=Ho[1],vu=Ho[2],Fs=Ho[3],al=Ho[4],Nc=jn.position.length===0?[ii]:jn.position,Ll=Fo(Nc[0],Fs),kl=Fo(Nc[Nc.length-1],al),Pd=rc(jn,Ll,kl,Fs,al),ku=Pd[0],Dc=Pd[1],ku>0&&Dc>0&&(xd=at.ctx.createRadialGradient(tu+Ll,vu+kl,0,tu+Ll,vu+kl,ku),yc(jn.stops,ku*2).forEach(function(od){return xd.addColorStop(od.stop,hs(od.color))}),at.path(wa),at.ctx.fillStyle=xd,ku!==Dc?(rd=pe.bounds.left+.5*pe.bounds.width,uc=pe.bounds.top+.5*pe.bounds.height,ad=Dc/ku,Uc=1/ad,at.ctx.save(),at.ctx.translate(rd,uc),at.ctx.transform(1,0,0,ad,0,0),at.ctx.translate(-rd,-uc),at.ctx.fillRect(tu,Uc*(vu-uc)+uc,Fs,al*Uc),at.ctx.restore()):at.ctx.fill())),Ag.label=6;case 6:return me--,[2]}})},at=this,yt=0,zt=pe.styles.backgroundImage.slice(0).reverse(),On.label=1;case 1:return yt0?jn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(jn.color,jn.width,zt,pe.curves,2)]:[3,11]):[3,13];case 4:return Pr.sent(),[3,11];case 5:return jn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(jn.color,jn.width,zt,pe.curves,3)];case 6:return Pr.sent(),[3,11];case 7:return jn.style!==4?[3,9]:[4,this.renderDoubleBorder(jn.color,jn.width,zt,pe.curves)];case 8:return Pr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(jn.color,zt,pe.curves)];case 10:Pr.sent(),Pr.label=11;case 11:zt++,Pr.label=12;case 12:return Kt++,[3,3];case 13:return[2]}})})},se.prototype.renderDashedDottedBorder=function(pe,me,_e,at,yt){return Ce(this,void 0,void 0,function(){var zt,Kt,On,jn,Vn,Pr,Ka,na,Ea,ti,to,Xa,jo,gi,No,Da,No,Da;return je(this,function(ki){return this.ctx.save(),zt=Nh(at,_e),Kt=dl(at,_e),yt===2&&(this.path(Kt),this.ctx.clip()),Ou(Kt[0])?(On=Kt[0].start.x,jn=Kt[0].start.y):(On=Kt[0].x,jn=Kt[0].y),Ou(Kt[1])?(Vn=Kt[1].end.x,Pr=Kt[1].end.y):(Vn=Kt[1].x,Pr=Kt[1].y),_e===0||_e===2?Ka=Math.abs(On-Vn):Ka=Math.abs(jn-Pr),this.ctx.beginPath(),yt===3?this.formatPath(zt):this.formatPath(Kt.slice(0,2)),na=me<3?me*3:me*2,Ea=me<3?me*2:me,yt===3&&(na=me,Ea=me),ti=!0,Ka<=na*2?ti=!1:Ka<=na*2+Ea?(to=Ka/(2*na+Ea),na*=to,Ea*=to):(Xa=Math.floor((Ka+Ea)/(na+Ea)),jo=(Ka-Xa*na)/(Xa-1),gi=(Ka-(Xa+1)*na)/Xa,Ea=gi<=0||Math.abs(Ea-jo)Et){var Bt=ct;ct=Et,Et=Bt}}else if(et==="l"||et==="landscape"){if(et="l",Et>ct){var Bt=ct;ct=Et,Et=Bt}}else throw"Invalid orientation: "+et;var st={width:ct,height:Et,unit:ke,k:ot};return st},De.default=Ne.jsPDF},"./src/plugin/pagebreaks.js":function(we,De,ce){"use strict";ce.r(De);var Ue=ce("./node_modules/core-js/modules/es.array.concat.js"),Fe=ce.n(Ue),be=ce("./node_modules/core-js/modules/es.array.slice.js"),ie=ce.n(be),y=ce("./node_modules/core-js/modules/es.array.join.js"),a=ce.n(y),ee=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=ce.n(ee),te=ce("./node_modules/core-js/modules/es.object.keys.js"),ne=ce.n(te),ae=ce("./src/worker.js"),fe=ce("./src/utils.js"),xe={toContainer:ae.default.prototype.toContainer};ae.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ae.default.prototype.toContainer=function(){return xe.toContainer.call(this).then(function(){var Ge=this.prop.container,Ye=this.prop.pageSize.inner.px.height,et=[].concat(this.opt.pagebreak.mode),ke={avoidAll:et.indexOf("avoid-all")!==-1,css:et.indexOf("css")!==-1,legacy:et.indexOf("legacy")!==-1},ht={},Oe=this;["before","after","avoid"].forEach(function(ot){var Et=ke.avoidAll&&ot==="avoid";ht[ot]=Et?[]:[].concat(Oe.opt.pagebreak[ot]||[]),ht[ot].length>0&&(ht[ot]=Array.prototype.slice.call(Ge.querySelectorAll(ht[ot].join(", "))))});var xt=Ge.querySelectorAll(".html2pdf__page-break");xt=Array.prototype.slice.call(xt);var ut=Ge.querySelectorAll("*");Array.prototype.forEach.call(ut,function(Et){var ct={before:!1,after:ke.legacy&&xt.indexOf(Et)!==-1,avoid:ke.avoidAll};if(ke.css){var Bt=window.getComputedStyle(Et),st=["always","page","left","right"],rt=["avoid","avoid-page"];ct={before:ct.before||st.indexOf(Bt.breakBefore||Bt.pageBreakBefore)!==-1,after:ct.after||st.indexOf(Bt.breakAfter||Bt.pageBreakAfter)!==-1,avoid:ct.avoid||rt.indexOf(Bt.breakInside||Bt.pageBreakInside)!==-1}}Object.keys(ct).forEach(function(Rn){ct[Rn]=ct[Rn]||ht[Rn].indexOf(Et)!==-1});var Rt=Et.getBoundingClientRect();if(ct.avoid&&!ct.before){var An=Math.floor(Rt.top/Ye),ft=Math.floor(Rt.bottom/Ye),Nt=Math.abs(Rt.bottom-Rt.top)/Ye;ft!==An&&Nt<=1&&(ct.before=!0)}if(ct.before){var yn=(0,fe.createElement)("div",{style:{display:"block",height:Ye-Rt.top%Ye+"px"}});Et.parentNode.insertBefore(yn,Et)}if(ct.after){var yn=(0,fe.createElement)("div",{style:{display:"block",height:Ye-Rt.bottom%Ye+"px"}});Et.parentNode.insertBefore(yn,Et.nextSibling)}})})}},"./src/utils.js":function(we,De,ce){"use strict";ce.r(De),ce.d(De,{objType:function(){return et},createElement:function(){return ke},cloneNode:function(){return ht},unitConvert:function(){return Oe},toPx:function(){return xt}});var Ue=ce("./node_modules/core-js/modules/es.number.constructor.js"),Fe=ce.n(Ue),be=ce("./node_modules/core-js/modules/es.symbol.js"),ie=ce.n(be),y=ce("./node_modules/core-js/modules/es.symbol.description.js"),a=ce.n(y),ee=ce("./node_modules/core-js/modules/es.object.to-string.js"),b=ce.n(ee),te=ce("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=ce.n(te),ae=ce("./node_modules/core-js/modules/es.array.iterator.js"),fe=ce.n(ae),xe=ce("./node_modules/core-js/modules/es.string.iterator.js"),Pe=ce.n(xe),Ne=ce("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ge=ce.n(Ne);function Ye(ut){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ye=function(Et){return typeof Et}:Ye=function(Et){return Et&&typeof Symbol=="function"&&Et.constructor===Symbol&&Et!==Symbol.prototype?"symbol":typeof Et},Ye(ut)}var et=function(ot){var Et=Ye(ot);return Et==="undefined"?"undefined":Et==="string"||ot instanceof String?"string":Et==="number"||ot instanceof Number?"number":Et==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":Et==="object"?"object":"unknown"},ke=function(ot,Et){var ct=document.createElement(ot);if(Et.className&&(ct.className=Et.className),Et.innerHTML){ct.innerHTML=Et.innerHTML;for(var Bt=ct.getElementsByTagName("script"),st=Bt.length;st-- >0;null)Bt[st].parentNode.removeChild(Bt[st])}for(var rt in Et.style)ct.style[rt]=Et.style[rt];return ct},ht=function ut(ot,Et){for(var ct=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),Bt=ot.firstChild;Bt;Bt=Bt.nextSibling)(Et===!0||Bt.nodeType!==1||Bt.nodeName!=="SCRIPT")&&ct.appendChild(ut(Bt,Et));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(ct.width=ot.width,ct.height=ot.height,ct.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(ct.value=ot.value),ct.addEventListener("load",function(){ct.scrollTop=ot.scrollTop,ct.scrollLeft=ot.scrollLeft},!0)),ct},Oe=function(ot,Et){if(et(ot)==="number")return ot*72/96/Et;var ct={};for(var Bt in ot)ct[Bt]=ot[Bt]*72/96/Et;return ct},xt=function(ot,Et){return Math.floor(ot*Et/72*96)}},"./src/worker.js":function(we,De,ce){"use strict";ce.r(De);var Ue=ce("./node_modules/core-js/modules/es.object.assign.js"),Fe=ce.n(Ue),be=ce("./node_modules/core-js/modules/es.array.map.js"),ie=ce.n(be),y=ce("./node_modules/core-js/modules/es.object.keys.js"),a=ce.n(y),ee=ce("./node_modules/core-js/modules/es.array.concat.js"),b=ce.n(ee),te=ce("./node_modules/core-js/modules/es.object.to-string.js"),ne=ce.n(te),ae=ce("./node_modules/core-js/modules/es.regexp.to-string.js"),fe=ce.n(ae),xe=ce("./node_modules/core-js/modules/es.function.name.js"),Pe=ce.n(xe),Ne=ce("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ge=ce.n(Ne),Ye=ce("jspdf"),et=ce.n(Ye),ke=ce("html2canvas"),ht=ce.n(ke),Oe=ce("./src/utils.js"),xt=ce("./node_modules/es6-promise/dist/es6-promise.js"),ut=ce.n(xt),ot=ut().Promise,Et=function ct(Bt){var st=Object.assign(ct.convert(ot.resolve()),JSON.parse(JSON.stringify(ct.template))),rt=ct.convert(ot.resolve(),st);return rt=rt.setProgress(1,ct,1,[ct]),rt=rt.set(Bt),rt};Et.prototype=Object.create(ot.prototype),Et.prototype.constructor=Et,Et.convert=function(Bt,st){return Bt.__proto__=st||Et.prototype,Bt},Et.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:{}}},Et.prototype.from=function(Bt,st){function rt(Rt){switch((0,Oe.objType)(Rt)){case"string":return"string";case"element":return Rt.nodeName.toLowerCase&&Rt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(st=st||rt(Bt),st){case"string":return this.set({src:(0,Oe.createElement)("div",{innerHTML:Bt})});case"element":return this.set({src:Bt});case"canvas":return this.set({canvas:Bt});case"img":return this.set({img:Bt});default:return this.error("Unknown source type.")}})},Et.prototype.to=function(Bt){switch(Bt){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.")}},Et.prototype.toContainer=function(){var Bt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Bt).then(function(){var rt={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Rt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};rt.opacity=0;var An=(0,Oe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Oe.createElement)("div",{className:"html2pdf__overlay",style:rt}),this.prop.container=(0,Oe.createElement)("div",{className:"html2pdf__container",style:Rt}),this.prop.container.appendChild(An),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Et.prototype.toCanvas=function(){var Bt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Bt).then(function(){var rt=Object.assign({},this.opt.html2canvas);return delete rt.onrendered,ke(this.prop.container,rt)}).then(function(rt){var Rt=this.opt.html2canvas.onrendered||function(){};Rt(rt),this.prop.canvas=rt,document.body.removeChild(this.prop.overlay)})},Et.prototype.toImg=function(){var Bt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Bt).then(function(){var rt=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=rt})},Et.prototype.toPdf=function(){var Bt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Bt).then(function(){var rt=this.prop.canvas,Rt=this.opt,An=rt.height,ft=Math.floor(rt.width*this.prop.pageSize.inner.ratio),Nt=Math.ceil(An/ft),yn=this.prop.pageSize.inner.height,Rn=document.createElement("canvas"),un=Rn.getContext("2d");Rn.width=rt.width,Rn.height=ft,this.prop.pdf=this.prop.pdf||new Ye.jsPDF(Rt.jsPDF);for(var Kn=0;Kn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-indexed-object.js"),Fe=ce("./node_modules/core-js/internals/to-length.js"),be=ce("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,b){var te=Ue(a),ne=Fe(te.length),ae=be(b,ne),fe;if(y&&ee!=ee){for(;ne>ae;)if(fe=te[ae++],fe!=fe)return!0}else for(;ne>ae;ae++)if((y||ae in te)&&te[ae]===ee)return y||ae||0;return!y&&-1}};we.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/function-bind-context.js"),Fe=ce("./node_modules/core-js/internals/indexed-object.js"),be=ce("./node_modules/core-js/internals/to-object.js"),ie=ce("./node_modules/core-js/internals/to-length.js"),y=ce("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(b){var te=b==1,ne=b==2,ae=b==3,fe=b==4,xe=b==6,Pe=b==7,Ne=b==5||xe;return function(Ge,Ye,et,ke){for(var ht=be(Ge),Oe=Fe(ht),xt=Ue(Ye,et,3),ut=ie(Oe.length),ot=0,Et=ke||y,ct=te?Et(Ge,ut):ne||Pe?Et(Ge,0):void 0,Bt,st;ut>ot;ot++)if((Ne||ot in Oe)&&(Bt=Oe[ot],st=xt(Bt,ot,ht),b))if(te)ct[ot]=st;else if(st)switch(b){case 3:return!0;case 5:return Bt;case 6:return ot;case 2:a.call(ct,Bt)}else switch(b){case 4:return!1;case 7:a.call(ct,Bt)}return xe?-1:ae||fe?fe:ct}};we.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/fails.js"),Fe=ce("./node_modules/core-js/internals/well-known-symbol.js"),be=ce("./node_modules/core-js/internals/engine-v8-version.js"),ie=Fe("species");we.exports=function(y){return be>=51||!Ue(function(){var a=[],ee=a.constructor={};return ee[ie]=function(){return{foo:1}},a[y](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/fails.js");we.exports=function(Fe,be){var ie=[][Fe];return!!ie&&Ue(function(){ie.call(null,be||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-object.js"),Fe=ce("./node_modules/core-js/internals/is-array.js"),be=ce("./node_modules/core-js/internals/well-known-symbol.js"),ie=be("species");we.exports=function(y){var a;return Fe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||Fe(a.prototype))?a=void 0:Ue(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/array-species-constructor.js");we.exports=function(Fe,be){return new(Ue(Fe))(be===0?0:be)}},"./node_modules/core-js/internals/classof-raw.js":function(we){var De={}.toString;we.exports=function(ce){return De.call(ce).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=ce("./node_modules/core-js/internals/classof-raw.js"),be=ce("./node_modules/core-js/internals/well-known-symbol.js"),ie=be("toStringTag"),y=Fe(function(){return arguments}())=="Arguments",a=function(ee,b){try{return ee[b]}catch(te){}};we.exports=Ue?Fe:function(ee){var b,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(b=Object(ee),ie))=="string"?te:y?Fe(b):(ne=Fe(b))=="Object"&&typeof b.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/has.js"),Fe=ce("./node_modules/core-js/internals/own-keys.js"),be=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=ce("./node_modules/core-js/internals/object-define-property.js");we.exports=function(y,a){for(var ee=Fe(a),b=ie.f,te=be.f,ne=0;ne"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Fe=ce("./node_modules/core-js/internals/object-create.js"),be=ce("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ce("./node_modules/core-js/internals/set-to-string-tag.js"),y=ce("./node_modules/core-js/internals/iterators.js"),a=function(){return this};we.exports=function(ee,b,te){var ne=b+" Iterator";return ee.prototype=Fe(Ue,{next:be(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/object-define-property.js"),be=ce("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=Ue?function(ie,y,a){return Fe.f(ie,y,be(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(we){we.exports=function(De,ce){return{enumerable:!(De&1),configurable:!(De&2),writable:!(De&4),value:ce}}},"./node_modules/core-js/internals/create-property.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/to-property-key.js"),Fe=ce("./node_modules/core-js/internals/object-define-property.js"),be=ce("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=function(ie,y,a){var ee=Ue(y);ee in ie?Fe.f(ie,ee,be(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/create-iterator-constructor.js"),be=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=ce("./node_modules/core-js/internals/object-set-prototype-of.js"),y=ce("./node_modules/core-js/internals/set-to-string-tag.js"),a=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=ce("./node_modules/core-js/internals/redefine.js"),b=ce("./node_modules/core-js/internals/well-known-symbol.js"),te=ce("./node_modules/core-js/internals/is-pure.js"),ne=ce("./node_modules/core-js/internals/iterators.js"),ae=ce("./node_modules/core-js/internals/iterators-core.js"),fe=ae.IteratorPrototype,xe=ae.BUGGY_SAFARI_ITERATORS,Pe=b("iterator"),Ne="keys",Ge="values",Ye="entries",et=function(){return this};we.exports=function(ke,ht,Oe,xt,ut,ot,Et){Fe(Oe,ht,xt);var ct=function(un){if(un===ut&&An)return An;if(!xe&&un in rt)return rt[un];switch(un){case Ne:return function(){return new Oe(this,un)};case Ge:return function(){return new Oe(this,un)};case Ye:return function(){return new Oe(this,un)}}return function(){return new Oe(this)}},Bt=ht+" Iterator",st=!1,rt=ke.prototype,Rt=rt[Pe]||rt["@@iterator"]||ut&&rt[ut],An=!xe&&Rt||ct(ut),ft=ht=="Array"&&rt.entries||Rt,Nt,yn,Rn;if(ft&&(Nt=be(ft.call(new ke)),fe!==Object.prototype&&Nt.next&&(!te&&be(Nt)!==fe&&(ie?ie(Nt,fe):typeof Nt[Pe]!="function"&&a(Nt,Pe,et)),y(Nt,Bt,!0,!0),te&&(ne[Bt]=et))),ut==Ge&&Rt&&Rt.name!==Ge&&(st=!0,An=function(){return Rt.call(this)}),(!te||Et)&&rt[Pe]!==An&&a(rt,Pe,An),ne[ht]=An,ut)if(yn={values:ct(Ge),keys:ot?An:ct(Ne),entries:ct(Ye)},Et)for(Rn in yn)(xe||st||!(Rn in rt))&&ee(rt,Rn,yn[Rn]);else Ue({target:ht,proto:!0,forced:xe||st},yn);return yn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/path.js"),Fe=ce("./node_modules/core-js/internals/has.js"),be=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=ce("./node_modules/core-js/internals/object-define-property.js").f;we.exports=function(y){var a=Ue.Symbol||(Ue.Symbol={});Fe(a,y)||ie(a,y,{value:be.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/fails.js");we.exports=!Ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/is-object.js"),be=Ue.document,ie=Fe(be)&&Fe(be.createElement);we.exports=function(y){return ie?be.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(we){we.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(we,De,ce){var Ue=ce("./node_modules/core-js/internals/get-built-in.js");we.exports=Ue("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/engine-user-agent.js"),be=Ue.process,ie=Ue.Deno,y=be&&be.versions||ie&&ie.version,a=y&&y.v8,ee,b;a?(ee=a.split("."),b=ee[0]<4?1:ee[0]+ee[1]):Fe&&(ee=Fe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=Fe.match(/Chrome\/(\d+)/),ee&&(b=ee[1]))),we.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(we){we.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,be=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ce("./node_modules/core-js/internals/redefine.js"),y=ce("./node_modules/core-js/internals/set-global.js"),a=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=ce("./node_modules/core-js/internals/is-forced.js");we.exports=function(b,te){var ne=b.target,ae=b.global,fe=b.stat,xe,Pe,Ne,Ge,Ye,et;if(ae?Pe=Ue:fe?Pe=Ue[ne]||y(ne,{}):Pe=(Ue[ne]||{}).prototype,Pe)for(Ne in te){if(Ye=te[Ne],b.noTargetGet?(et=Fe(Pe,Ne),Ge=et&&et.value):Ge=Pe[Ne],xe=ee(ae?Ne:ne+(fe?".":"#")+Ne,b.forced),!xe&&Ge!==void 0){if(typeof Ye==typeof Ge)continue;a(Ye,Ge)}(b.sham||Ge&&Ge.sham)&&be(Ye,"sham",!0),ie(Pe,Ne,Ye,b)}}},"./node_modules/core-js/internals/fails.js":function(we){we.exports=function(De){try{return!!De()}catch(ce){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/a-function.js");we.exports=function(Fe,be,ie){if(Ue(Fe),be===void 0)return Fe;switch(ie){case 0:return function(){return Fe.call(be)};case 1:return function(y){return Fe.call(be,y)};case 2:return function(y,a){return Fe.call(be,y,a)};case 3:return function(y,a,ee){return Fe.call(be,y,a,ee)}}return function(){return Fe.apply(be,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=function(be){return typeof be=="function"?be:void 0};we.exports=function(be,ie){return arguments.length<2?Fe(Ue[be]):Ue[be]&&Ue[be][ie]}},"./node_modules/core-js/internals/global.js":function(we){var De=function(ce){return ce&&ce.Math==Math&&ce};we.exports=De(typeof globalThis=="object"&&globalThis)||De(typeof window=="object"&&window)||De(typeof self=="object"&&self)||De(typeof ve.g=="object"&&ve.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-object.js"),Fe={}.hasOwnProperty;we.exports=Object.hasOwn||function(ie,y){return Fe.call(Ue(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(we){we.exports={}},"./node_modules/core-js/internals/html.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/get-built-in.js");we.exports=Ue("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/fails.js"),be=ce("./node_modules/core-js/internals/document-create-element.js");we.exports=!Ue&&!Fe(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/fails.js"),Fe=ce("./node_modules/core-js/internals/classof-raw.js"),be="".split;we.exports=Ue(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return Fe(ie)=="String"?be.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-object.js"),Fe=ce("./node_modules/core-js/internals/object-set-prototype-of.js");we.exports=function(be,ie,y){var a,ee;return Fe&&typeof(a=ie.constructor)=="function"&&a!==y&&Ue(ee=a.prototype)&&ee!==y.prototype&&Fe(be,ee),be}},"./node_modules/core-js/internals/inspect-source.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/shared-store.js"),Fe=Function.toString;typeof Ue.inspectSource!="function"&&(Ue.inspectSource=function(be){return Fe.call(be)}),we.exports=Ue.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/native-weak-map.js"),Fe=ce("./node_modules/core-js/internals/global.js"),be=ce("./node_modules/core-js/internals/is-object.js"),ie=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ce("./node_modules/core-js/internals/has.js"),a=ce("./node_modules/core-js/internals/shared-store.js"),ee=ce("./node_modules/core-js/internals/shared-key.js"),b=ce("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=Fe.WeakMap,ae,fe,xe,Pe=function(Oe){return xe(Oe)?fe(Oe):ae(Oe,{})},Ne=function(Oe){return function(xt){var ut;if(!be(xt)||(ut=fe(xt)).type!==Oe)throw TypeError("Incompatible receiver, "+Oe+" required");return ut}};if(Ue||a.state){var Ge=a.state||(a.state=new ne),Ye=Ge.get,et=Ge.has,ke=Ge.set;ae=function(Oe,xt){if(et.call(Ge,Oe))throw new TypeError(te);return xt.facade=Oe,ke.call(Ge,Oe,xt),xt},fe=function(Oe){return Ye.call(Ge,Oe)||{}},xe=function(Oe){return et.call(Ge,Oe)}}else{var ht=ee("state");b[ht]=!0,ae=function(Oe,xt){if(y(Oe,ht))throw new TypeError(te);return xt.facade=Oe,ie(Oe,ht,xt),xt},fe=function(Oe){return y(Oe,ht)?Oe[ht]:{}},xe=function(Oe){return y(Oe,ht)}}we.exports={set:ae,get:fe,has:xe,enforce:Pe,getterFor:Ne}},"./node_modules/core-js/internals/is-array.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/classof-raw.js");we.exports=Array.isArray||function(be){return Ue(be)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/fails.js"),Fe=/#|\.prototype\./,be=function(b,te){var ne=y[ie(b)];return ne==ee?!0:ne==a?!1:typeof te=="function"?Ue(te):!!te},ie=be.normalize=function(b){return String(b).replace(Fe,".").toLowerCase()},y=be.data={},a=be.NATIVE="N",ee=be.POLYFILL="P";we.exports=be},"./node_modules/core-js/internals/is-object.js":function(we){we.exports=function(De){return typeof De=="object"?De!==null:typeof De=="function"}},"./node_modules/core-js/internals/is-pure.js":function(we){we.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/get-built-in.js"),Fe=ce("./node_modules/core-js/internals/use-symbol-as-uid.js");we.exports=Fe?function(be){return typeof be=="symbol"}:function(be){var ie=Ue("Symbol");return typeof ie=="function"&&Object(be)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/fails.js"),Fe=ce("./node_modules/core-js/internals/object-get-prototype-of.js"),be=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=ce("./node_modules/core-js/internals/has.js"),y=ce("./node_modules/core-js/internals/well-known-symbol.js"),a=ce("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),b=!1,te=function(){return this},ne,ae,fe;[].keys&&(fe=[].keys(),"next"in fe?(ae=Fe(Fe(fe)),ae!==Object.prototype&&(ne=ae)):b=!0);var xe=ne==null||Ue(function(){var Pe={};return ne[ee].call(Pe)!==Pe});xe&&(ne={}),(!a||xe)&&!ie(ne,ee)&&be(ne,ee,te),we.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(we){we.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/engine-v8-version.js"),Fe=ce("./node_modules/core-js/internals/fails.js");we.exports=!!Object.getOwnPropertySymbols&&!Fe(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&Ue&&Ue<41})},"./node_modules/core-js/internals/native-weak-map.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/inspect-source.js"),be=Ue.WeakMap;we.exports=typeof be=="function"&&/native code/.test(Fe(be))},"./node_modules/core-js/internals/object-assign.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/fails.js"),be=ce("./node_modules/core-js/internals/object-keys.js"),ie=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=ce("./node_modules/core-js/internals/to-object.js"),ee=ce("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,te=Object.defineProperty;we.exports=!b||Fe(function(){if(Ue&&b({b:1},b(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},ae={},fe=Symbol(),xe="abcdefghijklmnopqrst";return ne[fe]=7,xe.split("").forEach(function(Pe){ae[Pe]=Pe}),b({},ne)[fe]!=7||be(b({},ae)).join("")!=xe})?function(ae,fe){for(var xe=a(ae),Pe=arguments.length,Ne=1,Ge=ie.f,Ye=y.f;Pe>Ne;)for(var et=ee(arguments[Ne++]),ke=Ge?be(et).concat(Ge(et)):be(et),ht=ke.length,Oe=0,xt;ht>Oe;)xt=ke[Oe++],(!Ue||Ye.call(et,xt))&&(xe[xt]=et[xt]);return xe}:b},"./node_modules/core-js/internals/object-create.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/an-object.js"),Fe=ce("./node_modules/core-js/internals/object-define-properties.js"),be=ce("./node_modules/core-js/internals/enum-bug-keys.js"),ie=ce("./node_modules/core-js/internals/hidden-keys.js"),y=ce("./node_modules/core-js/internals/html.js"),a=ce("./node_modules/core-js/internals/document-create-element.js"),ee=ce("./node_modules/core-js/internals/shared-key.js"),b=">",te="<",ne="prototype",ae="script",fe=ee("IE_PROTO"),xe=function(){},Pe=function(ke){return te+ae+b+ke+te+"/"+ae+b},Ne=function(ke){ke.write(Pe("")),ke.close();var ht=ke.parentWindow.Object;return ke=null,ht},Ge=function(){var ke=a("iframe"),ht="java"+ae+":",Oe;if(ke.style)return ke.style.display="none",y.appendChild(ke),ke.src=String(ht),Oe=ke.contentWindow.document,Oe.open(),Oe.write(Pe("document.F=Object")),Oe.close(),Oe.F},Ye,et=function(){try{Ye=new ActiveXObject("htmlfile")}catch(ht){}et=document.domain&&Ye?Ne(Ye):Ge()||Ne(Ye);for(var ke=be.length;ke--;)delete et[ne][be[ke]];return et()};ie[fe]=!0,we.exports=Object.create||function(ht,Oe){var xt;return ht!==null?(xe[ne]=Ue(ht),xt=new xe,xe[ne]=null,xt[fe]=ht):xt=et(),Oe===void 0?xt:Fe(xt,Oe)}},"./node_modules/core-js/internals/object-define-properties.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/object-define-property.js"),be=ce("./node_modules/core-js/internals/an-object.js"),ie=ce("./node_modules/core-js/internals/object-keys.js");we.exports=Ue?Object.defineProperties:function(a,ee){be(a);for(var b=ie(ee),te=b.length,ne=0,ae;te>ne;)Fe.f(a,ae=b[ne++],ee[ae]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/ie8-dom-define.js"),be=ce("./node_modules/core-js/internals/an-object.js"),ie=ce("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;De.f=Ue?y:function(ee,b,te){if(be(ee),b=ie(b),be(te),Fe)try{return y(ee,b,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[b]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/descriptors.js"),Fe=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),be=ce("./node_modules/core-js/internals/create-property-descriptor.js"),ie=ce("./node_modules/core-js/internals/to-indexed-object.js"),y=ce("./node_modules/core-js/internals/to-property-key.js"),a=ce("./node_modules/core-js/internals/has.js"),ee=ce("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;De.f=Ue?b:function(ne,ae){if(ne=ie(ne),ae=y(ae),ee)try{return b(ne,ae)}catch(fe){}if(a(ne,ae))return be(!Fe.f.call(ne,ae),ne[ae])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-indexed-object.js"),Fe=ce("./node_modules/core-js/internals/object-get-own-property-names.js").f,be={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return Fe(a)}catch(ee){return ie.slice()}};we.exports.f=function(ee){return ie&&be.call(ee)=="[object Window]"?y(ee):Fe(Ue(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/object-keys-internal.js"),Fe=ce("./node_modules/core-js/internals/enum-bug-keys.js"),be=Fe.concat("length","prototype");De.f=Object.getOwnPropertyNames||function(y){return Ue(y,be)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(we,De){De.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/has.js"),Fe=ce("./node_modules/core-js/internals/to-object.js"),be=ce("./node_modules/core-js/internals/shared-key.js"),ie=ce("./node_modules/core-js/internals/correct-prototype-getter.js"),y=be("IE_PROTO"),a=Object.prototype;we.exports=ie?Object.getPrototypeOf:function(ee){return ee=Fe(ee),Ue(ee,y)?ee[y]:typeof ee.constructor=="function"&&ee instanceof ee.constructor?ee.constructor.prototype:ee instanceof Object?a:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/has.js"),Fe=ce("./node_modules/core-js/internals/to-indexed-object.js"),be=ce("./node_modules/core-js/internals/array-includes.js").indexOf,ie=ce("./node_modules/core-js/internals/hidden-keys.js");we.exports=function(y,a){var ee=Fe(y),b=0,te=[],ne;for(ne in ee)!Ue(ie,ne)&&Ue(ee,ne)&&te.push(ne);for(;a.length>b;)Ue(ee,ne=a[b++])&&(~be(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/object-keys-internal.js"),Fe=ce("./node_modules/core-js/internals/enum-bug-keys.js");we.exports=Object.keys||function(ie){return Ue(ie,Fe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(we,De){"use strict";var ce={}.propertyIsEnumerable,Ue=Object.getOwnPropertyDescriptor,Fe=Ue&&!ce.call({1:2},1);De.f=Fe?function(ie){var y=Ue(this,ie);return!!y&&y.enumerable}:ce},"./node_modules/core-js/internals/object-set-prototype-of.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/an-object.js"),Fe=ce("./node_modules/core-js/internals/a-possible-prototype.js");we.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var be=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),be=ie instanceof Array}catch(a){}return function(ee,b){return Ue(ee),Fe(b),be?y.call(ee,b):ee.__proto__=b,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=ce("./node_modules/core-js/internals/classof.js");we.exports=Ue?{}.toString:function(){return"[object "+Fe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-object.js");we.exports=function(Fe,be){var ie,y;if(be==="string"&&typeof(ie=Fe.toString)=="function"&&!Ue(y=ie.call(Fe))||typeof(ie=Fe.valueOf)=="function"&&!Ue(y=ie.call(Fe))||be!=="string"&&typeof(ie=Fe.toString)=="function"&&!Ue(y=ie.call(Fe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/get-built-in.js"),Fe=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),be=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=ce("./node_modules/core-js/internals/an-object.js");we.exports=Ue("Reflect","ownKeys")||function(a){var ee=Fe.f(ie(a)),b=be.f;return b?ee.concat(b(a)):ee}},"./node_modules/core-js/internals/path.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js");we.exports=Ue},"./node_modules/core-js/internals/redefine.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),be=ce("./node_modules/core-js/internals/has.js"),ie=ce("./node_modules/core-js/internals/set-global.js"),y=ce("./node_modules/core-js/internals/inspect-source.js"),a=ce("./node_modules/core-js/internals/internal-state.js"),ee=a.get,b=a.enforce,te=String(String).split("String");(we.exports=function(ne,ae,fe,xe){var Pe=xe?!!xe.unsafe:!1,Ne=xe?!!xe.enumerable:!1,Ge=xe?!!xe.noTargetGet:!1,Ye;if(typeof fe=="function"&&(typeof ae=="string"&&!be(fe,"name")&&Fe(fe,"name",ae),Ye=b(fe),Ye.source||(Ye.source=te.join(typeof ae=="string"?ae:""))),ne===Ue){Ne?ne[ae]=fe:ie(ae,fe);return}else Pe?!Ge&&ne[ae]&&(Ne=!0):delete ne[ae];Ne?ne[ae]=fe:Fe(ne,ae,fe)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/an-object.js");we.exports=function(){var Fe=Ue(this),be="";return Fe.global&&(be+="g"),Fe.ignoreCase&&(be+="i"),Fe.multiline&&(be+="m"),Fe.dotAll&&(be+="s"),Fe.unicode&&(be+="u"),Fe.sticky&&(be+="y"),be}},"./node_modules/core-js/internals/require-object-coercible.js":function(we){we.exports=function(De){if(De==null)throw TypeError("Can't call method on "+De);return De}},"./node_modules/core-js/internals/set-global.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js");we.exports=function(Fe,be){try{Object.defineProperty(Ue,Fe,{value:be,configurable:!0,writable:!0})}catch(ie){Ue[Fe]=be}return be}},"./node_modules/core-js/internals/set-to-string-tag.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/object-define-property.js").f,Fe=ce("./node_modules/core-js/internals/has.js"),be=ce("./node_modules/core-js/internals/well-known-symbol.js"),ie=be("toStringTag");we.exports=function(y,a,ee){y&&!Fe(y=ee?y:y.prototype,ie)&&Ue(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/shared.js"),Fe=ce("./node_modules/core-js/internals/uid.js"),be=Ue("keys");we.exports=function(ie){return be[ie]||(be[ie]=Fe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/set-global.js"),be="__core-js_shared__",ie=Ue[be]||Fe(be,{});we.exports=ie},"./node_modules/core-js/internals/shared.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-pure.js"),Fe=ce("./node_modules/core-js/internals/shared-store.js");(we.exports=function(be,ie){return Fe[be]||(Fe[be]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:Ue?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/fails.js");we.exports=function(Fe){return Ue(function(){var be=""[Fe]('"');return be!==be.toLowerCase()||be.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-integer.js"),Fe=ce("./node_modules/core-js/internals/to-string.js"),be=ce("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var b=Fe(be(a)),te=Ue(ee),ne=b.length,ae,fe;return te<0||te>=ne?y?"":void 0:(ae=b.charCodeAt(te),ae<55296||ae>56319||te+1===ne||(fe=b.charCodeAt(te+1))<56320||fe>57343?y?b.charAt(te):ae:y?b.slice(te,te+2):(ae-55296<<10)+(fe-56320)+65536)}};we.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/require-object-coercible.js"),Fe=ce("./node_modules/core-js/internals/to-string.js"),be=ce("./node_modules/core-js/internals/whitespaces.js"),ie="["+be+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(b){return function(te){var ne=Fe(Ue(te));return b&1&&(ne=ne.replace(y,"")),b&2&&(ne=ne.replace(a,"")),ne}};we.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-integer.js"),Fe=Math.max,be=Math.min;we.exports=function(ie,y){var a=Ue(ie);return a<0?Fe(a+y,0):be(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/indexed-object.js"),Fe=ce("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(be){return Ue(Fe(be))}},"./node_modules/core-js/internals/to-integer.js":function(we){var De=Math.ceil,ce=Math.floor;we.exports=function(Ue){return isNaN(Ue=+Ue)?0:(Ue>0?ce:De)(Ue)}},"./node_modules/core-js/internals/to-length.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-integer.js"),Fe=Math.min;we.exports=function(be){return be>0?Fe(Ue(be),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(Fe){return Object(Ue(Fe))}},"./node_modules/core-js/internals/to-primitive.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-object.js"),Fe=ce("./node_modules/core-js/internals/is-symbol.js"),be=ce("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=ce("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");we.exports=function(a,ee){if(!Ue(a)||Fe(a))return a;var b=a[y],te;if(b!==void 0){if(ee===void 0&&(ee="default"),te=b.call(a,ee),!Ue(te)||Fe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),be(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-primitive.js"),Fe=ce("./node_modules/core-js/internals/is-symbol.js");we.exports=function(be){var ie=Ue(be,"string");return Fe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/well-known-symbol.js"),Fe=Ue("toStringTag"),be={};be[Fe]="z",we.exports=String(be)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/is-symbol.js");we.exports=function(Fe){if(Ue(Fe))throw TypeError("Cannot convert a Symbol value to a string");return String(Fe)}},"./node_modules/core-js/internals/uid.js":function(we){var De=0,ce=Math.random();we.exports=function(Ue){return"Symbol("+String(Ue===void 0?"":Ue)+")_"+(++De+ce).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/native-symbol.js");we.exports=Ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/well-known-symbol.js");De.f=Ue},"./node_modules/core-js/internals/well-known-symbol.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/shared.js"),be=ce("./node_modules/core-js/internals/has.js"),ie=ce("./node_modules/core-js/internals/uid.js"),y=ce("./node_modules/core-js/internals/native-symbol.js"),a=ce("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=Fe("wks"),b=Ue.Symbol,te=a?b:b&&b.withoutSetter||ie;we.exports=function(ne){return(!be(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&be(b,ne)?ee[ne]=b[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(we){we.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(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/fails.js"),be=ce("./node_modules/core-js/internals/is-array.js"),ie=ce("./node_modules/core-js/internals/is-object.js"),y=ce("./node_modules/core-js/internals/to-object.js"),a=ce("./node_modules/core-js/internals/to-length.js"),ee=ce("./node_modules/core-js/internals/create-property.js"),b=ce("./node_modules/core-js/internals/array-species-create.js"),te=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=ce("./node_modules/core-js/internals/well-known-symbol.js"),ae=ce("./node_modules/core-js/internals/engine-v8-version.js"),fe=ne("isConcatSpreadable"),xe=9007199254740991,Pe="Maximum allowed index exceeded",Ne=ae>=51||!Fe(function(){var ke=[];return ke[fe]=!1,ke.concat()[0]!==ke}),Ge=te("concat"),Ye=function(ke){if(!ie(ke))return!1;var ht=ke[fe];return ht!==void 0?!!ht:be(ke)},et=!Ne||!Ge;Ue({target:"Array",proto:!0,forced:et},{concat:function(ht){var Oe=y(this),xt=b(Oe,0),ut=0,ot,Et,ct,Bt,st;for(ot=-1,ct=arguments.length;otxe)throw TypeError(Pe);for(Et=0;Et=xe)throw TypeError(Pe);ee(xt,ut++,st)}return xt.length=ut,xt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/to-indexed-object.js"),Fe=ce("./node_modules/core-js/internals/add-to-unscopables.js"),be=ce("./node_modules/core-js/internals/iterators.js"),ie=ce("./node_modules/core-js/internals/internal-state.js"),y=ce("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,b=ie.getterFor(a);we.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:Ue(te),index:0,kind:ne})},function(){var te=b(this),ne=te.target,ae=te.kind,fe=te.index++;return!ne||fe>=ne.length?(te.target=void 0,{value:void 0,done:!0}):ae=="keys"?{value:fe,done:!1}:ae=="values"?{value:ne[fe],done:!1}:{value:[fe,ne[fe]],done:!1}},"values"),be.Arguments=be.Array,Fe("keys"),Fe("values"),Fe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/indexed-object.js"),be=ce("./node_modules/core-js/internals/to-indexed-object.js"),ie=ce("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=Fe!=Object,ee=ie("join",",");Ue({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(be(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/array-iteration.js").map,be=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=be("map");Ue({target:"Array",proto:!0,forced:!ie},{map:function(a){return Fe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/is-object.js"),be=ce("./node_modules/core-js/internals/is-array.js"),ie=ce("./node_modules/core-js/internals/to-absolute-index.js"),y=ce("./node_modules/core-js/internals/to-length.js"),a=ce("./node_modules/core-js/internals/to-indexed-object.js"),ee=ce("./node_modules/core-js/internals/create-property.js"),b=ce("./node_modules/core-js/internals/well-known-symbol.js"),te=ce("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),ae=b("species"),fe=[].slice,xe=Math.max;Ue({target:"Array",proto:!0,forced:!ne},{slice:function(Ne,Ge){var Ye=a(this),et=y(Ye.length),ke=ie(Ne,et),ht=ie(Ge===void 0?et:Ge,et),Oe,xt,ut;if(be(Ye)&&(Oe=Ye.constructor,typeof Oe=="function"&&(Oe===Array||be(Oe.prototype))?Oe=void 0:Fe(Oe)&&(Oe=Oe[ae],Oe===null&&(Oe=void 0)),Oe===Array||Oe===void 0))return fe.call(Ye,ke,ht);for(xt=new(Oe===void 0?Array:Oe)(xe(ht-ke,0)),ut=0;ke2){if(ct=Ne(ct),Bt=ct.charCodeAt(0),Bt===43||Bt===45){if(st=ct.charCodeAt(2),st===88||st===120)return NaN}else if(Bt===48){switch(ct.charCodeAt(1)){case 66:case 98:rt=2,Rt=49;break;case 79:case 111:rt=8,Rt=55;break;default:return+ct}for(An=ct.slice(2),ft=An.length,Nt=0;NtRt)return NaN;return parseInt(An,rt)}}return+ct};if(be(Ge,!Ye(" 0o1")||!Ye("0b1")||Ye("+0x1"))){for(var Oe=function(ct){var Bt=arguments.length<1?0:ct,st=this;return st instanceof Oe&&(ke?ne(function(){et.valueOf.call(st)}):a(st)!=Ge)?ee(new Ye(ht(Bt)),st,Oe):ht(Bt)},xt=Ue?fe(Ye):"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(","),ut=0,ot;xt.length>ut;ut++)y(Ye,ot=xt[ut])&&!y(Oe,ot)&&Pe(Oe,ot,xe(Ye,ot));Oe.prototype=et,et.constructor=Oe,ie(Fe,Ge,Oe)}},"./node_modules/core-js/modules/es.object.assign.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/object-assign.js");Ue({target:"Object",stat:!0,forced:Object.assign!==Fe},{assign:Fe})},"./node_modules/core-js/modules/es.object.keys.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/to-object.js"),be=ce("./node_modules/core-js/internals/object-keys.js"),ie=ce("./node_modules/core-js/internals/fails.js"),y=ie(function(){be(1)});Ue({target:"Object",stat:!0,forced:y},{keys:function(ee){return be(Fe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/to-string-tag-support.js"),Fe=ce("./node_modules/core-js/internals/redefine.js"),be=ce("./node_modules/core-js/internals/object-to-string.js");Ue||Fe(Object.prototype,"toString",be,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/redefine.js"),Fe=ce("./node_modules/core-js/internals/an-object.js"),be=ce("./node_modules/core-js/internals/to-string.js"),ie=ce("./node_modules/core-js/internals/fails.js"),y=ce("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,b=ee[a],te=ie(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),ne=b.name!=a;(te||ne)&&Ue(RegExp.prototype,a,function(){var fe=Fe(this),xe=be(fe.source),Pe=fe.flags,Ne=be(Pe===void 0&&fe instanceof RegExp&&!("flags"in ee)?y.call(fe):Pe);return"/"+xe+"/"+Ne},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/string-multibyte.js").charAt,Fe=ce("./node_modules/core-js/internals/to-string.js"),be=ce("./node_modules/core-js/internals/internal-state.js"),ie=ce("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=be.set,ee=be.getterFor(y);ie(String,"String",function(b){a(this,{type:y,string:Fe(b),index:0})},function(){var te=ee(this),ne=te.string,ae=te.index,fe;return ae>=ne.length?{value:void 0,done:!0}:(fe=Ue(ne,ae),te.index+=fe.length,{value:fe,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/create-html.js"),be=ce("./node_modules/core-js/internals/string-html-forced.js");Ue({target:"String",proto:!0,forced:be("link")},{link:function(y){return Fe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/descriptors.js"),be=ce("./node_modules/core-js/internals/global.js"),ie=ce("./node_modules/core-js/internals/has.js"),y=ce("./node_modules/core-js/internals/is-object.js"),a=ce("./node_modules/core-js/internals/object-define-property.js").f,ee=ce("./node_modules/core-js/internals/copy-constructor-properties.js"),b=be.Symbol;if(Fe&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var te={},ne=function(){var Ge=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ye=this instanceof ne?new b(Ge):Ge===void 0?b():b(Ge);return Ge===""&&(te[Ye]=!0),Ye};ee(ne,b);var ae=ne.prototype=b.prototype;ae.constructor=ne;var fe=ae.toString,xe=String(b("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(ae,"description",{configurable:!0,get:function(){var Ge=y(this)?this.valueOf():this,Ye=fe.call(Ge);if(ie(te,Ge))return"";var et=xe?Ye.slice(7,-1):Ye.replace(Pe,"$1");return et===""?void 0:et}}),Ue({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/define-well-known-symbol.js");Ue("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(we,De,ce){"use strict";var Ue=ce("./node_modules/core-js/internals/export.js"),Fe=ce("./node_modules/core-js/internals/global.js"),be=ce("./node_modules/core-js/internals/get-built-in.js"),ie=ce("./node_modules/core-js/internals/is-pure.js"),y=ce("./node_modules/core-js/internals/descriptors.js"),a=ce("./node_modules/core-js/internals/native-symbol.js"),ee=ce("./node_modules/core-js/internals/fails.js"),b=ce("./node_modules/core-js/internals/has.js"),te=ce("./node_modules/core-js/internals/is-array.js"),ne=ce("./node_modules/core-js/internals/is-object.js"),ae=ce("./node_modules/core-js/internals/is-symbol.js"),fe=ce("./node_modules/core-js/internals/an-object.js"),xe=ce("./node_modules/core-js/internals/to-object.js"),Pe=ce("./node_modules/core-js/internals/to-indexed-object.js"),Ne=ce("./node_modules/core-js/internals/to-property-key.js"),Ge=ce("./node_modules/core-js/internals/to-string.js"),Ye=ce("./node_modules/core-js/internals/create-property-descriptor.js"),et=ce("./node_modules/core-js/internals/object-create.js"),ke=ce("./node_modules/core-js/internals/object-keys.js"),ht=ce("./node_modules/core-js/internals/object-get-own-property-names.js"),Oe=ce("./node_modules/core-js/internals/object-get-own-property-names-external.js"),xt=ce("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ut=ce("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=ce("./node_modules/core-js/internals/object-define-property.js"),Et=ce("./node_modules/core-js/internals/object-property-is-enumerable.js"),ct=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),Bt=ce("./node_modules/core-js/internals/redefine.js"),st=ce("./node_modules/core-js/internals/shared.js"),rt=ce("./node_modules/core-js/internals/shared-key.js"),Rt=ce("./node_modules/core-js/internals/hidden-keys.js"),An=ce("./node_modules/core-js/internals/uid.js"),ft=ce("./node_modules/core-js/internals/well-known-symbol.js"),Nt=ce("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),yn=ce("./node_modules/core-js/internals/define-well-known-symbol.js"),Rn=ce("./node_modules/core-js/internals/set-to-string-tag.js"),un=ce("./node_modules/core-js/internals/internal-state.js"),Kn=ce("./node_modules/core-js/internals/array-iteration.js").forEach,wt=rt("hidden"),zn="Symbol",Wn="prototype",Xe=ft("toPrimitive"),fn=un.set,Le=un.getterFor(zn),he=Object[Wn],ge=Fe.Symbol,Se=be("JSON","stringify"),qe=ut.f,pt=ot.f,He=Oe.f,Ve=Et.f,bt=st("symbols"),gt=st("op-symbols"),At=st("string-to-symbol-registry"),jt=st("symbol-to-string-registry"),kn=st("wks"),It=Fe.QObject,on=!It||!It[Wn]||!It[Wn].findChild,Mt=y&&ee(function(){return et(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a!=7})?function(fr,ir,hr){var Hr=qe(he,ir);Hr&&delete he[ir],pt(fr,ir,hr),Hr&&fr!==he&&pt(he,ir,Hr)}:pt,En=function(fr,ir){var hr=bt[fr]=et(ge[Wn]);return fn(hr,{type:zn,tag:fr,description:ir}),y||(hr.description=ir),hr},lt=function(ir,hr,Hr){ir===he&<(gt,hr,Hr),fe(ir);var zr=Ne(hr);return fe(Hr),b(bt,zr)?(Hr.enumerable?(b(ir,wt)&&ir[wt][zr]&&(ir[wt][zr]=!1),Hr=et(Hr,{enumerable:Ye(0,!1)})):(b(ir,wt)||pt(ir,wt,Ye(1,{})),ir[wt][zr]=!0),Mt(ir,zr,Hr)):pt(ir,zr,Hr)},Yt=function(ir,hr){fe(ir);var Hr=Pe(hr),zr=ke(Hr).concat(Lr(Hr));return Kn(zr,function(La){(!y||Sn.call(Hr,La))&<(ir,La,Hr[La])}),ir},hn=function(ir,hr){return hr===void 0?et(ir):Yt(et(ir),hr)},Sn=function(ir){var hr=Ne(ir),Hr=Ve.call(this,hr);return this===he&&b(bt,hr)&&!b(gt,hr)?!1:Hr||!b(this,hr)||!b(bt,hr)||b(this,wt)&&this[wt][hr]?Hr:!0},Jn=function(ir,hr){var Hr=Pe(ir),zr=Ne(hr);if(!(Hr===he&&b(bt,zr)&&!b(gt,zr))){var La=qe(Hr,zr);return La&&b(bt,zr)&&!(b(Hr,wt)&&Hr[wt][zr])&&(La.enumerable=!0),La}},ur=function(ir){var hr=He(Pe(ir)),Hr=[];return Kn(hr,function(zr){!b(bt,zr)&&!b(Rt,zr)&&Hr.push(zr)}),Hr},Lr=function(ir){var hr=ir===he,Hr=He(hr?gt:Pe(ir)),zr=[];return Kn(Hr,function(La){b(bt,La)&&(!hr||b(he,La))&&zr.push(bt[La])}),zr};if(a||(ge=function(){if(this instanceof ge)throw TypeError("Symbol is not a constructor");var ir=!arguments.length||arguments[0]===void 0?void 0:Ge(arguments[0]),hr=An(ir),Hr=function(zr){this===he&&Hr.call(gt,zr),b(this,wt)&&b(this[wt],hr)&&(this[wt][hr]=!1),Mt(this,hr,Ye(1,zr))};return y&&on&&Mt(he,hr,{configurable:!0,set:Hr}),En(hr,ir)},Bt(ge[Wn],"toString",function(){return Le(this).tag}),Bt(ge,"withoutSetter",function(fr){return En(An(fr),fr)}),Et.f=Sn,ot.f=lt,ut.f=Jn,ht.f=Oe.f=ur,xt.f=Lr,Nt.f=function(fr){return En(ft(fr),fr)},y&&(pt(ge[Wn],"description",{configurable:!0,get:function(){return Le(this).description}}),ie||Bt(he,"propertyIsEnumerable",Sn,{unsafe:!0}))),Ue({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:ge}),Kn(ke(kn),function(fr){yn(fr)}),Ue({target:zn,stat:!0,forced:!a},{for:function(fr){var ir=Ge(fr);if(b(At,ir))return At[ir];var hr=ge(ir);return At[ir]=hr,jt[hr]=ir,hr},keyFor:function(ir){if(!ae(ir))throw TypeError(ir+" is not a symbol");if(b(jt,ir))return jt[ir]},useSetter:function(){on=!0},useSimple:function(){on=!1}}),Ue({target:"Object",stat:!0,forced:!a,sham:!y},{create:hn,defineProperty:lt,defineProperties:Yt,getOwnPropertyDescriptor:Jn}),Ue({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:ur,getOwnPropertySymbols:Lr}),Ue({target:"Object",stat:!0,forced:ee(function(){xt.f(1)})},{getOwnPropertySymbols:function(ir){return xt.f(xe(ir))}}),Se){var Fr=!a||ee(function(){var fr=ge();return Se([fr])!="[null]"||Se({a:fr})!="{}"||Se(Object(fr))!="{}"});Ue({target:"JSON",stat:!0,forced:Fr},{stringify:function(ir,hr,Hr){for(var zr=[ir],La=1,cr;arguments.length>La;)zr.push(arguments[La++]);if(cr=hr,!(!ne(hr)&&ir===void 0||ae(ir)))return te(hr)||(hr=function(ao,no){if(typeof cr=="function"&&(no=cr.call(this,ao,no)),!ae(no))return no}),zr[1]=hr,Se.apply(null,zr)}})}ge[Wn][Xe]||ct(ge[Wn],Xe,ge[Wn].valueOf),Rn(ge,zn),Rt[wt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/dom-iterables.js"),be=ce("./node_modules/core-js/internals/array-for-each.js"),ie=ce("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in Fe){var a=Ue[y],ee=a&&a.prototype;if(ee&&ee.forEach!==be)try{ie(ee,"forEach",be)}catch(b){ee.forEach=be}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(we,De,ce){var Ue=ce("./node_modules/core-js/internals/global.js"),Fe=ce("./node_modules/core-js/internals/dom-iterables.js"),be=ce("./node_modules/core-js/modules/es.array.iterator.js"),ie=ce("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=ce("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),b=be.values;for(var te in Fe){var ne=Ue[te],ae=ne&&ne.prototype;if(ae){if(ae[a]!==b)try{ie(ae,a,b)}catch(xe){ae[a]=b}if(ae[ee]||ie(ae,ee,te),Fe[te]){for(var fe in be)if(ae[fe]!==be[fe])try{ie(ae,fe,be[fe])}catch(xe){ae[fe]=be[fe]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(we){(function(De,ce){we.exports=ce()})(this,function(){"use strict";function De(It){var on=typeof It;return It!==null&&(on==="object"||on==="function")}function ce(It){return typeof It=="function"}var Ue=void 0;Array.isArray?Ue=Array.isArray:Ue=function(It){return Object.prototype.toString.call(It)==="[object Array]"};var Fe=Ue,be=0,ie=void 0,y=void 0,a=function(on,Mt){ke[be]=on,ke[be+1]=Mt,be+=2,be===2&&(y?y(ht):xt())};function ee(It){y=It}function b(It){a=It}var te=typeof window!="undefined"?window:void 0,ne=te||{},ae=ne.MutationObserver||ne.WebKitMutationObserver,fe=typeof self=="undefined"&&typeof le!="undefined"&&{}.toString.call(le)==="[object process]",xe=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return le.nextTick(ht)}}function Ne(){return typeof ie!="undefined"?function(){ie(ht)}:et()}function Ge(){var It=0,on=new ae(ht),Mt=document.createTextNode("");return on.observe(Mt,{characterData:!0}),function(){Mt.data=It=++It%2}}function Ye(){var It=new MessageChannel;return It.port1.onmessage=ht,function(){return It.port2.postMessage(0)}}function et(){var It=setTimeout;return function(){return It(ht,1)}}var ke=new Array(1e3);function ht(){for(var It=0;It>1,ce=-7,Ue=Ce?nt-1:0,Fe=Ce?-1:1,be=ve[le+Ue];for(Ue+=Fe,ze=be&(1<<-ce)-1,be>>=-ce,ce+=Be;ce>0;ze=ze*256+ve[le+Ue],Ue+=Fe,ce-=8);for(Re=ze&(1<<-ce)-1,ze>>=-ce,ce+=je;ce>0;Re=Re*256+ve[le+Ue],Ue+=Fe,ce-=8);if(ze===0)ze=1-De;else{if(ze===we)return Re?NaN:(be?-1:1)*(1/0);Re=Re+Math.pow(2,je),ze=ze-De}return(be?-1:1)*Re*Math.pow(2,ze-je)},Ut.write=function(ve,le,Ce,je,nt,ze){var Re,Be,we,De=ze*8-nt-1,ce=(1<>1,Fe=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,be=je?0:ze-1,ie=je?1:-1,y=le<0||le===0&&1/le<0?1:0;for(le=Math.abs(le),isNaN(le)||le===1/0?(Be=isNaN(le)?1:0,Re=ce):(Re=Math.floor(Math.log(le)/Math.LN2),le*(we=Math.pow(2,-Re))<1&&(Re--,we*=2),Re+Ue>=1?le+=Fe/we:le+=Fe*Math.pow(2,1-Ue),le*we>=2&&(Re++,we/=2),Re+Ue>=ce?(Be=0,Re=ce):Re+Ue>=1?(Be=(le*we-1)*Math.pow(2,nt),Re=Re+Ue):(Be=le*Math.pow(2,Ue-1)*Math.pow(2,nt),Re=0));nt>=8;ve[Ce+be]=Be&255,be+=ie,Be/=256,nt-=8);for(Re=Re<0;ve[Ce+be]=Re&255,be+=ie,Re/=256,De-=8);ve[Ce+be-ie]|=y*128}},53307:function(Vt,Ut,ve){"use strict";ve.r(Ut),ve.d(Ut,{AcroForm:function(){return vu},AcroFormAppearance:function(){return wa},AcroFormButton:function(){return jo},AcroFormCheckBox:function(){return ki},AcroFormChoiceField:function(){return Ea},AcroFormComboBox:function(){return to},AcroFormEditBox:function(){return Xa},AcroFormListBox:function(){return ti},AcroFormPasswordField:function(){return Ho},AcroFormPushButton:function(){return gi},AcroFormRadioButton:function(){return No},AcroFormTextField:function(){return wi},GState:function(){return $g},ShadingPattern:function(){return ed},TilingPattern:function(){return td},default:function(){return po},jsPDF:function(){return po}});var le=ve(76190),Ce={},je=function(E,z,x,re,oe){var Ae=new Worker(Ce[z]||(Ce[z]=URL.createObjectURL(new Blob([E+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ae.onmessage=function(Ie){var Ee=Ie.data,Qe=Ee.$e$;if(Qe){var Te=new Error(Qe[0]);Te.code=Qe[1],Te.stack=Qe[2],oe(Te,null)}else oe(null,Ee)},Ae.postMessage(x,re),Ae},nt=Uint8Array,ze=Uint16Array,Re=Int32Array,Be=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]),we=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]),De=new nt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ce=function(E,z){for(var x=new ze(31),re=0;re<31;++re)x[re]=z+=1<>1|(b&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[b]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(E,z,x){for(var re=E.length,oe=0,Ae=new ze(z);oe>Qe]=Te}else for(Ee=new ze(re),oe=0;oe>15-E[oe]);return Ee},ae=new nt(288),b=0;b<144;++b)ae[b]=8;for(var b=144;b<256;++b)ae[b]=9;for(var b=256;b<280;++b)ae[b]=7;for(var b=280;b<288;++b)ae[b]=8;for(var fe=new nt(32),b=0;b<32;++b)fe[b]=5;var xe=ne(ae,9,0),Pe=null,Ne=ne(fe,5,0),Ge=null,Ye=function(E){for(var z=E[0],x=1;xz&&(z=E[x]);return z},et=function(E,z,x){var re=z/8|0;return(E[re]|E[re+1]<<8)>>(z&7)&x},ke=function(E,z){var x=z/8|0;return(E[x]|E[x+1]<<8|E[x+2]<<16)>>(z&7)},ht=function(E){return(E+7)/8|0},Oe=function(E,z,x){return(z==null||z<0)&&(z=0),(x==null||x>E.length)&&(x=E.length),new nt(E.subarray(z,x))},xt={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},ut=["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"],ot=function(E,z,x){var re=new Error(z||ut[E]);if(re.code=E,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!x)throw re;return re},Et=function(E,z,x,re){var oe=E.length,Ae=re?re.length:0;if(!oe||z.f&&!z.l)return x||new nt(0);var Ie=!x,Ee=Ie||z.i!=2,Qe=z.i;Ie&&(x=new nt(oe*3));var Te=function(ca){var Ma=x.length;if(ca>Ma){var Qa=new nt(Math.max(Ma*2,ca));Qa.set(x),x=Qa}},Ze=z.f||0,dt=z.p||0,St=z.b||0,We=z.l,Wt=z.d,_t=z.m,Zt=z.n,Qt=oe*8;do{if(!We){Ze=et(E,dt,1);var Nn=et(E,dt+1,3);if(dt+=3,Nn)if(Nn==1)We=Pe,Wt=Ge,_t=9,Zt=5;else if(Nn==2){var Ur=et(E,dt,31)+257,pr=et(E,dt+10,15)+4,Tn=Ur+et(E,dt+5,31)+1;dt+=14;for(var ln=new nt(Tn),Xn=new nt(19),Dt=0;Dt>4;if(pn<16)ln[Dt++]=pn;else{var mr=0,wr=0;for(pn==16?(wr=3+et(E,dt,3),dt+=2,mr=ln[Dt-1]):pn==17?(wr=3+et(E,dt,7),dt+=3):pn==18&&(wr=11+et(E,dt,127),dt+=7);wr--;)ln[Dt++]=mr}}var rr=ln.subarray(0,Ur),Er=ln.subarray(Ur);_t=Ye(rr),Zt=Ye(Er),We=ne(rr,_t,1),Wt=ne(Er,Zt,1)}else ot(1);else{var pn=ht(dt)+4,sn=E[pn-4]|E[pn-3]<<8,or=pn+sn;if(or>oe){Qe&&ot(0);break}Ee&&Te(St+sn),x.set(E.subarray(pn,or),St),z.b=St+=sn,z.p=dt=or*8,z.f=Ze;continue}if(dt>Qt){Qe&&ot(0);break}}Ee&&Te(St+131072);for(var fa=(1<<_t)-1,Vr=(1<>4;if(dt+=mr&15,dt>Qt){Qe&&ot(0);break}if(mr||ot(2),an<256)x[St++]=an;else if(an==256){Lt=dt,We=null;break}else{var gn=an-254;if(an>264){var Dt=an-257,Qn=Be[Dt];gn=et(E,dt,(1<>4;_n||ot(3),dt+=_n&15;var Er=y[tr];if(tr>3){var Qn=we[tr];Er+=ke(E,dt)&(1<Qt){Qe&&ot(0);break}Ee&&Te(St+131072);var vr=St+gn;if(St>8},Bt=function(E,z,x){x<<=z&7;var re=z/8|0;E[re]|=x,E[re+1]|=x>>8,E[re+2]|=x>>16},st=function(E,z){for(var x=[],re=0;reSt&&(St=Ae[re].s);var We=new ze(St+1),Wt=rt(x[Ze-1],We,0);if(Wt>z){var re=0,_t=0,Zt=Wt-z,Qt=1<z)_t+=Qt-(1<>=Zt;_t>0;){var pn=Ae[re].s;We[pn]=0&&_t;--re){var sn=Ae[re].s;We[sn]==z&&(--We[sn],++_t)}Wt=z}return{t:new nt(We),l:Wt}},rt=function(E,z,x){return E.s==-1?Math.max(rt(E.l,z,x+1),rt(E.r,z,x+1)):z[E.s]=x},Rt=function(E){for(var z=E.length;z&&!E[--z];);for(var x=new ze(++z),re=0,oe=E[0],Ae=1,Ie=function(Qe){x[re++]=Qe},Ee=1;Ee<=z;++Ee)if(E[Ee]==oe&&Ee!=z)++Ae;else{if(!oe&&Ae>2){for(;Ae>138;Ae-=138)Ie(32754);Ae>2&&(Ie(Ae>10?Ae-11<<5|28690:Ae-3<<5|12305),Ae=0)}else if(Ae>3){for(Ie(oe),--Ae;Ae>6;Ae-=6)Ie(8304);Ae>2&&(Ie(Ae-3<<5|8208),Ae=0)}for(;Ae--;)Ie(oe);Ae=1,oe=E[Ee]}return{c:x.subarray(0,re),n:z}},An=function(E,z){for(var x=0,re=0;re>8,E[oe+2]=E[oe]^255,E[oe+3]=E[oe+1]^255;for(var Ae=0;Ae4&&!Xn[De[Xt-1]];--Xt);var xn=Te+5<<3,wn=An(oe,ae)+An(Ae,fe)+Ie,sr=An(oe,St)+An(Ae,_t)+Ie+14+3*Xt+An(pr,Xn)+2*pr[16]+3*pr[17]+7*pr[18];if(Qe>=0&&xn<=wn&&xn<=sr)return ft(z,Ze,E.subarray(Qe,Qe+Te));var mr,wr,rr,Er;if(ct(z,Ze,1+(sr15&&(ct(z,Ze,an[Tn]>>5&127),Ze+=an[Tn]>>12)}}else mr=xe,wr=ae,rr=Ne,Er=fe;for(var Tn=0;Tn255){var gn=Qn>>18&31;Bt(z,Ze,mr[gn+257]),Ze+=wr[gn+257],gn>7&&(ct(z,Ze,Qn>>23&31),Ze+=Be[gn]);var _n=Qn&31;Bt(z,Ze,rr[_n]),Ze+=Er[_n],_n>3&&(Bt(z,Ze,Qn>>5&8191),Ze+=we[_n])}else Bt(z,Ze,mr[Qn]),Ze+=wr[Qn]}return Bt(z,Ze,mr[256]),Ze+wr[256]},yn=new Re([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Rn=new nt(0),un=function(E,z,x,re,oe,Ae){var Ie=Ae.z||E.length,Ee=new nt(re+Ie+5*(1+Math.ceil(Ie/7e3))+oe),Qe=Ee.subarray(re,Ee.length-oe),Te=Ae.l,Ze=(Ae.r||0)&7;if(z){Ze&&(Qe[0]=Ae.r>>3);for(var dt=yn[z-1],St=dt>>13,We=dt&8191,Wt=(1<7e3||Xn>24576)&&(mr>423||!Te)){Ze=Nt(E,Qe,0,sn,or,Ur,Tn,Xn,Xt,ln-Xt,Ze),Xn=pr=Tn=0,Xt=ln;for(var wr=0;wr<286;++wr)or[wr]=0;for(var wr=0;wr<30;++wr)Ur[wr]=0}var rr=2,Er=0,fa=We,Vr=wn-sr&32767;if(mr>2&&xn==pn(ln-Vr))for(var Lt=Math.min(St,mr)-1,an=Math.min(32767,ln),gn=Math.min(258,mr);Vr<=an&&--fa&&wn!=sr;){if(E[ln+rr]==E[ln+rr-Vr]){for(var Qn=0;Qnrr){if(rr=Qn,Er=Vr,Qn>Lt)break;for(var _n=Math.min(Vr,Qn-2),tr=0,wr=0;wr<_n;++wr){var vr=ln-Vr+wr&32767,yr=_t[vr],jr=vr-yr&32767;jr>tr&&(tr=jr,sr=vr)}}}wn=sr,sr=_t[wn],Vr+=wn-sr&32767}if(Er){sn[Xn++]=268435456|be[rr]<<18|a[Er];var ca=be[rr]&31,Ma=a[Er]&31;Tn+=Be[ca]+we[Ma],++or[257+ca],++Ur[Ma],Dt=ln+rr,++pr}else sn[Xn++]=E[ln],++or[E[ln]]}}for(ln=Math.max(ln,Dt);ln=Ie&&(Qe[Ze/8|0]=Te,Qa=Ie),Ze=ft(Qe,Ze+1,E.subarray(ln,Qa))}Ae.i=Ie}return Oe(Ee,0,re+ht(Ze)+oe)},Kn=null,wt=function(){var E=-1;return{p:function(z){for(var x=E,re=0;re>>8;E=x},d:function(){return~E}}},zn=function(){var E=1,z=0;return{p:function(x){for(var re=E,oe=z,Ae=x.length|0,Ie=0;Ie!=Ae;){for(var Ee=Math.min(Ie+2655,Ae);Ie>16),oe=(oe&65535)+15*(oe>>16)}E=re,z=oe},d:function(){return E%=65521,z%=65521,(E&255)<<24|(E&65280)<<8|(z&255)<<8|z>>8}}},Wn=function(E,z,x,re,oe){if(!oe&&(oe={l:1},z.dictionary)){var Ae=z.dictionary.subarray(-32768),Ie=new nt(Ae.length+E.length);Ie.set(Ae),Ie.set(E,Ae.length),E=Ie,oe.w=Ae.length}return un(E,z.level==null?6:z.level,z.mem==null?oe.l?Math.ceil(Math.max(8,Math.min(13,Math.log(E.length)))*1.5):20:12+z.mem,x,re,oe)},Xe=function(E,z){var x={};for(var re in E)x[re]=E[re];for(var re in z)x[re]=z[re];return x},fn=function(E,z,x){for(var re=E(),oe=E.toString(),Ae=oe.slice(oe.indexOf("[")+1,oe.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},En=function(E,z){return Mt(E,z)+Mt(E,z+4)*4294967296},lt=function(E,z,x){for(;x;++z)E[z]=x,x>>>=8},Yt=function(E,z){var x=z.filename;if(E[0]=31,E[1]=139,E[2]=8,E[8]=z.level<2?4:z.level==9?2:0,E[9]=3,z.mtime!=0&<(E,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){E[3]=8;for(var re=0;re<=x.length;++re)E[re+10]=x.charCodeAt(re)}},hn=function(E){(E[0]!=31||E[1]!=139||E[2]!=8)&&ot(6,"invalid gzip data");var z=E[3],x=10;z&4&&(x+=(E[10]|E[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!E[x++]);return x+(z&2)},Sn=function(E){var z=E.length;return(E[z-4]|E[z-3]<<8|E[z-2]<<16|E[z-1]<<24)>>>0},Jn=function(E){return 10+(E.filename?E.filename.length+1:0)},ur=function(E,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(E[0]=120,E[1]=re<<6|(z.dictionary&&32),E[1]|=31-(E[0]<<8|E[1])%31,z.dictionary){var oe=zn();oe.p(z.dictionary),lt(E,2,oe.d())}},Lr=function(E,z){return((E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31)&&ot(6,"invalid zlib data"),(E[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(E[1]&32?"need":"unexpected")+" dictionary"),(E[1]>>3&4)+2};function Fr(E,z){return typeof E=="function"&&(z=E,E={}),this.ondata=z,E}var fr=null,ir=null;function hr(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[qe],function(re){return gt(Hr(re.data[0],re.data[1]))},0,x)}function Hr(E,z){return Wn(E,z||{},0,0)}var zr=null,La=null;function cr(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[Se],function(re){return gt(ao(re.data[0],At(re.data[1])))},1,x)}function ao(E,z){return Et(E,{i:2},z&&z.out,z&&z.dictionary)}var no=null,Yr=null;function rn(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[qe,pt,function(){return[hi]}],function(re){return gt(hi(re.data[0],re.data[1]))},2,x)}function hi(E,z){z||(z={});var x=wt(),re=E.length;x.p(E);var oe=Wn(E,z,Jn(z),8),Ae=oe.length;return Yt(oe,z),lt(oe,Ae-8,x.d()),lt(oe,Ae-4,re),oe}var ha=null,Li=null;function Wi(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[Se,He,function(){return[Na]}],function(re){return gt(Na(re.data[0],re.data[1]))},3,x)}function Na(E,z){var x=hn(E);return x+8>E.length&&ot(6,"invalid gzip data"),Et(E.subarray(x,-8),{i:2},z&&z.out||new nt(Sn(E)),z&&z.dictionary)}var Zi=null,as=null;function mn(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[qe,Ve,function(){return[Cn]}],function(re){return gt(Cn(re.data[0],re.data[1]))},4,x)}function Cn(E,z){z||(z={});var x=zn();x.p(E);var re=Wn(E,z,z.dictionary?6:2,4);return ur(re,z),lt(re,re.length-4,x.d()),re}var Fn=null,gr=null;function aa(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(E,z,[Se,bt,function(){return[oa]}],function(re){return gt(oa(re.data[0],At(re.data[1])))},5,x)}function oa(E,z){return Et(E.subarray(Lr(E,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var ma=null,pa=null;function da(E,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),E[0]==31&&E[1]==139&&E[2]==8?Wi(E,z,x):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?cr(E,z,x):aa(E,z,x)}function co(E,z){return E[0]==31&&E[1]==139&&E[2]==8?Na(E,z):(E[0]&15)!=8||E[0]>>4>7||(E[0]<<8|E[1])%31?ao(E,z):oa(E,z)}var Ti=function(E,z,x,re){for(var oe in E){var Ae=E[oe],Ie=z+oe,Ee=re;Array.isArray(Ae)&&(Ee=Xe(re,Ae[1]),Ae=Ae[0]),Ae instanceof nt?x[Ie]=[Ae,Ee]:(x[Ie+="/"]=[new nt(0),Ee],Ti(Ae,Ie,x,re))}},li=typeof TextEncoder!="undefined"&&new TextEncoder,kr=typeof TextDecoder!="undefined"&&new TextDecoder,Ua=0;try{kr.decode(Rn,{stream:!0}),Ua=1}catch(E){}var Ki=function(E){for(var z="",x=0;;){var re=E[x++],oe=(re>127)+(re>223)+(re>239);if(x+oe>E.length)return{s:z,r:Oe(E,x-1)};oe?oe==3?(re=((re&15)<<18|(E[x++]&63)<<12|(E[x++]&63)<<6|E[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):oe&1?z+=String.fromCharCode((re&31)<<6|E[x++]&63):z+=String.fromCharCode((re&15)<<12|(E[x++]&63)<<6|E[x++]&63):z+=String.fromCharCode(re)}},$o=null,Uo=null;function xo(E,z){if(z){for(var x=new nt(E.length),re=0;re>1)),Ie=0,Ee=function(Ze){Ae[Ie++]=Ze},re=0;reAe.length){var Qe=new nt(Ie+8+(oe-re<<1));Qe.set(Ae),Ae=Qe}var Te=E.charCodeAt(re);Te<128||z?Ee(Te):Te<2048?(Ee(192|Te>>6),Ee(128|Te&63)):Te>55295&&Te<57344?(Te=65536+(Te&1047552)|E.charCodeAt(++re)&1023,Ee(240|Te>>18),Ee(128|Te>>12&63),Ee(128|Te>>6&63),Ee(128|Te&63)):(Ee(224|Te>>12),Ee(128|Te>>6&63),Ee(128|Te&63))}return Oe(Ae,0,Ie)}function qi(E,z){if(z){for(var x="",re=0;re65535&&ot(9),z+=re+4}return z},lA=function(E,z,x,re,oe,Ae,Ie,Ee){var Qe=re.length,Te=x.extra,Ze=Ee&&Ee.length,dt=Ui(Te);lt(E,z,Ie!=null?33639248:67324752),z+=4,Ie!=null&&(E[z++]=20,E[z++]=x.os),E[z]=20,z+=2,E[z++]=x.flag<<1|(Ae<0&&8),E[z++]=oe&&8,E[z++]=x.compression&255,E[z++]=x.compression>>8;var St=new Date(x.mtime==null?Date.now():x.mtime),We=St.getFullYear()-1980;if((We<0||We>119)&&ot(10),lt(E,z,We<<25|St.getMonth()+1<<21|St.getDate()<<16|St.getHours()<<11|St.getMinutes()<<5|St.getSeconds()>>1),z+=4,Ae!=-1&&(lt(E,z,x.crc),lt(E,z+4,Ae<0?-Ae-2:Ae),lt(E,z+8,x.size)),lt(E,z+12,Qe),lt(E,z+14,dt),z+=16,Ie!=null&&(lt(E,z,Ze),lt(E,z+6,x.attrs),lt(E,z+10,Ie),z+=14),E.set(re,z),z+=Qe,dt)for(var Wt in Te){var _t=Te[Wt],Zt=_t.length;lt(E,z,+Wt),lt(E,z+2,Zt),E.set(_t,z+4),z+=4+Zt}return Ze&&(E.set(Ee,z),z+=Ze),z},Bl=function(E,z,x,re,oe){lt(E,z,101010256),lt(E,z+8,x),lt(E,z+10,x),lt(E,z+12,re),lt(E,z+16,oe)},Ir=null,qA=null,Eu=null,wl=null;function yl(E,z,x){x||(x=z,z={}),typeof x!="function"&&ot(7);var re={};Ti(E,"",re,z);var oe=Object.keys(re),Ae=oe.length,Ie=0,Ee=0,Qe=Ae,Te=new Array(Ae),Ze=[],dt=function(){for(var Zt=0;Zt65535&&wn(ot(11,0,1),null),!xn)wn(null,pn);else if(Ur<16e4)try{wn(null,Hr(pn,sn))}catch(sr){wn(sr,null)}else Ze.push(hr(pn,sn,wn))},_t=0;_t65535&&ot(11);var Qt=Ze?Hr(Qe,Te):Qe,Nn=Qt.length,pn=wt();pn.p(Qe),re.push(Xe(Te,{size:Qe.length,crc:pn.d(),c:Qt,f:dt,m:Wt,u:St!=Ie.length||Wt&&We.length!=_t,o:oe,compression:Ze})),oe+=30+St+Zt+Nn,Ae+=76+2*(St+Zt)+(_t||0)+Nn}for(var sn=new nt(Ae+22),or=oe,Ur=Ae-oe,pr=0;pr65558)return Ie(ot(13,0,1),null),oe;var Qe=on(E,Ee+8);if(Qe){var Te=Qe,Ze=Mt(E,Ee+16),dt=Ze==4294967295||Te==65535;if(dt){var St=Mt(E,Ee-12);dt=Mt(E,St)==101075792,dt&&(Te=Qe=Mt(E,St+32),Ze=Mt(E,St+48))}for(var We=z&&z.filter,Wt=function(Zt){var Qt=os(E,Ze,dt),Nn=Qt[0],pn=Qt[1],sn=Qt[2],or=Qt[3],Ur=Qt[4],pr=Qt[5],Tn=Ys(E,pr);Ze=Ur;var ln=function(Dt,Xt){Dt?(oe(),Ie(Dt,null)):(Xt&&(Ae[or]=Xt),--Qe||Ie(null,Ae))};if(!We||We({name:or,size:pn,originalSize:sn,compression:Nn}))if(!Nn)ln(null,Oe(E,Tn,Tn+pn));else if(Nn==8){var Xn=E.subarray(Tn,Tn+pn);if(sn<524288||pn>.8*sn)try{ln(null,ao(Xn,{out:new nt(sn)}))}catch(Dt){ln(Dt,null)}else re.push(cr(Xn,{size:sn},ln))}else ln(ot(14,"unknown compression type "+Nn,1),null);else ln(null,null)},_t=0;_t65558)&&ot(13);var oe=on(E,re+8);if(!oe)return{};var Ae=Mt(E,re+16),Ie=Ae==4294967295||oe==65535;if(Ie){var Ee=Mt(E,re-12);Ie=Mt(E,Ee)==101075792,Ie&&(oe=Mt(E,Ee+32),Ae=Mt(E,Ee+48))}for(var Qe=z&&z.filter,Te=0;Te{const E=new Uint8Array(4),z=new Uint32Array(E.buffer);return!((z[0]=1)&E[0])})(),Ru={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class Sl{constructor(z=wc,x={}){ys(this,"buffer");ys(this,"byteLength");ys(this,"byteOffset");ys(this,"length");ys(this,"offset");ys(this,"lastWrittenByte");ys(this,"littleEndian");ys(this,"_data");ys(this,"_mark");ys(this,"_marks");let re=!1;typeof z=="number"?z=new ArrayBuffer(z):(re=!0,this.lastWrittenByte=z.byteLength);const oe=x.offset?x.offset>>>0:0,Ae=z.byteLength-oe;let Ie=oe;(ArrayBuffer.isView(z)||z instanceof Sl)&&(z.byteLength!==z.buffer.byteLength&&(Ie=z.byteOffset+oe),z=z.buffer),re?this.lastWrittenByte=Ae:this.lastWrittenByte=0,this.buffer=z,this.length=Ae,this.byteLength=Ae,this.byteOffset=Ie,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,Ie,Ae),this._mark=0,this._marks=[]}available(z=1){return this.offset+z<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(z=1){return this.offset+=z,this}back(z=1){return this.offset-=z,this}seek(z){return this.offset=z,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const z=this._marks.pop();if(z===void 0)throw new Error("Mark stack empty");return this.seek(z),this}rewind(){return this.offset=0,this}ensureAvailable(z=1){if(!this.available(z)){const re=(this.offset+z)*2,oe=new Uint8Array(re);oe.set(new Uint8Array(this.buffer)),this.buffer=oe.buffer,this.length=re,this.byteLength=re,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(z=1){return this.readArray(z,"uint8")}readArray(z,x){const re=Ru[x].BYTES_PER_ELEMENT*z,oe=this.byteOffset+this.offset,Ae=this.buffer.slice(oe,oe+re);if(this.littleEndian===Nl&&x!=="uint8"&&x!=="int8"){const Ee=new Uint8Array(this.buffer.slice(oe,oe+re));Ee.reverse();const Qe=new Ru[x](Ee.buffer);return this.offset+=re,Qe.reverse(),Qe}const Ie=new Ru[x](Ae);return this.offset+=re,Ie}readInt16(){const z=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,z}readUint16(){const z=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,z}readInt32(){const z=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,z}readUint32(){const z=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat32(){const z=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,z}readFloat64(){const z=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,z}readBigInt64(){const z=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,z}readBigUint64(){const z=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,z}readChar(){return String.fromCharCode(this.readInt8())}readChars(z=1){let x="";for(let re=0;rethis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Cu=4,bu=0,IA=1,Pu=2;function Al(E){let z=E.length;for(;--z>=0;)E[z]=0}const xu=0,NA=1,ou=2,Fu=3,dn=258,KA=29,iu=256,DA=iu+1+KA,$A=30,su=19,ju=2*DA+1,Dl=15,ks=16,fA=7,ec=256,Vi=16,Au=17,tc=18,Hu=new Uint8Array([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]),Ia=new Uint8Array([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]),Gt=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Ot=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),cn=512,dr=new Array((DA+2)*2);Al(dr);const Cr=new Array($A*2);Al(Cr);const ya=new Array(cn);Al(ya);const la=new Array(dn-Fu+1);Al(la);const Nr=new Array(KA);Al(Nr);const Rr=new Array($A);Al(Rr);function za(E,z,x,re,oe){this.static_tree=E,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=oe,this.has_stree=E&&E.length}let Yo,Ko,Wa;function Io(E,z){this.dyn_tree=E,this.max_code=0,this.stat_desc=z}const Ln=E=>E<256?ya[E]:ya[256+(E>>>7)],vn=(E,z)=>{E.pending_buf[E.pending++]=z&255,E.pending_buf[E.pending++]=z>>>8&255},Dn=(E,z,x)=>{E.bi_valid>ks-x?(E.bi_buf|=z<>ks-E.bi_valid,E.bi_valid+=x-ks):(E.bi_buf|=z<{Dn(E,x[z*2],x[z*2+1])},lr=(E,z)=>{let x=0;do x|=E&1,E>>>=1,x<<=1;while(--z>0);return x>>>1},_r=E=>{E.bi_valid===16?(vn(E,E.bi_buf),E.bi_buf=0,E.bi_valid=0):E.bi_valid>=8&&(E.pending_buf[E.pending++]=E.bi_buf&255,E.bi_buf>>=8,E.bi_valid-=8)},$n=(E,z)=>{const x=z.dyn_tree,re=z.max_code,oe=z.stat_desc.static_tree,Ae=z.stat_desc.has_stree,Ie=z.stat_desc.extra_bits,Ee=z.stat_desc.extra_base,Qe=z.stat_desc.max_length;let Te,Ze,dt,St,We,Wt,_t=0;for(St=0;St<=Dl;St++)E.bl_count[St]=0;for(x[E.heap[E.heap_max]*2+1]=0,Te=E.heap_max+1;TeQe&&(St=Qe,_t++),x[Ze*2+1]=St,!(Ze>re)&&(E.bl_count[St]++,We=0,Ze>=Ee&&(We=Ie[Ze-Ee]),Wt=x[Ze*2],E.opt_len+=Wt*(St+We),Ae&&(E.static_len+=Wt*(oe[Ze*2+1]+We)));if(_t!==0){do{for(St=Qe-1;E.bl_count[St]===0;)St--;E.bl_count[St]--,E.bl_count[St+1]+=2,E.bl_count[Qe]--,_t-=2}while(_t>0);for(St=Qe;St!==0;St--)for(Ze=E.bl_count[St];Ze!==0;)dt=E.heap[--Te],!(dt>re)&&(x[dt*2+1]!==St&&(E.opt_len+=(St-x[dt*2+1])*x[dt*2],x[dt*2+1]=St),Ze--)}},$r=(E,z,x)=>{const re=new Array(Dl+1);let oe=0,Ae,Ie;for(Ae=1;Ae<=Dl;Ae++)oe=oe+x[Ae-1]<<1,re[Ae]=oe;for(Ie=0;Ie<=z;Ie++){let Ee=E[Ie*2+1];Ee!==0&&(E[Ie*2]=lr(re[Ee]++,Ee))}},ea=()=>{let E,z,x,re,oe;const Ae=new Array(Dl+1);for(x=0,re=0;re>=7;re<$A;re++)for(Rr[re]=oe<<7,E=0;E<1<{let z;for(z=0;z{E.bi_valid>8?vn(E,E.bi_buf):E.bi_valid>0&&(E.pending_buf[E.pending++]=E.bi_buf),E.bi_buf=0,E.bi_valid=0},Ar=(E,z,x,re)=>{const oe=z*2,Ae=x*2;return E[oe]{const re=E.heap[x];let oe=x<<1;for(;oe<=E.heap_len&&(oe{let re,oe,Ae=0,Ie,Ee;if(E.sym_next!==0)do re=E.pending_buf[E.sym_buf+Ae++]&255,re+=(E.pending_buf[E.sym_buf+Ae++]&255)<<8,oe=E.pending_buf[E.sym_buf+Ae++],re===0?Un(E,oe,z):(Ie=la[oe],Un(E,Ie+iu+1,z),Ee=Hu[Ie],Ee!==0&&(oe-=Nr[Ie],Dn(E,oe,Ee)),re--,Ie=Ln(re),Un(E,Ie,x),Ee=Ia[Ie],Ee!==0&&(re-=Rr[Ie],Dn(E,re,Ee)));while(Ae{const x=z.dyn_tree,re=z.stat_desc.static_tree,oe=z.stat_desc.has_stree,Ae=z.stat_desc.elems;let Ie,Ee,Qe=-1,Te;for(E.heap_len=0,E.heap_max=ju,Ie=0;Ie>1;Ie>=1;Ie--)fo(E,x,Ie);Te=Ae;do Ie=E.heap[1],E.heap[1]=E.heap[E.heap_len--],fo(E,x,1),Ee=E.heap[1],E.heap[--E.heap_max]=Ie,E.heap[--E.heap_max]=Ee,x[Te*2]=x[Ie*2]+x[Ee*2],E.depth[Te]=(E.depth[Ie]>=E.depth[Ee]?E.depth[Ie]:E.depth[Ee])+1,x[Ie*2+1]=x[Ee*2+1]=Te,E.heap[1]=Te++,fo(E,x,1);while(E.heap_len>=2);E.heap[--E.heap_max]=E.heap[1],$n(E,z),$r(x,Qe,E.bl_count)},Ra=(E,z,x)=>{let re,oe=-1,Ae,Ie=z[0*2+1],Ee=0,Qe=7,Te=4;for(Ie===0&&(Qe=138,Te=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)Ae=Ie,Ie=z[(re+1)*2+1],!(++Ee{let re,oe=-1,Ae,Ie=z[0*2+1],Ee=0,Qe=7,Te=4;for(Ie===0&&(Qe=138,Te=3),re=0;re<=x;re++)if(Ae=Ie,Ie=z[(re+1)*2+1],!(++Ee{let z;for(Ra(E,E.dyn_ltree,E.l_desc.max_code),Ra(E,E.dyn_dtree,E.d_desc.max_code),Xo(E,E.bl_desc),z=su-1;z>=3&&E.bl_tree[Ot[z]*2+1]===0;z--);return E.opt_len+=3*(z+1)+5+5+4,z},mi=(E,z,x,re)=>{let oe;for(Dn(E,z-257,5),Dn(E,x-1,5),Dn(E,re-4,4),oe=0;oe{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&E.dyn_ltree[x*2]!==0)return bu;if(E.dyn_ltree[9*2]!==0||E.dyn_ltree[10*2]!==0||E.dyn_ltree[13*2]!==0)return IA;for(x=32;x{Qo||(ea(),Qo=!0),E.l_desc=new Io(E.dyn_ltree,Yo),E.d_desc=new Io(E.dyn_dtree,Ko),E.bl_desc=new Io(E.bl_tree,Wa),E.bi_buf=0,E.bi_valid=0,va(E)},Ms=(E,z,x,re)=>{Dn(E,(xu<<1)+(re?1:0),3),qa(E),vn(E,x),vn(E,~x),x&&E.pending_buf.set(E.window.subarray(z,z+x),E.pending),E.pending+=x},Yi=E=>{Dn(E,NA<<1,3),Un(E,ec,dr),_r(E)},Xi=(E,z,x,re)=>{let oe,Ae,Ie=0;E.level>0?(E.strm.data_type===Pu&&(E.strm.data_type=Qr(E)),Xo(E,E.l_desc),Xo(E,E.d_desc),Ie=Ro(E),oe=E.opt_len+3+7>>>3,Ae=E.static_len+3+7>>>3,Ae<=oe&&(oe=Ae)):oe=Ae=x+5,x+4<=oe&&z!==-1?Ms(E,z,x,re):E.strategy===Cu||Ae===oe?(Dn(E,(NA<<1)+(re?1:0),3),Mo(E,dr,Cr)):(Dn(E,(ou<<1)+(re?1:0),3),mi(E,E.l_desc.max_code+1,E.d_desc.max_code+1,Ie+1),Mo(E,E.dyn_ltree,E.dyn_dtree)),va(E),re&&qa(E)},Kl=(E,z,x)=>(E.pending_buf[E.sym_buf+E.sym_next++]=z,E.pending_buf[E.sym_buf+E.sym_next++]=z>>8,E.pending_buf[E.sym_buf+E.sym_next++]=x,z===0?E.dyn_ltree[x*2]++:(E.matches++,z--,E.dyn_ltree[(la[x]+iu+1)*2]++,E.dyn_dtree[Ln(z)*2]++),E.sym_next===E.sym_end);var UA=zi,Qi=Ms,lu=Xi,Ca=Kl,ii=Yi,pi={_tr_init:UA,_tr_stored_block:Qi,_tr_flush_block:lu,_tr_tally:Ca,_tr_align:ii},Fo=(E,z,x,re)=>{let oe=E&65535|0,Ae=E>>>16&65535|0,Ie=0;for(;x!==0;){Ie=x>2e3?2e3:x,x-=Ie;do oe=oe+z[re++]|0,Ae=Ae+oe|0;while(--Ie);oe%=65521,Ae%=65521}return oe|Ae<<16|0};const yA=()=>{let E,z=[];for(var x=0;x<256;x++){E=x;for(var re=0;re<8;re++)E=E&1?3988292384^E>>>1:E>>>1;z[x]=E}return z},el=new Uint32Array(yA());var Ri=(E,z,x,re)=>{const oe=el,Ae=re+x;E^=-1;for(let Ie=re;Ie>>8^oe[(E^z[Ie])&255];return E^-1},uA={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},zl={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Ga,_tr_stored_block:Ts,_tr_flush_block:El,_tr_tally:cA,_tr_align:hs}=pi,{Z_NO_FLUSH:Ss,Z_PARTIAL_FLUSH:Lu,Z_FULL_FLUSH:Gc,Z_FINISH:SA,Z_BLOCK:Gl,Z_OK:Ls,Z_STREAM_END:uu,Z_STREAM_ERROR:bs,Z_DATA_ERROR:nc,Z_BUF_ERROR:Wl,Z_DEFAULT_COMPRESSION:cu,Z_FILTERED:yc,Z_HUFFMAN_ONLY:Iu,Z_RLE:Wc,Z_FIXED:zA,Z_DEFAULT_STRATEGY:Sc,Z_UNKNOWN:rc,Z_DEFLATED:Kr}=zl,lo=9,br=15,ho=8,rA=256+1+29,hA=30,Zl=19,Nu=2*rA+1,Vl=15,ja=3,aA=258,zo=aA+ja+1,OA=32,ms=42,kA=57,js=69,Yl=73,Cl=91,Xs=103,Gs=113,mA=666,ji=1,Du=2,Xl=3,ll=4,Pg=3,Uu=(E,z)=>(E.msg=uA[z],z),Bf=E=>E*2-(E>4?9:0),Ec=E=>{let z=E.length;for(;--z>=0;)E[z]=0},Wd=E=>{let z,x,re,oe=E.w_size;z=E.hash_size,re=z;do x=E.head[--re],E.head[re]=x>=oe?x-oe:0;while(--z);z=oe,re=z;do x=E.prev[--re],E.prev[re]=x>=oe?x-oe:0;while(--z)};let ac=(E,z,x)=>(z<{const z=E.state;let x=z.pending;x>E.avail_out&&(x=E.avail_out),x!==0&&(E.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),E.next_out),E.next_out+=x,z.pending_out+=x,E.total_out+=x,E.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},Ul=(E,z)=>{El(E,E.block_start>=0?E.block_start:-1,E.strstart-E.block_start,z),E.block_start=E.strstart,Jl(E.strm)},Ji=(E,z)=>{E.pending_buf[E.pending++]=z},Zc=(E,z)=>{E.pending_buf[E.pending++]=z>>>8&255,E.pending_buf[E.pending++]=z&255},wf=(E,z,x,re)=>{let oe=E.avail_in;return oe>re&&(oe=re),oe===0?0:(E.avail_in-=oe,z.set(E.input.subarray(E.next_in,E.next_in+oe),x),E.state.wrap===1?E.adler=Fo(E.adler,z,oe,x):E.state.wrap===2&&(E.adler=Ri(E.adler,z,oe,x)),E.next_in+=oe,E.total_in+=oe,oe)},yf=(E,z)=>{let x=E.max_chain_length,re=E.strstart,oe,Ae,Ie=E.prev_length,Ee=E.nice_match;const Qe=E.strstart>E.w_size-zo?E.strstart-(E.w_size-zo):0,Te=E.window,Ze=E.w_mask,dt=E.prev,St=E.strstart+aA;let We=Te[re+Ie-1],Wt=Te[re+Ie];E.prev_length>=E.good_match&&(x>>=2),Ee>E.lookahead&&(Ee=E.lookahead);do if(oe=z,!(Te[oe+Ie]!==Wt||Te[oe+Ie-1]!==We||Te[oe]!==Te[re]||Te[++oe]!==Te[re+1])){re+=2,oe++;do;while(Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&Te[++re]===Te[++oe]&&reIe){if(E.match_start=z,Ie=Ae,Ae>=Ee)break;We=Te[re+Ie-1],Wt=Te[re+Ie]}}while((z=dt[z&Ze])>Qe&&--x!==0);return Ie<=E.lookahead?Ie:E.lookahead},Vc=E=>{const z=E.w_size;let x,re,oe;do{if(re=E.window_size-E.lookahead-E.strstart,E.strstart>=z+(z-zo)&&(E.window.set(E.window.subarray(z,z+z-re),0),E.match_start-=z,E.strstart-=z,E.block_start-=z,E.insert>E.strstart&&(E.insert=E.strstart),Wd(E),re+=z),E.strm.avail_in===0)break;if(x=wf(E.strm,E.window,E.strstart+E.lookahead,re),E.lookahead+=x,E.lookahead+E.insert>=ja)for(oe=E.strstart-E.insert,E.ins_h=E.window[oe],E.ins_h=ac(E,E.ins_h,E.window[oe+1]);E.insert&&(E.ins_h=ac(E,E.ins_h,E.window[oe+ja-1]),E.prev[oe&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=oe,oe++,E.insert--,!(E.lookahead+E.insert{let x=E.pending_buf_size-5>E.w_size?E.w_size:E.pending_buf_size-5,re,oe,Ae,Ie=0,Ee=E.strm.avail_in;do{if(re=65535,Ae=E.bi_valid+42>>3,E.strm.avail_outoe+E.strm.avail_in&&(re=oe+E.strm.avail_in),re>Ae&&(re=Ae),re>8,E.pending_buf[E.pending-2]=~re,E.pending_buf[E.pending-1]=~re>>8,Jl(E.strm),oe&&(oe>re&&(oe=re),E.strm.output.set(E.window.subarray(E.block_start,E.block_start+oe),E.strm.next_out),E.strm.next_out+=oe,E.strm.avail_out-=oe,E.strm.total_out+=oe,E.block_start+=oe,re-=oe),re&&(wf(E.strm,E.strm.output,E.strm.next_out,re),E.strm.next_out+=re,E.strm.avail_out-=re,E.strm.total_out+=re)}while(Ie===0);return Ee-=E.strm.avail_in,Ee&&(Ee>=E.w_size?(E.matches=2,E.window.set(E.strm.input.subarray(E.strm.next_in-E.w_size,E.strm.next_in),0),E.strstart=E.w_size,E.insert=E.strstart):(E.window_size-E.strstart<=Ee&&(E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,E.insert>E.strstart&&(E.insert=E.strstart)),E.window.set(E.strm.input.subarray(E.strm.next_in-Ee,E.strm.next_in),E.strstart),E.strstart+=Ee,E.insert+=Ee>E.w_size-E.insert?E.w_size-E.insert:Ee),E.block_start=E.strstart),E.high_waterAe&&E.block_start>=E.w_size&&(E.block_start-=E.w_size,E.strstart-=E.w_size,E.window.set(E.window.subarray(E.w_size,E.w_size+E.strstart),0),E.matches<2&&E.matches++,Ae+=E.w_size,E.insert>E.strstart&&(E.insert=E.strstart)),Ae>E.strm.avail_in&&(Ae=E.strm.avail_in),Ae&&(wf(E.strm,E.window,E.strstart,Ae),E.strstart+=Ae,E.insert+=Ae>E.w_size-E.insert?E.w_size-E.insert:Ae),E.high_water>3,Ae=E.pending_buf_size-Ae>65535?65535:E.pending_buf_size-Ae,x=Ae>E.w_size?E.w_size:Ae,oe=E.strstart-E.block_start,(oe>=x||(oe||z===SA)&&z!==Ss&&E.strm.avail_in===0&&oe<=Ae)&&(re=oe>Ae?Ae:oe,Ie=z===SA&&E.strm.avail_in===0&&re===oe?1:0,Ts(E,E.block_start,re,Ie),E.block_start+=re,Jl(E.strm)),Ie?Xl:ji)},xg=(E,z)=>{let x,re;for(;;){if(E.lookahead=ja&&(E.ins_h=ac(E,E.ins_h,E.window[E.strstart+ja-1]),x=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),x!==0&&E.strstart-x<=E.w_size-zo&&(E.match_length=yf(E,x)),E.match_length>=ja)if(re=cA(E,E.strstart-E.match_start,E.match_length-ja),E.lookahead-=E.match_length,E.match_length<=E.max_lazy_match&&E.lookahead>=ja){E.match_length--;do E.strstart++,E.ins_h=ac(E,E.ins_h,E.window[E.strstart+ja-1]),x=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart;while(--E.match_length!==0);E.strstart++}else E.strstart+=E.match_length,E.match_length=0,E.ins_h=E.window[E.strstart],E.ins_h=ac(E,E.ins_h,E.window[E.strstart+1]);else re=cA(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++;if(re&&(Ul(E,!1),E.strm.avail_out===0))return ji}return E.insert=E.strstart{let x,re,oe;for(;;){if(E.lookahead=ja&&(E.ins_h=ac(E,E.ins_h,E.window[E.strstart+ja-1]),x=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart),E.prev_length=E.match_length,E.prev_match=E.match_start,E.match_length=ja-1,x!==0&&E.prev_length4096)&&(E.match_length=ja-1)),E.prev_length>=ja&&E.match_length<=E.prev_length){oe=E.strstart+E.lookahead-ja,re=cA(E,E.strstart-1-E.prev_match,E.prev_length-ja),E.lookahead-=E.prev_length-1,E.prev_length-=2;do++E.strstart<=oe&&(E.ins_h=ac(E,E.ins_h,E.window[E.strstart+ja-1]),x=E.prev[E.strstart&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=E.strstart);while(--E.prev_length!==0);if(E.match_available=0,E.match_length=ja-1,E.strstart++,re&&(Ul(E,!1),E.strm.avail_out===0))return ji}else if(E.match_available){if(re=cA(E,0,E.window[E.strstart-1]),re&&Ul(E,!1),E.strstart++,E.lookahead--,E.strm.avail_out===0)return ji}else E.match_available=1,E.strstart++,E.lookahead--}return E.match_available&&(re=cA(E,0,E.window[E.strstart-1]),E.match_available=0),E.insert=E.strstart{let x,re,oe,Ae;const Ie=E.window;for(;;){if(E.lookahead<=aA){if(Vc(E),E.lookahead<=aA&&z===Ss)return ji;if(E.lookahead===0)break}if(E.match_length=0,E.lookahead>=ja&&E.strstart>0&&(oe=E.strstart-1,re=Ie[oe],re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe])){Ae=E.strstart+aA;do;while(re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe]&&oeE.lookahead&&(E.match_length=E.lookahead)}if(E.match_length>=ja?(x=cA(E,1,E.match_length-ja),E.lookahead-=E.match_length,E.strstart+=E.match_length,E.match_length=0):(x=cA(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++),x&&(Ul(E,!1),E.strm.avail_out===0))return ji}return E.insert=0,z===SA?(Ul(E,!0),E.strm.avail_out===0?Xl:ll):E.sym_next&&(Ul(E,!1),E.strm.avail_out===0)?ji:Du},n0=(E,z)=>{let x;for(;;){if(E.lookahead===0&&(Vc(E),E.lookahead===0)){if(z===Ss)return ji;break}if(E.match_length=0,x=cA(E,0,E.window[E.strstart]),E.lookahead--,E.strstart++,x&&(Ul(E,!1),E.strm.avail_out===0))return ji}return E.insert=0,z===SA?(Ul(E,!0),E.strm.avail_out===0?Xl:ll):E.sym_next&&(Ul(E,!1),E.strm.avail_out===0)?ji:Du};function MA(E,z,x,re,oe){this.good_length=E,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=oe}const pd=[new MA(0,0,0,0,md),new MA(4,4,8,4,xg),new MA(4,5,16,8,xg),new MA(4,6,32,32,xg),new MA(4,4,16,16,Yc),new MA(8,16,32,32,Yc),new MA(8,16,128,128,Yc),new MA(8,32,128,256,Yc),new MA(32,128,258,1024,Yc),new MA(32,258,258,4096,Yc)],r0=E=>{E.window_size=2*E.w_size,Ec(E.head),E.max_lazy_match=pd[E.level].max_lazy,E.good_match=pd[E.level].good_length,E.nice_match=pd[E.level].nice_length,E.max_chain_length=pd[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=ja-1,E.match_available=0,E.ins_h=0};function Je(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Kr,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Nu*2),this.dyn_dtree=new Uint16Array((2*hA+1)*2),this.bl_tree=new Uint16Array((2*Zl+1)*2),Ec(this.dyn_ltree),Ec(this.dyn_dtree),Ec(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Vl+1),this.heap=new Uint16Array(2*rA+1),Ec(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*rA+1),Ec(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const tt=E=>{if(!E)return 1;const z=E.state;return!z||z.strm!==E||z.status!==ms&&z.status!==kA&&z.status!==js&&z.status!==Yl&&z.status!==Cl&&z.status!==Xs&&z.status!==Gs&&z.status!==mA?1:0},Pt=E=>{if(tt(E))return Uu(E,bs);E.total_in=E.total_out=0,E.data_type=rc;const z=E.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?kA:z.wrap?ms:Gs,E.adler=z.wrap===2?0:1,z.last_flush=-2,Ga(z),Ls},Tt=E=>{const z=Pt(E);return z===Ls&&r0(E.state),z},qt=(E,z)=>tt(E)||E.state.wrap!==2?bs:(E.state.gzhead=z,Ls),$t=(E,z,x,re,oe,Ae)=>{if(!E)return bs;let Ie=1;if(z===cu&&(z=6),re<0?(Ie=0,re=-re):re>15&&(Ie=2,re-=16),oe<1||oe>lo||x!==Kr||re<8||re>15||z<0||z>9||Ae<0||Ae>zA||re===8&&Ie!==1)return Uu(E,bs);re===8&&(re=9);const Ee=new Je;return E.state=Ee,Ee.strm=E,Ee.status=ms,Ee.wrap=Ie,Ee.gzhead=null,Ee.w_bits=re,Ee.w_size=1<$t(E,z,Kr,br,ho,Sc),In=(E,z)=>{if(tt(E)||z>Gl||z<0)return E?Uu(E,bs):bs;const x=E.state;if(!E.output||E.avail_in!==0&&!E.input||x.status===mA&&z!==SA)return Uu(E,E.avail_out===0?Wl:bs);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(Jl(E),E.avail_out===0)return x.last_flush=-1,Ls}else if(E.avail_in===0&&Bf(z)<=Bf(re)&&z!==SA)return Uu(E,Wl);if(x.status===mA&&E.avail_in!==0)return Uu(E,Wl);if(x.status===ms&&x.wrap===0&&(x.status=Gs),x.status===ms){let oe=Kr+(x.w_bits-8<<4)<<8,Ae=-1;if(x.strategy>=Iu||x.level<2?Ae=0:x.level<6?Ae=1:x.level===6?Ae=2:Ae=3,oe|=Ae<<6,x.strstart!==0&&(oe|=OA),oe+=31-oe%31,Zc(x,oe),x.strstart!==0&&(Zc(x,E.adler>>>16),Zc(x,E.adler&65535)),E.adler=1,x.status=Gs,Jl(E),x.pending!==0)return x.last_flush=-1,Ls}if(x.status===kA){if(E.adler=0,Ji(x,31),Ji(x,139),Ji(x,8),x.gzhead)Ji(x,(x.gzhead.text?1:0)+(x.gzhead.hcrc?2:0)+(x.gzhead.extra?4:0)+(x.gzhead.name?8:0)+(x.gzhead.comment?16:0)),Ji(x,x.gzhead.time&255),Ji(x,x.gzhead.time>>8&255),Ji(x,x.gzhead.time>>16&255),Ji(x,x.gzhead.time>>24&255),Ji(x,x.level===9?2:x.strategy>=Iu||x.level<2?4:0),Ji(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Ji(x,x.gzhead.extra.length&255),Ji(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(E.adler=Ri(E.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=js;else if(Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,0),Ji(x,x.level===9?2:x.strategy>=Iu||x.level<2?4:0),Ji(x,Pg),x.status=Gs,Jl(E),x.pending!==0)return x.last_flush=-1,Ls}if(x.status===js){if(x.gzhead.extra){let oe=x.pending,Ae=(x.gzhead.extra.length&65535)-x.gzindex;for(;x.pending+Ae>x.pending_buf_size;){let Ee=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+Ee),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>oe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex+=Ee,Jl(E),x.pending!==0)return x.last_flush=-1,Ls;oe=0,Ae-=Ee}let Ie=new Uint8Array(x.gzhead.extra);x.pending_buf.set(Ie.subarray(x.gzindex,x.gzindex+Ae),x.pending),x.pending+=Ae,x.gzhead.hcrc&&x.pending>oe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Yl}if(x.status===Yl){if(x.gzhead.name){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe)),Jl(E),x.pending!==0)return x.last_flush=-1,Ls;oe=0}x.gzindexoe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Cl}if(x.status===Cl){if(x.gzhead.comment){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe)),Jl(E),x.pending!==0)return x.last_flush=-1,Ls;oe=0}x.gzindexoe&&(E.adler=Ri(E.adler,x.pending_buf,x.pending-oe,oe))}x.status=Xs}if(x.status===Xs){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(Jl(E),x.pending!==0))return x.last_flush=-1,Ls;Ji(x,E.adler&255),Ji(x,E.adler>>8&255),E.adler=0}if(x.status=Gs,Jl(E),x.pending!==0)return x.last_flush=-1,Ls}if(E.avail_in!==0||x.lookahead!==0||z!==Ss&&x.status!==mA){let oe=x.level===0?md(x,z):x.strategy===Iu?n0(x,z):x.strategy===Wc?t0(x,z):pd[x.level].func(x,z);if((oe===Xl||oe===ll)&&(x.status=mA),oe===ji||oe===Xl)return E.avail_out===0&&(x.last_flush=-1),Ls;if(oe===Du&&(z===Lu?hs(x):z!==Gl&&(Ts(x,0,0,!1),z===Gc&&(Ec(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),Jl(E),E.avail_out===0))return x.last_flush=-1,Ls}return z!==SA?Ls:x.wrap<=0?uu:(x.wrap===2?(Ji(x,E.adler&255),Ji(x,E.adler>>8&255),Ji(x,E.adler>>16&255),Ji(x,E.adler>>24&255),Ji(x,E.total_in&255),Ji(x,E.total_in>>8&255),Ji(x,E.total_in>>16&255),Ji(x,E.total_in>>24&255)):(Zc(x,E.adler>>>16),Zc(x,E.adler&65535)),Jl(E),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?Ls:uu)},Bn=E=>{if(tt(E))return bs;const z=E.state.status;return E.state=null,z===Gs?Uu(E,nc):Ls},Gn=(E,z)=>{let x=z.length;if(tt(E))return bs;const re=E.state,oe=re.wrap;if(oe===2||oe===1&&re.status!==ms||re.lookahead)return bs;if(oe===1&&(E.adler=Fo(E.adler,z,x,0)),re.wrap=0,x>=re.w_size){oe===0&&(Ec(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Qe=new Uint8Array(re.w_size);Qe.set(z.subarray(x-re.w_size,x),0),z=Qe,x=re.w_size}const Ae=E.avail_in,Ie=E.next_in,Ee=E.input;for(E.avail_in=x,E.next_in=0,E.input=z,Vc(re);re.lookahead>=ja;){let Qe=re.strstart,Te=re.lookahead-(ja-1);do re.ins_h=ac(re,re.ins_h,re.window[Qe+ja-1]),re.prev[Qe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Qe,Qe++;while(--Te);re.strstart=Qe,re.lookahead=ja-1,Vc(re)}return re.strstart+=re.lookahead,re.block_start=re.strstart,re.insert=re.lookahead,re.lookahead=0,re.match_length=re.prev_length=ja-1,re.match_available=0,E.next_in=Ie,E.input=Ee,E.avail_in=Ae,re.wrap=oe,Ls};var er=Pn,Zn=$t,xr=Tt,Br=Pt,Sr=qt,ta=In,Wr=Bn,qr=Gn,Zr="pako deflate (from Nodeca project)",ua={deflateInit:er,deflateInit2:Zn,deflateReset:xr,deflateResetKeep:Br,deflateSetHeader:Sr,deflate:ta,deflateEnd:Wr,deflateSetDictionary:qr,deflateInfo:Zr};const Ha=(E,z)=>Object.prototype.hasOwnProperty.call(E,z);var Za=function(E){const z=Array.prototype.slice.call(arguments,1);for(;z.length;){const x=z.shift();if(x){if(typeof x!="object")throw new TypeError(x+"must be non-object");for(const re in x)Ha(x,re)&&(E[re]=x[re])}}return E},Pa=E=>{let z=0;for(let re=0,oe=E.length;re=252?6:E>=248?5:E>=240?4:E>=224?3:E>=192?2:1;ga[254]=ga[254]=1;var xa=E=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(E);let z,x,re,oe,Ae,Ie=E.length,Ee=0;for(oe=0;oe>>6,z[Ae++]=128|x&63):x<65536?(z[Ae++]=224|x>>>12,z[Ae++]=128|x>>>6&63,z[Ae++]=128|x&63):(z[Ae++]=240|x>>>18,z[Ae++]=128|x>>>12&63,z[Ae++]=128|x>>>6&63,z[Ae++]=128|x&63);return z};const Ba=(E,z)=>{if(z<65534&&E.subarray&&bo)return String.fromCharCode.apply(null,E.length===z?E:E.subarray(0,z));let x="";for(let re=0;re{const x=z||E.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(E.subarray(0,z));let re,oe;const Ae=new Array(x*2);for(oe=0,re=0;re4){Ae[oe++]=65533,re+=Ee-1;continue}for(Ie&=Ee===2?31:Ee===3?15:7;Ee>1&&re1){Ae[oe++]=65533;continue}Ie<65536?Ae[oe++]=Ie:(Ie-=65536,Ae[oe++]=55296|Ie>>10&1023,Ae[oe++]=56320|Ie&1023)}return Ba(Ae,oe)},ba=(E,z)=>{z=z||E.length,z>E.length&&(z=E.length);let x=z-1;for(;x>=0&&(E[x]&192)===128;)x--;return x<0||x===0?z:x+ga[E[x]]>z?x:z},$a={string2buf:xa,buf2string:Aa,utf8border:ba};function Go(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Eo=Go;const Ya=Object.prototype.toString,{Z_NO_FLUSH:Oo,Z_SYNC_FLUSH:ri,Z_FULL_FLUSH:es,Z_FINISH:Bi,Z_OK:ps,Z_STREAM_END:Is,Z_DEFAULT_COMPRESSION:Lo,Z_DEFAULT_STRATEGY:Js,Z_DEFLATED:Ci}=zl;function ts(E){this.options=so.assign({level:Lo,method:Ci,chunkSize:16384,windowBits:15,memLevel:8,strategy:Js},E||{});let z=this.options;z.raw&&z.windowBits>0?z.windowBits=-z.windowBits:z.gzip&&z.windowBits>0&&z.windowBits<16&&(z.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Eo,this.strm.avail_out=0;let x=ua.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==ps)throw new Error(uA[x]);if(z.header&&ua.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=$a.string2buf(z.dictionary):Ya.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=ua.deflateSetDictionary(this.strm,re),x!==ps)throw new Error(uA[x]);this._dict_set=!0}}ts.prototype.push=function(E,z){const x=this.strm,re=this.options.chunkSize;let oe,Ae;if(this.ended)return!1;for(z===~~z?Ae=z:Ae=z===!0?Bi:Oo,typeof E=="string"?x.input=$a.string2buf(E):Ya.call(E)==="[object ArrayBuffer]"?x.input=new Uint8Array(E):x.input=E,x.next_in=0,x.avail_in=x.input.length;;){if(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),(Ae===ri||Ae===es)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(oe=ua.deflate(x,Ae),oe===Is)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),oe=ua.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===ps;if(x.avail_out===0){this.onData(x.output);continue}if(Ae>0&&x.next_out>0){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(x.avail_in===0)break}return!0},ts.prototype.onData=function(E){this.chunks.push(E)},ts.prototype.onEnd=function(E){E===ps&&(this.result=so.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function is(E,z){const x=new ts(z);if(x.push(E,!0),x.err)throw x.msg||uA[x.err];return x.result}function ul(E,z){return z=z||{},z.raw=!0,is(E,z)}function Sa(E,z){return z=z||{},z.gzip=!0,is(E,z)}var ro=ts,eo=is,Oa=ul,bi=Sa,ka=zl,wo={Deflate:ro,deflate:eo,deflateRaw:Oa,gzip:bi,constants:ka};const Ai=16209,ui=16191;var GA=function(z,x){let re,oe,Ae,Ie,Ee,Qe,Te,Ze,dt,St,We,Wt,_t,Zt,Qt,Nn,pn,sn,or,Ur,pr,Tn,ln,Xn;const Dt=z.state;re=z.next_in,ln=z.input,oe=re+(z.avail_in-5),Ae=z.next_out,Xn=z.output,Ie=Ae-(x-z.avail_out),Ee=Ae+(z.avail_out-257),Qe=Dt.dmax,Te=Dt.wsize,Ze=Dt.whave,dt=Dt.wnext,St=Dt.window,We=Dt.hold,Wt=Dt.bits,_t=Dt.lencode,Zt=Dt.distcode,Qt=(1<>>24,We>>>=sn,Wt-=sn,sn=pn>>>16&255,sn===0)Xn[Ae++]=pn&65535;else if(sn&16){or=pn&65535,sn&=15,sn&&(Wt>>=sn,Wt-=sn),Wt<15&&(We+=ln[re++]<>>24,We>>>=sn,Wt-=sn,sn=pn>>>16&255,sn&16){if(Ur=pn&65535,sn&=15,WtQe){z.msg="invalid distance too far back",Dt.mode=Ai;break e}if(We>>>=sn,Wt-=sn,sn=Ae-Ie,Ur>sn){if(sn=Ur-sn,sn>Ze&&Dt.sane){z.msg="invalid distance too far back",Dt.mode=Ai;break e}if(pr=0,Tn=St,dt===0){if(pr+=Te-sn,sn2;)Xn[Ae++]=Tn[pr++],Xn[Ae++]=Tn[pr++],Xn[Ae++]=Tn[pr++],or-=3;or&&(Xn[Ae++]=Tn[pr++],or>1&&(Xn[Ae++]=Tn[pr++]))}else{pr=Ae-Ur;do Xn[Ae++]=Xn[pr++],Xn[Ae++]=Xn[pr++],Xn[Ae++]=Xn[pr++],or-=3;while(or>2);or&&(Xn[Ae++]=Xn[pr++],or>1&&(Xn[Ae++]=Xn[pr++]))}}else if(sn&64){z.msg="invalid distance code",Dt.mode=Ai;break e}else{pn=Zt[(pn&65535)+(We&(1<>3,re-=or,Wt-=or<<3,We&=(1<{const Qe=Ee.bits;let Te=0,Ze=0,dt=0,St=0,We=0,Wt=0,_t=0,Zt=0,Qt=0,Nn=0,pn,sn,or,Ur,pr,Tn=null,ln;const Xn=new Uint16Array(Ws+1),Dt=new Uint16Array(Ws+1);let Xt=null,xn,wn,sr;for(Te=0;Te<=Ws;Te++)Xn[Te]=0;for(Ze=0;Ze=1&&Xn[St]===0;St--);if(We>St&&(We=St),St===0)return oe[Ae++]=1<<24|64<<16|0,oe[Ae++]=1<<24|64<<16|0,Ee.bits=1,0;for(dt=1;dt0&&(E===bl||St!==1))return-1;for(Dt[1]=0,Te=1;Teql||E===tl&&Qt>Zs)return 1;for(;;){xn=Te-_t,Ie[Ze]+1=ln?(wn=Xt[Ie[Ze]-ln],sr=Tn[Ie[Ze]-ln]):(wn=96,sr=0),pn=1<>_t)+sn]=xn<<24|wn<<16|sr|0;while(sn!==0);for(pn=1<>=1;if(pn!==0?(Nn&=pn-1,Nn+=pn):Nn=0,Ze++,--Xn[Te]===0){if(Te===St)break;Te=z[x+Ie[Ze]]}if(Te>We&&(Nn&Ur)!==or){for(_t===0&&(_t=We),pr+=dt,Wt=Te-_t,Zt=1<ql||E===tl&&Qt>Zs)return 1;or=Nn&Ur,oe[or]=We<<24|Wt<<16|pr-Ae|0}}return Nn!==0&&(oe[pr+Nn]=Te-_t<<24|64<<16|0),Ee.bits=We,0};const Wo=0,WA=1,TA=2,{Z_FINISH:cl,Z_BLOCK:nl,Z_TREES:rl,Z_OK:Ql,Z_STREAM_END:_u,Z_NEED_DICT:Ol,Z_STREAM_ERROR:Ns,Z_DATA_ERROR:EA,Z_MEM_ERROR:qs,Z_BUF_ERROR:xs,Z_DEFLATED:du}=zl,Qu=16180,Ku=16181,gu=16182,vd=16183,Zd=16184,ci=16185,ss=16186,CA=16187,Es=16188,bA=16189,RA=16190,Ds=16191,fu=16192,Bd=16193,wd=16194,Vd=16195,Fg=16196,Lg=16197,Xc=16198,hu=16199,bc=16200,Ig=16201,Yd=16202,Ng=16203,Xd=16204,Pc=16205,Jd=16206,Sf=16207,Dg=16208,Oi=16209,qd=16210,Ef=16211,a0=852,Cf=592,Qg=15,$d=E=>(E>>>24&255)+(E>>>8&65280)+((E&65280)<<8)+((E&255)<<24);function bf(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const oc=E=>{if(!E)return 1;const z=E.state;return!z||z.strm!==E||z.modeEf?1:0},Og=E=>{if(oc(E))return Ns;const z=E.state;return E.total_in=E.total_out=z.total=0,E.msg="",z.wrap&&(E.adler=z.wrap&1),z.mode=Qu,z.last=0,z.havedict=0,z.flags=-1,z.dmax=32768,z.head=null,z.hold=0,z.bits=0,z.lencode=z.lendyn=new Int32Array(a0),z.distcode=z.distdyn=new Int32Array(Cf),z.sane=1,z.back=-1,Ql},eg=E=>{if(oc(E))return Ns;const z=E.state;return z.wsize=0,z.whave=0,z.wnext=0,Og(E)},Pf=(E,z)=>{let x;if(oc(E))return Ns;const re=E.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?Ns:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,eg(E))},yd=(E,z)=>{if(!E)return Ns;const x=new bf;E.state=x,x.strm=E,x.window=null,x.mode=Qu;const re=Pf(E,z);return re!==Ql&&(E.state=null),re},tg=E=>yd(E,Qg);let PA=!0,zu,ng;const o0=E=>{if(PA){zu=new Int32Array(512),ng=new Int32Array(32);let z=0;for(;z<144;)E.lens[z++]=8;for(;z<256;)E.lens[z++]=9;for(;z<280;)E.lens[z++]=7;for(;z<288;)E.lens[z++]=8;for(ds(WA,E.lens,0,288,zu,0,E.work,{bits:9}),z=0;z<32;)E.lens[z++]=5;ds(TA,E.lens,0,32,ng,0,E.work,{bits:5}),PA=!1}E.lencode=zu,E.lenbits=9,E.distcode=ng,E.distbits=5},Ii=(E,z,x,re)=>{let oe;const Ae=E.state;return Ae.window===null&&(Ae.wsize=1<=Ae.wsize?(Ae.window.set(z.subarray(x-Ae.wsize,x),0),Ae.wnext=0,Ae.whave=Ae.wsize):(oe=Ae.wsize-Ae.wnext,oe>re&&(oe=re),Ae.window.set(z.subarray(x-re,x-re+oe),Ae.wnext),re-=oe,re?(Ae.window.set(z.subarray(x-re,x),0),Ae.wnext=re,Ae.whave=Ae.wsize):(Ae.wnext+=oe,Ae.wnext===Ae.wsize&&(Ae.wnext=0),Ae.whave{let x,re,oe,Ae,Ie,Ee,Qe,Te,Ze,dt,St,We,Wt,_t,Zt=0,Qt,Nn,pn,sn,or,Ur,pr,Tn;const ln=new Uint8Array(4);let Xn,Dt;const Xt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(oc(E)||!E.output||!E.input&&E.avail_in!==0)return Ns;x=E.state,x.mode===Ds&&(x.mode=fu),Ie=E.next_out,oe=E.output,Qe=E.avail_out,Ae=E.next_in,re=E.input,Ee=E.avail_in,Te=x.hold,Ze=x.bits,dt=Ee,St=Qe,Tn=Ql;e:for(;;)switch(x.mode){case Qu:if(x.wrap===0){x.mode=fu;break}for(;Ze<16;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>8&255,x.check=Ri(x.check,ln,2,0),Te=0,Ze=0,x.mode=Ku;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Te&255)<<8)+(Te>>8))%31){E.msg="incorrect header check",x.mode=Oi;break}if((Te&15)!==du){E.msg="unknown compression method",x.mode=Oi;break}if(Te>>>=4,Ze-=4,pr=(Te&15)+8,x.wbits===0&&(x.wbits=pr),pr>15||pr>x.wbits){E.msg="invalid window size",x.mode=Oi;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(ln[0]=Te&255,ln[1]=Te>>>8&255,x.check=Ri(x.check,ln,2,0)),Te=0,Ze=0,x.mode=gu;case gu:for(;Ze<32;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>8&255,ln[2]=Te>>>16&255,ln[3]=Te>>>24&255,x.check=Ri(x.check,ln,4,0)),Te=0,Ze=0,x.mode=vd;case vd:for(;Ze<16;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>8),x.flags&512&&x.wrap&4&&(ln[0]=Te&255,ln[1]=Te>>>8&255,x.check=Ri(x.check,ln,2,0)),Te=0,Ze=0,x.mode=Zd;case Zd:if(x.flags&1024){for(;Ze<16;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>8&255,x.check=Ri(x.check,ln,2,0)),Te=0,Ze=0}else x.head&&(x.head.extra=null);x.mode=ci;case ci:if(x.flags&1024&&(We=x.length,We>Ee&&(We=Ee),We&&(x.head&&(pr=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Uint8Array(x.head.extra_len)),x.head.extra.set(re.subarray(Ae,Ae+We),pr)),x.flags&512&&x.wrap&4&&(x.check=Ri(x.check,re,We,Ae)),Ee-=We,Ae+=We,x.length-=We),x.length))break e;x.length=0,x.mode=ss;case ss:if(x.flags&2048){if(Ee===0)break e;We=0;do pr=re[Ae+We++],x.head&&pr&&x.length<65536&&(x.head.name+=String.fromCharCode(pr));while(pr&&We>9&1,x.head.done=!0),E.adler=x.check=0,x.mode=Ds;break;case bA:for(;Ze<32;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=Ze&7,Ze-=Ze&7,x.mode=Jd;break}for(;Ze<3;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=1,Ze-=1,Te&3){case 0:x.mode=Bd;break;case 1:if(o0(x),x.mode=hu,z===rl){Te>>>=2,Ze-=2;break e}break;case 2:x.mode=Fg;break;case 3:E.msg="invalid block type",x.mode=Oi}Te>>>=2,Ze-=2;break;case Bd:for(Te>>>=Ze&7,Ze-=Ze&7;Ze<32;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>16^65535)){E.msg="invalid stored block lengths",x.mode=Oi;break}if(x.length=Te&65535,Te=0,Ze=0,x.mode=wd,z===rl)break e;case wd:x.mode=Vd;case Vd:if(We=x.length,We){if(We>Ee&&(We=Ee),We>Qe&&(We=Qe),We===0)break e;oe.set(re.subarray(Ae,Ae+We),Ie),Ee-=We,Ae+=We,Qe-=We,Ie+=We,x.length-=We;break}x.mode=Ds;break;case Fg:for(;Ze<14;){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=5,Ze-=5,x.ndist=(Te&31)+1,Te>>>=5,Ze-=5,x.ncode=(Te&15)+4,Te>>>=4,Ze-=4,x.nlen>286||x.ndist>30){E.msg="too many length or distance symbols",x.mode=Oi;break}x.have=0,x.mode=Lg;case Lg:for(;x.have>>=3,Ze-=3}for(;x.have<19;)x.lens[Xt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Xn={bits:x.lenbits},Tn=ds(Wo,x.lens,0,19,x.lencode,0,x.work,Xn),x.lenbits=Xn.bits,Tn){E.msg="invalid code lengths set",x.mode=Oi;break}x.have=0,x.mode=Xc;case Xc:for(;x.have>>24,Nn=Zt>>>16&255,pn=Zt&65535,!(Qt<=Ze);){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=Qt,Ze-=Qt,x.lens[x.have++]=pn;else{if(pn===16){for(Dt=Qt+2;Ze>>=Qt,Ze-=Qt,x.have===0){E.msg="invalid bit length repeat",x.mode=Oi;break}pr=x.lens[x.have-1],We=3+(Te&3),Te>>>=2,Ze-=2}else if(pn===17){for(Dt=Qt+3;Ze>>=Qt,Ze-=Qt,pr=0,We=3+(Te&7),Te>>>=3,Ze-=3}else{for(Dt=Qt+7;Ze>>=Qt,Ze-=Qt,pr=0,We=11+(Te&127),Te>>>=7,Ze-=7}if(x.have+We>x.nlen+x.ndist){E.msg="invalid bit length repeat",x.mode=Oi;break}for(;We--;)x.lens[x.have++]=pr}}if(x.mode===Oi)break;if(x.lens[256]===0){E.msg="invalid code -- missing end-of-block",x.mode=Oi;break}if(x.lenbits=9,Xn={bits:x.lenbits},Tn=ds(WA,x.lens,0,x.nlen,x.lencode,0,x.work,Xn),x.lenbits=Xn.bits,Tn){E.msg="invalid literal/lengths set",x.mode=Oi;break}if(x.distbits=6,x.distcode=x.distdyn,Xn={bits:x.distbits},Tn=ds(TA,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Xn),x.distbits=Xn.bits,Tn){E.msg="invalid distances set",x.mode=Oi;break}if(x.mode=hu,z===rl)break e;case hu:x.mode=bc;case bc:if(Ee>=6&&Qe>=258){E.next_out=Ie,E.avail_out=Qe,E.next_in=Ae,E.avail_in=Ee,x.hold=Te,x.bits=Ze,GA(E,St),Ie=E.next_out,oe=E.output,Qe=E.avail_out,Ae=E.next_in,re=E.input,Ee=E.avail_in,Te=x.hold,Ze=x.bits,x.mode===Ds&&(x.back=-1);break}for(x.back=0;Zt=x.lencode[Te&(1<>>24,Nn=Zt>>>16&255,pn=Zt&65535,!(Qt<=Ze);){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>sn)],Qt=Zt>>>24,Nn=Zt>>>16&255,pn=Zt&65535,!(sn+Qt<=Ze);){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=sn,Ze-=sn,x.back+=sn}if(Te>>>=Qt,Ze-=Qt,x.back+=Qt,x.length=pn,Nn===0){x.mode=Pc;break}if(Nn&32){x.back=-1,x.mode=Ds;break}if(Nn&64){E.msg="invalid literal/length code",x.mode=Oi;break}x.extra=Nn&15,x.mode=Ig;case Ig:if(x.extra){for(Dt=x.extra;Ze>>=x.extra,Ze-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Yd;case Yd:for(;Zt=x.distcode[Te&(1<>>24,Nn=Zt>>>16&255,pn=Zt&65535,!(Qt<=Ze);){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>sn)],Qt=Zt>>>24,Nn=Zt>>>16&255,pn=Zt&65535,!(sn+Qt<=Ze);){if(Ee===0)break e;Ee--,Te+=re[Ae++]<>>=sn,Ze-=sn,x.back+=sn}if(Te>>>=Qt,Ze-=Qt,x.back+=Qt,Nn&64){E.msg="invalid distance code",x.mode=Oi;break}x.offset=pn,x.extra=Nn&15,x.mode=Ng;case Ng:if(x.extra){for(Dt=x.extra;Ze>>=x.extra,Ze-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){E.msg="invalid distance too far back",x.mode=Oi;break}x.mode=Xd;case Xd:if(Qe===0)break e;if(We=St-Qe,x.offset>We){if(We=x.offset-We,We>x.whave&&x.sane){E.msg="invalid distance too far back",x.mode=Oi;break}We>x.wnext?(We-=x.wnext,Wt=x.wsize-We):Wt=x.wnext-We,We>x.length&&(We=x.length),_t=x.window}else _t=oe,Wt=Ie-x.offset,We=x.length;We>Qe&&(We=Qe),Qe-=We,x.length-=We;do oe[Ie++]=_t[Wt++];while(--We);x.length===0&&(x.mode=bc);break;case Pc:if(Qe===0)break e;oe[Ie++]=x.length,Qe--,x.mode=bc;break;case Jd:if(x.wrap){for(;Ze<32;){if(Ee===0)break e;Ee--,Te|=re[Ae++]<{if(oc(E))return Ns;let z=E.state;return z.window&&(z.window=null),E.state=null,Ql},ic=(E,z)=>{if(oc(E))return Ns;const x=E.state;return x.wrap&2?(x.head=z,z.done=!1,Ql):Ns},sc=(E,z)=>{const x=z.length;let re,oe,Ae;return oc(E)||(re=E.state,re.wrap!==0&&re.mode!==RA)?Ns:re.mode===RA&&(oe=1,oe=Fo(oe,z,x,0),oe!==re.check)?EA:(Ae=Ii(E,z,x,x),Ae?(re.mode=qd,qs):(re.havedict=1,Ql))};var xf=eg,kg=Pf,Mg=Og,Tg=tg,Rg=yd,eh=gs,th=$l,nh=ic,rh=sc,i0="pako inflate (from Nodeca project)",xc={inflateReset:xf,inflateReset2:kg,inflateResetKeep:Mg,inflateInit:Tg,inflateInit2:Rg,inflate:eh,inflateEnd:th,inflateGetHeader:nh,inflateSetDictionary:rh,inflateInfo:i0};function wm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=wm;const ah=Object.prototype.toString,{Z_NO_FLUSH:Ff,Z_FINISH:Lf,Z_OK:jg,Z_STREAM_END:If,Z_NEED_DICT:Hg,Z_STREAM_ERROR:oh,Z_DATA_ERROR:s0,Z_MEM_ERROR:ih}=zl;function _g(E){this.options=so.assign({chunkSize:1024*64,windowBits:15,to:""},E||{});const z=this.options;z.raw&&z.windowBits>=0&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),z.windowBits>=0&&z.windowBits<16&&!(E&&E.windowBits)&&(z.windowBits+=32),z.windowBits>15&&z.windowBits<48&&(z.windowBits&15||(z.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Eo,this.strm.avail_out=0;let x=xc.inflateInit2(this.strm,z.windowBits);if(x!==jg)throw new Error(uA[x]);if(this.header=new ym,xc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=$a.string2buf(z.dictionary):ah.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=xc.inflateSetDictionary(this.strm,z.dictionary),x!==jg)))throw new Error(uA[x])}_g.prototype.push=function(E,z){const x=this.strm,re=this.options.chunkSize,oe=this.options.dictionary;let Ae,Ie,Ee;if(this.ended)return!1;for(z===~~z?Ie=z:Ie=z===!0?Lf:Ff,ah.call(E)==="[object ArrayBuffer]"?x.input=new Uint8Array(E):x.input=E,x.next_in=0,x.avail_in=x.input.length;;){for(x.avail_out===0&&(x.output=new Uint8Array(re),x.next_out=0,x.avail_out=re),Ae=xc.inflate(x,Ie),Ae===Hg&&oe&&(Ae=xc.inflateSetDictionary(x,oe),Ae===jg?Ae=xc.inflate(x,Ie):Ae===s0&&(Ae=Hg));x.avail_in>0&&Ae===If&&x.state.wrap>0&&E[x.next_in]!==0;)xc.inflateReset(x),Ae=xc.inflate(x,Ie);switch(Ae){case oh:case s0:case Hg:case ih:return this.onEnd(Ae),this.ended=!0,!1}if(Ee=x.avail_out,x.next_out&&(x.avail_out===0||Ae===If))if(this.options.to==="string"){let Qe=$a.utf8border(x.output,x.next_out),Te=x.next_out-Qe,Ze=$a.buf2string(x.output,Qe);x.next_out=Te,x.avail_out=re-Te,Te&&x.output.set(x.output.subarray(Qe,Qe+Te),0),this.onData(Ze)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(Ae===jg&&Ee===0)){if(Ae===If)return Ae=xc.inflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},_g.prototype.onData=function(E){this.chunks.push(E)},_g.prototype.onEnd=function(E){E===jg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=so.flattenChunks(this.chunks)),this.chunks=[],this.err=E,this.msg=this.strm.msg};function rg(E,z){const x=new _g(z);if(x.push(E),x.err)throw x.msg||uA[x.err];return x.result}function sh(E,z){return z=z||{},z.raw=!0,rg(E,z)}var Ah=_g,Sm=rg,Em=sh,lh=rg,ag=zl,A0={Inflate:Ah,inflate:Sm,inflateRaw:Em,ungzip:lh,constants:ag};const{Deflate:Nf,deflate:Cm,deflateRaw:bm,gzip:Pm}=wo,{Inflate:xm,inflate:uh,inflateRaw:l0,ungzip:ch}=A0;var dh=Nf,u0=Cm,gh=bm,fh=Pm,c0=xm,Kg=uh,Df=l0,hh=ch,mh=zl,bp={Deflate:dh,deflate:u0,deflateRaw:gh,gzip:fh,Inflate:c0,inflate:Kg,inflateRaw:Df,ungzip:hh,constants:mh};const d0=[];for(let E=0;E<256;E++){let z=E;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;d0[E]=z}const g0=4294967295;function Fm(E,z,x){let re=E;for(let oe=0;oe>>8;return re}function ph(E,z){return(Fm(g0,E,z)^g0)>>>0}function Sd(E,z,x){const re=E.readUint32(),oe=ph(new Uint8Array(E.buffer,E.byteOffset+E.offset-z-4,z),z);if(oe!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${oe}`)}function Lm(E,z){E.writeUint32(ph(new Uint8Array(E.buffer,E.byteOffset+E.offset-z,z),z))}function pA(E,z,x){for(let re=0;re>1)&255}else{for(;Ae>1)&255;for(;Ae>1)&255}}function Lc(E,z,x,re,oe){let Ae=0;if(x.length===0){for(;Ae=x||Ur>=re))for(let pr=0;pr>8&255}const wh=new Uint16Array([255]),Wg=new Uint8Array(wh.buffer)[0]===255,Dm=new Uint8Array(0);function yh(E){const{data:z,width:x,height:re,channels:oe,depth:Ae}=E,Ie=Math.ceil(Ae/8)*oe,Ee=Math.ceil(Ae/8*oe*x),Qe=new Uint8Array(re*Ee);let Te=Dm,Ze=0,dt,St;for(let We=0;We>8&255}const Zg=Uint8Array.of(137,80,78,71,13,10,26,10);function Pp(E){E.writeBytes(Zg)}function Uf(E){if(!Qm(E.readBytes(Zg.length)))throw new Error("wrong PNG signature")}function Qm(E){if(E.length79)throw new Error("keyword length must be between 1 and 79")}const h0=/^[\u0000-\u00FF]*$/;function Qf(E){if(!h0.test(E))throw new Error("invalid latin1 text")}function Ph(E,z,x){const re=xh(z);E[re]=Fh(z,x-re.length-1)}function xp(E,z,x){bh(z),Qf(x);const re=z.length+1+x.length;E.writeUint32(re),E.writeChars(Sh),E.writeChars(z),E.writeByte(Eh),E.writeChars(x),writeCrc(E,re+4)}function xh(E){for(E.mark();E.readByte()!==Eh;);const z=E.offset;E.reset();const x=Ch.decode(E.readBytes(z-E.offset-1));return E.skip(1),bh(x),x}function Fh(E,z){return Ch.decode(E.readBytes(z))}const mu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},m0={UNKNOWN:-1,DEFLATE:0},Lh={UNKNOWN:-1,ADAPTIVE:0},p0={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Of={NONE:0,BACKGROUND:1,PREVIOUS:2},Vg={SOURCE:0,OVER:1};class Om extends Sl{constructor(x,re={}){super(x);ys(this,"_checkCrc");ys(this,"_inflator");ys(this,"_png");ys(this,"_apng");ys(this,"_end");ys(this,"_hasPalette");ys(this,"_palette");ys(this,"_hasTransparency");ys(this,"_transparency");ys(this,"_compressionMethod");ys(this,"_filterMethod");ys(this,"_interlaceMethod");ys(this,"_colorType");ys(this,"_isAnimated");ys(this,"_numberOfFrames");ys(this,"_numberOfPlays");ys(this,"_frames");ys(this,"_writingDataChunks");const{checkCrc:oe=!1}=re;this._checkCrc=oe,this._inflator=new c0,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=m0.UNKNOWN,this._filterMethod=Lh.UNKNOWN,this._interlaceMethod=p0.UNKNOWN,this._colorType=mu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Uf(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeApngChunk(x,re)}return this.decodeApngImage(),this._apng}decodeChunk(x,re){const oe=this.offset;switch(re){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(x);break;case"IDAT":this.decodeIDAT(x);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(x);break;case"iCCP":this.decodeiCCP(x);break;case Sh:Ph(this._png.text,this,x);break;case"pHYs":this.decodepHYs();break;default:this.skip(x);break}if(this.offset-oe!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Sd(this,x+4,re):this.skip(4)}decodeApngChunk(x,re){const oe=this.offset;switch(re!=="fdAT"&&re!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),re){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(x);break;default:this.decodeChunk(x,re),this.offset=oe+x;break}if(this.offset-oe!==x)throw new Error(`Length mismatch while decoding chunk ${re}`);this._checkCrc?Sd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=v0(this.readUint8());const re=this.readUint8();this._colorType=re;let oe;switch(re){case mu.GREYSCALE:oe=1;break;case mu.TRUECOLOUR:oe=3;break;case mu.INDEXED_COLOUR:oe=1;break;case mu.GREYSCALE_ALPHA:oe=2;break;case mu.TRUECOLOUR_ALPHA:oe=4;break;case mu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=oe,this._compressionMethod=this.readUint8(),this._compressionMethod!==m0.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const x={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(x)}decodePLTE(x){if(x%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${x}`);const re=x/3;this._hasPalette=!0;const oe=[];this._palette=oe;for(let Ae=0;Aethis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${x/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(x/2);for(let re=0;rethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${x} vs ${this._palette.length})`);let re=0;for(;re{const Qe=((Ie+re.yOffset)*this._png.width+re.xOffset+Ee)*this._png.channels,Te=(Ie*re.width+Ee)*this._png.channels;return{index:Qe,frameIndex:Te}};switch(re.blendOp){case Vg.SOURCE:for(let Ie=0;Iere.at(-1)!==255);this.writeUint32(x.length),this.writeChars("tRNS");for(const re of x)this.writeByte(re.at(-1));writeCrc(this,4+x.length)}encodeIDAT(x){this.writeUint32(x.length),this.writeChars("IDAT"),this.writeBytes(x),writeCrc(this,x.length+4)}encodeData(){const{width:x,height:re,channels:oe,depth:Ae,data:Ie}=this._png,Ee=Ae<=8?Math.ceil(x*Ae/8)*oe:Math.ceil(x*Ae/8*oe/2),Qe=new IOBuffer().setBigEndian();let Te=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let St=0;St0)return E;throw new TypeError(`${z} must be a positive integer`)}function kf(E,z){const{channels:x=4,depth:re=8}=E;if(x!==4&&x!==3&&x!==2&&x!==1)throw new RangeError(`unsupported number of channels: ${x}`);const oe={channels:x,depth:re,colorType:ColorType.UNKNOWN};switch(x){case 4:oe.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:oe.colorType=ColorType.TRUECOLOUR;break;case 1:z?oe.colorType=ColorType.INDEXED_COLOUR:oe.colorType=ColorType.GREYSCALE;break;case 2:oe.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return oe}function Ou(E,z,x,re){for(let oe=0;oe>8&255),x.writeByte(pn&255)}}return re}function Cs(E,z,x,re){for(let oe=0;oe=200&&z.status<=299}function Tf(E){try{E.dispatchEvent(new MouseEvent("click"))}catch(x){var z=document.createEvent("MouseEvents");z.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),E.dispatchEvent(z)}}var qc=ei.saveAs||((typeof window=="undefined"?"undefined":(0,le.Z)(window))!=="object"||window!==ei?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(E,z,x){var re=ei.URL||ei.webkitURL,oe=document.createElement("a");z=z||E.name||"download",oe.download=z,oe.rel="noopener",typeof E=="string"?(oe.href=E,oe.origin!==location.origin?y0(oe.href)?w0(E,z,x):Tf(oe,oe.target="_blank"):Tf(oe)):(oe.href=re.createObjectURL(E),setTimeout(function(){re.revokeObjectURL(oe.href)},4e4),setTimeout(function(){Tf(oe)},0))}:"msSaveOrOpenBlob"in navigator?function(E,z,x){if(z=z||E.name||"download",typeof E=="string")if(y0(E))w0(E,z,x);else{var re=document.createElement("a");re.href=E,re.target="_blank",setTimeout(function(){Tf(re)})}else navigator.msSaveOrOpenBlob(function(oe,Ae){return Ae===void 0?Ae={autoBom:!1}:(0,le.Z)(Ae)!=="object"&&(Hs.warn("Deprecated: Expected third argument to be a object"),Ae={autoBom:!Ae}),Ae.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(oe.type)?new Blob(["\uFEFF",oe],{type:oe.type}):oe}(E,x),z)}:function(E,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof E=="string")return w0(E,z,x);var oe=E.type==="application/octet-stream",Ae=/constructor/i.test(ei.HTMLElement)||ei.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||oe&&Ae)&&(typeof FileReader=="undefined"?"undefined":(0,le.Z)(FileReader))==="object"){var Ee=new FileReader;Ee.onloadend=function(){var Ze=Ee.result;Ze=Ie?Ze:Ze.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=Ze:location=Ze,re=null},Ee.readAsDataURL(E)}else{var Qe=ei.URL||ei.webkitURL,Te=Qe.createObjectURL(E);re?re.location=Te:location.href=Te,re=null,setTimeout(function(){Qe.revokeObjectURL(Te)},4e4)}});function Ih(E){var z;E=E||"",this.ok=!1,E.charAt(0)=="#"&&(E=E.substr(1,6)),E={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"}[E=(E=E.replace(/ /g,"")).toLowerCase()]||E;for(var x=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Ee){return[parseInt(Ee[1]),parseInt(Ee[2]),parseInt(Ee[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Ee){return[parseInt(Ee[1],16),parseInt(Ee[2],16),parseInt(Ee[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Ee){return[parseInt(Ee[1]+Ee[1],16),parseInt(Ee[2]+Ee[2],16),parseInt(Ee[3]+Ee[3],16)]}}],re=0;re255?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 Ee=this.r.toString(16),Qe=this.g.toString(16),Te=this.b.toString(16);return Ee.length==1&&(Ee="0"+Ee),Qe.length==1&&(Qe="0"+Qe),Te.length==1&&(Te="0"+Te),"#"+Ee+Qe+Te}}var Yg=ei.atob.bind(ei),S0=ei.btoa.bind(ei);function Xg(E,z){var x=E[0],re=E[1],oe=E[2],Ae=E[3];x=Pl(x,re,oe,Ae,z[0],7,-680876936),Ae=Pl(Ae,x,re,oe,z[1],12,-389564586),oe=Pl(oe,Ae,x,re,z[2],17,606105819),re=Pl(re,oe,Ae,x,z[3],22,-1044525330),x=Pl(x,re,oe,Ae,z[4],7,-176418897),Ae=Pl(Ae,x,re,oe,z[5],12,1200080426),oe=Pl(oe,Ae,x,re,z[6],17,-1473231341),re=Pl(re,oe,Ae,x,z[7],22,-45705983),x=Pl(x,re,oe,Ae,z[8],7,1770035416),Ae=Pl(Ae,x,re,oe,z[9],12,-1958414417),oe=Pl(oe,Ae,x,re,z[10],17,-42063),re=Pl(re,oe,Ae,x,z[11],22,-1990404162),x=Pl(x,re,oe,Ae,z[12],7,1804603682),Ae=Pl(Ae,x,re,oe,z[13],12,-40341101),oe=Pl(oe,Ae,x,re,z[14],17,-1502002290),x=dl(x,re=Pl(re,oe,Ae,x,z[15],22,1236535329),oe,Ae,z[1],5,-165796510),Ae=dl(Ae,x,re,oe,z[6],9,-1069501632),oe=dl(oe,Ae,x,re,z[11],14,643717713),re=dl(re,oe,Ae,x,z[0],20,-373897302),x=dl(x,re,oe,Ae,z[5],5,-701558691),Ae=dl(Ae,x,re,oe,z[10],9,38016083),oe=dl(oe,Ae,x,re,z[15],14,-660478335),re=dl(re,oe,Ae,x,z[4],20,-405537848),x=dl(x,re,oe,Ae,z[9],5,568446438),Ae=dl(Ae,x,re,oe,z[14],9,-1019803690),oe=dl(oe,Ae,x,re,z[3],14,-187363961),re=dl(re,oe,Ae,x,z[8],20,1163531501),x=dl(x,re,oe,Ae,z[13],5,-1444681467),Ae=dl(Ae,x,re,oe,z[2],9,-51403784),oe=dl(oe,Ae,x,re,z[7],14,1735328473),x=xl(x,re=dl(re,oe,Ae,x,z[12],20,-1926607734),oe,Ae,z[5],4,-378558),Ae=xl(Ae,x,re,oe,z[8],11,-2022574463),oe=xl(oe,Ae,x,re,z[11],16,1839030562),re=xl(re,oe,Ae,x,z[14],23,-35309556),x=xl(x,re,oe,Ae,z[1],4,-1530992060),Ae=xl(Ae,x,re,oe,z[4],11,1272893353),oe=xl(oe,Ae,x,re,z[7],16,-155497632),re=xl(re,oe,Ae,x,z[10],23,-1094730640),x=xl(x,re,oe,Ae,z[13],4,681279174),Ae=xl(Ae,x,re,oe,z[0],11,-358537222),oe=xl(oe,Ae,x,re,z[3],16,-722521979),re=xl(re,oe,Ae,x,z[6],23,76029189),x=xl(x,re,oe,Ae,z[9],4,-640364487),Ae=xl(Ae,x,re,oe,z[12],11,-421815835),oe=xl(oe,Ae,x,re,z[15],16,530742520),x=Fl(x,re=xl(re,oe,Ae,x,z[2],23,-995338651),oe,Ae,z[0],6,-198630844),Ae=Fl(Ae,x,re,oe,z[7],10,1126891415),oe=Fl(oe,Ae,x,re,z[14],15,-1416354905),re=Fl(re,oe,Ae,x,z[5],21,-57434055),x=Fl(x,re,oe,Ae,z[12],6,1700485571),Ae=Fl(Ae,x,re,oe,z[3],10,-1894986606),oe=Fl(oe,Ae,x,re,z[10],15,-1051523),re=Fl(re,oe,Ae,x,z[1],21,-2054922799),x=Fl(x,re,oe,Ae,z[8],6,1873313359),Ae=Fl(Ae,x,re,oe,z[15],10,-30611744),oe=Fl(oe,Ae,x,re,z[6],15,-1560198380),re=Fl(re,oe,Ae,x,z[13],21,1309151649),x=Fl(x,re,oe,Ae,z[4],6,-145523070),Ae=Fl(Ae,x,re,oe,z[11],10,-1120210379),oe=Fl(oe,Ae,x,re,z[2],15,718787259),re=Fl(re,oe,Ae,x,z[9],21,-343485551),E[0]=Ac(x,E[0]),E[1]=Ac(re,E[1]),E[2]=Ac(oe,E[2]),E[3]=Ac(Ae,E[3])}function Jg(E,z,x,re,oe,Ae){return z=Ac(Ac(z,E),Ac(re,Ae)),Ac(z<>>32-oe,x)}function Pl(E,z,x,re,oe,Ae,Ie){return Jg(z&x|~z&re,E,z,oe,Ae,Ie)}function dl(E,z,x,re,oe,Ae,Ie){return Jg(z&re|x&~re,E,z,oe,Ae,Ie)}function xl(E,z,x,re,oe,Ae,Ie){return Jg(z^x^re,E,z,oe,Ae,Ie)}function Fl(E,z,x,re,oe,Ae,Ie){return Jg(x^(z|~re),E,z,oe,Ae,Ie)}function Nh(E){var z,x=E.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=E.length;z+=64)Xg(re,Rf(E.substring(z-64,z)));E=E.substring(z-64);var oe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(z=0;z>2]|=E.charCodeAt(z)<<(z%4<<3);if(oe[z>>2]|=128<<(z%4<<3),z>55)for(Xg(re,oe),z=0;z<16;z++)oe[z]=0;return oe[14]=8*x,Xg(re,oe),re}function Rf(E){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=E.charCodeAt(z)+(E.charCodeAt(z+1)<<8)+(E.charCodeAt(z+2)<<16)+(E.charCodeAt(z+3)<<24);return x}var pu="0123456789abcdef".split("");function Dh(E){for(var z="",x=0;x<4;x++)z+=pu[E>>8*x+4&15]+pu[E>>8*x&15];return z}function jf(E){return String.fromCharCode(255&E,(65280&E)>>8,(16711680&E)>>16,(4278190080&E)>>24)}function E0(E){return Nh(E).map(jf).join("")}var Tm=function(E){for(var z=0;z>16)+(z>>16)+(x>>16)<<16|65535&x}return E+z&4294967295}function $c(E,z){var x,re,oe,Ae;if(E!==x){for(var Ie=(oe=E,Ae=1+(256/E.length|0),new Array(Ae+1).join(oe)),Ee=[],Qe=0;Qe<256;Qe++)Ee[Qe]=Qe;var Te=0;for(Qe=0;Qe<256;Qe++){var Ze=Ee[Qe];Te=(Te+Ze+Ie.charCodeAt(Qe))%256,Ee[Qe]=Ee[Te],Ee[Te]=Ze}x=E,re=Ee}else Ee=re;var dt=z.length,St=0,We=0,Wt="";for(Qe=0;Qe\x80/\f\xA9\xFEdSiz";var Ae=(z+this.padding).substr(0,32),Ie=(x+this.padding).substr(0,32);this.O=this.processOwnerPassword(Ae,Ie),this.P=-(1+(255^oe)),this.encryptionKey=E0(Ae+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=$c(this.encryptionKey,this.padding)}function Gu(E){if(/[^\u0000-\u00ff]/.test(E))throw new Error("Invalid PDF Name Object: "+E+", Only accept ASCII characters.");for(var z="",x=E.length,re=0;re126?"#"+("0"+oe.toString(16)).slice(-2):E[re]}return z}function Uh(E){if((0,le.Z)(E)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var z={};this.subscribe=function(x,re,oe){if(oe=oe||!1,typeof x!="string"||typeof re!="function"||typeof oe!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");z.hasOwnProperty(x)||(z[x]={});var Ae=Math.random().toString(35);return z[x][Ae]=[re,!!oe],Ae},this.unsubscribe=function(x){for(var re in z)if(z[re][x])return delete z[re][x],Object.keys(z[re]).length===0&&delete z[re],!0;return!1},this.publish=function(x){if(z.hasOwnProperty(x)){var re=Array.prototype.slice.call(arguments,1),oe=[];for(var Ae in z[x]){var Ie=z[x][Ae];try{Ie[0].apply(E,re)}catch(Ee){ei.console&&Hs.error("jsPDF PubSub Error",Ee.message,Ee)}Ie[1]&&oe.push(Ae)}oe.length&&oe.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function $g(E){if(!(this instanceof $g))return new $g(E);var z="opacity,stroke-opacity".split(",");for(var x in E)E.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=E[x]);this.id="",this.objectNumber=-1}function C0(E,z){this.gState=E,this.matrix=z,this.id="",this.objectNumber=-1}function ed(E,z,x,re,oe){if(!(this instanceof ed))return new ed(E,z,x,re,oe);this.type=E==="axial"?2:3,this.coords=z,this.colors=x,C0.call(this,re,oe)}function td(E,z,x,re,oe){if(!(this instanceof td))return new td(E,z,x,re,oe);this.boundingBox=E,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,C0.call(this,re,oe)}function po(E){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],oe=arguments[2],Ae=arguments[3],Ie=[],Ee=1,Qe=16,Te="S",Ze=null;(0,le.Z)(E=E||{})==="object"&&(x=E.orientation,re=E.unit||re,oe=E.format||oe,Ae=E.compress||E.compressPdf||Ae,(Ze=E.encryption||null)!==null&&(Ze.userPassword=Ze.userPassword||"",Ze.ownerPassword=Ze.ownerPassword||"",Ze.userPermissions=Ze.userPermissions||[]),Ee=typeof E.userUnit=="number"?Math.abs(E.userUnit):1,E.precision!==void 0&&(z=E.precision),E.floatPrecision!==void 0&&(Qe=E.floatPrecision),Te=E.defaultPathOperation||"S"),Ie=E.filters||(Ae===!0?["FlateEncode"]:Ie),re=re||"mm",x=(""+(x||"P")).toLowerCase();var dt=E.putOnlyUsedFonts||!1,St={},We={internal:{},__private__:{}};We.__private__.PubSub=Uh;var Wt="1.3",_t=We.__private__.getPdfVersion=function(){return Wt};We.__private__.setPdfVersion=function(Me){Wt=Me};var Zt={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]};We.__private__.getPageFormats=function(){return Zt};var Qt=We.__private__.getPageFormat=function(Me){return Zt[Me]};oe=oe||"a4";var Nn="compat",pn="advanced",sn=Nn;function or(){this.saveGraphicsState(),Jt(new qo(xi,0,0,-xi,0,lf()*xi).toString()+" cm"),this.setFontSize(this.getFontSize()/xi),Te="n",sn=pn}function Ur(){this.restoreGraphicsState(),Te="S",sn=Nn}var pr=We.__private__.combineFontStyleAndFontWeight=function(Me,mt){if(Me=="bold"&&mt=="normal"||Me=="bold"&&mt==400||Me=="normal"&&mt=="italic"||Me=="bold"&&mt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return mt&&(Me=mt==400||mt==="normal"?Me==="italic"?"italic":"normal":mt!=700&&mt!=="bold"||Me!=="normal"?(mt==700?"bold":mt)+""+Me:"bold"),Me};We.advancedAPI=function(Me){var mt=sn===Nn;return mt&&or.call(this),typeof Me!="function"||(Me(this),mt&&Ur.call(this)),this},We.compatAPI=function(Me){var mt=sn===pn;return mt&&Ur.call(this),typeof Me!="function"||(Me(this),mt&&or.call(this)),this},We.isAdvancedAPI=function(){return sn===pn};var Tn,ln=function(Me){if(sn!==pn)throw new Error(Me+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Xn=We.roundToPrecision=We.__private__.roundToPrecision=function(Me,mt){var nn=z||mt;if(isNaN(Me)||isNaN(nn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Me.toFixed(nn).replace(/0+$/,"")};Tn=We.hpf=We.__private__.hpf=typeof Qe=="number"?function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Me,Qe)}:Qe==="smart"?function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Me,Me>-1&&Me<1?16:5)}:function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Me,16)};var Dt=We.f2=We.__private__.f2=function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.f2");return Xn(Me,2)},Xt=We.__private__.f3=function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.f3");return Xn(Me,3)},xn=We.scale=We.__private__.scale=function(Me){if(isNaN(Me))throw new Error("Invalid argument passed to jsPDF.scale");return sn===Nn?Me*xi:sn===pn?Me:void 0},wn=function(Me){return xn(function(mt){return sn===Nn?lf()-mt:sn===pn?mt:void 0}(Me))};We.__private__.setPrecision=We.setPrecision=function(Me){typeof parseInt(Me,10)=="number"&&(z=parseInt(Me,10))};var sr,mr="00000000000000000000000000000000",wr=We.__private__.getFileId=function(){return mr},rr=We.__private__.setFileId=function(Me){return mr=Me!==void 0&&/^[a-fA-F0-9]{32}$/.test(Me)?Me.toUpperCase():mr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ze!==null&&(gl=new ig(Ze.userPermissions,Ze.userPassword,Ze.ownerPassword,mr)),mr};We.setFileId=function(Me){return rr(Me),this},We.getFileId=function(){return wr()};var Er=We.__private__.convertDateToPDFDate=function(Me){var mt=Me.getTimezoneOffset(),nn=mt<0?"+":"-",bn=Math.floor(Math.abs(mt/60)),Yn=Math.abs(mt%60),Mr=[nn,gn(bn),"'",gn(Yn),"'"].join("");return["D:",Me.getFullYear(),gn(Me.getMonth()+1),gn(Me.getDate()),gn(Me.getHours()),gn(Me.getMinutes()),gn(Me.getSeconds()),Mr].join("")},fa=We.__private__.convertPDFDateToDate=function(Me){var mt=parseInt(Me.substr(2,4),10),nn=parseInt(Me.substr(6,2),10)-1,bn=parseInt(Me.substr(8,2),10),Yn=parseInt(Me.substr(10,2),10),Mr=parseInt(Me.substr(12,2),10),Xr=parseInt(Me.substr(14,2),10);return new Date(mt,nn,bn,Yn,Mr,Xr,0)},Vr=We.__private__.setCreationDate=function(Me){var mt;if(Me===void 0&&(Me=new Date),Me instanceof Date)mt=Er(Me);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(Me))throw new Error("Invalid argument passed to jsPDF.setCreationDate");mt=Me}return sr=mt},Lt=We.__private__.getCreationDate=function(Me){var mt=sr;return Me==="jsDate"&&(mt=fa(sr)),mt};We.setCreationDate=function(Me){return Vr(Me),this},We.getCreationDate=function(Me){return Lt(Me)};var an,gn=We.__private__.padd2=function(Me){return("0"+parseInt(Me)).slice(-2)},Qn=We.__private__.padd2Hex=function(Me){return("00"+(Me=Me.toString())).substr(Me.length)},_n=0,tr=[],vr=[],yr=0,jr=[],ca=[],Ma=!1,Qa=vr;We.__private__.setCustomOutputDestination=function(Me){Ma=!0,Qa=Me};var Do=function(Me){Ma||(Qa=Me)};We.__private__.resetCustomOutputDestination=function(){Ma=!1,Qa=vr};var Jt=We.__private__.out=function(Me){return Me=Me.toString(),yr+=Me.length+1,Qa.push(Me),Qa},Ta=We.__private__.write=function(Me){return Jt(arguments.length===1?Me.toString():Array.prototype.join.call(arguments," "))},Mi=We.__private__.getArrayBuffer=function(Me){for(var mt=Me.length,nn=new ArrayBuffer(mt),bn=new Uint8Array(nn);mt--;)bn[mt]=Me.charCodeAt(mt);return nn},Zo=[["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]];We.__private__.getStandardFonts=function(){return Zo};var ra=E.fontSize||16;We.__private__.setFontSize=We.setFontSize=function(Me){return ra=sn===pn?Me/xi:Me,this};var Vo,uo=We.__private__.getFontSize=We.getFontSize=function(){return sn===Nn?ra:ra*xi},_o=E.R2L||!1;We.__private__.setR2L=We.setR2L=function(Me){return _o=Me,this},We.__private__.getR2L=We.getR2L=function(){return _o};var ko,Us=We.__private__.setZoomMode=function(Me){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Me))Vo=Me;else if(isNaN(Me)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Me)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Me+'" is not recognized.');Vo=Me}else Vo=parseInt(Me,10)};We.__private__.getZoomMode=function(){return Vo};var ns,yi=We.__private__.setPageMode=function(Me){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Me)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Me+'" is not recognized.');ko=Me};We.__private__.getPageMode=function(){return ko};var As=We.__private__.setLayoutMode=function(Me){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Me)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Me+'" is not recognized.');ns=Me};We.__private__.getLayoutMode=function(){return ns},We.__private__.setDisplayMode=We.setDisplayMode=function(Me,mt,nn){return Us(Me),As(mt),yi(nn),this};var rs={title:"",subject:"",author:"",keywords:"",creator:""};We.__private__.getDocumentProperty=function(Me){if(Object.keys(rs).indexOf(Me)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return rs[Me]},We.__private__.getDocumentProperties=function(){return rs},We.__private__.setDocumentProperties=We.setProperties=We.setDocumentProperties=function(Me){for(var mt in rs)rs.hasOwnProperty(mt)&&Me[mt]&&(rs[mt]=Me[mt]);return this},We.__private__.setDocumentProperty=function(Me,mt){if(Object.keys(rs).indexOf(Me)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return rs[Me]=mt};var yo,xi,Po,ZA,vs,Hi={},_i={},BA=[],To={},iA={},ni={},Si={},wA=null,Gi=0,Jo=[],Qs=new Uh(We),ef=E.hotfixes||[],nu={},Fd={},sd=[],qo=function Me(mt,nn,bn,Yn,Mr,Xr){if(!(this instanceof Me))return new Me(mt,nn,bn,Yn,Mr,Xr);isNaN(mt)&&(mt=1),isNaN(nn)&&(nn=0),isNaN(bn)&&(bn=0),isNaN(Yn)&&(Yn=1),isNaN(Mr)&&(Mr=0),isNaN(Xr)&&(Xr=0),this._matrix=[mt,nn,bn,Yn,Mr,Xr]};Object.defineProperty(qo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Me){this._matrix[0]=Me}}),Object.defineProperty(qo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Me){this._matrix[1]=Me}}),Object.defineProperty(qo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Me){this._matrix[2]=Me}}),Object.defineProperty(qo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Me){this._matrix[3]=Me}}),Object.defineProperty(qo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Me){this._matrix[4]=Me}}),Object.defineProperty(qo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Me){this._matrix[5]=Me}}),Object.defineProperty(qo.prototype,"a",{get:function(){return this._matrix[0]},set:function(Me){this._matrix[0]=Me}}),Object.defineProperty(qo.prototype,"b",{get:function(){return this._matrix[1]},set:function(Me){this._matrix[1]=Me}}),Object.defineProperty(qo.prototype,"c",{get:function(){return this._matrix[2]},set:function(Me){this._matrix[2]=Me}}),Object.defineProperty(qo.prototype,"d",{get:function(){return this._matrix[3]},set:function(Me){this._matrix[3]=Me}}),Object.defineProperty(qo.prototype,"e",{get:function(){return this._matrix[4]},set:function(Me){this._matrix[4]=Me}}),Object.defineProperty(qo.prototype,"f",{get:function(){return this._matrix[5]},set:function(Me){this._matrix[5]=Me}}),Object.defineProperty(qo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(qo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(qo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(qo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),qo.prototype.join=function(Me){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Tn).join(Me)},qo.prototype.multiply=function(Me){var mt=Me.sx*this.sx+Me.shy*this.shx,nn=Me.sx*this.shy+Me.shy*this.sy,bn=Me.shx*this.sx+Me.sy*this.shx,Yn=Me.shx*this.shy+Me.sy*this.sy,Mr=Me.tx*this.sx+Me.ty*this.shx+this.tx,Xr=Me.tx*this.shy+Me.ty*this.sy+this.ty;return new qo(mt,nn,bn,Yn,Mr,Xr)},qo.prototype.decompose=function(){var Me=this.sx,mt=this.shy,nn=this.shx,bn=this.sy,Yn=this.tx,Mr=this.ty,Xr=Math.sqrt(Me*Me+mt*mt),mo=(Me/=Xr)*nn+(mt/=Xr)*bn;nn-=Me*mo,bn-=mt*mo;var So=Math.sqrt(nn*nn+bn*bn);return mo/=So,Me*(bn/=So)>16&255,bn=So>>8&255,Yn=255&So}if(bn===void 0||Mr===void 0&&nn===bn&&bn===Yn)mt=typeof nn=="string"?nn+" "+Xr[0]:Me.precision===2?Dt(nn/255)+" "+Xr[0]:Xt(nn/255)+" "+Xr[0];else if(Mr===void 0||(0,le.Z)(Mr)==="object"){if(Mr&&!isNaN(Mr.a)&&Mr.a===0)return["1.","1.","1.",Xr[1]].join(" ");mt=typeof nn=="string"?[nn,bn,Yn,Xr[1]].join(" "):Me.precision===2?[Dt(nn/255),Dt(bn/255),Dt(Yn/255),Xr[1]].join(" "):[Xt(nn/255),Xt(bn/255),Xt(Yn/255),Xr[1]].join(" ")}else mt=typeof nn=="string"?[nn,bn,Yn,Mr,Xr[2]].join(" "):Me.precision===2?[Dt(nn),Dt(bn),Dt(Yn),Dt(Mr),Xr[2]].join(" "):[Xt(nn),Xt(bn),Xt(Yn),Xt(Mr),Xr[2]].join(" ");return mt},Tc=We.__private__.getFilters=function(){return Ie},gc=We.__private__.putStream=function(Me){var mt=(Me=Me||{}).data||"",nn=Me.filters||Tc(),bn=Me.alreadyAppliedFilters||[],Yn=Me.addLength1||!1,Mr=mt.length,Xr=Me.objectId,mo=function(fl){return fl};if(Ze!==null&&Xr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ze!==null&&(mo=gl.encryptor(Xr,0));var So={};nn===!0&&(nn=["FlateEncode"]);var fi=Me.additionalKeyValues||[],Fi=(So=po.API.processDataByFilters!==void 0?po.API.processDataByFilters(mt,nn):{data:mt,reverseChain:[]}).reverseChain+(Array.isArray(bn)?bn.join(" "):bn.toString());if(So.data.length!==0&&(fi.push({key:"Length",value:So.data.length}),Yn===!0&&fi.push({key:"Length1",value:Mr})),Fi.length!=0)if(Fi.split("/").length-1==1)fi.push({key:"Filter",value:Fi});else{fi.push({key:"Filter",value:"["+Fi+"]"});for(var Bs=0;Bs>"),So.data.length!==0&&(Jt("stream"),Jt(mo(So.data)),Jt("endstream"))},nf=We.__private__.putPage=function(Me){var mt=Me.number,nn=Me.data,bn=Me.objId,Yn=Me.contentsObjId;Ml(bn,!0),Jt("<>"),Jt("endobj");var Mr=nn.join(` `);return sn===pn&&(Mr+=` Q`),Ml(Yn,!0),gc({data:Mr,filters:Tc(),objectId:Yn}),Jt("endobj"),bn},ld=We.__private__.putPages=function(){var Me,mt,nn=[];for(Me=1;Me<=Gi;Me++)Jo[Me].objId=Il(),Jo[Me].contentsObjId=Il();for(Me=1;Me<=Gi;Me++)nn.push(nf({number:Me,data:ca[Me],objId:Jo[Me].objId,contentsObjId:Jo[Me].contentsObjId,mediaBox:Jo[Me].mediaBox,cropBox:Jo[Me].cropBox,bleedBox:Jo[Me].bleedBox,trimBox:Jo[Me].trimBox,artBox:Jo[Me].artBox,userUnit:Jo[Me].userUnit,rootDictionaryObjId:ug,resourceDictionaryObjId:kc}));Ml(ug,!0),Jt("<>"),Jt("endobj"),Qs.publish("postPutPages")},rf=function(Me){Qs.publish("putFont",{font:Me,out:Jt,newObject:jA,putStream:gc}),Me.isAlreadyPutted!==!0&&(Me.objectNumber=jA(),Jt("<<"),Jt("/Type /Font"),Jt("/BaseFont /"+Gu(Me.postScriptName)),Jt("/Subtype /Type1"),typeof Me.encoding=="string"&&Jt("/Encoding /"+Me.encoding),Jt("/FirstChar 32"),Jt("/LastChar 255"),Jt(">>"),Jt("endobj"))},_f=function(Me){Me.objectNumber=jA();var mt=[];mt.push({key:"Type",value:"/XObject"}),mt.push({key:"Subtype",value:"/Form"}),mt.push({key:"BBox",value:"["+[Tn(Me.x),Tn(Me.y),Tn(Me.x+Me.width),Tn(Me.y+Me.height)].join(" ")+"]"}),mt.push({key:"Matrix",value:"["+Me.matrix.toString()+"]"});var nn=Me.pages[1].join(` `);gc({data:nn,additionalKeyValues:mt,objectId:Me.objectNumber}),Jt("endobj")},Kf=function(Me,mt){mt||(mt=21);var nn=jA(),bn=function(Xr,mo){var So,fi=[],Fi=1/(mo-1);for(So=0;So<1;So+=Fi)fi.push(So);if(fi.push(1),Xr[0].offset!=0){var Bs={offset:0,color:Xr[0].color};Xr.unshift(Bs)}if(Xr[Xr.length-1].offset!=1){var FA={offset:1,color:Xr[Xr.length-1].color};Xr.push(FA)}for(var il="",sA=0,fl=0;flXr[sA+1].offset;)sA++;var sl=Xr[sA].offset,Tl=(So-sl)/(Xr[sA+1].offset-sl),Td=Xr[sA].color,jc=Xr[sA+1].color;il+=Qn(Math.round((1-Tl)*Td[0]+Tl*jc[0]).toString(16))+Qn(Math.round((1-Tl)*Td[1]+Tl*jc[1]).toString(16))+Qn(Math.round((1-Tl)*Td[2]+Tl*jc[2]).toString(16))}return il.trim()}(Me.colors,mt),Yn=[];Yn.push({key:"FunctionType",value:"0"}),Yn.push({key:"Domain",value:"[0.0 1.0]"}),Yn.push({key:"Size",value:"["+mt+"]"}),Yn.push({key:"BitsPerSample",value:"8"}),Yn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Yn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),gc({data:bn,additionalKeyValues:Yn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:nn}),Jt("endobj"),Me.objectNumber=jA(),Jt("<< /ShadingType "+Me.type),Jt("/ColorSpace /DeviceRGB");var Mr="/Coords ["+Tn(parseFloat(Me.coords[0]))+" "+Tn(parseFloat(Me.coords[1]))+" ";Me.type===2?Mr+=Tn(parseFloat(Me.coords[2]))+" "+Tn(parseFloat(Me.coords[3])):Mr+=Tn(parseFloat(Me.coords[2]))+" "+Tn(parseFloat(Me.coords[3]))+" "+Tn(parseFloat(Me.coords[4]))+" "+Tn(parseFloat(Me.coords[5])),Jt(Mr+="]"),Me.matrix&&Jt("/Matrix ["+Me.matrix.toString()+"]"),Jt("/Function "+nn+" 0 R"),Jt("/Extend [true true]"),Jt(">>"),Jt("endobj")},zf=function(Me,mt){var nn=Il(),bn=jA();mt.push({resourcesOid:nn,objectOid:bn}),Me.objectNumber=bn;var Yn=[];Yn.push({key:"Type",value:"/Pattern"}),Yn.push({key:"PatternType",value:"1"}),Yn.push({key:"PaintType",value:"1"}),Yn.push({key:"TilingType",value:"1"}),Yn.push({key:"BBox",value:"["+Me.boundingBox.map(Tn).join(" ")+"]"}),Yn.push({key:"XStep",value:Tn(Me.xStep)}),Yn.push({key:"YStep",value:Tn(Me.yStep)}),Yn.push({key:"Resources",value:nn+" 0 R"}),Me.matrix&&Yn.push({key:"Matrix",value:"["+Me.matrix.toString()+"]"}),gc({data:Me.stream,additionalKeyValues:Yn,objectId:Me.objectNumber}),Jt("endobj")},Gm=function(Me){for(var mt in Me.objectNumber=jA(),Jt("<<"),Me)switch(mt){case"opacity":Jt("/ca "+Dt(Me[mt]));break;case"stroke-opacity":Jt("/CA "+Dt(Me[mt]))}Jt(">>"),Jt("endobj")},P0=function(Me){Ml(Me.resourcesOid,!0),Jt("<<"),Jt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var mt in Jt("/Font <<"),Hi)Hi.hasOwnProperty(mt)&&(dt===!1||dt===!0&&St.hasOwnProperty(mt))&&Jt("/"+mt+" "+Hi[mt].objectNumber+" 0 R");Jt(">>")}(),function(){if(Object.keys(To).length>0){for(var mt in Jt("/Shading <<"),To)To.hasOwnProperty(mt)&&To[mt]instanceof ed&&To[mt].objectNumber>=0&&Jt("/"+mt+" "+To[mt].objectNumber+" 0 R");Qs.publish("putShadingPatternDict"),Jt(">>")}}(),function(mt){if(Object.keys(To).length>0){for(var nn in Jt("/Pattern <<"),To)To.hasOwnProperty(nn)&&To[nn]instanceof We.TilingPattern&&To[nn].objectNumber>=0&&To[nn].objectNumber>")}}(Me.objectOid),function(){if(Object.keys(ni).length>0){var mt;for(mt in Jt("/ExtGState <<"),ni)ni.hasOwnProperty(mt)&&ni[mt].objectNumber>=0&&Jt("/"+mt+" "+ni[mt].objectNumber+" 0 R");Qs.publish("putGStateDict"),Jt(">>")}}(),function(){for(var mt in Jt("/XObject <<"),nu)nu.hasOwnProperty(mt)&&nu[mt].objectNumber>=0&&Jt("/"+mt+" "+nu[mt].objectNumber+" 0 R");Qs.publish("putXobjectDict"),Jt(">>")}(),Jt(">>"),Jt("endobj")},kh=function(Me){_i[Me.fontName]=_i[Me.fontName]||{},_i[Me.fontName][Me.fontStyle]=Me.id},Mh=function(Me,mt,nn,bn,Yn){var Mr={id:"F"+(Object.keys(Hi).length+1).toString(10),postScriptName:Me,fontName:mt,fontStyle:nn,encoding:bn,isStandardFont:Yn||!1,metadata:{}};return Qs.publish("addFont",{font:Mr,instance:this}),Hi[Mr.id]=Mr,kh(Mr),Mr.id},fc=We.__private__.pdfEscape=We.pdfEscape=function(Me,mt){return function(nn,bn){var Yn,Mr,Xr,mo,So,fi,Fi,Bs,FA;if(Xr=(bn=bn||{}).sourceEncoding||"Unicode",So=bn.outputEncoding,(bn.autoencode||So)&&Hi[yo].metadata&&Hi[yo].metadata[Xr]&&Hi[yo].metadata[Xr].encoding&&(mo=Hi[yo].metadata[Xr].encoding,!So&&Hi[yo].encoding&&(So=Hi[yo].encoding),!So&&mo.codePages&&(So=mo.codePages[0]),typeof So=="string"&&(So=mo[So]),So)){for(Fi=!1,fi=[],Yn=0,Mr=nn.length;Yn>8&&(Fi=!0);nn=fi.join("")}for(Yn=nn.length;Fi===void 0&&Yn!==0;)nn.charCodeAt(Yn-1)>>8&&(Fi=!0),Yn--;if(!Fi)return nn;for(fi=bn.noBOM?[]:[254,255],Yn=0,Mr=nn.length;Yn>8)>>8)throw new Error("Character at position "+Yn+" of string '"+nn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");fi.push(FA),fi.push(Bs-(FA<<8))}return String.fromCharCode.apply(void 0,fi)}(Me,mt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},x0=We.__private__.beginPage=function(Me){ca[++Gi]=[],Jo[Gi]={objId:0,contentsObjId:0,userUnit:Number(Ee),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Me[0]),topRightY:Number(Me[1])}},Rh(Gi),Do(ca[an])},Th=function(Me,mt){var nn,bn,Yn;switch(x=mt||x,typeof Me=="string"&&(nn=Qt(Me.toLowerCase()),Array.isArray(nn)&&(bn=nn[0],Yn=nn[1])),Array.isArray(Me)&&(bn=Me[0]*xi,Yn=Me[1]*xi),isNaN(bn)&&(bn=oe[0],Yn=oe[1]),(bn>14400||Yn>14400)&&(Hs.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),bn=Math.min(14400,bn),Yn=Math.min(14400,Yn)),oe=[bn,Yn],x.substr(0,1)){case"l":Yn>bn&&(oe=[Yn,bn]);break;case"p":bn>Yn&&(oe=[Yn,bn])}x0(oe),vi(I0),Jt(Vf),D0!==0&&Jt(D0+" J"),U0!==0&&Jt(U0+" j"),Qs.publish("addPage",{pageNumber:Gi})},F0=function(Me){Me>0&&Me<=Gi&&(ca.splice(Me,1),Jo.splice(Me,1),Gi--,an>Gi&&(an=Gi),this.setPage(an))},Rh=function(Me){Me>0&&Me<=Gi&&(an=Me)},jh=We.__private__.getNumberOfPages=We.getNumberOfPages=function(){return ca.length-1},Hh=function(Me,mt,nn){var bn,Yn=void 0;return nn=nn||{},Me=Me!==void 0?Me:Hi[yo].fontName,mt=mt!==void 0?mt:Hi[yo].fontStyle,bn=Me.toLowerCase(),_i[bn]!==void 0&&_i[bn][mt]!==void 0?Yn=_i[bn][mt]:_i[Me]!==void 0&&_i[Me][mt]!==void 0?Yn=_i[Me][mt]:nn.disableWarning===!1&&Hs.warn("Unable to look up font label for font '"+Me+"', '"+mt+"'. Refer to getFontList() for available fonts."),Yn||nn.noFallback||(Yn=_i.times[mt])==null&&(Yn=_i.times.normal),Yn},ud=We.__private__.putInfo=function(){var Me=jA(),mt=function(bn){return bn};for(var nn in Ze!==null&&(mt=gl.encryptor(Me,0)),Jt("<<"),Jt("/Producer ("+fc(mt("jsPDF "+po.version))+")"),rs)rs.hasOwnProperty(nn)&&rs[nn]&&Jt("/"+nn.substr(0,1).toUpperCase()+nn.substr(1)+" ("+fc(mt(rs[nn]))+")");Jt("/CreationDate ("+fc(mt(sr))+")"),Jt(">>"),Jt("endobj")},Gf=We.__private__.putCatalog=function(Me){var mt=(Me=Me||{}).rootDictionaryObjId||ug;switch(jA(),Jt("<<"),Jt("/Type /Catalog"),Jt("/Pages "+mt+" 0 R"),Vo||(Vo="fullwidth"),Vo){case"fullwidth":Jt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Jt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Jt("/OpenAction [3 0 R /Fit]");break;case"original":Jt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var nn=""+Vo;nn.substr(nn.length-1)==="%"&&(Vo=parseInt(Vo)/100),typeof Vo=="number"&&Jt("/OpenAction [3 0 R /XYZ null null "+Dt(Vo)+"]")}switch(ns||(ns="continuous"),ns){case"continuous":Jt("/PageLayout /OneColumn");break;case"single":Jt("/PageLayout /SinglePage");break;case"two":case"twoleft":Jt("/PageLayout /TwoColumnLeft");break;case"tworight":Jt("/PageLayout /TwoColumnRight")}ko&&Jt("/PageMode /"+ko),Qs.publish("putCatalog"),Jt(">>"),Jt("endobj")},Wm=We.__private__.putTrailer=function(){Jt("trailer"),Jt("<<"),Jt("/Size "+(_n+1)),Jt("/Root "+_n+" 0 R"),Jt("/Info "+(_n-1)+" 0 R"),Ze!==null&&Jt("/Encrypt "+gl.oid+" 0 R"),Jt("/ID [ <"+mr+"> <"+mr+"> ]"),Jt(">>")},ol=We.__private__.putHeader=function(){Jt("%PDF-"+Wt),Jt("%\xBA\xDF\xAC\xE0")},_h=We.__private__.putXRef=function(){var Me="0000000000";Jt("xref"),Jt("0 "+(_n+1)),Jt("0000000000 65535 f ");for(var mt=1;mt<=_n;mt++)typeof tr[mt]=="function"?Jt((Me+tr[mt]()).slice(-10)+" 00000 n "):tr[mt]!==void 0?Jt((Me+tr[mt]).slice(-10)+" 00000 n "):Jt("0000000000 00000 n ")},cd=We.__private__.buildDocument=function(){var Me;_n=0,yr=0,vr=[],tr=[],jr=[],ug=Il(),kc=Il(),Do(vr),Qs.publish("buildDocument"),ol(),ld(),function(){Qs.publish("putAdditionalObjects");for(var nn=0;nn"),Jt("/O <"+gl.toHexString(gl.O)+">"),Jt("/P "+gl.P),Jt(">>"),Jt("endobj")),ud(),Gf();var mt=yr;return _h(),Wm(),Jt("startxref"),Jt(""+mt),Jt("%%EOF"),Do(ca[an]),vr.join(` `)},Wf=We.__private__.getBlob=function(Me){return new Blob([Mi(Me)],{type:"application/pdf"})},Kh=We.output=We.__private__.output=(dc=function(Me,mt){switch(typeof(mt=mt||{})=="string"?mt={filename:mt}:mt.filename=mt.filename||"generated.pdf",Me){case void 0:return cd();case"save":We.save(mt.filename);break;case"arraybuffer":return Mi(cd());case"blob":return Wf(cd());case"bloburi":case"bloburl":if(ei.URL!==void 0&&typeof ei.URL.createObjectURL=="function")return ei.URL&&ei.URL.createObjectURL(Wf(cd()))||void 0;Hs.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var nn="",bn=cd();try{nn=S0(bn)}catch(il){nn=S0(unescape(encodeURIComponent(bn)))}return"data:application/pdf;filename="+mt.filename+";base64,"+nn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ei)==="[object Window]"){var Yn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Mr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';mt.pdfObjectUrl&&(Yn=mt.pdfObjectUrl,Mr="");var Xr='