!(function(){var _1=Object.defineProperty,Q1=Object.defineProperties;var k1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Iv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable;var bp=(Xt,It,Be)=>It in Xt?_1(Xt,It,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Xt[It]=Be,jc=(Xt,It)=>{for(var Be in It||(It={}))Iv.call(It,Be)&&bp(Xt,Be,It[Be]);if(vm)for(var Be of vm(It))Nv.call(It,Be)&&bp(Xt,Be,It[Be]);return Xt},Ep=(Xt,It)=>Q1(Xt,k1(It));var Dv=(Xt,It)=>{var Be={};for(var le in Xt)Iv.call(Xt,le)&&It.indexOf(le)<0&&(Be[le]=Xt[le]);if(Xt!=null&&vm)for(var le of vm(Xt))It.indexOf(le)<0&&Nv.call(Xt,le)&&(Be[le]=Xt[le]);return Be};var gs=(Xt,It,Be)=>bp(Xt,typeof It!="symbol"?It+"":It,Be);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},89489:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},59477:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},26227:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},49198:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},87169:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},52671:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},8657:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},56082:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},33853:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},15075:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},43531:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},38819:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},95869:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Se}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(fe,De){return Ee.createElement(Ke.Z,(0,le.Z)({},fe,{ref:De,icon:rt}))},ve=Ee.forwardRef(He),Se=ve},96408:function(Xt,It){"use strict";It.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},25863:function(){"use strict";function Xt(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(Xt.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(Xt.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(Xt.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(Xt.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 Xt))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 It=[];function Be(ie,y){var a=It.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function le(){var ie=It.pop();return ie===void 0?new go.Point:ie}function Ee(ie){It.push(ie)}function je(ie,y,a,ee,E,te,ne,ae,ge){ge||(ge=new go.Point);var Le=ie-a,Pe=E-ne,Ue=NaN,Ge=NaN;if(Le===0)if(Pe===0)ie===a&&(Ue=ie,Ge=y);else{var Ze=(te-ae)/Pe,nt=te-Ze*E;Ue=ie,Ge=Ze*Ue+nt}else if(Pe===0){var ke=(y-ee)/Le,vt=y-ke*ie;Ue=E,Ge=ke*Ue+vt}else{var ke=(y-ee)/Le,Ze=(te-ae)/Pe,vt=y-ke*ie,nt=te-Ze*E;Ue=(nt-vt)/(ke-Ze),Ge=ke*Ue+vt}return ge.x=Ue,ge.y=Ge,ge}function rt(ie,y,a,ee,E,te,ne,ae,ge,Le,Pe,Ue,Ge,Ze){var nt=1-ge,ke=ge,vt=ie*nt+a*ke,_e=y*nt+ee*ke,Nt=a*nt+E*ke,st=ee*nt+te*ke,ot=E*nt+ne*ke,bt=te*nt+ae*ke,ct=vt*nt+Nt*ke,pt=_e*nt+st*ke,At=Nt*nt+ot*ke,tt=st*nt+bt*ke,zt=ct*nt+At*ke,Rt=pt*nt+tt*ke;Le.x=vt,Le.y=_e,Pe.x=ct,Pe.y=pt,Ue.x=zt,Ue.y=Rt,Ge.x=At,Ge.y=tt,Ze.x=ot,Ze.y=bt}var Ke=new go.Spot(.156,.156),He=new go.Spot(.844,.844),ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Xt("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 E=ee*ve,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-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-ee)).add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,ee,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,ee)).add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()));return E>1&&(te.spot1=new go.Spot(0,0,E,E),te.spot2=new go.Spot(1,1,-E,-E)),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,E=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 E.spot1=Ke,E.spot2=He,E.defaultStretch=go.GraphObject.Uniform,E}),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,ve*y,0,y,(1-ve)*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,ve*a,(1-ve)*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,ve*a,ve*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-ve)*y,0,0,(1-ve)*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 Xt("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 E=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(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,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-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y);var E=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(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,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-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(ee=.5);var E=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(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,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-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=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(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,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-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(ee=y/2);var E=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-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):te.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ae,ae).close())),te.spot1=Ke,te.spot2=He,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 Xt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Xt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ie,y,a){var ee=ie?ie.parameter1:NaN,E=ie?ie.parameter2:NaN;isNaN(ee)&&(ee=0),isNaN(E)&&(E=315);var te=ee%360;te<0&&(te+=360);var ne=E%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=ve/Math.SQRT2*.5,E=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,E*y,te*a,y,(1-ee)*a,(E+ee)*y,(te+ee)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Xt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=30);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=Math.min(ee,y)/2,te=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(te-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+E,0)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,te+E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,a)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,te-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Xt("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 E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var te=y/2,ne=a/2,ae=Math.atan2(a,y),ge=ee-Math.min(Math.cos(ae)*ee/2,te),Le=ee-Math.min(Math.sin(ae)*ee/2,ne),E=new go.Geometry,Pe=new go.PathFigure(ge,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.2*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-ge,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,a-Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,y-ge,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,te,.8*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,ge,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,a-Le)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,Le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Xt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ie,y,a){var ee=ie?ie.parameter1:NaN;(isNaN(ee)||ee<0)&&(ee=10);var E=new go.Geometry,te=new go.PathFigure(.1*y,0,!0);return E.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()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Xt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.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()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Xt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.5);var E=new go.Geometry,te=new go.PathFigure(0,0,!0);return E.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()),E}),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,ve*y,0,y,(.5-ve/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+ve/2)*a,ve*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,E=new go.PathFigure(.4*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.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,ge=te*ve;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+ge+ae)*a,(.5-ge+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+ge+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+ge+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-ge+ae)*a,(.5+ge+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ge+ne)*y,(.5-te+ae)*a,(.5-te+ne+.05)*y,(.5-ge+ae-.02)*a)),te=.2,ne=0,ae=-.3,ge=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ne)*y,(.5+ae)*a,(.5+ge+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+ge+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne)*y,(.5-ge+ae)*a,(.5+ge+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-ge+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-ge+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ge+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+ge+ae)*a,(.5-ge+ne)*y,(.5+te+ae)*a)),te=.2,ne=-.3,ae=0,ge=te*ve,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-te+ae)*a,(1-.5+te+ne-.05)*y,(.5-ge+ae-.02)*a,(.5+ge+ne)*y,(.5-te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ne)*y,(.5+ae)*a,(.5-ge+ne)*y,(.5-te+ae)*a,(.5-te+ne)*y,(.5-ge+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+te+ae)*a,(.5-te+ne)*y,(.5+ge+ae)*a,(.5-ge+ne)*y,(.5+te+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ge+ne)*y,(.5+te+ae)*a,(.5+te+ne)*y,(.5+ge+ae)*a).close()),ee.setSpots(.06,.33,.93,.68),ee}),go.Shape.defineFigureGenerator("YinYang",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.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 E.add(new go.PathSegment(go.PathSegment.Move,(ne+te)*y,ae*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*ae,te*y,te*y).close()),E=new go.PathFigure(y*.5,0,!1),ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,E=new go.PathFigure((ne+te)*y,ae*a,!0),ee.add(E),E.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,E=.5*y,te=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,te,E,te)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,te)).add(new go.PathSegment(go.PathSegment.Line,(1-ee)*y,ee*a)).add(new go.PathSegment(go.PathSegment.Move,E,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,E=ve*.5,te=.5,ne=.5,ae=.5,ge=new go.PathFigure(ne*y,(ae-te)*a);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),te=.4,E=ve*.4;var Le=le(),Pe=le(),Ue=le(),Ge=le();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.42,Le,Pe,Ue,Ge,Ge);var Ze=le(),nt=le(),ke=le();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.58,Ge,Ge,ke,Ze,nt);var vt=le(),_e=le(),Nt=le();rt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.42,vt,_e,Nt,Ge,Ge);var st=le(),ot=le(),bt=le();return rt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.58,Ge,Ge,bt,st,ot),ge.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,st.x*y,st.y*a,ot.x*y,ot.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ue.x*y,Ue.y*a,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a)),ge.add(new go.PathSegment(go.PathSegment.Line,bt.x*y,bt.y*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,Nt.x*y,Nt.y*a)),ge.add(new go.PathSegment(go.PathSegment.Line,ke.x*y,ke.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Ze.x*y,Ze.y*a,nt.x*y,nt.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Nt.x*y,Nt.y*a,vt.x*y,vt.y*a,_e.x*y,_e.y*a).close()),Ee(Le),Ee(Pe),Ee(Ue),Ee(Ge),Ee(Ze),Ee(nt),Ee(ke),Ee(vt),Ee(_e),Ee(Nt),Ee(st),Ee(ot),Ee(bt),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 Xt("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 E=(y-ee)/2,te=E+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,E,.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,E=ve*.4,te=.4,ne=.5,ae=.5,ge=le(),Le=le(),Pe=le(),Ue=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-E)*a,(ne-E)*y,(ae-te)*a)),rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.44,Pe,Ue,Le,ge,ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a));var Ze=Be(Le.x,Le.y);rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.56,ge,ge,Le,Pe,Ue);var nt=Be(Le.x,Le.y);Ge.add(new go.PathSegment(go.PathSegment.Line,(Ze.x*.1+.95*.9)*y,Ze.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ze.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,(nt.x*.1+.9)*y,.15*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,(nt.x*.1+.9)*y,(nt.y*.1+.05*.9)*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,nt.x*y,nt.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),te=.35,E=ve*.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-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a));var vt=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(vt),Ee(ge),Ee(Le),Ee(Pe),Ee(Ue),Ee(Ze),Ee(nt),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,E=.375,te=0,ne=-.125,ae=E*ve,ge=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+ae+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-ae+ne)*a,(.5+ae+te)*y,(.5-E+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,(.5+E+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,te=0,ne=-.125,ae=E*ve;var ge=new go.PathFigure((1-.5+E+te)*y,(.5+ne)*a,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+E+ne)*a,(.5+E+te)*y,(.5+ae+ne)*a,(.5+ae+te)*y,(.5+E+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5+E+ne)*a,(.5-E+te)*y,(.5+ae+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+te)*y,(.5+ne)*a,(.5+ae+te)*y,(.5-E+ne)*a,(1-.5+E+te)*y,(.5-ae+ne)*a));var ge=new go.PathFigure((.525+te)*y,(.5+E+ne)*a,!1);return ee.add(ge),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 Xt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Xt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=.3);var te=(1-ee)*y,ne=(.5-E/2)*a,ae=(.5+E/2)*a,ge=new go.Geometry,Le=new go.PathFigure(0,ne,!0);ge.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),Le.add(new go.PathSegment(go.PathSegment.Line,te,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,ae)),Le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ge.spot1=new go.Spot(0,ne/a);var Pe=je(0,ae/a,1,ae/a,te/y,1,1,.5,le());return ge.spot2=new go.Spot(Pe.x,Pe.y),Ee(Pe),ge}),go.Shape.setFigureParameter("Arrow2",0,new Xt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Xt("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 E=ie?ie.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var te=y-ee,ne=(a-E)/2,ae=ne+E,ge=new go.Geometry,Le=new go.PathFigure(0,ne,!0);ge.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te,ne)),Le.add(new go.PathSegment(go.PathSegment.Line,te,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,a)),Le.add(new go.PathSegment(go.PathSegment.Line,te,ae)),Le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ge.spot1=new go.Spot(0,ne/a);var Pe=je(0,ae/a,1,ae/a,te/y,1,1,.5,le());return ge.spot2=new go.Spot(Pe.x,Pe.y),Ee(Pe),ge}),go.Shape.defineFigureGenerator("Chevron",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),ee}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Xt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.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,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ge=je(0,.5,.3,0,0,E/a,.1,E/a,le());return ne.spot1=new go.Spot(ge.x,ge.y),ge=je(.7,1,1,.5,0,te/a,1,te/a,ge),ne.spot2=new go.Spot(ge.x,ge.y),Ee(ge),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Xt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Xt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,ae=(a-E)/2,ge=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,ge=a):(te=0,ne=a,ae=0,ge=a));var Le=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Le.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ge)),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,ge)),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 Ue=je(0,.5,.3,ae/a,0,te/a,1,te/a,le());return Le.spot1=new go.Spot(Ue.x,Ue.y),Ue=je(.7,ge/a,1,.5,0,ne/a,1,ne/a,Ue),Le.spot2=new go.Spot(Ue.x,Ue.y),Ee(Ue),Le}),go.Shape.setFigureParameter("IBeamArrow",0,new Xt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=(.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,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var ge=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ee(ge),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Xt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Xt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=40);var E=ie?ie.parameter2:NaN;isNaN(E)&&(E=100);var te=(a-ee)/2,ne=te+ee,ae=(a-E)/2,ge=ae+E;(ee>a||E>a)&&(E>ee?(ee=ee*a/E,te=(a-ee)/2,ne=te+ee,ae=0,ge=a):(te=0,ne=a,ae=0,ge=a));var Le=new go.Geometry,Pe=new go.PathFigure(y,.5*a,!0);Le.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ge)),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,ge)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,ge)),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()),Le.spot1=new go.Spot(0,te/a);var Ue=je(.7,ge/a,1,.5,0,ne/a,1,ne/a,le());return Le.spot2=new go.Spot(Ue.x,Ue.y),Ee(Ue),Le}),go.Shape.setFigureParameter("Pointer",0,new Xt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.1);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.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()),E.spot1=new go.Spot(ee,.35);var ne=je(.2,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(ne.x,ne.y),Ee(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Xt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.3);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);E.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()),E.spot1=new go.Spot(ee,.35);var ne=je(0,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(ne.x,ne.y),Ee(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Xt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.4);var E=(.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,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var ge=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ee(ge),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Xt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=50);var E=(a-ee)/2,te=E+ee;ee>a&&(E=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,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var ge=je(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ee(ge),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Xt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.7);var E=new go.Geometry,te=new go.PathFigure(y,.5*a,!0);return E.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()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(ee,1),E}),go.Shape.defineFigureGenerator("Cone1",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.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+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*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,E=new go.PathFigure(0,.9*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.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,E=new go.PathFigure(.5*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.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,E=new go.PathFigure(0,.3*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.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 E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(0,ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ve*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,ee,(.5+te)*y,0,1*y,ve*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-ve*ee,(.5+te)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,1*a,0,a-ve*ee)),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee));var ae=new go.PathFigure(y,ee,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*ee,1*y,2*ee-ve*ee,(.5+te)*y,2*ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,ee,(.5-te)*y,2*ee,0,2*ee-ve*ee)),E.spot1=new go.Spot(0,0,0,2*ee),E.spot2=new go.Spot(1,1),E}),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 E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(0,a-ee,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,ve*ee,(.5-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,ee,(.5+te)*y,0,y,ve*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-ve*ee,(.5+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-ee,(.5-te)*y,a,0,a-ve*ee));var ae=new go.PathFigure(0,a-ee,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*ee,0,a-ee-ve*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-ve*ee)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*ee),E}),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 E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(ee,0,!0);E.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-ve*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-ve*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ve*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,ve*ee,0));var ae=new go.PathFigure(ee,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*ee,.5*a,ee+ve*ee,0,2*ee,(.5-te)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,a,2*ee,(.5+te)*a,ee+ve*ee,a)),E.spot1=new go.Spot(0,0,2*ee,0),E.spot2=new go.Spot(1,1),E}),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 E=new go.Geometry,te=ve*.5,ne=new go.PathFigure(y-ee,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-ve*ee,0,y,(.5-te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,a,y,(.5+te)*a,y-ve*ee,a)),ne.add(new go.PathSegment(go.PathSegment.Line,ee,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,ve*ee,a,0,(.5+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,(.5-te)*a,ve*ee,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-ee,0));var ae=new go.PathFigure(y-ee,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*ee,.5*a,y-ee-ve*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-ve*ee,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*ee,0),E}),go.Shape.defineFigureGenerator("Prism1",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.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,E=new go.PathFigure(0,.25*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.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,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.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,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.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,E=.2,te=.1,ne=ve*E,ae=ve*te,ge=.5,Le=.1,Pe=new go.PathFigure(ge*y,(Le+te)*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-E)*y,Le*a,(ge-ne)*y,(Le+te)*a,(ge-E)*y,(Le+ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-te)*a,(ge-E)*y,(Le-ae)*a,(ge-ne)*y,(Le-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+E)*y,Le*a,(ge+ne)*y,(Le-te)*a,(ge+E)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le+te)*a,(ge+E)*y,(Le+ae)*a,(ge+ne)*y,(Le+te)*a));var Ue=.05,Ge=ve*Ue;ge=.05,Le=.25;var Ze=new go.PathFigure(.5*y,.2*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ge=.95,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ue)*y,Le*a,(ge+Ge)*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ue=.025,Ge=ve*Ue,ge=.825,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ue=.05,Ge=ve*Ue,ge=.5,Le=.7,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ue=.025,Ge=ve*Ue,ge=.175,Le=.35,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ue=.05,Ge=ve*Ue,ge=.05,Le=.25,Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a,(ge-Ge)*y,(Le-Ue)*a)),Ze.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 Xt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ie,y,a){var ee=ie?ie.parameter1:NaN;isNaN(ee)&&(ee=.2);var E=new go.Geometry,te=new go.PathFigure(y,0,!0);return E.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()),E.spot1=new go.Spot(0,ee),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.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,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("Database",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=ve*.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+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*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-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*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+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*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+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*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+E)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*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,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,E=ve*.5,te=ve*.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+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*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-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*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+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*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+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*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,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var te=ve*.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,E*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("DividedProcess",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.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,E*a,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ee}),go.Shape.defineFigureGenerator("Document",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.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,E=ie?ie.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.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(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),ee}),go.Shape.defineFigureGenerator("ExternalProcess",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.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,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.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,E=new go.PathFigure(y,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.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,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.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(E*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*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,E=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ne=ve*.5,ae=.5,ge=new go.PathFigure(y,ae*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+ne)*a,(ae+ne)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-ne)*y,a,0,(ae+ne)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-ne)*a,(ae-ne)*y,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+ne)*y,0,y,(ae-ne)*a));var Le=new go.PathFigure((te+E)*y,(te+E)*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,te*y,te*a)),Le.add(new go.PathSegment(go.PathSegment.Move,te*y,(te+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(te+E)*y,te*a)),ee}),go.Shape.defineFigureGenerator("LinedDocument",function(ie,y,a){var ee=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.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,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.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,E=ve*.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-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*y,.9*a,y,(te+E)*a,(te+E)*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,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.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,E*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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(0,0,!0);return ee.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*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-E)*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,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.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 E=new go.PathFigure(y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.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,E=new go.PathFigure(.1*y,.1*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.1);var te=1-E,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*E*y,E*a,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),ee}),go.Shape.defineFigureGenerator("OffPageConnector",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.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,E=ve*.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+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*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 E=new go.PathFigure(0,.7*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.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,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.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,E=ie?ie.parameter1:NaN,te=ie?ie.parameter2:NaN;isNaN(E)&&(E=.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.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-E)*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee}),go.Shape.defineFigureGenerator("Process",function(ie,y,a){var ee=new go.Geometry,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.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(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ee.spot2=go.Spot.BottomRight,ee}),go.Shape.defineFigureGenerator("Sort",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.25);var te=new go.PathFigure(E*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(E*y,0,!1);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ee.spot1=new go.Spot(E,0),ee.spot2=new go.Spot(1-E,1),ee}),go.Shape.defineFigureGenerator("Terminator",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.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,E=ie?ie.parameter1:NaN;isNaN(E)&&(E=.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-E)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),ee.spot1=go.Spot.TopLeft,ee}),go.Shape.defineFigureGenerator("AndGate",function(ie,y,a){var ee=new go.Geometry,E=ve*.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+E)*y,0,y,(.5-E)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*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,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.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,E=ve*.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+E)*a,(te+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,te*a,(te-E)*y,a,0,(te+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,te*y,0,0,(te-E)*a,(te-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,te*a,(te+E)*y,0,y,(te-E)*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 ge=new go.PathFigure(.8*y,.75*a,!1);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ge.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,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),ee}),go.Shape.defineFigureGenerator("Inverter",function(ie,y,a){var ee=new go.Geometry,E=ve*.1,te=.1,ne=.9,ae=.5,ge=new go.PathFigure(.8*y,.5*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,0,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var Le=new go.PathFigure((ne+te)*y,ae*a,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae-te)*a,(ne+te)*y,(ae-E)*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,E=ve*.5,te=ve*.4,ne=ve*.1,ae=.1,ge=.9,Le=.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+E)*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+E)*y,0,.8*y,(.5-te)*a));var Ue=new go.PathFigure((ge+ae)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le+ae)*a,(ge+ae)*y,(Le+ne)*a,(ge+ne)*y,(Le+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y,Le*a,(ge-ne)*y,(Le+ae)*a,(ge-ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-ae)*a,(ge-ae)*y,(Le-ne)*a,(ge-ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y,Le*a,(ge+ne)*y,(Le-ae)*a,(ge+ae)*y,(Le-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,E=.5,te=ve*E,ne=0,ae=.5,ge=new go.PathFigure(.8*y,.5*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(ae-E)*a,.7*y,(ae-te)*a)),E=.1,te=ve*.1,ne=.9,ae=.5;var Le=new go.PathFigure((ne-E)*y,ae*a,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*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,E=.5,te=ve*E,ne=0,ae=.5,ge=new go.PathFigure(0,0,!0);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te+te)*y,(ae-E)*a,.8*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+te)*a,(ne+te+te)*y,(ae+E)*a)),ge.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,E=.5,te=ve*E,ne=.2,ae=.5,ge=new go.PathFigure(.1*y,0,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Le=new go.PathFigure(.8*y,.5*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+te)*y,(ae-E)*a,.7*y,(ae-te)*a)),E=.1,te=ve*.1,ne=.9,ae=.5;var Pe=new go.PathFigure((ne-E)*y,ae*a,!0);return ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*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,E=.5,te=ve*E,ne=.2,ae=.5,ge=new go.PathFigure(.1*y,0,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var Le=new go.PathFigure(.2*y,0,!0);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+te)*y,(ae-E)*a,.9*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.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,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Resistor",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.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,E=ve*.1,te=.1,ne=.1,ae=.5,ge=new go.PathFigure((ne-E*.5)*y,a,!1);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.3,ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.5,ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.7,ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+te)*y,0,(ne+E)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,0,(ne-E)*y,a,(ne-te)*y,0)),ne=.9,ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+te)*y,0,(ne+E)*y,a)),ee}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ie,y,a){var ee=new go.Geometry,E=ve*.5,te=.5,ne=.5,ae=.5,ge=new go.PathFigure((ne-te)*y,ae*a,!1);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-te)*a,(ne-te)*y,(ae-E)*a,(ne-E)*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae-te)*a,(ne+te)*y,(ae-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Move,(ne-te+.1)*y,ae*a)),ge.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,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("Diode",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.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,E=y,te=a;y=y*.38,a=a*.6;var ne=ve*.8,ae=.8,ge=0,Le=.5,Pe=(E-y)/2,Ue=(te-a)/2,Ge=new go.PathFigure(ge*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y+Pe,Le*a+Ue,(ge-ne)*y+Pe,(Le+ae)*a+Ue,(ge-ae)*y+Pe,(Le+ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le-ae)*a+Ue,(ge-ae)*y+Pe,(Le-ne)*a+Ue,(ge-ne)*y+Pe,(Le-ae)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae+ne*.5)*y+Pe,Le*a+Ue,ge*y+Pe,(Le-ae)*a+Ue,(ge-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le+ae)*a+Ue,(ge-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,ge*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.4,ae=.4,ge=.2,Le=.5;var Ze=new go.PathFigure(ge*y+Pe,(Le+ae)*a+Ue,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y+Pe,Le*a+Ue,(ge-ne)*y+Pe,(Le+ae)*a+Ue,(ge-ae)*y+Pe,(Le+ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le-ae)*a+Ue,(ge-ae)*y+Pe,(Le-ne)*a+Ue,(ge-ne)*y+Pe,(Le-ae)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae+ne*.5)*y+Pe,Le*a+Ue,ge*y+Pe,(Le-ae)*a+Ue,(ge-ae+ne*.5)*y+Pe,(Le-ne)*a+Ue)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le+ae)*a+Ue,(ge-ae+ne*.5)*y+Pe,(Le+ne)*a+Ue,ge*y+Pe,(Le+ae)*a+Ue).close()),ne=ve*.2,ae=.2,ge=.5,Le=.5;var nt=new go.PathFigure((ge-ae)*y+Pe,Le*a+Ue,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le-ae)*a+Ue,(ge-ae)*y+Pe,(Le-ne)*a+Ue,(ge-ne)*y+Pe,(Le-ae)*a+Ue)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y+Pe,Le*a+Ue,(ge+ne)*y+Pe,(Le-ae)*a+Ue,(ge+ae)*y+Pe,(Le-ne)*a+Ue)),nt.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le+ae)*a+Ue,(ge+ae)*y+Pe,(Le+ne)*a+Ue,(ge+ne)*y+Pe,(Le+ae)*a+Ue)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ae)*y+Pe,Le*a+Ue,(ge-ne)*y+Pe,(Le+ae)*a+Ue,(ge-ae)*y+Pe,(Le+ne)*a+Ue)),ne=ve*.4,ae=.4,ge=.8,Le=.5;var ke=new go.PathFigure(ge*y+Pe,(Le-ae)*a+Ue,!0);ee.add(ke),ke.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y+Pe,Le*a+Ue,(ge+ne)*y+Pe,(Le-ae)*a+Ue,(ge+ae)*y+Pe,(Le-ne)*a+Ue)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le+ae)*a+Ue,(ge+ae)*y+Pe,(Le+ne)*a+Ue,(ge+ne)*y+Pe,(Le+ae)*a+Ue)),ke.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae-ne*.5)*y+Pe,Le*a+Ue,ge*y+Pe,(Le+ae)*a+Ue,(ge+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),ke.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le-ae)*a+Ue,(ge+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,ge*y+Pe,(Le-ae)*a+Ue).close()),ne=ve*.8,ae=.8,ge=1,Le=.5;var vt=new go.PathFigure(ge*y+Pe,(Le-ae)*a+Ue,!0);return ee.add(vt),vt.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae)*y+Pe,Le*a+Ue,(ge+ne)*y+Pe,(Le-ae)*a+Ue,(ge+ae)*y+Pe,(Le-ne)*a+Ue)),vt.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le+ae)*a+Ue,(ge+ae)*y+Pe,(Le+ne)*a+Ue,(ge+ne)*y+Pe,(Le+ae)*a+Ue)),vt.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ae-ne*.5)*y+Pe,Le*a+Ue,ge*y+Pe,(Le+ae)*a+Ue,(ge+ae-ne*.5)*y+Pe,(Le+ne)*a+Ue)),vt.add(new go.PathSegment(go.PathSegment.Bezier,ge*y+Pe,(Le-ae)*a+Ue,(ge+ae-ne*.5)*y+Pe,(Le-ne)*a+Ue,ge*y+Pe,(Le-ae)*a+Ue).close()),ee}),go.Shape.defineFigureGenerator("Email",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,E=new go.PathFigure(.35*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.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,E=ve*.4,te=.4,ne=.5,ae=.5,ge=le(),Le=le(),Pe=le(),Ue=le();rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,ge,ge,Le,Pe,Ue);var Ge=Be(Le.x,Le.y),Ze=new go.PathFigure(Le.x*y,Le.y*a,!0);ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),rt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,ge,ge),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),E=ve*.3,te=.3,rt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,ge,ge),Ze.add(new go.PathSegment(go.PathSegment.Line,Le.x*y,Le.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),rt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,ge,ge,Le,Pe,Ue),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Le.x*y,Le.y*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a).close());var Ze=new go.PathFigure(.45*y,0,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ze.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Ee(ge),Ee(Le),Ee(Pe),Ee(Ue),Ee(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,E=new go.PathFigure(0,a/2,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function te(ne,ae,ge){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+ge)*a).close())}return te(E,0,0),te(E,.4,0),te(E,.2,-.3),ee}),go.Shape.defineFigureGenerator("IrritationHazard",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.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,E=new go.PathFigure(.37*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.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,E=new go.PathFigure(.1*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.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,E=.5,te=0,ne=0,ae=E*ve,ge=.4*Math.SQRT2/2+.5,Le=.5-.5*Math.SQRT2/2,Pe=1,Ue=.5,Ge=.5,Ze=0,nt=new go.PathFigure(ge*y,(1-Le)*a,!1);return ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,Ue*a,Pe*y,.7*a,Pe*y,Ue*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+te)*y,(Ze+te)*a,(.5+E+te)*y,(.5-ae+te)*a,(.5+ae+te)*y,(.5-E+te)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+te)*y,(.5+ne)*a,(.5-ae+te)*y,(.5-E+ne)*a,(.5-E+te)*y,(.5-ae+ne)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*y,.9*a,(.5-E+te)*y,(.5+ae+ne)*a,(.5-ae+te)*y,.9*a)),nt.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*y,.8*a)),nt.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*y,.9*a)),nt.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,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),ee}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);ee.add(E);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,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.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,E=new go.PathFigure(0,.2*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),ee}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.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,E=new go.PathFigure(0,0,!1);ee.add(E);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,ge=ne,Le=Math.PI/4,Pe=4*(1-Math.cos(Le))/(3*Math.sin(Le)),Ue=Pe*.5,Ge=ne,Ze=ne,nt=Pe*Ge,ke=Pe*Ze;te.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,ge*a,(ae-(nt+Ge)/2)*y,(ge+(Ze+ke)/2)*a,(ae-Ge)*y,(ge+ke)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ge-Ze)*a,(ae-Ge)*y,(ge-ke)*a,(ae-nt)*y,(ge-Ze)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,ge*a,(ae+nt)*y,(ge-Ze)*a,(ae+Ge)*y,(ge-ke)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(ge+ke)*a,(ae+(nt+Ge)/2)*y,(ge+(Ze+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 vt=new go.PathFigure(.2*y,a,!1);ee.add(vt),vt.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var _e=new go.PathFigure(.8*y,a,!1);return ee.add(_e),_e.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,E=new go.PathFigure(.1*y,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.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,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.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,E=new go.PathFigure(0,0,!1);ee.add(E);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,E=new go.PathFigure(.05*y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var te=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,te*y,te*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.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,E=new go.PathFigure(.45*y,.95*a,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.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,E=.5,te=ve*.5,ne=new go.PathFigure(y,E*a,!0);ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+te)*a,(E+te)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-te)*y,a,0,(E+te)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-te)*a,(E-te)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+te)*y,0,y,(E-te)*a));var ae=new go.PathFigure(E*y,0,!1);return ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*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,E=new go.PathFigure(0,.15*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.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,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,E=new go.PathFigure(y,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.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,E=new go.PathFigure(.15*y,.6*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.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,E=new go.PathFigure(y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),ee}),go.Shape.defineFigureGenerator("Workcell",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),ee}),go.Shape.defineFigureGenerator("Supermarket",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),ee}),go.Shape.defineFigureGenerator("TruckShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.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=ve*.1,ge=.2,Le=.9,Pe=new go.PathFigure((ge-ne)*y,Le*a,!0);ee.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-ne)*a,(ge-ne)*y,(Le-ae)*a,(ge-ae)*y,(Le-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*y,Le*a,(ge+ae)*y,(Le-ne)*a,(ge+ne)*y,(Le-ae)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le+ne)*a,(ge+ne)*y,(Le+ae)*a,(ge+ae)*y,(Le+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*y,Le*a,(ge-ae)*y,(Le+ne)*a,(ge-ne)*y,(Le+ae)*a).close()),ne=.1,ae=ve*.1,ge=.8,Le=.9;var Ue=new go.PathFigure((ge-ne)*y,Le*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-ne)*a,(ge-ne)*y,(Le-ae)*a,(ge-ae)*y,(Le-ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ne)*y,Le*a,(ge+ae)*y,(Le-ne)*a,(ge+ne)*y,(Le-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le+ne)*a,(ge+ne)*y,(Le+ae)*a,(ge+ae)*y,(Le+ne)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ne)*y,Le*a,(ge-ae)*y,(Le+ne)*a,(ge-ne)*y,(Le+ae)*a).close()),ee}),go.Shape.defineFigureGenerator("KanbanPost",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ee}),go.Shape.defineFigureGenerator("Forklift",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.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 ge=.1,Le=ve*.1,Pe=.1,Ue=.9,Ge=new go.PathFigure((Pe-ge)*y,Ue*a,!0);ee.add(Ge),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-ge)*a,(Pe-ge)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-ge)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+ge)*y,Ue*a,(Pe+Le)*y,(Ue-ge)*a,(Pe+ge)*y,(Ue-Le)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+ge)*a,(Pe+ge)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+ge)*a)),Ge.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-ge)*y,Ue*a,(Pe-Le)*y,(Ue+ge)*a,(Pe-ge)*y,(Ue+Le)*a)),ge=.1,Le=ve*.1,Pe=.4,Ue=.9;var Ze=new go.PathFigure((Pe-ge)*y,Ue*a,!0);return ee.add(Ze),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-ge)*a,(Pe-ge)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+ge)*y,Ue*a,(Pe+Le)*y,(Ue-ge)*a,(Pe+ge)*y,(Ue-Le)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+ge)*a,(Pe+ge)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+ge)*a)),Ze.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-ge)*y,Ue*a,(Pe-Le)*y,(Ue+ge)*a,(Pe-ge)*y,(Ue+Le)*a)),ee}),go.Shape.defineFigureGenerator("RailShipment",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.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,Ue=ve*.05,Ge=.175,Ze=.95,ae=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.375,Ze=.95,ge=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.625,Ze=.95,Le=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.825,Ze=.95,nt=new go.PathFigure((Ge-Pe)*y,Ze*a,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze-Pe)*a,(Ge-Pe)*y,(Ze-Ue)*a,(Ge-Ue)*y,(Ze-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,Ze*a,(Ge+Ue)*y,(Ze-Pe)*a,(Ge+Pe)*y,(Ze-Ue)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(Ze+Pe)*a,(Ge+Pe)*y,(Ze+Ue)*a,(Ge+Ue)*y,(Ze+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,Ze*a,(Ge-Ue)*y,(Ze+Pe)*a,(Ge-Pe)*y,(Ze+Ue)*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,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.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,ge=ve*.05,Le=.35,Pe=.775,Ue=new go.PathFigure((Le-ae)*y,Pe*a,!0);return ee.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Pe-ae)*a,(Le-ae)*y,(Pe-ge)*a,(Le-ge)*y,(Pe-ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ae)*y,Pe*a,(Le+ge)*y,(Pe-ae)*a,(Le+ae)*y,(Pe-ge)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Pe+ae)*a,(Le+ae)*y,(Pe+ge)*a,(Le+ge)*y,(Pe+ae)*a)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ae)*y,Pe*a,(Le-ge)*y,(Pe+ae)*a,(Le-ae)*y,(Pe+ge)*a).close()),ee}),go.Shape.defineFigureGenerator("ControlCenter",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.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,E=new go.PathFigure(0,.75*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ee}),go.Shape.defineFigureGenerator("Bookmark",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.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,E=new go.PathFigure(0,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.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,E=new go.PathFigure(.5*y,0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.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,E=new go.PathFigure(0,.25*a,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.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,E=.3,te=ve*.3,ne=.5,ae=.7,ge=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a));var Le=new go.PathFigure(0,.7*a,!1);return ee.add(Le),Le.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,E=new go.PathFigure(.5*y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.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,E=new go.PathFigure(y,0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),ee}),go.Shape.defineFigureGenerator("Battery",function(ie,y,a){var ee=new go.Geometry,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.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,E=.5,te=ve*.5,ne=.5,ae=.5,ge=new go.PathFigure((ne-E)*y,ae*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a));var Le=new go.PathFigure(.15*y,.5*a,!1);return ee.add(Le),Le.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,E=new go.PathFigure(0,.1*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.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,E=.5,te=ve*.5,ne=.5,ae=.5,ge=new go.PathFigure((ne-E)*y,ae*a,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a).close()),E=.05,te=ve*.05,ne=.5,ae=.8;var Le=new go.PathFigure((ne-E)*y,ae*a,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae-E)*a,(ne-E)*y,(ae-te)*a,(ne-te)*y,(ae-E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,ae*a,(ne+te)*y,(ae-E)*a,(ne+E)*y,(ae-te)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+E)*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,ae*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a).close()),Le.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),Le.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,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.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,E=new go.PathFigure(0,.5*a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.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,E=new go.PathFigure(0,.5*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.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,E=new go.PathFigure(0,.2*a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.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,E=new go.PathFigure(0,a,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.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,E=new go.PathFigure(y*1,a*1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.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 ge=new go.PathFigure(.5*y,.1*a,!1);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ge.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,E=new go.PathFigure(0,a*1,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.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,E=new go.PathFigure(0,a*1,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.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 ge=new go.PathFigure(y*.816,a,!0);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ge.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ge.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,E=new go.PathFigure(0,0,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.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 ge=new go.PathFigure(y*1,0,!0);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ge.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,E=new go.PathFigure(.55*y,a,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.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,E=new go.PathFigure(y*1,a*.5,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.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,E=new go.PathFigure(0,0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.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 ge=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ge.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ge.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,E=8,te=E*ve,ne=new go.PathFigure(E,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-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,te,a,0,a-te)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,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 ge=new go.PathFigure(y*.83,a*1,!1);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ge.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var Le=new go.PathFigure(y*.78,a*.05,!1);return ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),Le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),Le.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 E=ee*ve,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-E,0,y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y,te-ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-ee,te,y,te-E,y-E,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,E,te,0,te-E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ae.add(new go.PathSegment(go.PathSegment.Bezier,ee,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(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,E=new go.PathFigure(y*0,a*.45,!0);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.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,E=new go.PathFigure(y*0,a*.1,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.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,E=15,te=E*ve,ne=new go.PathFigure(y*.62,a*.475,!0);return ee.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-te,y-te,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,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,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.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,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.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,E=new go.PathFigure(y*0,a*1,!0);ee.add(E);var te=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-te))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.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,E=new go.PathFigure(y*.15,a*0,!1);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.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,E=new go.PathFigure(y*.15,a*0,!1);ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.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,E=new go.PathFigure(y*.5,a*0,!0);return ee.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.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")},93510: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 Xt={},It="5.0",Be={},le=null,Ee=!1,je=!1,rt=null,Ke=!1,He=null,ve=null,Se=0;Se4?parseFloat(ft):5};Xt.setHTML5Codebase=function(ft,Kt){ve=ft,tt(ft,Kt)},Xt.setJavaCodebase=Xt.setJavaCodebaseVersion=Xt.isCompiledInstalled=Xt.setPreCompiledScriptPath=Xt.setPreCompiledResourcePath=function(){},Xt.setHTML5CodebaseVersion=function(ft,Kt){var yn=parseFloat(ft);if(yn!==NaN&&yn<5){console.log("The GeoGebra HTML5 codebase version "+yn+" is deprecated. Using version latest instead.");return}He=ft,At(ft,Kt)},Xt.getHTML5CodebaseVersion=function(){return ie},Xt.getParameters=function(){return Be},Xt.setFontsCSSURL=function(ft){ne=ft},Xt.setGiacJSURL=function(ft){},Xt.setJNLPFile=function(ft){fe=ft},Xt.setJNLPBaseDir=function(ft){},Xt.inject=function(){function ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Kt="auto",yn=Be.id,Hn,ln=!1,Wn=0;Wn=5)return!0;var ft=Xt.getAppletObject();return ft&&typeof ft.recalculateEnvironments=="function"?(ft.recalculateEnvironments(),!0):!1},Xt.startAnimation=function(){var ft=Xt.getAppletObject();return ft&&typeof ft.startAnimation=="function"?(ft.startAnimation(),!0):!1},Xt.stopAnimation=function(){var ft=Xt.getAppletObject();return ft&&typeof ft.stopAnimation=="function"?(ft.stopAnimation(),!0):!1},Xt.getAppletObject=function(){var ft=Be.id!==void 0?Be.id:"ggbApplet";return window[ft]},Xt.resize=function(){};var nt=function(ft,Kt,yn){var Hn=document.createElement("param");Hn.setAttribute("name",Kt),Hn.setAttribute("value",yn),ft.appendChild(Hn)},ke=function(ft){return ft&&ft!=="false"},vt=function(ft,Kt,yn){ge(ie)<=4.2&&(yn=!0);var Hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ln=document.createElement("div");ln.classList.add("appletParameters","notranslate");var Wn=Kt.width,Bt=Kt.height;if(Kt.disableAutoScale=Kt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Kt.disableAutoScale,Kt.width!==void 0)if(ge(ie)<=4.4)ke(Kt.showToolBar)&&(Kt.height-=7),ke(Kt.showAlgebraInput)&&(Kt.height-=37),Kt.width<605&&ke(Kt.showToolBar)&&(Kt.width=605,Wn=605);else{var Un=100;(ke(Kt.showToolBar)||ke(Kt.showMenuBar))&&(Kt.hasOwnProperty("customToolBar")&&(Kt.customToolbar=Kt.customToolBar),Un=ke(Kt.showMenuBar)?245:155),Wn=5?(Kt.appletOnLoad=function(it){var kt=ft.querySelector(".ggb_preview");kt&&kt.parentNode.removeChild(kt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(gn),window.GGBT_wsf_view&&$(window).trigger("resize"),Je(it)},Fe||gn.appendChild(he)):ln.appendChild(he),gn.appendChild(ln),Fe||ft.appendChild(gn),setTimeout(function(){Xt.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(ln),ft.appendChild(de),Kt.appletOnLoad=function(it){Xt.resize(),Je(it)}}function ye(it,kt){kt&&typeof kt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(it,kt.appletOnLoad):renderGGBElement(it),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",kt)}function qe(it,kt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:it,params:kt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(kn){ye(kn.article,kn.params)}),html5AppletsToProcess=null)},ge(ie)<5&&(it.className+=" geogebraweb")):ye(it,kt)}if(Hn){scriptLoadStarted=!0;for(var dt=0;dt0?(ar.remove(),gn.attr("id","fullscreencontent").show(),jQuery(Je).append(gn),window.dispatchEvent(new Event("resize"))):vt(ar,Kt,!1),window.GGBT_wsf_view.launchFullScreen(Je)}else Ce=Hn,vt(ft,Kt,!1);if(!window.GGBT_wsf_view)for(Bt=0;Btft/4*3&&(ar=ft/4*3),Je=ar/5.8,Un.setAttribute("src",E),Un.setAttribute("width",ar),Un.setAttribute("height",Je);var gn=(ft-ar)/2,Fe=(Kt-Je)/2;Un.style.left=gn+"px",Un.style.top=Fe+"px",ln.appendChild(Un)}}return ln.appendChild(Bt),ln},ct=function(ft){return ft=ft.toLowerCase(),ft==="html5"||ft==="screenshot"?ft:"html5"},pt=["web","webSimple","web3d","tablet","tablet3d","phone"],At=function(ft,Kt){if(ie=ft,Kt){tt(ie,!0);return}var yn=!Ee;if(yn){var Hn=ge(ie);!isNaN(Hn)&&Hn<4.4&&(yn=!1)}var ln,Wn;window.location.protocol.substr(0,4)==="http"?ln=window.location.protocol:ln="http:";var Bt=ie.indexOf("//");Bt>0?Wn=ie:Bt===0?Wn=ln+ie:Wn="https://www.geogebra.org/apps/5.2.814.0/";for(var Un in pt)if(ie.slice(pt[Un].length*-1)===pt[Un]||ie.slice((pt[Un].length+1)*-1)===pt[Un]+"/"){tt(Wn,!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(Be.showToolBar)&&!ke(Be.showMenuBar)&&!ke(Be.showAlgebraInput)&&!ke(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?Wn+="webSimple/":Wn+="web3d/",tt(Wn,!1)},tt=function(ft,Kt){if(ft.requirejs){De=ft;return}ft.slice(-1)!=="/"&&(ft+="/"),De=ft,Kt===null&&(Kt=ft.indexOf("http")===-1),xe=Kt,y="web.nocache.js",a=!1;var yn=De.split("/");yn.length>1&&(!Kt&&yn[yn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):pt.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 Hn=parseFloat(ie);Hn!==NaN&&Hn<5&&ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Hn+" is deprecated. Using version latest instead."),At("5.0",Kt))},zt=function(ft,Kt){window.console&&window.console.log&&(!Kt||typeof Kt.showLogging=="undefined"||Kt.showLogging&&Kt.showLogging!=="false")&&console.log(ft)};Be.material_id!==void 0?Ue(Rt):Rt();function Rt(){var ft=It;He!==null?ft=He:parseFloat(ft)<5&&(ft="5.0"),At(ft,!1),ve!==null&&tt(ve,xe),Ke=!0}return Xt},GGBAppletUtils=function(){"use strict";function Xt(){return window.GGBT_wsf_edit!==void 0}function It(Ke,He){He!=1?(Ke.style.transformOrigin="0% 0% 0px",Ke.style.webkitTransformOrigin="0% 0% 0px",Ke.style.transform="scale("+He+","+He+")",Ke.style.webkitTransform="scale("+He+","+He+")",Ke.style.maxWidth="initial",Ke.querySelector(".ggb_preview")!==null&&(Ke.querySelector(".ggb_preview").style.maxWidth="initial"),Ke.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ke.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ke.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ke.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ke.style.transform="none",Ke.style.webkitTransform="none")}function Be(Ke,He,ve,Se,Ne,fe){var De=null;if(fe!=null&&fe!="")for(var xe=Ke.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+fe+" ")>-1){De=xe;break}else xe=xe.parentNode;var Ce=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(De)Ce=De.offsetWidth,ie=Math.max(Se?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ce=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ce):(Ce=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),Ke){var ne=Ke.getBoundingClientRect();ne.left>0&&ne.left<=Ce&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(ee=Ce-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(Ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=Ke.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return Ke&&((ve===void 0||!ve)&&He>0&&He+a1&&(fe=!0)),He&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(Ke.hasOwnProperty("disableAutoScale")&&Ke.disableAutoScale))Ne=le(Ke,He,fe,ve,Ke.scaleContainerClass);else return Se;return fe&&(!Ke.hasOwnProperty("scale")||Se===1)?Ne:Math.min(Se,Ne)}function je(Ke){var He=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),Se=Ke.getBoundingClientRect(),Ne=(He-Se.width)/2,fe=(ve-Se.height)/2;fe<0&&(fe=0),Ke.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?Ke.style.left="40px":Ke.style.left=Ne+"px",Ke.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?Ke.style.top="40px":Ke.style.top=fe+"px",Ke.style.left=Ne+"px")}function rt(Ke,He){var ve=Ke.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(He.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ke)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var Se=Ee(He,Ke);Xt()&&ve.setAttribute("data-param-scale",Se);for(var Ne=null,fe=0;fe=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(Xt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Xt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Xt){var It=c[Xt];return It==null?null:It},r=d,webModule.__errFn=e}function B(){function Xt(Ke){var He=Ke.lastIndexOf(rb);He==-1&&(He=Ke.length);var ve=Ke.indexOf(sb);ve==-1&&(ve=Ke.length);var Se=Ke.lastIndexOf(tb,Math.min(ve,He));return Se>=O?Ke.substring(O,Se+P):W}function It(Ke){if(!Ke.match(/^\w+:\/\//)){var He=o.createElement(ub);He.src=Ke+vb,Ke=Xt(He.src)}return Ke}function Be(){var Ke=__gwt_getMetaProperty(wb);return Ke!=null?Ke:W}function le(){for(var Ke=o.getElementsByTagName(_),He=O;HeO?Ke[Ke.length-P].href:W}function je(){var Ke=o.location;return Ke.href==Ke.protocol+zb+Ke.host+Ke.pathname+Ke.search+Ke.hash}var rt=Be();return rt==W&&(rt=le()),rt==W&&(rt=Ee()),rt==W&&je()&&(rt=Xt(o.location.href)),rt=It(rt),rt}function C(Xt){return Xt.match(/^\//)||Xt.match(/^[a-zA-Z]+:\/\//)?Xt:webModule.__moduleBase+Xt}function D(){var Xt=[],It=O,Be=[],le=[];function Ee(Ke){var He=le[Ke](),ve=Be[Ke];if(He in ve)return He;var Se=[];for(var Ne in ve)Se[ve[Ne]]=Ne;throw r&&r(Ke,Se,He),null}if(__gwt_isKnownPropertyValue=function(Ke,He){return He in Be[Ke]},webModule.__getPropMap=function(){var Ke={};for(var He in Be)Be.hasOwnProperty(He)&&(Ke[He]=Ee(He));return Ke},webModule.__computePropValue=Ee,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var je;try{je=Cb;var rt=je.indexOf(Db);rt!=-1&&(It=parseInt(je.substring(rt+P),$),je=je.substring(O,rt))}catch(Ke){}return webModule.__softPermutationId=It,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})()},28735:function(Xt,It,Be){"use strict";Be.d(It,{Ax:function(){return rt},Ds:function(){return Ke},KI:function(){return ve},SI:function(){return je},f1:function(){return Ee}});var le=Be(74128);function Ee(Se){let Ne=!0;if(Se.length>0){for(let fe=0;feLe in ge?De(ge,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ge[Le]=Pe,a=(ge,Le)=>{for(var Pe in Le||(Le={}))Ce.call(Le,Pe)&&y(ge,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(ge,Pe,Le[Pe]);return ge};const ee=(ge={})=>{var Le,Pe,Ue,Ge;let Ze=(Le=ge==null?void 0:ge.emotion)==null?void 0:Le.map(_e=>a({value:_e==null?void 0:_e.rate},_e)),nt=(Pe=ge==null?void 0:ge.focus)==null?void 0:Pe.map(_e=>a({value:_e==null?void 0:_e.rate},_e)),ke=(Ue=ge==null?void 0:ge.action)==null?void 0:Ue.map(_e=>a({value:_e==null?void 0:_e.rate},_e)),vt=(Ge=ge==null?void 0:ge.intention)==null?void 0:Ge.map(_e=>a({value:_e==null?void 0:_e.rate},_e));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:Ze||[]},{title:"\u4E13\u6CE8\u5EA6\u5360\u6BD4",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:nt||[]},{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:vt||[]}]},E=({className:ge,dataSource:Le=[],col:Pe=4,right:Ue,bottom:Ge=23,precision:Ze=0,wrapWidth:nt=1200})=>{const ke=(_e="",Nt,st="--")=>_e?(_e==null?void 0:_e.length)>Nt?(_e==null?void 0:_e.slice(0,Nt-1))+"...":_e:st,vt=Math.floor((nt-(Pe-1)*Ue)/Pe);return le.createElement("div",{className:rt()(Ee.list,ge)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((_e,Nt)=>{const{cover_pic:st,created_at:ot,emotion:bt,action:ct,intention:pt,focus:At}=_e;return le.createElement("div",{key:Nt,className:Ee.wrap,style:{width:vt,marginRight:(1+Nt)%Pe===0?0:Ue+Ze,marginBottom:Ge}},le.createElement("div",{className:Ee.img},le.createElement("img",{src:`${fe.Z.API_SERVER}${st}`}),le.createElement("div",{className:Ee.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:Ee.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(He.Z,{title:bt},le.createElement("span",{className:"c-grey-333"},ke(bt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-hangwei"}),le.createElement("span",null,"\u884C\u4E3A\uFF1A",le.createElement(He.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(He.Z,{title:pt},le.createElement("span",{className:"c-grey-333"},ke(pt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-zhuangtai"}),le.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",le.createElement(He.Z,{title:At},le.createElement("span",{className:"c-grey-333"},ke(At,3))))))))})))},te=({className:ge,style:Le,title:Pe,hideBar:Ue=!1,children:Ge,customText:Ze="",noDataText:nt="",emptyData:ke=[],loading:vt,actionAnalysis:_e})=>{var Nt,st;const ot=((Nt=ke==null?void 0:ke[0])==null?void 0:Nt.every(ct=>{var pt;return!((pt=ct==null?void 0:ct.data)!=null&&pt.length)}))&&!((st=ke==null?void 0:ke[1])!=null&&st.length)||!_e,bt=_e?nt:Ze;return le.createElement(ve.Z,{loading:vt,active:!0},ot&&le.createElement("div",{className:rt()(Ee.noData,ge),style:Le},!!Pe&&le.createElement("div",{className:Ee.title},!Ue&&le.createElement("b",null),le.createElement("span",null,Pe)),le.createElement("div",{className:Ee.itemWrap},le.createElement(Ne.Z,{customText:bt}))),!ot&&Ge)};var ae=({className:ge,style:Le,data:Pe=[],title:Ue,hideBar:Ge=!1,loading:Ze=!1})=>le.createElement("div",{className:rt()(Ee.analysis,ge),style:Le},!!Ue&&le.createElement("div",{className:Ee.title},!Ge&&le.createElement("b",null),le.createElement("span",null,Ue)),le.createElement(Se.Z,{spinning:Ze},le.createElement("div",{className:Ee.itemWrap},Pe==null?void 0:Pe.map((nt,ke)=>le.createElement("div",{className:Ee.item,key:ke},le.createElement(Ke.Z,{option:{tooltip:{trigger:"item",formatter:"{a}
{b}: {c}%"},title:{left:"center",bottom:15,text:nt==null?void 0:nt.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(vt){for(let _e in nt==null?void 0:nt.data)if(vt==(nt==null?void 0:nt.data[_e].name))return vt+" "+(nt==null?void 0:nt.data[_e].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:nt==null?void 0:nt.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:nt==null?void 0:nt.data}]},style:{height:145}}))))))},48530:function(Xt,It,Be){"use strict";var le=Be(86204),Ee=Be.n(le),je=Object.defineProperty,rt=(Se,Ne,fe)=>Ne in Se?je(Se,Ne,{enumerable:!0,configurable:!0,writable:!0,value:fe}):Se[Ne]=fe,Ke=(Se,Ne,fe)=>rt(Se,typeof Ne!="symbol"?Ne+"":Ne,fe),He=(Se,Ne,fe)=>new Promise((De,xe)=>{var Ce=a=>{try{y(fe.next(a))}catch(ee){xe(ee)}},ie=a=>{try{y(fe.throw(a))}catch(ee){xe(ee)}},y=a=>a.done?De(a.value):Promise.resolve(a.value).then(Ce,ie);y((fe=fe.apply(Se,Ne)).next())});class ve extends le.EventEmitter{constructor(Ne,fe){super(),Ke(this,"url"),Ke(this,"body"),Ke(this,"fullContent",""),Ke(this,"controller",null),Ke(this,"buffer",""),this.url=Ne,this.body=fe}startStream(){return He(this,null,function*(){this.controller=new AbortController;const{signal:Ne}=this.controller;try{const fe=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ne});if(!fe.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${fe.status}`);const De=fe.headers.get("content-type");if(!De)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(De.includes("application/json")){const ie=yield fe.json();this.emit("error",ie);return}if(!De.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const xe=fe.body.getReader(),Ce=new TextDecoder("utf-8");for(;;){const{done:ie,value:y}=yield xe.read();if(ie)break;const a=Ce.decode(y,{stream:!0});this.buffer+=a;const ee=this.buffer.split(` `);this.buffer=ee.pop()||"";for(const E of ee)if(E.startsWith("data:")){const te=E.slice(5).trim();if(te==="[DONE]")break;try{const ne=JSON.parse(te);ne.data&&this.handleData(ne.data)}catch(ne){this.buffer=E+` `+this.buffer,console.error("\u89E3\u6790 JSON \u5931\u8D25:",ne)}}}this.emit("done",this.fullContent)}catch(fe){fe.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",fe.message)}})}handleData(Ne){Ne.content&&(this.fullContent+=Ne.content,this.emit("data",{chunk:Ne,full:this.fullContent}))}cancelRequest(){var Ne;(Ne=this.controller)==null||Ne.abort()}}It.Z=ve},16750:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return De}});var le=Be(59301),Ee={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},je=Be(92310),rt=Be.n(je),Ke=Be(71418),He=Be(2859),ve=Be(38147),Se=Be(65862),Ne=(xe,Ce,ie)=>new Promise((y,a)=>{var ee=ne=>{try{te(ie.next(ne))}catch(ae){a(ae)}},E=ne=>{try{te(ie.throw(ne))}catch(ae){a(ae)}},te=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(ee,E);te((ie=ie.apply(xe,Ce)).next())}),De=({data:xe,className:Ce,fullWidth:ie,style:y={},onClose:a,onOk:ee,showFullTools:E,noAssociationId:te})=>{const ne=(0,le.useRef)(null),ae=(0,le.useRef)(null),ge=(0,le.useRef)(null),Le=(0,le.useRef)(null),[Pe,Ue]=(0,le.useState)(!1),[Ge,Ze]=(0,le.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,le.useEffect)(()=>{ge.current||(ge.current=document.createElement("style"),document.head.appendChild(ge.current)),xe!=null&&xe.visible?(document.body.setAttribute("data-custom","y-hidden"),ge.current.innerHTML=" html { overflow-y: hidden; }",xe!=null&&xe.src&&nt()):(document.body.removeAttribute("data-custom"),ge.current&&(document.head.removeChild(ge.current),ge.current=null))},[xe==null?void 0:xe.visible]);const nt=()=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u52A0\u8F7D\u4E2D");const st=yield(0,Se.ZJ)(xe==null?void 0:xe.src);ne.current.src="",ne.current.src=st,ne.current.onload=function(){Nt()},Ue(!1),Ze("")}),ke=()=>{document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",a()},vt=st=>Ne(void 0,null,function*(){Ue(!0),Ze("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:xe.title,file:st.dataUrl}});ot!=null&&ot.id&&!te?(yield(0,ve.ZP)(`/api/attachments/${xe.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(st.state)}})).status===0&&ee():ot!=null&&ot.id&&ee(ot),document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",Ue(!1),Ze("")}),_e=()=>{const st=document.querySelector('a[href="https://markerjs.com/"]');st&&st.parentNode&&(st.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(bt=>{const ct=document.querySelector(bt.name);ct&&ct.setAttribute("title",bt.title)})},Nt=()=>{ae.current=new He.hP(ne.current),ae.current.targetRoot=Le.current,ae.current.addEventListener("render",vt),ae.current.addEventListener("beforeclose",ke),E&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),xe!=null&&xe.snapshotData&&ae.current.restoreState(xe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),_e()},300)};return le.createElement(le.Fragment,null,(xe==null?void 0:xe.visible)&&le.createElement(Ke.Z,{spinning:Pe,tip:Ge,style:{position:"absolute"}},le.createElement("div",{ref:Le,className:rt()(Ee.imageDimensions,Ce,ie?Ee.fullWidth:""),style:y},le.createElement("img",{className:Ee.img,ref:ne}))))}},99298:function(Xt,It,Be){"use strict";var le=Be(59301),Ee=Be(95237),je=Be(43604),rt=Be(99313),Ke=Be(3113),He=Be(6339),ve=Be(96408),Se=Be(48136),Ne=Be(59301);const fe=(0,le.forwardRef)(({callback:De,showSaveButton:xe,value:Ce=""},ie)=>{const y=(0,le.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],ee=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],E=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ne.createElement(Ee.Z,{className:ve.Z.lists,gutter:[10,10]},a.map((ae,ge)=>Ne.createElement(je.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(He.Z,{value:`$$${ae.value}$$`}),ae.name),Ne.createElement("div",{className:ve.Z.children},ae.children.map((Le,Pe)=>Ne.createElement("div",{key:Pe},Ne.createElement("h1",null,Le.name),Ne.createElement(Ee.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(je.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(He.Z,{value:"`$$"+Ue.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(Ee.Z,{className:ve.Z.lists,gutter:[10,10]},ee.map((ae,ge)=>Ne.createElement(je.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(He.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Ne.createElement("div",{className:ve.Z.children},ae.children.map((Le,Pe)=>Ne.createElement("div",{key:Pe},Le.name&&Ne.createElement("h1",null,Le.name),Ne.createElement(Ee.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(je.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(He.Z,{value:"`$$"+Ue.value+"$$`"}))))))))))}],ne=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var ge=ae.innerText;return De&&De(ge),ge};return(0,le.useImperativeHandle)(ie,()=>({getData:ne})),Ne.createElement("div",{className:ve.Z.mathWrap},Ne.createElement(rt.default,{defaultActiveKey:"1",items:te}),Ne.createElement("math-field",{locale:"zh_cn",className:ve.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ce||""),xe&&Ne.createElement("div",{className:ve.Z.button},Ne.createElement(Ke.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});It.Z=fe},27185:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return vt}});var le=Be(59301),Ee=Be(65582),je=Be(43418),rt=Be(78241),Ke=Be(8591),He=Be(71418),ve=Be(17574),Se=Be(95237),Ne=Be(43604),fe=Be(6848),De=Be(92832),xe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ce=Be(61527),ie=Be(89540),y=Be(2524),a=Be(3918),ee=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Le=(_e,Nt,st)=>Nt in _e?ee(_e,Nt,{enumerable:!0,configurable:!0,writable:!0,value:st}):_e[Nt]=st,Pe=(_e,Nt)=>{for(var st in Nt||(Nt={}))ae.call(Nt,st)&&Le(_e,st,Nt[st]);if(ne)for(var st of ne(Nt))ge.call(Nt,st)&&Le(_e,st,Nt[st]);return _e},Ue=(_e,Nt)=>E(_e,te(Nt)),Ge=(_e,Nt)=>{var st={};for(var ot in _e)ae.call(_e,ot)&&Nt.indexOf(ot)<0&&(st[ot]=_e[ot]);if(_e!=null&&ne)for(var ot of ne(_e))Nt.indexOf(ot)<0&&ge.call(_e,ot)&&(st[ot]=_e[ot]);return st},Ze=(_e,Nt,st)=>new Promise((ot,bt)=>{var ct=tt=>{try{At(st.next(tt))}catch(zt){bt(zt)}},pt=tt=>{try{At(st.throw(tt))}catch(zt){bt(zt)}},At=tt=>tt.done?ot(tt.value):Promise.resolve(tt.value).then(ct,pt);At((st=st.apply(_e,Nt)).next())});const nt=(_e=[])=>_e==null?void 0:_e.map(Nt=>Ue(Pe({},Nt),{title:(Nt==null?void 0:Nt.value)||"",key:Nt==null?void 0:Nt.id,isLeaf:!0})),ke=_e=>{var Nt=_e,{user:st,children:ot,isShowComponent:bt=!0,ModalProps:ct={},onDataSelect:pt}=Nt,At=Ge(Nt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[tt,zt]=je.default.useModal(),[Rt]=rt.default.useForm(),[ft,Kt]=(0,le.useState)([]),[yn,Hn]=(0,le.useState)(!1),[ln,Wn]=(0,le.useState)(!1),[,Bt,Un,ar]=(0,Ce.U)(ie.qE,{page:1,limit:9999}),[,,Je]=(0,Ce.U)(ie.V8,{}),[,,gn]=(0,Ce.U)(ie.B$,{}),[,,Fe]=(0,Ce.U)(ie.DH,{}),[,,he]=(0,Ce.U)(ie.bJ,{}),de=()=>{Hn(!1),Rt.resetFields(),Wn(!1)},ye=dt=>Ze(void 0,null,function*(){const{node:Re,dragNode:Xe,event:Ct}=dt,gt=dt.node.pos.split("-"),it=dt.dropPosition-Number(gt[gt.length-1]);if(it==0){Ke.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(it==1&&(Xe==null?void 0:Xe.item_index)==(Re==null?void 0:Re.item_index)+1){Ke.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const kt=yield he({id:Xe==null?void 0:Xe.key,position:it==-1?1:(Xe==null?void 0:Xe.item_index)>(Re==null?void 0:Re.item_index)?(Re==null?void 0:Re.item_index)+1:Re==null?void 0:Re.item_index});(kt==null?void 0:kt.status)===0&&(Ke.ZP.success("\u79FB\u52A8\u6210\u529F"),Un({},!0))}),qe=dt=>Ze(void 0,null,function*(){let Re={};ln?Re=yield gn(Pe({},dt)):Re=yield Fe(Pe({},dt)),(Re==null?void 0:Re.status)==0&&(Ke.ZP.success((Re==null?void 0:Re.message)||(ln?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Un({},!0),de())});return(0,le.useEffect)(()=>{ct!=null&&ct.open&&Un({},!0)},[ct==null?void 0:ct.open]),(0,le.useEffect)(()=>{var dt;Kt(nt((dt=ar==null?void 0:ar.data)==null?void 0:dt.list))},[ar]),bt?le.createElement(le.Fragment,null,zt,ot,le.createElement(je.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},ct)),le.createElement(He.Z,{spinning:Bt},(ft==null?void 0:ft.length)>0?le.createElement(le.Fragment,null,le.createElement(ve.default.DirectoryTree,{height:500,className:xe.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:pt,treeData:ft,onDrop:ye,titleRender:dt=>le.createElement(le.Fragment,null,le.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},dt==null?void 0:dt.title),le.createElement("div",{className:`${xe.EditDom}`},le.createElement(Se.Z,{wrap:!1,align:"middle",gutter:16},le.createElement(Ne.Z,null,le.createElement(fe.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},le.createElement("i",{className:`iconfont icon-tuodong1 font12 ${xe.currentPrimary}`}))),le.createElement(Ne.Z,null,le.createElement(fe.Z,{title:"\u7F16\u8F91"},le.createElement("i",{className:`iconfont icon-bianji11 font12 ${xe.currentPrimary}`,onClick:Re=>{Re.stopPropagation(),Rt.setFieldsValue(Pe({},dt)),Hn(!0)}}))),le.createElement(Ne.Z,null,le.createElement(fe.Z,{title:"\u5220\u9664"},le.createElement("i",{className:`iconfont icon-shanchu14 font12 ${xe.currentDelete}`,onClick:Re=>{Re.stopPropagation(),tt.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:()=>Ze(void 0,null,function*(){const Xe=yield Je({id:dt==null?void 0:dt.key});(Xe==null?void 0:Xe.status)==0&&(Ke.ZP.success((Xe==null?void 0:Xe.message)||"\u5220\u9664\u6210\u529F"),Un({},!0))})})}}))))))}),le.createElement(a.op,{className:"ml20 mt20",icon:le.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{Wn(!0),Hn(!0)}},"\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:()=>{Wn(!0),Hn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),le.createElement(je.default,{title:ln?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:yn,okText:ln?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{de()},onOk:()=>{Rt.submit()}},le.createElement(rt.default,{form:Rt,onFinish:qe},ln&&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(rt.default.Item,{hidden:!0,name:"id"}),le.createElement(rt.default.Item,{className:"mt10",name:"value"},le.createElement(De.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var vt=(0,Ee.connect)(({loading:_e,user:Nt})=>({user:Nt,loading:_e.effects}))(ke)},85533:function(Xt,It,Be){"use strict";Be.d(It,{h:function(){return ae}});var le=Be(59301),Ee=Be(57809),je=Be(78241),rt=Be(3113),Ke=Be(89780),He=Be.n(Ke),ve=Be(45559),Se=Be(42313),Ne=Object.defineProperty,fe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,y=(ge,Le,Pe)=>Le in ge?Ne(ge,Le,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ge[Le]=Pe,a=(ge,Le)=>{for(var Pe in Le||(Le={}))Ce.call(Le,Pe)&&y(ge,Pe,Le[Pe]);if(xe)for(var Pe of xe(Le))ie.call(Le,Pe)&&y(ge,Pe,Le[Pe]);return ge},ee=(ge,Le)=>fe(ge,De(Le));const E=Ee.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ne={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"]};It.Z=({callback:ge,onCancel:Le})=>{const[Pe,Ue]=(0,le.useState)("python");function Ge(nt){Ue(ne[nt][1])}function Ze(nt){ge(nt)}return le.createElement(je.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ze,style:{width:500}}),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(Ee.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ge},Object.keys(ne).map(nt=>le.createElement(E,{key:nt,value:nt},ne[nt][0])))),le.createElement(je.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},le.createElement(ae,{mode:Pe})),le.createElement("div",{className:"flex-container flex-end"},le.createElement(rt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(rt.ZP,{type:"ghost",onClick:Le},"\u53D6\u6D88")))};function ae({value:ge,onChange:Le,mode:Pe,options:Ue={}}){const Ge=(0,le.useRef)(),[Ze,nt]=(0,le.useState)();return(0,le.useEffect)(()=>{if(Ze){let ke=function(vt){const _e=vt.getValue();Le&&Le(_e)};return Ze.on("change",ke),()=>{Ze.off("change",ke)}}},[Ze,Le]),(0,le.useEffect)(()=>{Ze&&Ze.setOption("mode",Pe)},[Ze,Pe]),(0,le.useEffect)(()=>{Ze&&(ge!==Ze.getValue()||ge==="")&&setTimeout(()=>{Ze.setValue(ge||"")},300)},[Ze,ge]),(0,le.useEffect)(()=>{if(Ge.current&&!Ze){const ke=He().fromTextArea(Ge.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ue));nt(ke)}},[Ge.current,Ze]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ge}))}},96565:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return qa}});var le=Be(59301),Ee=Be(89780),je=Be.n(Ee),rt=Be(76374),Ke=Be(45559),He=Be(6313),ve=Be(25717),Se=Be(99498),Ne=Be(25419),fe=Be(67549),De=Be(6339),xe=({value:In="",className:Tn,showTextOnly:pn,showLines:Ur,style:ua={}})=>{const Tr=(0,le.useMemo)(()=>"",[In]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:Tr}}))},Ce=Be(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(In,Tn,pn)=>Tn in In?ie(In,Tn,{enumerable:!0,configurable:!0,writable:!0,value:pn}):In[Tn]=pn,ae=(In,Tn)=>{for(var pn in Tn||(Tn={}))E.call(Tn,pn)&&ne(In,pn,Tn[pn]);if(ee)for(var pn of ee(Tn))te.call(Tn,pn)&&ne(In,pn,Tn[pn]);return In},ge=(In,Tn)=>y(In,a(Tn));let Le=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Pe({onActionCallback:In,title:Tn,icon:pn,actionName:Ur,className:ua="",children:Tr}){function Fa(){In(Ur)}return Ce.createElement("a",{title:Tn,className:ua,onClick:Fa},Ce.createElement("i",{className:`${pn}`}),Tr)}var Ue=({watch:In,showNullButton:Tn,showNullProgramButton:pn,onActionCallback:Ur,fullScreen:ua,insertTemp:Tr,hidetoolBar:Fa,extraUse:Na})=>{const Ma=[...Le,{title:`${In?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${In?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ce.createElement("ul",{className:"markdown-toolbar-container"},!Fa&&Ma.map((jo,pi)=>Ce.createElement("li",{key:pi},jo.actionName?Ce.createElement(Pe,ge(ae({},jo),{onActionCallback:Ur})):Ce.createElement("span",{className:"v-line"}))),Tn?Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Ur},Ce.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,pn?Ce.createElement(Ce.Fragment,null,Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Ur},Ce.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Ur},Ce.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Tr&&Ce.createElement("li",null,Ce.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Tr}`,onActionCallback:Ur},Ce.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Na&&Ce.createElement("li",null,Na),Ce.createElement("li",{className:"btn-full-screen"},Ce.createElement(Pe,{icon:`${ua?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:ua?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Ur})))},Ge=Be(57261),Ze=Be(78241),nt=Be(92832),ke=Be(3113),vt=Object.defineProperty,_e=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,ct=(In,Tn,pn)=>Tn in In?vt(In,Tn,{enumerable:!0,configurable:!0,writable:!0,value:pn}):In[Tn]=pn,pt=(In,Tn)=>{for(var pn in Tn||(Tn={}))ot.call(Tn,pn)&&ct(In,pn,Tn[pn]);if(st)for(var pn of st(Tn))bt.call(Tn,pn)&&ct(In,pn,Tn[pn]);return In},At=(In,Tn)=>_e(In,Nt(Tn));const tt={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:In,onCancel:Tn})=>{function pn(Ur){In(Ur)}return le.createElement(Ze.default,At(pt({},tt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pn,style:{width:500}}),le.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},le.createElement(nt.default,null)),le.createElement(Ze.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},le.createElement(nt.default,null)),le.createElement("div",{className:"flex-container flex-end"},le.createElement(ke.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(ke.ZP,{type:"ghost",onClick:Tn},"\u53D6\u6D88")))},Rt=Be(85533),ft=Be(45053),Kt=Be(43418),yn=Be(95237),Hn=Be(16750),ln=Be(59301),Wn=({callback:In,onCancel:Tn})=>{const pn=document.createElement("canvas"),Ur=pn.getContext("2d");pn.width=1e3,pn.height=800,Ur.fillStyle="#ffffff",Ur.fillRect(0,0,pn.width,pn.height);const ua=pn.toDataURL("image/png");return ln.createElement(Kt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ln.createElement(yn.Z,{style:{height:"100vh"}},ln.createElement(Hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:ua,visible:!0,title:String(Date.now())},onOk:Tr=>{In({src:Tr.url})},onClose:Tn})))},Bt=Be(12378);function Un(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Un,go.CommandHandler),Un.prototype.canAlignSelection=function(){var In=this.diagram;return!(In===null||In.isReadOnly||In.isModelReadOnly||In.selection.count<2)},Un.prototype.alignLeft=function(){var In=this.diagram;In.startTransaction("aligning left");var Tn=1/0;In.selection.each(function(pn){pn instanceof go.Link||(Tn=Math.min(pn.position.x,Tn))}),In.selection.each(function(pn){pn instanceof go.Link||pn.move(new go.Point(Tn,pn.position.y))}),In.commitTransaction("aligning left")},Un.prototype.alignRight=function(){var In=this.diagram;In.startTransaction("aligning right");var Tn=-1/0;In.selection.each(function(pn){if(!(pn instanceof go.Link)){var Ur=pn.actualBounds.x+pn.actualBounds.width;Tn=Math.max(Ur,Tn)}}),In.selection.each(function(pn){pn instanceof go.Link||pn.move(new go.Point(Tn-pn.actualBounds.width,pn.position.y))}),In.commitTransaction("aligning right")},Un.prototype.alignTop=function(){var In=this.diagram;In.startTransaction("alignTop");var Tn=1/0;In.selection.each(function(pn){pn instanceof go.Link||(Tn=Math.min(pn.position.y,Tn))}),In.selection.each(function(pn){pn instanceof go.Link||pn.move(new go.Point(pn.position.x,Tn))}),In.commitTransaction("alignTop")},Un.prototype.alignBottom=function(){var In=this.diagram;In.startTransaction("aligning bottom");var Tn=-1/0;In.selection.each(function(pn){if(!(pn instanceof go.Link)){var Ur=pn.actualBounds.y+pn.actualBounds.height;Tn=Math.max(Ur,Tn)}}),In.selection.each(function(pn){pn instanceof go.Link||pn.move(new go.Point(pn.actualBounds.x,Tn-pn.actualBounds.height))}),In.commitTransaction("aligning bottom")},Un.prototype.alignCenterX=function(){var In=this.diagram,Tn=In.selection.first();if(Tn){In.startTransaction("aligning Center X");var pn=Tn.actualBounds.x+Tn.actualBounds.width/2;In.selection.each(function(Ur){Ur instanceof go.Link||Ur.move(new go.Point(pn-Ur.actualBounds.width/2,Ur.actualBounds.y))}),In.commitTransaction("aligning Center X")}},Un.prototype.alignCenterY=function(){var In=this.diagram,Tn=In.selection.first();if(Tn){In.startTransaction("aligning Center Y");var pn=Tn.actualBounds.y+Tn.actualBounds.height/2;In.selection.each(function(Ur){Ur instanceof go.Link||Ur.move(new go.Point(Ur.actualBounds.x,pn-Ur.actualBounds.height/2))}),In.commitTransaction("aligning Center Y")}},Un.prototype.alignColumn=function(In){var Tn=this.diagram;Tn.startTransaction("align Column"),In===void 0&&(In=0),In=parseFloat(In);var pn=new Array;Tn.selection.each(function(Na){Na instanceof go.Link||pn.push(Na)});for(var Ur=0;Ur0){for(var Na=Tr.elt(Fa-1);Na!==null&&Na.isTreeExpanded&&!Na.isTreeLeaf;){var Ma=this._sortTreeChildrenByY(Na);Na=Ma.last()}Na!==null&&In.select(Na)}else In.select(ua)}}else if(pn.key==="Down")if(Tn.isTreeExpanded&&!Tn.isTreeLeaf){var Ur=this._sortTreeChildrenByY(Tn).first();Ur!==null&&In.select(Ur)}else for(;Tn!==null;){var ua=Tn.findTreeParentNode();if(ua===null)break;var Tr=this._sortTreeChildrenByY(ua),Fa=Tr.indexOf(Tn);if(FaTr.y?1:ua.xTr.x?1:0}),Tn},Un.prototype.copyToClipboard=function(In){go.CommandHandler.prototype.copyToClipboard.call(this,In),this._lastPasteOffset.set(this.pasteOffset)},Un.prototype.pasteFromClipboard=function(){var In=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(In,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),In},Object.defineProperty(Un.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(In){if(In!=="move"&&In!=="select"&&In!=="scroll"&&In!=="tree"&&In!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+In);this._arrowKeyBehavior=In}}),Object.defineProperty(Un.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(In){if(!(In instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+In);this._pasteOffset.set(In)}});var ar=Un,Je=Be(25863),gn=Be(43604),Fe=Be(38147),he={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},de=Be(59301),ye=(In,Tn,pn)=>new Promise((Ur,ua)=>{var Tr=Ma=>{try{Na(pn.next(Ma))}catch(jo){ua(jo)}},Fa=Ma=>{try{Na(pn.throw(Ma))}catch(jo){ua(jo)}},Na=Ma=>Ma.done?Ur(Ma.value):Promise.resolve(Ma.value).then(Tr,Fa);Na((pn=pn.apply(In,Tn)).next())});function qe({onCancel:In,callback:Tn}){let pn=(0,le.useRef)(),Ur=(0,le.useRef)(),ua=(0,le.useRef)(),Tr=(0,le.useRef)(!1);const Fa=(0,le.useRef)(!1),[Na,Ma]=(0,le.useState)(0);function jo(){const Ir=Bt.bx.make,Ja={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"};pn.current=new Bt.S0(Ur.current,{padding:20,grid:Ir(Bt.s_,"Grid",Ir(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ir(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Jr=>{var Va=Jr.diagram.commandHandler.addTopLevelParts(Jr.diagram.selection,!0);Va||Jr.diagram.currentTool.doCancel()},commandHandler:Ir(ar),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Jr=>{var Va=Jr.subject;Va.location=Va.location.copy().snapToGridPoint(Jr.diagram.grid.gridOrigin,Jr.diagram.grid.gridCellSize),setTimeout(()=>{Jr.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Jr=>{var Va=Jr.subject;setTimeout(()=>{Jr.diagram.commandHandler.editTextBlock()})},LinkRelinked:Jr=>{var Va=Jr.parameter.part;Va.invalidateConnectedLinks();var Wo=Jr.subject;Jr.diagram.toolManager.linkingTool.isForwards?Wo.toNode.invalidateConnectedLinks():Wo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),pn.current.nodeTemplate=Ir(Bt.NB,"Auto",{locationSpot:Bt.z6.Center,locationObjectName:"SHAPE",desiredSize:new Bt.$u(120,60),minSize:new Bt.$u(40,40),resizable:!0,resizeCellSize:new Bt.$u(10,10),rotatable:!0},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),new Bt.KX("desiredSize","size",Bt.$u.parse).makeTwoWay(Bt.$u.stringify),Ir(Bt.bn,{name:"SHAPE",fill:Ja.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("figure"),new Bt.KX("fill"),new Bt.KX("stroke","borderColor"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Ir(Bt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ir(Bt.al,{margin:1,textAlign:"center",overflow:Bt.al.OverflowEllipsis,editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),pn.current.nodeTemplate.toolTip=Ir("ToolTip",Ir(Bt.s_,"Vertical",{maxSize:new Bt.$u(200,NaN)},Ir(Bt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Bt.KX("text")),Ir(Bt.al,{font:"10pt sans-serif",textAlign:"center"},new Bt.KX("text","details"))));function Ci(Jr,Va){var Wo=(_a,Pi)=>{_a.handled=!0,_a.diagram.model.commit(ts=>{var Ms=Pi.part.adornedPart,lA=new Bt.E9().setRectSpot(Ms.actualBounds,Jr);lA.subtract(Ms.location),lA.scale(2,2),lA.x+=Math.sign(lA.x)*130,lA.y+=Math.sign(lA.y)*130,lA.add(Ms.location),lA.snapToGridPoint(_a.diagram.grid.gridOrigin,_a.diagram.grid.gridCellSize);var xA=ts.copyNodeData(Ms.data);ts.setGroupKeyForNodeData(xA,ts.getGroupKeyForNodeData(Ms.data)),ts.addNodeData(xA);var xi={from:Ms.key,to:ts.getKeyForNodeData(xA)};ts.addLinkData(xi);var Qa=_a.diagram.findNodeForData(xA);Qa.location=lA,_a.diagram.select(Qa),setTimeout(()=>{_a.diagram.commandHandler.editTextBlock()},20)})};return Ir(Bt.bn,{figure:Va,alignment:Jr,alignmentFocus:Jr.opposite(),width:Jr.equals(Bt.z6.Top)||Jr.equals(Bt.z6.Bottom)?25:18,height:Jr.equals(Bt.z6.Top)||Jr.equals(Bt.z6.Bottom)?18:25,fill:"orange",stroke:Ja.white,strokeWidth:4,mouseEnter:(_a,Pi)=>Pi.fill="dodgerblue",mouseLeave:(_a,Pi)=>Pi.fill="orange",isActionable:!0,click:Wo,contextClick:Wo})}function ii(Jr){return Ir(Bt.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:(Va,Wo)=>Wo.fill="dodgerblue",mouseLeave:(Va,Wo)=>Wo.fill="orange",click:(Va,Wo)=>{Va.diagram.commandHandler.showContextMenu(Wo.part.adornedPart)}},Jr||{})}pn.current.nodeTemplate.selectionAdornmentTemplate=Ir(Bt.uz,"Spot",Ir(Bt.Vm,{padding:10}),Ci(Bt.z6.Top,"TriangleUp"),Ci(Bt.z6.Left,"TriangleLeft"),Ci(Bt.z6.Right,"TriangleRight"),Ci(Bt.z6.Bottom,"TriangleDown"),ii({alignment:new Bt.z6(.75,0)}));function Do(Jr,Va){return(Wo,_a)=>{Wo.handled=!0,Wo.diagram.model.commit(Pi=>{Pi.set(_a.part.adornedPart.data,Jr,Va)})}}function Lo(Jr,Va){return Va||(Va="color"),Ir(Bt.bn,{width:16,height:16,stroke:"lightgray",fill:Jr,margin:1,background:"transparent",mouseEnter:(Wo,_a)=>_a.stroke="dodgerblue",mouseLeave:(Wo,_a)=>_a.stroke="lightgray",click:Do(Va,Jr),contextClick:Do(Va,Jr)})}function Zi(){return[Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Lo(Ja.white,"fill"),Lo(Ja.beige,"fill"),Lo(Ja.extralightblue,"fill"),Lo(Ja.extralightred,"fill"))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Lo(Ja.lightgray,"fill"),Lo(Ja.lightgreen,"fill"),Lo(Ja.lightblue,"fill"),Lo(Ja.lightred,"fill")))]}function Os(){return[Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Lo(Ja.black),Lo(Ja.green),Lo(Ja.blue),Lo(Ja.red))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Lo(Ja.white),Lo(Ja.magenta),Lo(Ja.purple),Lo(Ja.orange)))]}function AA(Jr,Va){return Va||(Va="thickness"),Ir(Bt.bn,"LineH",{width:16,height:16,strokeWidth:Jr,margin:1,background:"transparent",mouseEnter:(Wo,_a)=>_a.background="dodgerblue",mouseLeave:(Wo,_a)=>_a.background="transparent",click:Do(Va,Jr),contextClick:Do(Va,Jr)})}function wA(Jr,Va){return Va||(Va="dash"),Ir(Bt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Jr,margin:1,background:"transparent",mouseEnter:(Wo,_a)=>_a.background="dodgerblue",mouseLeave:(Wo,_a)=>_a.background="transparent",click:Do(Va,Jr),contextClick:Do(Va,Jr)})}function Wi(){return[Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",AA(1),AA(2),AA(3),AA(4))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",wA(null),wA([2,4]),wA([4,4])))]}function Hi(Jr,Va){return Va||(Va="figure"),Ir(Bt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Jr,margin:1,background:"transparent",mouseEnter:(Wo,_a)=>_a.fill="dodgerblue",mouseLeave:(Wo,_a)=>_a.fill="lightgray",click:Do(Va,Jr),contextClick:Do(Va,Jr)})}pn.current.nodeTemplate.contextMenu=Ir("ContextMenu",Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Hi("Rectangle"),Hi("RoundedRectangle"),Hi("Ellipse"),Hi("Diamond"))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Hi("Parallelogram2"),Hi("ManualOperation"),Hi("Procedure"),Hi("Cylinder1"))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Hi("Terminator"),Hi("CreateRequest"),Hi("Document"),Hi("TriangleDown"))),Zi(),Os(),Wi()),pn.current.groupTemplate=Ir(Bt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Bt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Jr,Va)=>{var Wo=Va.addMembers(Va.diagram.selection,!0);Wo||Va.diagram.currentTool.doCancel()},avoidable:!1},new Bt.KX("location","loc",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Ir(Bt.s_,"Auto",{name:"BODY"},Ir(Bt.bn,{parameter1:10,fill:Ja.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Bt.z6.AllSides,toSpot:Bt.z6.AllSides},new Bt.KX("fill"),new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Ir(Bt.Vm,{background:"transparent",margin:20})),Ir(Bt.al,{alignment:Bt.z6.Top,alignmentFocus:Bt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Bt.KX("text"),new Bt.KX("stroke","color"))),pn.current.groupTemplate.selectionAdornmentTemplate=Ir(Bt.uz,"Spot",Ir(Bt.s_,"Auto",Ir(Bt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ir(Bt.Vm,{margin:1.5})),ii({alignment:Bt.z6.TopRight,alignmentFocus:Bt.z6.BottomRight})),pn.current.groupTemplate.contextMenu=Ir("ContextMenu",Zi(),Os(),Wi()),pn.current.linkTemplate=Ir(Bt.rU,{layerName:"Foreground",routing:Bt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Bt.KX("fromSpot","fromSpot",Bt.z6.parse),new Bt.KX("toSpot","toSpot",Bt.z6.parse),new Bt.KX("fromShortLength","dir",Jr=>Jr>=1?10:0),new Bt.KX("toShortLength","dir",Jr=>Jr>=1?10:0),new Bt.KX("points").makeTwoWay(),Ir(Bt.bn,{strokeWidth:2},new Bt.KX("stroke","color"),new Bt.KX("strokeWidth","thickness"),new Bt.KX("strokeDashArray","dash")),Ir(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,0),segmentOrientation:Bt.rU.OrientAlong,alignmentFocus:Bt.z6.Right,figure:"circle",width:10,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Jr=>Jr===1)),Ir(Bt.bn,{segmentIndex:-1,segmentOffset:new Bt.E9(-10,6),segmentOrientation:Bt.rU.OrientPlus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Jr=>Jr>=1),new Bt.KX("width","thickness",Jr=>7+3*Jr),new Bt.KX("height","thickness",Jr=>7+3*Jr),new Bt.KX("segmentOffset","thickness",Jr=>new Bt.E9(-15,4+1.5*Jr))),Ir(Bt.bn,{segmentIndex:0,segmentOffset:new Bt.E9(15,-6),segmentOrientation:Bt.rU.OrientMinus90,alignmentFocus:Bt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Bt.KX("fill","color"),new Bt.KX("visible","dir",Jr=>Jr===2),new Bt.KX("width","thickness",Jr=>7+3*Jr),new Bt.KX("height","thickness",Jr=>7+3*Jr),new Bt.KX("segmentOffset","thickness",Jr=>new Bt.E9(-15,4+1.5*Jr))),Ir(Bt.al,{alignmentFocus:new Bt.z6(0,1,-4,0),editable:!0},new Bt.KX("text").makeTwoWay(),new Bt.KX("stroke","color"))),pn.current.linkTemplate.selectionAdornmentTemplate=Ir(Bt.uz,Ir(Bt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:PA(2)},new Bt.KX("pathPattern","thickness",PA)),ii({alignmentFocus:new Bt.z6(0,0,-6,-4)}));function PA(Jr){return Ir(Bt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Jr+4).toString()+" H3"})}function Sl(Jr){var Va="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Jr===0?Va="M0 0 M16 16 M0 8 L16 8":Jr===2&&(Va="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ir(Bt.bn,{geometryString:Va,margin:2,background:"transparent",mouseEnter:(Wo,_a)=>_a.background="dodgerblue",mouseLeave:(Wo,_a)=>_a.background="transparent",click:Do("dir",Jr),contextClick:Do("dir",Jr)})}function js(Jr){var Va=(Wo,_a)=>{Wo.handled=!0,Wo.diagram.model.commit(Pi=>{var ts=_a.part.adornedPart;Pi.set(ts.data,Jr?"toSpot":"fromSpot",Bt.z6.stringify(Bt.z6.AllSides)),(Jr?ts.toNode:ts.fromNode).invalidateConnectedLinks()})};return Ir(Bt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Wo,_a)=>_a.background="dodgerblue",mouseLeave:(Wo,_a)=>_a.background="transparent",click:Va,contextClick:Va})}function Or(Jr,Va){var Wo=0,_a=Bt.z6.RightSide;Jr.equals(Bt.z6.Top)?(Wo=270,_a=Bt.z6.TopSide):Jr.equals(Bt.z6.Left)?(Wo=180,_a=Bt.z6.LeftSide):Jr.equals(Bt.z6.Bottom)&&(Wo=90,_a=Bt.z6.BottomSide),Va||(Wo-=180);var Pi=(ts,Ms)=>{ts.handled=!0,ts.diagram.model.commit(lA=>{var xA=Ms.part.adornedPart;lA.set(xA.data,Va?"toSpot":"fromSpot",Bt.z6.stringify(_a)),(Va?xA.toNode:xA.fromNode).invalidateConnectedLinks()})};return Ir(Bt.bn,{alignment:Jr,alignmentFocus:Jr.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Wo,background:"transparent",mouseEnter:(ts,Ms)=>Ms.background="dodgerblue",mouseLeave:(ts,Ms)=>Ms.background="transparent",click:Pi,contextClick:Pi})}pn.current.linkTemplate.contextMenu=Ir("ContextMenu",Os(),Wi(),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Sl(0),Sl(1),Sl(2))),Ir("ContextMenuButton",Ir(Bt.s_,"Horizontal",Ir(Bt.s_,"Spot",js(!1),Or(Bt.z6.Top,!1),Or(Bt.z6.Left,!1),Or(Bt.z6.Right,!1),Or(Bt.z6.Bottom,!1)),Ir(Bt.s_,"Spot",{margin:new Bt.Zt(0,0,0,2)},js(!0),Or(Bt.z6.Top,!0),Or(Bt.z6.Left,!0),Or(Bt.z6.Right,!0),Or(Bt.z6.Bottom,!0)))));const Yu=`{ "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 Au=["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 Nl(Jr){return console.log("shapeName:",Jr),Au.indexOf(Jr)>=0}var el=new Bt.YI(ua.current,{maxSelectionCount:1,linkTemplate:Ir(Bt.rU,{locationSpot:Bt.z6.Center,selectionAdornmentTemplate:Ir(Bt.uz,"Link",{locationSpot:Bt.z6.Center},Ir(Bt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ir(Bt.bn,{toArrow:"Standard",stroke:null}))},{routing:Bt.rU.AvoidsNodes,curve:Bt.rU.JumpOver,corner:5,toShortLength:4},new Bt.KX("points"),Ir(Bt.bn,{isPanelMain:!0,strokeWidth:2}),Ir(Bt.bn,{toArrow:"Standard",stroke:null})),model:new Bt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Bt.bn.getFigureGenerators().toArray().map(Jr=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Jr.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return pn.current.addDiagramListener("TextEdited",function(Jr){var Va;const Wo=Jr.subject.part;var _a=(Va=document.activeElement)==null?void 0:Va.value;typeof _a=="string"&&_a.trim()===""&&pn.current.model.commit(function(Pi){Pi.set(Wo.data,"text","\u672A\u547D\u540D"),pn.current.commandHandler.stopCommand()},"increment")}),el.nodeTemplate=Ir(Bt.NB,"Auto",{locationSpot:Bt.z6.Center},new Bt.KX("location","location",Bt.E9.parse).makeTwoWay(Bt.E9.stringify),Ir(Bt.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 Bt.KX("stroke").makeTwoWay(),new Bt.KX("fill").makeTwoWay(),new Bt.KX("figure")),Ir(Bt.al,{margin:new Bt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Bt.$u(16,16),maxSize:new Bt.$u(10,NaN),textAlign:"center",editable:!0},new Bt.KX("key").makeTwoWay())),setTimeout(()=>{pn.current.grid=Ir(Bt.s_,"Grid",Ir(Bt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ir(Bt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),pn.current.grid.visible=!0,pn.current.grid.gridCellStroke="darkgray",pn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=pn.current,pn.current}const pi=()=>ye(this,null,function*(){var Ir=pn.current.makeImage();const Ja=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Ir.src}});Tn({src:Ja.url})});return(0,le.useEffect)(()=>(setTimeout(()=>{jo()},500),Ma(Na+1),()=>{pn.current=null}),[]),de.createElement("div",{ref:Fa,className:Tr.current?`${he.maxH60} body-overflow-initial`:"body-overflow-initial"},de.createElement(Kt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Na,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:de.createElement(yn.Z,null,de.createElement(gn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),de.createElement(gn.Z,{onClick:()=>{var Ir,Ja,Ci=pn.current.selection.first();if(Tr.current=!Tr.current,document.activeElement&&Ci){let ii=(Ja=(Ir=document.activeElement)==null?void 0:Ir.value)==null?void 0:Ja.trim();typeof ii=="string"&&pn.current.model.commit(function(Do){Do.set(Ci.data,"text",ii||"\u672A\u547D\u540D"),pn.current.commandHandler.stopCommand()},"increment")}Ma(Na+1)}},de.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:In},de.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:he.flowChartWrp},de.createElement("div",{style:{display:"flex",height:"100%"}},de.createElement("div",{style:{width:"300px",height:"100%"}},de.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),de.createElement("div",{style:{height:"calc(100% - 50px)"},className:he.myPaletteDiv,ref:ua})),de.createElement("div",{style:{flex:1,position:"relative"}},de.createElement("div",{ref:Ur,style:{height:"80vh"}}))),de.createElement("div",{className:"tr"},de.createElement(ke.ZP,{size:"large",onClick:pi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var dt=qe,Re=Be(5112),Xe=Be(5871);const Ct=Re.ZP.Group,gt={margin:"0 8px"};var it=({callback:In,onCancel:Tn})=>{function pn(Ur){In(Ur)}return le.createElement(Ze.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:pn},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:gt},"\u5355\u5143\u683C\u6570\uFF1A"),le.createElement("span",{style:gt},"\u884C\u6570"),le.createElement(Ze.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(Xe.Z,null)),le.createElement("span",{style:gt},"\u5217\u6570"),le.createElement(Ze.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(Xe.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:gt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),le.createElement(Ze.default.Item,{name:"align"},le.createElement(Ct,null,le.createElement(Re.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(Re.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(Re.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(Re.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}},"\u786E\u5B9A"),le.createElement(ke.ZP,{type:"ghost",onClick:Tn},"\u53D6\u6D88")))},kt=Be(78673),kn=Be(93510),Ft=Be.n(kn),Ot=(0,le.forwardRef)(({use3d:In,width:Tn,height:pn,callback:Ur,showSaveButton:ua},Tr)=>{const Fa=(0,le.useRef)(),Na=(0,le.useRef)(),[Ma,jo]=(0,le.useState)(!1),pi=(0,le.useRef)({id:Fa,appName:"graphing",width:Tn||1e3,height:pn||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)(()=>{Na.current=new(Ft())(pi.current,!0),window.onload=function(){Na.current.inject("applet_container")}},[]);const Ir=()=>{var Ja=window.ggbApplet.getPNGBase64(1,!0,72);return Ur&&Ur(Ja),Ja};return(0,le.useEffect)(()=>{pi.current.appName=Ma?"3D":"graphing",Na.current.inject("applet_container")},[Ma]),(0,le.useEffect)(()=>{jo(In)},[In]),(0,le.useImperativeHandle)(Tr,()=>({getImgData:Ir})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fa}),le.createElement(yn.Z,{align:"middle"},le.createElement(gn.Z,{flex:1},le.createElement(kt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ma,onChange:Ja=>jo(Ja)})),le.createElement(gn.Z,null,le.createElement(ke.ZP,{size:"large",onClick:Ir,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),En=Be(99298),lt=Be(1012),Jt=Be(8591);const vn="link",bn="upload-image",qn="add-flowchart",lr="draw-image",Er="add-flowchart",Cr="code-block",cr="add-table",sr="------------",dr={default:sr,left:`:${sr}`,center:`:${sr}:`,right:`${sr}:`};var Pr=Be(31103),ta=(In,Tn,pn)=>new Promise((Ur,ua)=>{var Tr=Ma=>{try{Na(pn.next(Ma))}catch(jo){ua(jo)}},Fa=Ma=>{try{Na(pn.throw(Ma))}catch(jo){ua(jo)}},Na=Ma=>Ma.done?Ur(Ma.value):Promise.resolve(Ma.value).then(Tr,Fa);Na((pn=pn.apply(In,Tn)).next())});function Wr(){}let Rr=0;const so=1e4,to="\u2581",Hr="@\u2581\u2581@",sn="@\u2581@",Oa=` **\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`,Po=["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 Ei(In){return/^\d+$/.test(In)?`${In}px`:In}const Ro=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Gi={[Ro+"-B"]:"bold",[Ro+"-I"]:"italic"},Mi={[vn]:"\u6DFB\u52A0\u94FE\u63A5",[Cr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[bn]:"\u6DFB\u52A0\u56FE\u7247",[lr]:"\u6DFB\u52A0\u753B\u56FE",[qn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[cr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var qa=({defaultValue:In="",onChange:Tn,width:pn="100%",height:Ur=400,miniToolbar:ua=!1,isFocus:Tr=!1,watch:Fa,insertTemp:Na,mode:Ma="markdown",id:jo="markdown-editor-id",showResizeBar:pi=!1,noStorage:Ir=!1,showNullButton:Ja=!1,showNullProgramButton:Ci=!1,hidetoolBar:ii=!1,fullScreen:Do=!1,onBlur:Lo,onCMBeforeChange:Zi,onFullScreen:Os,className:AA="",disablePaste:wA=!1,disabled:Wi=!1,disabledFill:Hi=!1,placeholder:PA="",values:Sl="",extraUse:js})=>{const[Or,Yu]=(0,le.useState)(null),[Au,Nl]=(0,le.useState)(In),[el,Jr]=(0,le.useState)(Fa),[Va,Wo]=(0,le.useState)(Do),[_a,Pi]=(0,le.useState)(""),[ts,Ms]=(0,le.useState)(0),[lA,xA]=(0,le.useState)(Ur),[xi,Qa]=(0,le.useState)(!1),Mc=(0,le.useRef)((0,lt.Z)()),qu=(0,le.useRef)(!1),wl=(0,le.useRef)(),[Dl,Qu]=(0,le.useState)(0),[Zl,Wl]=(0,le.useState)(0),Ul=(0,le.useRef)(),ul=(0,le.useRef)(),bu=(0,le.useRef)(),pA=(0,le.useRef)(),vc=()=>ta(void 0,null,function*(){var Da;const da=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Mc.current}});(Da=da==null?void 0:da.attachments)!=null&&Da.length&&(console.log("cm:",Or,Ul),da.attachments.map(Zt=>{Zt.content_type.indexOf("image")>-1?Or.replaceSelection(`![,](/api/attachments/${Zt.id}?type=${Zt.content_type})`):Zt.content_type.indexOf("video")>-1?Or.replaceSelection(``):Zt.content_type.indexOf("pdf")>-1?Or.replaceSelection(`${Zt.name}`):Or.replaceSelection(`[${Zt.name}](${ENV.API_SERVER}/api/attachments/${Zt.id}?type=${Zt.content_type})`)}))});(0,le.useEffect)(()=>{const Da=window.scrollY||window.pageYOffset;Nl(Sl),Or==null||Or.setValue(Sl),window.scrollTo(0,Da)},[Sl]),(0,le.useEffect)(()=>{Os==null||Os(Va)},[Va]),(0,le.useEffect)(()=>{if(Ul.current){let Da=function(Zt,_t){var Nn;if(wA){_t.preventDefault();return}const ur=_t.clipboardData;if(ur){const sa=ur.types.toString(),wa=ur.items;if(sa==="Files"||ur.types.indexOf("Files")>-1){if(_t.preventDefault(),Ma=="stex")return;try{let na=wa[1];((Nn=wa[0])==null?void 0:Nn.kind)==="file"&&(na=wa[0]);const _r=na.getAsFile(),Aa=_r.name.split(".").pop();(0,ft.I)(_r,Ta=>{var ko,Fi,za;Ta.id?((ko=_r==null?void 0:_r.type)==null?void 0:ko.indexOf("image"))>-1?da.replaceSelection(``):((Fi=_r==null?void 0:_r.type)==null?void 0:Fi.indexOf("video"))>-1?da.replaceSelection(``):((za=_r==null?void 0:_r.type)==null?void 0:za.indexOf("pdf"))>-1?da.replaceSelection(`${_r.name}`):Po.includes(Aa)?da.replaceSelection(`${_r.name}`):da.replaceSelection(`[${_r.name}](/api/attachments/${Ta.id}?type=${Ta.content_type})`):(Ta==null?void 0:Ta.status)===401&&(Jt.ZP.warning((Ta==null?void 0:Ta.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(na){Jt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const da=je().fromTextArea(Ul.current,{mode:Ma,lineNumbers:!ua,lineWrapping:!0,value:In,autoCloseTags:!Ci,autoCloseBrackets:!0});return da.on("keyup",function(Zt,_t){_t.keyCode===8&&(Zt.getValue()==""?da.setOption("placeholder",PA):da.setOption("placeholder",null))}),da.on("keydown",function(Zt,_t){if(_t.keyCode===8){var Nn=dn(Zt);Nn&&_t.preventDefault()}}),Tr&&da.focus(),da.on("paste",Da),da.on("dragleave",function(Zt,_t){ul.current.classList.remove("mouse-hover-md")}),Wi&&da.on("beforeChange",function(Zt,_t){(_t.origin==="paste"||_t.origin==="+input")&&_t.cancel()}),Yu(da),()=>{da.off("paste",Da)}}},[]);const Ol=(0,le.useCallback)(()=>{if(ul.current)try{}catch(Da){console.log(Da,"---- to set md editor body height")}},[lA,ul,Va]);(0,le.useEffect)(()=>{function Da(){let da=new rt.Z(Zt=>{for(let _t of Zt)(_t.target.offsetHeight>0||_t.target.offsetWidth>0)&&(Ol(),Or.setSize("100%","100%"),Or.refresh())});return da.observe(Ul.current.parentElement),da}if(Or){const da=Da();return()=>{var Zt,_t;(Zt=Ul.current)!=null&&Zt.parentElement&&da.unobserve((_t=Ul.current)==null?void 0:_t.parentElement)}}},[Or,Ol]),(0,le.useEffect)(()=>{if(Or){let Da=[];for(const[da,Zt]of Object.entries(Gi)){let _t={[da]:()=>{Eu(Zt)}};Da.push(_t),Or.addKeyMap(_t)}return wl.current=setInterval(()=>{qu.current&&vc()},4e3),()=>{clearInterval(wl.current);for(let da of Da)Or.removeKeyMap(da)}}},[Or]),(0,le.useEffect)(()=>{Do!==Va&&Wo(Do)},[Do]),(0,Pr.Z)(()=>{if(!Ir&&ts>0){let Da=new Date().getTime(),da=window.sessionStorage.getItem(jo);Da>=ts+so&&(!da||da!==Au)&&(window.sessionStorage.setItem(jo,Au),Qa(!0))}},so),(0,le.useEffect)(()=>{Jr(Fa)},[Or,Fa]),(0,le.useEffect)(()=>{Or&&Tr&&Or.focus()},[Or,Tr]),(0,le.useEffect)(()=>{if(el&&Or){let Da=function(Zt){let _t=Zt.target;if(pA.current){let Nn=_t.scrollTop/_t.scrollHeight;pA.current.scrollTop=pA.current.scrollHeight*Nn}};const da=Or.getScrollerElement();return da.addEventListener("scroll",Da),()=>{da.removeEventListener("scroll",Da)}}},[Or,el]),(0,le.useEffect)(()=>{if(Or&&Zi){let Da=function(da,Zt){Zi(da,Zt)};return Or.on("beforeChange",Da),()=>{Or.off("beforeChange",Da)}}},[Or,Zi]),(0,le.useEffect)(()=>{if(Or&&Lo){let Da=function(){Lo(Or.getValue())};return Or.on("blur",Da),()=>{Or.off("blur",Da)}}},[Or,Lo]);function dn(Da,da){var Zt=Da.getDoc(),_t=Zt.getCursor(),Nn=Zt.getLine(_t.line),ur=Nn.charAt(_t.ch-1),sa=Nn.lastIndexOf("@\u2581@",_t.ch),wa=Nn.lastIndexOf("@\u2581\u2581@",_t.ch),na=sa>wa?sa:wa,_r=sa>wa?3:4;if(Hr.indexOf(ur)===-1)return null;if(console.log("change1:",da,Da,Nn,_t,na,sa,wa,ur),na>=0&&_t.ch-na<5){var Aa=na+_r;return Zt.replaceRange("",{line:_t.line,ch:na},{line:_t.line,ch:Aa}),{line:_t.line,ch:Aa}}return null}(0,le.useEffect)(()=>{if(Or){let Da=function(da,Zt){const _t=da.getValue();Nl(_t),Ms(new Date().getTime()),da.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Tn&&(Ci?Tn(_t,Js(_t)):Tn(_t))};return Or.on("change",Da),()=>{Or.off("change",Da)}}},[Or,Tn]),(0,le.useEffect)(()=>{if(Or)if(In==null)Or.setValue(""),Nl("");else{const Da=window.scrollY||window.pageYOffset;In!==Or.getValue()&&(Or.setValue(In),Nl(In),Or.setCursor(Wi?1:Or.lineCount(),0),window.scrollTo(0,Da))}},[Or,In]);const Eu=(0,le.useCallback)(Da=>{const da=Or.getCursor(),Zt=Or.getSelection();let _t=Zt.split(` `);switch(Da){case"bold":return Or.replaceSelection("**"+Zt+"**"),Zt===""&&Or.setCursor(da.line,da.ch+2),Or.focus();case"italic":return Or.replaceSelection("*"+Zt+"*"),Zt===""&&Or.setCursor(da.line,da.ch+1),Or.focus();case"code":return Or.replaceSelection("`"+Zt+"`"),Zt===""&&Or.setCursor(da.line,da.ch+1),Or.focus();case"inline-latex":return Pi("inline-latex"),Or.focus();case"latex":return Or.replaceSelection("```latex\n"+Zt+"\n```"),Or.setCursor(da.line+1,Zt.length+1),Or.focus();case"line-break":return Or.replaceSelection(`
`),Or.focus();case"list-ul":return Zt===""?Or.replaceSelection("- "+Zt):Or.replaceSelection(_t.map(Nn=>Nn===""?"":`- ${Nn}`).join(` `)),Or.focus();case"list-ol":return Zt===""?Or.replaceSelection("1. "+Zt):Or.replaceSelection(_t.map((Nn,ur)=>Nn===""?"":`${ur+1}. ${Nn}`).join(` `)),Or.focus();case"add-null-ch":return Zt===""&&Or.setCursor(da.line,da.ch),Or.replaceSelection(to),Or.focus();case"add-signal":return Zt===""&&Or.setCursor(da.line,da.ch),Or.replaceSelection(sn),Or.focus();case"add-multiple":return Zt===""&&Or.setCursor(da.line,da.ch),Or.replaceSelection(Hr),Or.focus();case"inster-template-1":return Zt===""&&Or.setCursor(da.line,da.ch),Or.replaceSelection(Oa),Or.focus();case"eraser":return Or.setValue(""),Or.focus();case"trigger-watch":return Jr(!el),Or.focus();case"trigger-full-screen":return Wo(!Va),Or.focus();case vn:Pi(vn);return;case Cr:Pi(Cr);return;case bn:Pi(bn);return;case lr:Pi(lr);return;case"maths-latex":Pi("maths-latex");return;case qn:Pi(qn);return;case cr:Pi(cr);return;default:throw new Error}},[Or,el,Va]),yA=(0,le.useCallback)((Da,da)=>{var Zt,_t,Nn,ur,sa,wa;switch(Pi(""),_a){case vn:const{title:ko,link:Fi}=Da;return Or.replaceSelection(`[${ko}](${Fi})`),Or.focus();case Cr:const{language:za,content:hs}=Da;return Or.replaceSelection(["```"+za,hs,"```"].join(` `)),Or.focus();case"maths-latex":for(var na=atob(Da),_r=new Uint8Array(na.length),Aa=0;Aa{ga.id?Or.replaceSelection(`![,](/api/attachments/${ga.id}?type=${ga.content_type})`):(ga==null?void 0:ga.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Or.replaceSelection("`$$"+Da+"$$`");break;case bn:case lr:case Er:const{src:si,alt:Dn}=Da,Wt=da,mn=(Nn=(_t=(Zt=Wt==null?void 0:Wt.name)==null?void 0:Zt.split("."))==null?void 0:_t.pop)==null?void 0:Nn.call(_t);return((ur=Wt==null?void 0:Wt.type)==null?void 0:ur.indexOf("image"))>-1||!(Wt!=null&&Wt.type)?Wt.align||Wt.width?Or.replaceSelection(`

${Dn||

`):Or.replaceSelection(`${Dn||`):((sa=Wt==null?void 0:Wt.type)==null?void 0:sa.indexOf("video"))>-1?Or.replaceSelection(``):((wa=Wt==null?void 0:Wt.type)==null?void 0:wa.indexOf("pdf"))>-1?Or.replaceSelection(`${Wt.name}`):Po.includes(mn)?Or.replaceSelection(`${Wt.name}`):Or.replaceSelection(`[${Wt.name}](${si})`),Or.focus();case cr:const{row:Jn,col:jr,align:ra}=Da;let er=` `;for(let ga=0;ga{switch(_a){case vn:return le.createElement(zt,{callback:yA,onCancel:Vs});case Cr:return le.createElement(Rt.Z,{callback:yA,onCancel:Vs});case bn:return le.createElement(ft.Z,{callback:yA,onCancel:Vs});case qn:return le.createElement(dt,{callback:yA,onCancel:Vs});case cr:return le.createElement(it,{callback:yA,onCancel:Vs});case"maths-latex":return le.createElement(Ot,{showSaveButton:!0,callback:yA});case"inline-latex":return le.createElement(En.Z,{showSaveButton:!0,callback:yA});default:return null}},[_a]);function Vs(){Pi("")}(0,le.useEffect)(()=>{if(bu.current){let Da=function(sa){Nn=!0,ur=sa.pageY},da=function(){Nn=!1},Zt=function(sa){if(Nn){let wa=sa.pageY-ur;wa<0&&(wa=0),wa>300&&(wa=300);let na=Ur+wa+"px";xA(na)}},_t=bu.current,Nn=!1,ur=0;return _t.addEventListener("mousedown",Da),document.addEventListener("mousemove",Zt),document.addEventListener("mouseup",da),()=>{_t.removeEventListener("mousedown",Da),document.removeEventListener("mousemove",Zt),document.removeEventListener("mouseup",da)}}},[Or,bu]),(0,le.useEffect)(()=>{xA(Ur)},[Ur]);const uu=Ei(pn),Cu=Ei(lA),_l={width:uu,height:Cu},Xs=(0,le.useMemo)(()=>{if(ts){let Da=new Date(ts),da=Da.getHours(),Zt=Da.getMinutes(),_t=Da.getSeconds();return da=da<10?"0"+da:da,Zt=Zt<10?"0"+Zt:Zt,_t=_t<10?"0"+_t:_t,`${da}:${Zt}:${_t}`}return 0},[ts]),Js=Da=>{const da=[];if(Ci){let Zt=-1;Da=Da.replace(/(@▁▁@|@▁@)/g,function(_t,Nn,ur){da.push({multiLine:_t!==sn})})}return da};function Bc(){window.sessionStorage.removeItem(jo),Qa(!1),Ms(0)}function fs(){Qa(!1),Ms(0),Or.setValue(window.sessionStorage.getItem(jo))}(0,le.useEffect)(()=>{Mi[_a]&&_a!==lr&&_a!==qn&&setTimeout(()=>{const Da=document.getElementsByClassName("markdown-popup-form")[0],da=window.innerWidth/2-Da.offsetWidth/2,Zt=window.innerHeight/2-Da.offsetHeight/2;Qu(da),Wl(Zt)},0)},[_a]);const $u=Da=>{Da.preventDefault();const da=Da.clientX-Dl,Zt=Da.clientY-Zl;document.body.onmousemove=_t=>{let Nn=_t.clientX-da,ur=_t.clientY-Zt;const sa=document.getElementsByClassName("markdown-popup-form")[0],wa=window.innerWidth-sa.offsetWidth,na=window.innerHeight-sa.offsetHeight;Nn=Math.max(0,Math.min(Nn,wa)),ur=Math.max(0,Math.min(ur,na)),ku(_t.clientX,_t.clientY,da,Zt)&&(Qu(Nn),Wl(ur))},document.body.onmouseup=function(){document.body.onmousemove=null}},ku=(Da,da,Zt,_t)=>{const Nn=document.body.clientHeight,ur=document.body.clientWidth;return Da<20&&Zt>Da||Da>ur-20&&Ztda||da>Nn-20&&_tnt in Ze?xe(Ze,nt,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ze[nt]=ke,te=(Ze,nt)=>{for(var ke in nt||(nt={}))a.call(nt,ke)&&E(Ze,ke,nt[ke]);if(y)for(var ke of y(nt))ee.call(nt,ke)&&E(Ze,ke,nt[ke]);return Ze},ne=(Ze,nt)=>Ce(Ze,ie(nt));const{useForm:ae}=le.default,ge={width:280,marginRight:10},Le={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:Ze,onCancel:nt})=>{const[ke]=ae();let vt=(0,Ne.useRef)();function _e(ot){vt.current.width=ke.getFieldValue("width"),vt.current.align=ke.getFieldValue("align"),Ze(ot,vt.current)}function Nt(ot,bt){if(ot.status===-1){Ee.ZP.error(ot.message);return}ke.setFieldsValue({src:`/api/attachments/${ot.id}`,type:bt.type})}function st(ot){let bt=ot.target.files[0];vt.current=bt,Ge(bt,Nt)}return De.createElement(le.default,ne(te({form:ke},Le),{className:"upload-image-panel",onFinish:_e,style:{width:470,overflow:"hidden"}}),De.createElement(le.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},De.createElement("div",{className:"flex-container"},De.createElement(le.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},De.createElement(je.default,{style:ge})),De.createElement(Ue,{onFileChange:st}))),De.createElement(le.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},De.createElement(je.default,{style:{width:264}})),De.createElement(le.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},De.createElement(rt.Z,null,De.createElement(le.default.Item,{name:"width",style:{margin:0}},De.createElement(Ke.Z,{style:{width:264}})),De.createElement("span",{className:"ml8"},"%"))),De.createElement(le.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},De.createElement(He.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),De.createElement("aside",null,De.createElement(le.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},De.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),De.createElement(ve.ZP,{type:"default",onClick:nt},"\u53D6\u6D88"))))};function Ue({onFileChange:Ze}){return De.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",De.createElement("input",{type:"file",onChange:Ze}))}function Ge(Ze,nt){if(!Ze)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,fe.bg)())throw Ee.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ke=new FormData;ke.append("editormd-image-file",Ze),ke.append("file_param_name","editormd-image-file"),ke.append("byxhr","true");var vt=new window.XMLHttpRequest;vt.withCredentials=!0,vt.addEventListener("load",function(_e){nt(JSON.parse(_e.target.responseText),Ze)},!1),vt.addEventListener("error",function(_e){console.error(_e)},!1),vt.open("POST",`${Se.KI}/api/attachments.json`),vt.send(ke)}},57261:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return je}});var le=Be(59301),Ee=Be(4676);class je extends le.Component{constructor(Ke){super(Ke);const He=window.document;this.node=He.createElement("div"),He.body.appendChild(this.node)}render(){const{children:Ke}=this.props;return(0,Ee.createPortal)(Ke,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(Xt,It,Be){"use strict";Be.d(It,{i:function(){return Le},Z:function(){return Ue}});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"},Ee=Be(71418),je=Be(6848),rt=Be(93948),Ke=Be(92310),He=Be.n(Ke),ve=Be(65862),Se=Be(2524),Ne=Be(41867),fe=Be(79005),De=Be(20345),xe=Be(77882),Ce=Be(31081),ie=Be(75309),y=Be(71979),a=Be(47558),ee=Be(42922),E=Be(66832),te=Be(96593),ne=Be(19664),ae=Be(91833),ge=Be(59301);const Le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:fe,swimg:De},{name:"101\u8BA1\u5212",ptimg:xe,swimg:Ce},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ie,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:ee},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:te},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ne,swimg:ae}];var Ue=({className:Ge,dataSource:Ze=[],col:nt=4,right:ke,bottom:vt=23,precision:_e=0,wrapWidth:Nt=1200,trackEventItems:st,loading:ot,onRemove:bt=()=>{},isCurrent:ct=!0,showAlias:pt=!1,showProgress:At=!1})=>{const tt=Math.floor((Nt-(nt-1)*ke)/nt),zt=[{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(Rt=>(window.ENV==="build"&&(Rt.ptimg=`/react/build${Rt.ptimg}`,Rt.swimg=`/react/build${Rt.swimg}`),Rt));return ge.createElement(Ee.Z,{spinning:ot},ge.createElement("div",{className:He()(le.list,Ge)},!!(Ze!=null&&Ze.length)&&(Ze==null?void 0:Ze.map((Rt,ft)=>{var Kt,yn,Hn,ln,Wn,Bt;const{name:Un,id:ar,identifier:Je,featured:gn,school_name:Fe,image_url:he,excellent:de,is_plan:ye}=Rt;return ge.createElement("div",{key:ar,className:ct&&At?le.wrapisCurrent:le.wrap,style:{width:tt,marginRight:(1+ft)%nt===0?0:ke+_e,marginBottom:vt}},ge.createElement("a",{className:le.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),st&&(0,ve.L9)([st]),(0,ve.xg)(`/paths/${Je}`)}},ge.createElement("div",{className:le.img},ge.createElement("img",{className:le.cover,src:`${he}`}),ct&&(0,Ne.bg)()&&(Rt==null?void 0:Rt.studying)&&ge.createElement("div",{className:`${le.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),bt(Rt)}},ge.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ge.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Kt=Rt==null?void 0:Rt.subject_tags)==null?void 0:Kt.map((qe,dt)=>{var Re,Xe;if(dt===0){const gt=(Re=zt.find(it=>it.name==qe))==null?void 0:Re.swimg;return ge.createElement("img",{className:le.sign,src:gt,style:{left:"-4px"}})}const Ct=(Xe=zt.find(gt=>gt.name==qe))==null?void 0:Xe.ptimg;return ge.createElement("img",{className:le.sign,src:Ct,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),ge.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Rt==null?void 0:Rt.excellent)&&ge.createElement("div",{className:le.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ge.createElement("div",{className:le.name},ge.createElement(je.Z,{title:pt&&(Rt!=null&&Rt.excellent_alias_name)?ge.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Un}`,ge.createElement("br",null),ge.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Rt==null?void 0:Rt.excellent_alias_name}`)):Un},ge.createElement("span",{className:le.e},pt&&(Rt==null?void 0:Rt.excellent_alias_name)||Un))),ct&&At&&((yn=Rt==null?void 0:Rt.progress)==null?void 0:yn.all_score)!=0&&ge.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ge.createElement(rt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Hn=Rt==null?void 0:Rt.progress)==null?void 0:Hn.my_score)/((ln=Rt==null?void 0:Rt.progress)==null?void 0:ln.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Wn=Rt==null?void 0:Rt.progress)==null?void 0:Wn.my_score,"/",(Bt=Rt==null?void 0:Rt.progress)==null?void 0:Bt.all_score),(!ct||!At)&&ge.createElement("div",{className:le.tags},ge.createElement("div",null,ge.createElement(je.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ge.createElement("span",null,Rt.stages_count))),ge.createElement(je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ge.createElement("span",null,Rt.members_count)))))))})),!Ze.length&&ge.createElement(Se.Z,null)))}},3918:function(Xt,It,Be){"use strict";Be.d(It,{jL:function(){return Ke},w9:function(){return Ei},vv:function(){return pn},dN:function(){return Mi},QD:function(){return qu},cQ:function(){return dt.Z},vg:function(){return to},Oz:function(){return dr},op:function(){return Ms},O5:function(){return Xs},_b:function(){return Ul},t7:function(){return vt},tT:function(){return st},Gi:function(){return ii},YG:function(){return Fa},Ed:function(){return Ja},kT:function(){return jo},qp:function(){return ee},Um:function(){return Le},K3:function(){return ne},vr:function(){return Qu},qE:function(){return xi},Je:function(){return ct},wb:function(){return Bt},rC:function(){return qe},lB:function(){return Je},cq:function(){return wA},kO:function(){return Sl},tp:function(){return Ge},Si:function(){return fs},k8:function(){return si},Du:function(){return ur}});var le=Be(59301),Ee={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/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dB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DAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ke=({dataSource:Dn=[],img:Wt,imgWidth:mn=346,title:Jn,sunTitle:jr,bannerExtraContent:ra})=>le.createElement("div",{className:Ee.banner},le.createElement("div",{className:Ee.content},le.createElement("aside",null,le.createElement("p",null,le.createElement("b",null,Jn),le.createElement("span",null,jr)),Dn.length>0&&le.createElement("div",{className:Ee.btns},Dn.map((er,ga)=>le.createElement("div",{key:ga,onClick:er.click},er.name,er.sign?le.createElement("img",{src:je,width:39}):null))),ra),Wt&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:Wt,width:mn}))),He={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},ve=Be(92310),Se=Be.n(ve),Ne=Be(89392),fe=Object.defineProperty,De=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,ie=(Dn,Wt,mn)=>Wt in Dn?fe(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,y=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))xe.call(Wt,mn)&&ie(Dn,mn,Wt[mn]);if(De)for(var mn of De(Wt))Ce.call(Wt,mn)&&ie(Dn,mn,Wt[mn]);return Dn},ee=({dataSource:Dn=[],value:Wt,onChange:mn,onTitleChange:Jn,className:jr,title:ra,titleWidth:er=41,style:ga={},fontColor:ha="#6A7283",showCount:no,classNameActive:La,styleItem:Kr={}})=>{const[Ao,Mo]=(0,le.useState)(0),[hn,rn]=(0,le.useState)(!1),Ia=(0,le.useRef)(null),ma=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var Yr;Dn.length!==0&&(((Yr=Ia==null?void 0:Ia.current)==null?void 0:Yr.clientHeight)>97?Mo(1):Mo(0)),Dn.length===0&&Mo(0),rn(!1)},[Dn]),le.createElement("div",{className:Se()(He.row,jr),style:ga},le.createElement("div",{onClick:(0,Ne.throttle)(()=>Jn==null?void 0:Jn(),2e3),style:{width:er,marginTop:hn?12:4},className:`${He.title} ${Jn?"current":""}`},ra),le.createElement("div",{className:hn?`${He.tagsWrap} ${He.tagsBorderWrap}`:He.tagsWrap},le.createElement("div",{className:He.bar,ref:ma,style:Ao>0?{height:Ao===1?97:"auto",overflow:Ao===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},le.createElement("div",{className:He.tag,ref:Ia},Dn==null?void 0:Dn.map(Yr=>le.createElement("span",{onClick:()=>mn(Yr.id),key:Yr.id,style:y(y({color:ha},Kr),(Yr==null?void 0:Yr.style)||{}),className:Wt===Yr.id?Se()(La||He.active,Yr.classNameActive):""},le.createElement("span",{title:Yr.name,className:He.name},Yr.name),!!no&&le.createElement("span",{className:He.num},Yr.count))))),!!Ao&&le.createElement(le.Fragment,null,Ao===1?le.createElement("div",{onClick:()=>{var Yr;Mo(2),((Yr=Ia==null?void 0:Ia.current)==null?void 0:Yr.clientHeight)>245?rn(!0):rn(!1)},className:He.action},"\u5C55\u5F00",le.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):le.createElement("div",{onClick:()=>{ma.current.scrollTop=0,Mo(1),rn(!1)},className:He.action},"\u6536\u8D77",le.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},E={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"},ne=({dataSource:Dn=[],value:Wt,onChange:mn,onTitleChange:Jn,className:jr,title:ra,titleWidth:er=41,style:ga={},fontColor:ha="#6A7283",showCount:no,expand:La=!0})=>{const[Kr,Ao]=(0,le.useState)(0),[Mo,hn]=(0,le.useState)(!1),rn=(0,le.useRef)(null),Ia=(0,le.useRef)(null),[ma,Yr]=(0,le.useState)(La);return le.createElement("div",{className:Se()(E.row,jr),style:ga},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Ne.throttle)(()=>Jn==null?void 0:Jn(),2e3),style:{width:er,marginTop:Mo?12:4},className:`${E.title} ${Jn?"current":""}`},ra),le.createElement("i",{className:`iconfont ${ma?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:ma?8:10},onClick:()=>Yr(!ma)})),ma&&le.createElement("div",{className:Mo?`${E.tagsWrap} ${E.tagsBorderWrap}`:E.tagsWrap},le.createElement("div",{className:E.fenge}),le.createElement("div",{className:E.bar,ref:Ia},le.createElement("div",{className:E.tag,ref:rn},Dn==null?void 0:Dn.map(Uo=>le.createElement("span",{onClick:()=>mn(Uo.id),key:Uo.id,style:{color:ha},className:Wt===Uo.id?E.active:""},le.createElement("span",{title:Uo.name,className:E.name},Uo.name),!!no&&le.createElement("span",{className:E.num},Uo.count)))))))},ae={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"},Le=({dataSource:Dn=[],value:Wt,onChange:mn,onTitleChange:Jn,className:jr,title:ra,titleWidth:er=41,style:ga={},fontColor:ha="#fff",showCount:no,expand:La=!0})=>{const[Kr,Ao]=(0,le.useState)(0),[Mo,hn]=(0,le.useState)(!1),rn=(0,le.useRef)(null),Ia=(0,le.useRef)(null),[ma,Yr]=(0,le.useState)(La);return le.createElement("div",{className:Se()(ae.row,jr),style:ga},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Ne.throttle)(()=>Jn==null?void 0:Jn(),2e3),style:{width:er},className:`${ae.title} ${Jn?"current":""}`},ra),le.createElement("i",{className:`iconfont ${ma?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:ma?"#00DDC7":"#037F74",fontSize:ma?10:12},onClick:()=>Yr(!ma)})),ma&&le.createElement("div",{className:Mo?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},le.createElement("div",{className:ae.bar,ref:Ia},le.createElement("div",{className:ae.tag,ref:rn},Dn==null?void 0:Dn.map(Uo=>le.createElement("span",{onClick:()=>mn(Uo.id),key:Uo.id,style:{color:ha},className:Wt===Uo.id?ae.active:""},le.createElement("span",{title:Uo.name,className:ae.name},Uo.name),!!no&&le.createElement("span",{className:ae.num},Uo.count)))))))},Pe={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"},Ge=({dataSource:Dn=[],value:Wt,onChange:mn,className:Jn,style:jr={}})=>le.createElement("div",{style:jr,className:Se()(Pe.tabs,Jn)},Dn.map(ra=>le.createElement("span",{onClick:()=>mn(ra.id),className:Wt===ra.id?Pe.active:"",key:ra.id},ra.name))),Ze={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"},nt=Be(92832),vt=({dataSource:Dn=[],value:Wt="",onChange:mn,onInputChange:Jn=()=>{},className:jr,style:ra={},placeholder:er,allowClear:ga=!1})=>{var ha;const[no,La]=(0,le.useState)(""),[Kr,Ao]=(0,le.useState)("");(0,le.useEffect)(()=>{var rn;let Ia=Wt;(rn=JSON.stringify(Wt))!=null&&rn.includes("{")&&(La(Wt.id),Ia=Wt.value||"");try{Ao(decodeURIComponent(Ia||""))}catch(ma){Ao(decodeURIComponent(Ia||""))}},[Wt]);const Mo=()=>{mn(encodeURIComponent(Kr),no||null)},hn=rn=>{rn!==no&&(La(rn),mn(encodeURIComponent(Kr),rn))};return le.createElement("div",{className:Se()(Ze.input,jr),style:ra},!!Dn.length&&le.createElement("div",{className:Ze.dropdown},le.createElement("div",{className:Ze.text},(ha=Dn.find(rn=>rn.id===no))==null?void 0:ha.name,le.createElement("i",{className:"iconfont icon-zhankai4"}),le.createElement("b",{className:Ze.b1}),le.createElement("b",{className:Ze.b2})),le.createElement("div",{className:Ze.menu},Dn.map((rn,Ia)=>le.createElement("div",{key:Ia,onClick:()=>hn(rn.id)},rn.name)))),le.createElement(nt.default,{onPressEnter:Mo,value:Kr,onChange:rn=>{Ao(rn.target.value),Jn(encodeURIComponent(rn.target.value),no||null)},bordered:!1,placeholder:er}),le.createElement("i",{onClick:Mo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},_e={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"},st=({dataSource:Dn=[],value:Wt="",onChange:mn,onInputChange:Jn=()=>{},className:jr,style:ra={},placeholder:er,allowClear:ga=!1})=>{var ha;const[no,La]=(0,le.useState)(""),[Kr,Ao]=(0,le.useState)("");(0,le.useEffect)(()=>{var rn;let Ia=Wt;(rn=JSON.stringify(Wt))!=null&&rn.includes("{")&&(La(Wt.id),Ia=Wt.value||"");try{Ao(decodeURIComponent(Ia||""))}catch(ma){Ao(decodeURIComponent(Ia||""))}},[Wt]);const Mo=()=>{mn(encodeURIComponent(Kr),no||null)},hn=rn=>{rn!==no&&(La(rn),mn(encodeURIComponent(Kr),rn))};return le.createElement("div",{className:Se()(_e.input,jr),style:ra},!!Dn.length&&le.createElement("div",{className:_e.dropdown},le.createElement("div",{className:_e.text},(ha=Dn.find(rn=>rn.id===no))==null?void 0:ha.name,le.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),le.createElement("div",{className:_e.menu},Dn.map((rn,Ia)=>le.createElement("div",{key:Ia,onClick:()=>hn(rn.id)},rn.name)))),le.createElement(nt.default,{onPressEnter:Mo,value:Kr,onChange:rn=>{Ao(rn.target.value),Jn(encodeURIComponent(rn.target.value),no||null)},bordered:!1,placeholder:er}),le.createElement("i",{onClick:Mo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},ot={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"},ct=({value:Dn,onChange:Wt,className:mn,total:Jn,pageSize:jr,style:ra={}})=>{const er=Dn<2,ga=Dn>=Math.ceil(Jn/jr);return Jn<=jr?le.createElement(le.Fragment,null):le.createElement("div",{className:Se()(ot.quickPager,mn),style:ra},le.createElement("div",{onClick:()=>{er||Wt(Dn-1,"prev")},className:er?ot.disabled:""},"\u4E0A\u4E00\u9875"),le.createElement("div",{onClick:()=>{ga||Wt(Dn+1,"next")},className:ga?ot.disabled:""},"\u4E0B\u4E00\u9875"))},pt={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"},At=Be(71418),tt=Be(6848),zt=Be(13570),Rt=Be(74128),ft=Be(65862),Kt=Be(96908),yn=Be(57177),Hn=Be(81378),ln=Be(2524),Bt=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,trackEventItems:ga,loading:ha})=>{const no=Math.floor((er-(mn-1)*Jn)/mn);return le.createElement(At.Z,{spinning:ha},le.createElement("div",{className:Se()(pt.list,Dn)},!!Wt.length&&Wt.map((La,Kr)=>{const{name:Ao,id:Mo,identifier:hn,power:rn,cover_image_id:Ia,pic:ma}=La;return le.createElement("div",{className:pt.wrap,key:Mo,style:{width:no,marginRight:(1+Kr)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{target:"_blank",href:`/shixuns/${hn}/challenges`,className:pt.li,onClick:Yr=>{Yr.preventDefault(),ga&&(0,ft.L9)([ga]),rn&&(0,ft.xg)(`/shixuns/${hn}/challenges`)}},le.createElement("div",{className:pt.img},le.createElement("img",{className:pt.cover,src:`${ma}`}),La.is_jupyter&&le.createElement("img",{className:pt.sign,src:Kt}),La.is_jupyter_lab&&le.createElement("img",{className:pt.sign,src:yn}),La.is_unity_3d&&le.createElement("img",{className:pt.sign,src:Hn})),le.createElement("div",{className:pt.name},le.createElement(tt.Z,{title:Ao||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:pt.e},Ao||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:pt.tags},le.createElement(tt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,La.challenges_count))),!!La.myshixuns_count&&le.createElement(tt.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,La.myshixuns_count))),le.createElement(tt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,La.level))),le.createElement("div",{className:pt.rate},le.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:La.score_info}),le.createElement("span",null,"\xA0",La.score_info?`${La.score_info}\u5206`:"5\u5206")))),!rn&&le.createElement("div",{className:pt.lockWrap},le.createElement("img",{src:`${Rt.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")))}),!Wt.length&&le.createElement(ln.Z,null)))},Un={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"},Je=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,wrapClassName:ga,trackEventItems:ha,loading:no})=>{const La=Math.floor((er-(mn-1)*Jn)/mn);return le.createElement(At.Z,{spinning:no},le.createElement("div",{className:Se()(Un.list,Dn)},!!Wt.length&&Wt.map((Kr,Ao)=>{const{name:Mo,id:hn,identifier:rn,power:Ia,cover_image_id:ma,pic:Yr}=Kr;return le.createElement("div",{className:Se()(Un.wrap,ga),key:hn,style:{width:La,marginRight:(1+Ao)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{target:"_blank",href:`/shixuns/${rn}/challenges`,className:Un.li,onClick:Uo=>{Uo.preventDefault(),ha&&(0,ft.L9)([ha]),Ia&&(0,ft.xg)(`/shixuns/${rn}/challenges`)}},le.createElement("img",{src:Be(47621),className:Un.titleBg}),le.createElement("div",{className:Un.name},le.createElement(tt.Z,{title:Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Un.e},Mo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:Un.img},le.createElement("img",{className:Un.cover,src:ma?`${Rt.Z.API_SERVER}/api/attachments/${ma}`:`${Rt.Z.IMG_SERVER+Yr}`}),Kr.is_jupyter&&le.createElement("div",{className:Un.bq},"Jupyter"),Kr.is_jupyter_lab&&le.createElement("div",{className:Un.bq},"JupyterLab"),Kr.is_unity_3d&&le.createElement("div",{className:Un.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:Un.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Un.value},Kr.myshixuns_count)),le.createElement("div",null,le.createElement("span",{className:Un.text},"\u56F0\u96BE\u7B49\u7EA7"),le.createElement("span",{className:Un.value},Kr.level))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Un.text},"\u5173\u5361\u6570"),le.createElement("span",{className:Un.value},Kr.challenges_count)),le.createElement("div",{className:Un.rate},le.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:Kr.score_info}),le.createElement("span",{className:Un.value,style:{color:"#FF9C00"}},"\xA0",Kr.score_info?`${Kr.score_info}\u5206`:"5\u5206"))))),!Ia&&le.createElement("div",{className:Un.lockWrap},le.createElement("img",{src:`${Rt.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")))}),!Wt.length&&le.createElement(ln.Z,null)))},gn={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"},Fe="data:image/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9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",qe=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,trackEventItems:ga,loading:ha,wrapClassName:no,imgClassName:La})=>{const Kr=Math.floor((er-(mn-1)*Jn)/mn);return le.createElement(At.Z,{spinning:ha},le.createElement("div",{className:Se()(gn.list,Dn)},!!Wt.length&&Wt.map((Ao,Mo)=>{const{name:hn,id:rn,identifier:Ia,power:ma,cover_image_id:Yr,pic:Uo}=Ao;return le.createElement("div",{className:Se()(gn.wrap,no),key:rn,style:{width:Kr,marginRight:(1+Mo)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{target:"_blank",href:`/shixuns/${Ia}/challenges`,className:gn.li,onClick:zi=>{zi.preventDefault(),ga&&(0,ft.L9)([ga]),ma&&(0,ft.xg)(`/shixuns/${Ia}/challenges`)}},le.createElement("div",{className:Se()(gn.img,La)},le.createElement("img",{className:gn.cover,src:Yr?`${Rt.Z.API_SERVER}/api/attachments/${Yr}`:`${Rt.Z.IMG_SERVER+Uo}`}),Ao.is_jupyter&&le.createElement("img",{className:gn.sign,src:Fe}),Ao.is_jupyter_lab&&le.createElement("img",{className:gn.sign,src:he}),Ao.is_unity_3d&&le.createElement("img",{className:gn.sign,src:de})),le.createElement("div",{className:gn.name},le.createElement(tt.Z,{title:hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:gn.e},hn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:gn.tags},le.createElement(tt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,Ao.challenges_count))),!!Ao.myshixuns_count&&le.createElement(tt.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,Ao.myshixuns_count))),le.createElement(tt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,Ao.level))),le.createElement("div",{className:gn.rate},le.createElement(zt.Z,{allowHalf:!0,disabled:!0,defaultValue:Ao.score_info}),le.createElement("span",null,"\xA0",Ao.score_info?`${Ao.score_info}\u5206`:"5\u5206")))),!ma&&le.createElement("div",{className:gn.lockWrap},le.createElement("img",{src:`${Rt.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")))}),!Wt.length&&le.createElement(ln.Z,null)))},dt=Be(61584),Re={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"},Xe=Be(79005),Ct=Be(20345),gt=Be(77882),it=Be(31081),kt=Be(75309),kn=Be(71979),Ft=Be(47558),on=Be(42922),Ot=Be(66832),En=Be(96593),lt=Be(19664),Jt=Be(91833),vn=Object.defineProperty,bn=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,Er=(Dn,Wt,mn)=>Wt in Dn?vn(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,Cr=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))qn.call(Wt,mn)&&Er(Dn,mn,Wt[mn]);if(bn)for(var mn of bn(Wt))lr.call(Wt,mn)&&Er(Dn,mn,Wt[mn]);return Dn};const cr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Xe,swimg:Ct},{name:"101\u8BA1\u5212",ptimg:gt,swimg:it},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:kt,swimg:kn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ft,swimg:on},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ot,swimg:En},{name:"\u519B\u961F\u4E00\u6D41",ptimg:lt,swimg:Jt}];var dr=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,trackEventItems:ga,loading:ha,wrapClassName:no,imgClassName:La,isArrow:Kr=!1,imgStyle:Ao={}})=>{const Mo=Math.floor((er-(mn-1)*Jn)/mn),[hn,rn]=(0,le.useState)(),[Ia,ma]=(0,le.useState)(),Yr=zi=>rn(zi),Uo=()=>rn(-1);return le.createElement(At.Z,{spinning:ha},le.createElement("div",{className:Se()(Re.list,Dn)},!!(Wt!=null&&Wt.length)&&(Wt==null?void 0:Wt.map((zi,Xi)=>{var us;const{name:uA,id:Vl,identifier:vA,featured:Cs,school_name:Xa,image_url:ho,excellent:Ji,is_plan:is}=zi;return le.createElement("div",{key:Vl,className:Se()(Re.wrap,no),style:{width:Mo,marginRight:(1+Xi)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{target:"_blank",href:`/paths/${vA}`,className:Re.li,onClick:ms=>{ms.preventDefault(),ga&&(0,ft.L9)([ga]),(0,ft.xg)(`/paths/${vA}`)}},le.createElement("img",{src:Be(39057),className:Re.titleBg}),le.createElement("div",{className:Re.name},le.createElement(tt.Z,{title:uA},le.createElement("span",{className:Re.e,style:{color:Kr&&hn===Xi?"#145DFF":"#000000"},onMouseEnter:()=>{Yr(Xi)},onMouseLeave:Uo},uA))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:Se()(Re.img,La)},le.createElement("img",{className:Re.cover,style:Cr({},Ao),src:`${Rt.Z.IMG_SERVER+ho}`}),(us=zi==null?void 0:zi.subject_tags)==null?void 0:us.map((ms,xo)=>{var kA,GA;if(xo===0){const Ki=(kA=cr.find(FA=>FA.name==ms))==null?void 0:kA.swimg;return le.createElement("img",{className:Re.sign,src:Ki,style:{left:"-4px"}})}const tl=(GA=cr.find(Ki=>Ki.name==ms))==null?void 0:GA.ptimg;return le.createElement("img",{className:Re.sign,src:tl,style:{left:`${48+52*(xo-1)+2*xo}px`}})}),le.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(zi==null?void 0:zi.excellent)&&le.createElement("div",{className:Re.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Re.text},"\u7AE0\u8282\u6570"),le.createElement("span",{className:Re.value},zi.stages_count)),le.createElement("div",null,le.createElement("span",{className:Re.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Re.value},zi.members_count))))))})),!Wt.length&&le.createElement(ln.Z,null)))},Pr={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"},ta=Be(41867),Wr=Be(59301);const Rr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Xe,swimg:Ct},{name:"101\u8BA1\u5212",ptimg:gt,swimg:it},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:kt,swimg:kn},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:Ft,swimg:on},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ot,swimg:En},{name:"\u519B\u961F\u4E00\u6D41",ptimg:lt,swimg:Jt}];var to=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,trackEventItems:ga,loading:ha,onRemove:no=()=>{},isCurrent:La=!0,showAlias:Kr=!1,wrapClassName:Ao,imgClassName:Mo})=>{const hn=Math.floor((er-(mn-1)*Jn)/mn),rn=[{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(Ia=>(window.ENV==="build"&&(Ia.ptimg=`/react/build${Ia.ptimg}`,Ia.swimg=`/react/build${Ia.swimg}`),Ia));return Wr.createElement(At.Z,{spinning:ha},Wr.createElement("div",{className:Se()(Pr.list,Dn)},!!(Wt!=null&&Wt.length)&&(Wt==null?void 0:Wt.map((Ia,ma)=>{var Yr;const{name:Uo,id:zi,identifier:Xi,featured:us,school_name:uA,image_url:Vl,excellent:vA,is_plan:Cs}=Ia;return Wr.createElement("div",{key:zi,className:Se()(Pr.wrap,Ao),style:{width:hn,marginRight:(1+ma)%mn===0?0:Jn+ra,marginBottom:jr}},Wr.createElement("a",{className:Pr.li,onClick:Xa=>{Xa.preventDefault(),Xa.stopPropagation(),ga&&(0,ft.L9)([ga]),(0,ft.xg)(`/paths/${Xi}`)}},Wr.createElement("div",{className:Se()(Pr.img,Mo)},Wr.createElement("img",{className:Pr.cover,src:`${Rt.Z.IMG_SERVER+Vl}`}),La&&(0,ta.bg)()&&(Ia==null?void 0:Ia.studying)&&Wr.createElement("div",{className:`${Pr.movebq} user-path-items`,onClick:Xa=>{Xa.stopPropagation(),no(Ia)}},Wr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Wr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Yr=Ia==null?void 0:Ia.subject_tags)==null?void 0:Yr.map((Xa,ho)=>{var Ji,is;if(ho===0){const xo=(Ji=rn.find(kA=>kA.name==Xa))==null?void 0:Ji.swimg;return Wr.createElement("img",{className:Pr.sign,src:xo,style:{left:"-4px"}})}const ms=(is=rn.find(xo=>xo.name==Xa))==null?void 0:is.ptimg;return Wr.createElement("img",{className:Pr.sign,src:ms,style:{left:`${48+52*(ho-1)+2*ho}px`}})}),Wr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Ia==null?void 0:Ia.excellent)&&Wr.createElement("div",{className:Pr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Wr.createElement("div",{className:Pr.name},Wr.createElement(tt.Z,{title:Kr&&(Ia!=null&&Ia.excellent_alias_name)?Wr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Uo}`,Wr.createElement("br",null),Wr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ia==null?void 0:Ia.excellent_alias_name}`)):Uo},Wr.createElement("span",{className:Pr.e},Kr&&(Ia==null?void 0:Ia.excellent_alias_name)||Uo))),Wr.createElement("div",{className:Pr.tags},Wr.createElement("div",null,Wr.createElement(tt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Wr.createElement("span",null,Wr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Wr.createElement("span",null,Ia.stages_count))),Wr.createElement(tt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Wr.createElement("span",null,Wr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Wr.createElement("span",null,Ia.members_count)))))))})),!Wt.length&&Wr.createElement(ln.Z,null)))},Hr={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"},sn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQc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OdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Oa=Be(59301),Ei=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,trackEventItems:ga,loading:ha})=>{const no=Math.floor((er-(mn-1)*Jn)/mn);return Oa.createElement(At.Z,{spinning:ha},Oa.createElement("div",{className:Se()(Hr.list,Dn)},!!Wt.length&&Wt.map((La,Kr)=>{const{subject_identifier:Ao,id:Mo,identifier:hn,power:rn}=La,Ia=La.is_public!=0&&La.is_public;return Oa.createElement("div",{className:Hr.wrap,key:Mo,style:{width:no,marginRight:(1+Kr)%mn===0?0:Jn+ra,marginBottom:jr}},Oa.createElement("a",{className:Hr.li,onClick:ma=>{ma.preventDefault(),ga&&(0,ft.L9)([ga]),(0,ft.xg)(La.first_category_url)}},Oa.createElement("div",{className:Hr.top},Oa.createElement(tt.Z,{title:La.name},Oa.createElement("div",{className:Hr.name},La.name)),Oa.createElement("img",{className:Hr.img,src:Rt.Z.IMG_SERVER+"/images/"+La.avatar_url}),Oa.createElement("div",{className:Hr.text,title:La.creator},La.creator),Ao&&Oa.createElement("div",{className:Hr.btns},Oa.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oa.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ia&&Oa.createElement("div",{className:Hr.sign},"\u516C\u5F00")),Oa.createElement("div",{className:Hr.bottom},La.visits>0&&Oa.createElement(tt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Oa.createElement("span",null,Oa.createElement("i",{className:"iconfont icon-liulanyan"}),Oa.createElement("span",null,La.visits))),La.course_members_count>0&&Oa.createElement(tt.Z,{title:"\u6210\u5458",placement:"bottom"},Oa.createElement("span",null,Oa.createElement("i",{className:"iconfont icon-chengyuan"}),La.course_members_count)),La.tasks_count>0&&Oa.createElement(tt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Oa.createElement("span",null,Oa.createElement("i",{className:"iconfont icon-zuoye"}),La.tasks_count)),La.is_end?Oa.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Oa.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!La.is_accessible&&Oa.createElement("div",{className:Hr.lockWrap},Oa.createElement("img",{src:`${Rt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oa.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Wt.length&&Oa.createElement(ln.Z,null)))},So={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Ro="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArB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A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Mi=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,wrapClassName:ga,trackEventItems:ha,loading:no})=>{const La=Math.floor((er-(mn-1)*Jn)/mn);return le.createElement(At.Z,{spinning:no},le.createElement("div",{className:Se()(So.list,Dn)},!!Wt.length&&Wt.map((Kr,Ao)=>{const{subject_identifier:Mo,id:hn,identifier:rn,power:Ia}=Kr,ma=Kr.is_public!=0&&Kr.is_public;return le.createElement("div",{className:Se()(`${So.wrap} ${Kr.is_accessible?"":So.warpStyle}`,ga),key:hn,style:{width:La,marginRight:(1+Ao)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{className:So.li,onClick:Yr=>{Yr.preventDefault(),ha&&(0,ft.L9)([ha]),(0,ft.xg)(Kr.first_category_url)}},le.createElement("div",{className:So.creator},le.createElement("img",{className:So.img,src:Rt.Z.IMG_SERVER+"/images/"+Kr.avatar_url}),le.createElement("div",{className:So.text,title:Kr.creator},Kr.creator)),le.createElement("div",{className:So.top},le.createElement(tt.Z,{title:Kr.name},le.createElement("div",{className:So.name},Kr.name)),ma&&le.createElement("div",{className:So.sign},"\u516C\u5F00")),le.createElement("div",{className:So.middle},le.createElement("div",{className:So.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:So.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:So.value},(Kr==null?void 0:Kr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:So.text},"\u6210\u5458"),le.createElement("span",{className:So.value},(Kr==null?void 0:Kr.course_members_count)||0))),le.createElement("div",{className:So.row},le.createElement("div",null,le.createElement("span",{className:So.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:So.value},(Kr==null?void 0:Kr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:So.text},"\u72B6\u6001"),Kr.is_end?le.createElement("span",{className:So.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:So.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Mo&&le.createElement("div",{className:So.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Kr.is_accessible&&le.createElement("div",{className:So.lockWrap},le.createElement("img",{src:`${Rt.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")))}),!Wt.length&&le.createElement(ln.Z,null)))},qa={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"},In="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+D6JHH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cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",pn=({className:Dn,dataSource:Wt=[],col:mn=4,right:Jn,bottom:jr=23,precision:ra=0,wrapWidth:er=1200,wrapClassName:ga,trackEventItems:ha,loading:no})=>{const La=Math.floor((er-(mn-1)*Jn)/mn);return le.createElement(At.Z,{spinning:no},le.createElement("div",{className:Se()(qa.list,Dn)},!!Wt.length&&Wt.map((Kr,Ao)=>{const{subject_identifier:Mo,id:hn,identifier:rn,power:Ia}=Kr,ma=Kr.is_public!=0&&Kr.is_public;return le.createElement("div",{className:Se()(`${qa.wrap} ${Kr.is_accessible?"":qa.warpStyle}`,ga),key:hn,style:{width:La,marginRight:(1+Ao)%mn===0?0:Jn+ra,marginBottom:jr}},le.createElement("a",{className:qa.li,onClick:Yr=>{Yr.preventDefault(),ha&&(0,ft.L9)([ha]),(0,ft.xg)(Kr.first_category_url)}},le.createElement("div",{className:qa.creator},le.createElement("img",{className:qa.img,src:Rt.Z.IMG_SERVER+"/images/"+Kr.avatar_url}),le.createElement("div",{className:qa.text,title:Kr.creator},Kr.creator)),le.createElement("div",{className:qa.top},le.createElement(tt.Z,{title:Kr.name},le.createElement("div",{className:qa.name},Kr.name)),ma&&le.createElement("div",{className:qa.sign})),le.createElement("div",{className:qa.middle},le.createElement("div",{className:qa.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:qa.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:qa.value},(Kr==null?void 0:Kr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:qa.text},"\u6210\u5458"),le.createElement("span",{className:qa.value},(Kr==null?void 0:Kr.course_members_count)||0))),le.createElement("div",{className:qa.row},le.createElement("div",null,le.createElement("span",{className:qa.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:qa.value},(Kr==null?void 0:Kr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:qa.text},"\u72B6\u6001"),Kr.is_end?le.createElement("span",{className:qa.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:qa.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Mo&&le.createElement("div",{className:qa.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Kr.is_accessible&&le.createElement("div",{className:qa.lockWrap},le.createElement("img",{src:`${Rt.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")))}),!Wt.length&&le.createElement(ln.Z,null)))},Ur={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"},ua=Be(65582),Fa=({dataSource:Dn=[],value:Wt,onChange:mn,className:Jn,style:jr={},tabBarExtraContent:ra})=>le.createElement("div",{className:Se()(Ur.tabs,Jn),style:jr},le.createElement("div",{className:Ur.tabsWrap},Dn.map((er,ga)=>le.createElement("aside",{className:Ur.tab,onClick:()=>{mn(er.id),er.link&&ua.history.push(er.link)},key:ga},le.createElement("div",{className:Wt===er.id?Ur.active:""},er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(tt.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:Ur.tabBar},ra)),Na={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"},jo=({dataSource:Dn=[],value:Wt,onChange:mn,className:Jn,style:jr={},tabBarExtraContent:ra})=>le.createElement("div",{className:Se()(Na.tabs,Jn),style:jr},le.createElement("div",{className:Na.tabsWrap},Dn.map((er,ga)=>le.createElement("aside",{className:Na.tab,onClick:()=>{mn(er.id),er.link&&ua.history.push(er.link)},key:ga},le.createElement("div",{className:Wt===er.id?Na.active:""},er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(tt.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:Na.tabBar},ra)),pi={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"},Ja=({dataSource:Dn=[],value:Wt,onChange:mn,className:Jn,style:jr={},tabBarExtraContent:ra})=>le.createElement("div",{className:Se()(pi.tabs,Jn),style:jr},le.createElement("div",{className:pi.tabsWrap},Dn.map((er,ga)=>le.createElement("aside",{className:`${pi.tab} ${Wt===er.id?pi.active:""}`,onClick:()=>{mn(er.id),er.link&&ua.history.push(er.link)},key:ga},le.createElement("div",null,er.name),(er==null?void 0:er.resetCount)==null&&(er==null?void 0:er.total)!==void 0&&le.createElement("span",null,"\uFF08",er==null?void 0:er.total,"\uFF09"),(er==null?void 0:er.resetCount)!==void 0&&(er==null?void 0:er.total)!==void 0&&le.createElement(tt.Z,{title:(er==null?void 0:er.tip)!=null?er==null?void 0:er.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},er==null?void 0:er.resetCount),"/",le.createElement("span",null,er==null?void 0:er.total),"\uFF09"))))),le.createElement("div",{className:pi.tabBar},ra)),ii=({className:Dn,style:Wt={},children:mn})=>le.createElement("div",{className:Se()(Dn),style:Wt},mn),Do={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"},Lo=Be(38854),Zi=Be(20834);const Os=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var wA=({sortValue:Dn,dropValue:Wt,className:mn,onSort:Jn,onDrop:jr,dataSource:ra=Os})=>{var er;return le.createElement("div",{className:Se()(Do.orderWrap,mn)},le.createElement(Lo.Z,{dropdownRender:()=>le.createElement(Zi.default,null,ra.map((ga,ha)=>le.createElement(Zi.default.Item,{key:ha,onClick:()=>jr(ga.id)},ga.name)))},le.createElement("span",{className:Do.orderTextWrap},(er=ra.find(ga=>Wt===ga.id))==null?void 0:er.name)),le.createElement("span",{className:Do.orderIconWrap},le.createElement("span",{className:Do.orderAsc},le.createElement("i",{className:Dn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Do.cursorPointer} ${Do.active}`:`iconfont icon-sanjiaoxing-up font12 ${Do.cursorPointer}`,onClick:()=>Jn(Dn==="asc"?"desc":"asc")})),le.createElement("span",{className:Do.orderDesc},le.createElement("i",{className:Dn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Do.cursorPointer} ${Do.active}`:`iconfont icon-sanjiaoxing-down font12 ${Do.cursorPointer}`,onClick:()=>Jn(Dn==="asc"?"desc":"asc")}))))},Wi={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 Hi=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Sl=({sortValue:Dn,dropValue:Wt,className:mn,onSort:Jn,onDrop:jr,dataSource:ra=Hi})=>{var er;return le.createElement("div",{className:Se()(Wi.orderWrap,mn)},le.createElement(Lo.Z,{dropdownRender:()=>le.createElement(Zi.default,null,ra.map((ga,ha)=>le.createElement(Zi.default.Item,{key:ha,onClick:()=>jr(ga.id)},ga.name)))},le.createElement("span",{className:Wi.orderTextWrap},(er=ra.find(ga=>Wt===ga.id))==null?void 0:er.name)),le.createElement("span",{className:Wi.orderIconWrap},le.createElement("span",{className:Wi.orderAsc},le.createElement("i",{className:Dn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Wi.cursorPointer} ${Wi.active}`:`iconfont icon-sanjiaoxing-up font12 ${Wi.cursorPointer}`,onClick:()=>Jn(Dn==="asc"?"desc":"asc")})),le.createElement("span",{className:Wi.orderDesc},le.createElement("i",{className:Dn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Wi.cursorPointer} ${Wi.active}`:`iconfont icon-sanjiaoxing-down font12 ${Wi.cursorPointer}`,onClick:()=>Jn(Dn==="asc"?"desc":"asc")}))))},js={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"},Or=Be(3113),Yu=Be(2337),Au=Object.defineProperty,Nl=Object.getOwnPropertySymbols,el=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,Va=(Dn,Wt,mn)=>Wt in Dn?Au(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,Wo=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))el.call(Wt,mn)&&Va(Dn,mn,Wt[mn]);if(Nl)for(var mn of Nl(Wt))Jr.call(Wt,mn)&&Va(Dn,mn,Wt[mn]);return Dn},_a=(Dn,Wt)=>{var mn={};for(var Jn in Dn)el.call(Dn,Jn)&&Wt.indexOf(Jn)<0&&(mn[Jn]=Dn[Jn]);if(Dn!=null&&Nl)for(var Jn of Nl(Dn))Wt.indexOf(Jn)<0&&Jr.call(Dn,Jn)&&(mn[Jn]=Dn[Jn]);return mn},Pi=(Dn,Wt,mn)=>new Promise((Jn,jr)=>{var ra=ha=>{try{ga(mn.next(ha))}catch(no){jr(no)}},er=ha=>{try{ga(mn.throw(ha))}catch(no){jr(no)}},ga=ha=>ha.done?Jn(ha.value):Promise.resolve(ha.value).then(ra,er);ga((mn=mn.apply(Dn,Wt)).next())}),Ms=Dn=>{var Wt=Dn,{className:mn,style:Jn,children:jr,loading:ra=!1,openLoading:er,onClick:ga=()=>{},size:ha="middle",shape:no="round",theme:La}=Wt,Kr=_a(Wt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ao,Mo]=(0,le.useState)(!1),hn=(0,le.useMemo)(()=>{switch(La){case Yu.Fy.THEMEONE:return js.ThemeOne;case Yu.Fy.DEFAULT:default:return js.btn}},[La]);return le.createElement(Or.ZP,Wo({onClick:(0,Ne.throttle)(rn=>Pi(void 0,null,function*(){er&&Mo(!0);try{yield ga(rn)}catch(Ia){console.log("error",Ia)}er&&Mo(!1)}),2e3,{leading:!0,trailing:!1}),className:Se()(hn,js[`${ha}-${no}`],mn),style:Jn,size:ha,shape:no,loading:Ao||ra},Kr),jr)},lA={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"},xi=({className:Dn,style:Wt,children:mn=null,onClick:Jn,title:jr})=>le.createElement("div",{className:Se()(lA.head,Dn),style:Wt},le.createElement("span",{className:"primary-hover",onClick:Jn},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),le.createElement("b",{title:jr},jr),le.createElement("div",{className:lA.node},mn)),Qa={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"},qu=({confirmShow:Dn=!0,confirmTitle:Wt,confirmClick:mn,cancelShow:Jn=!0,cancelTitle:jr,cancelClick:ra,className:er,style:ga,confirmLoading:ha=!1})=>le.createElement("div",{className:Se()(Qa.btns,er),style:ga},Dn&&le.createElement(Or.ZP,{loading:ha,onClick:mn,type:"primary",className:Qa.confirm},Wt),Jn&&le.createElement(Or.ZP,{onClick:ra,className:Qa.cancel},jr)),wl={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"},Qu=({className:Dn,style:Wt={},LeftContent:mn,children:Jn,RightContent:jr})=>le.createElement("div",{className:Se()(wl.fixedBottom,Dn),style:Wt},le.createElement("div",{className:wl.wrap},le.createElement("div",{className:wl.left},mn),le.createElement("div",{className:wl.center},Jn),le.createElement("div",{className:wl.right},jr))),Zl={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"},Ul=({className:Dn,style:Wt={},dataSource:mn=[]})=>le.createElement("div",{className:Se()(Zl.crumbs,Dn),style:Wt},mn.map((Jn,jr)=>jrua.history.push(Jn.path)},Jn.name):le.createElement("span",null,Jn.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:jr,style:{color:"#5F6368"}},Jn.name))),ul=Be(31797),bu=Object.defineProperty,pA=Object.defineProperties,vc=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,yA=(Dn,Wt,mn)=>Wt in Dn?bu(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,lu=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))dn.call(Wt,mn)&&yA(Dn,mn,Wt[mn]);if(Ol)for(var mn of Ol(Wt))Eu.call(Wt,mn)&&yA(Dn,mn,Wt[mn]);return Dn},Vs=(Dn,Wt)=>pA(Dn,vc(Wt)),uu=(Dn,Wt)=>{var mn={};for(var Jn in Dn)dn.call(Dn,Jn)&&Wt.indexOf(Jn)<0&&(mn[Jn]=Dn[Jn]);if(Dn!=null&&Ol)for(var Jn of Ol(Dn))Wt.indexOf(Jn)<0&&Eu.call(Dn,Jn)&&(mn[Jn]=Dn[Jn]);return mn};const{Countdown:Cu}=ul.default;var Xs=Dn=>{var Wt=Dn,{onChange:mn}=Wt,Jn=uu(Wt,["onChange"]);const[jr,ra]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof jr=="number"&&jr>=0&&mn(jr)},[jr]);const er=ga=>{const ha=Math.floor(ga/1e3);ra(ha)};return le.createElement(Cu,Vs(lu({},Jn),{onChange:er}))},Js={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},fs=({DataProps:Dn,className:Wt,style:mn={}})=>{var Jn;return le.createElement("div",{className:Se()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Js.ClassRoomItem,Wt),style:mn,onClick:()=>{(0,ft.xg)(Dn==null?void 0:Dn.first_category_url)}},le.createElement("div",{className:"flex flex-col item-center"},le.createElement("img",{src:`${(Jn=Rt.Z)==null?void 0:Jn.IMG_SERVER}/images/${Dn==null?void 0:Dn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Dn==null?void 0:Dn.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}},!!(Dn!=null&&Dn.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"}},"\u516C\u5F00"),le.createElement("span",{className:Se()("text-16px font-medium",Js.TitleDom)},Dn==null?void 0:Dn.name)),le.createElement("div",{className:"c-grey-333 font-medium"},Dn==null?void 0:Dn.creator),le.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Dn==null?void 0:Dn.course_members_count),le.createElement("div",{className:"c-grey-333 flex item-center justify-between"},le.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Dn==null?void 0:Dn.tasks_count),Dn!=null&&Dn.is_end?le.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):le.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},$u=Object.defineProperty,ku=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,Zt=(Dn,Wt,mn)=>Wt in Dn?$u(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,_t=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))Da.call(Wt,mn)&&Zt(Dn,mn,Wt[mn]);if(ku)for(var mn of ku(Wt))da.call(Wt,mn)&&Zt(Dn,mn,Wt[mn]);return Dn},ur=({DataProps:Dn=[],selectValue:Wt,onChange:mn,className:Jn,style:jr={},extra:ra,classNameItem:er,styleItem:ga={},barHidden:ha})=>{const[no,La]=(0,le.useState)();return(0,le.useEffect)(()=>{La(Array.isArray(Wt)?Wt:[Wt])},[Wt]),le.createElement("div",{className:Se()("flex px-20px py-10px gap-40px",Jn),style:_t({borderBottom:"1px solid #D3F0FF"},jr)},Dn==null?void 0:Dn.map(Kr=>le.createElement("div",{key:Kr==null?void 0:Kr.id,className:Se()("flex item-center justify-center current c-grey-333 text-16 relative",er,Kr==null?void 0:Kr.className),style:_t(_t({color:no!=null&&no.includes(Kr==null?void 0:Kr.id)?"#1890FF":"",minWidth:88},ga),(Kr==null?void 0:Kr.style)||{}),onClick:Ao=>{mn==null||mn({domEvent:Ao,item:Kr}),Kr!=null&&Kr.link&&ua.history.push(Kr==null?void 0:Kr.link)}},Kr==null?void 0:Kr.name,!ha&&(no==null?void 0:no.includes(Kr==null?void 0:Kr.id))&&le.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),le.createElement("div",{className:"ml-auto"},ra))},sa=Object.defineProperty,wa=Object.defineProperties,na=Object.getOwnPropertyDescriptors,_r=Object.getOwnPropertySymbols,Aa=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable,ko=(Dn,Wt,mn)=>Wt in Dn?sa(Dn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:mn}):Dn[Wt]=mn,Fi=(Dn,Wt)=>{for(var mn in Wt||(Wt={}))Aa.call(Wt,mn)&&ko(Dn,mn,Wt[mn]);if(_r)for(var mn of _r(Wt))Ta.call(Wt,mn)&&ko(Dn,mn,Wt[mn]);return Dn},za=(Dn,Wt)=>wa(Dn,na(Wt)),si=({value:Dn,onChange:Wt,onInputChange:mn,className:Jn,style:jr={},InputProps:ra})=>{const[er,ga]=(0,le.useState)(Dn);return le.createElement("div",{className:Se()("flex item-center rounded-full px-10px py-2px",Jn),style:Fi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},jr)},le.createElement(nt.default,za(Fi({bordered:!1},ra),{onChange:ha=>{ga(ha.target.value),mn==null||mn(encodeURIComponent(ha.target.value))},onPressEnter:ha=>{Wt==null||Wt({domEvent:ha,item:{value:er}})}})),le.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:ha=>{Wt==null||Wt({domEvent:ha,item:{value:er}})}}))}},31103:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Ee}});var le=Be(59301);function Ee(je,rt){const Ke=(0,le.useRef)();(0,le.useEffect)(()=>{Ke.current=je}),(0,le.useEffect)(()=>{function He(){Ke.current()}if(rt!==null){let ve=setInterval(He,rt);return()=>clearInterval(ve)}},[rt])}},52217:function(Xt,It,Be){"use strict";var le=Be(43418),Ee=Be(8591),je=Be(38147),rt=Be(65582),Ke=Be(41867),He=Be(59301),ve=(Ne,fe,De)=>new Promise((xe,Ce)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,fe)).next())});const Se=({shixunHomeworks:Ne,classroomList:fe,dispatch:De})=>{const xe=(0,rt.useParams)();return He.createElement(le.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var Ce,ie,y,a;if((0,Ke.Rm)()&&!((Ce=fe.AssistantObject.practice)!=null&&Ce.can_redo)){Ee.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 ee=yield(0,je.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,Ke.Rm)()&&!((a=fe.AssistantObject.practice)!=null&&a.can_view))return;rt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},He.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),He.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};It.Z=(0,rt.connect)(({shixunHomeworks:Ne,classroomList:fe})=>({shixunHomeworks:Ne,classroomList:fe}))(Se)},19990:function(Xt,It,Be){"use strict";Be.r(It),Be.d(It,{default:function(){return da}});var le=Be(2337),Ee=Be(59301),je=Be(65582),rt=Be(66649),Ke=Be.n(rt),He=Be(86129),ve=Be.n(He),Se=Be(38147),Ne=Be(43418),fe=Be(8591),De=Be(61621),xe=Be(66104),Ce=Be(3113),ie=Be(6848),y=Be(92832),a=Be(28103),ee=Be(95237),E=Be(43604),te=Be(1710),ne=Be(57809),ae=Be(58421),ge=Be(95869),Le=Be(87169),Pe=Be(26227),Ue=Be(74128),Ge=Be(41867),Ze=Be(65862),nt=Be(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_"},vt={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const _e=({shixunHomeworks:Zt,data:_t,globalSetting:Nn,loading:ur,dispatch:sa})=>{var wa;const{shixunWorkReport:na}=Zt;let _r=((wa=_t==null?void 0:_t.efficiency_list)==null?void 0:wa.length)-parseInt(_t==null?void 0:_t.myself_eff[0]);const Aa=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(ko){return ko.name===na.username?"\u59D3\u540D\uFF1A"+na.username+"
\u5B66\u53F7\uFF1A "+na.user_id+"
\u6548\u7387\uFF1A"+(_t==null?void 0:_t.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:_t==null?void 0:_t.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:na.username,xAxis:_r,yAxis:_t==null?void 0:_t.myself_eff[1],value:_t==null?void 0:_t.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ta=()=>({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 Fi=ko.value;if(ko.name===na.username)return"\u59D3\u540D\uFF1A"+na.username+"
\u5B66\u53F7\uFF1A "+na.user_id+"
\u5F97\u5206\uFF1A"+(_t==null?void 0:_t.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:vt,data:_t==null?void 0:_t.consume_list,symbolSize:function(ko){return Math.round(ko[2])},markPoint:{data:[{name:na.username,xAxis:_t==null?void 0:_t.myself_object[0],yAxis:_t==null?void 0:_t.myself_object[1],value:_t==null?void 0:_t.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ee.createElement(Ee.Fragment,null,Ee.createElement("aside",{className:"ml60 pr30"},Ee.createElement(ee.Z,null,Ee.createElement(E.Z,{flex:"800px"},Ee.createElement(nt.Z,{style:{width:750,height:580},option:Aa()})),Ee.createElement(E.Z,{flex:"1"},Ee.createElement("aside",{className:ke.rightInfo},Ee.createElement("ul",null,Ee.createElement("li",null,Ee.createElement("span",null,"\u59D3\u540D")," ",Ee.createElement("span",{className:"ml30"},na.username)),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u53F7")," ",Ee.createElement("span",{className:"ml30"},na.student_id||"--")),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_eff[1])),Ee.createElement("li",null,Ee.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_eff[0]))),Ee.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ee.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ee.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ee.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"))))),Ee.createElement("aside",{className:"ml60 pr30"},Ee.createElement(ee.Z,null,Ee.createElement(E.Z,{flex:"800px"},Ee.createElement(nt.Z,{style:{width:750,height:580},option:Ta()})),Ee.createElement(E.Z,{flex:"1"},Ee.createElement("aside",{className:ke.rightInfo},Ee.createElement("ul",null,Ee.createElement("li",null,Ee.createElement("span",null,"\u59D3\u540D")," ",Ee.createElement("span",{className:"ml30"},na.username)),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u53F7")," ",Ee.createElement("span",{className:"ml30"},na.student_id||"--")),Ee.createElement("li",null,Ee.createElement("span",null,"\u80FD\u529B")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_object[1]))),Ee.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ee.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ee.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ee.createElement("br",null)))))))};var Nt=(0,je.connect)(({shixunHomeworks:Zt,loading:_t,globalSetting:Nn})=>({shixunHomeworks:Zt,globalSetting:Nn,loading:_t.effects}))(_e),st=Be(50258),ot=Be(5871),bt=({defaultValue:Zt,onBlur:_t,max:Nn,className:ur="game-score"})=>{const[sa,wa]=(0,Ee.useState)(Zt);(0,Ee.useEffect)(()=>{wa(Zt)},[Zt]);function na(Aa){wa(Aa)}function _r(){sa!==Zt&&_t(sa>Nn?Nn:sa)}return Ee.createElement(ot.Z,{max:Nn,min:0,className:ur,value:sa,onChange:na,onBlur:_r})},ct=Be(96565),pt={md:"md___GIQyK"},At=Be(59301),tt=Object.defineProperty,zt=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,Hn=(Zt,_t,Nn)=>_t in Zt?tt(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,ln=(Zt,_t)=>{for(var Nn in _t||(_t={}))Kt.call(_t,Nn)&&Hn(Zt,Nn,_t[Nn]);if(ft)for(var Nn of ft(_t))yn.call(_t,Nn)&&Hn(Zt,Nn,_t[Nn]);return Zt},Wn=(Zt,_t)=>zt(Zt,Rt(_t));const Bt=ne.default.Option,Un={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var ar=(Zt=>(Zt[Zt.SET_PATH=0]="SET_PATH",Zt[Zt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Zt))(ar||{});function Je(Zt,_t){switch(_t.type){case 0:return Wn(ln({},Zt),{selectedPath:_t.payload});case 1:return Wn(ln({},Zt),{passedContent:_t.payload});default:throw new Error}}var gn=({path:Zt,game_id:_t,onPathChange:Nn,autoHeight:ur,diff_code_count:sa,data:wa,game_codes_cn:na})=>{var _r,Aa,Ta,ko;const Fi=Zt.split("\uFF1B").filter(Jn=>!!Jn),[za,hs]=(0,Ee.useReducer)(Je,{selectedPath:Fi[0],passedContent:{language:"python",content:""}}),{selectedPath:si,passedContent:Dn}=za;function Wt(Jn){hs({type:0,payload:Jn})}const mn={\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 At.createElement(At.Fragment,null,At.createElement("h2",null," ",At.createElement("span",null,na,At.createElement(ie.Z,{title:At.createElement("div",null,At.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),At.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),At.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"),At.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},At.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sa&&At.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sa),At.createElement("span",null,At.createElement(ne.default,{style:{width:200},value:si,onChange:Wt}," ",Fi.map(Jn=>At.createElement(Bt,{key:Jn,value:Jn},Jn))," "))," "),(si==null?void 0:si.split(".")[1])==="md"&&At.createElement(ct.Z,{height:300,autoHeight:ur,defaultValue:((Aa=(_r=wa==null?void 0:wa.filter(Jn=>Jn.path===si))==null?void 0:_r[0])==null?void 0:Aa.content)||"",className:pt.md}),(si==null?void 0:si.split(".")[1])!=="md"&&At.createElement(st.ZP,{height:300,language:Dn.language,value:((ko=(Ta=wa==null?void 0:wa.filter(Jn=>Jn.path===si))==null?void 0:Ta[0])==null?void 0:ko.content)||"",autoHeight:ur,theme:"default",isCopy:!0,options:Un}))},Fe=Be(33270),he=Be(96249),de=Be.n(he),ye=Object.defineProperty,qe=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Xe=(Zt,_t,Nn)=>_t in Zt?ye(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,Ct=(Zt,_t)=>{for(var Nn in _t||(_t={}))dt.call(_t,Nn)&&Xe(Zt,Nn,_t[Nn]);if(qe)for(var Nn of qe(_t))Re.call(_t,Nn)&&Xe(Zt,Nn,_t[Nn]);return Zt},gt=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const it=({shixunHomeworks:Zt,autoHeight:_t,classroomList:Nn,dispatch:ur})=>{var sa,wa,na,_r,Aa,Ta,ko;const{shixunWorkReport:Fi}=Zt,{stage_list:za,work_id:hs}=Fi,[si,Dn]=(0,Ee.useState)(!1),[Wt,mn]=(0,Ee.useState)(!0),[Jn,jr]=(0,Ee.useState)({left:0,top:0,bottom:0,right:0}),ra=(0,Ee.useRef)(null),[er,ga]=(0,Ee.useState)(!1),ha=(ma,Yr)=>{var Uo;const{clientWidth:zi,clientHeight:Xi}=window.document.documentElement,us=(Uo=ra.current)==null?void 0:Uo.getBoundingClientRect();us&&jr({left:-us.left+Yr.x,right:zi-(us.right-Yr.x),top:-us.top+Yr.y,bottom:Xi-(us.bottom-Yr.y)})},no=(0,je.useParams)(),La=(0,Ge.GJ)(),Kr={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ee.useEffect)(()=>{console.log(no)},[]);const Ao=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(ma,Yr,Uo)=>Ee.createElement("div",null,ma,Yr.is_work_end_evaluate&&Ee.createElement(Ze.vA,{status:5}))},{title:"\u8BC4\u6D4B\u8017\u65F6(S)",dataIndex:"ts_time",width:"130px"},{title:"\u5185\u5B58\u6D88\u8017(MB)",width:"150px",dataIndex:"ts_mem"},{title:"\u8BC4\u6D4B\u65F6\u95F4",width:"170px",dataIndex:"created_at",render:ma=>Ke()(ma).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(ma,Yr)=>Ee.createElement("span",{className:"c-blue current",onClick:()=>gt(void 0,null,function*(){var Uo,zi;const Xi=yield(0,Fe.Lk)(Yr.game_identifier,{path:(zi=(Uo=Yr.path)==null?void 0:Uo.replace(/\;/g,";"))==null?void 0:zi.split(";")[0],query_index:Yr.query_index,homework_common_id:no.categoryId});(Xi==null?void 0:Xi.status)===0&&(ga(Xi),Dn(!0))})},Yr.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Mo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(ma,Yr)=>{var Uo;return Ee.createElement("span",null,Ee.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((Uo=Yr==null?void 0:Yr.user)==null?void 0:Uo.image_url)}),ma)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:ma=>Ee.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",ma,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:ma=>Ee.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",ma,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:ma=>Ee.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",ma?Ke()(ma).format("YYYY-MM-DD HH:mm"):"--")}];function hn(ma,Yr){return gt(this,null,function*(){const{challenge_id:Uo}=za[ma],zi=yield ur({type:"shixunHomeworks/changeScore",payload:{categoryId:no.homeworkId,type:"report",score:Yr,challenge_id:Uo}});yield ur({type:"shixunHomeworks/getShixunWorkReport",payload:Ct({},no)}),zi.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function rn(ma,Yr){return(0,Se.U2)(`student_works/${hs}/rep_passed_content.json`,{path:Yr,game_id:ma})}const Ia=Fi.shixun_detail;return Ee.createElement(Ee.Fragment,null,Ia==null?void 0:Ia.map(function(ma,Yr){var Uo,zi;return Ee.createElement("div",{key:Yr},Ee.createElement("aside",{className:"pl30 pr30",key:Yr},Ee.createElement("div",{className:`${ke.shixunTitle} mt10`},Ee.createElement("div",null,Ee.createElement("span",{className:"fa fa-code "}),Ee.createElement("strong",{className:"c-black"},"\u7B2C",Yr+1,"\u5173 ",Ee.createElement(je.Link,{className:"c-black",target:"_blank",to:`/tasks/${no.coursesId}/${no.categoryId}/${ma.game_identifier}`},ma.subject))),La?Ee.createElement("span",null,"\u8C03\u5206\uFF1A",Ee.createElement(bt,{className:"game-score",max:za[Yr].game_score_full,defaultValue:za[Yr].game_score,onBlur:Xi=>{var us;if((0,Ge.Rm)()&&!((us=Nn.AssistantObject.practice)!=null&&us.can_appraise)){fe.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}hn(Yr,Xi)}})):null),Ee.createElement("div",{className:"font16 mt10"},ma.st===0&&(ma.path?typeof(ma==null?void 0:ma.game_codes_cn)=="string"?Ee.createElement("aside",{className:ke.shixunWrp},Ee.createElement(gn,{game_codes_cn:ma==null?void 0:ma.game_codes_cn,autoHeight:_t,path:ma.path,game_id:ma.id,data:ma.game_codes,diff_code_count:ma.diff_code_count,onPathChange:rn})):Ee.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),ma.st===1&&(ma.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Ee.createElement("aside",{className:"mt10 font16"},(Uo=ma.outputs)!=null&&Uo.length?Ee.createElement(te.default,{columns:Ao,pagination:{hideOnSinglePage:!0},dataSource:ma.outputs.map(Xi=>Ct(Ct({},ma),Xi))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ee.createElement("aside",{className:"mt10 font16"},((zi=ma==null?void 0:ma.adjust_review_score_list)==null?void 0:zi.length)>0&&(0,Ge.GJ)()&&Ee.createElement("div",null,Ee.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ee.createElement(te.default,{columns:Mo,pagination:{hideOnSinglePage:!0},dataSource:ma.adjust_review_score_list,showHeader:!1})))))}),Ee.createElement(Ne.default,{open:si,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{ga({}),Dn(!1)},onCancel:()=>{ga({}),Dn(!1)},title:Ee.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Wt&&mn(!1)},onMouseOut:()=>{mn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:ma=>Ee.createElement(de(),{disabled:Wt,bounds:Jn,nodeRef:ra,onStart:(Yr,Uo)=>ha(Yr,Uo)},Ee.createElement("div",{ref:ra},ma))},Ee.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ee.createElement("div",{style:{display:"flex",alignItems:"center"}},((sa=er==null?void 0:er.data)==null?void 0:sa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ee.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ee.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ee.createElement("div",{style:{color:((wa=er==null?void 0:er.data)==null?void 0:wa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(na=er==null?void 0:er.data)==null?void 0:na.output_detail)),Ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ke()((_r=er==null?void 0:er.data)==null?void 0:_r.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Aa=er==null?void 0:er.data)==null?void 0:Aa.ts_time,"s")),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ta=er==null?void 0:er.data)==null?void 0:Ta.ts_mem,"mb")),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((ko=er==null?void 0:er.data)==null?void 0:ko.test_set_passed_rate)*100,"%")))),Ee.createElement(st.ZP,{height:500,autoHeight:_t,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((er==null?void 0:er.content)||""))),options:Kr})))};var kt=(0,je.connect)(({shixunHomeworks:Zt,loading:_t,globalSetting:Nn,classroomList:ur})=>({shixunHomeworks:Zt,globalSetting:Nn,loading:_t.effects,classroomList:ur}))(it),kn=Be(78241),Ft={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=Be(27185),Ot=Be(59301),En=Object.defineProperty,lt=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,vn=Object.prototype.propertyIsEnumerable,bn=(Zt,_t,Nn)=>_t in Zt?En(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,qn=(Zt,_t)=>{for(var Nn in _t||(_t={}))Jt.call(_t,Nn)&&bn(Zt,Nn,_t[Nn]);if(lt)for(var Nn of lt(_t))vn.call(_t,Nn)&&bn(Zt,Nn,_t[Nn]);return Zt},lr=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const Er=({shixunHomeworks:Zt,dispatch:_t,classroomList:Nn})=>{const{shixunWorkReport:ur}=Zt,sa=(0,je.useParams)(),[wa,na]=(0,Ee.useState)(!1),[_r]=kn.default.useForm(),[Aa,Ta]=Ne.default.useModal(),[ko,Fi]=(0,Ee.useState)(!1),[za,hs]=(0,Ee.useState)(!1);(0,Ee.useEffect)(()=>{var Wt,mn,Jn,jr;Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&_r.setFieldsValue({comment:(mn=(Wt=Zt.actionTabs.selectArrs)==null?void 0:Wt.data)==null?void 0:mn.work_comment,hidden_comment:(jr=(Jn=Zt.actionTabs.selectArrs)==null?void 0:Jn.data)==null?void 0:jr.work_comment_hidden})},[Zt.actionTabs.key]);const si=()=>lr(void 0,null,function*(){const Wt=_r.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${sa.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Wt.hidden_comment,comment:Wt.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),_r.resetFields(),_t({type:"shixunHomeworks/setActionTabs",payload:{}}),_t({type:"shixunHomeworks/getShixunWorkReport",payload:qn({},sa)}))}),Dn=[{title:"\u5173\u5361",dataIndex:"name",render:(Wt,mn,Jn)=>Jn+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Wt,mn,Jn)=>Ot.createElement("div",null,Wt,mn.complete_status===4&&Ot.createElement(Ze.vA,{status:mn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Wt=>Wt?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Wt,mn)=>Ot.createElement("div",null,Ot.createElement("span",{style:{color:parseFloat(mn.game_score_full)!==parseFloat(Wt)?"#E30000":"#53C41B"}},Wt),"/",mn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Wt,mn)=>(0,Ge.GJ)()?Ot.createElement(bt,{max:mn.game_score_full,defaultValue:parseFloat(Wt),onBlur:Jn=>lr(void 0,null,function*(){var jr,ra;if((0,Ge.Rm)()&&!((jr=Nn.AssistantObject.practice)!=null&&jr.can_appraise)){fe.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 er=yield _t({type:"shixunHomeworks/changeScore",payload:{categoryId:sa.homeworkId,type:"report",score:Jn,challenge_id:mn.challenge_id}});(ra=Zt==null?void 0:Zt.actionTabs)==null||ra.fn(),yield _t({type:"shixunHomeworks/getShixunWorkReport",payload:qn({},sa)}),er.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Wt}];return Ot.createElement(Ot.Fragment,null,Ta,Ot.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>lr(void 0,null,function*(){var Wt;if((0,Ge.Rm)()&&!((Wt=Nn.AssistantObject.practice)!=null&&Wt.can_appraise)){fe.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 mn=_r.getFieldsValue();JSON.stringify(mn)==="{}"||mn.hidden_comment===""&&mn.comment===""?na(!0):si()}),onCancel:()=>{_t({type:"shixunHomeworks/setActionTabs",payload:{}})}},Ot.createElement(ee.Z,{justify:"space-between",className:Ft.info},Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u59D3\u540D"),Ot.createElement("span",{className:Ft.blackContent},ur==null?void 0:ur.username)),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u5B66\u53F7"),Ot.createElement("span",{className:Ft.blackContent},(ur==null?void 0:ur.student_id)||"--")),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u73ED\u7EA7"),Ot.createElement("span",{className:Ft.blackContent},(ur==null?void 0:ur.group_name)||"--")),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u5173\u5361\u5F97\u5206"),Ot.createElement("span",{className:Ft.orangeContent},(ur==null?void 0:ur.challenge_score)||"--")),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u6548\u7387\u5206"),Ot.createElement("span",{className:Ft.orangeContent},(ur==null?void 0:ur.eff_score)||"--")),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u8865\u4EA4\u6263\u5206"),Ot.createElement("span",{className:Ft.orangeContent},(ur==null?void 0:ur.late_penalty)||"--")),Ot.createElement(E.Z,null,Ot.createElement("span",{className:`${Ft.label} ${Ft.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Ot.createElement("span",{className:Ft.orangeContent},(ur==null?void 0:ur.work_score)||"--"))),Ot.createElement(kn.default,{form:_r,onChange:()=>{wa&&na(!1)}},Ot.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ot.createElement(E.Z,null,Ot.createElement("div",{className:`${Ft.inputLabel} ${Ft.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ot.createElement(E.Z,null,Ot.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:ko,onCancel:()=>{Fi(!1)}},onDataSelect:(Wt,mn)=>lr(void 0,[Wt,mn],function*(Jn,{node:jr}){const ra=()=>{_r.setFieldsValue({comment:jr==null?void 0:jr.value}),Fi(!1)};if(_r.getFieldValue("comment")){Aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ra});return}ra()})},Ot.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Ot.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Wt=>{Fi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ot.createElement(kn.default.Item,{name:"comment"},Ot.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Ot.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Ot.createElement(E.Z,null,Ot.createElement("div",{className:`${Ft.inputLabel} ${Ft.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Ot.createElement(E.Z,null,Ot.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:za,onCancel:()=>{hs(!1)}},onDataSelect:(Wt,mn)=>lr(void 0,[Wt,mn],function*(Jn,{node:jr}){const ra=()=>{_r.setFieldsValue({hidden_comment:jr==null?void 0:jr.value}),hs(!1)};if(_r.getFieldValue("hidden_comment")){Aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ra});return}ra()})},Ot.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Ot.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Wt=>{hs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Ot.createElement(kn.default.Item,{name:"hidden_comment"},Ot.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),wa&&Ot.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Ot.createElement("div",{className:Ft.tableTitle},"\u5173\u5361\u6210\u7EE9"),Ot.createElement(te.default,{className:Ft.scoreTable,dataSource:ur.stage_list,rowKey:"challenge_id",pagination:!1,columns:Dn,scroll:{x:"max-content"}})))};var Cr=(0,je.connect)(({shixunHomeworks:Zt,classroomList:_t})=>({shixunHomeworks:Zt,classroomList:_t}))(Er),cr=Be(10669),sr=Be(6339),dr=Be(88761),Pr=Be(44164),ta=Be.n(Pr),Wr={wrap:"wrap___rFTBy",line:"line___kZzhh"},Rr=Be(65078),to=({detailData:Zt})=>{var _t;return Ee.createElement("div",{className:Wr.wrap},Ee.createElement(Rr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Rr.Uf)(Zt),(Zt==null?void 0:Zt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ee.createElement(Rr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Rr.Uf)(Zt)}),!!((_t=Zt==null?void 0:Zt.photos)!=null&&_t.length)&&Ee.createElement(Ee.Fragment,null,Ee.createElement("div",{className:Wr.line}),Ee.createElement(Rr._s,{dataSource:Zt==null?void 0:Zt.photos,right:21,col:4,wrapWidth:1140}))))},Hr=Be(84454),sn=Be(59301),Oa=Object.defineProperty,Po=Object.defineProperties,Ei=Object.getOwnPropertyDescriptors,So=Object.getOwnPropertySymbols,Ro=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,Mi=(Zt,_t,Nn)=>_t in Zt?Oa(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,qa=(Zt,_t)=>{for(var Nn in _t||(_t={}))Ro.call(_t,Nn)&&Mi(Zt,Nn,_t[Nn]);if(So)for(var Nn of So(_t))Gi.call(_t,Nn)&&Mi(Zt,Nn,_t[Nn]);return Zt},In=(Zt,_t)=>Po(Zt,Ei(_t)),Tn=(Zt,_t)=>{var Nn={};for(var ur in Zt)Ro.call(Zt,ur)&&_t.indexOf(ur)<0&&(Nn[ur]=Zt[ur]);if(Zt!=null&&So)for(var ur of So(Zt))_t.indexOf(ur)<0&&Gi.call(Zt,ur)&&(Nn[ur]=Zt[ur]);return Nn},pn=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const Ur=Zt=>{var _t=Zt,{shixunHomeworks:Nn,classroomList:ur,globalSetting:sa,loading:wa,user:na,dispatch:_r}=_t,Aa=Tn(_t,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ta,ko,Fi;const[za,hs]=(0,Ee.useState)(qa({},(0,je.useParams)())),si=(0,je.useParams)(),[Dn,Wt]=(0,Ee.useState)({page:1,page_size:10}),mn=(0,je.useLocation)(),[]=(0,Ee.useState)([]),[Jn,jr]=(0,Ee.useState)(),ra=(0,Ee.useRef)(),[er,ga]=(0,Ee.useState)(!1),[ha,no]=(0,Ee.useState)(!0),[La,Kr]=(0,Ee.useState)(!1),[Ao,Mo]=(0,Ee.useState)(!1),{shixunWorkReport:hn}=Nn,[rn,Ia]=(0,Ee.useState)(),[ma,Yr]=(0,Ee.useState)([]),[Uo,zi]=(0,Ee.useState)(),[Xi,us]=(0,Ee.useState)("all"),uA=(0,Ge.GJ)(),[Vl,vA]=(0,Ee.useState)(new(ve())),[Cs,Xa]=(0,Ee.useState)(0),[ho,Ji]=(0,Ee.useState)(!1),[is,ms]=(0,Ee.useState)(!1),[xo,kA]=(0,Ee.useState)(!1),[GA,tl]=(0,Ee.useState)(""),[Ki,FA]=(0,Ee.useState)(!1),[Xl,zc]=(0,Ee.useState)(!0),[_s,yl]=(0,Ee.useState)(0),Ps=(0,Ee.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Yi=(0,Ee.useRef)(),Ys=()=>pn(void 0,null,function*(){(na.userInfo.is_teacher||na.userInfo.admin)&&(FA(!0),zc(!1))});(0,Ee.useEffect)(()=>{var Mr;(0,Ge.Rm)()&&ur.AssistantObject.practice&&!((Mr=ur.AssistantObject.practice)!=null&&Mr.can_view)&&je.history.replace("/403")},[(Ta=ur.AssistantObject.practice)==null?void 0:Ta.can_view]),(0,Ee.useEffect)(()=>{Ys(),console.log("\u6253\u5370\u7684------",hn),Yi.current=hn==null?void 0:hn.next_student_work_id,tl(hn.repeat_minus_score)},[hn,na]),(0,Ee.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",hn.work_score),yl(hn.work_score)},[hn.work_score,GA]),(0,Ee.useEffect)(()=>(_r({type:"globalSetting/footerToggle",payload:!1}),()=>{_r({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ee.useEffect)(()=>{var Mr;if(hn){let co=[];(Mr=hn==null?void 0:hn.target_test_sets)==null||Mr.map((mr,mo)=>{var ti;(ti=mr==null?void 0:mr.targets)==null||ti.map((BA,bA)=>{var Qs;BA.name=mr==null?void 0:mr.name,BA.total_target_score=mr==null?void 0:mr.total_target_score,BA.actual_target_score=mr==null?void 0:mr.actual_target_score,BA.rowSpan=bA===0?(Qs=mr==null?void 0:mr.targets)==null?void 0:Qs.length:0,BA.order=mo+1,co.push(BA)})}),Ia(co),(0,Ge.Rm)()&&_r({type:"classroomList/getAssistantPermissions",payload:{course_id:za.coursesId}})}},[hn]),(0,Ee.useEffect)(()=>{Nn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(hn==null?void 0:hn.students_count)>0&&!ha&&setTimeout(()=>{xs("all")},800)},[hn==null?void 0:hn.homework_common_id,ha]),(0,Ee.useEffect)(()=>{hs(qa({},si))},[mn.pathname]);const ec=()=>{document.body.scrollIntoView()},Kc=Mr=>{Dn.page=Mr,Wt(qa({},Dn)),qs(Dn,Xi)},qs=(Mr,co)=>pn(void 0,null,function*(){Kr(!0);const mr=yield(0,Se.ZP)(`/api/student_works/${za==null?void 0:za.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:In(qa({},Mr),{challenge_id:co=="all"?null:co})});(mr==null?void 0:mr.status)===0&&(Yr(mr==null?void 0:mr.list),zi(mr==null?void 0:mr.count)),Kr(!1)});function Jl(){return pn(this,null,function*(){Ps.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const cA=()=>{document.querySelectorAll("canvas").forEach(Mr=>{(!Mr.clientWidth||!Mr.clientHeight)&&Mr.remove()})},Yl=Mr=>pn(void 0,null,function*(){const co=yield(0,dr.t1)({homeworkId:Mr||za.homeworkId});jr(co==null?void 0:co.data)}),xs=Mr=>pn(void 0,null,function*(){var co,mr,mo,ti;let BA=0,bA;bA=Ne.default.info({width:460,title:sn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",sn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},BA+1),"/",Mr!=="all"?1:hn==null?void 0:hn.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ke.modal,onOk:()=>{}});const Qs={margin:[0,0],filename:`${hn!=null&&hn.student_id&&(hn==null?void 0:hn.student_id)!="--"?hn==null?void 0:hn.student_id:""}${hn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},$l=Vl.folder(hn==null?void 0:hn.shixun_name);function cu(du){return pn(this,null,function*(){yield Yl(du||Yi.current);const _i=yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:qa({homeworkId:du||Yi.current},Ps.current||{})});Yi.current=_i==null?void 0:_i.next_student_work_id,ec(),BA++,setTimeout(()=>pn(this,null,function*(){var qo,zo,Fs,dA;cA();const $s=$l.folder(`${_i==null?void 0:_i.group_name}`).folder(`${_i!=null&&_i.student_id&&(_i==null?void 0:_i.student_id)!="--"?_i.student_id+"+":""}${_i==null?void 0:_i.username}`),bl=document.querySelector("#export-all").children;let Ql=ta()();for(let Ks=0;Kspn(this,null,function*(){Ks0&&((Fs=(zo=_i==null?void 0:_i.shixun_detail)==null?void 0:zo.filter(Ks=>{var LA;return((LA=Ks==null?void 0:Ks.game_codes)==null?void 0:LA.length)>0}))==null?void 0:Fs.length)>0){const Ks=$s.folder("\u4EE3\u7801\u6587\u4EF6");(dA=_i==null?void 0:_i.shixun_detail)==null||dA.map((LA,eA)=>{var IA,ks;if(((IA=LA==null?void 0:LA.game_codes)==null?void 0:IA.length)>0){const Fu=Ks.folder(`\u7B2C${eA+1}\u5173-${LA.subject}-${LA.id}`);(ks=LA==null?void 0:LA.game_codes)==null||ks.map(El=>{Fu.file(`${El.filename}.txt`,El==null?void 0:El.content)})}})}bA.update({content:sn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",sn.createElement("span",{className:"c-blue"},BA),"/",_i==null?void 0:_i.students_count,sn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),BA==(_i==null?void 0:_i.students_count)?(bA.destroy(),Tu()):cu()}),2200)})}if(Mr!=="all"||(hn==null?void 0:hn.students_count)<2){cA(),ec();const du=ra.current.children;let _i=ta()();const zo=$l.folder(`${hn==null?void 0:hn.group_name}`).folder(`${hn!=null&&hn.student_id&&(hn==null?void 0:hn.student_id)!="--"?(hn==null?void 0:hn.student_id)+"+":""}${hn==null?void 0:hn.username}`);for(let Fs=0;Fspn(void 0,null,function*(){Fs0&&((mo=(mr=hn==null?void 0:hn.shixun_detail)==null?void 0:mr.filter(Fs=>{var dA;return((dA=Fs==null?void 0:Fs.game_codes)==null?void 0:dA.length)>0}))==null?void 0:mo.length)>0){const Fs=zo.folder("\u4EE3\u7801\u6587\u4EF6");(ti=hn==null?void 0:hn.shixun_detail)==null||ti.map((dA,zs)=>{var $s,bl;if((($s=dA==null?void 0:dA.game_codes)==null?void 0:$s.length)>0){const Ql=Fs.folder(`\u7B2C${zs+1}\u5173-${dA.subject}-${dA.id}`);(bl=dA==null?void 0:dA.game_codes)==null||bl.map(Ks=>{Ql.file(`${Ks.filename}.txt`,Ks==null?void 0:Ks.content)})}})}bA.destroy(),Tu();return}else cu(hn==null?void 0:hn.first_student_work_id)}),Tu=()=>{Vl.generateAsync({type:"blob"}).then(function(Mr){console.log(hn,"shixunWorkReport");const co=document.createElement("a");co.href=window.URL.createObjectURL(Mr),co.download=(hn==null?void 0:hn.shixun_name)+".zip",document.body.appendChild(co);const mr=document.createEvent("MouseEvents");mr.initEvent("click",!1,!1),co.dispatchEvent(mr),document.body.removeChild(co),vA(new(ve()))}),Mo(!1)};(0,Ee.useEffect)(()=>{ql()},[za.homeworkId]);const ql=()=>pn(void 0,null,function*(){yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:qa(qa({},za),Ps.current||{})}),Yl(),(0,Ge.GJ)()&&Jl(),no(!1)}),Pu=[{title:"\u5173\u5361",dataIndex:"name",render:(Mr,co,mr)=>mr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Mr,co,mr)=>sn.createElement("div",null,Mr,co.complete_status===4&&sn.createElement(Ze.vA,{status:co.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Mr,co,mr)=>Mr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Mr=>Mr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Mr,co)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(co.myself_experience)!==parseFloat(Mr)?"red":"green"}},co.myself_experience),"/",Mr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Mr,co)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(co.game_score_full)!==parseFloat(Mr)?"red":"green"}},Mr),"/",co.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Mr,co)=>uA?sn.createElement(bt,{max:co.game_score_full,defaultValue:parseFloat(Mr),onBlur:mr=>pn(void 0,null,function*(){var mo;if((0,Ge.Rm)()&&!((mo=ur.AssistantObject.practice)!=null&&mo.can_appraise)){fe.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 ti=yield _r({type:"shixunHomeworks/changeScore",payload:{categoryId:za.homeworkId,type:"report",score:mr,challenge_id:co.challenge_id}});qs({page:1,page_size:10},"all"),yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:qa(qa({},za),Ps.current||{})}),ti.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Mr}];let Gc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Mr,co,mr)=>({children:Mr,props:{rowSpan:co.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Mr,co,mr)=>({children:Mr,props:{rowSpan:co.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:(Mr,co,mr)=>sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(co.actual_test_score)!==parseFloat(Mr)?"red":"green"}},co.actual_test_score),"/",Mr)},{title:"\u6307\u6807\u603B\u5206",render:(Mr,co,mr)=>({children:sn.createElement("div",null,sn.createElement("span",{style:{color:parseFloat(co.actual_target_score)!==parseFloat(Mr)?"red":"green"}},co.actual_target_score),"/",Mr),props:{rowSpan:co.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const xu=[{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:Mr=>sn.createElement("span",null,Mr?Ke()(Mr).format("YYYY-MM-DD HH:mm"):"--")}],Sc=Mr=>{_r({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Mr==="next"?je.history.push(`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/${hn==null?void 0:hn.next_student_work_id}/comment`):je.history.push(`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/${hn==null?void 0:hn.pre_student_work_id}/comment`)},200)},nl=Mr=>{tl(""),Mr.target.value&&(console.log("\u8FDB\u6765",hn),Mr.target.value=Mr.target.value>hn.repeat_setting_score?hn.repeat_setting_score:Mr.target.value,tl(Mr.target.value))},tc=()=>pn(void 0,null,function*(){const Mr=yield(0,Se.ZP)(`/api/student_works/${hn==null?void 0:hn.work_id}/update_repeat_score`,{method:"put",body:{score:GA}});yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:qa(qa({},za),Ps.current||{})}),Mr.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return sn.createElement("section",{style:{minHeight:"100vh",background:`url(${Be(26528)}) center / cover no-repeat`}},sn.createElement("div",{className:"edu-container pb-60px"},sn.createElement(De.Z,{loading:wa["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},hn.course_id&&sn.createElement("section",{className:"animated fadeIn pt-10px"},hn.category&&sn.createElement(xe.Z,{separator:">",items:[{title:sn.createElement(je.Link,{to:`/classrooms/${hn.course_id}/shixun_homework`}," ",hn.course_name)},{title:sn.createElement(je.Link,{to:`/classrooms/${hn.course_id}/shixun_homework/${hn.category.main?"":hn.category.category_id}`}," ",hn.category.category_name)},{title:sn.createElement(je.Link,{to:`/classrooms/${hn.course_id}/shixun_homework/${hn.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:hn.username}]}),sn.createElement("div",{className:"mt20 flex item-center gap-10px"},sn.createElement("strong",{className:"font20"}," ",hn==null?void 0:hn.homework_name," "),sn.createElement(Ze.VV,{temporary:!0,status:hn.homework_status}),sn.createElement("div",{className:"ml-auto flex item-center gap-10px"},hn.view_tpi&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var Mr,co;(0,Ze.xg)(`/tasks/${hn==null?void 0:hn.course_id}/${hn==null?void 0:hn.homework_common_id}/${(co=(Mr=hn==null?void 0:hn.shixun_detail)==null?void 0:Mr[0])==null?void 0:co.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&hn.homework_end===!1&&!!hn.myshixun_id&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>pn(void 0,null,function*(){yield _r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:hn.myshixun_identifier},homework_common_id:si.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Mr;if((0,Ge.Rm)()&&!((Mr=ur.AssistantObject.practice)!=null&&Mr.can_download)){fe.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}xs("")},loading:er},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(hn==null?void 0:hn.students_count)>1&&sn.createElement(Ce.ZP,{icon:sn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var Mr;if((0,Ge.Rm)()&&!((Mr=ur.AssistantObject.practice)!=null&&Mr.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText:sn.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:sn.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:()=>{xs("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Hr.jj)({categoryId:za.categoryId,coursesId:za.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),sn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},sn.createElement("div",{id:"export-all",ref:ra},sn.createElement("div",{id:"export-all-1"},sn.createElement("div",{className:"flex item-center"},sn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ge.GJ)()&&sn.createElement(Ce.ZP,{className:`ml-auto rounded-4px ${ke.NewButtonStyle}`,type:"primary",icon:sn.createElement(ge.Z,{rev:void 0}),onClick:()=>{_r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:hn.user_id,data:qa({},hn)},fn:()=>qs({page:1,page_size:10},"all")}})}}," ",hn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),sn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},sn.createElement("div",{className:"flex flex-col justify-center item-center"},sn.createElement("div",{className:"flex flex-col item-center"},sn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Ue.Z.IMG_SERVER}/images/${hn.image_url}`,alt:hn.username}),sn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},sn.createElement(Ze.vA,{status:hn.compelete_status}))),sn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},hn.username),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",sn.createElement("span",{className:"ml10 c-grey-333"},hn.student_id||"--")),sn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",sn.createElement("span",{className:"ml10 c-grey-333"},hn.group_name||"--"))),sn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},sn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},hn.complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},hn.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-red"},hn.current_complete_count||"--"),"/",sn.createElement("span",{className:"c-red"},hn.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:hn&&hn.efficiency===null?"--":hn&&hn.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:hn&&hn.max_efficiency===null?"--":hn&&hn.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},hn.challenge_score),"/",sn.createElement("span",{className:"c-light-black"},hn.challenge_score_full)),hidden:!(hn!=null&&hn.eff_score_full)},{title:"\u6548\u7387\u5206",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},hn.eff_score),"/",sn.createElement("span",{className:"c-light-black"},hn.eff_score_full)),hidden:!(hn!=null&&hn.eff_score_full)}].map((Mr,co)=>!(Mr!=null&&Mr.hidden)&&sn.createElement("div",{key:co,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},Mr==null?void 0:Mr.children),sn.createElement("div",{style:{color:"#8E8E8E"}},Mr==null?void 0:Mr.title)))),sn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:hn&&hn.passed_time===null||hn&&hn.passed_time==="--"?"--":Ke()(hn&&hn.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Mr=>{Ji(!0)}})),children:hn==null?void 0:hn.human_training_time_rules},{title:sn.createElement(sn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",sn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:Mr=>{ms(!0)}})),children:hn==null?void 0:hn.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:hn.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:hn&&hn.passed_time===null||hn&&hn.passed_time==="--"?"--":Ke()(hn&&hn.passed_time).format("YYYY-MM-DD HH:mm")},{title:sn.createElement(sn.Fragment,null," \u67E5\u91CD\u6263\u5206",hn!=null&&hn.review_rate?sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{hn!=null&&hn.review_id&&Ki&&(localStorage.setItem("studentDetial",window.location.pathname),je.history.push(`/classrooms/:coursesId/shixun_homework/${za.categoryId}/review_detail/${hn==null?void 0:hn.review_id}`))}}," ",hn.review_rate.toFixed(1),"% "):sn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:sn.createElement(sn.Fragment,null,(hn==null?void 0:hn.repeat_minus_score)!==0?"- -":sn.createElement(sn.Fragment,null,Ki?sn.createElement(sn.Fragment,null,sn.createElement(y.default,{style:{width:"45px",height:"22px"},value:GA,onChange:Mr=>{nl(Mr)},onBlur:tc,disabled:Xl})," / ",hn==null?void 0:hn.repeat_setting_score):sn.createElement(sn.Fragment,null," ",hn==null?void 0:hn.repeat_minus_score," / ",hn==null?void 0:hn.repeat_setting_score," "))),hidden:!(hn!=null&&hn.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:hn.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:sn.createElement(sn.Fragment,null,sn.createElement("span",{className:"c-orange"},_s),"/",sn.createElement("span",{className:"c-light-black"},hn.all_work_score))}].map((Mr,co)=>!(Mr!=null&&Mr.hidden)&&sn.createElement("div",{key:co,className:"flex flex-col item-center gap-10px"},sn.createElement("div",{className:"text-16px"},Mr==null?void 0:Mr.children),sn.createElement("div",{style:{color:"#8E8E8E"}},Mr==null?void 0:Mr.title))))),sn.createElement("div",{className:"absolute flex item-center justify-center h-36px",style:{top:0,right:0,width:219,background:`url(${Be(55541)}) center / cover no-repeat`}},hn.overall_appraisal)),sn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(hn.work_comment_hidden||hn.work_comment)&&sn.createElement("div",null,sn.createElement(ee.Z,{align:"middle"},sn.createElement(E.Z,{flex:1},sn.createElement("h1",{className:ke.title},"\u70B9\u8BC4\u5185\u5BB9")),sn.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&sn.createElement(Ce.ZP,{onClick:()=>pn(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:sn.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return pn(this,null,function*(){(yield(0,dr.gZ)({comment_id:hn.comment_id,homeworkId:za.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),_r({type:"shixunHomeworks/getShixunWorkReport",payload:qa(qa({},za),Ps.current||{})}))})}})})},sn.createElement(Pe.Z,null),"\u5220\u9664"))),sn.createElement(a.Z,{style:{margin:0}}),hn.work_comment&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(sr.Z,{value:hn.work_comment})),hn.work_comment_hidden&&sn.createElement("aside",{className:"pl30 pr30 mt20"},sn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),sn.createElement("br",null),sn.createElement(sr.Z,{value:hn.work_comment_hidden}))),(hn==null?void 0:hn.action_analysis)&&sn.createElement(to,{detailData:hn}),sn.createElement("div",{className:ke.score},sn.createElement("h1",{className:ke.title},"\u9636\u6BB5\u6210\u7EE9"),(hn==null?void 0:hn.adjust_review_score_count)>0&&(0,Ge.GJ)()&&sn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{kA(!0),qs({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",hn==null?void 0:hn.adjust_review_score_count,"\u6B21\uFF09")),sn.createElement(te.default,{className:ke.TableStyle,dataSource:hn.stage_list,rowKey:Mr=>Mr==null?void 0:Mr.challenge_id,pagination:!1,columns:Pu}),((ko=hn==null?void 0:hn.target_test_sets)==null?void 0:ko.length)>0&&sn.createElement("div",null,sn.createElement("h1",{className:ke.title},"\u6307\u6807\u6210\u7EE9"),sn.createElement(te.default,{className:ke.TableStyle,dataSource:rn,rowKey:Mr=>Mr==null?void 0:Mr.challenge_id,pagination:!1,bordered:!0,columns:Gc})),(hn==null?void 0:hn.work_description)&&sn.createElement(sn.Fragment,null,sn.createElement("h1",{className:ke.title},"\u4E2A\u4EBA\u603B\u7ED3"),sn.createElement(sr.Z,{value:hn==null?void 0:hn.work_description})),sn.createElement("h1",{className:ke.title},"\u56FE\u5F62\u7EDF\u8BA1"),sn.createElement(Nt,{data:Jn}),sn.createElement("h1",{className:ke.title},"\u5B9E\u8BAD\u8BE6\u60C5")),sn.createElement(kt,{autoHeight:Ao}))))),(0,Ge.GJ)()&&sn.createElement("aside",{className:`sticky ${ke.footerBar}`},sn.createElement("aside",{className:"edu-container flex item-center"},sn.createElement(je.Link,{className:ke.exitComment,to:`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),sn.createElement("div",{className:"ml-auto flex item-center gap-20px"},sn.createElement(Ce.ZP,{disabled:!(hn!=null&&hn.pre_student_work_id),onClick:()=>Sc()},"\u4E0A\u4E00\u4E2A"),sn.createElement(Ce.ZP,{disabled:!(hn!=null&&hn.next_student_work_id),onClick:()=>Sc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&sn.createElement(Ce.ZP,{className:ke.NewButtonStyle,type:"primary",onClick:()=>pn(void 0,null,function*(){_r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:hn.user_id,data:qa({},hn)},fn:()=>qs({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),sn.createElement(Cr,null),sn.createElement(cr.Z,null),sn.createElement(Ne.default,{open:ho,width:860,centered:!0,onCancel:()=>{Ji(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},sn.createElement("div",{style:{color:"#333333",fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),sn.createElement("br",null),sn.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"),sn.createElement("br",null),sn.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"),sn.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 "),sn.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")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),sn.createElement("br",null),sn.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 "),sn.createElement("br",null),sn.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"),sn.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 "),sn.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"),sn.createElement("br",null),sn.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")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),sn.createElement("br",null),sn.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")),sn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},sn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),sn.createElement("br",null),sn.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"))),sn.createElement(Ne.default,{open:is,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ms(!1)},width:600},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.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"),sn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.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"),sn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",sn.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"))),sn.createElement(Ne.default,{open:xo,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{us("all"),kA(!1)},destroyOnClose:!0,width:900},sn.createElement("div",{style:{fontWeight:400,color:"#333333"}},sn.createElement("div",null,sn.createElement("span",null,"\u5173\u5361\uFF1A"),sn.createElement(ne.default,{style:{width:300},value:Xi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Mr=>pn(void 0,null,function*(){us(Mr),qs({page:1,page_size:10},Mr)})},sn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(Fi=hn==null?void 0:hn.stage_list)==null?void 0:Fi.map((Mr,co)=>sn.createElement(ne.default.Option,{key:co,value:Mr==null?void 0:Mr.challenge_id},"\u7B2C",(0,Ze.EM)(co+1),"\u5173")))),sn.createElement("div",{className:"mt20"},sn.createElement(te.default,{dataSource:ma,rowKey:Mr=>Mr==null?void 0:Mr.id,pagination:!1,columns:xu,loading:La})),sn.createElement("div",{className:ke.footer},sn.createElement("div",null,sn.createElement("span",{style:{color:"#656F87"}},"\u5171",sn.createElement("span",{className:"c-light-primary"},Uo),"\u6761\u6570\u636E")),sn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(Dn==null?void 0:Dn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:Uo,onChange:Kc})))))};var ua=(0,je.connect)(({shixunHomeworks:Zt,classroomList:_t,loading:Nn,globalSetting:ur,user:sa})=>({shixunHomeworks:Zt,classroomList:_t,globalSetting:ur,loading:Nn.effects,user:sa}))(Ur),Tr=Be(27812),Fa={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"},Na={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}};const Ma=({shixunHomeworks:Zt,data:_t,globalSetting:Nn,loading:ur,dispatch:sa})=>{var wa;const{shixunWorkReport:na}=Zt;let _r=((wa=_t==null?void 0:_t.efficiency_list)==null?void 0:wa.length)-parseInt(_t==null?void 0:_t.myself_eff[0]);const Aa=()=>({title:{text:"\u5B66\u4E60\u6548\u7387",subtext:"\u5B66\u4E60\u6548\u7387=log(\u5B9E\u8BAD\u603B\u5F97\u5206/\u5B9E\u8BAD\u603B\u8017\u65F6)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(ko){return ko.name===na.username?"\u59D3\u540D\uFF1A"+na.username+"
\u5B66\u53F7\uFF1A "+na.user_id+"
\u6548\u7387\uFF1A"+(_t==null?void 0:_t.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:_t==null?void 0:_t.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:na.username,xAxis:_r,yAxis:_t==null?void 0:_t.myself_eff[1],value:_t==null?void 0:_t.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),Ta=()=>({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 Fi=ko.value;if(ko.name===na.username)return"\u59D3\u540D\uFF1A"+na.username+"
\u5B66\u53F7\uFF1A "+na.user_id+"
\u5F97\u5206\uFF1A"+(_t==null?void 0:_t.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:Na,data:_t==null?void 0:_t.consume_list,symbolSize:function(ko){return Math.round(ko[2])},markPoint:{data:[{name:na.username,xAxis:_t==null?void 0:_t.myself_object[0],yAxis:_t==null?void 0:_t.myself_object[1],value:_t==null?void 0:_t.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ee.createElement(Ee.Fragment,null,Ee.createElement("aside",{className:"ml60 pr30"},Ee.createElement(ee.Z,null,Ee.createElement(E.Z,{flex:"800px"},Ee.createElement(nt.Z,{style:{width:750,height:580},option:Aa()})),Ee.createElement(E.Z,{flex:"1"},Ee.createElement("aside",{className:Fa.rightInfo},Ee.createElement("ul",null,Ee.createElement("li",null,Ee.createElement("span",null,"\u59D3\u540D")," ",Ee.createElement("span",{className:"ml30"},na.username)),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u53F7")," ",Ee.createElement("span",{className:"ml30"},na.student_id||"--")),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_eff[1])),Ee.createElement("li",null,Ee.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_eff[0]))),Ee.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ee.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ee.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ee.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"))))),Ee.createElement("aside",{className:"ml60 pr30"},Ee.createElement(ee.Z,null,Ee.createElement(E.Z,{flex:"800px"},Ee.createElement(nt.Z,{style:{width:750,height:580},option:Ta()})),Ee.createElement(E.Z,{flex:"1"},Ee.createElement("aside",{className:Fa.rightInfo},Ee.createElement("ul",null,Ee.createElement("li",null,Ee.createElement("span",null,"\u59D3\u540D")," ",Ee.createElement("span",{className:"ml30"},na.username)),Ee.createElement("li",null,Ee.createElement("span",null,"\u5B66\u53F7")," ",Ee.createElement("span",{className:"ml30"},na.student_id||"--")),Ee.createElement("li",null,Ee.createElement("span",null,"\u80FD\u529B")," ",Ee.createElement("span",{className:"ml30 c-orange"},_t==null?void 0:_t.myself_object[1]))),Ee.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ee.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ee.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ee.createElement("br",null)))))))};var jo=(0,je.connect)(({shixunHomeworks:Zt,loading:_t,globalSetting:Nn})=>({shixunHomeworks:Zt,globalSetting:Nn,loading:_t.effects}))(Ma),pi=({defaultValue:Zt,onBlur:_t,max:Nn,className:ur="game-score"})=>{const[sa,wa]=(0,Ee.useState)(Zt);(0,Ee.useEffect)(()=>{wa(Zt)},[Zt]);function na(Aa){wa(Aa)}function _r(){sa!==Zt&&_t(sa>Nn?Nn:sa)}return Ee.createElement(ot.Z,{max:Nn,min:0,className:ur,value:sa,onChange:na,onBlur:_r})},Ir={md:"md___TEmcT"},Ja=Be(59301),Ci=Object.defineProperty,ii=Object.defineProperties,Do=Object.getOwnPropertyDescriptors,Lo=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,Os=Object.prototype.propertyIsEnumerable,AA=(Zt,_t,Nn)=>_t in Zt?Ci(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,wA=(Zt,_t)=>{for(var Nn in _t||(_t={}))Zi.call(_t,Nn)&&AA(Zt,Nn,_t[Nn]);if(Lo)for(var Nn of Lo(_t))Os.call(_t,Nn)&&AA(Zt,Nn,_t[Nn]);return Zt},Wi=(Zt,_t)=>ii(Zt,Do(_t));const Hi=ne.default.Option,PA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Sl=(Zt=>(Zt[Zt.SET_PATH=0]="SET_PATH",Zt[Zt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Zt))(Sl||{});function js(Zt,_t){switch(_t.type){case 0:return Wi(wA({},Zt),{selectedPath:_t.payload});case 1:return Wi(wA({},Zt),{passedContent:_t.payload});default:throw new Error}}var Or=({path:Zt,game_id:_t,onPathChange:Nn,autoHeight:ur,diff_code_count:sa,data:wa,game_codes_cn:na})=>{var _r,Aa,Ta,ko;const Fi=Zt.split("\uFF1B").filter(Jn=>!!Jn),[za,hs]=(0,Ee.useReducer)(js,{selectedPath:Fi[0],passedContent:{language:"python",content:""}}),{selectedPath:si,passedContent:Dn}=za;function Wt(Jn){hs({type:0,payload:Jn})}const mn={\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 Ja.createElement(Ja.Fragment,null,Ja.createElement("h2",null," ",Ja.createElement("span",null,na,Ja.createElement(ie.Z,{title:Ja.createElement("div",null,Ja.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ja.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ja.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"),Ja.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ja.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),sa&&Ja.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",sa),Ja.createElement("span",null,Ja.createElement(ne.default,{style:{width:200},value:si,onChange:Wt}," ",Fi.map(Jn=>Ja.createElement(Hi,{key:Jn,value:Jn},Jn))," "))," "),(si==null?void 0:si.split(".")[1])==="md"&&Ja.createElement(ct.Z,{height:300,autoHeight:ur,defaultValue:((Aa=(_r=wa==null?void 0:wa.filter(Jn=>Jn.path===si))==null?void 0:_r[0])==null?void 0:Aa.content)||"",className:Ir.md}),(si==null?void 0:si.split(".")[1])!=="md"&&Ja.createElement(st.ZP,{height:300,language:Dn.language,value:((ko=(Ta=wa==null?void 0:wa.filter(Jn=>Jn.path===si))==null?void 0:Ta[0])==null?void 0:ko.content)||"",autoHeight:ur,theme:"default",isCopy:!0,options:PA}))},Yu=Be(48530),Au=Object.defineProperty,Nl=Object.defineProperties,el=Object.getOwnPropertyDescriptors,Jr=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable,_a=(Zt,_t,Nn)=>_t in Zt?Au(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,Pi=(Zt,_t)=>{for(var Nn in _t||(_t={}))Va.call(_t,Nn)&&_a(Zt,Nn,_t[Nn]);if(Jr)for(var Nn of Jr(_t))Wo.call(_t,Nn)&&_a(Zt,Nn,_t[Nn]);return Zt},ts=(Zt,_t)=>Nl(Zt,el(_t)),Ms=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const lA=({shixunHomeworks:Zt,autoHeight:_t,classroomList:Nn,dispatch:ur})=>{var sa,wa,na,_r,Aa,Ta,ko,Fi;const{shixunWorkReport:za}=Zt,{stage_list:hs,work_id:si,ai_code_evaluation_promote:Dn}=za,[Wt,mn]=(0,Ee.useState)(!1),[Jn,jr]=(0,Ee.useState)(!0),[ra,er]=(0,Ee.useState)({left:0,top:0,bottom:0,right:0}),ga=(0,Ee.useRef)(null),[ha,no]=(0,Ee.useState)(!1),[La,Kr]=(0,Ee.useState)(""),Ao=(0,Ee.useRef)(null),Mo=(Xa,ho)=>{var Ji;const{clientWidth:is,clientHeight:ms}=window.document.documentElement,xo=(Ji=ga.current)==null?void 0:Ji.getBoundingClientRect();xo&&er({left:-xo.left+ho.x,right:is-(xo.right-ho.x),top:-xo.top+ho.y,bottom:ms-(xo.bottom-ho.y)})},hn=(0,je.useParams)(),rn=(0,Ge.GJ)(),Ia={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ee.useEffect)(()=>{console.log(hn)},[]);const ma=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(Xa,ho,Ji)=>Ee.createElement("div",null,Xa,ho.is_work_end_evaluate&&Ee.createElement(Ze.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:Xa=>Ke()(Xa).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(Xa,ho)=>Ee.createElement("span",{className:"c-blue current",onClick:()=>Ms(void 0,null,function*(){var Ji,is;const ms=yield(0,Fe.Lk)(ho.game_identifier,{path:(is=(Ji=ho.path)==null?void 0:Ji.replace(/\;/g,";"))==null?void 0:is.split(";")[0],query_index:ho.query_index,homework_common_id:hn.categoryId});(ms==null?void 0:ms.status)===0&&(no(ms),mn(!0))})},ho.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],Yr=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(Xa,ho)=>{var Ji;return Ee.createElement("span",null,Ee.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((Ji=ho==null?void 0:ho.user)==null?void 0:Ji.image_url)}),Xa)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:Xa=>Ee.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",Xa,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:Xa=>Ee.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",Xa,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:Xa=>Ee.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",Xa?Ke()(Xa).format("YYYY-MM-DD HH:mm"):"--")}];function Uo(Xa,ho){return Ms(this,null,function*(){const{challenge_id:Ji}=hs[Xa],is=yield ur({type:"shixunHomeworks/changeScore",payload:{categoryId:hn.homeworkId,type:"report",score:ho,challenge_id:Ji}});yield ur({type:"shixunHomeworks/getShixunWorkReport",payload:Pi({},hn)}),is.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function zi(Xa,ho){return(0,Se.U2)(`student_works/${si}/rep_passed_content.json`,{path:ho,game_id:Xa})}const[Xi,us]=(0,Ee.useState)((sa=za==null?void 0:za.shixun_detail)==null?void 0:sa.map(Xa=>ts(Pi({},Xa),{commentEdit:!1}))),uA=Xa=>Xa.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[Vl,vA]=(0,Ee.useState)(!1),Cs=(Xa,ho)=>Ms(void 0,null,function*(){var Ji,is;vA(!0),Ao.current=new Yu.Z(Ue.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:za==null?void 0:za.myshixun_identifier,game_id:Xa==null?void 0:Xa.id,source:"shixun",is_chat:!1,type:9,description:Xa==null?void 0:Xa.challenge_description,query:(is=(Ji=Xa==null?void 0:Xa.game_codes)==null?void 0:Ji[0])==null?void 0:is.content,homework_common_id:hn.categoryId}),yield new Promise((ms,xo)=>{Ao.current.on("data",kA=>{const GA=[...Xi];GA[ho].comment=uA(kA==null?void 0:kA.full),us(GA)}),Ao.current.on("done",()=>Ms(void 0,null,function*(){var kA;vA(!1);const GA=[...Xi],tl=yield(0,Se.ZP)(`/api/student_works/${hn==null?void 0:hn.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:Xa==null?void 0:Xa.challenge_id,comment:GA[ho].comment}});if((tl==null?void 0:tl.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Ki=[...Xi];Ki[ho].comment_updated_at=(kA=tl==null?void 0:tl.data)==null?void 0:kA.comment_updated_at,us(Ki)}})),Ao.current.startStream()})});return Ee.createElement(Ee.Fragment,null,Xi==null?void 0:Xi.map(function(Xa,ho){var Ji,is;return Ee.createElement("div",{key:ho},Ee.createElement("aside",{className:"pl30 pr30",key:ho},Ee.createElement("div",{className:`${Fa.shixunTitle} mt10`},Ee.createElement("div",null,Ee.createElement("span",{className:"fa fa-code "}),Ee.createElement("strong",{className:"c-black"},"\u7B2C",ho+1,"\u5173 ",Ee.createElement(je.Link,{className:"c-black",target:"_blank",to:`/tasks/${hn.coursesId}/${hn.categoryId}/${Xa.game_identifier}`},Xa.subject))),rn?Ee.createElement("span",null,"\u8C03\u5206\uFF1A",Ee.createElement(pi,{className:"game-score",max:hs[ho].game_score_full,defaultValue:hs[ho].game_score,onBlur:ms=>{var xo;if((0,Ge.Rm)()&&!((xo=Nn.AssistantObject.practice)!=null&&xo.can_appraise)){fe.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}Uo(ho,ms)}})):null),Ee.createElement("div",{className:"font16 mt10"},Xa.st===0&&(Xa.path?typeof(Xa==null?void 0:Xa.game_codes_cn)=="string"?Ee.createElement("aside",{className:Fa.shixunWrp},Ee.createElement(Or,{game_codes_cn:Xa==null?void 0:Xa.game_codes_cn,autoHeight:_t,path:Xa.path,game_id:Xa.id,data:Xa.game_codes,diff_code_count:Xa.diff_code_count,onPathChange:zi})):Ee.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"),Xa.st===1&&(Xa.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Ee.createElement("aside",{className:"mt10 font16"},(Ji=Xa.outputs)!=null&&Ji.length?Ee.createElement(te.default,{columns:ma,pagination:{hideOnSinglePage:!0},dataSource:Xa.outputs.map(ms=>Pi(Pi({},Xa),ms))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ee.createElement("aside",{className:"mt10 font16"},((is=Xa==null?void 0:Xa.adjust_review_score_list)==null?void 0:is.length)>0&&(0,Ge.GJ)()&&Ee.createElement("div",null,Ee.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ee.createElement(te.default,{columns:Yr,pagination:{hideOnSinglePage:!0},dataSource:Xa.adjust_review_score_list,showHeader:!1})))))}),Ee.createElement(Ne.default,{open:Wt,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{no({}),mn(!1)},onCancel:()=>{no({}),mn(!1)},title:Ee.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Jn&&jr(!1)},onMouseOut:()=>{jr(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:Xa=>Ee.createElement(de(),{disabled:Jn,bounds:ra,nodeRef:ga,onStart:(ho,Ji)=>Mo(ho,Ji)},Ee.createElement("div",{ref:ga},Xa))},Ee.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ee.createElement("div",{style:{display:"flex",alignItems:"center"}},((wa=ha==null?void 0:ha.data)==null?void 0:wa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ee.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ee.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ee.createElement("div",{style:{color:((na=ha==null?void 0:ha.data)==null?void 0:na.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(_r=ha==null?void 0:ha.data)==null?void 0:_r.output_detail)),Ee.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},Ke()((Aa=ha==null?void 0:ha.data)==null?void 0:Aa.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ta=ha==null?void 0:ha.data)==null?void 0:Ta.ts_time,"s")),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(ko=ha==null?void 0:ha.data)==null?void 0:ko.ts_mem,"mb")),Ee.createElement("div",null,Ee.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ee.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((Fi=ha==null?void 0:ha.data)==null?void 0:Fi.test_set_passed_rate)*100,"%")))),Ee.createElement(st.ZP,{height:500,autoHeight:_t,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ha==null?void 0:ha.content)||""))),options:Ia})))};var xA=(0,je.connect)(({shixunHomeworks:Zt,loading:_t,globalSetting:Nn,classroomList:ur})=>({shixunHomeworks:Zt,globalSetting:Nn,loading:_t.effects,classroomList:ur}))(lA),xi={greyText:"greyText___nOpNq",info:"info___nBB3c",label:"label___P6my8",blackContent:"blackContent___O4HnS",orangeContent:"orangeContent___JBF44",inputLabel:"inputLabel___B2GAs",tableTitle:"tableTitle___IqAxM",scoreTable:"scoreTable___RJvpU"},Qa=Be(59301),Mc=Object.defineProperty,qu=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Qu=(Zt,_t,Nn)=>_t in Zt?Mc(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,Zl=(Zt,_t)=>{for(var Nn in _t||(_t={}))wl.call(_t,Nn)&&Qu(Zt,Nn,_t[Nn]);if(qu)for(var Nn of qu(_t))Dl.call(_t,Nn)&&Qu(Zt,Nn,_t[Nn]);return Zt},Wl=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const Ul=({shixunHomeworks:Zt,dispatch:_t,classroomList:Nn})=>{const{shixunWorkReport:ur}=Zt,sa=(0,je.useParams)(),[wa,na]=(0,Ee.useState)(!1),[_r]=kn.default.useForm(),[Aa,Ta]=Ne.default.useModal(),[ko,Fi]=(0,Ee.useState)(!1),[za,hs]=(0,Ee.useState)(!1);(0,Ee.useEffect)(()=>{var Wt,mn,Jn,jr;Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&_r.setFieldsValue({comment:(mn=(Wt=Zt.actionTabs.selectArrs)==null?void 0:Wt.data)==null?void 0:mn.work_comment,hidden_comment:(jr=(Jn=Zt.actionTabs.selectArrs)==null?void 0:Jn.data)==null?void 0:jr.work_comment_hidden})},[Zt.actionTabs.key]);const si=()=>Wl(void 0,null,function*(){const Wt=_r.getFieldsValue();(yield(0,Se.ZP)(`/api/student_works/${sa.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Wt.hidden_comment,comment:Wt.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),_r.resetFields(),_t({type:"shixunHomeworks/setActionTabs",payload:{}}),_t({type:"shixunHomeworks/getShixunWorkReport",payload:Zl({},sa)}))}),Dn=[{title:"\u5173\u5361",dataIndex:"name",render:(Wt,mn,Jn)=>Jn+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Wt,mn,Jn)=>Qa.createElement("div",null,Wt,mn.complete_status===4&&Qa.createElement(Ze.vA,{status:mn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:Wt=>Wt?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(Wt,mn)=>Qa.createElement("div",null,Qa.createElement("span",{style:{color:parseFloat(mn.game_score_full)!==parseFloat(Wt)?"#E30000":"#53C41B"}},Wt),"/",mn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(Wt,mn)=>(0,Ge.GJ)()?Qa.createElement(pi,{max:mn.game_score_full,defaultValue:parseFloat(Wt),onBlur:Jn=>Wl(void 0,null,function*(){var jr,ra;if((0,Ge.Rm)()&&!((jr=Nn.AssistantObject.practice)!=null&&jr.can_appraise)){fe.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 er=yield _t({type:"shixunHomeworks/changeScore",payload:{categoryId:sa.homeworkId,type:"report",score:Jn,challenge_id:mn.challenge_id}});(ra=Zt==null?void 0:Zt.actionTabs)==null||ra.fn(),yield _t({type:"shixunHomeworks/getShixunWorkReport",payload:Zl({},sa)}),er.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Wt}];return Qa.createElement(Qa.Fragment,null,Ta,Qa.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Wl(void 0,null,function*(){var Wt;if((0,Ge.Rm)()&&!((Wt=Nn.AssistantObject.practice)!=null&&Wt.can_appraise)){fe.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 mn=_r.getFieldsValue();JSON.stringify(mn)==="{}"||mn.hidden_comment===""&&mn.comment===""?na(!0):si()}),onCancel:()=>{_t({type:"shixunHomeworks/setActionTabs",payload:{}})}},Qa.createElement(ee.Z,{justify:"space-between",className:xi.info},Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u59D3\u540D"),Qa.createElement("span",{className:xi.blackContent},ur==null?void 0:ur.username)),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5B66\u53F7"),Qa.createElement("span",{className:xi.blackContent},(ur==null?void 0:ur.student_id)||"--")),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u73ED\u7EA7"),Qa.createElement("span",{className:xi.blackContent},(ur==null?void 0:ur.group_name)||"--")),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5173\u5361\u5F97\u5206"),Qa.createElement("span",{className:xi.orangeContent},(ur==null?void 0:ur.challenge_score)||"--")),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6548\u7387\u5206"),Qa.createElement("span",{className:xi.orangeContent},(ur==null?void 0:ur.eff_score)||"--")),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u8865\u4EA4\u6263\u5206"),Qa.createElement("span",{className:xi.orangeContent},(ur==null?void 0:ur.late_penalty)||"--")),Qa.createElement(E.Z,null,Qa.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Qa.createElement("span",{className:xi.orangeContent},(ur==null?void 0:ur.work_score)||"--"))),Qa.createElement(kn.default,{form:_r,onChange:()=>{wa&&na(!1)}},Qa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Qa.createElement(E.Z,null,Qa.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qa.createElement(E.Z,null,Qa.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:ko,onCancel:()=>{Fi(!1)}},onDataSelect:(Wt,mn)=>Wl(void 0,[Wt,mn],function*(Jn,{node:jr}){const ra=()=>{_r.setFieldsValue({comment:jr==null?void 0:jr.value}),Fi(!1)};if(_r.getFieldValue("comment")){Aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ra});return}ra()})},Qa.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Qa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Wt=>{Fi(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qa.createElement(kn.default.Item,{name:"comment"},Qa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Qa.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Qa.createElement(E.Z,null,Qa.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qa.createElement(E.Z,null,Qa.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:za,onCancel:()=>{hs(!1)}},onDataSelect:(Wt,mn)=>Wl(void 0,[Wt,mn],function*(Jn,{node:jr}){const ra=()=>{_r.setFieldsValue({hidden_comment:jr==null?void 0:jr.value}),hs(!1)};if(_r.getFieldValue("hidden_comment")){Aa.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:ra});return}ra()})},Qa.createElement(Ce.ZP,{style:{padding:0,height:"auto"},icon:Qa.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Wt=>{hs(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qa.createElement(kn.default.Item,{name:"hidden_comment"},Qa.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),wa&&Qa.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Qa.createElement("div",{className:xi.tableTitle},"\u5173\u5361\u6210\u7EE9"),Qa.createElement(te.default,{className:xi.scoreTable,dataSource:ur.stage_list,rowKey:"challenge_id",pagination:!1,columns:Dn,scroll:{x:"max-content"}})))};var ul=(0,je.connect)(({shixunHomeworks:Zt,classroomList:_t})=>({shixunHomeworks:Zt,classroomList:_t}))(Ul),bu=Be(52217),pA={wrap:"wrap___LZOi9",line:"line___oju0L"},Ol=({detailData:Zt})=>{var _t;return Ee.createElement("div",{className:pA.wrap},Ee.createElement(Rr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,Rr.Uf)(Zt),(Zt==null?void 0:Zt.photos)||[]],title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",noDataText:"\u8BE5\u5B66\u751F\u65E0\u5B66\u4E60\u884C\u4E3A\u5206\u6790\u6570\u636E"},Ee.createElement(Rr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,Rr.Uf)(Zt)}),!!((_t=Zt==null?void 0:Zt.photos)!=null&&_t.length)&&Ee.createElement(Ee.Fragment,null,Ee.createElement("div",{className:pA.line}),Ee.createElement(Rr._s,{dataSource:Zt==null?void 0:Zt.photos,right:21,col:4,wrapWidth:1140}))))},dn=Be(59301),Eu=Object.defineProperty,yA=Object.defineProperties,lu=Object.getOwnPropertyDescriptors,Vs=Object.getOwnPropertySymbols,uu=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,_l=(Zt,_t,Nn)=>_t in Zt?Eu(Zt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Nn}):Zt[_t]=Nn,Xs=(Zt,_t)=>{for(var Nn in _t||(_t={}))uu.call(_t,Nn)&&_l(Zt,Nn,_t[Nn]);if(Vs)for(var Nn of Vs(_t))Cu.call(_t,Nn)&&_l(Zt,Nn,_t[Nn]);return Zt},Js=(Zt,_t)=>yA(Zt,lu(_t)),Bc=(Zt,_t)=>{var Nn={};for(var ur in Zt)uu.call(Zt,ur)&&_t.indexOf(ur)<0&&(Nn[ur]=Zt[ur]);if(Zt!=null&&Vs)for(var ur of Vs(Zt))_t.indexOf(ur)<0&&Cu.call(Zt,ur)&&(Nn[ur]=Zt[ur]);return Nn},fs=(Zt,_t,Nn)=>new Promise((ur,sa)=>{var wa=Aa=>{try{_r(Nn.next(Aa))}catch(Ta){sa(Ta)}},na=Aa=>{try{_r(Nn.throw(Aa))}catch(Ta){sa(Ta)}},_r=Aa=>Aa.done?ur(Aa.value):Promise.resolve(Aa.value).then(wa,na);_r((Nn=Nn.apply(Zt,_t)).next())});const $u=Zt=>{var _t=Zt,{shixunHomeworks:Nn,classroomList:ur,globalSetting:sa,loading:wa,user:na,dispatch:_r}=_t,Aa=Bc(_t,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ta,ko,Fi;const[za,hs]=(0,Ee.useState)(Xs({},(0,je.useParams)())),si=(0,je.useParams)(),[Dn,Wt]=(0,Ee.useState)({page:1,page_size:10}),mn=(0,je.useLocation)(),[]=(0,Ee.useState)([]),[Jn,jr]=(0,Ee.useState)(),ra=(0,Ee.useRef)(),er=(0,Ee.useRef)(),[ga,ha]=(0,Ee.useState)(!1),[no,La]=(0,Ee.useState)(!0),[Kr,Ao]=(0,Ee.useState)(!1),[Mo,hn]=(0,Ee.useState)(!1),{shixunWorkReport:rn}=Nn,[Ia,ma]=(0,Ee.useState)(),[Yr,Uo]=(0,Ee.useState)([]),[zi,Xi]=(0,Ee.useState)(),[us,uA]=(0,Ee.useState)("all"),Vl=(0,Ge.GJ)(),[vA,Cs]=(0,Ee.useState)(new(ve())),[Xa,ho]=(0,Ee.useState)(0),[Ji,is]=(0,Ee.useState)(!1),[ms,xo]=(0,Ee.useState)(!1),[kA,GA]=(0,Ee.useState)(!1),[tl,Ki]=(0,Ee.useState)(""),[FA,Xl]=(0,Ee.useState)(!1),[zc,_s]=(0,Ee.useState)(!0),[yl,Ps]=(0,Ee.useState)(0),Yi=(0,Ee.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),Ys=(0,Ee.useRef)(),ec=()=>fs(void 0,null,function*(){(na.userInfo.is_teacher||na.userInfo.admin)&&(Xl(!0),_s(!1))});(0,Ee.useEffect)(()=>{var mr;(0,Ge.Rm)()&&ur.AssistantObject.practice&&!((mr=ur.AssistantObject.practice)!=null&&mr.can_view)&&je.history.replace("/403")},[(Ta=ur.AssistantObject.practice)==null?void 0:Ta.can_view]),(0,Ee.useEffect)(()=>{ec(),console.log("\u6253\u5370\u7684------",rn),Ys.current=rn==null?void 0:rn.next_student_work_id,Ki(rn.repeat_minus_score)},[rn,na]),(0,Ee.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",rn.work_score),Ps(rn.work_score)},[rn.work_score,tl]),(0,Ee.useEffect)(()=>(_r({type:"globalSetting/footerToggle",payload:!1}),()=>{_r({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ee.useEffect)(()=>{var mr;if(rn){let mo=[];(mr=rn==null?void 0:rn.target_test_sets)==null||mr.map((ti,BA)=>{var bA;(bA=ti==null?void 0:ti.targets)==null||bA.map((Qs,$l)=>{var cu;Qs.name=ti==null?void 0:ti.name,Qs.total_target_score=ti==null?void 0:ti.total_target_score,Qs.actual_target_score=ti==null?void 0:ti.actual_target_score,Qs.rowSpan=$l===0?(cu=ti==null?void 0:ti.targets)==null?void 0:cu.length:0,Qs.order=BA+1,mo.push(Qs)})}),ma(mo),(0,Ge.Rm)()&&_r({type:"classroomList/getAssistantPermissions",payload:{course_id:za.coursesId}})}},[rn]),(0,Ee.useEffect)(()=>{Nn.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(rn==null?void 0:rn.students_count)>0&&!no&&setTimeout(()=>{ql("all")},800)},[rn==null?void 0:rn.homework_common_id,no]),(0,Ee.useEffect)(()=>{hs(Xs({},si))},[mn.pathname]);const Kc=()=>{document.body.scrollIntoView()},qs=mr=>{Dn.page=mr,Wt(Xs({},Dn)),Jl(Dn,us)},Jl=(mr,mo)=>fs(void 0,null,function*(){Ao(!0);const ti=yield(0,Se.ZP)(`/api/student_works/${za==null?void 0:za.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Js(Xs({},mr),{challenge_id:mo=="all"?null:mo})});(ti==null?void 0:ti.status)===0&&(Uo(ti==null?void 0:ti.list),Xi(ti==null?void 0:ti.count)),Ao(!1)});function cA(){return fs(this,null,function*(){Yi.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Yl=()=>{document.querySelectorAll("canvas").forEach(mr=>{(!mr.clientWidth||!mr.clientHeight)&&mr.remove()})},xs=()=>{ra.current.offsetHeight>62e3?hn(!1):hn(!0)},Tu=mr=>fs(void 0,null,function*(){const mo=yield(0,dr.t1)({homeworkId:mr||za.homeworkId});jr(mo==null?void 0:mo.data)}),ql=mr=>fs(void 0,null,function*(){var mo,ti,BA,bA;let Qs=0,$l;$l=Ne.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"},Qs+1),"/",mr!=="all"?1:rn==null?void 0:rn.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Fa.modal,onOk:()=>{}});const cu={margin:[0,0],filename:`${rn!=null&&rn.student_id&&(rn==null?void 0:rn.student_id)!="--"?rn==null?void 0:rn.student_id:""}${rn.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},du=vA.folder(rn==null?void 0:rn.shixun_name);function _i(qo){return fs(this,null,function*(){yield Tu(qo||Ys.current);const zo=yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:Xs({homeworkId:qo||Ys.current},Yi.current||{})});Ys.current=zo==null?void 0:zo.next_student_work_id,Kc(),Qs++,setTimeout(()=>fs(this,null,function*(){var Fs,dA,zs,$s;Yl();const Ql=du.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}`),Ks=document.querySelector("#export-all").children;let LA=ta()();for(let eA=0;eAfs(this,null,function*(){eA0&&((zs=(dA=zo==null?void 0:zo.shixun_detail)==null?void 0:dA.filter(eA=>{var IA;return((IA=eA==null?void 0:eA.game_codes)==null?void 0:IA.length)>0}))==null?void 0:zs.length)>0){const eA=Ql.folder("\u4EE3\u7801\u6587\u4EF6");($s=zo==null?void 0:zo.shixun_detail)==null||$s.map((IA,ks)=>{var Fu,El;if(((Fu=IA==null?void 0:IA.game_codes)==null?void 0:Fu.length)>0){const Lu=eA.folder(`\u7B2C${ks+1}\u5173-${IA.subject}-${IA.id}`);(El=IA==null?void 0:IA.game_codes)==null||El.map(fd=>{Lu.file(`${fd.filename}.txt`,fd==null?void 0:fd.content)})}})}$l.update({content:dn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",dn.createElement("span",{className:"c-blue"},Qs),"/",zo==null?void 0:zo.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Qs==(zo==null?void 0:zo.students_count)?($l.destroy(),Pu()):_i()}),2200)})}if(mr!=="all"||(rn==null?void 0:rn.students_count)<2){Yl(),Kc();const qo=er.current.children;let zo=ta()();const dA=du.folder(`${rn==null?void 0:rn.group_name}`).folder(`${rn!=null&&rn.student_id&&(rn==null?void 0:rn.student_id)!="--"?(rn==null?void 0:rn.student_id)+"+":""}${rn==null?void 0:rn.username}`);for(let zs=0;zsfs(void 0,null,function*(){zs0&&((BA=(ti=rn==null?void 0:rn.shixun_detail)==null?void 0:ti.filter(zs=>{var $s;return(($s=zs==null?void 0:zs.game_codes)==null?void 0:$s.length)>0}))==null?void 0:BA.length)>0){const zs=dA.folder("\u4EE3\u7801\u6587\u4EF6");(bA=rn==null?void 0:rn.shixun_detail)==null||bA.map(($s,bl)=>{var Ql,Ks;if(((Ql=$s==null?void 0:$s.game_codes)==null?void 0:Ql.length)>0){const LA=zs.folder(`\u7B2C${bl+1}\u5173-${$s.subject}-${$s.id}`);(Ks=$s==null?void 0:$s.game_codes)==null||Ks.map(eA=>{LA.file(`${eA.filename}.txt`,eA==null?void 0:eA.content)})}})}$l.destroy(),Pu();return}else _i(rn==null?void 0:rn.first_student_work_id)}),Pu=()=>{vA.generateAsync({type:"blob"}).then(function(mr){console.log(rn,"shixunWorkReport");const mo=document.createElement("a");mo.href=window.URL.createObjectURL(mr),mo.download=(rn==null?void 0:rn.shixun_name)+".zip",document.body.appendChild(mo);const ti=document.createEvent("MouseEvents");ti.initEvent("click",!1,!1),mo.dispatchEvent(ti),document.body.removeChild(mo),Cs(new(ve()))}),hn(!1)};(0,Ee.useEffect)(()=>{Gc()},[za.homeworkId]);const Gc=()=>fs(void 0,null,function*(){La(!0),yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:Xs(Xs({},za),Yi.current||{})}),Tu(),(0,Ge.GJ)()&&cA(),La(!1)}),xu=[{title:"\u5173\u5361",dataIndex:"name",render:(mr,mo,ti)=>ti+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(mr,mo,ti)=>dn.createElement("div",null,mr,mo.complete_status===4&&dn.createElement(Ze.vA,{status:mo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(mr,mo,ti)=>mr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:mr=>mr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(mr,mo)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(mo.myself_experience)!==parseFloat(mr)?"red":"green"}},mo.myself_experience),"/",mr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(mr,mo)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(mo.game_score_full)!==parseFloat(mr)?"red":"green"}},mr),"/",mo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(mr,mo)=>Vl?dn.createElement(pi,{max:mo.game_score_full,defaultValue:parseFloat(mr),onBlur:ti=>fs(void 0,null,function*(){var BA;if((0,Ge.Rm)()&&!((BA=ur.AssistantObject.practice)!=null&&BA.can_appraise)){fe.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 bA=yield _r({type:"shixunHomeworks/changeScore",payload:{categoryId:za.homeworkId,type:"report",score:ti,challenge_id:mo.challenge_id}});Jl({page:1,page_size:10},"all"),yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:Xs(Xs({},za),Yi.current||{})}),bA.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):mr}];let Sc=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(mr,mo,ti)=>({children:mr,props:{rowSpan:mo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(mr,mo,ti)=>({children:mr,props:{rowSpan:mo.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:(mr,mo,ti)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(mo.actual_test_score)!==parseFloat(mr)?"red":"green"}},mo.actual_test_score),"/",mr)},{title:"\u6307\u6807\u603B\u5206",render:(mr,mo,ti)=>({children:dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(mo.actual_target_score)!==parseFloat(mr)?"red":"green"}},mo.actual_target_score),"/",mr),props:{rowSpan:mo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const nl=[{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:mr=>dn.createElement("span",null,mr?Ke()(mr).format("YYYY-MM-DD HH:mm"):"--")}],tc=mr=>{_r({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{mr==="next"?je.history.push(`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/${rn==null?void 0:rn.next_student_work_id}/comment`):je.history.push(`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/${rn==null?void 0:rn.pre_student_work_id}/comment`)},200)},Mr=mr=>{Ki(""),mr.target.value&&(console.log("\u8FDB\u6765",rn),mr.target.value=mr.target.value>rn.repeat_setting_score?rn.repeat_setting_score:mr.target.value,Ki(mr.target.value))},co=()=>fs(void 0,null,function*(){const mr=yield(0,Se.ZP)(`/api/student_works/${rn==null?void 0:rn.work_id}/update_repeat_score`,{method:"put",body:{score:tl}});yield _r({type:"shixunHomeworks/getShixunWorkReport",payload:Xs(Xs({},za),Yi.current||{})}),mr.status===0&&fe.ZP.info("\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(De.Z,{loading:wa["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},dn.createElement("div",{className:"edu-container"},rn.course_id&&dn.createElement("section",{className:"animated fadeIn"},dn.createElement("aside",{className:""},rn.category&&dn.createElement(xe.Z,{separator:">"},dn.createElement(xe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${rn.course_id}/shixun_homework`},rn.course_name)),dn.createElement(xe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${rn.course_id}/shixun_homework/${rn.category.main?"":rn.category.category_id}`},rn.category.category_name)),dn.createElement(xe.Z.Item,null,dn.createElement(je.Link,{to:`/classrooms/${rn.course_id}/shixun_homework/${rn.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),dn.createElement(xe.Z.Item,null,rn.username))),dn.createElement("aside",{className:[Fa.title1,"mt20"].join(" ")},dn.createElement(ee.Z,{align:"middle"},dn.createElement(E.Z,{flex:1},dn.createElement(je.Link,{to:`/classrooms/${rn.course_id}/shixun_homework/${rn.homework_common_id}/detail`},dn.createElement(Tr.Z,{className:"font16 c-black"})),dn.createElement("strong",{className:"font20 ml5"},rn==null?void 0:rn.homework_name),dn.createElement(Ze.VV,{temporary:!0,status:rn.homework_status})),dn.createElement(E.Z,{className:Fa.title1_right},rn.view_tpi&&dn.createElement(Ce.ZP,{onClick:()=>{var mr,mo;(0,Ze.xg)(`/tasks/${rn==null?void 0:rn.course_id}/${rn==null?void 0:rn.homework_common_id}/${(mo=(mr=rn==null?void 0:rn.shixun_detail)==null?void 0:mr[0])==null?void 0:mo.game_identifier}`)}},dn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ge.GJ)()&&rn.homework_end===!1&&!!rn.myshixun_id&&dn.createElement(Ce.ZP,{className:"ml10",onClick:()=>fs(void 0,null,function*(){yield _r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:rn.myshixun_identifier},homework_common_id:si.categoryId}})})},dn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),dn.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var mr;if((0,Ge.Rm)()&&!((mr=ur.AssistantObject.practice)!=null&&mr.can_download)){fe.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}ql("")},loading:ga},dn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(rn==null?void 0:rn.students_count)>1&&dn.createElement(Ce.ZP,{className:"ml10",onClick:()=>{var mr;if((0,Ge.Rm)()&&!((mr=ur.AssistantObject.practice)!=null&&mr.can_download)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ne.default.confirm({title:"\u9009\u62E9\u5BFC\u51FA\u65B9\u5F0F",closable:!0,icon:null,centered:!0,okText: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:()=>{ql("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Hr.jj)({categoryId:za.categoryId,coursesId:za.coursesId},"shixun_report")}}})}},dn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\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:ra},dn.createElement("div",{id:"export-all",ref:er},dn.createElement("div",{id:"export-all-1"},dn.createElement("div",{className:Fa.title},dn.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),dn.createElement("div",null,(0,Ge.GJ)()&&dn.createElement(Ce.ZP,{className:"mr20",type:"primary",onClick:()=>{_r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rn.user_id,data:Xs({},rn)},fn:()=>Jl({page:1,page_size:10},"all")}})}},dn.createElement(ge.Z,null),rn.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),dn.createElement(a.Z,{style:{marginTop:0}}),dn.createElement(ee.Z,{className:"pl30 pr30"},dn.createElement(E.Z,null,dn.createElement("img",{className:Fa.userPic,src:`${Ue.Z.IMG_SERVER}/images/${rn.image_url}`,alt:rn.username})),dn.createElement(E.Z,null,dn.createElement("span",{className:"font16 ml40"},rn.username),dn.createElement(Ze.vA,{status:rn.compelete_status}),dn.createElement("ul",{className:Fa.userInfo},dn.createElement("li",null,"\u5B66\u53F7\uFF1A",rn.student_id||"--"),dn.createElement("li",null,"\u5206\u73ED\uFF1A",rn.group_name||"--"),dn.createElement("br",null),dn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",dn.createElement("span",{className:"c-red"},rn.complete_count),"/",dn.createElement("span",{className:"c-red"},rn.challenges_count)),dn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",dn.createElement("span",{className:"c-red"},rn.current_complete_count||"-"),"/",dn.createElement("span",{className:"c-red"},rn.challenges_count)),dn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",rn&&rn.efficiency===null?"--":rn&&rn.efficiency),dn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",rn&&rn.max_efficiency===null?"--":rn&&rn.max_efficiency))),dn.createElement("ul",{className:[Fa.listItem,"mt10"].join(" ")},dn.createElement("li",null,dn.createElement("strong",null,"\u901A\u5173\u65F6\u95F4"),dn.createElement("div",{className:"c-light-black mt20"},rn&&rn.passed_time===null||rn&&rn.passed_time==="--"?"--":Ke()(rn&&rn.passed_time).format("YYYY-MM-DD HH:mm"))),dn.createElement("li",null,dn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",dn.createElement("i",{onClick:mr=>{mr.stopPropagation(),mr.preventDefault(),is(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},rn==null?void 0:rn.human_training_time_rules)),dn.createElement("li",null,dn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",dn.createElement("i",{onClick:mr=>{mr.stopPropagation(),mr.preventDefault(),xo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},rn.time_consuming)),dn.createElement("li",null,dn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),dn.createElement("div",{className:"mt20"},rn.evaluate_count)),(rn==null?void 0:rn.eff_score_full)&&dn.createElement(dn.Fragment,null,dn.createElement("li",null,dn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},rn.challenge_score),"/",dn.createElement("span",{className:"c-light-black"},rn.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"},rn.eff_score),"/",dn.createElement("span",{className:"c-light-black"},rn.eff_score_full)))),(rn==null?void 0:rn.have_repeat)&&(rn==null?void 0:rn.repeat_minus_score)!==0&&dn.createElement("li",{style:{position:"relative"}},dn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},dn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),dn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},rn!=null&&rn.review_rate?dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(rn!=null&&rn.review_id&&FA)localStorage.setItem("studentDetial",window.location.pathname),je.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${za.categoryId}/review_detail/${rn==null?void 0:rn.review_id}`});else return}},rn.review_rate.toFixed(1),"%"):dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),FA?dn.createElement("div",{className:"mt20"},dn.createElement(y.default,{style:{width:"45px",height:"22px"},value:tl,onChange:mr=>{Mr(mr)},onBlur:co,disabled:zc})," / ",rn==null?void 0:rn.repeat_setting_score):dn.createElement("div",{className:"mt20"},rn==null?void 0:rn.repeat_minus_score," / ",rn==null?void 0:rn.repeat_setting_score)),console.log("sssssssssssssssssssssss",rn==null?void 0:rn.have_repeat,rn==null?void 0:rn.repeat_minus_score),(rn==null?void 0:rn.have_repeat)&&(rn==null?void 0:rn.repeat_minus_score)===0&&dn.createElement("li",null,dn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),dn.createElement("div",{className:"mt20"}," - -")),!(rn!=null&&rn.have_repeat)&&dn.createElement("li",null,dn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),dn.createElement("div",{className:"mt20"}," - -")),dn.createElement("li",null,dn.createElement("strong",null,"\u8865\u4EA4\u6263\u5206"),dn.createElement("div",{className:"mt20"},dn.createElement("span",null,rn.late_penalty||"- -"))),dn.createElement("li",null,dn.createElement("strong",null,"\u6700\u7EC8\u6210\u7EE9"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},yl),"/",dn.createElement("span",{className:"c-light-black"},rn.all_work_score))),dn.createElement("li",null,dn.createElement("strong",null,"\u603B\u8BC4"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},rn.overall_appraisal))))),dn.createElement(a.Z,{style:{margin:0}}),(rn.work_comment_hidden||rn.work_comment)&&dn.createElement("div",null,dn.createElement(ee.Z,{align:"middle"},dn.createElement(E.Z,{flex:1},dn.createElement("h1",{className:Fa.title},"\u70B9\u8BC4\u5185\u5BB9")),dn.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&dn.createElement(Ce.ZP,{onClick:()=>fs(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:dn.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return fs(this,null,function*(){(yield(0,dr.gZ)({comment_id:rn.comment_id,homeworkId:za.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),_r({type:"shixunHomeworks/getShixunWorkReport",payload:Xs(Xs({},za),Yi.current||{})}))})}})})},dn.createElement(Pe.Z,null),"\u5220\u9664"))),dn.createElement(a.Z,{style:{margin:0}}),rn.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(sr.Z,{value:rn.work_comment})),rn.work_comment_hidden&&dn.createElement("aside",{className:"pl30 pr30 mt20"},dn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),dn.createElement("br",null),dn.createElement(sr.Z,{value:rn.work_comment_hidden}))),(rn==null?void 0:rn.action_analysis)&&dn.createElement(Ol,{detailData:rn}),dn.createElement("div",{className:Fa.score},dn.createElement("h1",{className:Fa.title},"\u9636\u6BB5\u6210\u7EE9"),(rn==null?void 0:rn.adjust_review_score_count)>0&&(0,Ge.GJ)()&&dn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{GA(!0),Jl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",rn==null?void 0:rn.adjust_review_score_count,"\u6B21\uFF09")),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(te.default,{dataSource:rn.stage_list,rowKey:mr=>mr==null?void 0:mr.challenge_id,pagination:!1,columns:xu})),((ko=rn==null?void 0:rn.target_test_sets)==null?void 0:ko.length)>0&&dn.createElement("div",null,dn.createElement("h1",{className:Fa.title},"\u6307\u6807\u6210\u7EE9"),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(te.default,{dataSource:Ia,rowKey:mr=>mr==null?void 0:mr.challenge_id,pagination:!1,bordered:!0,columns:Sc}))),(rn==null?void 0:rn.work_description)&&dn.createElement(dn.Fragment,null,dn.createElement("h1",{className:Fa.title},"\u4E2A\u4EBA\u603B\u7ED3"),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(sr.Z,{value:rn==null?void 0:rn.work_description}))),dn.createElement("h1",{className:Fa.title},"\u56FE\u5F62\u7EDF\u8BA1"),dn.createElement(jo,{data:Jn}),dn.createElement("h1",{className:Fa.title},"\u5B9E\u8BAD\u8BE6\u60C5")),dn.createElement(xA,{autoHeight:Mo}))),(0,Ge.GJ)()&&dn.createElement("aside",{className:`${Fa.footerBar} ${ga?Fa.footerBarStatic:""}`},dn.createElement("aside",{className:"edu-container"},dn.createElement(ee.Z,{align:"middle"},dn.createElement(E.Z,{flex:"1"},dn.createElement(je.Link,{className:Fa.exitComment,to:`/classrooms/${za.coursesId}/shixun_homework/${za.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),dn.createElement(E.Z,{flex:"1",className:"tr"},dn.createElement(Ce.ZP,{type:"default",disabled:!(rn!=null&&rn.pre_student_work_id),onClick:()=>tc()},"\u4E0A\u4E00\u4E2A"),dn.createElement(Ce.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(rn!=null&&rn.next_student_work_id),onClick:()=>tc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&dn.createElement(Ce.ZP,{type:"primary",onClick:()=>fs(void 0,null,function*(){_r({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:rn.user_id,data:Xs({},rn)},fn:()=>Jl({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),dn.createElement(ul,null),dn.createElement(bu.Z,null),dn.createElement(Ne.default,{open:Ji,width:860,centered:!0,onCancel:()=>{is(!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\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(Ne.default,{open:ms,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{xo(!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"}},"\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(Ne.default,{open:kA,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{uA("all"),GA(!1)},destroyOnClose:!0,width:900},dn.createElement("div",{style:{fontWeight:400,color:"#333333"}},dn.createElement("div",null,dn.createElement("span",null,"\u5173\u5361\uFF1A"),dn.createElement(ne.default,{style:{width:300},value:us,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:mr=>fs(void 0,null,function*(){uA(mr),Jl({page:1,page_size:10},mr)})},dn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(Fi=rn==null?void 0:rn.stage_list)==null?void 0:Fi.map((mr,mo)=>dn.createElement(ne.default.Option,{key:mo,value:mr==null?void 0:mr.challenge_id},"\u7B2C",(0,Ze.EM)(mo+1),"\u5173")))),dn.createElement("div",{className:"mt20"},dn.createElement(te.default,{dataSource:Yr,rowKey:mr=>mr==null?void 0:mr.id,pagination:!1,columns:nl,loading:Kr})),dn.createElement("div",{className:Fa.footer},dn.createElement("div",null,dn.createElement("span",{style:{color:"#656F87"}},"\u5171",dn.createElement("span",{className:"c-light-primary"},zi),"\u6761\u6570\u636E")),dn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(Dn==null?void 0:Dn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:zi,onChange:qs})))))};var ku=(0,je.connect)(({shixunHomeworks:Zt,classroomList:_t,loading:Nn,globalSetting:ur,user:sa})=>({shixunHomeworks:Zt,classroomList:_t,globalSetting:ur,loading:Nn.effects,user:sa}))($u);const Da=({globalSetting:Zt})=>{var _t;switch(Number((_t=Zt==null?void 0:Zt.setting)==null?void 0:_t.theme)){case le.Fy.THEMEONE:return Ee.createElement(ua,null);case le.Fy.DEFAULT:default:return Ee.createElement(ku,null)}};var da=(0,je.connect)(({globalSetting:Zt})=>({globalSetting:Zt}))(Da)},10669:function(Xt,It,Be){"use strict";var le=Be(43418),Ee=Be(8591),je=Be(38147),rt=Be(65582),Ke=Be(41867),He=Be(59301),ve=(Ne,fe,De)=>new Promise((xe,Ce)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ce(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ce(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,fe)).next())});const Se=({shixunHomeworks:Ne,classroomList:fe,dispatch:De})=>{const xe=(0,rt.useParams)();return He.createElement(le.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ve(void 0,null,function*(){var Ce,ie,y,a;if((0,Ke.Rm)()&&!((Ce=fe.AssistantObject.practice)!=null&&Ce.can_redo)){Ee.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 ee=yield(0,je.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:xe.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(ee.shixun_identifier){Ee.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const E=(y=(ie=ee==null?void 0:ee.new_works)==null?void 0:ie.find(te=>`${te.homework_common_id}`===xe.categoryId))==null?void 0:y.id;if((0,Ke.Rm)()&&!((a=fe.AssistantObject.practice)!=null&&a.can_view))return;rt.history.replace(`/classrooms/${xe.coursesId}/shixun_homework/${xe.categoryId}/${E}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},He.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),He.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};It.Z=(0,rt.connect)(({shixunHomeworks:Ne,classroomList:fe})=>({shixunHomeworks:Ne,classroomList:fe}))(Se)},84454:function(Xt,It,Be){"use strict";Be.d(It,{AD:function(){return Nt},BA:function(){return gn},D9:function(){return At},Hp:function(){return Le},IM:function(){return zt},Iy:function(){return Pe},KM:function(){return Je},KU:function(){return yn},MJ:function(){return Ue},Ne:function(){return tt},ON:function(){return ln},Uj:function(){return Un},VY:function(){return Kt},YO:function(){return Bt},YX:function(){return Wn},Zn:function(){return y},_g:function(){return ne},_k:function(){return ct},c6:function(){return vt},cr:function(){return a},eV:function(){return _e},fi:function(){return ee},gh:function(){return nt},hS:function(){return Rt},iA:function(){return E},j6:function(){return ae},je:function(){return bt},jj:function(){return ge},kS:function(){return Hn},o6:function(){return ke},pO:function(){return ar},rQ:function(){return st},sA:function(){return Ze},xm:function(){return pt},xo:function(){return ft},y8:function(){return ot},yd:function(){return te}});var le=Be(33270),Ee=Be(65582),je=Be(65862),rt=Be(8591),Ke=Be(74128),He=Object.defineProperty,ve=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,fe=(Fe,he,de)=>he in Fe?He(Fe,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):Fe[he]=de,De=(Fe,he)=>{for(var de in he||(he={}))Se.call(he,de)&&fe(Fe,de,he[de]);if(ve)for(var de of ve(he))Ne.call(he,de)&&fe(Fe,de,he[de]);return Fe},xe=(Fe,he,de)=>new Promise((ye,qe)=>{var dt=Ct=>{try{Xe(de.next(Ct))}catch(gt){qe(gt)}},Re=Ct=>{try{Xe(de.throw(Ct))}catch(gt){qe(gt)}},Xe=Ct=>Ct.done?ye(Ct.value):Promise.resolve(Ct.value).then(dt,Re);Xe((de=de.apply(Fe,he)).next())});const Ce=()=>{(0,Ee.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,Ee.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Fe=>xe(void 0,null,function*(){Ce(),(yield(0,le.YR)(De({},Fe))).status===0&&(yield(0,je.QH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_couser_info.json`,query:Fe}))),ie()}),a=Fe=>xe(void 0,null,function*(){const he=yield(0,le.yS)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`);else{if(he.status===-2)return he;he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`))}}),ee=Fe=>xe(void 0,null,function*(){const he=yield(0,le.W0)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`);else{if(he.status===-4)return he;he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`))}}),E=Fe=>xe(void 0,null,function*(){const he=yield(0,le.Nl)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-4)return he;he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Fe=>xe(void 0,null,function*(){const he=yield(0,le.IU)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`);else{if(he.status===-4)return he;he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`))}}),ne=Fe=>xe(void 0,null,function*(){const he=yield(0,le.td)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-2)return he;if(he.status===-3)(0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else if(he.status===-4)return he}}),ae=Fe=>xe(void 0,null,function*(){const he=yield(0,le.QX)(De({},Fe));if(he.status===0)rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`);else{if(he.status===-4)return he;he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`))}}),ge=(Fe,he)=>xe(void 0,null,function*(){const de=yield(0,le.o_)(De({},Fe));de.status===0?(rt.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"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`))}),Le=(Fe,he)=>xe(void 0,null,function*(){const de=yield(0,le.ZL)(De({},Fe));de.status===0?(rt.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"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`))}),Pe=(Fe,he)=>xe(void 0,null,function*(){const de=yield(0,le.aP)(De({},Fe));de.status===0?(rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`))}),Ue=(Fe,he)=>xe(void 0,null,function*(){const de=yield(0,le.vV)(De({},Fe));de.status===0?(rt.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"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`))}),Ge=Fe=>xe(void 0,null,function*(){Ce(),(yield exportCourseWorkListAppendix(De({},Fe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Fe.categoryId}/works_list.zip`,query:Fe}))),ie()}),Ze=Fe=>xe(void 0,null,function*(){Ce(),yield(0,je.QH)("",Ke.Z.API_SERVER+`/api/polls/${Fe.categoryId}/commit_result.xlsx`),ie()}),nt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Fe}))}),ke=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe.coursesId}/video_study_statics.xlsx`,query:Fe}))}),vt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_video_study.xlsx`,query:Fe}))}),_e=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_course_students_info.xlsx`,query:Fe}))}),Nt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Fe}))}),st=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Fe}))}),ot=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Fe}))}),bt=Fe=>xe(void 0,null,function*(){const he=yield(0,le.Uy)(De({},Fe));he.status===0?(rt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`)):he.status===-3&&((0,Ee.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ee.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),ct=Fe=>xe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/export_records/${Fe.id}.xlsx`,query:Fe}))}),pt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Fe}))}),At=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/${Fe.menuKey}_statistic.xlsx?${Fe.checkedList.map(he=>`course_group_id[]=${he}`).join("&")}`,query:Fe}))}),tt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_training_objectives.xlsx`,query:Fe}))}),zt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)(Fe==null?void 0:Fe.name,(0,je.NY)({url:Ke.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Fe}))}),Rt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_courses.xlsx`,query:Fe}))}),ft=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Fe}))}),Kt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Fe}))}),yn=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/exercises/${Fe.categoryId}/rank_list.xlsx`,query:Fe}))}),Hn=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Fe}))}),ln=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/examination_banks/${Fe.id}.json`,query:Fe}))}),Wn=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/exercises/${Fe.categoryId}.json`,query:Fe}))}),Bt=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/polls/${Fe==null?void 0:Fe.id}/commit_result.json`,query:Fe}))}),Un=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Fe}))}),ar=(Fe,he)=>xe(void 0,null,function*(){yield(0,je.FH)(he||"",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/consult_exercise.json`,query:Fe}))}),Je=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/competitions/${Fe==null?void 0:Fe.identifier}/competition_commit_records/member_works.xlsx`,query:Fe}))}),gn=Fe=>xe(void 0,null,function*(){yield(0,je.FH)("",(0,je.NY)({url:Ke.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Fe}))})},61527:function(Xt,It,Be){"use strict";Be.d(It,{U:function(){return Ne}});var le=Be(59301),Ee=Object.defineProperty,je=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,He=(fe,De,xe)=>De in fe?Ee(fe,De,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[De]=xe,ve=(fe,De)=>{for(var xe in De||(De={}))rt.call(De,xe)&&He(fe,xe,De[xe]);if(je)for(var xe of je(De))Ke.call(De,xe)&&He(fe,xe,De[xe]);return fe},Se=(fe,De,xe)=>new Promise((Ce,ie)=>{var y=E=>{try{ee(xe.next(E))}catch(te){ie(te)}},a=E=>{try{ee(xe.throw(E))}catch(te){ie(te)}},ee=E=>E.done?Ce(E.value):Promise.resolve(E.value).then(y,a);ee((xe=xe.apply(fe,De)).next())});function Ne(fe,De){const[xe,Ce]=(0,le.useState)(De),[ie,y]=(0,le.useState)(!1),[a,ee]=(0,le.useState)();return[xe,ie,(te,ne=!1)=>Se(this,null,function*(){const ae=ne?De:ve(ve({},xe),te);y(!0),Ce(ae);const ge=yield fe(ae);return y(!1),ee(ge),ge}),a]}},50371:function(Xt,It){"use strict";function Be(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ee=1;Ee{const Ke=je[rt];Ke!==void 0&&(le[rt]=Ke)})}return le}It.Z=Be},13845:function(Xt,It,Be){"use strict";Be.d(It,{F:function(){return le},Z:function(){return Ee}});function le(je){return je!=null&&je===je.window}function Ee(je,rt){var Ke,He;if(typeof window=="undefined")return 0;const ve=rt?"scrollTop":"scrollLeft";let Se=0;return le(je)?Se=je[rt?"pageYOffset":"pageXOffset"]:je instanceof Document?Se=je.documentElement[ve]:(je instanceof HTMLElement||je)&&(Se=je[ve]),je&&!le(je)&&typeof Se!="number"&&(Se=(He=((Ke=je.ownerDocument)!==null&&Ke!==void 0?Ke:je).documentElement)===null||He===void 0?void 0:He[ve]),Se}},56762:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return Ee}});var le=Be(59301);function Ee(){const[,je]=le.useReducer(rt=>rt+1,0);return je}},68031:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return rt}});var le=Be(16089);function Ee(Ke,He,ve,Se){const Ne=ve-He;return Ke/=Se/2,Ke<1?Ne/2*Ke*Ke*Ke+He:Ne/2*((Ke-=2)*Ke*Ke+2)+He}var je=Be(13845);function rt(Ke){let He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:Se,duration:Ne=450}=He,fe=ve(),De=(0,je.Z)(fe,!0),xe=Date.now(),Ce=()=>{const y=Date.now()-xe,a=Ee(y>Ne?Ne:y,De,Ke,Ne);(0,je.F)(fe)?fe.scrollTo(window.pageXOffset,a):fe instanceof Document||fe.constructor.name==="HTMLDocument"?fe.documentElement.scrollTop=a:fe.scrollTop=a,y{let{children:ot}=st;const{getPrefixCls:bt}=Ke.useContext(ve.E_),ct=bt("breadcrumb");return Ke.createElement("li",{className:`${ct}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var De=fe,xe=function(st,ot){var bt={};for(var ct in st)Object.prototype.hasOwnProperty.call(st,ct)&&ot.indexOf(ct)<0&&(bt[ct]=st[ct]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ct=Object.getOwnPropertySymbols(st);ptot[pt]||ct)}function ie(st,ot,bt,ct){if(bt==null)return null;const{className:pt,onClick:At}=ot,tt=xe(ot,["className","onClick"]),zt=Object.assign(Object.assign({},(0,rt.Z)(tt,{data:!0,aria:!0})),{onClick:At});return ct!==void 0?Ke.createElement("a",Object.assign({},zt,{className:Ee()(`${st}-link`,pt),href:ct}),bt):Ke.createElement("span",Object.assign({},zt,{className:Ee()(`${st}-link`,pt)}),bt)}function y(st,ot){return(ct,pt,At,tt,zt)=>{if(ot)return ot(ct,pt,At,tt);const Rt=Ce(ct,pt);return ie(st,ct,Rt,zt)}}var a=function(st,ot){var bt={};for(var ct in st)Object.prototype.hasOwnProperty.call(st,ct)&&ot.indexOf(ct)<0&&(bt[ct]=st[ct]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ct=Object.getOwnPropertySymbols(st);pt{const{prefixCls:ot,separator:bt="/",children:ct,menu:pt,overlay:At,dropdownProps:tt,href:zt}=st,ft=(Kt=>{if(pt||At){const yn=Object.assign({},tt);if(pt){const Hn=pt||{},{items:ln}=Hn,Wn=a(Hn,["items"]);yn.menu=Object.assign(Object.assign({},Wn),{items:ln==null?void 0:ln.map((Bt,Un)=>{var{key:ar,title:Je,label:gn,path:Fe}=Bt,he=a(Bt,["key","title","label","path"]);let de=gn!=null?gn:Je;return Fe&&(de=Ke.createElement("a",{href:`${zt}${Fe}`},de)),Object.assign(Object.assign({},he),{key:ar!=null?ar:Un,label:de})})})}else At&&(yn.overlay=At);return Ke.createElement(Ne.Z,Object.assign({placement:"bottom"},yn),Ke.createElement("span",{className:`${ot}-overlay-link`},Kt,Ke.createElement(Se.Z,null)))}return Kt})(ct);return ft!=null?Ke.createElement(Ke.Fragment,null,Ke.createElement("li",null,ft),bt&&Ke.createElement(De,null,bt)):null},E=st=>{const{prefixCls:ot,children:bt,href:ct}=st,pt=a(st,["prefixCls","children","href"]),{getPrefixCls:At}=Ke.useContext(ve.E_),tt=At("breadcrumb",ot);return Ke.createElement(ee,Object.assign({},pt,{prefixCls:tt}),ie(tt,pt,bt,ct))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=Be(17313),ae=Be(83116),ge=Be(37613);const Le=st=>{const{componentCls:ot,iconCls:bt}=st;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(st)),{color:st.itemColor,fontSize:st.fontSize,[bt]:{fontSize:st.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:st.linkColor,transition:`color ${st.motionDurationMid}`,padding:`0 ${st.paddingXXS}px`,borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",marginInline:-st.marginXXS,"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover}},(0,ne.Qy)(st)),"li:last-child":{color:st.lastItemColor},[`${ot}-separator`]:{marginInline:st.separatorMargin,color:st.separatorColor},[`${ot}-link`]:{[` > ${bt} + span, > ${bt} + a `]:{marginInlineStart:st.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:st.borderRadiusSM,height:st.lineHeight*st.fontSize,display:"inline-block",padding:`0 ${st.paddingXXS}px`,marginInline:-st.marginXXS,[`> ${bt}`]:{marginInlineStart:st.marginXXS,fontSize:st.fontSizeIcon},"&:hover":{color:st.linkHoverColor,backgroundColor:st.colorBgTextHover,a:{color:st.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${st.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ae.Z)("Breadcrumb",st=>{const ot=(0,ge.TS)(st,{});return[Le(ot)]},st=>({itemColor:st.colorTextDescription,lastItemColor:st.colorText,iconFontSize:st.fontSize,linkColor:st.colorTextDescription,linkHoverColor:st.colorText,separatorColor:st.colorTextDescription,separatorMargin:st.marginXS})),Ue=function(st,ot){var bt={};for(var ct in st)Object.prototype.hasOwnProperty.call(st,ct)&&ot.indexOf(ct)<0&&(bt[ct]=st[ct]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ct=Object.getOwnPropertySymbols(st);pt{var{breadcrumbName:tt}=At,zt=Ue(At,["breadcrumbName"]);return Object.assign(Object.assign({},zt),{title:tt})})}),pt}function Ze(st,ot){return(0,Ke.useMemo)(()=>st||(ot?ot.map(Ge):null),[st,ot])}var nt=function(st,ot){var bt={};for(var ct in st)Object.prototype.hasOwnProperty.call(st,ct)&&ot.indexOf(ct)<0&&(bt[ct]=st[ct]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,ct=Object.getOwnPropertySymbols(st);pt{if(ot===void 0)return ot;let bt=(ot||"").replace(/^\//,"");return Object.keys(st).forEach(ct=>{bt=bt.replace(`:${ct}`,st[ct])}),bt},vt=st=>{const{prefixCls:ot,separator:bt="/",style:ct,className:pt,rootClassName:At,routes:tt,items:zt,children:Rt,itemRender:ft,params:Kt={}}=st,yn=nt(st,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Hn,direction:ln,breadcrumb:Wn}=Ke.useContext(ve.E_);let Bt;const Un=Hn("breadcrumb",ot),[ar,Je]=Pe(Un),gn=Ze(zt,tt),Fe=y(Un,ft);if(gn&&gn.length>0){const ye=[],qe=zt||tt;Bt=gn.map((dt,Re)=>{const{path:Xe,key:Ct,type:gt,menu:it,overlay:kt,onClick:kn,className:Ft,separator:on,dropdownProps:Ot}=dt,En=ke(Kt,Xe);En!==void 0&&ye.push(En);const lt=Ct!=null?Ct:Re;if(gt==="separator")return Ke.createElement(De,{key:lt},on);const Jt={},vn=Re===gn.length-1;it?Jt.menu=it:kt&&(Jt.overlay=kt);let{href:bn}=dt;return ye.length&&En!==void 0&&(bn=`#/${ye.join("/")}`),Ke.createElement(ee,Object.assign({key:lt},Jt,(0,rt.Z)(dt,{data:!0,aria:!0}),{className:Ft,dropdownProps:Ot,href:bn,separator:vn?"":bt,onClick:kn,prefixCls:Un}),Fe(dt,Kt,qe,ye,bn))})}else if(Rt){const ye=(0,je.Z)(Rt).length;Bt=(0,je.Z)(Rt).map((qe,dt)=>{if(!qe)return qe;const Re=dt===ye-1;return(0,He.Tm)(qe,{separator:Re?"":bt,key:dt})})}const he=Ee()(Un,Wn==null?void 0:Wn.className,{[`${Un}-rtl`]:ln==="rtl"},pt,At,Je),de=Object.assign(Object.assign({},Wn==null?void 0:Wn.style),ct);return ar(Ke.createElement("nav",Object.assign({className:he,style:de},yn),Ke.createElement("ol",null,Bt)))};vt.Item=te,vt.Separator=De;var _e=vt,Nt=_e},24905:function(Xt,It,Be){"use strict";Be.d(It,{default:function(){return Pe}});var le=Be(92310),Ee=Be.n(le),je=Be(5630),rt=Be(59301),Ke=Be(36355),He=Be(1684),ve=Be(32441),Ne=rt.createContext(null),fe=Be(98447),De=Be(14088),xe=Be(4572),Ce=function(Ue,Ge){var Ze={};for(var nt in Ue)Object.prototype.hasOwnProperty.call(Ue,nt)&&Ge.indexOf(nt)<0&&(Ze[nt]=Ue[nt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,nt=Object.getOwnPropertySymbols(Ue);ke{var Ze;const{prefixCls:nt,className:ke,rootClassName:vt,children:_e,indeterminate:Nt=!1,style:st,onMouseEnter:ot,onMouseLeave:bt,skipGroup:ct=!1,disabled:pt}=Ue,At=Ce(Ue,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:tt,direction:zt,checkbox:Rt}=rt.useContext(Ke.E_),ft=rt.useContext(Ne),{isFormItemInput:Kt}=rt.useContext(ve.aM),yn=rt.useContext(He.Z),Hn=(Ze=(ft==null?void 0:ft.disabled)||pt)!==null&&Ze!==void 0?Ze:yn,ln=rt.useRef(At.value);rt.useEffect(()=>{ft==null||ft.registerValue(At.value)},[]),rt.useEffect(()=>{if(!ct)return At.value!==ln.current&&(ft==null||ft.cancelValue(ln.current),ft==null||ft.registerValue(At.value),ln.current=At.value),()=>ft==null?void 0:ft.cancelValue(At.value)},[At.value]);const Wn=tt("checkbox",nt),[Bt,Un]=(0,fe.ZP)(Wn),ar=Object.assign({},At);ft&&!ct&&(ar.onChange=function(){At.onChange&&At.onChange.apply(At,arguments),ft.toggleOption&&ft.toggleOption({label:_e,value:At.value})},ar.name=ft.name,ar.checked=ft.value.includes(At.value));const Je=Ee()(`${Wn}-wrapper`,{[`${Wn}-rtl`]:zt==="rtl",[`${Wn}-wrapper-checked`]:ar.checked,[`${Wn}-wrapper-disabled`]:Hn,[`${Wn}-wrapper-in-form-item`]:Kt},Rt==null?void 0:Rt.className,ke,vt,Un),gn=Ee()({[`${Wn}-indeterminate`]:Nt},xe.A,Un),Fe=Nt?"mixed":void 0;return Bt(rt.createElement(De.Z,{component:"Checkbox",disabled:Hn},rt.createElement("label",{className:Je,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),st),onMouseEnter:ot,onMouseLeave:bt},rt.createElement(je.Z,Object.assign({"aria-checked":Fe},ar,{prefixCls:Wn,className:gn,disabled:Hn,ref:Ge})),_e!==void 0&&rt.createElement("span",null,_e))))};var a=rt.forwardRef(ie),ee=Be(94480),E=Be(2738),te=function(Ue,Ge){var Ze={};for(var nt in Ue)Object.prototype.hasOwnProperty.call(Ue,nt)&&Ge.indexOf(nt)<0&&(Ze[nt]=Ue[nt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,nt=Object.getOwnPropertySymbols(Ue);ke{const{defaultValue:Ze,children:nt,options:ke=[],prefixCls:vt,className:_e,rootClassName:Nt,style:st,onChange:ot}=Ue,bt=te(Ue,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ct,direction:pt}=rt.useContext(Ke.E_),[At,tt]=rt.useState(bt.value||Ze||[]),[zt,Rt]=rt.useState([]);rt.useEffect(()=>{"value"in bt&&tt(bt.value||[])},[bt.value]);const ft=rt.useMemo(()=>ke.map(he=>typeof he=="string"||typeof he=="number"?{label:he,value:he}:he),[ke]),Kt=he=>{Rt(de=>de.filter(ye=>ye!==he))},yn=he=>{Rt(de=>[].concat((0,ee.Z)(de),[he]))},Hn=he=>{const de=At.indexOf(he.value),ye=(0,ee.Z)(At);de===-1?ye.push(he.value):ye.splice(de,1),"value"in bt||tt(ye),ot==null||ot(ye.filter(qe=>zt.includes(qe)).sort((qe,dt)=>{const Re=ft.findIndex(Ct=>Ct.value===qe),Xe=ft.findIndex(Ct=>Ct.value===dt);return Re-Xe}))},ln=ct("checkbox",vt),Wn=`${ln}-group`,[Bt,Un]=(0,fe.ZP)(ln),ar=(0,E.Z)(bt,["value","disabled"]),Je=ke.length?ft.map(he=>rt.createElement(a,{prefixCls:ln,key:he.value.toString(),disabled:"disabled"in he?he.disabled:bt.disabled,value:he.value,checked:At.includes(he.value),onChange:he.onChange,className:`${Wn}-item`,style:he.style,title:he.title},he.label)):nt,gn={toggleOption:Hn,value:At,disabled:bt.disabled,name:bt.name,registerValue:yn,cancelValue:Kt},Fe=Ee()(Wn,{[`${Wn}-rtl`]:pt==="rtl"},_e,Nt,Un);return Bt(rt.createElement("div",Object.assign({className:Fe,style:st},ar,{ref:Ge}),rt.createElement(Ne.Provider,{value:gn},Je)))},ae=rt.forwardRef(ne);var ge=rt.memo(ae);const Le=a;Le.Group=ge,Le.__ANT_CHECKBOX=!0;var Pe=Le},98447:function(Xt,It,Be){"use strict";Be.d(It,{C2:function(){return Ke}});var le=Be(17313),Ee=Be(37613),je=Be(83116);const rt=He=>{const{checkboxCls:ve}=He,Se=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,le.Wf)(He)),{display:"inline-flex",flexWrap:"wrap",columnGap:He.marginXS,[`> ${He.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,le.Wf)(He)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ve]:Object.assign(Object.assign({},(0,le.Wf)(He)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:He.borderRadiusSM,alignSelf:"center",[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ve}-inner`]:Object.assign({},(0,le.oN)(He))},[`${ve}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:He.checkboxSize,height:He.checkboxSize,direction:"ltr",backgroundColor:He.colorBgContainer,border:`${He.lineWidth}px ${He.lineType} ${He.colorBorder}`,borderRadius:He.borderRadiusSM,borderCollapse:"separate",transition:`all ${He.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:He.checkboxSize/14*5,height:He.checkboxSize/14*8,border:`${He.lineWidthBold}px solid ${He.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${He.motionDurationFast} ${He.motionEaseInBack}, opacity ${He.motionDurationFast}`}},"& + span":{paddingInlineStart:He.paddingXS,paddingInlineEnd:He.paddingXS}})},{[` ${Se}:not(${Se}-disabled), ${ve}:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{borderColor:He.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:He.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:He.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-inner`]:{backgroundColor:He.colorPrimary,borderColor:He.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${He.motionDurationMid} ${He.motionEaseOutBack} ${He.motionDurationFast}`}}},[` ${Se}-checked:not(${Se}-disabled), ${ve}-checked:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{backgroundColor:He.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-inner`]:{backgroundColor:He.colorBgContainer,borderColor:He.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:He.fontSizeLG/2,height:He.fontSizeLG/2,backgroundColor:He.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:He.colorBgContainerDisabled,borderColor:He.colorBorder,"&:after":{borderColor:He.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:He.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:He.colorTextDisabled}}}]};function Ke(He,ve){const Se=(0,Ee.TS)(ve,{checkboxCls:`.${He}`,checkboxSize:ve.controlInteractiveSize});return[rt(Se)]}It.ZP=(0,je.Z)("Checkbox",(He,ve)=>{let{prefixCls:Se}=ve;return[Ke(Se,He)]})},28103:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return xe}});var le=Be(92310),Ee=Be.n(le),je=Be(59301),rt=Be(36355),Ke=Be(17313),He=Be(83116),ve=Be(37613);const Se=Ce=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ce;return{[ie]:Object.assign(Object.assign({},(0,Ke.Wf)(Ce)),{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:`${Ce.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ce.dividerHorizontalWithTextGutterMargin}px 0`,color:Ce.colorTextHeading,fontWeight:500,fontSize:Ce.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:E},"&-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:Ce.colorText,fontWeight:"normal",fontSize:Ce.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 Ne=(0,He.Z)("Divider",Ce=>{const ie=(0,ve.TS)(Ce,{dividerHorizontalWithTextGutterMargin:Ce.margin,dividerHorizontalGutterMargin:Ce.marginLG,sizePaddingEdgeHorizontal:0});return[Se(ie)]},Ce=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ce.marginXS})),fe=function(Ce,ie){var y={};for(var a in Ce)Object.prototype.hasOwnProperty.call(Ce,a)&&ie.indexOf(a)<0&&(y[a]=Ce[a]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ce);ee{const{getPrefixCls:ie,direction:y,divider:a}=je.useContext(rt.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:ae,rootClassName:ge,children:Le,dashed:Pe,plain:Ue,style:Ge}=Ce,Ze=fe(Ce,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=ie("divider",ee),[ke,vt]=Ne(nt),_e=te.length>0?`-${te}`:te,Nt=!!Le,st=te==="left"&&ne!=null,ot=te==="right"&&ne!=null,bt=Ee()(nt,a==null?void 0:a.className,vt,`${nt}-${E}`,{[`${nt}-with-text`]:Nt,[`${nt}-with-text${_e}`]:Nt,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Ue,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:st,[`${nt}-no-default-orientation-margin-right`]:ot},ae,ge),ct=je.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),pt=Object.assign(Object.assign({},st&&{marginLeft:ct}),ot&&{marginRight:ct});return ke(je.createElement("div",Object.assign({className:bt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},Ze,{role:"separator"}),Le&&E!=="vertical"&&je.createElement("span",{className:`${nt}-inner-text`,style:pt},Le)))}},91857:function(Xt,It,Be){"use strict";var le=Be(59301),Ee=Be(38819),je=Be(92310),rt=Be.n(je),Ke=Be(31561),He=Be(70425),ve=Be(18929),Se=Be(2738),Ne=Be(79676),fe=Be(53487),De=Be(92343),xe=Be(36355),Ce=Be(20834),ie=Be(40875),y=Be(88088),a=Be(47211);const ee=null,E=ge=>{const{menu:Le,arrow:Pe,prefixCls:Ue,children:Ge,trigger:Ze,disabled:nt,dropdownRender:ke,getPopupContainer:vt,overlayClassName:_e,rootClassName:Nt,open:st,onOpenChange:ot,visible:bt,onVisibleChange:ct,mouseEnterDelay:pt=.15,mouseLeaveDelay:At=.1,autoAdjustOverflow:tt=!0,placement:zt="",overlay:Rt,transitionName:ft}=ge,{getPopupContainer:Kt,getPrefixCls:yn,direction:Hn}=le.useContext(xe.E_),ln=le.useMemo(()=>{const it=yn();return ft!==void 0?ft:zt.includes("top")?`${it}-slide-down`:`${it}-slide-up`},[yn,zt,ft]),Wn=le.useMemo(()=>zt?zt.includes("Center")?zt.slice(0,zt.indexOf("Center")):zt:Hn==="rtl"?"bottomRight":"bottomLeft",[zt,Hn]),Bt=yn("dropdown",Ue),[Un,ar]=(0,a.Z)(Bt),[,Je]=(0,y.Z)(),gn=le.Children.only(Ge),Fe=(0,De.Tm)(gn,{className:rt()(`${Bt}-trigger`,{[`${Bt}-rtl`]:Hn==="rtl"},gn.props.className),disabled:nt}),he=nt?[]:Ze;let de;he&&he.includes("contextMenu")&&(de=!0);const[ye,qe]=(0,ve.Z)(!1,{value:st!=null?st:bt}),dt=(0,He.useEvent)(it=>{ot==null||ot(it),ct==null||ct(it),qe(it)}),Re=rt()(_e,Nt,ar,{[`${Bt}-rtl`]:Hn==="rtl"}),Xe=(0,Ne.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:tt,offset:Je.marginXXS,arrowWidth:Pe?Je.sizePopupArrow:0,borderRadius:Je.borderRadius}),Ct=le.useCallback(()=>{qe(!1)},[]),gt=()=>{let it;return Le!=null&&Le.items?it=le.createElement(Ce.default,Object.assign({},Le)):typeof Rt=="function"?it=Rt():it=Rt,ke&&(it=ke(it)),it=le.Children.only(typeof it=="string"?le.createElement("span",null,it):it),le.createElement(ie.J,{prefixCls:`${Bt}-menu`,expandIcon:le.createElement("span",{className:`${Bt}-menu-submenu-arrow`},le.createElement(Ee.Z,{className:`${Bt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ct,validator:kt=>{let{mode:kn}=kt}},it)};return Un(le.createElement(Ke.Z,Object.assign({alignPoint:de},(0,Se.Z)(ge,["rootClassName"]),{mouseEnterDelay:pt,mouseLeaveDelay:At,visible:ye,builtinPlacements:Xe,arrow:!!Pe,overlayClassName:Re,prefixCls:Bt,getPopupContainer:vt||Kt,transitionName:ln,trigger:he,overlay:gt,placement:Wn,onVisibleChange:dt}),Fe))};function te(ge){return Object.assign(Object.assign({},ge),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,fe.Z)(E,"dropdown",ge=>ge,te),ae=ge=>le.createElement(ne,Object.assign({},ge),le.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=ae,It.Z=E},38854:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return y}});var le=Be(91857),Ee=Be(92310),je=Be.n(Ee),rt=Be(59301),Ke=Be(18785),He=Be(3113),ve=Be(36355),Se=Be(81327),Ne=Be(33234),fe=Be(47211),De=function(a,ee){var E={};for(var te in a)Object.prototype.hasOwnProperty.call(a,te)&&ee.indexOf(te)<0&&(E[te]=a[te]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,te=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:ee,getPrefixCls:E,direction:te}=rt.useContext(ve.E_),{prefixCls:ne,type:ae="default",danger:ge,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,children:Ze,className:nt,menu:ke,arrow:vt,autoFocus:_e,overlay:Nt,trigger:st,align:ot,open:bt,onOpenChange:ct,placement:pt,getPopupContainer:At,href:tt,icon:zt=rt.createElement(Ke.Z,null),title:Rt,buttonsRender:ft=gt=>gt,mouseEnterDelay:Kt,mouseLeaveDelay:yn,overlayClassName:Hn,overlayStyle:ln,destroyPopupOnHide:Wn,dropdownRender:Bt}=a,Un=De(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"]),ar=E("dropdown",ne),Je=`${ar}-button`,[gn,Fe]=(0,fe.Z)(ar),he={menu:ke,arrow:vt,autoFocus:_e,align:ot,disabled:Le,trigger:Le?[]:st,onOpenChange:ct,getPopupContainer:At||ee,mouseEnterDelay:Kt,mouseLeaveDelay:yn,overlayClassName:Hn,overlayStyle:ln,destroyPopupOnHide:Wn,dropdownRender:Bt},{compactSize:de,compactItemClassnames:ye}=(0,Ne.ri)(ar,te),qe=je()(Je,ye,nt,Fe);"overlay"in a&&(he.overlay=Nt),"open"in a&&(he.open=bt),"placement"in a?he.placement=pt:he.placement=te==="rtl"?"bottomLeft":"bottomRight";const dt=rt.createElement(He.ZP,{type:ae,danger:ge,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,href:tt,title:Rt},Ze),Re=rt.createElement(He.ZP,{type:ae,danger:ge,icon:zt}),[Xe,Ct]=ft([dt,Re]);return gn(rt.createElement(Se.Z.Compact,Object.assign({className:qe,size:de,block:!0},Un),Xe,rt.createElement(le.Z,Object.assign({},he),Ct)))};xe.__ANT_BUTTON=!0;var Ce=xe;const ie=le.Z;ie.Button=Ce;var y=ie},47211:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return De}});var le=Be(17313),Ee=Be(13826),je=Be(92899),rt=Be(29878),Ke=Be(19447),He=Be(83116),ve=Be(37613),Ne=xe=>{const{componentCls:Ce,menuCls:ie,colorError:y,colorTextLightSolid:a}=xe,ee=`${ie}-item`;return{[`${Ce}, ${Ce}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const fe=xe=>{const{componentCls:Ce,menuCls:ie,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:ee,antCls:E,iconCls:te,motionDurationMid:ne,dropdownPaddingVertical:ae,fontSize:ge,dropdownEdgeChildPadding:Le,colorTextDisabled:Pe,fontSizeIcon:Ue,controlPaddingHorizontal:Ge,colorBgElevated:Ze}=xe;return[{[Ce]:Object.assign(Object.assign({},(0,le.Wf)(xe)),{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${E}-btn`]:{[`& > ${te}-down, & > ${E}-btn-icon > ${te}-down`]:{fontSize:Ue}},[`${Ce}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Ue},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ce}-wrap-open`]:{[`${te}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Ce}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Ce}-placement-bottomRight`]:{animationName:Ee.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Ce}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Ce}-placement-topRight`]:{animationName:Ee.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Ce}-placement-bottomRight`]:{animationName:Ee.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Ce}-placement-topRight`]:{animationName:Ee.ly}})},(0,Ke.ZP)(xe,{colorBg:Ze,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ce} ${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}},[`${Ce}, ${Ce}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:Le,listStyleType:"none",backgroundColor:Ze,backgroundClip:"padding-box",borderRadius:xe.borderRadiusLG,outline:"none",boxShadow:xe.boxShadowSecondary},(0,le.Qy)(xe)),{[`${ie}-item-group-title`]:{padding:`${ae}px ${Ge}px`,color:xe.colorTextDescription,transition:`all ${ne}`},[`${ie}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ie}-item-icon`]:{minWidth:ge,marginInlineEnd:xe.marginXS,fontSize:xe.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:xe.colorText,fontWeight:"normal",fontSize:ge,lineHeight:xe.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:xe.borderRadiusSM,"&:hover, &-active":{backgroundColor:xe.controlItemBgHover}},(0,le.Qy)(xe)),{"&-selected":{color:xe.colorPrimary,backgroundColor:xe.controlItemBgActive,"&:hover, &-active":{backgroundColor:xe.controlItemBgActiveHover}},"&-disabled":{color:Pe,cursor:"not-allowed","&:hover":{color:Pe,backgroundColor:Ze,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:xe.colorSplit},[`${Ce}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:xe.paddingXS,[`${Ce}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:xe.colorTextDescription,fontSize:Ue,fontStyle:"normal"}}}),[`${ie}-item-group-list`]:{margin:`0 ${xe.marginXS}px`,padding:0,listStyle:"none"},[`${ie}-submenu-title`]:{paddingInlineEnd:Ge+xe.fontSizeSM},[`${ie}-submenu-vertical`]:{position:"relative"},[`${ie}-submenu${ie}-submenu-disabled ${Ce}-menu-submenu-title`]:{[`&, ${Ce}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:Ze,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ce}-menu-submenu-title`]:{color:xe.colorPrimary}})}},[(0,Ee.oN)(xe,"slide-up"),(0,Ee.oN)(xe,"slide-down"),(0,je.Fm)(xe,"move-up"),(0,je.Fm)(xe,"move-down"),(0,rt._y)(xe,"zoom-big")]]};var De=(0,He.Z)("Dropdown",(xe,Ce)=>{let{rootPrefixCls:ie}=Ce;const{marginXXS:y,sizePopupArrow:a,controlHeight:ee,fontSize:E,lineHeight:te,paddingXXS:ne,componentCls:ae,borderRadiusLG:ge}=xe,Le=(ee-E*te)/2,{dropdownArrowOffset:Pe}=(0,Ke.fS)({contentRadius:ge}),Ue=(0,ve.TS)(xe,{menuCls:`${ae}-menu`,rootPrefixCls:ie,dropdownArrowDistance:a/2+y,dropdownArrowOffset:Pe,dropdownPaddingVertical:Le,dropdownEdgeChildPadding:ne});return[fe(Ue),Ne(Ue)]},xe=>({zIndexPopup:xe.zIndexPopupBase+50}))},8628:function(Xt,It,Be){"use strict";var le=Be(59301),Ee=Be(34280),je=Be(56762),rt=Be(69507);function Ke(){let He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,le.useRef)({}),Se=(0,je.Z)(),Ne=(0,rt.ZP)();return(0,Ee.Z)(()=>{const fe=Ne.subscribe(De=>{ve.current=De,He&&Se()});return()=>Ne.unsubscribe(fe)},[]),ve.current}It.Z=Ke},45818:function(Xt,It,Be){"use strict";Be.d(It,{D:function(){return ne},Z:function(){return Le}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(Ue,Ge){return Ee.createElement(Ke.Z,(0,le.Z)({},Ue,{ref:Ge,icon:rt}))},ve=Ee.forwardRef(He),Se=ve,Ne=Be(33853),fe=Be(38819),De=Be(92310),xe=Be.n(De),Ce=Be(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=Be(36355),ee=Be(84966),E=function(Pe,Ue){var Ge={};for(var Ze in Pe)Object.prototype.hasOwnProperty.call(Pe,Ze)&&Ue.indexOf(Ze)<0&&(Ge[Ze]=Pe[Ze]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,Ze=Object.getOwnPropertySymbols(Pe);nt{let Pe=0;return function(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Pe+=1,`${Ue}${Pe}`}})();var Le=Ee.forwardRef((Pe,Ue)=>{const{prefixCls:Ge,className:Ze,trigger:nt,children:ke,defaultCollapsed:vt=!1,theme:_e="dark",style:Nt={},collapsible:st=!1,reverseArrow:ot=!1,width:bt=200,collapsedWidth:ct=80,zeroWidthTriggerStyle:pt,breakpoint:At,onCollapse:tt,onBreakpoint:zt}=Pe,Rt=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,Ee.useContext)(ee.Gs),[Kt,yn]=(0,Ee.useState)("collapsed"in Pe?Pe.collapsed:vt),[Hn,ln]=(0,Ee.useState)(!1);(0,Ee.useEffect)(()=>{"collapsed"in Pe&&yn(Pe.collapsed)},[Pe.collapsed]);const Wn=(Fe,he)=>{"collapsed"in Pe||yn(Fe),tt==null||tt(Fe,he)},Bt=(0,Ee.useRef)();Bt.current=Fe=>{ln(Fe.matches),zt==null||zt(Fe.matches),Kt!==Fe.matches&&Wn(Fe.matches,"responsive")},(0,Ee.useEffect)(()=>{function Fe(de){return Bt.current(de)}let he;if(typeof window!="undefined"){const{matchMedia:de}=window;if(de&&At&&At in te){he=de(`(max-width: ${te[At]})`);try{he.addEventListener("change",Fe)}catch(ye){he.addListener(Fe)}Fe(he)}}return()=>{try{he==null||he.removeEventListener("change",Fe)}catch(de){he==null||he.removeListener(Fe)}}},[At]),(0,Ee.useEffect)(()=>{const Fe=ae("ant-sider-");return ft.addSider(Fe),()=>ft.removeSider(Fe)},[]);const Un=()=>{Wn(!Kt,"clickTrigger")},{getPrefixCls:ar}=(0,Ee.useContext)(a.E_),Je=()=>{const Fe=ar("layout-sider",Ge),he=(0,Ce.Z)(Rt,["collapsed"]),de=Kt?ct:bt,ye=y(de)?`${de}px`:String(de),qe=parseFloat(String(ct||0))===0?Ee.createElement("span",{onClick:Un,className:xe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${ot?"right":"left"}`),style:pt},nt||Ee.createElement(Se,null)):null,Xe={expanded:ot?Ee.createElement(fe.Z,null):Ee.createElement(Ne.Z,null),collapsed:ot?Ee.createElement(Ne.Z,null):Ee.createElement(fe.Z,null)}[Kt?"collapsed":"expanded"],Ct=nt!==null?qe||Ee.createElement("div",{className:`${Fe}-trigger`,onClick:Un,style:{width:ye}},nt||Xe):null,gt=Object.assign(Object.assign({},Nt),{flex:`0 0 ${ye}`,maxWidth:ye,minWidth:ye,width:ye}),it=xe()(Fe,`${Fe}-${_e}`,{[`${Fe}-collapsed`]:!!Kt,[`${Fe}-has-trigger`]:st&&nt!==null&&!qe,[`${Fe}-below`]:!!Hn,[`${Fe}-zero-width`]:parseFloat(ye)===0},Ze);return Ee.createElement("aside",Object.assign({className:it},he,{style:gt,ref:Ue}),Ee.createElement("div",{className:`${Fe}-children`},ke),st||Hn&&qe?Ct:null)},gn=Ee.useMemo(()=>({siderCollapsed:Kt}),[Kt]);return Ee.createElement(ne.Provider,{value:gn},Je())})},84966:function(Xt,It,Be){"use strict";Be.d(It,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ce},ZP:function(){return ae}});var le=Be(94480),Ee=Be(92310),je=Be.n(Ee),rt=Be(2738),Ke=Be(59301),He=Be(36355),ve=Be(83116),Ne=ge=>{const{componentCls:Le,bodyBg:Pe,lightSiderBg:Ue,lightTriggerBg:Ge,lightTriggerColor:Ze}=ge;return{[`${Le}-sider-light`]:{background:Ue,[`${Le}-sider-trigger`]:{color:Ze,background:Ge},[`${Le}-sider-zero-width-trigger`]:{color:Ze,background:Ge,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const fe=ge=>{const{antCls:Le,componentCls:Pe,colorText:Ue,triggerColor:Ge,footerBg:Ze,triggerBg:nt,headerHeight:ke,headerPadding:vt,headerColor:_e,footerPadding:Nt,triggerHeight:st,zeroTriggerHeight:ot,zeroTriggerWidth:bt,motionDurationMid:ct,motionDurationSlow:pt,fontSize:At,borderRadius:tt,bodyBg:zt,headerBg:Rt,siderBg:ft}=ge;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:zt,"&, *":{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,[`${Le}-menu${Le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:st},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:st,color:Ge,lineHeight:`${st}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${ct}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ke,insetInlineEnd:-bt,zIndex:1,width:bt,height:ot,color:Ge,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ft,borderStartStartRadius:0,borderStartEndRadius:tt,borderEndEndRadius:tt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-bt,borderStartStartRadius:tt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:tt}}}}},Ne(ge)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:ke,padding:vt,color:_e,lineHeight:`${ke}px`,background:Rt,[`${Le}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Nt,color:Ue,fontSize:At,background:Ze},[`${Pe}-content`]:{flex:"auto",minHeight:0}}};var De=(0,ve.Z)("Layout",ge=>[fe(ge)],ge=>{const{colorBgLayout:Le,controlHeight:Pe,controlHeightLG:Ue,colorText:Ge,controlHeightSM:Ze,marginXXS:nt,colorTextLightSolid:ke,colorBgContainer:vt}=ge,_e=Ue*1.25;return{colorBgHeader:"#001529",colorBgBody:Le,colorBgTrigger:"#002140",bodyBg:Le,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${_e}px`,headerColor:Ge,footerPadding:`${Ze}px ${_e}px`,footerBg:Le,siderBg:"#001529",triggerHeight:Ue+nt*2,triggerBg:"#002140",triggerColor:ke,zeroTriggerWidth:Ue,zeroTriggerHeight:Ue,lightSiderBg:vt,lightTriggerBg:vt,lightTriggerColor:Ge}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),xe=function(ge,Le){var Pe={};for(var Ue in ge)Object.prototype.hasOwnProperty.call(ge,Ue)&&Le.indexOf(Ue)<0&&(Pe[Ue]=ge[Ue]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ue=Object.getOwnPropertySymbols(ge);Genull,removeSider:()=>null}});function ie(ge){let{suffixCls:Le,tagName:Pe,displayName:Ue}=ge;return Ge=>Ke.forwardRef((nt,ke)=>Ke.createElement(Ge,Object.assign({ref:ke,suffixCls:Le,tagName:Pe},nt)))}const y=Ke.forwardRef((ge,Le)=>{const{prefixCls:Pe,suffixCls:Ue,className:Ge,tagName:Ze}=ge,nt=xe(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ke}=Ke.useContext(He.E_),vt=ke("layout",Pe),[_e,Nt]=De(vt),st=Ue?`${vt}-${Ue}`:vt;return _e(Ke.createElement(Ze,Object.assign({className:je()(Pe||st,Ge,Nt),ref:Le},nt)))}),a=Ke.forwardRef((ge,Le)=>{const{direction:Pe}=Ke.useContext(He.E_),[Ue,Ge]=Ke.useState([]),{prefixCls:Ze,className:nt,rootClassName:ke,children:vt,hasSider:_e,tagName:Nt,style:st}=ge,ot=xe(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),bt=(0,rt.Z)(ot,["suffixCls"]),{getPrefixCls:ct,layout:pt}=Ke.useContext(He.E_),At=ct("layout",Ze),[tt,zt]=De(At),Rt=je()(At,{[`${At}-has-sider`]:typeof _e=="boolean"?_e:Ue.length>0,[`${At}-rtl`]:Pe==="rtl"},pt==null?void 0:pt.className,nt,ke,zt),ft=Ke.useMemo(()=>({siderHook:{addSider:Kt=>{Ge(yn=>[].concat((0,le.Z)(yn),[Kt]))},removeSider:Kt=>{Ge(yn=>yn.filter(Hn=>Hn!==Kt))}}}),[]);return tt(Ke.createElement(Ce.Provider,{value:ft},Ke.createElement(Nt,Object.assign({ref:Le,className:Rt,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),st)},bt),vt)))}),ee=ie({tagName:"div",displayName:"Layout"})(a),E=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(Xt,It,Be){"use strict";Be.d(It,{J:function(){return He}});var le=Be(59301),Ee=Be(33234),je=Be(70425),rt=function(ve,Se){var Ne={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&Se.indexOf(fe)<0&&(Ne[fe]=ve[fe]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,fe=Object.getOwnPropertySymbols(ve);De{const{children:Ne}=ve,fe=rt(ve,["children"]),De=le.useContext(Ke),xe=le.useMemo(()=>Object.assign(Object.assign({},De),fe),[De,fe.prefixCls,fe.mode,fe.selectable]);return le.createElement(Ke.Provider,{value:xe},le.createElement(Ee.BR,null,(0,je.supportNodeRef)(Ne)?le.cloneElement(Ne,{ref:Se}):Ne))});It.Z=Ke},20834:function(Xt,It,Be){"use strict";Be.d(It,{default:function(){return gn}});var le=Be(15285),Ee=Be(59301),je=Be(45818),rt=Be(92310),Ke=Be.n(rt),He=Be(36355),ve=function(Fe,he){var de={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&he.indexOf(ye)<0&&(de[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{const{prefixCls:he,className:de,dashed:ye}=Fe,qe=ve(Fe,["prefixCls","className","dashed"]),{getPrefixCls:dt}=Ee.useContext(He.E_),Re=dt("menu",he),Xe=Ke()({[`${Re}-item-divider-dashed`]:!!ye},de);return Ee.createElement(le.iz,Object.assign({className:Xe},qe))},fe=Be(11592),De=Be(2738),xe=Be(6848),Ce=Be(92343),y=(0,Ee.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Fe=>{var he;const{className:de,children:ye,icon:qe,title:dt,danger:Re}=Fe,{prefixCls:Xe,firstLevel:Ct,direction:gt,disableMenuItemTitleTooltip:it,inlineCollapsed:kt}=Ee.useContext(y),kn=Jt=>{const vn=Ee.createElement("span",{className:`${Xe}-title-content`},ye);return(!qe||(0,Ce.l$)(ye)&&ye.type==="span")&&ye&&Jt&&Ct&&typeof ye=="string"?Ee.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},ye.charAt(0)):vn},{siderCollapsed:Ft}=Ee.useContext(je.D);let on=dt;typeof dt=="undefined"?on=Ct?ye:"":dt===!1&&(on="");const Ot={title:on};!Ft&&!kt&&(Ot.title=null,Ot.open=!1);const En=(0,fe.Z)(ye).length;let lt=Ee.createElement(le.ck,Object.assign({},(0,De.Z)(Fe,["title","icon","danger"]),{className:Ke()({[`${Xe}-item-danger`]:Re,[`${Xe}-item-only-child`]:(qe?En+1:En)===1},de),title:typeof dt=="string"?dt:void 0}),(0,Ce.Tm)(qe,{className:Ke()((0,Ce.l$)(qe)?(he=qe.props)===null||he===void 0?void 0:he.className:"",`${Xe}-item-icon`)}),kn(kt));return it||(lt=Ee.createElement(xe.Z,Object.assign({},Ot,{placement:gt==="rtl"?"left":"right",overlayClassName:`${Xe}-inline-collapsed-tooltip`}),lt)),lt},te=Fe=>{var he;const{popupClassName:de,icon:ye,title:qe,theme:dt}=Fe,Re=Ee.useContext(y),{prefixCls:Xe,inlineCollapsed:Ct,theme:gt}=Re,it=(0,le.Xl)();let kt;if(!ye)kt=Ct&&!it.length&&qe&&typeof qe=="string"?Ee.createElement("div",{className:`${Xe}-inline-collapsed-noicon`},qe.charAt(0)):Ee.createElement("span",{className:`${Xe}-title-content`},qe);else{const Ft=(0,Ce.l$)(qe)&&qe.type==="span";kt=Ee.createElement(Ee.Fragment,null,(0,Ce.Tm)(ye,{className:Ke()((0,Ce.l$)(ye)?(he=ye.props)===null||he===void 0?void 0:he.className:"",`${Xe}-item-icon`)}),Ft?qe:Ee.createElement("span",{className:`${Xe}-title-content`},qe))}const kn=Ee.useMemo(()=>Object.assign(Object.assign({},Re),{firstLevel:!1}),[Re]);return Ee.createElement(y.Provider,{value:kn},Ee.createElement(le.Wd,Object.assign({},(0,De.Z)(Fe,["icon"]),{title:kt,popupClassName:Ke()(Xe,de,`${Xe}-${dt||gt}`)})))},ne=Be(18785),ae=Be(70425),ge=Be(62892),Le=Be(40875),Pe=function(Fe,he){var de={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&he.indexOf(ye)<0&&(de[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{if(he&&typeof he=="object"){const ye=he,{label:qe,children:dt,key:Re,type:Xe}=ye,Ct=Pe(ye,["label","children","key","type"]),gt=Re!=null?Re:`tmp-${de}`;return dt||Xe==="group"?Xe==="group"?Ee.createElement(le.BW,Object.assign({key:gt},Ct,{title:qe}),Ue(dt)):Ee.createElement(te,Object.assign({key:gt},Ct,{title:qe}),Ue(dt)):Xe==="divider"?Ee.createElement(Ne,Object.assign({key:gt},Ct)):Ee.createElement(ee,Object.assign({key:gt},Ct),qe)}return null}).filter(he=>he)}function Ge(Fe){return Ee.useMemo(()=>Fe&&Ue(Fe),[Fe])}var Ze=Be(64993),nt=Be(17313),ke=Be(8378),vt=Be(13826),_e=Be(29878),Nt=Be(83116),st=Be(37613),bt=Fe=>{const{componentCls:he,motionDurationSlow:de,horizontalLineHeight:ye,colorSplit:qe,lineWidth:dt,lineType:Re,itemPaddingInline:Xe}=Fe;return{[`${he}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${dt}px ${Re} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${he}-item, ${he}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xe},[`> ${he}-item:hover, > ${he}-item-active, > ${he}-submenu ${he}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${he}-item, ${he}-submenu-title`]:{transition:[`border-color ${de}`,`background ${de}`].join(",")},[`${he}-submenu-arrow`]:{display:"none"}}}},pt=Fe=>{let{componentCls:he,menuArrowOffset:de}=Fe;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(-${de})`},"&::after":{transform:`rotate(45deg) translateY(${de})`}}}}};const At=Fe=>Object.assign({},(0,nt.oN)(Fe));var zt=(Fe,he)=>{const{componentCls:de,itemColor:ye,itemSelectedColor:qe,groupTitleColor:dt,itemBg:Re,subMenuItemBg:Xe,itemSelectedBg:Ct,activeBarHeight:gt,activeBarWidth:it,activeBarBorderWidth:kt,motionDurationSlow:kn,motionEaseInOut:Ft,motionEaseOut:on,itemPaddingInline:Ot,motionDurationMid:En,itemHoverColor:lt,lineType:Jt,colorSplit:vn,itemDisabledColor:bn,dangerItemColor:qn,dangerItemHoverColor:lr,dangerItemSelectedColor:Er,dangerItemActiveBg:Cr,dangerItemSelectedBg:cr,itemHoverBg:sr,itemActiveBg:dr,menuSubMenuBg:Pr,horizontalItemSelectedColor:ta,horizontalItemSelectedBg:Wr,horizontalItemBorderRadius:Rr,horizontalItemHoverBg:so,popupBg:to}=Fe;return{[`${de}-${he}, ${de}-${he} > ${de}`]:{color:ye,background:Re,[`&${de}-root:focus-visible`]:Object.assign({},At(Fe)),[`${de}-item-group-title`]:{color:dt},[`${de}-submenu-selected`]:{[`> ${de}-submenu-title`]:{color:qe}},[`${de}-item-disabled, ${de}-submenu-disabled`]:{color:`${bn} !important`},[`${de}-item:not(${de}-item-selected):not(${de}-submenu-selected)`]:{[`&:hover, > ${de}-submenu-title:hover`]:{color:lt}},[`&:not(${de}-horizontal)`]:{[`${de}-item:not(${de}-item-selected)`]:{"&:hover":{backgroundColor:sr},"&:active":{backgroundColor:dr}},[`${de}-submenu-title`]:{"&:hover":{backgroundColor:sr},"&:active":{backgroundColor:dr}}},[`${de}-item-danger`]:{color:qn,[`&${de}-item:hover`]:{[`&:not(${de}-item-selected):not(${de}-submenu-selected)`]:{color:lr}},[`&${de}-item:active`]:{background:Cr}},[`${de}-item a`]:{"&, &:hover":{color:"inherit"}},[`${de}-item-selected`]:{color:qe,[`&${de}-item-danger`]:{color:Er},"a, a:hover":{color:"inherit"}},[`& ${de}-item-selected`]:{backgroundColor:Ct,[`&${de}-item-danger`]:{backgroundColor:cr}},[`${de}-item, ${de}-submenu-title`]:{[`&:not(${de}-item-disabled):focus-visible`]:Object.assign({},At(Fe))},[`&${de}-submenu > ${de}`]:{backgroundColor:Pr},[`&${de}-popup > ${de}`]:{backgroundColor:to},[`&${de}-horizontal`]:Object.assign(Object.assign({},he==="dark"?{borderBottom:0}:{}),{[`> ${de}-item, > ${de}-submenu`]:{top:kt,marginTop:-kt,marginBottom:0,borderRadius:Rr,"&::after":{position:"absolute",insetInline:Ot,bottom:0,borderBottom:`${gt}px solid transparent`,transition:`border-color ${kn} ${Ft}`,content:'""'},"&:hover, &-active, &-open":{background:so,"&::after":{borderBottomWidth:gt,borderBottomColor:ta}},"&-selected":{color:ta,backgroundColor:Wr,"&:hover":{backgroundColor:Wr},"&::after":{borderBottomWidth:gt,borderBottomColor:ta}}}}),[`&${de}-root`]:{[`&${de}-inline, &${de}-vertical`]:{borderInlineEnd:`${kt}px ${Jt} ${vn}`}},[`&${de}-inline`]:{[`${de}-sub${de}-inline`]:{background:Xe},[`${de}-item, ${de}-submenu-title`]:kt&&it?{width:`calc(100% + ${kt}px)`}:{},[`${de}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${it}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${En} ${on}`,`opacity ${En} ${on}`].join(","),content:'""'},[`&${de}-item-danger`]:{"&::after":{borderInlineEndColor:Er}}},[`${de}-selected, ${de}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${En} ${Ft}`,`opacity ${En} ${Ft}`].join(",")}}}}}};const Rt=Fe=>{const{componentCls:he,itemHeight:de,itemMarginInline:ye,padding:qe,menuArrowSize:dt,marginXS:Re,itemMarginBlock:Xe}=Fe,Ct=qe+dt+Re;return{[`${he}-item`]:{position:"relative",overflow:"hidden"},[`${he}-item, ${he}-submenu-title`]:{height:de,lineHeight:`${de}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Xe,width:`calc(100% - ${ye*2}px)`},[`> ${he}-item, > ${he}-submenu > ${he}-submenu-title`]:{height:de,lineHeight:`${de}px`},[`${he}-item-group-list ${he}-submenu-title, ${he}-submenu-title`]:{paddingInlineEnd:Ct}}};var Kt=Fe=>{const{componentCls:he,iconCls:de,itemHeight:ye,colorTextLightSolid:qe,dropdownWidth:dt,controlHeightLG:Re,motionDurationMid:Xe,motionEaseOut:Ct,paddingXL:gt,itemMarginInline:it,fontSizeLG:kt,motionDurationSlow:kn,paddingXS:Ft,boxShadowSecondary:on,collapsedWidth:Ot,collapsedIconSize:En}=Fe,lt={height:ye,lineHeight:`${ye}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[he]:{"&-inline, &-vertical":Object.assign({[`&${he}-root`]:{boxShadow:"none"}},Rt(Fe))},[`${he}-submenu-popup`]:{[`${he}-vertical`]:Object.assign(Object.assign({},Rt(Fe)),{boxShadow:on})}},{[`${he}-submenu-popup ${he}-vertical${he}-sub`]:{minWidth:dt,maxHeight:`calc(100vh - ${Re*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 ${Xe} ${Ct}`].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:Ot,[`&${he}-root`]:{[`${he}-item, ${he}-submenu ${he}-submenu-title`]:{[`> ${he}-inline-collapsed-noicon`]:{fontSize:kt,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% - ${kt/2}px - ${it}px)`,textOverflow:"clip",[` ${he}-submenu-arrow, ${he}-submenu-expand-icon `]:{opacity:0},[`${he}-item-icon, ${de}`]:{margin:0,fontSize:En,lineHeight:`${ye}px`,"+ span":{display:"inline-block",opacity:0}}},[`${he}-item-icon, ${de}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${he}-item-icon, ${de}`]:{display:"none"},"a, a:hover":{color:qe}},[`${he}-item-group-title`]:Object.assign(Object.assign({},nt.vS),{paddingInline:Ft})}}]};const yn=Fe=>{const{componentCls:he,motionDurationSlow:de,motionDurationMid:ye,motionEaseInOut:qe,motionEaseOut:dt,iconCls:Re,iconSize:Xe,iconMarginInlineEnd:Ct}=Fe;return{[`${he}-item, ${he}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${de}`,`background ${de}`,`padding ${de} ${qe}`].join(","),[`${he}-item-icon, ${Re}`]:{minWidth:Xe,fontSize:Xe,transition:[`font-size ${ye} ${dt}`,`margin ${de} ${qe}`,`color ${de}`].join(","),"+ span":{marginInlineStart:Ct,opacity:1,transition:[`opacity ${de} ${qe}`,`margin ${de}`,`color ${de}`].join(",")}},[`${he}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${he}-item-only-child`]:{[`> ${Re}, > ${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"}}}},Hn=Fe=>{const{componentCls:he,motionDurationSlow:de,motionEaseInOut:ye,borderRadius:qe,menuArrowSize:dt,menuArrowOffset:Re}=Fe;return{[`${he}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:dt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${de} ${ye}, opacity ${de}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:dt*.6,height:dt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${de} ${ye}`,`transform ${de} ${ye}`,`top ${de} ${ye}`,`color ${de} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Re})`},"&::after":{transform:`rotate(-45deg) translateY(${Re})`}}}}},ln=Fe=>{const{antCls:he,componentCls:de,fontSize:ye,motionDurationSlow:qe,motionDurationMid:dt,motionEaseInOut:Re,paddingXS:Xe,padding:Ct,colorSplit:gt,lineWidth:it,zIndexPopup:kt,borderRadiusLG:kn,subMenuItemBorderRadius:Ft,menuArrowSize:on,menuArrowOffset:Ot,lineType:En,menuPanelMaskInset:lt,groupTitleLineHeight:Jt,groupTitleFontSize:vn}=Fe;return[{"":{[`${de}`]:Object.assign(Object.assign({},(0,nt.dF)()),{"&-hidden":{display:"none"}})},[`${de}-submenu-hidden`]:{display:"none"}},{[de]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,nt.Wf)(Fe)),(0,nt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${de}-item`]:{flex:"none"}},[`${de}-item, ${de}-submenu, ${de}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${de}-item-group-title`]:{padding:`${Xe}px ${Ct}px`,fontSize:vn,lineHeight:Jt,transition:`all ${qe}`},[`&-horizontal ${de}-submenu`]:{transition:[`border-color ${qe} ${Re}`,`background ${qe} ${Re}`].join(",")},[`${de}-submenu, ${de}-submenu-inline`]:{transition:[`border-color ${qe} ${Re}`,`background ${qe} ${Re}`,`padding ${dt} ${Re}`].join(",")},[`${de}-submenu ${de}-sub`]:{cursor:"initial",transition:[`background ${qe} ${Re}`,`padding ${qe} ${Re}`].join(",")},[`${de}-title-content`]:{transition:`color ${qe}`},[`${de}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${de}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:gt,borderStyle:En,borderWidth:0,borderTopWidth:it,marginBlock:it,padding:0,"&-dashed":{borderStyle:"dashed"}}}),yn(Fe)),{[`${de}-item-group`]:{[`${de}-item-group-list`]:{margin:0,padding:0,[`${de}-item, ${de}-submenu-title`]:{paddingInline:`${ye*2}px ${Ct}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:kt,borderRadius:kn,boxShadow:"none",transformOrigin:"0 0",[`&${de}-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:Fe.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Fe.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Fe.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Fe.paddingXS},[`> ${de}`]:Object.assign(Object.assign(Object.assign({borderRadius:kn},yn(Fe)),Hn(Fe)),{[`${de}-item, ${de}-submenu > ${de}-submenu-title`]:{borderRadius:Ft},[`${de}-submenu-title::after`]:{transition:`transform ${qe} ${Re}`}})}}),Hn(Fe)),{[`&-inline-collapsed ${de}-submenu-arrow, &-inline ${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ot})`},"&::after":{transform:`rotate(45deg) translateX(-${Ot})`}},[`${de}-submenu-open${de}-submenu-inline > ${de}-submenu-title > ${de}-submenu-arrow`]:{transform:`translateY(-${on*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ot})`},"&::before":{transform:`rotate(45deg) translateX(${Ot})`}}})},{[`${he}-layout-header`]:{[de]:{lineHeight:"inherit"}}}]};var Wn=(Fe,he)=>(0,Nt.Z)("Menu",ye=>{if(he===!1)return[];const{colorBgElevated:qe,colorPrimary:dt,colorTextLightSolid:Re,controlHeightLG:Xe,fontSize:Ct,darkItemColor:gt,darkDangerItemColor:it,darkItemBg:kt,darkSubMenuItemBg:kn,darkItemSelectedColor:Ft,darkItemSelectedBg:on,darkDangerItemSelectedBg:Ot,darkItemHoverBg:En,darkGroupTitleColor:lt,darkItemHoverColor:Jt,darkItemDisabledColor:vn,darkDangerItemHoverColor:bn,darkDangerItemSelectedColor:qn,darkDangerItemActiveBg:lr}=ye,Er=Ct/7*5,Cr=(0,st.TS)(ye,{menuArrowSize:Er,menuHorizontalHeight:Xe*1.15,menuArrowOffset:`${Er*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),cr=(0,st.TS)(Cr,{itemColor:gt,itemHoverColor:Jt,groupTitleColor:lt,itemSelectedColor:Ft,itemBg:kt,popupBg:kt,subMenuItemBg:kn,itemActiveBg:"transparent",itemSelectedBg:on,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:En,itemDisabledColor:vn,dangerItemColor:it,dangerItemHoverColor:bn,dangerItemSelectedColor:qn,dangerItemActiveBg:lr,dangerItemSelectedBg:Ot,menuSubMenuBg:kn,horizontalItemSelectedColor:Re,horizontalItemSelectedBg:dt});return[ln(Cr),bt(Cr),Kt(Cr),zt(Cr,"light"),zt(cr,"dark"),pt(Cr),(0,ke.Z)(Cr),(0,vt.oN)(Cr,"slide-up"),(0,vt.oN)(Cr,"slide-down"),(0,_e._y)(Cr,"zoom-big")]},ye=>{const{colorPrimary:qe,colorError:dt,colorTextDisabled:Re,colorErrorBg:Xe,colorText:Ct,colorTextDescription:gt,colorBgContainer:it,colorFillAlter:kt,colorFillContent:kn,lineWidth:Ft,lineWidthBold:on,controlItemBgActive:Ot,colorBgTextHover:En,controlHeightLG:lt,lineHeight:Jt,colorBgElevated:vn,marginXXS:bn,padding:qn,fontSize:lr,controlHeightSM:Er,fontSizeLG:Cr,colorTextLightSolid:cr,colorErrorHover:sr}=ye,dr=new Ze.C(cr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ye.zIndexPopupBase+50,radiusItem:ye.borderRadiusLG,itemBorderRadius:ye.borderRadiusLG,radiusSubMenuItem:ye.borderRadiusSM,subMenuItemBorderRadius:ye.borderRadiusSM,colorItemText:Ct,itemColor:Ct,colorItemTextHover:Ct,itemHoverColor:Ct,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:gt,groupTitleColor:gt,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:it,itemBg:it,colorItemBgHover:En,itemHoverBg:En,colorItemBgActive:kn,itemActiveBg:Ot,colorSubItemBg:kt,subMenuItemBg:kt,colorItemBgSelected:Ot,itemSelectedBg:Ot,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:on,activeBarHeight:on,colorActiveBarBorderSize:Ft,activeBarBorderWidth:Ft,colorItemTextDisabled:Re,itemDisabledColor:Re,colorDangerItemText:dt,dangerItemColor:dt,colorDangerItemTextHover:dt,dangerItemHoverColor:dt,colorDangerItemTextSelected:dt,dangerItemSelectedColor:dt,colorDangerItemBgActive:Xe,dangerItemActiveBg:Xe,colorDangerItemBgSelected:Xe,dangerItemSelectedBg:Xe,itemMarginInline:ye.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:lt,groupTitleLineHeight:Jt,collapsedWidth:lt*2,popupBg:vn,itemMarginBlock:bn,itemPaddingInline:qn,horizontalLineHeight:`${lt*1.15}px`,iconSize:lr,iconMarginInlineEnd:Er-lr,collapsedIconSize:Cr,groupTitleFontSize:lr,darkItemDisabledColor:new Ze.C(cr).setAlpha(.25).toRgbString(),darkItemColor:dr,darkDangerItemColor:dt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:cr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:dt,darkItemHoverBg:"transparent",darkGroupTitleColor:dr,darkItemHoverColor:cr,darkDangerItemHoverColor:sr,darkDangerItemSelectedColor:cr,darkDangerItemActiveBg:dt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Fe),Bt=function(Fe,he){var de={};for(var ye in Fe)Object.prototype.hasOwnProperty.call(Fe,ye)&&he.indexOf(ye)<0&&(de[ye]=Fe[ye]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,ye=Object.getOwnPropertySymbols(Fe);qe{var de,ye;const qe=Ee.useContext(Le.Z),dt=qe||{},{getPrefixCls:Re,getPopupContainer:Xe,direction:Ct,menu:gt}=Ee.useContext(He.E_),it=Re(),{prefixCls:kt,className:kn,style:Ft,theme:on="light",expandIcon:Ot,_internalDisableMenuItemTitleTooltip:En,inlineCollapsed:lt,siderCollapsed:Jt,items:vn,children:bn,rootClassName:qn,mode:lr,selectable:Er,onClick:Cr,overflowedIndicatorPopupClassName:cr}=Fe,sr=Bt(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dr=(0,De.Z)(sr,["collapsedWidth"]),Pr=Ge(vn)||bn;(de=dt.validator)===null||de===void 0||de.call(dt,{mode:lr});const ta=(0,ae.useEvent)(function(){var Ro;Cr==null||Cr.apply(void 0,arguments),(Ro=dt.onClick)===null||Ro===void 0||Ro.call(dt)}),Wr=dt.mode||lr,Rr=Er!=null?Er:dt.selectable,so=Ee.useMemo(()=>Jt!==void 0?Jt:lt,[lt,Jt]),to={horizontal:{motionName:`${it}-slide-up`},inline:(0,ge.Z)(it),other:{motionName:`${it}-zoom-big`}},Hr=Re("menu",kt||dt.prefixCls),[sn,Oa]=Wn(Hr,!qe),Po=Ke()(`${Hr}-${on}`,gt==null?void 0:gt.className,kn);let Ei;if(typeof Ot=="function")Ei=Ot;else if(Ot===null||Ot===!1)Ei=null;else if(dt.expandIcon===null||dt.expandIcon===!1)Ei=null;else{const Ro=Ot!=null?Ot:dt.expandIcon;Ei=(0,Ce.Tm)(Ro,{className:Ke()(`${Hr}-submenu-expand-icon`,(0,Ce.l$)(Ro)?(ye=Ro.props)===null||ye===void 0?void 0:ye.className:"")})}const So=Ee.useMemo(()=>({prefixCls:Hr,inlineCollapsed:so||!1,direction:Ct,firstLevel:!0,theme:on,mode:Wr,disableMenuItemTitleTooltip:En}),[Hr,so,Ct,En,on]);return sn(Ee.createElement(Le.Z.Provider,{value:null},Ee.createElement(y.Provider,{value:So},Ee.createElement(le.ZP,Object.assign({getPopupContainer:Xe,overflowedIndicator:Ee.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ke()(Hr,`${Hr}-${on}`,cr),mode:Wr,selectable:Rr,onClick:ta},dr,{inlineCollapsed:so,style:Object.assign(Object.assign({},gt==null?void 0:gt.style),Ft),className:Po,prefixCls:Hr,direction:Ct,defaultMotions:to,expandIcon:Ei,ref:he,rootClassName:Ke()(qn,Oa)}),Pr))))});const Je=(0,Ee.forwardRef)((Fe,he)=>{const de=(0,Ee.useRef)(null),ye=Ee.useContext(je.D);return(0,Ee.useImperativeHandle)(he,()=>({menu:de.current,focus:qe=>{var dt;(dt=de.current)===null||dt===void 0||dt.focus(qe)}})),Ee.createElement(ar,Object.assign({ref:de},Fe,ye))});Je.Item=ee,Je.SubMenu=te,Je.Divider=Ne,Je.ItemGroup=le.BW;var gn=Je},58421:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return dt}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(Xe,Ct){return Ee.createElement(Ke.Z,(0,le.Z)({},Xe,{ref:Ct,icon:rt}))},ve=Ee.forwardRef(He),Se=ve,Ne=Be(49198),fe=Be(33853),De=Be(38819),xe=Be(92310),Ce=Be.n(xe),ie=Be(20068),y=Be(33885),a=Be(67732),ee=Be(83652),E=Be(42403),te=Be(158),ne=Be(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ge=ae,Le=Be(91735),Pe=function(Re){(0,E.Z)(Ct,Re);var Xe=(0,te.Z)(Ct);function Ct(){var gt;(0,a.Z)(this,Ct);for(var it=arguments.length,kt=new Array(it),kn=0;kn=0||Ft.relatedTarget.className.indexOf("".concat(lt,"-item"))>=0))&&En(gt.getValidValue()))},gt.go=function(Ft){var on=gt.state.goInputText;on!==""&&(Ft.keyCode===ge.ENTER||Ft.type==="click")&&(gt.setState({goInputText:""}),gt.props.quickGo(gt.getValidValue()))},gt}return(0,ee.Z)(Ct,[{key:"getPageSizeOptions",value:function(){var it=this.props,kt=it.pageSize,kn=it.pageSizeOptions;return kn.some(function(Ft){return Ft.toString()===kt.toString()})?kn:kn.concat([kt.toString()]).sort(function(Ft,on){var Ot=Number.isNaN(Number(Ft))?0:Number(Ft),En=Number.isNaN(Number(on))?0:Number(on);return Ot-En})}},{key:"render",value:function(){var it=this,kt=this.props,kn=kt.pageSize,Ft=kt.locale,on=kt.rootPrefixCls,Ot=kt.changeSize,En=kt.quickGo,lt=kt.goButton,Jt=kt.selectComponentClass,vn=kt.buildOptionText,bn=kt.selectPrefixCls,qn=kt.disabled,lr=this.state.goInputText,Er="".concat(on,"-options"),Cr=Jt,cr=null,sr=null,dr=null;if(!Ot&&!En)return null;var Pr=this.getPageSizeOptions();if(Ot&&Cr){var ta=Pr.map(function(Wr,Rr){return Ee.createElement(Cr.Option,{key:Rr,value:Wr.toString()},(vn||it.buildOptionText)(Wr))});cr=Ee.createElement(Cr,{disabled:qn,prefixCls:bn,showSearch:!1,className:"".concat(Er,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(kn||Pr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Rr){return Rr.parentNode},"aria-label":Ft.page_size,defaultOpen:!1},ta)}return En&&(lt&&(dr=typeof lt=="boolean"?Ee.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:qn,className:"".concat(Er,"-quick-jumper-button")},Ft.jump_to_confirm):Ee.createElement("span",{onClick:this.go,onKeyUp:this.go},lt)),sr=Ee.createElement("div",{className:"".concat(Er,"-quick-jumper")},Ft.jump_to,Ee.createElement("input",{disabled:qn,type:"text",value:lr,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ft.page}),Ft.page,dr)),Ee.createElement("li",{className:"".concat(Er)},cr,sr)}}]),Ct}(Ee.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ue=Pe,Ge=function(Xe){var Ct,gt=Xe.rootPrefixCls,it=Xe.page,kt=Xe.active,kn=Xe.className,Ft=Xe.showTitle,on=Xe.onClick,Ot=Xe.onKeyPress,En=Xe.itemRender,lt="".concat(gt,"-item"),Jt=Ce()(lt,"".concat(lt,"-").concat(it),(Ct={},(0,ie.Z)(Ct,"".concat(lt,"-active"),kt),(0,ie.Z)(Ct,"".concat(lt,"-disabled"),!it),(0,ie.Z)(Ct,Xe.className,kn),Ct)),vn=function(){on(it)},bn=function(Er){Ot(Er,on,it)},qn=En(it,"page",Ee.createElement("a",{rel:"nofollow"},it));return qn?Ee.createElement("li",{title:Ft?it.toString():null,className:Jt,onClick:vn,onKeyPress:bn,tabIndex:0},qn):null},Ze=Ge;function nt(){}function ke(Re){var Xe=Number(Re);return typeof Xe=="number"&&!Number.isNaN(Xe)&&isFinite(Xe)&&Math.floor(Xe)===Xe}var vt=function(Xe,Ct,gt){return gt};function _e(Re,Xe,Ct){var gt=typeof Re=="undefined"?Xe.pageSize:Re;return Math.floor((Ct.total-1)/gt)+1}var Nt=function(Re){(0,E.Z)(Ct,Re);var Xe=(0,te.Z)(Ct);function Ct(gt){var it;(0,a.Z)(this,Ct),it=Xe.call(this,gt),it.paginationNode=Ee.createRef(),it.getJumpPrevPage=function(){return Math.max(1,it.state.current-(it.props.showLessItems?3:5))},it.getJumpNextPage=function(){return Math.min(_e(void 0,it.state,it.props),it.state.current+(it.props.showLessItems?3:5))},it.getItemIcon=function(Ot,En){var lt=it.props.prefixCls,Jt=Ot||Ee.createElement("button",{type:"button","aria-label":En,className:"".concat(lt,"-item-link")});return typeof Ot=="function"&&(Jt=Ee.createElement(Ot,(0,y.Z)({},it.props))),Jt},it.isValid=function(Ot){var En=it.props.total;return ke(Ot)&&Ot!==it.state.current&&ke(En)&&En>0},it.shouldDisplayQuickJumper=function(){var Ot=it.props,En=Ot.showQuickJumper,lt=Ot.total,Jt=it.state.pageSize;return lt<=Jt?!1:En},it.handleKeyDown=function(Ot){(Ot.keyCode===ge.ARROW_UP||Ot.keyCode===ge.ARROW_DOWN)&&Ot.preventDefault()},it.handleKeyUp=function(Ot){var En=it.getValidValue(Ot),lt=it.state.currentInputValue;En!==lt&&it.setState({currentInputValue:En}),Ot.keyCode===ge.ENTER?it.handleChange(En):Ot.keyCode===ge.ARROW_UP?it.handleChange(En-1):Ot.keyCode===ge.ARROW_DOWN&&it.handleChange(En+1)},it.handleBlur=function(Ot){var En=it.getValidValue(Ot);it.handleChange(En)},it.changePageSize=function(Ot){var En=it.state.current,lt=_e(Ot,it.state,it.props);En=En>lt?lt:En,lt===0&&(En=it.state.current),typeof Ot=="number"&&("pageSize"in it.props||it.setState({pageSize:Ot}),"current"in it.props||it.setState({current:En,currentInputValue:En})),it.props.onShowSizeChange(En,Ot),"onChange"in it.props&&it.props.onChange&&it.props.onChange(En,Ot)},it.handleChange=function(Ot){var En=it.props,lt=En.disabled,Jt=En.onChange,vn=it.state,bn=vn.pageSize,qn=vn.current,lr=vn.currentInputValue;if(it.isValid(Ot)&&!lt){var Er=_e(void 0,it.state,it.props),Cr=Ot;return Ot>Er?Cr=Er:Ot<1&&(Cr=1),"current"in it.props||it.setState({current:Cr}),Cr!==lr&&it.setState({currentInputValue:Cr}),Jt(Cr,bn),Cr}return qn},it.prev=function(){it.hasPrev()&&it.handleChange(it.state.current-1)},it.next=function(){it.hasNext()&&it.handleChange(it.state.current+1)},it.jumpPrev=function(){it.handleChange(it.getJumpPrevPage())},it.jumpNext=function(){it.handleChange(it.getJumpNextPage())},it.hasPrev=function(){return it.state.current>1},it.hasNext=function(){return it.state.current<_e(void 0,it.state,it.props)},it.runIfEnter=function(Ot,En){if(Ot.key==="Enter"||Ot.charCode===13){for(var lt=arguments.length,Jt=new Array(lt>2?lt-2:0),vn=2;vn=kn?on=kn:on=Number(kt),on}},{key:"getShowSizeChanger",value:function(){var it=this.props,kt=it.showSizeChanger,kn=it.total,Ft=it.totalBoundaryShowSizeChanger;return typeof kt!="undefined"?kt:kn>Ft}},{key:"render",value:function(){var it=this.props,kt=it.prefixCls,kn=it.className,Ft=it.style,on=it.disabled,Ot=it.hideOnSinglePage,En=it.total,lt=it.locale,Jt=it.showQuickJumper,vn=it.showLessItems,bn=it.showTitle,qn=it.showTotal,lr=it.simple,Er=it.itemRender,Cr=it.showPrevNextJumpers,cr=it.jumpPrevIcon,sr=it.jumpNextIcon,dr=it.selectComponentClass,Pr=it.selectPrefixCls,ta=it.pageSizeOptions,Wr=this.state,Rr=Wr.current,so=Wr.pageSize,to=Wr.currentInputValue;if(Ot===!0&&En<=so)return null;var Hr=_e(void 0,this.state,this.props),sn=[],Oa=null,Po=null,Ei=null,So=null,Ro=null,Gi=Jt&&Jt.goButton,Mi=vn?1:2,qa=Rr-1>0?Rr-1:0,In=Rr+1En?En:Rr*so]));if(lr){Gi&&(typeof Gi=="boolean"?Ro=Ee.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},lt.jump_to_confirm):Ro=Ee.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gi),Ro=Ee.createElement("li",{title:bn?"".concat(lt.jump_to).concat(Rr,"/").concat(Hr):null,className:"".concat(kt,"-simple-pager")},Ro));var Ur=this.renderPrev(qa);return Ee.createElement("ul",(0,le.Z)({className:Ce()(kt,"".concat(kt,"-simple"),(0,ie.Z)({},"".concat(kt,"-disabled"),on),kn),style:Ft,ref:this.paginationNode},Tn),pn,Ur?Ee.createElement("li",{title:bn?lt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ur):null,Ee.createElement("li",{title:bn?"".concat(Rr,"/").concat(Hr):null,className:"".concat(kt,"-simple-pager")},Ee.createElement("input",{type:"text",value:to,disabled:on,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ee.createElement("span",{className:"".concat(kt,"-slash")},"/"),Hr),Ee.createElement("li",{title:bn?lt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(In)),Ro)}if(Hr<=3+Mi*2){var ua={locale:lt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:bn,itemRender:Er};Hr||sn.push(Ee.createElement(Ze,(0,le.Z)({},ua,{key:"noPager",page:1,className:"".concat(kt,"-item-disabled")})));for(var Tr=1;Tr<=Hr;Tr+=1){var Fa=Rr===Tr;sn.push(Ee.createElement(Ze,(0,le.Z)({},ua,{key:Tr,page:Tr,active:Fa})))}}else{var Na=vn?lt.prev_3:lt.prev_5,Ma=vn?lt.next_3:lt.next_5,jo=Er(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(cr,"prev page")),pi=Er(this.getJumpNextPage(),"jump-next",this.getItemIcon(sr,"next page"));Cr&&(Oa=jo?Ee.createElement("li",{title:bn?Na:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ce()("".concat(kt,"-jump-prev"),(0,ie.Z)({},"".concat(kt,"-jump-prev-custom-icon"),!!cr))},jo):null,Po=pi?Ee.createElement("li",{title:bn?Ma:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ce()("".concat(kt,"-jump-next"),(0,ie.Z)({},"".concat(kt,"-jump-next-custom-icon"),!!sr))},pi):null),So=Ee.createElement(Ze,{locale:lt,last:!0,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Hr,page:Hr,active:!1,showTitle:bn,itemRender:Er}),Ei=Ee.createElement(Ze,{locale:lt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:bn,itemRender:Er});var Ir=Math.max(1,Rr-Mi),Ja=Math.min(Rr+Mi,Hr);Rr-1<=Mi&&(Ja=1+Mi*2),Hr-Rr<=Mi&&(Ir=Hr-Mi*2);for(var Ci=Ir;Ci<=Ja;Ci+=1){var ii=Rr===Ci;sn.push(Ee.createElement(Ze,{locale:lt,rootPrefixCls:kt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ci,page:Ci,active:ii,showTitle:bn,itemRender:Er}))}Rr-1>=Mi*2&&Rr!==3&&(sn[0]=(0,Ee.cloneElement)(sn[0],{className:"".concat(kt,"-item-after-jump-prev")}),sn.unshift(Oa)),Hr-Rr>=Mi*2&&Rr!==Hr-2&&(sn[sn.length-1]=(0,Ee.cloneElement)(sn[sn.length-1],{className:"".concat(kt,"-item-before-jump-next")}),sn.push(Po)),Ir!==1&&sn.unshift(Ei),Ja!==Hr&&sn.push(So)}var Do=!this.hasPrev()||!Hr,Lo=!this.hasNext()||!Hr,Zi=this.renderPrev(qa),Os=this.renderNext(In);return Ee.createElement("ul",(0,le.Z)({className:Ce()(kt,kn,(0,ie.Z)({},"".concat(kt,"-disabled"),on)),style:Ft,ref:this.paginationNode},Tn),pn,Zi?Ee.createElement("li",{title:bn?lt.prev_page:null,onClick:this.prev,tabIndex:Do?null:0,onKeyPress:this.runIfEnterPrev,className:Ce()("".concat(kt,"-prev"),(0,ie.Z)({},"".concat(kt,"-disabled"),Do)),"aria-disabled":Do},Zi):null,sn,Os?Ee.createElement("li",{title:bn?lt.next_page:null,onClick:this.next,tabIndex:Lo?null:0,onKeyPress:this.runIfEnterNext,className:Ce()("".concat(kt,"-next"),(0,ie.Z)({},"".concat(kt,"-disabled"),Lo)),"aria-disabled":Lo},Os):null,Ee.createElement(Ue,{disabled:on,locale:lt,rootPrefixCls:kt,selectComponentClass:dr,selectPrefixCls:Pr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Rr,pageSize:so,pageSizeOptions:ta,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gi}))}}],[{key:"getDerivedStateFromProps",value:function(it,kt){var kn={};if("current"in it&&(kn.current=it.current,it.current!==kt.current&&(kn.currentInputValue=kn.current)),"pageSize"in it&&it.pageSize!==kt.pageSize){var Ft=kt.current,on=_e(it.pageSize,kt,it);Ft=Ft>on?on:Ft,"current"in it||(kn.current=Ft,kn.currentInputValue=Ft),kn.pageSize=it.pageSize}return kn}}]),Ct}(Ee.Component);Nt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:nt,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:nt,locale:Le.Z,style:{},itemRender:vt,totalBoundaryShowSizeChanger:50};var st=Nt,ot=Be(22075),bt=Be(36355),ct=Be(19716),pt=Be(8628),At=Be(9763),tt=Be(57809);const zt=Re=>Ee.createElement(tt.default,Object.assign({},Re,{showSearch:!0,size:"small"})),Rt=Re=>Ee.createElement(tt.default,Object.assign({},Re,{showSearch:!0,size:"middle"}));zt.Option=tt.default.Option,Rt.Option=tt.default.Option;var ft=Be(9937),Kt=Be(17313),yn=Be(83116),Hn=Be(37613);const ln=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed"}}},[`&${Xe}-disabled`]:{cursor:"not-allowed",[`${Xe}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Re.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Re.colorBorder,backgroundColor:Re.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Re.itemActiveBgDisabled},a:{color:Re.itemActiveColorDisabled}}},[`${Xe}-item-link`]:{color:Re.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Xe}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Xe}-simple-pager`]:{color:Re.colorTextDisabled},[`${Xe}-jump-prev, ${Xe}-jump-next`]:{[`${Xe}-item-link-icon`]:{opacity:0},[`${Xe}-item-ellipsis`]:{opacity:1}}},[`&${Xe}-simple`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&${Xe}-disabled ${Xe}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Wn=Re=>{const{componentCls:Xe}=Re;return{[`&${Xe}-mini ${Xe}-total-text, &${Xe}-mini ${Xe}-simple-pager`]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-item`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM-2}px`},[`&${Xe}-mini:not(${Xe}-disabled) ${Xe}-item:not(${Xe}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},[`&${Xe}-mini ${Xe}-prev, &${Xe}-mini ${Xe}-next`]:{minWidth:Re.itemSizeSM,height:Re.itemSizeSM,margin:0,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini:not(${Xe}-disabled)`]:{[`${Xe}-prev, ${Xe}-next`]:{[`&:hover ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${Xe}-disabled:hover ${Xe}-item-link`]:{backgroundColor:"transparent"}}},[` &${Xe}-mini ${Xe}-prev ${Xe}-item-link, &${Xe}-mini ${Xe}-next ${Xe}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}},[`&${Xe}-mini ${Xe}-jump-prev, &${Xe}-mini ${Xe}-jump-next`]:{height:Re.itemSizeSM,marginInlineEnd:0,lineHeight:`${Re.itemSizeSM}px`},[`&${Xe}-mini ${Xe}-options`]:{marginInlineStart:Re.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Re.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ft.x0)(Re)),{width:Re.paginationMiniQuickJumperInputWidth,height:Re.controlHeightSM})}}}},Bt=Re=>{const{componentCls:Xe}=Re;return{[` &${Xe}-simple ${Xe}-prev, &${Xe}-simple ${Xe}-next `]:{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`,verticalAlign:"top",[`${Xe}-item-link`]:{height:Re.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive},"&::after":{height:Re.itemSizeSM,lineHeight:`${Re.itemSizeSM}px`}}},[`&${Xe}-simple ${Xe}-simple-pager`]:{display:"inline-block",height:Re.itemSizeSM,marginInlineEnd:Re.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Re.marginXS,padding:`0 ${Re.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Re.itemInputBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadius,outline:"none",transition:`border-color ${Re.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Re.colorPrimary},"&:focus":{borderColor:Re.colorPrimaryHover,boxShadow:`${Re.inputOutlineOffset}px 0 ${Re.controlOutlineWidth}px ${Re.controlOutline}`},"&[disabled]":{color:Re.colorTextDisabled,backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,cursor:"not-allowed"}}}}},Un=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-jump-prev, ${Xe}-jump-next`]:{outline:0,[`${Xe}-item-container`]:{position:"relative",[`${Xe}-item-link-icon`]:{color:Re.colorPrimary,fontSize:Re.fontSizeSM,opacity:0,transition:`all ${Re.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Xe}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Re.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Re.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Re.paginationEllipsisTextIndent,opacity:1,transition:`all ${Re.motionDurationMid}`}},"&:hover":{[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}}},[` ${Xe}-prev, ${Xe}-jump-prev, ${Xe}-jump-next `]:{marginInlineEnd:Re.marginXS},[` ${Xe}-prev, ${Xe}-next, ${Xe}-jump-prev, ${Xe}-jump-next `]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,color:Re.colorText,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Re.borderRadius,cursor:"pointer",transition:`all ${Re.motionDurationMid}`},[`${Xe}-prev, ${Xe}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Re.colorText,cursor:"pointer",userSelect:"none"},[`${Xe}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Re.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:"none",transition:`all ${Re.motionDurationMid}`},[`&:hover ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextHover},[`&:active ${Xe}-item-link`]:{backgroundColor:Re.colorBgTextActive},[`&${Xe}-disabled:hover`]:{[`${Xe}-item-link`]:{backgroundColor:"transparent"}}},[`${Xe}-slash`]:{marginInlineEnd:Re.paginationSlashMarginInlineEnd,marginInlineStart:Re.paginationSlashMarginInlineStart},[`${Xe}-options`]:{display:"inline-block",marginInlineStart:Re.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Re.controlHeight,marginInlineStart:Re.marginXS,lineHeight:`${Re.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ft.ik)(Re)),{width:Re.controlHeightLG*1.25,height:Re.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Re.marginXS,marginInlineEnd:Re.marginXS})}}}},ar=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}-item`]:{display:"inline-block",minWidth:Re.itemSize,height:Re.itemSize,marginInlineEnd:Re.marginXS,fontFamily:Re.fontFamily,lineHeight:`${Re.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Re.lineWidth}px ${Re.lineType} transparent`,borderRadius:Re.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Re.paginationItemPaddingInline}px`,color:Re.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Xe}-item-active)`]:{"&:hover":{transition:`all ${Re.motionDurationMid}`,backgroundColor:Re.colorBgTextHover},"&:active":{backgroundColor:Re.colorBgTextActive}},"&-active":{fontWeight:Re.fontWeightStrong,backgroundColor:Re.itemActiveBg,borderColor:Re.colorPrimary,a:{color:Re.colorPrimary},"&:hover":{borderColor:Re.colorPrimaryHover},"&:hover a":{color:Re.colorPrimaryHover}}}}},Je=Re=>{const{componentCls:Xe}=Re;return{[Xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Kt.Wf)(Re)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Xe}-total-text`]:{display:"inline-block",height:Re.itemSize,marginInlineEnd:Re.marginXS,lineHeight:`${Re.itemSize-2}px`,verticalAlign:"middle"}}),ar(Re)),Un(Re)),Bt(Re)),Wn(Re)),ln(Re)),{[`@media only screen and (max-width: ${Re.screenLG}px)`]:{[`${Xe}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Re.screenSM}px)`]:{[`${Xe}-options`]:{display:"none"}}}),[`&${Re.componentCls}-rtl`]:{direction:"rtl"}}},gn=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}${Xe}-disabled:not(${Xe}-mini)`]:{"&, &:hover":{[`${Xe}-item-link`]:{borderColor:Re.colorBorder}},"&:focus-visible":{[`${Xe}-item-link`]:{borderColor:Re.colorBorder}},[`${Xe}-item, ${Xe}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,[`&:hover:not(${Xe}-item-active)`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,a:{color:Re.colorTextDisabled}},[`&${Xe}-item-active`]:{backgroundColor:Re.itemActiveBgDisabled}},[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,color:Re.colorTextDisabled},[`${Xe}-item-link`]:{backgroundColor:Re.colorBgContainerDisabled,borderColor:Re.colorBorder}}},[`${Xe}:not(${Xe}-mini)`]:{[`${Xe}-prev, ${Xe}-next`]:{"&:hover button":{borderColor:Re.colorPrimaryHover,backgroundColor:Re.itemBg},[`${Xe}-item-link`]:{backgroundColor:Re.itemLinkBg,borderColor:Re.colorBorder},[`&:hover ${Xe}-item-link`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,color:Re.colorPrimary},[`&${Xe}-disabled`]:{[`${Xe}-item-link`]:{borderColor:Re.colorBorder,color:Re.colorTextDisabled}}},[`${Xe}-item`]:{backgroundColor:Re.itemBg,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,[`&:hover:not(${Xe}-item-active)`]:{borderColor:Re.colorPrimary,backgroundColor:Re.itemBg,a:{color:Re.colorPrimary}},"&-active":{borderColor:Re.colorPrimary}}}}},Fe=Re=>{const{componentCls:Xe}=Re;return{[`${Xe}:not(${Xe}-disabled)`]:{[`${Xe}-item`]:Object.assign({},(0,Kt.Qy)(Re)),[`${Xe}-jump-prev, ${Xe}-jump-next`]:{"&:focus-visible":Object.assign({[`${Xe}-item-link-icon`]:{opacity:1},[`${Xe}-item-ellipsis`]:{opacity:0}},(0,Kt.oN)(Re))},[`${Xe}-prev, ${Xe}-next`]:{[`&:focus-visible ${Xe}-item-link`]:Object.assign({},(0,Kt.oN)(Re))}}}};var he=(0,yn.Z)("Pagination",Re=>{const Xe=(0,Hn.TS)(Re,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Re.marginXXS/2,paginationMiniQuickJumperInputWidth:Re.controlHeightLG*1.1,paginationItemPaddingInline:Re.marginXXS*1.5,paginationEllipsisLetterSpacing:Re.marginXXS/2,paginationSlashMarginInlineStart:Re.marginXXS,paginationSlashMarginInlineEnd:Re.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ft.e5)(Re),(0,ft.TM)(Re));return[Je(Xe),Fe(Xe),Re.wireframe&&gn(Xe)]},Re=>({itemBg:Re.colorBgContainer,itemSize:Re.controlHeight,itemSizeSM:Re.controlHeightSM,itemActiveBg:Re.colorBgContainer,itemLinkBg:Re.colorBgContainer,itemActiveColorDisabled:Re.colorTextDisabled,itemActiveBgDisabled:Re.controlItemBgActiveDisabled,itemInputBg:Re.colorBgContainer,miniOptionsSizeChangerTop:0})),de=function(Re,Xe){var Ct={};for(var gt in Re)Object.prototype.hasOwnProperty.call(Re,gt)&&Xe.indexOf(gt)<0&&(Ct[gt]=Re[gt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,gt=Object.getOwnPropertySymbols(Re);it{const{prefixCls:Xe,selectPrefixCls:Ct,className:gt,rootClassName:it,style:kt,size:kn,locale:Ft,selectComponentClass:on,responsive:Ot,showSizeChanger:En}=Re,lt=de(Re,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Jt}=(0,pt.Z)(Ot),{getPrefixCls:vn,direction:bn,pagination:qn={}}=Ee.useContext(bt.E_),lr=vn("pagination",Xe),[Er,Cr]=he(lr),cr=En!=null?En:qn.showSizeChanger,sr=Ee.useMemo(()=>{const Hr=Ee.createElement("span",{className:`${lr}-item-ellipsis`},"\u2022\u2022\u2022"),sn=Ee.createElement("button",{className:`${lr}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?Ee.createElement(De.Z,null):Ee.createElement(fe.Z,null)),Oa=Ee.createElement("button",{className:`${lr}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?Ee.createElement(fe.Z,null):Ee.createElement(De.Z,null)),Po=Ee.createElement("a",{className:`${lr}-item-link`},Ee.createElement("div",{className:`${lr}-item-container`},bn==="rtl"?Ee.createElement(Ne.Z,{className:`${lr}-item-link-icon`}):Ee.createElement(Se,{className:`${lr}-item-link-icon`}),Hr)),Ei=Ee.createElement("a",{className:`${lr}-item-link`},Ee.createElement("div",{className:`${lr}-item-container`},bn==="rtl"?Ee.createElement(Se,{className:`${lr}-item-link-icon`}):Ee.createElement(Ne.Z,{className:`${lr}-item-link-icon`}),Hr));return{prevIcon:sn,nextIcon:Oa,jumpPrevIcon:Po,jumpNextIcon:Ei}},[bn,lr]),[dr]=(0,At.Z)("Pagination",ot.Z),Pr=Object.assign(Object.assign({},dr),Ft),ta=(0,ct.Z)(kn),Wr=ta==="small"||!!(Jt&&!ta&&Ot),Rr=vn("select",Ct),so=Ce()({[`${lr}-mini`]:Wr,[`${lr}-rtl`]:bn==="rtl"},qn==null?void 0:qn.className,gt,it,Cr),to=Object.assign(Object.assign({},qn==null?void 0:qn.style),kt);return Er(Ee.createElement(st,Object.assign({},sr,lt,{style:to,prefixCls:lr,selectPrefixCls:Rr,className:so,selectComponentClass:on||(Wr?zt:Rt),locale:Pr,showSizeChanger:cr})))},dt=qe},93948:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return En}});var le=Be(59301),Ee=Be(29679),je=Be(40001),rt=Be(19248),Ke=Be(99267),He=Be(92310),ve=Be.n(He),Se=Be(2738),Ne=Be(36355),fe=Be(54476),De=Be(33885),xe=Be(75931),Ce={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var Jt=(0,le.useRef)([]),vn=(0,le.useRef)(null);return(0,le.useEffect)(function(){var bn=Date.now(),qn=!1;Jt.current.forEach(function(lr){if(lr){qn=!0;var Er=lr.style;Er.transitionDuration=".3s, .3s, .3s, .06s",vn.current&&bn-vn.current<100&&(Er.transitionDuration="0s, 0s")}}),qn&&(vn.current=Date.now())}),Jt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Jt){var vn=(0,De.Z)((0,De.Z)({},Ce),Jt),bn=vn.className,qn=vn.percent,lr=vn.prefixCls,Er=vn.strokeColor,Cr=vn.strokeLinecap,cr=vn.strokeWidth,sr=vn.style,dr=vn.trailColor,Pr=vn.trailWidth,ta=vn.transition,Wr=(0,xe.Z)(vn,y);delete Wr.gapPosition;var Rr=Array.isArray(qn)?qn:[qn],so=Array.isArray(Er)?Er:[Er],to=ie(),Hr=cr/2,sn=100-cr/2,Oa="M ".concat(Cr==="round"?Hr:0,",").concat(Hr,` L `).concat(Cr==="round"?sn:100,",").concat(Hr),Po="0 0 100 ".concat(cr),Ei=0;return le.createElement("svg",(0,fe.Z)({className:ve()("".concat(lr,"-line"),bn),viewBox:Po,preserveAspectRatio:"none",style:sr},Wr),le.createElement("path",{className:"".concat(lr,"-line-trail"),d:Oa,strokeLinecap:Cr,stroke:dr,strokeWidth:Pr||cr,fillOpacity:"0"}),Rr.map(function(So,Ro){var Gi=1;switch(Cr){case"round":Gi=1-cr/100;break;case"square":Gi=1-cr/2/100;break;default:Gi=1;break}var Mi={strokeDasharray:"".concat(So*Gi,"px, 100px"),strokeDashoffset:"-".concat(Ei,"px"),transition:ta||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},qa=so[Ro]||so[so.length-1];return Ei+=So,le.createElement("path",{key:Ro,className:"".concat(lr,"-line-path"),d:Oa,strokeLinecap:Cr,stroke:qa,strokeWidth:cr,fillOpacity:"0",ref:function(Tn){to[Ro]=Tn},style:Mi})}))},ee=a,E=Be(76190),te=Be(42978),ne=Be(47273),ae=0,ge=(0,ne.Z)();function Le(){var lt;return ge?(lt=ae,ae+=1):lt="TEST_OR_SSR",lt}var Pe=function(lt){var Jt=le.useState(),vn=(0,te.Z)(Jt,2),bn=vn[0],qn=vn[1];return le.useEffect(function(){qn("rc_progress_".concat(Le()))},[]),lt||bn},Ue=function(Jt){var vn=Jt.bg,bn=Jt.children;return le.createElement("div",{style:{width:"100%",height:"100%",background:vn}},bn)};function Ge(lt,Jt){return Object.keys(lt).map(function(vn){var bn=parseFloat(vn),qn="".concat(Math.floor(bn*Jt),"%");return"".concat(lt[vn]," ").concat(qn)})}var Ze=le.forwardRef(function(lt,Jt){var vn=lt.prefixCls,bn=lt.color,qn=lt.gradientId,lr=lt.radius,Er=lt.style,Cr=lt.ptg,cr=lt.strokeLinecap,sr=lt.strokeWidth,dr=lt.size,Pr=lt.gapDegree,ta=bn&&(0,E.Z)(bn)==="object",Wr=ta?"#FFF":void 0,Rr=dr/2,so=le.createElement("circle",{className:"".concat(vn,"-circle-path"),r:lr,cx:Rr,cy:Rr,stroke:Wr,strokeLinecap:cr,strokeWidth:sr,opacity:Cr===0?0:1,style:Er,ref:Jt});if(!ta)return so;var to="".concat(qn,"-conic"),Hr=Pr?"".concat(180+Pr/2,"deg"):"0deg",sn=Ge(bn,(360-Pr)/360),Oa=Ge(bn,1),Po="conic-gradient(from ".concat(Hr,", ").concat(sn.join(", "),")"),Ei="linear-gradient(to ".concat(Pr?"bottom":"top",", ").concat(Oa.join(", "),")");return le.createElement(le.Fragment,null,le.createElement("mask",{id:to},so),le.createElement("foreignObject",{x:0,y:0,width:dr,height:dr,mask:"url(#".concat(to,")")},le.createElement(Ue,{bg:Ei},le.createElement(Ue,{bg:Po}))))}),nt=Ze,ke=100,vt=function(Jt,vn,bn,qn,lr,Er,Cr,cr,sr,dr){var Pr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ta=bn/100*360*((360-Er)/360),Wr=Er===0?0:{bottom:0,top:180,left:90,right:-90}[Cr],Rr=(100-qn)/100*vn;sr==="round"&&qn!==100&&(Rr+=dr/2,Rr>=vn&&(Rr=vn-.01));var so=ke/2;return{stroke:typeof cr=="string"?cr:void 0,strokeDasharray:"".concat(vn,"px ").concat(Jt),strokeDashoffset:Rr+Pr,transform:"rotate(".concat(lr+ta+Wr,"deg)"),transformOrigin:"".concat(so,"px ").concat(so,"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}},_e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Nt(lt){var Jt=lt!=null?lt:[];return Array.isArray(Jt)?Jt:[Jt]}var st=function(Jt){var vn=(0,De.Z)((0,De.Z)({},Ce),Jt),bn=vn.id,qn=vn.prefixCls,lr=vn.steps,Er=vn.strokeWidth,Cr=vn.trailWidth,cr=vn.gapDegree,sr=cr===void 0?0:cr,dr=vn.gapPosition,Pr=vn.trailColor,ta=vn.strokeLinecap,Wr=vn.style,Rr=vn.className,so=vn.strokeColor,to=vn.percent,Hr=(0,xe.Z)(vn,_e),sn=ke/2,Oa=Pe(bn),Po="".concat(Oa,"-gradient"),Ei=sn-Er/2,So=Math.PI*2*Ei,Ro=sr>0?90+sr/2:-90,Gi=So*((360-sr)/360),Mi=(0,E.Z)(lr)==="object"?lr:{count:lr,space:2},qa=Mi.count,In=Mi.space,Tn=Nt(to),pn=Nt(so),Ur=pn.find(function(pi){return pi&&(0,E.Z)(pi)==="object"}),ua=Ur&&(0,E.Z)(Ur)==="object",Tr=ua?"butt":ta,Fa=vt(So,Gi,0,100,Ro,sr,dr,Pr,Tr,Er),Na=ie(),Ma=function(){var Ir=0;return Tn.map(function(Ja,Ci){var ii=pn[Ci]||pn[pn.length-1],Do=vt(So,Gi,Ir,Ja,Ro,sr,dr,ii,Tr,Er);return Ir+=Ja,le.createElement(nt,{key:Ci,color:ii,ptg:Ja,radius:Ei,prefixCls:qn,gradientId:Po,style:Do,strokeLinecap:Tr,strokeWidth:Er,gapDegree:sr,ref:function(Zi){Na[Ci]=Zi},size:ke})}).reverse()},jo=function(){var Ir=Math.round(qa*(Tn[0]/100)),Ja=100/qa,Ci=0;return new Array(qa).fill(null).map(function(ii,Do){var Lo=Do<=Ir-1?pn[0]:Pr,Zi=Lo&&(0,E.Z)(Lo)==="object"?"url(#".concat(Po,")"):void 0,Os=vt(So,Gi,Ci,Ja,Ro,sr,dr,Lo,"butt",Er,In);return Ci+=(Gi-Os.strokeDashoffset+In)*100/Gi,le.createElement("circle",{key:Do,className:"".concat(qn,"-circle-path"),r:Ei,cx:sn,cy:sn,stroke:Zi,strokeWidth:Er,opacity:1,style:Os,ref:function(wA){Na[Do]=wA}})})};return le.createElement("svg",(0,fe.Z)({className:ve()("".concat(qn,"-circle"),Rr),viewBox:"0 0 ".concat(ke," ").concat(ke),style:Wr,id:bn,role:"presentation"},Hr),!qa&&le.createElement("circle",{className:"".concat(qn,"-circle-trail"),r:Ei,cx:sn,cy:sn,stroke:Pr,strokeLinecap:Tr,strokeWidth:Cr||Er,style:Fa}),qa?jo():Ma())},ot=st,bt={Line:ee,Circle:ot},ct=Be(6848),pt=Be(30071);function At(lt){return!lt||lt<0?0:lt>100?100:lt}function tt(lt){let{success:Jt,successPercent:vn}=lt,bn=vn;return Jt&&"progress"in Jt&&(bn=Jt.progress),Jt&&"percent"in Jt&&(bn=Jt.percent),bn}const zt=lt=>{let{percent:Jt,success:vn,successPercent:bn}=lt;const qn=At(tt({success:vn,successPercent:bn}));return[qn,At(At(Jt)-qn)]},Rt=lt=>{let{success:Jt={},strokeColor:vn}=lt;const{strokeColor:bn}=Jt;return[bn||pt.presetPrimaryColors.green,vn||null]},ft=(lt,Jt,vn)=>{var bn,qn,lr,Er;let Cr=-1,cr=-1;if(Jt==="step"){const sr=vn.steps,dr=vn.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?(Cr=lt==="small"?2:14,cr=dr!=null?dr:8):typeof lt=="number"?[Cr,cr]=[lt,lt]:[Cr=14,cr=8]=lt,Cr*=sr}else if(Jt==="line"){const sr=vn==null?void 0:vn.strokeWidth;typeof lt=="string"||typeof lt=="undefined"?cr=sr||(lt==="small"?6:8):typeof lt=="number"?[Cr,cr]=[lt,lt]:[Cr=-1,cr=8]=lt}else(Jt==="circle"||Jt==="dashboard")&&(typeof lt=="string"||typeof lt=="undefined"?[Cr,cr]=lt==="small"?[60,60]:[120,120]:typeof lt=="number"?[Cr,cr]=[lt,lt]:(Cr=(qn=(bn=lt[0])!==null&&bn!==void 0?bn:lt[1])!==null&&qn!==void 0?qn:120,cr=(Er=(lr=lt[0])!==null&&lr!==void 0?lr:lt[1])!==null&&Er!==void 0?Er:120));return[Cr,cr]},Kt=3,yn=lt=>Kt/lt*100;var ln=lt=>{const{prefixCls:Jt,trailColor:vn=null,strokeLinecap:bn="round",gapPosition:qn,gapDegree:lr,width:Er=120,type:Cr,children:cr,success:sr,size:dr=Er}=lt,[Pr,ta]=ft(dr,"circle");let{strokeWidth:Wr}=lt;Wr===void 0&&(Wr=Math.max(yn(Pr),6));const Rr={width:Pr,height:ta,fontSize:Pr*.15+6},so=le.useMemo(()=>{if(lr||lr===0)return lr;if(Cr==="dashboard")return 75},[lr,Cr]),to=qn||Cr==="dashboard"&&"bottom"||void 0,Hr=Object.prototype.toString.call(lt.strokeColor)==="[object Object]",sn=Rt({success:sr,strokeColor:lt.strokeColor}),Oa=ve()(`${Jt}-inner`,{[`${Jt}-circle-gradient`]:Hr}),Po=le.createElement(ot,{percent:zt(lt),strokeWidth:Wr,trailWidth:Wr,strokeColor:sn,strokeLinecap:bn,trailColor:vn,prefixCls:Jt,gapDegree:so,gapPosition:to});return le.createElement("div",{className:Oa,style:Rr},Pr<=20?le.createElement(ct.Z,{title:cr},le.createElement("span",null,Po)):le.createElement(le.Fragment,null,Po,cr))},Wn=function(lt,Jt){var vn={};for(var bn in lt)Object.prototype.hasOwnProperty.call(lt,bn)&&Jt.indexOf(bn)<0&&(vn[bn]=lt[bn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qn=0,bn=Object.getOwnPropertySymbols(lt);qn{let Jt=[];return Object.keys(lt).forEach(vn=>{const bn=parseFloat(vn.replace(/%/g,""));isNaN(bn)||Jt.push({key:bn,value:lt[vn]})}),Jt=Jt.sort((vn,bn)=>vn.key-bn.key),Jt.map(vn=>{let{key:bn,value:qn}=vn;return`${qn} ${bn}%`}).join(", ")},Un=(lt,Jt)=>{const{from:vn=pt.presetPrimaryColors.blue,to:bn=pt.presetPrimaryColors.blue,direction:qn=Jt==="rtl"?"to left":"to right"}=lt,lr=Wn(lt,["from","to","direction"]);if(Object.keys(lr).length!==0){const Er=Bt(lr);return{backgroundImage:`linear-gradient(${qn}, ${Er})`}}return{backgroundImage:`linear-gradient(${qn}, ${vn}, ${bn})`}};var Je=lt=>{const{prefixCls:Jt,direction:vn,percent:bn,size:qn,strokeWidth:lr,strokeColor:Er,strokeLinecap:Cr="round",children:cr,trailColor:sr=null,success:dr}=lt,Pr=Er&&typeof Er!="string"?Un(Er,vn):{backgroundColor:Er},ta=Cr==="square"||Cr==="butt"?0:void 0,Wr={backgroundColor:sr||void 0,borderRadius:ta},Rr=qn!=null?qn:[-1,lr||(qn==="small"?6:8)],[so,to]=ft(Rr,"line",{strokeWidth:lr}),Hr=Object.assign({width:`${At(bn)}%`,height:to,borderRadius:ta},Pr),sn=tt(lt),Oa={width:`${At(sn)}%`,height:to,borderRadius:ta,backgroundColor:dr==null?void 0:dr.strokeColor},Po={width:so<0?"100%":so,height:to};return le.createElement(le.Fragment,null,le.createElement("div",{className:`${Jt}-outer`,style:Po},le.createElement("div",{className:`${Jt}-inner`,style:Wr},le.createElement("div",{className:`${Jt}-bg`,style:Hr}),sn!==void 0?le.createElement("div",{className:`${Jt}-success-bg`,style:Oa}):null)),cr)},Fe=lt=>{const{size:Jt,steps:vn,percent:bn=0,strokeWidth:qn=8,strokeColor:lr,trailColor:Er=null,prefixCls:Cr,children:cr}=lt,sr=Math.round(vn*(bn/100)),dr=Jt==="small"?2:14,Pr=Jt!=null?Jt:[dr,qn],[ta,Wr]=ft(Pr,"step",{steps:vn,strokeWidth:qn}),Rr=ta/vn,so=new Array(vn);for(let to=0;to{const Jt=lt?"100%":"-100%";return new he.Keyframes(`antProgress${lt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Jt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Re=lt=>{const{componentCls:Jt,iconCls:vn}=lt;return{[Jt]:Object.assign(Object.assign({},(0,de.Wf)(lt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:lt.fontSize,marginInlineEnd:lt.marginXS,marginBottom:lt.marginXS},[`${Jt}-outer`]:{display:"inline-block",width:"100%"},[`&${Jt}-show-info`]:{[`${Jt}-outer`]:{marginInlineEnd:`calc(-2em - ${lt.marginXS}px)`,paddingInlineEnd:`calc(2em + ${lt.paddingXS}px)`}},[`${Jt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:lt.remainingColor,borderRadius:lt.lineBorderRadius},[`${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:lt.defaultColor}},[`${Jt}-success-bg, ${Jt}-bg`]:{position:"relative",backgroundColor:lt.defaultColor,borderRadius:lt.lineBorderRadius,transition:`all ${lt.motionDurationSlow} ${lt.motionEaseInOutCirc}`},[`${Jt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:lt.colorSuccess},[`${Jt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:lt.marginXS,color:lt.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[vn]:{fontSize:lt.fontSize}},[`&${Jt}-status-active`]:{[`${Jt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:lt.colorBgContainer,borderRadius:lt.lineBorderRadius,opacity:0,animationName:dt(),animationDuration:lt.progressActiveMotionDuration,animationTimingFunction:lt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Jt}-rtl${Jt}-status-active`]:{[`${Jt}-bg::before`]:{animationName:dt(!0)}},[`&${Jt}-status-exception`]:{[`${Jt}-bg`]:{backgroundColor:lt.colorError},[`${Jt}-text`]:{color:lt.colorError}},[`&${Jt}-status-exception ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:lt.colorError}},[`&${Jt}-status-success`]:{[`${Jt}-bg`]:{backgroundColor:lt.colorSuccess},[`${Jt}-text`]:{color:lt.colorSuccess}},[`&${Jt}-status-success ${Jt}-inner:not(${Jt}-circle-gradient)`]:{[`${Jt}-circle-path`]:{stroke:lt.colorSuccess}}})}},Xe=lt=>{const{componentCls:Jt,iconCls:vn}=lt;return{[Jt]:{[`${Jt}-circle-trail`]:{stroke:lt.remainingColor},[`&${Jt}-circle ${Jt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Jt}-circle ${Jt}-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%)",[vn]:{fontSize:`${lt.fontSize/lt.fontSizeSM}em`}},[`${Jt}-circle&-status-exception`]:{[`${Jt}-text`]:{color:lt.colorError}},[`${Jt}-circle&-status-success`]:{[`${Jt}-text`]:{color:lt.colorSuccess}}},[`${Jt}-inline-circle`]:{lineHeight:1,[`${Jt}-inner`]:{verticalAlign:"bottom"}}}},Ct=lt=>{const{componentCls:Jt}=lt;return{[Jt]:{[`${Jt}-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:Jt,iconCls:vn}=lt;return{[Jt]:{[`${Jt}-small&-line, ${Jt}-small&-line ${Jt}-text ${vn}`]:{fontSize:lt.fontSizeSM}}}};var it=(0,ye.Z)("Progress",lt=>{const Jt=lt.marginXXS/2,vn=(0,qe.TS)(lt,{progressStepMarginInlineEnd:Jt,progressStepMinWidth:Jt,progressActiveMotionDuration:"2.4s"});return[Re(vn),Xe(vn),Ct(vn),gt(vn)]},lt=>({circleTextColor:lt.colorText,defaultColor:lt.colorInfo,remainingColor:lt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),kt=function(lt,Jt){var vn={};for(var bn in lt)Object.prototype.hasOwnProperty.call(lt,bn)&&Jt.indexOf(bn)<0&&(vn[bn]=lt[bn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qn=0,bn=Object.getOwnPropertySymbols(lt);qn{const{prefixCls:vn,className:bn,rootClassName:qn,steps:lr,strokeColor:Er,percent:Cr=0,size:cr="default",showInfo:sr=!0,type:dr="line",status:Pr,format:ta,style:Wr}=lt,Rr=kt(lt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),so=le.useMemo(()=>{var Tn,pn;const Ur=tt(lt);return parseInt(Ur!==void 0?(Tn=Ur!=null?Ur:0)===null||Tn===void 0?void 0:Tn.toString():(pn=Cr!=null?Cr:0)===null||pn===void 0?void 0:pn.toString(),10)},[Cr,lt.success,lt.successPercent]),to=le.useMemo(()=>!Ft.includes(Pr)&&so>=100?"success":Pr||"normal",[Pr,so]),{getPrefixCls:Hr,direction:sn,progress:Oa}=le.useContext(Ne.E_),Po=Hr("progress",vn),[Ei,So]=it(Po),Ro=le.useMemo(()=>{if(!sr)return null;const Tn=tt(lt);let pn;const Ur=ta||(Tr=>`${Tr}%`),ua=dr==="line";return ta||to!=="exception"&&to!=="success"?pn=Ur(At(Cr),At(Tn)):to==="exception"?pn=ua?le.createElement(rt.Z,null):le.createElement(Ke.Z,null):to==="success"&&(pn=ua?le.createElement(Ee.Z,null):le.createElement(je.Z,null)),le.createElement("span",{className:`${Po}-text`,title:typeof pn=="string"?pn:void 0},pn)},[sr,Cr,so,to,dr,Po,ta]),Gi=Array.isArray(Er)?Er[0]:Er,Mi=typeof Er=="string"||Array.isArray(Er)?Er:void 0;let qa;dr==="line"?qa=lr?le.createElement(Fe,Object.assign({},lt,{strokeColor:Mi,prefixCls:Po,steps:lr}),Ro):le.createElement(Je,Object.assign({},lt,{strokeColor:Gi,prefixCls:Po,direction:sn}),Ro):(dr==="circle"||dr==="dashboard")&&(qa=le.createElement(ln,Object.assign({},lt,{strokeColor:Gi,prefixCls:Po,progressStatus:to}),Ro));const In=ve()(Po,`${Po}-status-${to}`,`${Po}-${dr==="dashboard"&&"circle"||lr&&"steps"||dr}`,{[`${Po}-inline-circle`]:dr==="circle"&&ft(cr,"circle")[0]<=20,[`${Po}-show-info`]:sr,[`${Po}-${cr}`]:typeof cr=="string",[`${Po}-rtl`]:sn==="rtl"},Oa==null?void 0:Oa.className,bn,qn,So);return Ei(le.createElement("div",Object.assign({ref:Jt,style:Object.assign(Object.assign({},Oa==null?void 0:Oa.style),Wr),className:In,role:"progressbar","aria-valuenow":so},(0,Se.Z)(Rr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),qa))}),En=Ot},13570:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return At}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(zt,Rt){return Ee.createElement(Ke.Z,(0,le.Z)({},zt,{ref:Rt,icon:rt}))},ve=Ee.forwardRef(He),Se=ve,Ne=Be(92310),fe=Be.n(Ne),De=Be(20068),xe=Be(42978),Ce=Be(75931),ie=Be(18929),y=Be(10228),a=Be(26112);function ee(tt,zt){var Rt=tt.disabled,ft=tt.prefixCls,Kt=tt.character,yn=tt.characterRender,Hn=tt.index,ln=tt.count,Wn=tt.value,Bt=tt.allowHalf,Un=tt.focused,ar=tt.onHover,Je=tt.onClick,gn=function(Xe){ar(Xe,Hn)},Fe=function(Xe){Je(Xe,Hn)},he=function(Xe){Xe.keyCode===y.Z.ENTER&&Je(Xe,Hn)},de=Hn+1,ye=new Set([ft]);Wn===0&&Hn===0&&Un?ye.add("".concat(ft,"-focused")):Bt&&Wn+.5>=de&&WnHn?"true":"false","aria-posinset":Hn+1,"aria-setsize":ln,tabIndex:Rt?-1:0},Ee.createElement("div",{className:"".concat(ft,"-first")},qe),Ee.createElement("div",{className:"".concat(ft,"-second")},qe)));return yn&&(dt=yn(dt,tt)),dt}var E=Ee.forwardRef(ee);function te(){var tt=Ee.useRef({});function zt(ft){return tt.current[ft]}function Rt(ft){return function(Kt){tt.current[ft]=Kt}}return[zt,Rt]}function ne(tt){var zt=tt.pageXOffset,Rt="scrollLeft";if(typeof zt!="number"){var ft=tt.document;zt=ft.documentElement[Rt],typeof zt!="number"&&(zt=ft.body[Rt])}return zt}function ae(tt){var zt,Rt,ft=tt.ownerDocument,Kt=ft.body,yn=ft&&ft.documentElement,Hn=tt.getBoundingClientRect();return zt=Hn.left,Rt=Hn.top,zt-=yn.clientLeft||Kt.clientLeft||0,Rt-=yn.clientTop||Kt.clientTop||0,{left:zt,top:Rt}}function ge(tt){var zt=ae(tt),Rt=tt.ownerDocument,ft=Rt.defaultView||Rt.parentWindow;return zt.left+=ne(ft),zt.left}var Le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(tt,zt){var Rt,ft=tt.prefixCls,Kt=ft===void 0?"rc-rate":ft,yn=tt.className,Hn=tt.defaultValue,ln=tt.value,Wn=tt.count,Bt=Wn===void 0?5:Wn,Un=tt.allowHalf,ar=Un===void 0?!1:Un,Je=tt.allowClear,gn=Je===void 0?!0:Je,Fe=tt.character,he=Fe===void 0?"\u2605":Fe,de=tt.characterRender,ye=tt.disabled,qe=tt.direction,dt=qe===void 0?"ltr":qe,Re=tt.tabIndex,Xe=Re===void 0?0:Re,Ct=tt.autoFocus,gt=tt.onHoverChange,it=tt.onChange,kt=tt.onFocus,kn=tt.onBlur,Ft=tt.onKeyDown,on=tt.onMouseLeave,Ot=(0,Ce.Z)(tt,Le),En=te(),lt=(0,xe.Z)(En,2),Jt=lt[0],vn=lt[1],bn=Ee.useRef(null),qn=function(){if(!ye){var Tr;(Tr=bn.current)===null||Tr===void 0||Tr.focus()}};Ee.useImperativeHandle(zt,function(){return{focus:qn,blur:function(){if(!ye){var Tr;(Tr=bn.current)===null||Tr===void 0||Tr.blur()}}}});var lr=(0,ie.Z)(Hn||0,{value:ln}),Er=(0,xe.Z)(lr,2),Cr=Er[0],cr=Er[1],sr=(0,ie.Z)(null),dr=(0,xe.Z)(sr,2),Pr=dr[0],ta=dr[1],Wr=function(Tr,Fa){var Na=dt==="rtl",Ma=Tr+1;if(ar){var jo=Jt(Tr),pi=ge(jo),Ir=jo.clientWidth;(Na&&Fa-pi>Ir/2||!Na&&Fa-pi0&&!Na||Fa===y.Z.RIGHT&&Ma>0&&Na?(ar?Ma-=.5:Ma-=1,Rr(Ma),Tr.preventDefault()):Fa===y.Z.LEFT&&Ma{const{componentCls:zt}=tt;return{[`${zt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:tt.marginXS},"> div":{transition:`all ${tt.motionDurationMid}, outline 0s`,"&:hover":{transform:tt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${tt.lineWidth}px dashed ${tt.starColor}`,transform:tt.starHoverScale}},"&-first, &-second":{color:tt.starBg,transition:`all ${tt.motionDurationMid}`,userSelect:"none",[tt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${zt}-star-first, &-half ${zt}-star-second`]:{opacity:1},[`&-half ${zt}-star-first, &-full ${zt}-star-second`]:{color:"inherit"}}}},st=tt=>({[`&-rtl${tt.componentCls}`]:{direction:"rtl"}}),ot=tt=>{const{componentCls:zt}=tt;return{[zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(tt)),{display:"inline-block",margin:0,padding:0,color:tt.starColor,fontSize:tt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${zt} ${zt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Nt(tt)),{[`+ ${zt}-text`]:{display:"inline-block",marginInlineStart:tt.marginXS,fontSize:tt.fontSize}}),st(tt))}};var bt=(0,vt.Z)("Rate",tt=>{const zt=(0,_e.TS)(tt,{});return[ot(zt)]},tt=>({starColor:tt.yellow6,starSize:tt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:tt.colorFillContent})),ct=function(tt,zt){var Rt={};for(var ft in tt)Object.prototype.hasOwnProperty.call(tt,ft)&&zt.indexOf(ft)<0&&(Rt[ft]=tt[ft]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kt=0,ft=Object.getOwnPropertySymbols(tt);Kt{const{prefixCls:Rt,className:ft,rootClassName:Kt,style:yn,tooltips:Hn,character:ln=Ee.createElement(Se,null)}=tt,Wn=ct(tt,["prefixCls","className","rootClassName","style","tooltips","character"]),Bt=(ye,qe)=>{let{index:dt}=qe;return Hn?Ee.createElement(nt.Z,{title:Hn[dt]},ye):ye},{getPrefixCls:Un,direction:ar,rate:Je}=Ee.useContext(Ze.E_),gn=Un("rate",Rt),[Fe,he]=bt(gn),de=Object.assign(Object.assign({},Je==null?void 0:Je.style),yn);return Fe(Ee.createElement(Ge,Object.assign({ref:zt,character:ln,characterRender:Bt},Wn,{className:fe()(ft,Kt,he,Je==null?void 0:Je.className),style:de,prefixCls:gn,direction:ar})))})},61621:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return he}});var le=Be(92310),Ee=Be.n(le),je=Be(59301),rt=Be(36355),Ke=Be(2738),ve=de=>{const{prefixCls:ye,className:qe,style:dt,size:Re,shape:Xe}=de,Ct=Ee()({[`${ye}-lg`]:Re==="large",[`${ye}-sm`]:Re==="small"}),gt=Ee()({[`${ye}-circle`]:Xe==="circle",[`${ye}-square`]:Xe==="square",[`${ye}-round`]:Xe==="round"}),it=je.useMemo(()=>typeof Re=="number"?{width:Re,height:Re,lineHeight:`${Re}px`}:{},[Re]);return je.createElement("span",{className:Ee()(ye,Ct,gt,qe),style:Object.assign(Object.assign({},it),dt)})},Se=Be(36237),Ne=Be(83116),fe=Be(37613);const De=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),xe=de=>({height:de,lineHeight:`${de}px`}),Ce=de=>Object.assign({width:de},xe(de)),ie=de=>({background:de.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:De,animationDuration:de.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=de=>Object.assign({width:de*5,minWidth:de*5},xe(de)),a=de=>{const{skeletonAvatarCls:ye,gradientFromColor:qe,controlHeight:dt,controlHeightLG:Re,controlHeightSM:Xe}=de;return{[`${ye}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ce(dt)),[`${ye}${ye}-circle`]:{borderRadius:"50%"},[`${ye}${ye}-lg`]:Object.assign({},Ce(Re)),[`${ye}${ye}-sm`]:Object.assign({},Ce(Xe))}},ee=de=>{const{controlHeight:ye,borderRadiusSM:qe,skeletonInputCls:dt,controlHeightLG:Re,controlHeightSM:Xe,gradientFromColor:Ct}=de;return{[`${dt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ct,borderRadius:qe},y(ye)),[`${dt}-lg`]:Object.assign({},y(Re)),[`${dt}-sm`]:Object.assign({},y(Xe))}},E=de=>Object.assign({width:de},xe(de)),te=de=>{const{skeletonImageCls:ye,imageSizeBase:qe,gradientFromColor:dt,borderRadiusSM:Re}=de;return{[`${ye}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:dt,borderRadius:Re},E(qe*2)),{[`${ye}-path`]:{fill:"#bfbfbf"},[`${ye}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${ye}-svg${ye}-svg-circle`]:{borderRadius:"50%"}}),[`${ye}${ye}-circle`]:{borderRadius:"50%"}}},ne=(de,ye,qe)=>{const{skeletonButtonCls:dt}=de;return{[`${qe}${dt}-circle`]:{width:ye,minWidth:ye,borderRadius:"50%"},[`${qe}${dt}-round`]:{borderRadius:ye}}},ae=de=>Object.assign({width:de*2,minWidth:de*2},xe(de)),ge=de=>{const{borderRadiusSM:ye,skeletonButtonCls:qe,controlHeight:dt,controlHeightLG:Re,controlHeightSM:Xe,gradientFromColor:Ct}=de;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ct,borderRadius:ye,width:dt*2,minWidth:dt*2},ae(dt))},ne(de,dt,qe)),{[`${qe}-lg`]:Object.assign({},ae(Re))}),ne(de,Re,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ae(Xe))}),ne(de,Xe,`${qe}-sm`))},Le=de=>{const{componentCls:ye,skeletonAvatarCls:qe,skeletonTitleCls:dt,skeletonParagraphCls:Re,skeletonButtonCls:Xe,skeletonInputCls:Ct,skeletonImageCls:gt,controlHeight:it,controlHeightLG:kt,controlHeightSM:kn,gradientFromColor:Ft,padding:on,marginSM:Ot,borderRadius:En,titleHeight:lt,blockRadius:Jt,paragraphLiHeight:vn,controlHeightXS:bn,paragraphMarginTop:qn}=de;return{[`${ye}`]:{display:"table",width:"100%",[`${ye}-header`]:{display:"table-cell",paddingInlineEnd:on,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ft},Ce(it)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ce(kt)),[`${qe}-sm`]:Object.assign({},Ce(kn))},[`${ye}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${dt}`]:{width:"100%",height:lt,background:Ft,borderRadius:Jt,[`+ ${Re}`]:{marginBlockStart:kn}},[`${Re}`]:{padding:0,"> li":{width:"100%",height:vn,listStyle:"none",background:Ft,borderRadius:Jt,"+ li":{marginBlockStart:bn}}},[`${Re}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ye}-content`]:{[`${dt}, ${Re} > li`]:{borderRadius:En}}},[`${ye}-with-avatar ${ye}-content`]:{[`${dt}`]:{marginBlockStart:Ot,[`+ ${Re}`]:{marginBlockStart:qn}}},[`${ye}${ye}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge(de)),a(de)),ee(de)),te(de)),[`${ye}${ye}-block`]:{width:"100%",[`${Xe}`]:{width:"100%"},[`${Ct}`]:{width:"100%"}},[`${ye}${ye}-active`]:{[` ${dt}, ${Re} > li, ${qe}, ${Xe}, ${Ct}, ${gt} `]:Object.assign({},ie(de))}}};var Pe=(0,Ne.Z)("Skeleton",de=>{const{componentCls:ye}=de,qe=(0,fe.TS)(de,{skeletonAvatarCls:`${ye}-avatar`,skeletonTitleCls:`${ye}-title`,skeletonParagraphCls:`${ye}-paragraph`,skeletonButtonCls:`${ye}-button`,skeletonInputCls:`${ye}-input`,skeletonImageCls:`${ye}-image`,imageSizeBase:de.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${de.gradientFromColor} 25%, ${de.gradientToColor} 37%, ${de.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Le(qe)]},de=>{const{colorFillContent:ye,colorFill:qe}=de,dt=ye,Re=qe;return{color:dt,colorGradientEnd:Re,gradientFromColor:dt,gradientToColor:Re,titleHeight:de.controlHeight/2,blockRadius:de.borderRadiusSM,paragraphMarginTop:de.marginLG+de.marginXXS,paragraphLiHeight:de.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Ge=de=>{const{prefixCls:ye,className:qe,rootClassName:dt,active:Re,shape:Xe="circle",size:Ct="default"}=de,{getPrefixCls:gt}=je.useContext(rt.E_),it=gt("skeleton",ye),[kt,kn]=Pe(it),Ft=(0,Ke.Z)(de,["prefixCls","className"]),on=Ee()(it,`${it}-element`,{[`${it}-active`]:Re},qe,dt,kn);return kt(je.createElement("div",{className:on},je.createElement(ve,Object.assign({prefixCls:`${it}-avatar`,shape:Xe,size:Ct},Ft))))},nt=de=>{const{prefixCls:ye,className:qe,rootClassName:dt,active:Re,block:Xe=!1,size:Ct="default"}=de,{getPrefixCls:gt}=je.useContext(rt.E_),it=gt("skeleton",ye),[kt,kn]=Pe(it),Ft=(0,Ke.Z)(de,["prefixCls"]),on=Ee()(it,`${it}-element`,{[`${it}-active`]:Re,[`${it}-block`]:Xe},qe,dt,kn);return kt(je.createElement("div",{className:on},je.createElement(ve,Object.assign({prefixCls:`${it}-button`,size:Ct},Ft))))};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 _e=de=>{const{prefixCls:ye,className:qe,rootClassName:dt,style:Re,active:Xe}=de,{getPrefixCls:Ct}=je.useContext(rt.E_),gt=Ct("skeleton",ye),[it,kt]=Pe(gt),kn=Ee()(gt,`${gt}-element`,{[`${gt}-active`]:Xe},qe,dt,kt);return it(je.createElement("div",{className:kn},je.createElement("div",{className:Ee()(`${gt}-image`,qe),style:Re},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`})))))},st=de=>{const{prefixCls:ye,className:qe,rootClassName:dt,active:Re,block:Xe,size:Ct="default"}=de,{getPrefixCls:gt}=je.useContext(rt.E_),it=gt("skeleton",ye),[kt,kn]=Pe(it),Ft=(0,Ke.Z)(de,["prefixCls"]),on=Ee()(it,`${it}-element`,{[`${it}-active`]:Re,[`${it}-block`]:Xe},qe,dt,kn);return kt(je.createElement("div",{className:on},je.createElement(ve,Object.assign({prefixCls:`${it}-input`,size:Ct},Ft))))},ot=Be(54476),bt={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=bt,pt=Be(7657),At=function(ye,qe){return je.createElement(pt.Z,(0,ot.Z)({},ye,{ref:qe,icon:ct}))},tt=je.forwardRef(At),zt=tt,ft=de=>{const{prefixCls:ye,className:qe,rootClassName:dt,style:Re,active:Xe,children:Ct}=de,{getPrefixCls:gt}=je.useContext(rt.E_),it=gt("skeleton",ye),[kt,kn]=Pe(it),Ft=Ee()(it,`${it}-element`,{[`${it}-active`]:Xe},kn,qe,dt),on=Ct!=null?Ct:je.createElement(zt,null);return kt(je.createElement("div",{className:Ft},je.createElement("div",{className:Ee()(`${it}-image`,qe),style:Re},on)))},Kt=Be(94480),Hn=de=>{const ye=gt=>{const{width:it,rows:kt=2}=de;if(Array.isArray(it))return it[gt];if(kt-1===gt)return it},{prefixCls:qe,className:dt,style:Re,rows:Xe}=de,Ct=(0,Kt.Z)(Array(Xe)).map((gt,it)=>je.createElement("li",{key:it,style:{width:ye(it)}}));return je.createElement("ul",{className:Ee()(qe,dt),style:Re},Ct)},Wn=de=>{let{prefixCls:ye,className:qe,width:dt,style:Re}=de;return je.createElement("h3",{className:Ee()(ye,qe),style:Object.assign({width:dt},Re)})};function Bt(de){return de&&typeof de=="object"?de:{}}function Un(de,ye){return de&&!ye?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function ar(de,ye){return!de&&ye?{width:"38%"}:de&&ye?{width:"50%"}:{}}function Je(de,ye){const qe={};return(!de||!ye)&&(qe.width="61%"),!de&&ye?qe.rows=3:qe.rows=2,qe}const gn=de=>{const{prefixCls:ye,loading:qe,className:dt,rootClassName:Re,style:Xe,children:Ct,avatar:gt=!1,title:it=!0,paragraph:kt=!0,active:kn,round:Ft}=de,{getPrefixCls:on,direction:Ot,skeleton:En}=je.useContext(rt.E_),lt=on("skeleton",ye),[Jt,vn]=Pe(lt);if(qe||!("loading"in de)){const bn=!!gt,qn=!!it,lr=!!kt;let Er;if(bn){const sr=Object.assign(Object.assign({prefixCls:`${lt}-avatar`},Un(qn,lr)),Bt(gt));Er=je.createElement("div",{className:`${lt}-header`},je.createElement(ve,Object.assign({},sr)))}let Cr;if(qn||lr){let sr;if(qn){const Pr=Object.assign(Object.assign({prefixCls:`${lt}-title`},ar(bn,lr)),Bt(it));sr=je.createElement(Wn,Object.assign({},Pr))}let dr;if(lr){const Pr=Object.assign(Object.assign({prefixCls:`${lt}-paragraph`},Je(bn,qn)),Bt(kt));dr=je.createElement(Hn,Object.assign({},Pr))}Cr=je.createElement("div",{className:`${lt}-content`},sr,dr)}const cr=Ee()(lt,{[`${lt}-with-avatar`]:bn,[`${lt}-active`]:kn,[`${lt}-rtl`]:Ot==="rtl",[`${lt}-round`]:Ft},En==null?void 0:En.className,dt,Re,vn);return Jt(je.createElement("div",{className:cr,style:Object.assign(Object.assign({},En==null?void 0:En.style),Xe)},Er,Cr))}return typeof Ct!="undefined"?Ct:null};gn.Button=nt,gn.Avatar=Ge,gn.Input=st,gn.Image=_e,gn.Node=ft;var Fe=gn,he=Fe},31797:function(Xt,It,Be){"use strict";Be.d(It,{default:function(){return Pe}});var le=Be(59301),Ee=Be(56762),je=Be(92343),rt=Be(92310),Ke=Be.n(rt),He=Be(36355),ve=Be(61621),Ne=Ue=>{const{value:Ge,formatter:Ze,precision:nt,decimalSeparator:ke,groupSeparator:vt="",prefixCls:_e}=Ue;let Nt;if(typeof Ze=="function")Nt=Ze(Ge);else{const st=String(Ge),ot=st.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||st==="-")Nt=st;else{const bt=ot[1];let ct=ot[2]||"0",pt=ot[4]||"";ct=ct.replace(/\B(?=(\d{3})+(?!\d))/g,vt),typeof nt=="number"&&(pt=pt.padEnd(nt,"0").slice(0,nt>0?nt:0)),pt&&(pt=`${ke}${pt}`),Nt=[le.createElement("span",{key:"int",className:`${_e}-content-value-int`},bt,ct),pt&&le.createElement("span",{key:"decimal",className:`${_e}-content-value-decimal`},pt)]}}return le.createElement("span",{className:`${_e}-content-value`},Nt)},fe=Be(17313),De=Be(83116),xe=Be(37613);const Ce=Ue=>{const{componentCls:Ge,marginXXS:Ze,padding:nt,colorTextDescription:ke,titleFontSize:vt,colorTextHeading:_e,contentFontSize:Nt,fontFamily:st}=Ue;return{[`${Ge}`]:Object.assign(Object.assign({},(0,fe.Wf)(Ue)),{[`${Ge}-title`]:{marginBottom:Ze,color:ke,fontSize:vt},[`${Ge}-skeleton`]:{paddingTop:nt},[`${Ge}-content`]:{color:_e,fontSize:Nt,fontFamily:st,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:Ze},[`${Ge}-content-suffix`]:{marginInlineStart:Ze}}})}};var ie=(0,De.Z)("Statistic",Ue=>{const Ge=(0,xe.TS)(Ue,{});return[Ce(Ge)]},Ue=>{const{fontSizeHeading3:Ge,fontSize:Ze}=Ue;return{titleFontSize:Ze,contentFontSize:Ge}}),a=Ue=>{const{prefixCls:Ge,className:Ze,rootClassName:nt,style:ke,valueStyle:vt,value:_e=0,title:Nt,valueRender:st,prefix:ot,suffix:bt,loading:ct=!1,onMouseEnter:pt,onMouseLeave:At,decimalSeparator:tt=".",groupSeparator:zt=","}=Ue,{getPrefixCls:Rt,direction:ft,statistic:Kt}=le.useContext(He.E_),yn=Rt("statistic",Ge),[Hn,ln]=ie(yn),Wn=le.createElement(Ne,Object.assign({decimalSeparator:tt,groupSeparator:zt,prefixCls:yn},Ue,{value:_e})),Bt=Ke()(yn,{[`${yn}-rtl`]:ft==="rtl"},Kt==null?void 0:Kt.className,Ze,nt,ln);return Hn(le.createElement("div",{className:Bt,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),ke),onMouseEnter:pt,onMouseLeave:At},Nt&&le.createElement("div",{className:`${yn}-title`},Nt),le.createElement(ve.Z,{paragraph:!1,loading:ct,className:`${yn}-skeleton`},le.createElement("div",{style:vt,className:`${yn}-content`},ot&&le.createElement("span",{className:`${yn}-content-prefix`},ot),st?st(Wn):Wn,bt&&le.createElement("span",{className:`${yn}-content-suffix`},bt)))))};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 E(Ue,Ge){let Ze=Ue;const nt=/\[[^\]]*]/g,ke=(Ge.match(nt)||[]).map(st=>st.slice(1,-1)),vt=Ge.replace(nt,"[]"),_e=ee.reduce((st,ot)=>{let[bt,ct]=ot;if(st.includes(bt)){const pt=Math.floor(Ze/ct);return Ze-=pt*ct,st.replace(new RegExp(`${bt}+`,"g"),At=>{const tt=At.length;return pt.toString().padStart(tt,"0")})}return st},vt);let Nt=0;return _e.replace(nt,()=>{const st=ke[Nt];return Nt+=1,st})}function te(Ue,Ge){const{format:Ze=""}=Ge,nt=new Date(Ue).getTime(),ke=Date.now(),vt=Math.max(nt-ke,0);return E(vt,Ze)}const ne=1e3/30;function ae(Ue){return new Date(Ue).getTime()}const ge=Ue=>{const{value:Ge,format:Ze="HH:mm:ss",onChange:nt,onFinish:ke}=Ue,vt=(0,Ee.Z)(),_e=le.useRef(null),Nt=()=>{ke==null||ke(),_e.current&&(clearInterval(_e.current),_e.current=null)},st=()=>{const ct=ae(Ge);ct>=Date.now()&&(_e.current=setInterval(()=>{vt(),nt==null||nt(ct-Date.now()),ct(st(),()=>{_e.current&&(clearInterval(_e.current),_e.current=null)}),[Ge]);const ot=(ct,pt)=>te(ct,Object.assign(Object.assign({},pt),{format:Ze})),bt=ct=>(0,je.Tm)(ct,{title:void 0});return le.createElement(a,Object.assign({},Ue,{valueRender:bt,formatter:ot}))};var Le=le.memo(ge);a.Countdown=Le;var Pe=a},15969:function(Xt,It,Be){"use strict";Be.d(It,{N:function(){return le}});const le=Ee=>({color:Ee.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ee.motionDurationSlow}`,"&:focus, &:hover":{color:Ee.colorLinkHover},"&:active":{color:Ee.colorLinkActive}})},1710:function(Xt,It,Be){"use strict";Be.d(It,{default:function(){return a0}});var le={},Ee="rc-table-internal-hook",je=Be(42978),rt=Be(6089),Ke=Be(34280),He=Be(13697),ve=Be(59301),Se=Be(4676);function Ne(Ye){var et=ve.createContext(void 0),Et=function(qt){var $t=qt.value,Pn=qt.children,Fn=ve.useRef($t);Fn.current=$t;var Sn=ve.useState(function(){return{getValue:function(){return Fn.current},listeners:new Set}}),zn=(0,je.Z)(Sn,1),$n=zn[0];return(0,Ke.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){$n.listeners.forEach(function(Gn){Gn($t)})})},[$t]),ve.createElement(et.Provider,{value:$n},Pn)};return{Context:et,Provider:Et,defaultValue:Ye}}function fe(Ye,et){var Et=(0,rt.Z)(typeof et=="function"?et:function(Gn){if(et===void 0)return Gn;if(!Array.isArray(et))return Gn[et];var br={};return et.forEach(function(pr){br[pr]=Gn[pr]}),br}),Qt=ve.useContext(Ye==null?void 0:Ye.Context),qt=Qt||{},$t=qt.listeners,Pn=qt.getValue,Fn=ve.useRef();Fn.current=Et(Qt?Pn():Ye==null?void 0:Ye.defaultValue);var Sn=ve.useState({}),zn=(0,je.Z)(Sn,2),$n=zn[1];return(0,Ke.Z)(function(){if(!Qt)return;function Gn(br){var pr=Et(br);(0,He.Z)(Fn.current,pr,!0)||$n({})}return $t.add(Gn),function(){$t.delete(Gn)}},[Qt]),Fn.current}var De=Be(54476),xe=Be(8654);function Ce(){var Ye=ve.createContext(null);function et(){return ve.useContext(Ye)}function Et(qt,$t){var Pn=(0,xe.Yr)(qt),Fn=function(zn,$n){var Gn=Pn?{ref:$n}:{},br=ve.useRef(0),pr=ve.useRef(zn),Sr=et();return Sr!==null?ve.createElement(qt,(0,De.Z)({},zn,Gn)):((!$t||$t(pr.current,zn))&&(br.current+=1),pr.current=zn,ve.createElement(Ye.Provider,{value:br.current},ve.createElement(qt,(0,De.Z)({},zn,Gn))))};return Pn?ve.forwardRef(Fn):Fn}function Qt(qt,$t){var Pn=(0,xe.Yr)(qt),Fn=function(zn,$n){var Gn=Pn?{ref:$n}:{};return et(),ve.createElement(qt,(0,De.Z)({},zn,Gn))};return Pn?ve.memo(ve.forwardRef(Fn),$t):ve.memo(Fn,$t)}return{makeImmutable:Et,responseImmutable:Qt,useImmutableMark:et}}var ie=Ce(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ce(),te=E.makeImmutable,ne=E.responseImmutable,ae=E.useImmutableMark,ge=Ne(),Le=ge;function Pe(Ye,et){var Et=ve.useRef(0);Et.current+=1;var Qt=ve.useRef(Ye),qt=[];Object.keys(Ye||{}).map(function(Pn){var Fn;(Ye==null?void 0:Ye[Pn])!==((Fn=Qt.current)===null||Fn===void 0?void 0:Fn[Pn])&&qt.push(Pn)}),Qt.current=Ye;var $t=ve.useRef([]);return qt.length&&($t.current=qt),ve.useDebugValue(Et.current),ve.useDebugValue($t.current.join(", ")),et&&console.log("".concat(et,":"),Et.current,$t.current),Et.current}var Ue=null,Ge=ve.memo(function(){var Ye=Pe();return ve.createElement("h1",null,"Render Times: ",Ye)});Ge.displayName="RenderBlock";var Ze=Be(76190),nt=Be(33885),ke=Be(20068),vt=Be(92310),_e=Be.n(vt),Nt=Be(80547),st=Be(97938),ot=Be(48736),bt=ve.createContext({renderWithProps:!1}),ct=bt,pt="RC_TABLE_KEY";function At(Ye){return Ye==null?[]:Array.isArray(Ye)?Ye:[Ye]}function tt(Ye){var et=[],Et={};return Ye.forEach(function(Qt){for(var qt=Qt||{},$t=qt.key,Pn=qt.dataIndex,Fn=$t||At(Pn).join("-")||pt;Et[Fn];)Fn="".concat(Fn,"_next");Et[Fn]=!0,et.push(Fn)}),et}function zt(Ye){return Ye!=null}function Rt(Ye){return Ye&&(0,Ze.Z)(Ye)==="object"&&!Array.isArray(Ye)&&!ve.isValidElement(Ye)}function ft(Ye,et,Et,Qt,qt,$t){var Pn=ve.useContext(ct),Fn=ae(),Sn=(0,Nt.Z)(function(){if(zt(Qt))return[Qt];var zn=et==null||et===""?[]:Array.isArray(et)?et:[et],$n=(0,st.Z)(Ye,zn),Gn=$n,br=void 0;if(qt){var pr=qt($n,Ye,Et);Rt(pr)?(Gn=pr.children,br=pr.props,Pn.renderWithProps=!0):Gn=pr}return[Gn,br]},[Fn,Ye,Qt,et,qt,Et],function(zn,$n){if($t){var Gn=(0,je.Z)(zn,2),br=Gn[1],pr=(0,je.Z)($n,2),Sr=pr[1];return $t(Sr,br)}return Pn.renderWithProps?!0:!(0,He.Z)(zn,$n,!0)});return Sn}function Kt(Ye,et,Et,Qt){var qt=Ye+et-1;return Ye<=Qt&&qt>=Et}function yn(Ye,et){return fe(Le,function(Et){var Qt=Kt(Ye,et||1,Et.hoverStartRow,Et.hoverEndRow);return[Qt,Et.onHover]})}var Hn=function(et){var Et=et.ellipsis,Qt=et.rowType,qt=et.children,$t,Pn=Et===!0?{showTitle:!0}:Et;return Pn&&(Pn.showTitle||Qt==="header")&&(typeof qt=="string"||typeof qt=="number"?$t=qt.toString():ve.isValidElement(qt)&&typeof qt.props.children=="string"&&($t=qt.props.children)),$t};function ln(Ye){var et,Et,Qt,qt,$t,Pn,Fn,Sn,zn=Ye.component,$n=Ye.children,Gn=Ye.ellipsis,br=Ye.scope,pr=Ye.prefixCls,Sr=Ye.className,$r=Ye.align,zr=Ye.record,qr=Ye.render,Gr=Ye.dataIndex,ca=Ye.renderIndex,Ka=Ye.shouldCellUpdate,Ya=Ye.index,Ca=Ye.rowType,lo=Ye.colSpan,Fo=Ye.rowSpan,pa=Ye.fixLeft,Pa=Ye.fixRight,Ba=Ye.firstFixLeft,la=Ye.lastFixLeft,Ea=Ye.firstFixRight,ro=Ye.lastFixRight,Vo=Ye.appendNode,bo=Ye.additionalProps,$a=bo===void 0?{}:bo,To=Ye.isSticky,ni="".concat(pr,"-cell"),qi=fe(Le,["supportSticky","allColumnsFixedLeft"]),hi=qi.supportSticky,cs=qi.allColumnsFixedLeft,Ls=ft(zr,Gr,ca,$n,qr,Ka),Io=(0,je.Z)(Ls,2),tA=Io[0],Li=Io[1],$i={},ns=typeof pa=="number"&&hi,cl=typeof Pa=="number"&&hi;ns&&($i.position="sticky",$i.left=pa),cl&&($i.position="sticky",$i.right=Pa);var ya=(et=(Et=(Qt=Li==null?void 0:Li.colSpan)!==null&&Qt!==void 0?Qt:$a.colSpan)!==null&&Et!==void 0?Et:lo)!==null&&et!==void 0?et:1,io=(qt=($t=(Pn=Li==null?void 0:Li.rowSpan)!==null&&Pn!==void 0?Pn:$a.rowSpan)!==null&&$t!==void 0?$t:Fo)!==null&&qt!==void 0?qt:1,ao=yn(Ya,io),Ha=(0,je.Z)(ao,2),Ii=Ha[0],Ra=Ha[1],wo=function(aa){var rl;zr&&Ra(Ya,Ya+io-1),$a==null||(rl=$a.onMouseEnter)===null||rl===void 0||rl.call($a,aa)},ai=function(aa){var rl;zr&&Ra(-1,-1),$a==null||(rl=$a.onMouseLeave)===null||rl===void 0||rl.call($a,aa)};if(ya===0||io===0)return null;var Ai=(Fn=$a.title)!==null&&Fn!==void 0?Fn:Hn({rowType:Ca,ellipsis:Gn,children:tA}),ZA=_e()(ni,Sr,(Sn={},(0,ke.Z)(Sn,"".concat(ni,"-fix-left"),ns&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-left-first"),Ba&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-left-last"),la&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-left-all"),la&&cs&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-right"),cl&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-right-first"),Ea&&hi),(0,ke.Z)(Sn,"".concat(ni,"-fix-right-last"),ro&&hi),(0,ke.Z)(Sn,"".concat(ni,"-ellipsis"),Gn),(0,ke.Z)(Sn,"".concat(ni,"-with-append"),Vo),(0,ke.Z)(Sn,"".concat(ni,"-fix-sticky"),(ns||cl)&&To&&hi),(0,ke.Z)(Sn,"".concat(ni,"-row-hover"),!Li&&Ii),Sn),$a.className,Li==null?void 0:Li.className),Gs={};$r&&(Gs.textAlign=$r);var tu=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},$i),$a.style),Gs),Li==null?void 0:Li.style),Zs=tA;return(0,Ze.Z)(Zs)==="object"&&!Array.isArray(Zs)&&!ve.isValidElement(Zs)&&(Zs=null),Gn&&(la||Ea)&&(Zs=ve.createElement("span",{className:"".concat(ni,"-content")},Zs)),ve.createElement(zn,(0,De.Z)({},Li,$a,{className:ZA,style:tu,title:Ai,scope:br,onMouseEnter:wo,onMouseLeave:ai,colSpan:ya!==1?ya:null,rowSpan:io!==1?io:null}),Vo,Zs)}var Wn=ve.memo(ln);function Bt(Ye,et,Et,Qt,qt,$t){var Pn=Et[Ye]||{},Fn=Et[et]||{},Sn,zn;Pn.fixed==="left"?Sn=Qt.left[qt==="rtl"?et:Ye]:Fn.fixed==="right"&&(zn=Qt.right[qt==="rtl"?Ye:et]);var $n=!1,Gn=!1,br=!1,pr=!1,Sr=Et[et+1],$r=Et[Ye-1],zr=!($t!=null&&$t.children);if(qt==="rtl"){if(Sn!==void 0){var qr=$r&&$r.fixed==="left";pr=!qr&&zr}else if(zn!==void 0){var Gr=Sr&&Sr.fixed==="right";br=!Gr&&zr}}else if(Sn!==void 0){var ca=Sr&&Sr.fixed==="left";$n=!ca&&zr}else if(zn!==void 0){var Ka=$r&&$r.fixed==="right";Gn=!Ka&&zr}return{fixLeft:Sn,fixRight:zn,lastFixLeft:$n,firstFixRight:Gn,lastFixRight:br,firstFixLeft:pr,isSticky:Qt.isSticky}}var Un=ve.createContext({}),ar=Un;function Je(Ye){var et=Ye.className,Et=Ye.index,Qt=Ye.children,qt=Ye.colSpan,$t=qt===void 0?1:qt,Pn=Ye.rowSpan,Fn=Ye.align,Sn=fe(Le,["prefixCls","direction"]),zn=Sn.prefixCls,$n=Sn.direction,Gn=ve.useContext(ar),br=Gn.scrollColumnIndex,pr=Gn.stickyOffsets,Sr=Gn.flattenColumns,$r=Gn.columns,zr=Et+$t-1,qr=zr+1===br?$t+1:$t,Gr=Bt(Et,Et+qr-1,Sr,pr,$n,$r==null?void 0:$r[Et]);return ve.createElement(Wn,(0,De.Z)({className:et,index:Et,component:"td",prefixCls:zn,record:null,dataIndex:null,align:Fn,colSpan:qr,rowSpan:Pn,render:function(){return Qt}},Gr))}var gn=Be(75931),Fe=["children"];function he(Ye){var et=Ye.children,Et=(0,gn.Z)(Ye,Fe);return ve.createElement("tr",Et,et)}function de(Ye){var et=Ye.children;return et}de.Row=he,de.Cell=Je;var ye=de;function qe(Ye){var et=Ye.children,Et=Ye.stickyOffsets,Qt=Ye.flattenColumns,qt=Ye.columns,$t=fe(Le,"prefixCls"),Pn=Qt.length-1,Fn=Qt[Pn],Sn=ve.useMemo(function(){return{stickyOffsets:Et,flattenColumns:Qt,scrollColumnIndex:Fn!=null&&Fn.scrollbar?Pn:null,columns:qt}},[Fn,Qt,Pn,Et,qt]);return ve.createElement(ar.Provider,{value:Sn},ve.createElement("tfoot",{className:"".concat($t,"-summary")},et))}var dt=ne(qe),Re=ye,Xe=Be(70425),Ct=Be(29301),gt=Be(29194),it=Be(3465),kt=Be(75152),kn=Be(26112);function Ft(Ye,et,Et,Qt,qt,$t,Pn){Ye.push({record:et,indent:Et,index:Pn});var Fn=$t(et),Sn=qt==null?void 0:qt.has(Fn);if(et&&Array.isArray(et[Qt])&&Sn)for(var zn=0;zn1?Ba-1:0),Ea=1;Ea=0;Fn-=1){var Sn=et[Fn],zn=Et&&Et[Fn],$n=zn&&zn[sr];if(Sn||$n||Pn){var Gn=$n||{},br=Gn.columnType,pr=(0,gn.Z)(Gn,Pr);qt.unshift(ve.createElement("col",(0,De.Z)({key:Fn,style:{width:Sn}},pr))),Pn=!0}}return ve.createElement("colgroup",null,qt)}var Wr=ta,Rr=Be(94480),so=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function to(Ye,et){return(0,ve.useMemo)(function(){for(var Et=[],Qt=0;Qt1?"colgroup":"col":null,ellipsis:zr.ellipsis,align:zr.align,component:zr.title?$t:Pn,prefixCls:$n,key:pr[$r]},qr,{additionalProps:Gr,rowType:"header"}))}))}Oa.displayName="HeaderRow";var Po=Oa;function Ei(Ye){var et=[];function Et(Pn,Fn){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[Sn]=et[Sn]||[];var zn=Fn,$n=Pn.filter(Boolean).map(function(Gn){var br={key:Gn.key,className:Gn.className||"",children:Gn.title,column:Gn,colStart:zn},pr=1,Sr=Gn.children;return Sr&&Sr.length>0&&(pr=Et(Sr,zn,Sn+1).reduce(function($r,zr){return $r+zr},0),br.hasSubColumns=!0),"colSpan"in Gn&&(pr=Gn.colSpan),"rowSpan"in Gn&&(br.rowSpan=Gn.rowSpan),br.colSpan=pr,br.colEnd=br.colStart+pr-1,et[Sn].push(br),zn+=pr,pr});return $n}Et(Ye,0);for(var Qt=et.length,qt=function(Fn){et[Fn].forEach(function(Sn){!("rowSpan"in Sn)&&!Sn.hasSubColumns&&(Sn.rowSpan=Qt-Fn)})},$t=0;$t1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Ye*parseFloat(et)/100:null}function qa(Ye,et){return ve.useMemo(function(){if(et&&et>0){var Et=0,Qt=0;Ye.forEach(function(zn){var $n=Mi(et,zn.width);$n?Et+=$n:Qt+=1});var qt=et-Et,$t=Qt,Pn=qt/Qt,Fn=0,Sn=Ye.map(function(zn){var $n=(0,nt.Z)({},zn),Gn=Mi(et,$n.width);if(Gn)$n.width=Gn;else{var br=Math.floor(Pn);$n.width=$t===1?qt:br,qt-=br,$t-=1}return Fn+=$n.width,$n});return[Sn,Fn]}return[Ye,et]},[Ye,et])}var In=["children"],Tn=["fixed"];function pn(Ye){return(0,Gi.Z)(Ye).filter(function(et){return ve.isValidElement(et)}).map(function(et){var Et=et.key,Qt=et.props,qt=Qt.children,$t=(0,gn.Z)(Qt,In),Pn=(0,nt.Z)({key:Et},$t);return qt&&(Pn.children=pn(qt)),Pn})}function Ur(Ye){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ye.filter(function(Et){return Et&&(0,Ze.Z)(Et)==="object"}).reduce(function(Et,Qt,qt){var $t=Qt.fixed,Pn=$t===!0?"left":$t,Fn="".concat(et,"-").concat(qt),Sn=Qt.children;return Sn&&Sn.length>0?[].concat((0,Rr.Z)(Et),(0,Rr.Z)(Ur(Sn,Fn).map(function(zn){return(0,nt.Z)({fixed:Pn},zn)}))):[].concat((0,Rr.Z)(Et),[(0,nt.Z)((0,nt.Z)({key:Fn},Qt),{},{fixed:Pn})])},[])}function ua(Ye){for(var et=!0,Et=0;Et=0;$t-=1){var Pn=Ye[$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 Tr(Ye){return Ye.map(function(et){var Et=et.fixed,Qt=(0,gn.Z)(et,Tn),qt=Et;return Et==="left"?qt="right":Et==="right"&&(qt="left"),(0,nt.Z)({fixed:qt},Qt)})}function Fa(Ye,et){var Et=Ye.prefixCls,Qt=Ye.columns,qt=Ye.children,$t=Ye.expandable,Pn=Ye.expandedKeys,Fn=Ye.columnTitle,Sn=Ye.getRowKey,zn=Ye.onTriggerExpand,$n=Ye.expandIcon,Gn=Ye.rowExpandable,br=Ye.expandIconColumnIndex,pr=Ye.direction,Sr=Ye.expandRowByClick,$r=Ye.columnWidth,zr=Ye.fixed,qr=Ye.scrollWidth,Gr=ve.useMemo(function(){return Qt||pn(qt)},[Qt,qt]),ca=ve.useMemo(function(){if($t){var Pa,Ba=Gr.slice();if(!Ba.includes(le)){var la=br||0;la>=0&&Ba.splice(la,0,le)}var Ea=Ba.indexOf(le);Ba=Ba.filter(function($a,To){return $a!==le||To===Ea});var ro=Gr[Ea],Vo;(zr==="left"||zr)&&!br?Vo="left":(zr==="right"||zr)&&br===Gr.length?Vo="right":Vo=ro?ro.fixed:null;var bo=(Pa={},(0,ke.Z)(Pa,sr,{className:"".concat(Et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ke.Z)(Pa,"title",Fn),(0,ke.Z)(Pa,"fixed",Vo),(0,ke.Z)(Pa,"className","".concat(Et,"-row-expand-icon-cell")),(0,ke.Z)(Pa,"width",$r),(0,ke.Z)(Pa,"render",function(To,ni,qi){var hi=Sn(ni,qi),cs=Pn.has(hi),Ls=Gn?Gn(ni):!0,Io=$n({prefixCls:Et,expanded:cs,expandable:Ls,record:ni,onExpand:zn});return Sr?ve.createElement("span",{onClick:function(Li){return Li.stopPropagation()}},Io):Io}),Pa);return Ba.map(function($a){return $a===le?bo:$a})}return Gr.filter(function($a){return $a!==le})},[$t,Gr,Sn,Pn,$n,pr]),Ka=ve.useMemo(function(){var Pa=ca;return et&&(Pa=et(Pa)),Pa.length||(Pa=[{render:function(){return null}}]),Pa},[et,ca,pr]),Ya=ve.useMemo(function(){return pr==="rtl"?Tr(Ur(Ka)):Ur(Ka)},[Ka,pr,qr]),Ca=qa(Ya,qr),lo=(0,je.Z)(Ca,2),Fo=lo[0],pa=lo[1];return[Ka,Fo,pa]}var Na=Fa;function Ma(Ye){var et,Et=Ye.prefixCls,Qt=Ye.record,qt=Ye.onExpand,$t=Ye.expanded,Pn=Ye.expandable,Fn="".concat(Et,"-row-expand-icon");if(!Pn)return ve.createElement("span",{className:_e()(Fn,"".concat(Et,"-row-spaced"))});var Sn=function($n){qt(Qt,$n),$n.stopPropagation()};return ve.createElement("span",{className:_e()(Fn,(et={},(0,ke.Z)(et,"".concat(Et,"-row-expanded"),$t),(0,ke.Z)(et,"".concat(Et,"-row-collapsed"),!$t),et)),onClick:Sn})}function jo(Ye,et,Et){var Qt=[];function qt($t){($t||[]).forEach(function(Pn,Fn){Qt.push(et(Pn,Fn)),qt(Pn[Et])})}return qt(Ye),Qt}function pi(Ye,et,Et){var Qt=dr(Ye),qt=Qt.expandIcon,$t=Qt.expandedRowKeys,Pn=Qt.defaultExpandedRowKeys,Fn=Qt.defaultExpandAllRows,Sn=Qt.expandedRowRender,zn=Qt.onExpand,$n=Qt.onExpandedRowsChange,Gn=Qt.childrenColumnName,br=qt||Ma,pr=Gn||"children",Sr=ve.useMemo(function(){return Sn?"row":Ye.expandable&&Ye.internalHooks===Ee&&Ye.expandable.__PARENT_RENDER_ICON__||et.some(function(Ya){return Ya&&(0,Ze.Z)(Ya)==="object"&&Ya[pr]})?"nest":!1},[!!Sn,et]),$r=ve.useState(function(){return Pn||(Fn?jo(et,Et,pr):[])}),zr=(0,je.Z)($r,2),qr=zr[0],Gr=zr[1],ca=ve.useMemo(function(){return new Set($t||qr||[])},[$t,qr]),Ka=ve.useCallback(function(Ya){var Ca=Et(Ya,et.indexOf(Ya)),lo,Fo=ca.has(Ca);Fo?(ca.delete(Ca),lo=(0,Rr.Z)(ca)):lo=[].concat((0,Rr.Z)(ca),[Ca]),Gr(lo),zn&&zn(!Fo,Ya),$n&&$n(lo)},[Et,ca,et,zn,$n]);return[Qt,Sr,ca,br,pr,Ka]}function Ir(Ye,et,Et,Qt){var qt=Ye.map(function($t,Pn){return Bt(Pn,Pn,Ye,et,Et,Qt==null?void 0:Qt[Pn])});return(0,Nt.Z)(function(){return qt},[qt],function($t,Pn){return!(0,He.Z)($t,Pn)})}function Ja(Ye){var et=(0,ve.useRef)(Ye),Et=(0,ve.useState)({}),Qt=(0,je.Z)(Et,2),qt=Qt[1],$t=(0,ve.useRef)(null),Pn=(0,ve.useRef)([]);function Fn(Sn){Pn.current.push(Sn);var zn=Promise.resolve();$t.current=zn,zn.then(function(){if($t.current===zn){var $n=Pn.current,Gn=et.current;Pn.current=[],$n.forEach(function(br){et.current=br(et.current)}),$t.current=null,Gn!==et.current&&qt({})}})}return(0,ve.useEffect)(function(){return function(){$t.current=null}},[]),[et.current,Fn]}function Ci(Ye){var et=(0,ve.useRef)(Ye||null),Et=(0,ve.useRef)();function Qt(){window.clearTimeout(Et.current)}function qt(Pn){et.current=Pn,Qt(),Et.current=window.setTimeout(function(){et.current=null,Et.current=void 0},100)}function $t(){return et.current}return(0,ve.useEffect)(function(){return Qt},[]),[qt,$t]}function ii(){var Ye=ve.useState(-1),et=(0,je.Z)(Ye,2),Et=et[0],Qt=et[1],qt=ve.useState(-1),$t=(0,je.Z)(qt,2),Pn=$t[0],Fn=$t[1],Sn=ve.useCallback(function(zn,$n){Qt(zn),Fn($n)},[]);return[Et,Pn,Sn]}var Do=Be(47273),Lo=(0,Do.Z)()?window:null;function Zi(Ye,et){var Et=(0,Ze.Z)(Ye)==="object"?Ye:{},Qt=Et.offsetHeader,qt=Qt===void 0?0:Qt,$t=Et.offsetSummary,Pn=$t===void 0?0:$t,Fn=Et.offsetScroll,Sn=Fn===void 0?0:Fn,zn=Et.getContainer,$n=zn===void 0?function(){return Lo}:zn,Gn=$n()||Lo;return ve.useMemo(function(){var br=!!Ye;return{isSticky:br,stickyClassName:br?"".concat(et,"-sticky-holder"):"",offsetHeader:qt,offsetSummary:Pn,offsetScroll:Sn,container:Gn}},[Sn,qt,Pn,et,Gn])}function Os(Ye,et,Et){var Qt=(0,ve.useMemo)(function(){for(var qt=[],$t=[],Pn=0,Fn=0,Sn=0;Sn=Gn&&($a=Gn-br),Pn({scrollLeft:$a/Gn*($n+2)}),Gr.current.x=Ea.pageX},Pa=function(){if($t.current){var Ea=(0,PA.os)($t.current).top,ro=Ea+$t.current.offsetHeight,Vo=Sn===window?document.documentElement.scrollTop+window.innerHeight:(0,PA.os)(Sn).top+Sn.clientHeight;ro-(0,kt.Z)()<=Vo||Ea>=Vo-Fn?qr(function(bo){return(0,nt.Z)((0,nt.Z)({},bo),{},{isHiddenScrollBar:!0})}):qr(function(bo){return(0,nt.Z)((0,nt.Z)({},bo),{},{isHiddenScrollBar:!1})})}},Ba=function(Ea){qr(function(ro){return(0,nt.Z)((0,nt.Z)({},ro),{},{scrollLeft:Ea/$n*Gn||0})})};return ve.useImperativeHandle(Et,function(){return{setScrollLeft:Ba}}),ve.useEffect(function(){var la=(0,Hi.Z)(document.body,"mouseup",lo,!1),Ea=(0,Hi.Z)(document.body,"mousemove",pa,!1);return Pa(),function(){la.remove(),Ea.remove()}},[br,Ya]),ve.useEffect(function(){var la=(0,Hi.Z)(Sn,"scroll",Pa,!1),Ea=(0,Hi.Z)(window,"resize",Pa,!1);return function(){la.remove(),Ea.remove()}},[Sn]),ve.useEffect(function(){zr.isHiddenScrollBar||qr(function(la){var Ea=$t.current;return Ea?(0,nt.Z)((0,nt.Z)({},la),{},{scrollLeft:Ea.scrollLeft/Ea.scrollWidth*Ea.clientWidth}):la})},[zr.isHiddenScrollBar]),$n<=Gn||!br||zr.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,kt.Z)(),width:Gn,bottom:Fn},className:"".concat(zn,"-sticky-scroll")},ve.createElement("div",{onMouseDown:Fo,ref:pr,className:_e()("".concat(zn,"-sticky-scroll-bar"),(0,ke.Z)({},"".concat(zn,"-sticky-scroll-bar-active"),Ya)),style:{width:"".concat(br,"px"),transform:"translate3d(".concat(zr.scrollLeft,"px, 0, 0)")}}))},js=ve.forwardRef(Sl);function Or(Ye){return null}var Yu=Or;function Au(Ye){return null}var Nl=Au,el="rc-table",Jr=[],Va={};function Wo(){return"No Data"}function _a(Ye){var et,Et=(0,nt.Z)({rowKey:"key",prefixCls:el,emptyText:Wo},Ye),Qt=Et.prefixCls,qt=Et.className,$t=Et.rowClassName,Pn=Et.style,Fn=Et.data,Sn=Et.rowKey,zn=Et.scroll,$n=Et.tableLayout,Gn=Et.direction,br=Et.title,pr=Et.footer,Sr=Et.summary,$r=Et.caption,zr=Et.id,qr=Et.showHeader,Gr=Et.components,ca=Et.emptyText,Ka=Et.onRow,Ya=Et.onHeaderRow,Ca=Et.internalHooks,lo=Et.transformColumns,Fo=Et.internalRefs,pa=Et.tailor,Pa=Et.sticky,Ba=Fn||Jr,la=!!Ba.length,Ea=Ca===Ee,ro=ve.useCallback(function(Qi,As){return(0,st.Z)(Gr,Qi)||As},[Gr]),Vo=ve.useMemo(function(){return typeof Sn=="function"?Sn:function(Qi){var As=Qi&&Qi[Sn];return As}},[Sn]),bo=ro(["body"]),$a=ii(),To=(0,je.Z)($a,3),ni=To[0],qi=To[1],hi=To[2],cs=pi(Et,Ba,Vo),Ls=(0,je.Z)(cs,6),Io=Ls[0],tA=Ls[1],Li=Ls[2],$i=Ls[3],ns=Ls[4],cl=Ls[5],ya=zn==null?void 0:zn.x,io=ve.useState(0),ao=(0,je.Z)(io,2),Ha=ao[0],Ii=ao[1],Ra=Na((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Et),Io),{},{expandable:!!Io.expandedRowRender,columnTitle:Io.columnTitle,expandedKeys:Li,getRowKey:Vo,onTriggerExpand:cl,expandIcon:$i,expandIconColumnIndex:Io.expandIconColumnIndex,direction:Gn,scrollWidth:Ea&&pa&&typeof ya=="number"?ya:null}),Ea?lo:null),wo=(0,je.Z)(Ra,3),ai=wo[0],Ai=wo[1],ZA=wo[2],Gs=ZA!=null?ZA:ya,tu=ve.useMemo(function(){return{columns:ai,flattenColumns:Ai}},[ai,Ai]),Zs=ve.useRef(),Cl=ve.useRef(),aa=ve.useRef(),rl=ve.useRef(),yc=ve.useRef(),Ni=ve.useState(!1),ri=(0,je.Z)(Ni,2),Bs=ri[0],gA=ri[1],ss=ve.useState(!1),Xo=(0,je.Z)(ss,2),WA=Xo[0],HA=Xo[1],dl=Ja(new Map),al=(0,je.Z)(dl,2),ol=al[0],Tl=al[1],Hu=tt(Ai),Hl=Hu.map(function(Qi){return ol.get(Qi)}),Is=ve.useMemo(function(){return Hl},[Hl.join("_")]),NA=AA(Is,Ai.length,Gn),nA=zn&&zt(zn.y),Ss=zn&&zt(Gs)||!!Io.fixed,gu=Ss&&Ai.some(function(Qi){var As=Qi.fixed;return As}),Iu=ve.useRef(),Ru=Zi(Pa,Qt),fu=Ru.isSticky,pd=Ru.offsetHeader,Md=Ru.offsetSummary,li=Ru.offsetScroll,rs=Ru.stickyClassName,DA=Ru.container,ps=ve.useMemo(function(){return Sr==null?void 0:Sr(Ba)},[Sr,Ba]),UA=(nA||fu)&&ve.isValidElement(ps)&&ps.type===ye&&ps.props.fixed,RA,Ns,hu;nA&&(Ns={overflowY:"scroll",maxHeight:zn.y}),Ss&&(RA={overflowX:"auto"},nA||(Ns={overflowY:"hidden"}),hu={width:Gs===!0?"auto":Gs,minWidth:"100%"});var vd=ve.useCallback(function(Qi,As){(0,gt.Z)(Zs.current)&&Tl(function(nu){if(nu.get(Qi)!==As){var ac=new Map(nu);return ac.set(Qi,As),ac}return nu})},[]),Bd=Ci(null),zd=(0,je.Z)(Bd,2),bg=zd[0],Eg=zd[1];function Jc(Qi,As){As&&(typeof As=="function"?As(Qi):As.scrollLeft!==Qi&&(As.scrollLeft=Qi,As.scrollLeft!==Qi&&setTimeout(function(){As.scrollLeft=Qi},0)))}var mu=(0,rt.Z)(function(Qi){var As=Qi.currentTarget,nu=Qi.scrollLeft,ac=Gn==="rtl",oc=typeof nu=="number"?nu:As.scrollLeft,Ff=As||Va;if(!Eg()||Eg()===Ff){var Ng;bg(Ff),Jc(oc,Cl.current),Jc(oc,aa.current),Jc(oc,yc.current),Jc(oc,(Ng=Iu.current)===null||Ng===void 0?void 0:Ng.setScrollLeft)}var Dg=As||Cl.current;if(Dg){var Ug=Dg.scrollWidth,Og=Dg.clientWidth;if(Ug===Og){gA(!1),HA(!1);return}ac?(gA(-oc0)):(gA(oc>0),HA(oc1?$r-Ea:0,Vo=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},lo),Sn),{},{flex:"0 0 ".concat(Ea,"px"),width:"".concat(Ea,"px"),marginRight:ro,pointerEvents:"auto"}),bo=ve.useMemo(function(){return $n?Ba<=1:pa===0||Ba===0||Ba>1},[Ba,pa,$n]);bo?Vo.visibility="hidden":$n&&(Vo.height=Gn==null?void 0:Gn(Ba));var $a=bo?function(){return null}:br,To={};return(Ba===0||pa===0)&&(To.rowSpan=1,To.colSpan=1),ve.createElement(Wn,(0,De.Z)({className:_e()(Sr,zn),ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:"div",prefixCls:et.prefixCls,key:ca,record:Fn,index:$t,renderIndex:Pn,dataIndex:pr,render:$a,shouldCellUpdate:Et.shouldCellUpdate},Ka,{appendNode:Ya,additionalProps:(0,nt.Z)((0,nt.Z)({},Ca),{},{style:Vo},To)}))}var qu=Mc,wl=["data","index","className","rowKey","style","extra","getHeight"],Dl=ve.forwardRef(function(Ye,et){var Et=Ye.data,Qt=Ye.index,qt=Ye.className,$t=Ye.rowKey,Pn=Ye.style,Fn=Ye.extra,Sn=Ye.getHeight,zn=(0,gn.Z)(Ye,wl),$n=Et.record,Gn=Et.indent,br=Et.index,pr=fe(Le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Sr=pr.scrollX,$r=pr.flattenColumns,zr=pr.prefixCls,qr=pr.fixColumn,Gr=pr.componentWidth,ca=lt($n,$t,Qt,Gn),Ka=ca.rowSupportExpand,Ya=ca.expanded,Ca=ca.rowProps,lo=ca.expandedRowRender,Fo=ca.expandedRowClassName,pa;if(Ka&&Ya){var Pa=lo($n,Qt,Gn+1,Ya),Ba=Fo==null?void 0:Fo($n,Qt,Gn),la={};qr&&(la={style:(0,ke.Z)({},"--virtual-width","".concat(Gr,"px"))});var Ea="".concat(zr,"-expanded-row-cell");pa=ve.createElement("div",{className:_e()("".concat(zr,"-expanded-row"),"".concat(zr,"-expanded-row-level-").concat(Gn+1),Ba)},ve.createElement(Wn,{component:"div",prefixCls:zr,className:_e()(Ea,(0,ke.Z)({},"".concat(Ea,"-fixed"),qr)),additionalProps:la},Pa))}var ro=(0,nt.Z)((0,nt.Z)({},Pn),{},{width:Sr});Fn&&(ro.position="absolute",ro.pointerEvents="none");var Vo=ve.createElement("div",(0,De.Z)({},Ca,zn,{ref:Ka?null:et,className:_e()(qt,"".concat(zr,"-row"),Ca==null?void 0:Ca.className,(0,ke.Z)({},"".concat(zr,"-row-extra"),Fn)),style:(0,nt.Z)((0,nt.Z)({},ro),Ca==null?void 0:Ca.style)}),$r.map(function(bo,$a){return ve.createElement(qu,{key:$a,rowInfo:ca,column:bo,colIndex:$a,indent:Gn,index:Qt,renderIndex:br,record:$n,inverse:Fn,getHeight:Sn})}));return Ka?ve.createElement("div",{ref:et},Vo,pa):Vo}),Qu=ne(Dl),Zl=Qu,Wl=ve.forwardRef(function(Ye,et){var Et=Ye.data,Qt=Ye.onScroll,qt=fe(Le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=qt.flattenColumns,Pn=qt.onColumnResize,Fn=qt.getRowKey,Sn=qt.expandedKeys,zn=qt.prefixCls,$n=qt.childrenColumnName,Gn=qt.emptyNode,br=qt.scrollX,pr=fe(xA),Sr=pr.scrollY,$r=pr.listItemHeight,zr=ve.useRef(),qr=on(Et,$n,Sn,Fn),Gr=ve.useMemo(function(){var pa=0;return $t.map(function(Pa){var Ba=Pa.width,la=Pa.key;return pa+=Ba,[la,Ba,pa]})},[$t]),ca=ve.useMemo(function(){return Gr.map(function(pa){return pa[2]})},[Gr]);ve.useEffect(function(){Gr.forEach(function(pa){var Pa=(0,je.Z)(pa,2),Ba=Pa[0],la=Pa[1];Pn(Ba,la)})},[Gr]),ve.useImperativeHandle(et,function(){var pa={};return Object.defineProperty(pa,"scrollLeft",{get:function(){var Ba;return((Ba=zr.current)===null||Ba===void 0?void 0:Ba.getScrollInfo().x)||0},set:function(Ba){var la;(la=zr.current)===null||la===void 0||la.scrollTo({left:Ba})}}),pa});var Ka=function(Pa,Ba){var la,Ea=(la=qr[Ba])===null||la===void 0?void 0:la.record,ro=Pa.onCell;if(ro){var Vo,bo=ro(Ea,Ba);return(Vo=bo==null?void 0:bo.rowSpan)!==null&&Vo!==void 0?Vo:1}return 1},Ya=function(Pa){var Ba=Pa.start,la=Pa.end,Ea=Pa.getSize,ro=Pa.offsetY;if(la<0)return null;for(var Vo=$t.filter(function(ya){return Ka(ya,Ba)===0}),bo=Ba,$a=function(io){if(Vo=Vo.filter(function(ao){return Ka(ao,io)===0}),!Vo.length)return bo=io,"break"},To=Ba;To>=0;To-=1){var ni=$a(To);if(ni==="break")break}for(var qi=$t.filter(function(ya){return Ka(ya,la)!==1}),hi=la,cs=function(io){if(qi=qi.filter(function(ao){return Ka(ao,io)!==1}),!qi.length)return hi=Math.max(io-1,la),"break"},Ls=la;Ls1})&&tA.push(io)},$i=bo;$i<=hi;$i+=1)var ns=Li($i);var cl=tA.map(function(ya){var io=qr[ya],ao=Fn(io.record,ya),Ha=function(wo){var ai=ya+wo-1,Ai=Fn(qr[ai].record,ai),ZA=Ea(ao,Ai);return ZA.bottom-ZA.top},Ii=Ea(ao);return ve.createElement(Zl,{key:ya,data:io,rowKey:ao,index:ya,style:{top:-ro+Ii.top},extra:!0,getHeight:Ha})});return cl},Ca=ve.useMemo(function(){return{columnsOffset:ca}},[ca]),lo="".concat(zn,"-tbody"),Fo;return qr.length?Fo=ve.createElement(lA.Z,{fullHeight:!1,ref:zr,className:_e()(lo,"".concat(lo,"-virtual")),height:Sr,itemHeight:$r||24,data:qr,itemKey:function(Pa){return Fn(Pa.record)},scrollWidth:br,onVirtualScroll:function(Pa){var Ba=Pa.x;Qt({scrollLeft:Ba})},extraRender:Ya},function(pa,Pa,Ba){var la=Fn(pa.record,Pa);return ve.createElement(Zl,(0,De.Z)({data:pa,rowKey:la,index:Pa},Ba))}):Fo=ve.createElement("div",{className:_e()("".concat(zn,"-placeholder"))},ve.createElement(Wn,{component:"div",prefixCls:zn},Gn)),ve.createElement(xi.Provider,{value:Ca},Fo)}),Ul=ne(Wl),ul=Ul,bu=function(et,Et){var Qt=Et.ref,qt=Et.onScroll;return ve.createElement(ul,{ref:Qt,data:et,onScroll:qt})},pA=100;function vc(Ye){var et=Ye.columns,Et=Ye.scroll,Qt=Ye.prefixCls,qt=Qt===void 0?el:Qt,$t=Ye.className,Pn=Ye.listItemHeight,Fn=Et||{},Sn=Fn.x,zn=Fn.y;typeof Sn!="number"&&(Sn=((et||[]).length+1)*pA),typeof zn!="number"&&(zn=500);var $n=ve.useMemo(function(){return{scrollY:zn,listItemHeight:Pn}},[zn,Pn]);return ve.createElement(xA.Provider,{value:$n},ve.createElement(Ms,(0,De.Z)({},Ye,{className:_e()($t,"".concat(qt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},Et),{},{x:Sn}),components:{body:bu},columns:et,internalHooks:Ee,tailor:!0})))}function Ol(Ye){return te(vc,Ye)}var dn=Ol(),Eu=null;function yA(Ye){return null}var lu=yA;function Vs(Ye){return null}var uu=Vs,Cu=Be(2738),_l=Be(68031),Xs=Be(36355),Js=Be(93891),Bc=Be(19716),fs=Be(8628),$u=Be(31724),ku=Be(58421),Da=Be(71418),da=Be(88088);function Zt(Ye){return function(Et){let{prefixCls:Qt,onExpand:qt,record:$t,expanded:Pn,expandable:Fn}=Et;const Sn=`${Qt}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:zn=>{qt($t,zn),zn.stopPropagation()},className:_e()(Sn,{[`${Sn}-spaced`]:!Fn,[`${Sn}-expanded`]:Fn&&Pn,[`${Sn}-collapsed`]:Fn&&!Pn}),"aria-label":Pn?Ye.collapse:Ye.expand,"aria-expanded":Pn})}}var _t=Zt;function Nn(Ye,et){return"key"in Ye&&Ye.key!==void 0&&Ye.key!==null?Ye.key:Ye.dataIndex?Array.isArray(Ye.dataIndex)?Ye.dataIndex.join("."):Ye.dataIndex:et}function ur(Ye,et){return et?`${et}-${Ye}`:`${Ye}`}function sa(Ye,et){return typeof Ye=="function"?Ye(et):Ye}function wa(Ye,et){const Et=sa(Ye,et);return Object.prototype.toString.call(Et)==="[object Object]"?"":Et}var na={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"},_r=na,Aa=Be(7657),Ta=function(et,Et){return ve.createElement(Aa.Z,(0,De.Z)({},et,{ref:Et,icon:_r}))},ko=ve.forwardRef(Ta),Fi=ko,za=Be(56762);function hs(Ye){const et=ve.useRef(Ye),Et=(0,za.Z)();return[()=>et.current,Qt=>{et.current=Qt,Et()}]}var si=Be(3113),Dn=Be(24905),Wt=Be(38854),mn=Be(64165),Jn=Be(20834),jr=Be(40875),ra=Be(5112),er=Be(17574),ga=Be(47472),ha=Be(92832);function no(Ye){let{value:et,onChange:Et,filterSearch:Qt,tablePrefixCls:qt,locale:$t}=Ye;return Qt?ve.createElement("div",{className:`${qt}-filter-dropdown-search`},ve.createElement(ha.default,{prefix:ve.createElement(ga.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:Et,value:et,htmlSize:1,className:`${qt}-filter-dropdown-search-input`})):null}var La=no,Kr=Be(10228);const Ao=Ye=>{const{keyCode:et}=Ye;et===Kr.Z.ENTER&&Ye.stopPropagation()};var hn=ve.forwardRef((Ye,et)=>ve.createElement("div",{className:Ye.className,onClick:Et=>Et.stopPropagation(),onKeyDown:Ao,ref:et},Ye.children));function rn(Ye){let et=[];return(Ye||[]).forEach(Et=>{let{value:Qt,children:qt}=Et;et.push(Qt),qt&&(et=[].concat((0,Rr.Z)(et),(0,Rr.Z)(rn(qt))))}),et}function Ia(Ye){return Ye.some(et=>{let{children:Et}=et;return Et})}function ma(Ye,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Ye.trim().toLowerCase()):!1}function Yr(Ye){let{filters:et,prefixCls:Et,filteredKeys:Qt,filterMultiple:qt,searchValue:$t,filterSearch:Pn}=Ye;return et.map((Fn,Sn)=>{const zn=String(Fn.value);if(Fn.children)return{key:zn||Sn,label:Fn.text,popupClassName:`${Et}-dropdown-submenu`,children:Yr({filters:Fn.children,prefixCls:Et,filteredKeys:Qt,filterMultiple:qt,searchValue:$t,filterSearch:Pn})};const $n=qt?Dn.default:ra.ZP,Gn={key:Fn.value!==void 0?zn:Sn,label:ve.createElement(ve.Fragment,null,ve.createElement($n,{checked:Qt.includes(zn)}),ve.createElement("span",null,Fn.text))};return $t.trim()?typeof Pn=="function"?Pn($t,Fn)?Gn:null:ma($t,Fn.text)?Gn:null:Gn})}function Uo(Ye){var et,Et;const{tablePrefixCls:Qt,prefixCls:qt,column:$t,dropdownPrefixCls:Pn,columnKey:Fn,filterMultiple:Sn,filterMode:zn="menu",filterSearch:$n=!1,filterState:Gn,triggerFilter:br,locale:pr,children:Sr,getPopupContainer:$r}=Ye,{filterDropdownOpen:zr,onFilterDropdownOpenChange:qr,filterResetToDefaultFilteredValue:Gr,defaultFilteredValue:ca,filterDropdownVisible:Ka,onFilterDropdownVisibleChange:Ya}=$t,[Ca,lo]=ve.useState(!1),Fo=!!(Gn&&(!((et=Gn.filteredKeys)===null||et===void 0)&&et.length||Gn.forceFiltered)),pa=Ra=>{lo(Ra),qr==null||qr(Ra),Ya==null||Ya(Ra)},Pa=(Et=zr!=null?zr:Ka)!==null&&Et!==void 0?Et:Ca,Ba=Gn==null?void 0:Gn.filteredKeys,[la,Ea]=hs(Ba||[]),ro=Ra=>{let{selectedKeys:wo}=Ra;Ea(wo)},Vo=(Ra,wo)=>{let{node:ai,checked:Ai}=wo;ro(Sn?{selectedKeys:Ra}:{selectedKeys:Ai&&ai.key?[ai.key]:[]})};ve.useEffect(()=>{Ca&&ro({selectedKeys:Ba||[]})},[Ba]);const[bo,$a]=ve.useState([]),To=Ra=>{$a(Ra)},[ni,qi]=ve.useState(""),hi=Ra=>{const{value:wo}=Ra.target;qi(wo)};ve.useEffect(()=>{Ca||qi("")},[Ca]);const cs=Ra=>{const wo=Ra&&Ra.length?Ra:null;if(wo===null&&(!Gn||!Gn.filteredKeys)||(0,He.Z)(wo,Gn==null?void 0:Gn.filteredKeys,!0))return null;br({column:$t,key:Fn,filteredKeys:wo})},Ls=()=>{pa(!1),cs(la())},Io=function(){let{confirm:Ra,closeDropdown:wo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Ra&&cs([]),wo&&pa(!1),qi(""),Ea(Gr?(ca||[]).map(ai=>String(ai)):[])},tA=function(){let{closeDropdown:Ra}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Ra&&pa(!1),cs(la())},Li=Ra=>{Ra&&Ba!==void 0&&Ea(Ba||[]),pa(Ra),!Ra&&!$t.filterDropdown&&Ls()},$i=_e()({[`${Pn}-menu-without-submenu`]:!Ia($t.filters||[])}),ns=Ra=>{if(Ra.target.checked){const wo=rn($t==null?void 0:$t.filters).map(ai=>String(ai));Ea(wo)}else Ea([])},cl=Ra=>{let{filters:wo}=Ra;return(wo||[]).map((ai,Ai)=>{const ZA=String(ai.value),Gs={title:ai.text,key:ai.value!==void 0?ZA:Ai};return ai.children&&(Gs.children=cl({filters:ai.children})),Gs})},ya=Ra=>{var wo;return Object.assign(Object.assign({},Ra),{text:Ra.title,value:Ra.key,children:((wo=Ra.children)===null||wo===void 0?void 0:wo.map(ai=>ya(ai)))||[]})};let io;if(typeof $t.filterDropdown=="function")io=$t.filterDropdown({prefixCls:`${Pn}-custom`,setSelectedKeys:Ra=>ro({selectedKeys:Ra}),selectedKeys:la(),confirm:tA,clearFilters:Io,filters:$t.filters,visible:Pa,close:()=>{pa(!1)}});else if($t.filterDropdown)io=$t.filterDropdown;else{const Ra=la()||[],wo=()=>($t.filters||[]).length===0?ve.createElement(mn.Z,{image:mn.Z.PRESENTED_IMAGE_SIMPLE,description:pr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zn==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(La,{filterSearch:$n,value:ni,onChange:hi,tablePrefixCls:Qt,locale:pr}),ve.createElement("div",{className:`${Qt}-filter-dropdown-tree`},Sn?ve.createElement(Dn.default,{checked:Ra.length===rn($t.filters).length,indeterminate:Ra.length>0&&Ra.lengthtypeof $n=="function"?$n(ni,ya(Ai)):ma(ni,Ai.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(La,{filterSearch:$n,value:ni,onChange:hi,tablePrefixCls:Qt,locale:pr}),ve.createElement(Jn.default,{selectable:!0,multiple:Sn,prefixCls:`${Pn}-menu`,className:$i,onSelect:ro,onDeselect:ro,selectedKeys:Ra,getPopupContainer:$r,openKeys:bo,onOpenChange:To,items:Yr({filters:$t.filters||[],filterSearch:$n,prefixCls:qt,filteredKeys:la(),filterMultiple:Sn,searchValue:ni})})),ai=()=>Gr?(0,He.Z)((ca||[]).map(Ai=>String(Ai)),Ra,!0):Ra.length===0;io=ve.createElement(ve.Fragment,null,wo(),ve.createElement("div",{className:`${qt}-dropdown-btns`},ve.createElement(si.ZP,{type:"link",size:"small",disabled:ai(),onClick:()=>Io()},pr.filterReset),ve.createElement(si.ZP,{type:"primary",size:"small",onClick:Ls},pr.filterConfirm)))}$t.filterDropdown&&(io=ve.createElement(jr.J,{selectable:void 0},io));const ao=()=>ve.createElement(hn,{className:`${qt}-dropdown`},io);let Ha;typeof $t.filterIcon=="function"?Ha=$t.filterIcon(Fo):$t.filterIcon?Ha=$t.filterIcon:Ha=ve.createElement(Fi,null);const{direction:Ii}=ve.useContext(Xs.E_);return ve.createElement("div",{className:`${qt}-column`},ve.createElement("span",{className:`${Qt}-column-title`},Sr),ve.createElement(Wt.Z,{dropdownRender:ao,trigger:["click"],open:Pa,onOpenChange:Li,getPopupContainer:$r,placement:Ii==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:_e()(`${qt}-trigger`,{active:Fo}),onClick:Ra=>{Ra.stopPropagation()}},Ha)))}var zi=Uo;function Xi(Ye,et,Et){let Qt=[];return(Ye||[]).forEach((qt,$t)=>{var Pn;const Fn=ur($t,Et);if(qt.filters||"filterDropdown"in qt||"onFilter"in qt)if("filteredValue"in qt){let Sn=qt.filteredValue;"filterDropdown"in qt||(Sn=(Pn=Sn==null?void 0:Sn.map(String))!==null&&Pn!==void 0?Pn:Sn),Qt.push({column:qt,key:Nn(qt,Fn),filteredKeys:Sn,forceFiltered:qt.filtered})}else Qt.push({column:qt,key:Nn(qt,Fn),filteredKeys:et&&qt.defaultFilteredValue?qt.defaultFilteredValue:void 0,forceFiltered:qt.filtered});"children"in qt&&(Qt=[].concat((0,Rr.Z)(Qt),(0,Rr.Z)(Xi(qt.children,et,Fn))))}),Qt}function us(Ye,et,Et,Qt,qt,$t,Pn,Fn){return Et.map((Sn,zn)=>{const $n=ur(zn,Fn),{filterMultiple:Gn=!0,filterMode:br,filterSearch:pr}=Sn;let Sr=Sn;if(Sr.filters||Sr.filterDropdown){const $r=Nn(Sr,$n),zr=Qt.find(qr=>{let{key:Gr}=qr;return $r===Gr});Sr=Object.assign(Object.assign({},Sr),{title:qr=>ve.createElement(zi,{tablePrefixCls:Ye,prefixCls:`${Ye}-filter`,dropdownPrefixCls:et,column:Sr,columnKey:$r,filterState:zr,filterMultiple:Gn,filterMode:br,filterSearch:pr,triggerFilter:$t,locale:qt,getPopupContainer:Pn},sa(Sn.title,qr))})}return"children"in Sr&&(Sr=Object.assign(Object.assign({},Sr),{children:us(Ye,et,Sr.children,Qt,qt,$t,Pn,$n)})),Sr})}function uA(Ye){const et={};return Ye.forEach(Et=>{let{key:Qt,filteredKeys:qt,column:$t}=Et;const{filters:Pn,filterDropdown:Fn}=$t;if(Fn)et[Qt]=qt||null;else if(Array.isArray(qt)){const Sn=rn(Pn);et[Qt]=Sn.filter(zn=>qt.includes(String(zn)))}else et[Qt]=null}),et}function Vl(Ye,et){return et.reduce((Et,Qt)=>{const{column:{onFilter:qt,filters:$t},filteredKeys:Pn}=Qt;return qt&&Pn&&Pn.length?Et.filter(Fn=>Pn.some(Sn=>{const zn=rn($t),$n=zn.findIndex(br=>String(br)===String(Sn)),Gn=$n!==-1?zn[$n]:Sn;return qt(Gn,Fn)})):Et},Ye)}const vA=Ye=>Ye.flatMap(et=>"children"in et?[et].concat((0,Rr.Z)(vA(et.children||[]))):[et]);function Cs(Ye){let{prefixCls:et,dropdownPrefixCls:Et,mergedColumns:Qt,onFilterChange:qt,getPopupContainer:$t,locale:Pn}=Ye;const Fn=ve.useMemo(()=>vA(Qt||[]),[Qt]),[Sn,zn]=ve.useState(()=>Xi(Fn,!0)),$n=ve.useMemo(()=>{const Sr=Xi(Fn,!1);if(Sr.length===0)return Sr;let $r=!0,zr=!0;if(Sr.forEach(qr=>{let{filteredKeys:Gr}=qr;Gr!==void 0?$r=!1:zr=!1}),$r){const qr=(Fn||[]).map((Gr,ca)=>Nn(Gr,ur(ca)));return Sn.filter(Gr=>{let{key:ca}=Gr;return qr.includes(ca)}).map(Gr=>{const ca=Fn[qr.findIndex(Ka=>Ka===Gr.key)];return Object.assign(Object.assign({},Gr),{column:Object.assign(Object.assign({},Gr.column),ca),forceFiltered:ca.filtered})})}return Sr},[Fn,Sn]),Gn=ve.useMemo(()=>uA($n),[$n]),br=Sr=>{const $r=$n.filter(zr=>{let{key:qr}=zr;return qr!==Sr.key});$r.push(Sr),zn($r),qt(uA($r),$r)};return[Sr=>us(et,Et,Sr,$n,Pn,br,$t),$n,Gn]}var Xa=Cs;function ho(Ye,et,Et){const Qt=ve.useRef({});function qt($t){if(!Qt.current||Qt.current.data!==Ye||Qt.current.childrenColumnName!==et||Qt.current.getRowKey!==Et){let Fn=function(Sn){Sn.forEach((zn,$n)=>{const Gn=Et(zn,$n);Pn.set(Gn,zn),zn&&typeof zn=="object"&&et in zn&&Fn(zn[et]||[])})};const Pn=new Map;Fn(Ye),Qt.current={data:Ye,childrenColumnName:et,kvMap:Pn,getRowKey:Et}}return Qt.current.kvMap.get($t)}return[qt]}var Ji=Be(50371),is=function(Ye,et){var Et={};for(var Qt in Ye)Object.prototype.hasOwnProperty.call(Ye,Qt)&&et.indexOf(Qt)<0&&(Et[Qt]=Ye[Qt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Qt=Object.getOwnPropertySymbols(Ye);qt{const $t=Ye[qt];typeof $t!="function"&&(Et[qt]=$t)}),Et}function kA(Ye,et,Et){const Qt=Et&&typeof Et=="object"?Et:{},{total:qt=0}=Qt,$t=is(Qt,["total"]),[Pn,Fn]=(0,ve.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:ms})),Sn=(0,Ji.Z)(Pn,$t,{total:qt>0?qt:Ye}),zn=Math.ceil((qt||Ye)/Sn.pageSize);Sn.current>zn&&(Sn.current=zn||1);const $n=(br,pr)=>{Fn({current:br!=null?br:1,pageSize:pr||Sn.pageSize})},Gn=(br,pr)=>{var Sr;Et&&((Sr=Et.onChange)===null||Sr===void 0||Sr.call(Et,br,pr)),$n(br,pr),et(br,pr||(Sn==null?void 0:Sn.pageSize))};return Et===!1?[{},()=>{}]:[Object.assign(Object.assign({},Sn),{onChange:Gn}),$n]}var GA=kA,tl=Be(84105),Ki=Be(35654),FA=Be(90782),Xl=Be(71430),zc=Be(18929);const _s={},yl="SELECT_ALL",Ps="SELECT_INVERT",Yi="SELECT_NONE",Ys=[],ec=(Ye,et)=>{let Et=[];return(et||[]).forEach(Qt=>{Et.push(Qt),Qt&&typeof Qt=="object"&&Ye in Qt&&(Et=[].concat((0,Rr.Z)(Et),(0,Rr.Z)(ec(Ye,Qt[Ye]))))}),Et};var qs=(Ye,et)=>{const{preserveSelectedRowKeys:Et,selectedRowKeys:Qt,defaultSelectedRowKeys:qt,getCheckboxProps:$t,onChange:Pn,onSelect:Fn,onSelectAll:Sn,onSelectInvert:zn,onSelectNone:$n,onSelectMultiple:Gn,columnWidth:br,type:pr,selections:Sr,fixed:$r,renderCell:zr,hideSelectAll:qr,checkStrictly:Gr=!0}=et||{},{prefixCls:ca,data:Ka,pageData:Ya,getRecordByKey:Ca,getRowKey:lo,expandType:Fo,childrenColumnName:pa,locale:Pa,getPopupContainer:Ba}=Ye,[la,Ea]=(0,zc.Z)(Qt||qt||Ys,{value:Qt}),ro=ve.useRef(new Map),Vo=(0,ve.useCallback)(ya=>{if(Et){const io=new Map;ya.forEach(ao=>{let Ha=Ca(ao);!Ha&&ro.current.has(ao)&&(Ha=ro.current.get(ao)),io.set(ao,Ha)}),ro.current=io}},[Ca,Et]);ve.useEffect(()=>{Vo(la)},[la]);const{keyEntities:bo}=(0,ve.useMemo)(()=>{if(Gr)return{keyEntities:null};let ya=Ka;if(Et){const io=new Set(Ka.map((Ha,Ii)=>lo(Ha,Ii))),ao=Array.from(ro.current).reduce((Ha,Ii)=>{let[Ra,wo]=Ii;return io.has(Ra)?Ha:Ha.concat(wo)},[]);ya=[].concat((0,Rr.Z)(ya),(0,Rr.Z)(ao))}return(0,Xl.I8)(ya,{externalGetKey:lo,childrenPropName:pa})},[Ka,lo,Gr,pa,Et]),$a=(0,ve.useMemo)(()=>ec(pa,Ya),[pa,Ya]),To=(0,ve.useMemo)(()=>{const ya=new Map;return $a.forEach((io,ao)=>{const Ha=lo(io,ao),Ii=($t?$t(io):null)||{};ya.set(Ha,Ii)}),ya},[$a,lo,$t]),ni=(0,ve.useCallback)(ya=>{var io;return!!(!((io=To.get(lo(ya)))===null||io===void 0)&&io.disabled)},[To,lo]),[qi,hi]=(0,ve.useMemo)(()=>{if(Gr)return[la||[],[]];const{checkedKeys:ya,halfCheckedKeys:io}=(0,FA.S)(la,!0,bo,ni);return[ya||[],io]},[la,Gr,bo,ni]),cs=(0,ve.useMemo)(()=>{const ya=pr==="radio"?qi.slice(0,1):qi;return new Set(ya)},[qi,pr]),Ls=(0,ve.useMemo)(()=>pr==="radio"?new Set:new Set(hi),[hi,pr]),[Io,tA]=(0,ve.useState)(null);ve.useEffect(()=>{et||Ea(Ys)},[!!et]);const Li=(0,ve.useCallback)((ya,io)=>{let ao,Ha;Vo(ya),Et?(ao=ya,Ha=ya.map(Ii=>ro.current.get(Ii))):(ao=[],Ha=[],ya.forEach(Ii=>{const Ra=Ca(Ii);Ra!==void 0&&(ao.push(Ii),Ha.push(Ra))})),Ea(ao),Pn==null||Pn(ao,Ha,{type:io})},[Ea,Ca,Pn,Et]),$i=(0,ve.useCallback)((ya,io,ao,Ha)=>{if(Fn){const Ii=ao.map(Ra=>Ca(Ra));Fn(Ca(ya),io,Ii,Ha)}Li(ao,"single")},[Fn,Ca,Li]),ns=(0,ve.useMemo)(()=>!Sr||qr?null:(Sr===!0?[yl,Ps,Yi]:Sr).map(io=>io===yl?{key:"all",text:Pa.selectionAll,onSelect(){Li(Ka.map((ao,Ha)=>lo(ao,Ha)).filter(ao=>{const Ha=To.get(ao);return!(Ha!=null&&Ha.disabled)||cs.has(ao)}),"all")}}:io===Ps?{key:"invert",text:Pa.selectInvert,onSelect(){const ao=new Set(cs);Ya.forEach((Ii,Ra)=>{const wo=lo(Ii,Ra),ai=To.get(wo);ai!=null&&ai.disabled||(ao.has(wo)?ao.delete(wo):ao.add(wo))});const Ha=Array.from(ao);zn&&zn(Ha),Li(Ha,"invert")}}:io===Yi?{key:"none",text:Pa.selectNone,onSelect(){$n==null||$n(),Li(Array.from(cs).filter(ao=>{const Ha=To.get(ao);return Ha==null?void 0:Ha.disabled}),"none")}}:io).map(io=>Object.assign(Object.assign({},io),{onSelect:function(){for(var ao,Ha,Ii=arguments.length,Ra=new Array(Ii),wo=0;wo{var io;if(!et)return ya.filter(Ni=>Ni!==_s);let ao=(0,Rr.Z)(ya);const Ha=new Set(cs),Ii=$a.map(lo).filter(Ni=>!To.get(Ni).disabled),Ra=Ii.every(Ni=>Ha.has(Ni)),wo=Ii.some(Ni=>Ha.has(Ni)),ai=()=>{const Ni=[];Ra?Ii.forEach(Bs=>{Ha.delete(Bs),Ni.push(Bs)}):Ii.forEach(Bs=>{Ha.has(Bs)||(Ha.add(Bs),Ni.push(Bs))});const ri=Array.from(Ha);Sn==null||Sn(!Ra,ri.map(Bs=>Ca(Bs)),Ni.map(Bs=>Ca(Bs))),Li(ri,"all"),tA(null)};let Ai;if(pr!=="radio"){let Ni;if(ns){const Xo={getPopupContainer:Ba,items:ns.map((WA,HA)=>{const{key:dl,text:al,onSelect:ol}=WA;return{key:dl!=null?dl:HA,onClick:()=>{ol==null||ol(Ii)},label:al}})};Ni=ve.createElement("div",{className:`${ca}-selection-extra`},ve.createElement(Wt.Z,{menu:Xo,getPopupContainer:Ba},ve.createElement("span",null,ve.createElement(tl.Z,null))))}const ri=$a.map((Xo,WA)=>{const HA=lo(Xo,WA),dl=To.get(HA)||{};return Object.assign({checked:Ha.has(HA)},dl)}).filter(Xo=>{let{disabled:WA}=Xo;return WA}),Bs=!!ri.length&&ri.length===$a.length,gA=Bs&&ri.every(Xo=>{let{checked:WA}=Xo;return WA}),ss=Bs&&ri.some(Xo=>{let{checked:WA}=Xo;return WA});Ai=!qr&&ve.createElement("div",{className:`${ca}-selection`},ve.createElement(Dn.default,{checked:Bs?gA:!!$a.length&&Ra,indeterminate:Bs?!gA&&ss:!Ra&&wo,onChange:ai,disabled:$a.length===0||Bs,"aria-label":Ni?"Custom selection":"Select all",skipGroup:!0}),Ni)}let ZA;pr==="radio"?ZA=(Ni,ri,Bs)=>{const gA=lo(ri,Bs),ss=Ha.has(gA);return{node:ve.createElement(ra.ZP,Object.assign({},To.get(gA),{checked:ss,onClick:Xo=>Xo.stopPropagation(),onChange:Xo=>{Ha.has(gA)||$i(gA,!0,[gA],Xo.nativeEvent)}})),checked:ss}}:ZA=(Ni,ri,Bs)=>{var gA;const ss=lo(ri,Bs),Xo=Ha.has(ss),WA=Ls.has(ss),HA=To.get(ss);let dl;return Fo==="nest"?dl=WA:dl=(gA=HA==null?void 0:HA.indeterminate)!==null&&gA!==void 0?gA:WA,{node:ve.createElement(Dn.default,Object.assign({},HA,{indeterminate:dl,checked:Xo,skipGroup:!0,onClick:al=>al.stopPropagation(),onChange:al=>{let{nativeEvent:ol}=al;const{shiftKey:Tl}=ol;let Hu=-1,Hl=-1;if(Tl&&Gr){const Is=new Set([Io,ss]);Ii.some((NA,nA)=>{if(Is.has(NA))if(Hu===-1)Hu=nA;else return Hl=nA,!0;return!1})}if(Hl!==-1&&Hu!==Hl&&Gr){const Is=Ii.slice(Hu,Hl+1),NA=[];Xo?Is.forEach(Ss=>{Ha.has(Ss)&&(NA.push(Ss),Ha.delete(Ss))}):Is.forEach(Ss=>{Ha.has(Ss)||(NA.push(Ss),Ha.add(Ss))});const nA=Array.from(Ha);Gn==null||Gn(!Xo,nA.map(Ss=>Ca(Ss)),NA.map(Ss=>Ca(Ss))),Li(nA,"multiple")}else{const Is=qi;if(Gr){const NA=Xo?(0,Ki._5)(Is,ss):(0,Ki.L0)(Is,ss);$i(ss,!Xo,NA,ol)}else{const NA=(0,FA.S)([].concat((0,Rr.Z)(Is),[ss]),!0,bo,ni),{checkedKeys:nA,halfCheckedKeys:Ss}=NA;let gu=nA;if(Xo){const Iu=new Set(nA);Iu.delete(ss),gu=(0,FA.S)(Array.from(Iu),{checked:!1,halfCheckedKeys:Ss},bo,ni).checkedKeys}$i(ss,!Xo,gu,ol)}}tA(Xo?null:ss)}})),checked:Xo}};const Gs=(Ni,ri,Bs)=>{const{node:gA,checked:ss}=ZA(Ni,ri,Bs);return zr?zr(ss,ri,Bs,gA):gA};if(!ao.includes(_s))if(ao.findIndex(Ni=>{var ri;return((ri=Ni[sr])===null||ri===void 0?void 0:ri.columnType)==="EXPAND_COLUMN"})===0){const[Ni,...ri]=ao;ao=[Ni,_s].concat((0,Rr.Z)(ri))}else ao=[_s].concat((0,Rr.Z)(ao));const tu=ao.indexOf(_s);ao=ao.filter((Ni,ri)=>Ni!==_s||ri===tu);const Zs=ao[tu-1],Cl=ao[tu+1];let aa=$r;aa===void 0&&((Cl==null?void 0:Cl.fixed)!==void 0?aa=Cl.fixed:(Zs==null?void 0:Zs.fixed)!==void 0&&(aa=Zs.fixed)),aa&&Zs&&((io=Zs[sr])===null||io===void 0?void 0:io.columnType)==="EXPAND_COLUMN"&&Zs.fixed===void 0&&(Zs.fixed=aa);const rl=_e()(`${ca}-selection-col`,{[`${ca}-selection-col-with-dropdown`]:Sr&&pr==="checkbox"}),yc={fixed:aa,width:br,className:`${ca}-selection-column`,title:et.columnTitle||Ai,render:Gs,onCell:et.onCell,[sr]:{className:rl}};return ao.map(Ni=>Ni===_s?yc:Ni)},[lo,$a,et,qi,cs,Ls,br,ns,Fo,Io,To,Gn,$i,ni]),cs]},Jl=Be(89489),cA=Be(59477),Yl=Be(6848);const xs="ascend",Tu="descend";function ql(Ye){return typeof Ye.sorter=="object"&&typeof Ye.sorter.multiple=="number"?Ye.sorter.multiple:!1}function Pu(Ye){return typeof Ye=="function"?Ye:Ye&&typeof Ye=="object"&&Ye.compare?Ye.compare:!1}function Gc(Ye,et){return et?Ye[Ye.indexOf(et)+1]:Ye[0]}function xu(Ye,et,Et){let Qt=[];function qt($t,Pn){Qt.push({column:$t,key:Nn($t,Pn),multiplePriority:ql($t),sortOrder:$t.sortOrder})}return(Ye||[]).forEach(($t,Pn)=>{const Fn=ur(Pn,Et);$t.children?("sortOrder"in $t&&qt($t,Fn),Qt=[].concat((0,Rr.Z)(Qt),(0,Rr.Z)(xu($t.children,et,Fn)))):$t.sorter&&("sortOrder"in $t?qt($t,Fn):et&&$t.defaultSortOrder&&Qt.push({column:$t,key:Nn($t,Fn),multiplePriority:ql($t),sortOrder:$t.defaultSortOrder}))}),Qt}function Sc(Ye,et,Et,Qt,qt,$t,Pn,Fn){return(et||[]).map((Sn,zn)=>{const $n=ur(zn,Fn);let Gn=Sn;if(Gn.sorter){const br=Gn.sortDirections||qt,pr=Gn.showSorterTooltip===void 0?Pn:Gn.showSorterTooltip,Sr=Nn(Gn,$n),$r=Et.find(Fo=>{let{key:pa}=Fo;return pa===Sr}),zr=$r?$r.sortOrder:null,qr=Gc(br,zr);let Gr;if(Sn.sortIcon)Gr=Sn.sortIcon({sortOrder:zr});else{const Fo=br.includes(xs)&&ve.createElement(cA.Z,{className:_e()(`${Ye}-column-sorter-up`,{active:zr===xs})}),pa=br.includes(Tu)&&ve.createElement(Jl.Z,{className:_e()(`${Ye}-column-sorter-down`,{active:zr===Tu})});Gr=ve.createElement("span",{className:_e()(`${Ye}-column-sorter`,{[`${Ye}-column-sorter-full`]:!!(Fo&&pa)})},ve.createElement("span",{className:`${Ye}-column-sorter-inner`,"aria-hidden":"true"},Fo,pa))}const{cancelSort:ca,triggerAsc:Ka,triggerDesc:Ya}=$t||{};let Ca=ca;qr===Tu?Ca=Ya:qr===xs&&(Ca=Ka);const lo=typeof pr=="object"?pr:{title:Ca};Gn=Object.assign(Object.assign({},Gn),{className:_e()(Gn.className,{[`${Ye}-column-sort`]:zr}),title:Fo=>{const pa=ve.createElement("div",{className:`${Ye}-column-sorters`},ve.createElement("span",{className:`${Ye}-column-title`},sa(Sn.title,Fo)),Gr);return pr?ve.createElement(Yl.Z,Object.assign({},lo),pa):pa},onHeaderCell:Fo=>{const pa=Sn.onHeaderCell&&Sn.onHeaderCell(Fo)||{},Pa=pa.onClick,Ba=pa.onKeyDown;pa.onClick=ro=>{Qt({column:Sn,key:Sr,sortOrder:qr,multiplePriority:ql(Sn)}),Pa==null||Pa(ro)},pa.onKeyDown=ro=>{ro.keyCode===Kr.Z.ENTER&&(Qt({column:Sn,key:Sr,sortOrder:qr,multiplePriority:ql(Sn)}),Ba==null||Ba(ro))};const la=wa(Sn.title,{}),Ea=la==null?void 0:la.toString();return zr?pa["aria-sort"]=zr==="ascend"?"ascending":"descending":pa["aria-label"]=Ea||"",pa.className=_e()(pa.className,`${Ye}-column-has-sorters`),pa.tabIndex=0,Sn.ellipsis&&(pa.title=(la!=null?la:"").toString()),pa}})}return"children"in Gn&&(Gn=Object.assign(Object.assign({},Gn),{children:Sc(Ye,Gn.children,Et,Qt,qt,$t,Pn,$n)})),Gn})}function nl(Ye){const{column:et,sortOrder:Et}=Ye;return{column:et,order:Et,field:et.dataIndex,columnKey:et.key}}function tc(Ye){const et=Ye.filter(Et=>{let{sortOrder:Qt}=Et;return Qt}).map(nl);return et.length===0&&Ye.length?Object.assign(Object.assign({},nl(Ye[Ye.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function Mr(Ye,et,Et){const Qt=et.slice().sort((Pn,Fn)=>Fn.multiplePriority-Pn.multiplePriority),qt=Ye.slice(),$t=Qt.filter(Pn=>{let{column:{sorter:Fn},sortOrder:Sn}=Pn;return Pu(Fn)&&Sn});return $t.length?qt.sort((Pn,Fn)=>{for(let Sn=0;Sn<$t.length;Sn+=1){const zn=$t[Sn],{column:{sorter:$n},sortOrder:Gn}=zn,br=Pu($n);if(br&&Gn){const pr=br(Pn,Fn,Gn);if(pr!==0)return Gn===xs?pr:-pr}}return 0}).map(Pn=>{const Fn=Pn[Et];return Fn?Object.assign(Object.assign({},Pn),{[Et]:Mr(Fn,et,Et)}):Pn}):qt}function co(Ye){let{prefixCls:et,mergedColumns:Et,onSorterChange:Qt,sortDirections:qt,tableLocale:$t,showSorterTooltip:Pn}=Ye;const[Fn,Sn]=ve.useState(xu(Et,!0)),zn=ve.useMemo(()=>{let Sr=!0;const $r=xu(Et,!1);if(!$r.length)return Fn;const zr=[];function qr(ca){Sr?zr.push(ca):zr.push(Object.assign(Object.assign({},ca),{sortOrder:null}))}let Gr=null;return $r.forEach(ca=>{Gr===null?(qr(ca),ca.sortOrder&&(ca.multiplePriority===!1?Sr=!1:Gr=!0)):(Gr&&ca.multiplePriority!==!1||(Sr=!1),qr(ca))}),zr},[Et,Fn]),$n=ve.useMemo(()=>{const Sr=zn.map($r=>{let{column:zr,sortOrder:qr}=$r;return{column:zr,order:qr}});return{sortColumns:Sr,sortColumn:Sr[0]&&Sr[0].column,sortOrder:Sr[0]&&Sr[0].order}},[zn]);function Gn(Sr){let $r;Sr.multiplePriority===!1||!zn.length||zn[0].multiplePriority===!1?$r=[Sr]:$r=[].concat((0,Rr.Z)(zn.filter(zr=>{let{key:qr}=zr;return qr!==Sr.key})),[Sr]),Sn($r),Qt(tc($r),$r)}return[Sr=>Sc(et,Sr,zn,Gn,qt,$t,Pn),zn,$n,()=>tc(zn)]}function mr(Ye,et){return Ye.map(Et=>{const Qt=Object.assign({},Et);return Qt.title=sa(Et.title,et),"children"in Qt&&(Qt.children=mr(Qt.children,et)),Qt})}function mo(Ye){return[ve.useCallback(Et=>mr(Et,Ye),[Ye])]}var ti=Pi((Ye,et)=>{const{_renderTimes:Et}=Ye,{_renderTimes:Qt}=et;return Et!==Qt}),BA=Ol((Ye,et)=>{const{_renderTimes:Et}=Ye,{_renderTimes:Qt}=et;return Et!==Qt}),bA=Be(64993),Qs=Be(17313),$l=Be(83116),cu=Be(37613),_i=Ye=>{const{componentCls:et}=Ye,Et=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,Qt=(qt,$t,Pn)=>({[`&${et}-${qt}`]:{[`> ${et}-container`]:{[`> ${et}-content, > ${et}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${$t}px -${Pn+Ye.lineWidth}px`}}}}}});return{[`${et}-wrapper`]:{[`${et}${et}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${et}-title`]:{border:Et,borderBottom:0},[`> ${et}-container`]:{borderInlineStart:Et,borderTop:Et,[` > ${et}-content, > ${et}-header, > ${et}-body, > ${et}-summary `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${et}-cell-fix-right-first::after`]:{borderInlineEnd:Et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${et}-expanded-row-fixed`]:{margin:`-${Ye.tablePaddingVertical}px -${Ye.tablePaddingHorizontal+Ye.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Ye.lineWidth,bottom:0,borderInlineEnd:Et,content:'""'}}}}}},[`&${et}-scroll-horizontal`]:{[`> ${et}-container > ${et}-body`]:{"> table > tbody":{[` > tr${et}-expanded-row, > tr${et}-placeholder `]:{"> th, > td":{borderInlineEnd:0}}}}}},Qt("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle)),Qt("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:Et,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ye.lineWidth}px 0 ${Ye.lineWidth}px ${Ye.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:Et}}}},zo=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},Qs.vS),{wordBreak:"keep-all",[` &${et}-cell-fix-left-last, &${et}-cell-fix-right-first `]:{overflow:"visible",[`${et}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${et}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},dA=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ye.colorBgContainer}}}}},zs=Be(15969),bl=Ye=>{const{componentCls:et,antCls:Et,controlInteractiveSize:Qt,motionDurationSlow:qt,lineWidth:$t,paddingXS:Pn,lineType:Fn,tableBorderColor:Sn,tableExpandIconBg:zn,tableExpandColumnWidth:$n,borderRadius:Gn,fontSize:br,fontSizeSM:pr,lineHeight:Sr,tablePaddingVertical:$r,tablePaddingHorizontal:zr,tableExpandedRowBg:qr,paddingXXS:Gr}=Ye,ca=Qt/2-$t,Ka=ca*2+$t*3,Ya=`${$t}px ${Fn} ${Sn}`,Ca=Gr-$t;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:$n},[`${et}-row-expand-icon-cell`]:{textAlign:"center",[`${et}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${et}-row-indent`]:{height:1,float:"left"},[`${et}-row-expand-icon`]:Object.assign(Object.assign({},(0,zs.N)(Ye)),{position:"relative",float:"left",boxSizing:"border-box",width:Ka,height:Ka,padding:0,color:"inherit",lineHeight:`${Ka}px`,background:zn,border:Ya,borderRadius:Gn,transform:`scale(${Qt/Ka})`,transition:`all ${qt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${qt} ease-out`,content:'""'},"&::before":{top:ca,insetInlineEnd:Ca,insetInlineStart:Ca,height:$t},"&::after":{top:Ca,bottom:Ca,insetInlineStart:ca,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"}}),[`${et}-row-indent + ${et}-row-expand-icon`]:{marginTop:(br*Sr-$t*3)/2-Math.ceil((pr*1.4-$t*3)/2),marginInlineEnd:Pn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:qr}},[`${Et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${$r}px -${zr}px`,padding:`${$r}px ${zr}px`}}}},Ks=Ye=>{const{componentCls:et,antCls:Et,iconCls:Qt,tableFilterDropdownWidth:qt,tableFilterDropdownSearchWidth:$t,paddingXXS:Pn,paddingXS:Fn,colorText:Sn,lineWidth:zn,lineType:$n,tableBorderColor:Gn,tableHeaderIconColor:br,fontSizeSM:pr,tablePaddingHorizontal:Sr,borderRadius:$r,motionDurationSlow:zr,colorTextDescription:qr,colorPrimary:Gr,tableHeaderFilterActiveBg:ca,colorTextDisabled:Ka,tableFilterDropdownBg:Ya,tableFilterDropdownHeight:Ca,controlItemBgHover:lo,controlItemBgActive:Fo,boxShadowSecondary:pa,filterDropdownMenuBg:Pa}=Ye,Ba=`${Et}-dropdown`,la=`${et}-filter-dropdown`,Ea=`${Et}-tree`,ro=`${zn}px ${$n} ${Gn}`;return[{[`${et}-wrapper`]:{[`${et}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${et}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Pn,marginInline:`${Pn}px ${-Sr/2}px`,padding:`0 ${Pn}px`,color:br,fontSize:pr,borderRadius:$r,cursor:"pointer",transition:`all ${zr}`,"&:hover":{color:qr,background:ca},"&.active":{color:Gr}}}},{[`${Et}-dropdown`]:{[la]:Object.assign(Object.assign({},(0,Qs.Wf)(Ye)),{minWidth:qt,backgroundColor:Ya,borderRadius:$r,boxShadow:pa,overflow:"hidden",[`${Ba}-menu`]:{maxHeight:Ca,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Pa,"&:empty::after":{display:"block",padding:`${Fn}px 0`,color:Ka,fontSize:pr,textAlign:"center",content:'"Not Found"'}},[`${la}-tree`]:{paddingBlock:`${Fn}px 0`,paddingInline:Fn,[Ea]:{padding:0},[`${Ea}-treenode ${Ea}-node-content-wrapper:hover`]:{backgroundColor:lo},[`${Ea}-treenode-checkbox-checked ${Ea}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Fo}}},[`${la}-search`]:{padding:Fn,borderBottom:ro,"&-input":{input:{minWidth:$t},[Qt]:{color:Ka}}},[`${la}-checkall`]:{width:"100%",marginBottom:Pn,marginInlineStart:Pn},[`${la}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Fn-zn}px ${Fn}px`,overflow:"hidden",borderTop:ro}})}},{[`${Et}-dropdown ${la}, ${la}-submenu`]:{[`${Et}-checkbox-wrapper + span`]:{paddingInlineStart:Fn,color:Sn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},eA=Ye=>{const{componentCls:et,lineWidth:Et,colorSplit:Qt,motionDurationSlow:qt,zIndexTableFixed:$t,tableBg:Pn,zIndexTableSticky:Fn}=Ye,Sn=Qt;return{[`${et}-wrapper`]:{[` ${et}-cell-fix-left, ${et}-cell-fix-right `]:{position:"sticky !important",zIndex:$t,background:Pn},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Et,width:30,transform:"translateX(100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${et}-cell-fix-left-all::after`]:{display:"none"},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{position:"absolute",top:0,bottom:-Et,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${et}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Fn+1,width:30,transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${et}-ping-left`]:{[`&:not(${et}-has-fix-left) ${et}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Sn}`}},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${Sn}`},[`${et}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${et}-ping-right`]:{[`&:not(${et}-has-fix-right) ${et}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Sn}`}},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${Sn}`}}}}},ks=Ye=>{const{componentCls:et,antCls:Et}=Ye;return{[`${et}-wrapper`]:{[`${et}-pagination${Et}-pagination`]:{margin:`${Ye.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},El=Ye=>{const{componentCls:et,tableRadius:Et}=Ye;return{[`${et}-wrapper`]:{[et]:{[`${et}-title, ${et}-header`]:{borderRadius:`${Et}px ${Et}px 0 0`},[`${et}-title + ${et}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${et}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Et,borderStartEndRadius:Et,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Et},"> *:last-child":{borderStartEndRadius:Et}}},"&-footer":{borderRadius:`0 0 ${Et}px ${Et}px`}}}}},fd=Ye=>{const{componentCls:et}=Ye;return{[`${et}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${et}-pagination-left`]:{justifyContent:"flex-end"},[`${et}-pagination-right`]:{justifyContent:"flex-start"},[`${et}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${et}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${et}-row-indent`]:{float:"right"}}}}},Sf=Ye=>{const{componentCls:et,antCls:Et,iconCls:Qt,fontSizeIcon:qt,padding:$t,paddingXS:Pn,tableHeaderIconColor:Fn,tableHeaderIconColorHover:Sn,tableSelectionColumnWidth:zn}=Ye;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:zn,[`&${et}-selection-col-with-dropdown`]:{width:zn+qt+$t/4}},[`${et}-bordered ${et}-selection-col`]:{width:zn+Pn*2,[`&${et}-selection-col-with-dropdown`]:{width:zn+qt+$t/4+Pn*2}},[` table tr th${et}-selection-column, table tr td${et}-selection-column `]:{paddingInlineEnd:Ye.paddingXS,paddingInlineStart:Ye.paddingXS,textAlign:"center",[`${Et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Ye.zIndexTableFixed+1},[`table tr th${et}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${et}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${et}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Ye.tablePaddingHorizontal/4}px`,[Qt]:{color:Fn,fontSize:qt,verticalAlign:"baseline","&:hover":{color:Sn}}}}}},jd=Ye=>{const{componentCls:et}=Ye,Et=(Qt,qt,$t,Pn)=>({[`${et}${et}-${Qt}`]:{fontSize:Pn,[` ${et}-title, ${et}-footer, ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{padding:`${qt}px ${$t}px`},[`${et}-filter-trigger`]:{marginInlineEnd:`-${$t/2}px`},[`${et}-expanded-row-fixed`]:{margin:`-${qt}px -${$t}px`},[`${et}-tbody`]:{[`${et}-wrapper:only-child ${et}`]:{marginBlock:`-${qt}px`,marginInline:`${Ye.tableExpandColumnWidth-$t}px -${$t}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${$t/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},Et("middle",Ye.tablePaddingVerticalMiddle,Ye.tablePaddingHorizontalMiddle,Ye.tableFontSizeMiddle)),Et("small",Ye.tablePaddingVerticalSmall,Ye.tablePaddingHorizontalSmall,Ye.tableFontSizeSmall))}},nc=Ye=>{const{componentCls:et,marginXXS:Et,fontSizeIcon:Qt,tableHeaderIconColor:qt,tableHeaderIconColorHover:$t}=Ye;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ye.motionDurationSlow}`,"&:hover":{background:Ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ye.colorPrimary},[` &${et}-cell-fix-left:hover, &${et}-cell-fix-right:hover `]:{background:Ye.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Ye.tableBodySortBg},[`${et}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${et}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${et}-column-sorter`]:{marginInlineStart:Et,color:qt,fontSize:0,transition:`color ${Ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Qt,"&.active":{color:Ye.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:$t}}}},kl=Ye=>{const{componentCls:et,opacityLoading:Et,tableScrollThumbBg:Qt,tableScrollThumbBgHover:qt,tableScrollThumbSize:$t,tableScrollBg:Pn,zIndexTableSticky:Fn,stickyScrollBarBorderRadius:Sn}=Ye,zn=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:Fn,background:Ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:Fn,display:"flex",alignItems:"center",background:Pn,borderTop:zn,opacity:Et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:Qt,borderRadius:Sn,transition:`all ${Ye.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:qt}}}}}}},Wc=Ye=>{const{componentCls:et,lineWidth:Et,tableBorderColor:Qt}=Ye,qt=`${Et}px ${Ye.lineType} ${Qt}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Ye.zIndexTableFixed,background:Ye.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${et}-summary`]:{boxShadow:`0 -${Et}px 0 ${Qt}`}}}},yf=Ye=>{const{componentCls:et}=Ye,Et=`${Ye.lineWidth}px ${Ye.lineType} ${Ye.tableBorderColor}`,Qt=`${et}-expanded-row-cell`;return{[`${et}-wrapper`]:{[`${et}-tbody-virtual`]:{[`${et}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${et}-cell`]:{borderBottom:Et},[`${et}-expanded-row`]:{[`${Qt}${Qt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ye.lineWidth}px)`,borderInlineEnd:"none"}}},[`${et}-bordered`]:{[`${et}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Et,position:"absolute"},[`${et}-cell`]:{borderInlineEnd:Et,[`&${et}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ye.lineWidth,borderInlineStart:Et}}}}}}};const Vc=Ye=>{const{componentCls:et,fontWeightStrong:Et,tablePaddingVertical:Qt,tablePaddingHorizontal:qt,lineWidth:$t,lineType:Pn,tableBorderColor:Fn,tableFontSize:Sn,tableBg:zn,tableRadius:$n,tableHeaderTextColor:Gn,motionDurationMid:br,tableHeaderBg:pr,tableHeaderCellSplitColor:Sr,tableRowHoverBg:$r,tableSelectedRowBg:zr,tableSelectedRowHoverBg:qr,tableFooterTextColor:Gr,tableFooterBg:ca,paddingContentVerticalLG:Ka}=Ye,Ya=`${$t}px ${Pn} ${Fn}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Qs.dF)()),{[et]:Object.assign(Object.assign({},(0,Qs.Wf)(Ye)),{fontSize:Sn,background:zn,borderRadius:`${$n}px ${$n}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${$n}px ${$n}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${et}-cell, ${et}-thead > tr > th, ${et}-tbody > tr > th, ${et}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td `]:{position:"relative",padding:`${Ka}px ${qt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${Qt}px ${qt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Gn,fontWeight:Et,textAlign:"start",background:pr,borderBottom:Ya,transition:`background ${br} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${et}-selection-column):not(${et}-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 ${br}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${br}, border-color ${br}`,borderBottom:Ya,[` > ${et}-wrapper:only-child, > ${et}-expanded-row-fixed > ${et}-wrapper:only-child `]:{[et]:{marginBlock:`-${Qt}px`,marginInline:`${Ye.tableExpandColumnWidth-qt}px -${qt}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Gn,fontWeight:Et,textAlign:"start",background:pr,borderBottom:Ya,transition:`background ${br} ease`},[` &${et}-row:hover > th, &${et}-row:hover > td, > th${et}-cell-row-hover, > td${et}-cell-row-hover `]:{background:$r},[`&${et}-row-selected`]:{"> th, > td":{background:zr},"&:hover > th, &:hover > td":{background:qr}}}},[`${et}-footer`]:{padding:`${Qt}px ${qt}px`,color:Gr,background:ca}})}};var hd=(0,$l.Z)("Table",Ye=>{const{colorTextHeading:et,colorSplit:Et,colorIcon:Qt,colorIconHover:qt,opacityLoading:$t,colorBgContainer:Pn,controlInteractiveSize:Fn,headerBg:Sn,headerColor:zn,headerSortActiveBg:$n,headerSortHoverBg:Gn,bodySortBg:br,rowHoverBg:pr,rowSelectedBg:Sr,rowSelectedHoverBg:$r,rowExpandedBg:zr,cellPaddingBlock:qr,cellPaddingInline:Gr,cellPaddingBlockMD:ca,cellPaddingInlineMD:Ka,cellPaddingBlockSM:Ya,cellPaddingInlineSM:Ca,borderColor:lo,footerBg:Fo,footerColor:pa,headerBorderRadius:Pa,cellFontSize:Ba,cellFontSizeMD:la,cellFontSizeSM:Ea,headerSplitColor:ro,fixedHeaderSortActiveBg:Vo,headerFilterHoverBg:bo,filterDropdownBg:$a,expandIconBg:To,selectionColumnWidth:ni,stickyScrollBarBg:qi}=Ye,hi=new bA.C(Qt),cs=new bA.C(qt),Ls=2,Io=(0,cu.TS)(Ye,{tableFontSize:Ba,tableBg:Pn,tableRadius:Pa,tablePaddingVertical:qr,tablePaddingHorizontal:Gr,tablePaddingVerticalMiddle:ca,tablePaddingHorizontalMiddle:Ka,tablePaddingVerticalSmall:Ya,tablePaddingHorizontalSmall:Ca,tableBorderColor:lo,tableHeaderTextColor:zn,tableHeaderBg:Sn,tableFooterTextColor:pa,tableFooterBg:Fo,tableHeaderCellSplitColor:ro,tableHeaderSortBg:$n,tableHeaderSortHoverBg:Gn,tableHeaderIconColor:hi.clone().setAlpha(hi.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:cs.clone().setAlpha(cs.getAlpha()*$t).toRgbString(),tableBodySortBg:br,tableFixedHeaderSortActiveBg:Vo,tableHeaderFilterActiveBg:bo,tableFilterDropdownBg:$a,tableRowHoverBg:pr,tableSelectedRowBg:Sr,tableSelectedRowHoverBg:$r,zIndexTableFixed:Ls,zIndexTableSticky:Ls+1,tableFontSizeMiddle:la,tableFontSizeSmall:Ea,tableSelectionColumnWidth:ni,tableExpandIconBg:To,tableExpandColumnWidth:Fn+2*Ye.padding,tableExpandedRowBg:zr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:qi,tableScrollThumbBgHover:et,tableScrollBg:Et});return[Vc(Io),ks(Io),Wc(Io),nc(Io),Ks(Io),_i(Io),El(Io),bl(Io),Wc(Io),dA(Io),Sf(Io),eA(Io),kl(Io),zo(Io),jd(Io),fd(Io),yf(Io)]},Ye=>{const{colorFillAlter:et,colorBgContainer:Et,colorTextHeading:Qt,colorFillSecondary:qt,colorFillContent:$t,controlItemBgActive:Pn,controlItemBgActiveHover:Fn,padding:Sn,paddingSM:zn,paddingXS:$n,colorBorderSecondary:Gn,borderRadiusLG:br,fontSize:pr,controlHeight:Sr,colorTextPlaceholder:$r}=Ye,zr=new bA.C(qt).onBackground(Et).toHexShortString(),qr=new bA.C($t).onBackground(Et).toHexShortString(),Gr=new bA.C(et).onBackground(Et).toHexShortString();return{headerBg:Gr,headerColor:Qt,headerSortActiveBg:zr,headerSortHoverBg:qr,bodySortBg:Gr,rowHoverBg:Gr,rowSelectedBg:Pn,rowSelectedHoverBg:Fn,rowExpandedBg:et,cellPaddingBlock:Sn,cellPaddingInline:Sn,cellPaddingBlockMD:zn,cellPaddingInlineMD:$n,cellPaddingBlockSM:$n,cellPaddingInlineSM:$n,borderColor:Gn,headerBorderRadius:br,footerBg:Gr,footerColor:Qt,cellFontSize:pr,cellFontSizeMD:pr,cellFontSizeSM:pr,headerSplitColor:Gn,fixedHeaderSortActiveBg:zr,headerFilterHoverBg:$t,filterDropdownMenuBg:Et,filterDropdownBg:Et,expandIconBg:Et,selectionColumnWidth:Sr,stickyScrollBarBg:$r,stickyScrollBarBorderRadius:100}});const yg=[],Xc=(Ye,et)=>{const{prefixCls:Et,className:Qt,rootClassName:qt,style:$t,size:Pn,bordered:Fn,dropdownPrefixCls:Sn,dataSource:zn,pagination:$n,rowSelection:Gn,rowKey:br="key",rowClassName:pr,columns:Sr,children:$r,childrenColumnName:zr,onChange:qr,getPopupContainer:Gr,loading:ca,expandIcon:Ka,expandable:Ya,expandedRowRender:Ca,expandIconColumnIndex:lo,indentSize:Fo,scroll:pa,sortDirections:Pa,locale:Ba,showSorterTooltip:la=!0,virtual:Ea}=Ye,ro=ve.useMemo(()=>Sr||pn($r),[Sr,$r]),Vo=ve.useMemo(()=>ro.some(li=>li.responsive),[ro]),bo=(0,fs.Z)(Vo),$a=ve.useMemo(()=>{const li=new Set(Object.keys(bo).filter(rs=>bo[rs]));return ro.filter(rs=>!rs.responsive||rs.responsive.some(DA=>li.has(DA)))},[ro,bo]),To=(0,Cu.Z)(Ye,["className","style","columns"]),{locale:ni=$u.Z,direction:qi,table:hi,renderEmpty:cs,getPrefixCls:Ls,getPopupContainer:Io}=ve.useContext(Xs.E_),tA=(0,Bc.Z)(Pn),Li=Object.assign(Object.assign({},ni.Table),Ba),$i=zn||yg,ns=Ls("table",Et),cl=Ls("dropdown",Sn),ya=Object.assign({childrenColumnName:zr,expandIconColumnIndex:lo},Ya),{childrenColumnName:io="children"}=ya,ao=ve.useMemo(()=>$i.some(li=>li==null?void 0:li[io])?"nest":Ca||Ya&&Ya.expandedRowRender?"row":null,[$i]),Ha={body:ve.useRef()},Ii=ve.useMemo(()=>typeof br=="function"?br:li=>li==null?void 0:li[br],[br]),[Ra]=ho($i,io,Ii),wo={},ai=function(li,rs){let DA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ps,UA,RA;const Ns=Object.assign(Object.assign({},wo),li);DA&&((ps=wo.resetPagination)===null||ps===void 0||ps.call(wo),!((UA=Ns.pagination)===null||UA===void 0)&&UA.current&&(Ns.pagination.current=1),$n&&$n.onChange&&$n.onChange(1,(RA=Ns.pagination)===null||RA===void 0?void 0:RA.pageSize)),pa&&pa.scrollToFirstRowOnChange!==!1&&Ha.body.current&&(0,_l.Z)(0,{getContainer:()=>Ha.body.current}),qr==null||qr(Ns.pagination,Ns.filters,Ns.sorter,{currentDataSource:Vl(Mr($i,Ns.sorterStates,io),Ns.filterStates),action:rs})},Ai=(li,rs)=>{ai({sorter:li,sorterStates:rs},"sort",!1)},[ZA,Gs,tu,Zs]=co({prefixCls:ns,mergedColumns:$a,onSorterChange:Ai,sortDirections:Pa||["ascend","descend"],tableLocale:Li,showSorterTooltip:la}),Cl=ve.useMemo(()=>Mr($i,Gs,io),[$i,Gs]);wo.sorter=Zs(),wo.sorterStates=Gs;const aa=(li,rs)=>{ai({filters:li,filterStates:rs},"filter",!0)},[rl,yc,Ni]=Xa({prefixCls:ns,locale:Li,dropdownPrefixCls:cl,mergedColumns:$a,onFilterChange:aa,getPopupContainer:Gr||Io}),ri=Vl(Cl,yc);wo.filters=Ni,wo.filterStates=yc;const Bs=ve.useMemo(()=>{const li={};return Object.keys(Ni).forEach(rs=>{Ni[rs]!==null&&(li[rs]=Ni[rs])}),Object.assign(Object.assign({},tu),{filters:li})},[tu,Ni]),[gA]=mo(Bs),ss=(li,rs)=>{ai({pagination:Object.assign(Object.assign({},wo.pagination),{current:li,pageSize:rs})},"paginate")},[Xo,WA]=GA(ri.length,ss,$n);wo.pagination=$n===!1?{}:xo(Xo,$n),wo.resetPagination=WA;const HA=ve.useMemo(()=>{if($n===!1||!Xo.pageSize)return ri;const{current:li=1,total:rs,pageSize:DA=ms}=Xo;return ri.lengthDA?ri.slice((li-1)*DA,li*DA):ri:ri.slice((li-1)*DA,li*DA)},[!!$n,ri,Xo&&Xo.current,Xo&&Xo.pageSize,Xo&&Xo.total]),[dl,al]=qs({prefixCls:ns,data:ri,pageData:HA,getRowKey:Ii,getRecordByKey:Ra,expandType:ao,childrenColumnName:io,locale:Li,getPopupContainer:Gr||Io},Gn),ol=(li,rs,DA)=>{let ps;return typeof pr=="function"?ps=_e()(pr(li,rs,DA)):ps=_e()(pr),_e()({[`${ns}-row-selected`]:al.has(Ii(li,rs))},ps)};ya.__PARENT_RENDER_ICON__=ya.expandIcon,ya.expandIcon=ya.expandIcon||Ka||_t(Li),ao==="nest"&&ya.expandIconColumnIndex===void 0?ya.expandIconColumnIndex=Gn?1:0:ya.expandIconColumnIndex>0&&Gn&&(ya.expandIconColumnIndex-=1),typeof ya.indentSize!="number"&&(ya.indentSize=typeof Fo=="number"?Fo:15);const Tl=ve.useCallback(li=>gA(dl(rl(ZA(li)))),[ZA,rl,dl]);let Hu,Hl;if($n!==!1&&(Xo!=null&&Xo.total)){let li;Xo.size?li=Xo.size:li=tA==="small"||tA==="middle"?"small":void 0;const rs=UA=>ve.createElement(ku.Z,Object.assign({},Xo,{className:_e()(`${ns}-pagination ${ns}-pagination-${UA}`,Xo.className),size:li})),DA=qi==="rtl"?"left":"right",{position:ps}=Xo;if(ps!==null&&Array.isArray(ps)){const UA=ps.find(hu=>hu.includes("top")),RA=ps.find(hu=>hu.includes("bottom")),Ns=ps.every(hu=>`${hu}`=="none");!UA&&!RA&&!Ns&&(Hl=rs(DA)),UA&&(Hu=rs(UA.toLowerCase().replace("top",""))),RA&&(Hl=rs(RA.toLowerCase().replace("bottom","")))}else Hl=rs(DA)}let Is;typeof ca=="boolean"?Is={spinning:ca}:typeof ca=="object"&&(Is=Object.assign({spinning:!0},ca));const[NA,nA]=hd(ns),[,Ss]=(0,da.Z)(),gu=_e()(`${ns}-wrapper`,hi==null?void 0:hi.className,{[`${ns}-wrapper-rtl`]:qi==="rtl"},Qt,qt,nA),Iu=Object.assign(Object.assign({},hi==null?void 0:hi.style),$t),Ru=Ba&&Ba.emptyText||(cs==null?void 0:cs("Table"))||ve.createElement(Js.Z,{componentName:"Table"}),fu=Ea?BA:ti,pd={},Md=ve.useMemo(()=>{const{fontSize:li,lineHeight:rs,padding:DA,paddingXS:ps,paddingSM:UA}=Ss,RA=Math.floor(li*rs);switch(tA){case"large":return DA*2+RA;case"small":return ps*2+RA;default:return UA*2+RA}},[Ss,tA]);return Ea&&(pd.listItemHeight=Md),NA(ve.createElement("div",{ref:et,className:gu,style:Iu},ve.createElement(Da.Z,Object.assign({spinning:!1},Is),Hu,ve.createElement(fu,Object.assign({},pd,To,{columns:$a,direction:qi,expandable:ya,prefixCls:ns,className:_e()({[`${ns}-middle`]:tA==="middle",[`${ns}-small`]:tA==="small",[`${ns}-bordered`]:Fn,[`${ns}-empty`]:$i.length===0}),data:HA,rowKey:Ii,rowClassName:ol,emptyText:Ru,internalHooks:Ee,internalRefs:Ha,transformColumns:Tl})),Hl)))};var n0=ve.forwardRef(Xc);const r0=(Ye,et)=>{const Et=ve.useRef(0);return Et.current+=1,ve.createElement(n0,Object.assign({},Ye,{ref:et,_renderTimes:Et.current}))},TA=ve.forwardRef(r0);TA.SELECTION_COLUMN=_s,TA.EXPAND_COLUMN=le,TA.SELECTION_ALL=yl,TA.SELECTION_INVERT=Ps,TA.SELECTION_NONE=Yi,TA.Column=lu,TA.ColumnGroup=uu,TA.Summary=Re;var md=TA,a0=md},17574:function(Xt,It,Be){"use strict";Be.d(It,{default:function(){return pt}});var le=Be(60091),Ee=Be(94480),je=Be(52671),rt=Be(8657),Ke=Be(54476),He=Be(59301),ve={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"},Se=ve,Ne=Be(7657),fe=function(tt,zt){return He.createElement(Ne.Z,(0,Ke.Z)({},tt,{ref:zt,icon:Se}))},De=He.forwardRef(fe),xe=De,Ce=Be(92310),ie=Be.n(Ce),y=Be(35654),a=Be(71430),ee=Be(36355),E=Be(56082),te=Be(62892),ne=Be(20648);const ae=4;function ge(At){const{dropPosition:tt,dropLevelOffset:zt,prefixCls:Rt,indent:ft,direction:Kt="ltr"}=At,yn=Kt==="ltr"?"left":"right",Hn=Kt==="ltr"?"right":"left",ln={[yn]:-zt*ft+ae,[Hn]:0};switch(tt){case-1:ln.top=-3;break;case 1:ln.bottom=-3;break;default:ln.bottom=-3,ln[yn]=ft+ae;break}return He.createElement("div",{style:ln,className:`${Rt}-drop-indicator`})}var Le=Be(71997),Ue=He.forwardRef((At,tt)=>{const{getPrefixCls:zt,direction:Rt,virtual:ft,tree:Kt}=He.useContext(ee.E_),{prefixCls:yn,className:Hn,showIcon:ln=!1,showLine:Wn,switcherIcon:Bt,blockNode:Un=!1,children:ar,checkable:Je=!1,selectable:gn=!0,draggable:Fe,motion:he,style:de}=At,ye=zt("tree",yn),qe=zt(),dt=he!=null?he:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),Re=Object.assign(Object.assign({},At),{checkable:Je,selectable:gn,showIcon:ln,motion:dt,blockNode:Un,showLine:!!Wn,dropIndicatorRender:ge}),[Xe,Ct]=(0,ne.ZP)(ye),gt=He.useMemo(()=>{if(!Fe)return!1;let kt={};switch(typeof Fe){case"function":kt.nodeDraggable=Fe;break;case"object":kt=Object.assign({},Fe);break;default:break}return kt.icon!==!1&&(kt.icon=kt.icon||He.createElement(E.Z,null)),kt},[Fe]),it=kt=>He.createElement(Le.Z,{prefixCls:ye,switcherIcon:Bt,treeNodeProps:kt,showLine:Wn});return Xe(He.createElement(le.Z,Object.assign({itemHeight:20,ref:tt,virtual:ft},Re,{style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),de),prefixCls:ye,className:ie()({[`${ye}-icon-hide`]:!ln,[`${ye}-block-node`]:Un,[`${ye}-unselectable`]:!gn,[`${ye}-rtl`]:Rt==="rtl"},Kt==null?void 0:Kt.className,Hn,Ct),direction:Rt,checkable:Je&&He.createElement("span",{className:`${ye}-checkbox-inner`}),selectable:gn,switcherIcon:it,draggable:gt}),ar))}),Ge;(function(At){At[At.None=0]="None",At[At.Start=1]="Start",At[At.End=2]="End"})(Ge||(Ge={}));function Ze(At,tt){function zt(Rt){const{key:ft,children:Kt}=Rt;tt(ft,Rt)!==!1&&Ze(Kt||[],tt)}At.forEach(zt)}function nt(At){let{treeData:tt,expandedKeys:zt,startKey:Rt,endKey:ft}=At;const Kt=[];let yn=Ge.None;if(Rt&&Rt===ft)return[Rt];if(!Rt||!ft)return[];function Hn(ln){return ln===Rt||ln===ft}return Ze(tt,ln=>{if(yn===Ge.End)return!1;if(Hn(ln)){if(Kt.push(ln),yn===Ge.None)yn=Ge.Start;else if(yn===Ge.Start)return yn=Ge.End,!1}else yn===Ge.Start&&Kt.push(ln);return zt.includes(ln)}),Kt}function ke(At,tt){const zt=(0,Ee.Z)(tt),Rt=[];return Ze(At,(ft,Kt)=>{const yn=zt.indexOf(ft);return yn!==-1&&(Rt.push(Kt),zt.splice(yn,1)),!!zt.length}),Rt}var vt=function(At,tt){var zt={};for(var Rt in At)Object.prototype.hasOwnProperty.call(At,Rt)&&tt.indexOf(Rt)<0&&(zt[Rt]=At[Rt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,Rt=Object.getOwnPropertySymbols(At);ft{var{defaultExpandAll:zt,defaultExpandParent:Rt,defaultExpandedKeys:ft}=At,Kt=vt(At,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const yn=He.useRef(),Hn=He.useRef(),ln=()=>{const{keyEntities:gt}=(0,a.I8)(Nt(Kt));let it;return zt?it=Object.keys(gt):Rt?it=(0,y.r7)(Kt.expandedKeys||ft||[],gt):it=Kt.expandedKeys||ft,it},[Wn,Bt]=He.useState(Kt.selectedKeys||Kt.defaultSelectedKeys||[]),[Un,ar]=He.useState(()=>ln());He.useEffect(()=>{"selectedKeys"in Kt&&Bt(Kt.selectedKeys)},[Kt.selectedKeys]),He.useEffect(()=>{"expandedKeys"in Kt&&ar(Kt.expandedKeys)},[Kt.expandedKeys]);const Je=(gt,it)=>{var kt;return"expandedKeys"in Kt||ar(gt),(kt=Kt.onExpand)===null||kt===void 0?void 0:kt.call(Kt,gt,it)},gn=(gt,it)=>{var kt;const{multiple:kn}=Kt,{node:Ft,nativeEvent:on}=it,{key:Ot=""}=Ft,En=Nt(Kt),lt=Object.assign(Object.assign({},it),{selected:!0}),Jt=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),vn=on==null?void 0:on.shiftKey;let bn;kn&&Jt?(bn=gt,yn.current=Ot,Hn.current=bn,lt.selectedNodes=ke(En,bn)):kn&&vn?(bn=Array.from(new Set([].concat((0,Ee.Z)(Hn.current||[]),(0,Ee.Z)(nt({treeData:En,expandedKeys:Un,startKey:Ot,endKey:yn.current}))))),lt.selectedNodes=ke(En,bn)):(bn=[Ot],yn.current=Ot,Hn.current=bn,lt.selectedNodes=ke(En,bn)),(kt=Kt.onSelect)===null||kt===void 0||kt.call(Kt,bn,lt),"selectedKeys"in Kt||Bt(bn)},{getPrefixCls:Fe,direction:he}=He.useContext(ee.E_),{prefixCls:de,className:ye,showIcon:qe=!0,expandAction:dt="click"}=Kt,Re=vt(Kt,["prefixCls","className","showIcon","expandAction"]),Xe=Fe("tree",de),Ct=ie()(`${Xe}-directory`,{[`${Xe}-directory-rtl`]:he==="rtl"},ye);return He.createElement(Ue,Object.assign({icon:_e,ref:tt,blockNode:!0},Re,{showIcon:qe,expandAction:dt,prefixCls:Xe,className:Ct,expandedKeys:Un,selectedKeys:Wn,onSelect:gn,onExpand:Je}))};var bt=He.forwardRef(st);const ct=Ue;ct.DirectoryTree=bt,ct.TreeNode=le.O;var pt=ct},20648:function(Xt,It,Be){"use strict";Be.d(It,{TM:function(){return Ce},Yk:function(){return xe}});var le=Be(36237),Ee=Be(98447),je=Be(17313),rt=Be(8378),Ke=Be(37613),He=Be(83116);const ve=new le.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Ne=(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:'""'}}}),fe=(ie,y)=>{const{treeCls:a,treeNodeCls:ee,treeNodePadding:E,titleHeight:te,nodeSelectedBg:ne,nodeHoverBg:ae}=y,ge=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:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:ve,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ee}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}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({},Se(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:-E,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:ge},[`${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"},Ne(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:-E,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`}}}}})}},De=ie=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:ee,directoryNodeSelectedBg:E,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:E},[`${y}-switcher`]:{color:te},[`${y}-node-content-wrapper`]:{color:te,background:"transparent"}}}}}},xe=(ie,y)=>{const a=`.${ie}`,ee=`${a}-treenode`,E=y.paddingXS/2,te=(0,Ke.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[fe(ie,te),De(te)]},Ce=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};It.ZP=(0,He.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,Ee.C2)(`${a}-checkbox`,ie)},xe(a,ie),(0,rt.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ce(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Xt,It,Be){"use strict";Be.d(It,{Z:function(){return ee}});var le=Be(54476),Ee=Be(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"},rt=je,Ke=Be(7657),He=function(te,ne){return Ee.createElement(Ke.Z,(0,le.Z)({},te,{ref:ne,icon:rt}))},ve=Ee.forwardRef(He),Se=ve,Ne=Be(52671),fe=Be(58617),De=Be(15075),xe=Be(43531),Ce=Be(92310),ie=Be.n(Ce),y=Be(92343),ee=E=>{const{prefixCls:te,switcherIcon:ne,treeNodeProps:ae,showLine:ge}=E,{isLeaf:Le,expanded:Pe,loading:Ue}=ae;if(Ue)return Ee.createElement(fe.Z,{className:`${te}-switcher-loading-icon`});let Ge;if(ge&&typeof ge=="object"&&(Ge=ge.showLeafIcon),Le){if(!ge)return null;if(typeof Ge!="boolean"&&Ge){const ke=typeof Ge=="function"?Ge(ae):Ge,vt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(ke)?(0,y.Tm)(ke,{className:ie()(ke.props.className||"",vt)}):ke}return Ge?Ee.createElement(Ne.Z,{className:`${te}-switcher-line-icon`}):Ee.createElement("span",{className:`${te}-switcher-leaf-line`})}const Ze=`${te}-switcher-icon`,nt=typeof ne=="function"?ne(ae):ne;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:ie()(nt.props.className||"",Ze)}):nt!==void 0?nt:ge?Pe?Ee.createElement(De.Z,{className:`${te}-switcher-line-icon`}):Ee.createElement(xe.Z,{className:`${te}-switcher-line-icon`}):Ee.createElement(Se,{className:Ze})}},86251:function(Xt,It){"use strict";It.byteLength=ve,It.toByteArray=Ne,It.fromByteArray=xe;for(var Be=[],le=[],Ee=typeof Uint8Array!="undefined"?Uint8Array:Array,je="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",rt=0,Ke=je.length;rt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ce.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function ve(Ce){var ie=He(Ce),y=ie[0],a=ie[1];return(y+a)*3/4-a}function Se(Ce,ie,y){return(ie+y)*3/4-y}function Ne(Ce){var ie,y=He(Ce),a=y[0],ee=y[1],E=new Ee(Se(Ce,a,ee)),te=0,ne=ee>0?a-4:a,ae;for(ae=0;ae>16&255,E[te++]=ie>>8&255,E[te++]=ie&255;return ee===2&&(ie=le[Ce.charCodeAt(ae)]<<2|le[Ce.charCodeAt(ae+1)]>>4,E[te++]=ie&255),ee===1&&(ie=le[Ce.charCodeAt(ae)]<<10|le[Ce.charCodeAt(ae+1)]<<4|le[Ce.charCodeAt(ae+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function fe(Ce){return Be[Ce>>18&63]+Be[Ce>>12&63]+Be[Ce>>6&63]+Be[Ce&63]}function De(Ce,ie,y){for(var a,ee=[],E=ie;Ene?ne:te+E));return a===1?(ie=Ce[y-1],ee.push(Be[ie>>2]+Be[ie<<4&63]+"==")):a===2&&(ie=(Ce[y-2]<<8)+Ce[y-1],ee.push(Be[ie>>10]+Be[ie>>4&63]+Be[ie<<2&63]+"=")),ee.join("")}},19208:function(Xt,It,Be){"use strict";var le;var Ee=Be(86251),je=Be(67467),rt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;It.lW=Se,le=te,It.h2=50;var Ke=2147483647;le=Ke,Se.TYPED_ARRAY_SUPPORT=He(),!Se.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function He(){try{var Fe=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(Fe,he),Fe.foo()===42}catch(de){return!1}}Object.defineProperty(Se.prototype,"parent",{enumerable:!0,get:function(){if(Se.isBuffer(this))return this.buffer}}),Object.defineProperty(Se.prototype,"offset",{enumerable:!0,get:function(){if(Se.isBuffer(this))return this.byteOffset}});function ve(Fe){if(Fe>Ke)throw new RangeError('The value "'+Fe+'" is invalid for option "size"');var he=new Uint8Array(Fe);return Object.setPrototypeOf(he,Se.prototype),he}function Se(Fe,he,de){if(typeof Fe=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return xe(Fe)}return Ne(Fe,he,de)}Se.poolSize=8192;function Ne(Fe,he,de){if(typeof Fe=="string")return Ce(Fe,he);if(ArrayBuffer.isView(Fe))return y(Fe);if(Fe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe);if(ar(Fe,ArrayBuffer)||Fe&&ar(Fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ar(Fe,SharedArrayBuffer)||Fe&&ar(Fe.buffer,SharedArrayBuffer)))return a(Fe,he,de);if(typeof Fe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var ye=Fe.valueOf&&Fe.valueOf();if(ye!=null&&ye!==Fe)return Se.from(ye,he,de);var qe=ee(Fe);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Fe[Symbol.toPrimitive]=="function")return Se.from(Fe[Symbol.toPrimitive]("string"),he,de);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Fe)}Se.from=function(Fe,he,de){return Ne(Fe,he,de)},Object.setPrototypeOf(Se.prototype,Uint8Array.prototype),Object.setPrototypeOf(Se,Uint8Array);function fe(Fe){if(typeof Fe!="number")throw new TypeError('"size" argument must be of type number');if(Fe<0)throw new RangeError('The value "'+Fe+'" is invalid for option "size"')}function De(Fe,he,de){return fe(Fe),Fe<=0?ve(Fe):he!==void 0?typeof de=="string"?ve(Fe).fill(he,de):ve(Fe).fill(he):ve(Fe)}Se.alloc=function(Fe,he,de){return De(Fe,he,de)};function xe(Fe){return fe(Fe),ve(Fe<0?0:E(Fe)|0)}Se.allocUnsafe=function(Fe){return xe(Fe)},Se.allocUnsafeSlow=function(Fe){return xe(Fe)};function Ce(Fe,he){if((typeof he!="string"||he==="")&&(he="utf8"),!Se.isEncoding(he))throw new TypeError("Unknown encoding: "+he);var de=ne(Fe,he)|0,ye=ve(de),qe=ye.write(Fe,he);return qe!==de&&(ye=ye.slice(0,qe)),ye}function ie(Fe){for(var he=Fe.length<0?0:E(Fe.length)|0,de=ve(he),ye=0;ye=Ke)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ke.toString(16)+" bytes");return Fe|0}function te(Fe){return+Fe!=Fe&&(Fe=0),Se.alloc(+Fe)}Se.isBuffer=function(he){return he!=null&&he._isBuffer===!0&&he!==Se.prototype},Se.compare=function(he,de){if(ar(he,Uint8Array)&&(he=Se.from(he,he.offset,he.byteLength)),ar(de,Uint8Array)&&(de=Se.from(de,de.offset,de.byteLength)),!Se.isBuffer(he)||!Se.isBuffer(de))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(he===de)return 0;for(var ye=he.length,qe=de.length,dt=0,Re=Math.min(ye,qe);dtqe.length?Se.from(Re).copy(qe,dt):Uint8Array.prototype.set.call(qe,Re,dt);else if(Se.isBuffer(Re))Re.copy(qe,dt);else throw new TypeError('"list" argument must be an Array of Buffers');dt+=Re.length}return qe};function ne(Fe,he){if(Se.isBuffer(Fe))return Fe.length;if(ArrayBuffer.isView(Fe)||ar(Fe,ArrayBuffer))return Fe.byteLength;if(typeof Fe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Fe);var de=Fe.length,ye=arguments.length>2&&arguments[2]===!0;if(!ye&&de===0)return 0;for(var qe=!1;;)switch(he){case"ascii":case"latin1":case"binary":return de;case"utf8":case"utf-8":return Hn(Fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de*2;case"hex":return de>>>1;case"base64":return Bt(Fe).length;default:if(qe)return ye?-1:Hn(Fe).length;he=(""+he).toLowerCase(),qe=!0}}Se.byteLength=ne;function ae(Fe,he,de){var ye=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((de===void 0||de>this.length)&&(de=this.length),de<=0)||(de>>>=0,he>>>=0,de<=he))return"";for(Fe||(Fe="utf8");;)switch(Fe){case"hex":return ct(this,he,de);case"utf8":case"utf-8":return _e(this,he,de);case"ascii":return ot(this,he,de);case"latin1":case"binary":return bt(this,he,de);case"base64":return vt(this,he,de);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,he,de);default:if(ye)throw new TypeError("Unknown encoding: "+Fe);Fe=(Fe+"").toLowerCase(),ye=!0}}Se.prototype._isBuffer=!0;function ge(Fe,he,de){var ye=Fe[he];Fe[he]=Fe[de],Fe[de]=ye}Se.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 de=0;dede&&(he+=" ... "),""},rt&&(Se.prototype[rt]=Se.prototype.inspect),Se.prototype.compare=function(he,de,ye,qe,dt){if(ar(he,Uint8Array)&&(he=Se.from(he,he.offset,he.byteLength)),!Se.isBuffer(he))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof he);if(de===void 0&&(de=0),ye===void 0&&(ye=he?he.length:0),qe===void 0&&(qe=0),dt===void 0&&(dt=this.length),de<0||ye>he.length||qe<0||dt>this.length)throw new RangeError("out of range index");if(qe>=dt&&de>=ye)return 0;if(qe>=dt)return-1;if(de>=ye)return 1;if(de>>>=0,ye>>>=0,qe>>>=0,dt>>>=0,this===he)return 0;for(var Re=dt-qe,Xe=ye-de,Ct=Math.min(Re,Xe),gt=this.slice(qe,dt),it=he.slice(de,ye),kt=0;kt2147483647?de=2147483647:de<-2147483648&&(de=-2147483648),de=+de,Je(de)&&(de=qe?0:Fe.length-1),de<0&&(de=Fe.length+de),de>=Fe.length){if(qe)return-1;de=Fe.length-1}else if(de<0)if(qe)de=0;else return-1;if(typeof he=="string"&&(he=Se.from(he,ye)),Se.isBuffer(he))return he.length===0?-1:Pe(Fe,he,de,ye,qe);if(typeof he=="number")return he=he&255,typeof Uint8Array.prototype.indexOf=="function"?qe?Uint8Array.prototype.indexOf.call(Fe,he,de):Uint8Array.prototype.lastIndexOf.call(Fe,he,de):Pe(Fe,[he],de,ye,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Fe,he,de,ye,qe){var dt=1,Re=Fe.length,Xe=he.length;if(ye!==void 0&&(ye=String(ye).toLowerCase(),ye==="ucs2"||ye==="ucs-2"||ye==="utf16le"||ye==="utf-16le")){if(Fe.length<2||he.length<2)return-1;dt=2,Re/=2,Xe/=2,de/=2}function Ct(Ft,on){return dt===1?Ft[on]:Ft.readUInt16BE(on*dt)}var gt;if(qe){var it=-1;for(gt=de;gtRe&&(de=Re-Xe),gt=de;gt>=0;gt--){for(var kt=!0,kn=0;knqe&&(ye=qe)):ye=qe;var dt=he.length;ye>dt/2&&(ye=dt/2);for(var Re=0;Re>>0,isFinite(ye)?(ye=ye>>>0,qe===void 0&&(qe="utf8")):(qe=ye,ye=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var dt=this.length-de;if((ye===void 0||ye>dt)&&(ye=dt),he.length>0&&(ye<0||de<0)||de>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var Re=!1;;)switch(qe){case"hex":return Ue(this,he,de,ye);case"utf8":case"utf-8":return Ge(this,he,de,ye);case"ascii":case"latin1":case"binary":return Ze(this,he,de,ye);case"base64":return nt(this,he,de,ye);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,he,de,ye);default:if(Re)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),Re=!0}},Se.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function vt(Fe,he,de){return he===0&&de===Fe.length?Ee.fromByteArray(Fe):Ee.fromByteArray(Fe.slice(he,de))}function _e(Fe,he,de){de=Math.min(Fe.length,de);for(var ye=[],qe=he;qe239?4:dt>223?3:dt>191?2:1;if(qe+Xe<=de){var Ct,gt,it,kt;switch(Xe){case 1:dt<128&&(Re=dt);break;case 2:Ct=Fe[qe+1],(Ct&192)===128&&(kt=(dt&31)<<6|Ct&63,kt>127&&(Re=kt));break;case 3:Ct=Fe[qe+1],gt=Fe[qe+2],(Ct&192)===128&&(gt&192)===128&&(kt=(dt&15)<<12|(Ct&63)<<6|gt&63,kt>2047&&(kt<55296||kt>57343)&&(Re=kt));break;case 4:Ct=Fe[qe+1],gt=Fe[qe+2],it=Fe[qe+3],(Ct&192)===128&&(gt&192)===128&&(it&192)===128&&(kt=(dt&15)<<18|(Ct&63)<<12|(gt&63)<<6|it&63,kt>65535&&kt<1114112&&(Re=kt))}}Re===null?(Re=65533,Xe=1):Re>65535&&(Re-=65536,ye.push(Re>>>10&1023|55296),Re=56320|Re&1023),ye.push(Re),qe+=Xe}return st(ye)}var Nt=4096;function st(Fe){var he=Fe.length;if(he<=Nt)return String.fromCharCode.apply(String,Fe);for(var de="",ye=0;yeye)&&(de=ye);for(var qe="",dt=he;dtye&&(he=ye),de<0?(de+=ye,de<0&&(de=0)):de>ye&&(de=ye),dede)throw new RangeError("Trying to access beyond buffer length")}Se.prototype.readUintLE=Se.prototype.readUIntLE=function(he,de,ye){he=he>>>0,de=de>>>0,ye||At(he,de,this.length);for(var qe=this[he],dt=1,Re=0;++Re>>0,de=de>>>0,ye||At(he,de,this.length);for(var qe=this[he+--de],dt=1;de>0&&(dt*=256);)qe+=this[he+--de]*dt;return qe},Se.prototype.readUint8=Se.prototype.readUInt8=function(he,de){return he=he>>>0,de||At(he,1,this.length),this[he]},Se.prototype.readUint16LE=Se.prototype.readUInt16LE=function(he,de){return he=he>>>0,de||At(he,2,this.length),this[he]|this[he+1]<<8},Se.prototype.readUint16BE=Se.prototype.readUInt16BE=function(he,de){return he=he>>>0,de||At(he,2,this.length),this[he]<<8|this[he+1]},Se.prototype.readUint32LE=Se.prototype.readUInt32LE=function(he,de){return he=he>>>0,de||At(he,4,this.length),(this[he]|this[he+1]<<8|this[he+2]<<16)+this[he+3]*16777216},Se.prototype.readUint32BE=Se.prototype.readUInt32BE=function(he,de){return he=he>>>0,de||At(he,4,this.length),this[he]*16777216+(this[he+1]<<16|this[he+2]<<8|this[he+3])},Se.prototype.readIntLE=function(he,de,ye){he=he>>>0,de=de>>>0,ye||At(he,de,this.length);for(var qe=this[he],dt=1,Re=0;++Re=dt&&(qe-=Math.pow(2,8*de)),qe},Se.prototype.readIntBE=function(he,de,ye){he=he>>>0,de=de>>>0,ye||At(he,de,this.length);for(var qe=de,dt=1,Re=this[he+--qe];qe>0&&(dt*=256);)Re+=this[he+--qe]*dt;return dt*=128,Re>=dt&&(Re-=Math.pow(2,8*de)),Re},Se.prototype.readInt8=function(he,de){return he=he>>>0,de||At(he,1,this.length),this[he]&128?(255-this[he]+1)*-1:this[he]},Se.prototype.readInt16LE=function(he,de){he=he>>>0,de||At(he,2,this.length);var ye=this[he]|this[he+1]<<8;return ye&32768?ye|4294901760:ye},Se.prototype.readInt16BE=function(he,de){he=he>>>0,de||At(he,2,this.length);var ye=this[he+1]|this[he]<<8;return ye&32768?ye|4294901760:ye},Se.prototype.readInt32LE=function(he,de){return he=he>>>0,de||At(he,4,this.length),this[he]|this[he+1]<<8|this[he+2]<<16|this[he+3]<<24},Se.prototype.readInt32BE=function(he,de){return he=he>>>0,de||At(he,4,this.length),this[he]<<24|this[he+1]<<16|this[he+2]<<8|this[he+3]},Se.prototype.readFloatLE=function(he,de){return he=he>>>0,de||At(he,4,this.length),je.read(this,he,!0,23,4)},Se.prototype.readFloatBE=function(he,de){return he=he>>>0,de||At(he,4,this.length),je.read(this,he,!1,23,4)},Se.prototype.readDoubleLE=function(he,de){return he=he>>>0,de||At(he,8,this.length),je.read(this,he,!0,52,8)},Se.prototype.readDoubleBE=function(he,de){return he=he>>>0,de||At(he,8,this.length),je.read(this,he,!1,52,8)};function tt(Fe,he,de,ye,qe,dt){if(!Se.isBuffer(Fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>qe||heFe.length)throw new RangeError("Index out of range")}Se.prototype.writeUintLE=Se.prototype.writeUIntLE=function(he,de,ye,qe){if(he=+he,de=de>>>0,ye=ye>>>0,!qe){var dt=Math.pow(2,8*ye)-1;tt(this,he,de,ye,dt,0)}var Re=1,Xe=0;for(this[de]=he&255;++Xe>>0,ye=ye>>>0,!qe){var dt=Math.pow(2,8*ye)-1;tt(this,he,de,ye,dt,0)}var Re=ye-1,Xe=1;for(this[de+Re]=he&255;--Re>=0&&(Xe*=256);)this[de+Re]=he/Xe&255;return de+ye},Se.prototype.writeUint8=Se.prototype.writeUInt8=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,1,255,0),this[de]=he&255,de+1},Se.prototype.writeUint16LE=Se.prototype.writeUInt16LE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,2,65535,0),this[de]=he&255,this[de+1]=he>>>8,de+2},Se.prototype.writeUint16BE=Se.prototype.writeUInt16BE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,2,65535,0),this[de]=he>>>8,this[de+1]=he&255,de+2},Se.prototype.writeUint32LE=Se.prototype.writeUInt32LE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,4,4294967295,0),this[de+3]=he>>>24,this[de+2]=he>>>16,this[de+1]=he>>>8,this[de]=he&255,de+4},Se.prototype.writeUint32BE=Se.prototype.writeUInt32BE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,4,4294967295,0),this[de]=he>>>24,this[de+1]=he>>>16,this[de+2]=he>>>8,this[de+3]=he&255,de+4},Se.prototype.writeIntLE=function(he,de,ye,qe){if(he=+he,de=de>>>0,!qe){var dt=Math.pow(2,8*ye-1);tt(this,he,de,ye,dt-1,-dt)}var Re=0,Xe=1,Ct=0;for(this[de]=he&255;++Re>0)-Ct&255;return de+ye},Se.prototype.writeIntBE=function(he,de,ye,qe){if(he=+he,de=de>>>0,!qe){var dt=Math.pow(2,8*ye-1);tt(this,he,de,ye,dt-1,-dt)}var Re=ye-1,Xe=1,Ct=0;for(this[de+Re]=he&255;--Re>=0&&(Xe*=256);)he<0&&Ct===0&&this[de+Re+1]!==0&&(Ct=1),this[de+Re]=(he/Xe>>0)-Ct&255;return de+ye},Se.prototype.writeInt8=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,1,127,-128),he<0&&(he=255+he+1),this[de]=he&255,de+1},Se.prototype.writeInt16LE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,2,32767,-32768),this[de]=he&255,this[de+1]=he>>>8,de+2},Se.prototype.writeInt16BE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,2,32767,-32768),this[de]=he>>>8,this[de+1]=he&255,de+2},Se.prototype.writeInt32LE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,4,2147483647,-2147483648),this[de]=he&255,this[de+1]=he>>>8,this[de+2]=he>>>16,this[de+3]=he>>>24,de+4},Se.prototype.writeInt32BE=function(he,de,ye){return he=+he,de=de>>>0,ye||tt(this,he,de,4,2147483647,-2147483648),he<0&&(he=4294967295+he+1),this[de]=he>>>24,this[de+1]=he>>>16,this[de+2]=he>>>8,this[de+3]=he&255,de+4};function zt(Fe,he,de,ye,qe,dt){if(de+ye>Fe.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("Index out of range")}function Rt(Fe,he,de,ye,qe){return he=+he,de=de>>>0,qe||zt(Fe,he,de,4,34028234663852886e22,-34028234663852886e22),je.write(Fe,he,de,ye,23,4),de+4}Se.prototype.writeFloatLE=function(he,de,ye){return Rt(this,he,de,!0,ye)},Se.prototype.writeFloatBE=function(he,de,ye){return Rt(this,he,de,!1,ye)};function ft(Fe,he,de,ye,qe){return he=+he,de=de>>>0,qe||zt(Fe,he,de,8,17976931348623157e292,-17976931348623157e292),je.write(Fe,he,de,ye,52,8),de+8}Se.prototype.writeDoubleLE=function(he,de,ye){return ft(this,he,de,!0,ye)},Se.prototype.writeDoubleBE=function(he,de,ye){return ft(this,he,de,!1,ye)},Se.prototype.copy=function(he,de,ye,qe){if(!Se.isBuffer(he))throw new TypeError("argument should be a Buffer");if(ye||(ye=0),!qe&&qe!==0&&(qe=this.length),de>=he.length&&(de=he.length),de||(de=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-de>>0,ye=ye===void 0?this.length:ye>>>0,he||(he=0);var Re;if(typeof he=="number")for(Re=de;Re55295&&de<57344){if(!qe){if(de>56319){(he-=3)>-1&&dt.push(239,191,189);continue}else if(Re+1===ye){(he-=3)>-1&&dt.push(239,191,189);continue}qe=de;continue}if(de<56320){(he-=3)>-1&&dt.push(239,191,189),qe=de;continue}de=(qe-55296<<10|de-56320)+65536}else qe&&(he-=3)>-1&&dt.push(239,191,189);if(qe=null,de<128){if((he-=1)<0)break;dt.push(de)}else if(de<2048){if((he-=2)<0)break;dt.push(de>>6|192,de&63|128)}else if(de<65536){if((he-=3)<0)break;dt.push(de>>12|224,de>>6&63|128,de&63|128)}else if(de<1114112){if((he-=4)<0)break;dt.push(de>>18|240,de>>12&63|128,de>>6&63|128,de&63|128)}else throw new Error("Invalid code point")}return dt}function ln(Fe){for(var he=[],de=0;de>8,qe=de%256,dt.push(qe),dt.push(ye);return dt}function Bt(Fe){return Ee.toByteArray(yn(Fe))}function Un(Fe,he,de,ye){for(var qe=0;qe=he.length||qe>=Fe.length);++qe)he[qe+de]=Fe[qe];return qe}function ar(Fe,he){return Fe instanceof he||Fe!=null&&Fe.constructor!=null&&Fe.constructor.name!=null&&Fe.constructor.name===he.name}function Je(Fe){return Fe!==Fe}var gn=function(){for(var Fe="0123456789abcdef",he=new Array(256),de=0;de<16;++de)for(var ye=de*16,qe=0;qe<16;++qe)he[ye+qe]=Fe[de]+Fe[qe];return he}()},14625:function(Xt){function It(le){var Ee,je,rt="";if(typeof le=="string"||typeof le=="number")rt+=le;else if(typeof le=="object")if(Array.isArray(le)){var Ke=le.length;for(Ee=0;Ee0&&(Ue=ae[0]),Ue instanceof Error)throw Ue;var Ge=new Error("Unhandled error."+(Ue?" ("+Ue.message+")":""));throw Ge.context=Ue,Ge}var Ze=Pe[ne];if(Ze===void 0)return!1;if(typeof Ze=="function")Be(Ze,this,ae);else for(var nt=Ze.length,ke=Ce(Ze,nt),ge=0;ge0&&Ue.length>Le&&!Ue.warned){Ue.warned=!0;var Ge=new Error("Possible EventEmitter memory leak detected. "+Ue.length+" "+String(ne)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ge.name="MaxListenersExceededWarning",Ge.emitter=te,Ge.type=ne,Ge.count=Ue.length,Ee(Ge)}return te}rt.prototype.addListener=function(ne,ae){return Se(this,ne,ae,!1)},rt.prototype.on=rt.prototype.addListener,rt.prototype.prependListener=function(ne,ae){return Se(this,ne,ae,!0)};function Ne(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function fe(te,ne,ae){var ge={fired:!1,wrapFn:void 0,target:te,type:ne,listener:ae},Le=Ne.bind(ge);return Le.listener=ae,ge.wrapFn=Le,Le}rt.prototype.once=function(ne,ae){return He(ae),this.on(ne,fe(this,ne,ae)),this},rt.prototype.prependOnceListener=function(ne,ae){return He(ae),this.prependListener(ne,fe(this,ne,ae)),this},rt.prototype.removeListener=function(ne,ae){var ge,Le,Pe,Ue,Ge;if(He(ae),Le=this._events,Le===void 0)return this;if(ge=Le[ne],ge===void 0)return this;if(ge===ae||ge.listener===ae)--this._eventsCount===0?this._events=Object.create(null):(delete Le[ne],Le.removeListener&&this.emit("removeListener",ne,ge.listener||ae));else if(typeof ge!="function"){for(Pe=-1,Ue=ge.length-1;Ue>=0;Ue--)if(ge[Ue]===ae||ge[Ue].listener===ae){Ge=ge[Ue].listener,Pe=Ue;break}if(Pe<0)return this;Pe===0?ge.shift():ie(ge,Pe),ge.length===1&&(Le[ne]=ge[0]),Le.removeListener!==void 0&&this.emit("removeListener",ne,Ge||ae)}return this},rt.prototype.off=rt.prototype.removeListener,rt.prototype.removeAllListeners=function(ne){var ae,ge,Le;if(ge=this._events,ge===void 0)return this;if(ge.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):ge[ne]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete ge[ne]),this;if(arguments.length===0){var Pe=Object.keys(ge),Ue;for(Le=0;Le=0;Le--)this.removeListener(ne,ae[Le]);return this};function De(te,ne,ae){var ge=te._events;if(ge===void 0)return[];var Le=ge[ne];return Le===void 0?[]:typeof Le=="function"?ae?[Le.listener||Le]:[Le]:ae?y(Le):Ce(Le,Le.length)}rt.prototype.listeners=function(ne){return De(this,ne,!0)},rt.prototype.rawListeners=function(ne){return De(this,ne,!1)},rt.listenerCount=function(te,ne){return typeof te.listenerCount=="function"?te.listenerCount(ne):xe.call(te,ne)},rt.prototype.listenerCount=xe;function xe(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}rt.prototype.eventNames=function(){return this._eventsCount>0?le(this._events):[]};function Ce(te,ne){for(var ae=new Array(ne),ge=0;ge0&&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&&Me<=56319&&pe>10)+55296,St%1024+56320)),(Me+1===pe||me.length>16384)&&(at+=String.fromCharCode.apply(String,me),me.length=0)}return at},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xe=0;xe>4,jn[Me++]=(St&15)<<4|Mt>>2,jn[Me++]=(Mt&3)<<6|jt&63;return On},ee=function(ce){for(var se=ce.length,pe=[],me=0;me>te,Pe=1<>te,Ze=Le+Ge,nt=Ze,ke=32,vt=nt+ke,_e=65536>>ne,Nt=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&st,pe=this.index[pe],pe=(pe<ft?(Me.push(!0),Mt-=ft):Me.push(!1),["normal","auto","loose"].indexOf(se)!==-1&&[8208,8211,12316,12448].indexOf(at)!==-1)return me.push(St),pe.push(qe);if(Mt===ln||Mt===gn){if(St===0)return me.push(St),pe.push(Jt);var jt=pe[St-1];return Gi.indexOf(jt)===-1?(me.push(me[St-1]),pe.push(jt)):(me.push(St),pe.push(Jt))}if(me.push(St),Mt===vn)return pe.push(se==="strict"?gt:cr);if(Mt===Wr||Mt===lt)return pe.push(Jt);if(Mt===Rr)return at>=131072&&at<=196605||at>=196608&&at<=262141?pe.push(cr):pe.push(Jt);pe.push(Mt)}),[me,pe,Me]},Tn=function(ce,se,pe,me){var Me=me[pe];if(Array.isArray(ce)?ce.indexOf(Me)!==-1:ce===Me)for(var at=pe;at<=me.length;){at++;var St=me[at];if(St===se)return!0;if(St!==Je)break}if(Me===Je)for(var at=pe;at>0;){at--;var Mt=me[at];if(Array.isArray(ce)?ce.indexOf(Mt)!==-1:ce===Mt)for(var jt=pe;jt<=me.length;){jt++;var St=me[jt];if(St===se)return!0;if(St!==Je)break}if(Mt!==Je)break}return!1},pn=function(ce,se){for(var pe=ce;pe>=0;){var me=se[pe];if(me===Je)pe--;else return me}return 0},Ur=function(ce,se,pe,me,Me){if(pe[me]===0)return Hr;var at=me-1;if(Array.isArray(Me)&&Me[at]===!0)return Hr;var St=at-1,Mt=at+1,jt=se[at],On=St>=0?se[St]:0,jn=se[Mt];if(jt===yn&&jn===Hn)return Hr;if(Ei.indexOf(jt)!==-1)return to;if(Ei.indexOf(jn)!==-1||So.indexOf(jn)!==-1)return Hr;if(pn(at,se)===Un)return sn;if(Oa.get(ce[at])===gn||(jt===bn||jt===qn)&&Oa.get(ce[Mt])===gn||jt===Bt||jn===Bt||jt===ar||[Je,he,ye].indexOf(jt)===-1&&jn===ar||[dt,Re,Xe,kn,En].indexOf(jn)!==-1||pn(at,se)===it||Tn(kt,it,at,se)||Tn([dt,Re],gt,at,se)||Tn(Fe,Fe,at,se))return Hr;if(jt===Je)return sn;if(jt===kt||jn===kt)return Hr;if(jn===qe||jt===qe)return sn;if([he,ye,gt].indexOf(jn)!==-1||jt===de||On===Cr&&qa.indexOf(jt)!==-1||jt===En&&jn===Cr||jn===Ct||Po.indexOf(jn)!==-1&&jt===Ft||Po.indexOf(jt)!==-1&&jn===Ft||jt===Ot&&[cr,bn,qn].indexOf(jn)!==-1||[cr,bn,qn].indexOf(jt)!==-1&&jn===on||Po.indexOf(jt)!==-1&&Ro.indexOf(jn)!==-1||Ro.indexOf(jt)!==-1&&Po.indexOf(jn)!==-1||[Ot,on].indexOf(jt)!==-1&&(jn===Ft||[it,ye].indexOf(jn)!==-1&&se[Mt+1]===Ft)||[it,ye].indexOf(jt)!==-1&&jn===Ft||jt===Ft&&[Ft,En,kn].indexOf(jn)!==-1)return Hr;if([Ft,En,kn,dt,Re].indexOf(jn)!==-1)for(var Zn=at;Zn>=0;){var yr=se[Zn];if(yr===Ft)return Hr;if([En,kn].indexOf(yr)!==-1)Zn--;else break}if([Ot,on].indexOf(jn)!==-1)for(var Zn=[dt,Re].indexOf(jt)!==-1?St:at;Zn>=0;){var yr=se[Zn];if(yr===Ft)return Hr;if([En,kn].indexOf(yr)!==-1)Zn--;else break}if(sr===jt&&[sr,dr,lr,Er].indexOf(jn)!==-1||[dr,lr].indexOf(jt)!==-1&&[dr,Pr].indexOf(jn)!==-1||[Pr,Er].indexOf(jt)!==-1&&jn===Pr||Mi.indexOf(jt)!==-1&&[Ct,on].indexOf(jn)!==-1||Mi.indexOf(jn)!==-1&&jt===Ot||Po.indexOf(jt)!==-1&&Po.indexOf(jn)!==-1||jt===kn&&Po.indexOf(jn)!==-1||Po.concat(Ft).indexOf(jt)!==-1&&jn===it&&so.indexOf(ce[Mt])===-1||Po.concat(Ft).indexOf(jn)!==-1&&jt===Re)return Hr;if(jt===ta&&jn===ta){for(var Za=pe[at],ea=1;Za>0&&(Za--,se[Za]===ta);)ea++;if(ea%2!==0)return Hr}return jt===bn&&jn===qn?Hr:sn},ua=function(ce,se){se||(se={lineBreak:"normal",wordBreak:"normal"});var pe=In(ce,se.lineBreak),me=pe[0],Me=pe[1],at=pe[2];(se.wordBreak==="break-all"||se.wordBreak==="break-word")&&(Me=Me.map(function(Mt){return[Ft,Jt,Wr].indexOf(Mt)!==-1?cr:Mt}));var St=se.wordBreak==="keep-all"?at.map(function(Mt,jt){return Mt&&ce[jt]>=19968&&ce[jt]<=40959}):void 0;return[me,Me,St]},Tr=function(){function ce(se,pe,me,Me){this.codePoints=se,this.required=pe===to,this.start=me,this.end=Me}return ce.prototype.slice=function(){return Ne.apply(void 0,this.codePoints.slice(this.start,this.end))},ce}(),Fa=function(ce,se){var pe=Se(ce),me=ua(pe,se),Me=me[0],at=me[1],St=me[2],Mt=pe.length,jt=0,On=0;return{next:function(){if(On>=Mt)return{done:!0,value:null};for(var jn=Hr;On=vc&&ce<=57},Bc=function(ce){return ce>=55296&&ce<=57343},fs=function(ce){return Js(ce)||ce>=Vs&&ce<=Cu||ce>=Ol&&ce<=Eu},$u=function(ce){return ce>=Ol&&ce<=lu},ku=function(ce){return ce>=Vs&&ce<=Xs},Da=function(ce){return $u(ce)||ku(ce)},da=function(ce){return ce>=lA},Zt=function(ce){return ce===Ir||ce===ii||ce===Do},_t=function(ce){return Da(ce)||da(ce)||ce===Sl},Nn=function(ce){return _t(ce)||Js(ce)||ce===js},ur=function(ce){return ce>=Qu&&ce<=Zl||ce===Wl||ce>=Ul&&ce<=ul||ce===bu},sa=function(ce,se){return ce!==Ci?!1:se!==Ir},wa=function(ce,se,pe){return ce===js?_t(se)||sa(se,pe):_t(ce)?!0:!!(ce===Ci&&sa(ce,se))},na=function(ce,se,pe){return ce===Qa||ce===js?Js(se)?!0:se===Dl&&Js(pe):Js(ce===Dl?se:ce)},_r=function(ce){var se=0,pe=1;(ce[se]===Qa||ce[se]===js)&&(ce[se]===js&&(pe=-1),se++);for(var me=[];Js(ce[se]);)me.push(ce[se++]);var Me=me.length?parseInt(Ne.apply(void 0,me),10):0;ce[se]===Dl&&se++;for(var at=[];Js(ce[se]);)at.push(ce[se++]);var St=at.length,Mt=St?parseInt(Ne.apply(void 0,at),10):0;(ce[se]===uu||ce[se]===dn)&&se++;var jt=1;(ce[se]===Qa||ce[se]===js)&&(ce[se]===js&&(jt=-1),se++);for(var On=[];Js(ce[se]);)On.push(ce[se++]);var jn=On.length?parseInt(Ne.apply(void 0,On),10):0;return pe*(Me+Mt*Math.pow(10,-St))*Math.pow(10,jt*jn)},Aa={type:2},Ta={type:3},ko={type:4},Fi={type:13},za={type:8},hs={type:21},si={type:9},Dn={type:10},Wt={type:11},mn={type:12},Jn={type:14},jr={type:23},ra={type:1},er={type:25},ga={type:24},ha={type:26},no={type:27},La={type:28},Kr={type:29},Ao={type:31},Mo={type:32},hn=function(){function ce(){this._value=[]}return ce.prototype.write=function(se){this._value=this._value.concat(Se(se))},ce.prototype.read=function(){for(var se=[],pe=this.consumeToken();pe!==Mo;)se.push(pe),pe=this.consumeToken();return se},ce.prototype.consumeToken=function(){var se=this.consumeCodePoint();switch(se){case Lo:return this.consumeStringToken(Lo);case Os:var pe=this.peekCodePoint(0),me=this.peekCodePoint(1),Me=this.peekCodePoint(2);if(Nn(pe)||sa(me,Me)){var at=wa(pe,me,Me)?Ma:Na,St=this.consumeName();return{type:5,value:St,flags:at}}break;case AA:if(this.peekCodePoint(0)===Zi)return this.consumeCodePoint(),Fi;break;case Wi:return this.consumeStringToken(Wi);case Hi:return Aa;case PA:return Ta;case xi:if(this.peekCodePoint(0)===Zi)return this.consumeCodePoint(),Jn;break;case Qa:if(na(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Mc:return ko;case js:var Mt=se,jt=this.peekCodePoint(0),On=this.peekCodePoint(1);if(na(Mt,jt,On))return this.reconsumeCodePoint(se),this.consumeNumericToken();if(wa(Mt,jt,On))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();if(jt===js&&On===Au)return this.consumeCodePoint(),this.consumeCodePoint(),ga;break;case Dl:if(na(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Ja:if(this.peekCodePoint(0)===xi)for(this.consumeCodePoint();;){var jn=this.consumeCodePoint();if(jn===xi&&(jn=this.consumeCodePoint(),jn===Ja))return this.consumeToken();if(jn===pA)return this.consumeToken()}break;case qu:return ha;case wl:return no;case Yu:if(this.peekCodePoint(0)===Or&&this.peekCodePoint(1)===js&&this.peekCodePoint(2)===js)return this.consumeCodePoint(),this.consumeCodePoint(),er;break;case Nl:var Zn=this.peekCodePoint(0),yr=this.peekCodePoint(1),Za=this.peekCodePoint(2);if(wa(Zn,yr,Za)){var St=this.consumeName();return{type:7,value:St}}break;case el:return La;case Ci:if(sa(se,this.peekCodePoint(0)))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();break;case Jr:return Kr;case Va:if(this.peekCodePoint(0)===Zi)return this.consumeCodePoint(),za;break;case Wo:return Wt;case Pi:return mn;case yA:case _l:var ea=this.peekCodePoint(0),ba=this.peekCodePoint(1);return ea===Qa&&(fs(ba)||ba===_a)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(se),this.consumeIdentLikeToken();case ts:if(this.peekCodePoint(0)===Zi)return this.consumeCodePoint(),si;if(this.peekCodePoint(0)===ts)return this.consumeCodePoint(),hs;break;case Ms:if(this.peekCodePoint(0)===Zi)return this.consumeCodePoint(),Dn;break;case pA:return Mo}return Zt(se)?(this.consumeWhiteSpace(),Ao):Js(se)?(this.reconsumeCodePoint(se),this.consumeNumericToken()):_t(se)?(this.reconsumeCodePoint(se),this.consumeIdentLikeToken()):{type:6,value:Ne(se)}},ce.prototype.consumeCodePoint=function(){var se=this._value.shift();return typeof se=="undefined"?-1:se},ce.prototype.reconsumeCodePoint=function(se){this._value.unshift(se)},ce.prototype.peekCodePoint=function(se){return se>=this._value.length?-1:this._value[se]},ce.prototype.consumeUnicodeRangeToken=function(){for(var se=[],pe=this.consumeCodePoint();fs(pe)&&se.length<6;)se.push(pe),pe=this.consumeCodePoint();for(var me=!1;pe===_a&&se.length<6;)se.push(pe),pe=this.consumeCodePoint(),me=!0;if(me){var Me=parseInt(Ne.apply(void 0,se.map(function(jt){return jt===_a?vc:jt})),16),at=parseInt(Ne.apply(void 0,se.map(function(jt){return jt===_a?Cu:jt})),16);return{type:30,start:Me,end:at}}var St=parseInt(Ne.apply(void 0,se),16);if(this.peekCodePoint(0)===js&&fs(this.peekCodePoint(1))){this.consumeCodePoint(),pe=this.consumeCodePoint();for(var Mt=[];fs(pe)&&Mt.length<6;)Mt.push(pe),pe=this.consumeCodePoint();var at=parseInt(Ne.apply(void 0,Mt),16);return{type:30,start:St,end:at}}else return{type:30,start:St,end:St}},ce.prototype.consumeIdentLikeToken=function(){var se=this.consumeName();return se.toLowerCase()==="url"&&this.peekCodePoint(0)===Hi?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Hi?(this.consumeCodePoint(),{type:19,value:se}):{type:20,value:se}},ce.prototype.consumeUrlToken=function(){var se=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===pA)return{type:22,value:""};var pe=this.peekCodePoint(0);if(pe===Wi||pe===Lo){var me=this.consumeStringToken(this.consumeCodePoint());return me.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===pA||this.peekCodePoint(0)===PA)?(this.consumeCodePoint(),{type:22,value:me.value}):(this.consumeBadUrlRemnants(),jr)}for(;;){var Me=this.consumeCodePoint();if(Me===pA||Me===PA)return{type:22,value:Ne.apply(void 0,se)};if(Zt(Me))return this.consumeWhiteSpace(),this.peekCodePoint(0)===pA||this.peekCodePoint(0)===PA?(this.consumeCodePoint(),{type:22,value:Ne.apply(void 0,se)}):(this.consumeBadUrlRemnants(),jr);if(Me===Lo||Me===Wi||Me===Hi||ur(Me))return this.consumeBadUrlRemnants(),jr;if(Me===Ci)if(sa(Me,this.peekCodePoint(0)))se.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),jr;else se.push(Me)}},ce.prototype.consumeWhiteSpace=function(){for(;Zt(this.peekCodePoint(0));)this.consumeCodePoint()},ce.prototype.consumeBadUrlRemnants=function(){for(;;){var se=this.consumeCodePoint();if(se===PA||se===pA)return;sa(se,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},ce.prototype.consumeStringSlice=function(se){for(var pe=5e4,me="";se>0;){var Me=Math.min(pe,se);me+=Ne.apply(void 0,this._value.splice(0,Me)),se-=Me}return this._value.shift(),me},ce.prototype.consumeStringToken=function(se){var pe="",me=0;do{var Me=this._value[me];if(Me===pA||Me===void 0||Me===se)return pe+=this.consumeStringSlice(me),{type:0,value:pe};if(Me===Ir)return this._value.splice(0,me),ra;if(Me===Ci){var at=this._value[me+1];at!==pA&&at!==void 0&&(at===Ir?(pe+=this.consumeStringSlice(me),me=-1,this._value.shift()):sa(Me,at)&&(pe+=this.consumeStringSlice(me),pe+=Ne(this.consumeEscapedCodePoint()),me=-1))}me++}while(!0)},ce.prototype.consumeNumber=function(){var se=[],pe=jo,me=this.peekCodePoint(0);for((me===Qa||me===js)&&se.push(this.consumeCodePoint());Js(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0);var Me=this.peekCodePoint(1);if(me===Dl&&Js(Me))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=pi;Js(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0),Me=this.peekCodePoint(1);var at=this.peekCodePoint(2);if((me===uu||me===dn)&&((Me===Qa||Me===js)&&Js(at)||Js(Me)))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=pi;Js(this.peekCodePoint(0));)se.push(this.consumeCodePoint());return[_r(se),pe]},ce.prototype.consumeNumericToken=function(){var se=this.consumeNumber(),pe=se[0],me=se[1],Me=this.peekCodePoint(0),at=this.peekCodePoint(1),St=this.peekCodePoint(2);if(wa(Me,at,St)){var Mt=this.consumeName();return{type:15,number:pe,flags:me,unit:Mt}}return Me===wA?(this.consumeCodePoint(),{type:16,number:pe,flags:me}):{type:17,number:pe,flags:me}},ce.prototype.consumeEscapedCodePoint=function(){var se=this.consumeCodePoint();if(fs(se)){for(var pe=Ne(se);fs(this.peekCodePoint(0))&&pe.length<6;)pe+=Ne(this.consumeCodePoint());Zt(this.peekCodePoint(0))&&this.consumeCodePoint();var me=parseInt(pe,16);return me===0||Bc(me)||me>1114111?xA:me}return se===pA?xA:se},ce.prototype.consumeName=function(){for(var se="";;){var pe=this.consumeCodePoint();if(Nn(pe))se+=Ne(pe);else if(sa(pe,this.peekCodePoint(0)))se+=Ne(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(pe),se}},ce}(),rn=function(){function ce(se){this._tokens=se}return ce.create=function(se){var pe=new hn;return pe.write(se),new ce(pe.read())},ce.parseValue=function(se){return ce.create(se).parseComponentValue()},ce.parseValues=function(se){return ce.create(se).parseComponentValues()},ce.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")},ce.prototype.parseComponentValues=function(){for(var se=[];;){var pe=this.consumeComponentValue();if(pe.type===32)return se;se.push(pe),se.push()}},ce.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},ce.prototype.consumeSimpleBlock=function(se){for(var pe={type:se,values:[]},me=this.consumeToken();;){if(me.type===32||Vl(me,se))return pe;this.reconsumeToken(me),pe.values.push(this.consumeComponentValue()),me=this.consumeToken()}},ce.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())}},ce.prototype.consumeToken=function(){var se=this._tokens.shift();return typeof se=="undefined"?Mo:se},ce.prototype.reconsumeToken=function(se){this._tokens.unshift(se)},ce}(),Ia=function(ce){return ce.type===15},ma=function(ce){return ce.type===17},Yr=function(ce){return ce.type===20},Uo=function(ce){return ce.type===0},zi=function(ce,se){return Yr(ce)&&ce.value===se},Xi=function(ce){return ce.type!==31},us=function(ce){return ce.type!==31&&ce.type!==4},uA=function(ce){var se=[],pe=[];return ce.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},Vl=function(ce,se){return se===11&&ce.type===12||se===28&&ce.type===29?!0:se===2&&ce.type===3},vA=function(ce){return ce.type===17||ce.type===15},Cs=function(ce){return ce.type===16||vA(ce)},Xa=function(ce){return ce.length>1?[ce[0],ce[1]]:[ce[0]]},ho={type:17,number:0,flags:jo},Ji={type:16,number:50,flags:jo},is={type:16,number:100,flags:jo},ms=function(ce,se,pe){var me=ce[0],Me=ce[1];return[xo(me,se),xo(typeof Me!="undefined"?Me:me,pe)]},xo=function(ce,se){if(ce.type===16)return ce.number/100*se;if(Ia(ce))switch(ce.unit){case"rem":case"em":return 16*ce.number;case"px":default:return ce.number}return ce.number},kA="deg",GA="grad",tl="rad",Ki="turn",FA={name:"angle",parse:function(ce,se){if(se.type===15)switch(se.unit){case kA:return Math.PI*se.number/180;case GA:return Math.PI/200*se.number;case tl:return se.number;case Ki:return Math.PI*2*se.number}throw new Error("Unsupported angle type")}},Xl=function(ce){return ce.type===15&&(ce.unit===kA||ce.unit===GA||ce.unit===tl||ce.unit===Ki)},zc=function(ce){var se=ce.filter(Yr).map(function(pe){return pe.value}).join(" ");switch(se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ho,ho];case"to top":case"bottom":return _s(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ho,is];case"to right":case"left":return _s(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[is,is];case"to bottom":case"top":return _s(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[is,ho];case"to left":case"right":return _s(270)}return 0},_s=function(ce){return Math.PI*ce/180},yl={name:"color",parse:function(ce,se){if(se.type===18){var pe=cA[se.name];if(typeof pe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+se.name+'"');return pe(ce,se.values)}if(se.type===5){if(se.value.length===3){var me=se.value.substring(0,1),Me=se.value.substring(1,2),at=se.value.substring(2,3);return Ys(parseInt(me+me,16),parseInt(Me+Me,16),parseInt(at+at,16),1)}if(se.value.length===4){var me=se.value.substring(0,1),Me=se.value.substring(1,2),at=se.value.substring(2,3),St=se.value.substring(3,4);return Ys(parseInt(me+me,16),parseInt(Me+Me,16),parseInt(at+at,16),parseInt(St+St,16)/255)}if(se.value.length===6){var me=se.value.substring(0,2),Me=se.value.substring(2,4),at=se.value.substring(4,6);return Ys(parseInt(me,16),parseInt(Me,16),parseInt(at,16),1)}if(se.value.length===8){var me=se.value.substring(0,2),Me=se.value.substring(2,4),at=se.value.substring(4,6),St=se.value.substring(6,8);return Ys(parseInt(me,16),parseInt(Me,16),parseInt(at,16),parseInt(St,16)/255)}}if(se.type===20){var Mt=xs[se.value.toUpperCase()];if(typeof Mt!="undefined")return Mt}return xs.TRANSPARENT}},Ps=function(ce){return(255&ce)===0},Yi=function(ce){var se=255&ce,pe=255&ce>>8,me=255&ce>>16,Me=255&ce>>24;return se<255?"rgba("+Me+","+me+","+pe+","+se/255+")":"rgb("+Me+","+me+","+pe+")"},Ys=function(ce,se,pe,me){return(ce<<24|se<<16|pe<<8|Math.round(me*255)<<0)>>>0},ec=function(ce,se){if(ce.type===17)return ce.number;if(ce.type===16){var pe=se===3?1:255;return se===3?ce.number/100*pe:Math.round(ce.number/100*pe)}return 0},Kc=function(ce,se){var pe=se.filter(us);if(pe.length===3){var me=pe.map(ec),Me=me[0],at=me[1],St=me[2];return Ys(Me,at,St,1)}if(pe.length===4){var Mt=pe.map(ec),Me=Mt[0],at=Mt[1],St=Mt[2],jt=Mt[3];return Ys(Me,at,St,jt)}return 0};function qs(ce,se,pe){return pe<0&&(pe+=1),pe>=1&&(pe-=1),pe<1/6?(se-ce)*pe*6+ce:pe<1/2?se:pe<2/3?(se-ce)*6*(2/3-pe)+ce:ce}var Jl=function(ce,se){var pe=se.filter(us),me=pe[0],Me=pe[1],at=pe[2],St=pe[3],Mt=(me.type===17?_s(me.number):FA.parse(ce,me))/(Math.PI*2),jt=Cs(Me)?Me.number/100:0,On=Cs(at)?at.number/100:0,jn=typeof St!="undefined"&&Cs(St)?xo(St,1):1;if(jt===0)return Ys(On*255,On*255,On*255,1);var Zn=On<=.5?On*(jt+1):On+jt-On*jt,yr=On*2-Zn,Za=qs(yr,Zn,Mt+1/3),ea=qs(yr,Zn,Mt),ba=qs(yr,Zn,Mt-1/3);return Ys(Za*255,ea*255,ba*255,jn)},cA={hsl:Jl,hsla:Jl,rgb:Kc,rgba:Kc},Yl=function(ce,se){return yl.parse(ce,rn.create(se).parseComponentValue())},xs={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},Tu={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ce,se){return se.map(function(pe){if(Yr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ql={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Pu=function(ce,se){var pe=yl.parse(ce,se[0]),me=se[1];return me&&Cs(me)?{color:pe,stop:me}:{color:pe,stop:null}},Gc=function(ce,se){var pe=ce[0],me=ce[ce.length-1];pe.stop===null&&(pe.stop=ho),me.stop===null&&(me.stop=is);for(var Me=[],at=0,St=0;Stat?Me.push(jt):Me.push(at),at=jt}else Me.push(null)}for(var On=null,St=0;StSt.optimumDistance)?{optimumCorner:Mt,optimumDistance:jn}:St},{optimumDistance:Me?1/0:-1/0,optimumCorner:null}).optimumCorner},Mr=function(ce,se,pe,me,Me){var at=0,St=0;switch(ce.size){case 0:ce.shape===0?at=St=Math.min(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-Me)):ce.shape===1&&(at=Math.min(Math.abs(se),Math.abs(se-me)),St=Math.min(Math.abs(pe),Math.abs(pe-Me)));break;case 2:if(ce.shape===0)at=St=Math.min(nl(se,pe),nl(se,pe-Me),nl(se-me,pe),nl(se-me,pe-Me));else if(ce.shape===1){var Mt=Math.min(Math.abs(pe),Math.abs(pe-Me))/Math.min(Math.abs(se),Math.abs(se-me)),jt=tc(me,Me,se,pe,!0),On=jt[0],jn=jt[1];at=nl(On-se,(jn-pe)/Mt),St=Mt*at}break;case 1:ce.shape===0?at=St=Math.max(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-Me)):ce.shape===1&&(at=Math.max(Math.abs(se),Math.abs(se-me)),St=Math.max(Math.abs(pe),Math.abs(pe-Me)));break;case 3:if(ce.shape===0)at=St=Math.max(nl(se,pe),nl(se,pe-Me),nl(se-me,pe),nl(se-me,pe-Me));else if(ce.shape===1){var Mt=Math.max(Math.abs(pe),Math.abs(pe-Me))/Math.max(Math.abs(se),Math.abs(se-me)),Zn=tc(me,Me,se,pe,!1),On=Zn[0],jn=Zn[1];at=nl(On-se,(jn-pe)/Mt),St=Mt*at}break}return Array.isArray(ce.size)&&(at=xo(ce.size[0],me),St=ce.size.length===2?xo(ce.size[1],Me):at),[at,St]},co=function(ce,se){var pe=_s(180),me=[];return uA(se).forEach(function(Me,at){if(at===0){var St=Me[0];if(St.type===20&&St.value==="to"){pe=zc(Me);return}else if(Xl(St)){pe=FA.parse(ce,St);return}}var Mt=Pu(ce,Me);me.push(Mt)}),{angle:pe,stops:me,type:1}},mr=function(ce,se){var pe=_s(180),me=[];return uA(se).forEach(function(Me,at){if(at===0){var St=Me[0];if(St.type===20&&["top","left","right","bottom"].indexOf(St.value)!==-1){pe=zc(Me);return}else if(Xl(St)){pe=(FA.parse(ce,St)+_s(270))%_s(360);return}}var Mt=Pu(ce,Me);me.push(Mt)}),{angle:pe,stops:me,type:1}},mo=function(ce,se){var pe=_s(180),me=[],Me=1,at=0,St=3,Mt=[];return uA(se).forEach(function(jt,On){var jn=jt[0];if(On===0){if(Yr(jn)&&jn.value==="linear"){Me=1;return}else if(Yr(jn)&&jn.value==="radial"){Me=2;return}}if(jn.type===18){if(jn.name==="from"){var Zn=yl.parse(ce,jn.values[0]);me.push({stop:ho,color:Zn})}else if(jn.name==="to"){var Zn=yl.parse(ce,jn.values[0]);me.push({stop:is,color:Zn})}else if(jn.name==="color-stop"){var yr=jn.values.filter(us);if(yr.length===2){var Zn=yl.parse(ce,yr[1]),Za=yr[0];ma(Za)&&me.push({stop:{type:16,number:Za.number*100,flags:Za.flags},color:Zn})}}}}),Me===1?{angle:(pe+_s(180))%_s(360),stops:me,type:Me}:{size:St,shape:at,stops:me,position:Mt,type:Me}},ti="closest-side",BA="farthest-side",bA="closest-corner",Qs="farthest-corner",$l="circle",cu="ellipse",du="cover",_i="contain",qo=function(ce,se){var pe=0,me=3,Me=[],at=[];return uA(se).forEach(function(St,Mt){var jt=!0;if(Mt===0){var On=!1;jt=St.reduce(function(Zn,yr){if(On)if(Yr(yr))switch(yr.value){case"center":return at.push(Ji),Zn;case"top":case"left":return at.push(ho),Zn;case"right":case"bottom":return at.push(is),Zn}else(Cs(yr)||vA(yr))&&at.push(yr);else if(Yr(yr))switch(yr.value){case $l:return pe=0,!1;case cu:return pe=1,!1;case"at":return On=!0,!1;case ti:return me=0,!1;case du:case BA:return me=1,!1;case _i:case bA:return me=2,!1;case Qs:return me=3,!1}else if(vA(yr)||Cs(yr))return Array.isArray(me)||(me=[]),me.push(yr),!1;return Zn},jt)}if(jt){var jn=Pu(ce,St);Me.push(jn)}}),{size:me,shape:pe,stops:Me,position:at,type:2}},zo=function(ce,se){var pe=0,me=3,Me=[],at=[];return uA(se).forEach(function(St,Mt){var jt=!0;if(Mt===0?jt=St.reduce(function(jn,Zn){if(Yr(Zn))switch(Zn.value){case"center":return at.push(Ji),!1;case"top":case"left":return at.push(ho),!1;case"right":case"bottom":return at.push(is),!1}else if(Cs(Zn)||vA(Zn))return at.push(Zn),!1;return jn},jt):Mt===1&&(jt=St.reduce(function(jn,Zn){if(Yr(Zn))switch(Zn.value){case $l:return pe=0,!1;case cu:return pe=1,!1;case _i:case ti:return me=0,!1;case BA:return me=1,!1;case bA:return me=2,!1;case du:case Qs:return me=3,!1}else if(vA(Zn)||Cs(Zn))return Array.isArray(me)||(me=[]),me.push(Zn),!1;return jn},jt)),jt){var On=Pu(ce,St);Me.push(On)}}),{size:me,shape:pe,stops:Me,position:at,type:2}},Fs=function(ce){return ce.type===1},dA=function(ce){return ce.type===2},zs={name:"image",parse:function(ce,se){if(se.type===22){var pe={url:se.value,type:0};return ce.cache.addImage(se.value),pe}if(se.type===18){var me=bl[se.name];if(typeof me=="undefined")throw new Error('Attempting to parse an unsupported image function "'+se.name+'"');return me(ce,se.values)}throw new Error("Unsupported image type "+se.type)}};function $s(ce){return!(ce.type===20&&ce.value==="none")&&(ce.type!==18||!!bl[ce.name])}var bl={"linear-gradient":co,"-moz-linear-gradient":mr,"-ms-linear-gradient":mr,"-o-linear-gradient":mr,"-webkit-linear-gradient":mr,"radial-gradient":qo,"-moz-radial-gradient":zo,"-ms-radial-gradient":zo,"-o-radial-gradient":zo,"-webkit-radial-gradient":zo,"-webkit-gradient":mo},Ql={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(ce,se){if(se.length===0)return[];var pe=se[0];return pe.type===20&&pe.value==="none"?[]:se.filter(function(me){return us(me)&&$s(me)}).map(function(me){return zs.parse(ce,me)})}},Ks={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ce,se){return se.map(function(pe){if(Yr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},LA={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ce,se){return uA(se).map(function(pe){return pe.filter(Cs)}).map(Xa)}},eA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ce,se){return uA(se).map(function(pe){return pe.filter(Yr).map(function(me){return me.value}).join(" ")}).map(IA)}},IA=function(ce){switch(ce){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}},ks;(function(ce){ce.AUTO="auto",ce.CONTAIN="contain",ce.COVER="cover"})(ks||(ks={}));var Fu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ce,se){return uA(se).map(function(pe){return pe.filter(El)})}},El=function(ce){return Yr(ce)||Cs(ce)},Lu=function(ce){return{name:"border-"+ce+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},fd=Lu("top"),Zc=Lu("right"),Sf=Lu("bottom"),wc=Lu("left"),jd=function(ce){return{name:"border-radius-"+ce,initialValue:"0 0",prefix:!1,type:1,parse:function(se,pe){return Xa(pe.filter(Cs))}}},Bm=jd("top-left"),nc=jd("top-right"),eu=jd("bottom-right"),kl=jd("bottom-left"),Vi=function(ce){return{name:"border-"+ce+"-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}}},Wc=Vi("top"),wf=Vi("right"),yf=Vi("bottom"),Vc=Vi("left"),hd=function(ce){return{name:"border-"+ce+"-width",initialValue:"0",type:0,prefix:!1,parse:function(se,pe){return Ia(pe)?pe.number:0}}},yg=hd("top"),Xc=hd("right"),n0=hd("bottom"),r0=hd("left"),TA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},md={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(ce,se){switch(se){case"rtl":return 1;case"ltr":default:return 0}}},a0={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(ce,se){return se.filter(Yr).reduce(function(pe,me){return pe|Ye(me.value)},0)}},Ye=function(ce){switch(ce){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},et={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(ce,se){switch(se){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Et={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(ce,se){return se.type===20&&se.value==="normal"?0:se.type===17||se.type===15?se.number:0}},Qt;(function(ce){ce.NORMAL="normal",ce.STRICT="strict"})(Qt||(Qt={}));var qt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ce,se){switch(se){case"strict":return Qt.STRICT;case"normal":default:return Qt.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pn=function(ce,se){return Yr(ce)&&ce.value==="normal"?1.2*se:ce.type===17?se*ce.number:Cs(ce)?xo(ce,se):se},Fn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(ce,se){return se.type===20&&se.value==="none"?null:zs.parse(ce,se)}},Sn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(ce,se){switch(se){case"inside":return 0;case"outside":default:return 1}}},zn={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(ce,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}}},$n=function(ce){return{name:"margin-"+ce,initialValue:"0",prefix:!1,type:4}},Gn=$n("top"),br=$n("right"),pr=$n("bottom"),Sr=$n("left"),$r={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ce,se){return se.filter(Yr).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}})}},zr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(ce,se){switch(se){case"break-word":return"break-word";case"normal":default:return"normal"}}},qr=function(ce){return{name:"padding-"+ce,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Gr=qr("top"),ca=qr("right"),Ka=qr("bottom"),Ya=qr("left"),Ca={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(ce,se){switch(se){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},lo={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(ce,se){switch(se){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Fo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ce,se){return se.length===1&&zi(se[0],"none")?[]:uA(se).map(function(pe){for(var me={color:xs.TRANSPARENT,offsetX:ho,offsetY:ho,blur:ho},Me=0,at=0;at1?1:0],this.overflowWrap=aa(se,zr,pe.overflowWrap),this.paddingTop=aa(se,Gr,pe.paddingTop),this.paddingRight=aa(se,ca,pe.paddingRight),this.paddingBottom=aa(se,Ka,pe.paddingBottom),this.paddingLeft=aa(se,Ya,pe.paddingLeft),this.paintOrder=aa(se,Ai,pe.paintOrder),this.position=aa(se,lo,pe.position),this.textAlign=aa(se,Ca,pe.textAlign),this.textDecorationColor=aa(se,Ls,(me=pe.textDecorationColor)!==null&&me!==void 0?me:pe.color),this.textDecorationLine=aa(se,Io,(Me=pe.textDecorationLine)!==null&&Me!==void 0?Me:pe.textDecoration),this.textShadow=aa(se,Fo,pe.textShadow),this.textTransform=aa(se,pa,pe.textTransform),this.transform=aa(se,Pa,pe.transform),this.transformOrigin=aa(se,bo,pe.transformOrigin),this.visibility=aa(se,$a,pe.visibility),this.webkitTextStrokeColor=aa(se,ZA,pe.webkitTextStrokeColor),this.webkitTextStrokeWidth=aa(se,Gs,pe.webkitTextStrokeWidth),this.wordBreak=aa(se,ni,pe.wordBreak),this.zIndex=aa(se,qi,pe.zIndex)}return ce.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ce.prototype.isTransparent=function(){return Ps(this.backgroundColor)},ce.prototype.isTransformed=function(){return this.transform!==null},ce.prototype.isPositioned=function(){return this.position!==0},ce.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},ce.prototype.isFloating=function(){return this.float!==0},ce.prototype.isInlineLevel=function(){return ya(this.display,4)||ya(this.display,33554432)||ya(this.display,268435456)||ya(this.display,536870912)||ya(this.display,67108864)||ya(this.display,134217728)},ce}(),Zs=function(){function ce(se,pe){this.content=aa(se,io,pe.content),this.quotes=aa(se,Ra,pe.quotes)}return ce}(),Cl=function(){function ce(se,pe){this.counterIncrement=aa(se,ao,pe.counterIncrement),this.counterReset=aa(se,Ha,pe.counterReset)}return ce}(),aa=function(ce,se,pe){var me=new hn,Me=pe!==null&&typeof pe!="undefined"?pe.toString():se.initialValue;me.write(Me);var at=new rn(me.read());switch(se.type){case 2:var St=at.parseComponentValue();return se.parse(ce,Yr(St)?St.value:se.initialValue);case 0:return se.parse(ce,at.parseComponentValue());case 1:return se.parse(ce,at.parseComponentValues());case 4:return at.parseComponentValue();case 3:switch(se.format){case"angle":return FA.parse(ce,at.parseComponentValue());case"color":return yl.parse(ce,at.parseComponentValue());case"image":return zs.parse(ce,at.parseComponentValue());case"length":var Mt=at.parseComponentValue();return vA(Mt)?Mt:ho;case"length-percentage":var jt=at.parseComponentValue();return Cs(jt)?jt:ho;case"time":return hi.parse(ce,at.parseComponentValue())}break}},rl="data-html2canvas-debug",yc=function(ce){var se=ce.getAttribute(rl);switch(se){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Ni=function(ce,se){var pe=yc(ce);return pe===1||se===pe},ri=function(){function ce(se,pe){if(this.context=se,this.textNodes=[],this.elements=[],this.flags=0,Ni(pe,3))debugger;this.styles=new tu(se,window.getComputedStyle(pe,null)),l0(pe)&&(this.styles.animationDuration.some(function(me){return me>0})&&(pe.style.animationDuration="0s"),this.styles.transform!==null&&(pe.style.transform="none")),this.bounds=He(this.context,pe),Ni(pe,4)&&(this.flags|=16)}return ce}(),Bs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAC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NgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACA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wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigW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AAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",gA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ss=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Xo=0;Xo>4,jn[Me++]=(St&15)<<4|Mt>>2,jn[Me++]=(Mt&3)<<6|jt&63;return On},HA=function(ce){for(var se=ce.length,pe=[],me=0;me>al,Is=1<>al,Ss=Hl+nA,gu=Ss,Iu=32,Ru=gu+Iu,fu=65536>>ol,pd=1<=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>al],pe=(pe<>al)],pe=(pe<>ol),pe=this.index[pe],pe+=se>>al&Md,pe=this.index[pe],pe=(pe<=55296&&Me<=56319&&pe>10)+55296,St%1024+56320)),(Me+1===pe||me.length>16384)&&(at+=String.fromCharCode.apply(String,me),me.length=0)}return at},xg=DA(Bs),Ri="\xD7",Wd="\xF7",Ef=function(ce){return xg.get(ce)},o0=function(ce,se,pe){var me=pe-2,Me=se[me],at=se[pe-1],St=se[pe];if(at===vd&&St===Bd)return Ri;if(at===vd||at===Bd||at===zd||St===vd||St===Bd||St===zd)return Wd;if(at===Jc&&[Jc,mu,Cg,Kd].indexOf(St)!==-1||(at===Cg||at===mu)&&(St===mu||St===bc)||(at===Kd||at===bc)&&St===bc||St===Pg||St===bg||St===Eg||at===hu)return Ri;if(at===Pg&&St===Gd){for(;Me===bg;)Me=se[--me];if(Me===Gd)return Ri}if(at===Ec&&St===Ec){for(var Mt=0;Me===Ec;)Mt++,Me=se[--me];if(Mt%2===0)return Ri}return Wd},Cf=function(ce){var se=Zd(ce),pe=se.length,me=0,Me=0,at=se.map(Ef);return{next:function(){if(me>=pe)return{done:!0,value:null};for(var St=Ri;meSt.x||jn.y>St.y;return St=jn,On===0?!0:Zn});return ce.body.removeChild(se),Mt},Pf=function(){return typeof new Image().crossOrigin!="undefined"},rc=function(){return typeof new XMLHttpRequest().responseType=="string"},Ig=function(ce){var se=new Image,pe=ce.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(Me){return!1}return!0},Xd=function(ce){return ce[0]===0&&ce[1]===255&&ce[2]===0&&ce[3]===255},xf=function(ce){var se=ce.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 Me=new Image,at=se.toDataURL();Me.src=at;var St=Sd(pe,pe,0,0,Me);return me.fillStyle="red",me.fillRect(0,0,pe,pe),Jd(St).then(function(Mt){me.drawImage(Mt,0,0);var jt=me.getImageData(0,0,pe,pe).data;me.fillStyle="red",me.fillRect(0,0,pe,pe);var On=ce.createElement("div");return On.style.backgroundImage="url("+at+")",On.style.height=pe+"px",Xd(jt)?Jd(Sd(pe,pe,0,0,On)):Promise.reject(!1)}).then(function(Mt){return me.drawImage(Mt,0,0),Xd(me.getImageData(0,0,pe,pe).data)}).catch(function(){return!1})},Sd=function(ce,se,pe,me,Me){var at="http://www.w3.org/2000/svg",St=document.createElementNS(at,"svg"),Mt=document.createElementNS(at,"foreignObject");return St.setAttributeNS(null,"width",ce.toString()),St.setAttributeNS(null,"height",se.toString()),Mt.setAttributeNS(null,"width","100%"),Mt.setAttributeNS(null,"height","100%"),Mt.setAttributeNS(null,"x",pe.toString()),Mt.setAttributeNS(null,"y",me.toString()),Mt.setAttributeNS(null,"externalResourcesRequired","true"),St.appendChild(Mt),Mt.appendChild(Me),St},Jd=function(ce){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(ce))})},OA={get SUPPORT_RANGE_BOUNDS(){var ce=Lg(document);return Object.defineProperty(OA,"SUPPORT_RANGE_BOUNDS",{value:ce}),ce},get SUPPORT_WORD_BREAKING(){var ce=OA.SUPPORT_RANGE_BOUNDS&&Vd(document);return Object.defineProperty(OA,"SUPPORT_WORD_BREAKING",{value:ce}),ce},get SUPPORT_SVG_DRAWING(){var ce=Ig(document);return Object.defineProperty(OA,"SUPPORT_SVG_DRAWING",{value:ce}),ce},get SUPPORT_FOREIGNOBJECT_DRAWING(){var ce=typeof Array.from=="function"&&typeof window.fetch=="function"?xf(document):Promise.resolve(!1);return Object.defineProperty(OA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ce}),ce},get SUPPORT_CORS_IMAGES(){var ce=Pf();return Object.defineProperty(OA,"SUPPORT_CORS_IMAGES",{value:ce}),ce},get SUPPORT_RESPONSE_TYPE(){var ce=rc();return Object.defineProperty(OA,"SUPPORT_RESPONSE_TYPE",{value:ce}),ce},get SUPPORT_CORS_XHR(){var ce="withCredentials"in new XMLHttpRequest;return Object.defineProperty(OA,"SUPPORT_CORS_XHR",{value:ce}),ce},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ce=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(OA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ce}),ce}},ju=function(){function ce(se,pe){this.text=se,this.bounds=pe}return ce}(),Yd=function(ce,se,pe,me){var Me=ac(se,pe),at=[],St=0;return Me.forEach(function(Mt){if(pe.textDecorationLine.length||Mt.trim().length>0)if(OA.SUPPORT_RANGE_BOUNDS){var jt=Qi(me,St,Mt.length).getClientRects();if(jt.length>1){var On=As(Mt),jn=0;On.forEach(function(yr){at.push(new ju(yr,Ke.fromDOMRectList(ce,Qi(me,jn+St,yr.length).getClientRects()))),jn+=yr.length})}else at.push(new ju(Mt,Ke.fromDOMRectList(ce,jt)))}else{var Zn=me.splitText(Mt.length);at.push(new ju(Mt,i0(ce,me))),me=Zn}else OA.SUPPORT_RANGE_BOUNDS||(me=me.splitText(Mt.length));St+=Mt.length}),at},i0=function(ce,se){var pe=se.ownerDocument;if(pe){var me=pe.createElement("html2canvaswrapper");me.appendChild(se.cloneNode(!0));var Me=se.parentNode;if(Me){Me.replaceChild(me,se);var at=He(ce,me);return me.firstChild&&Me.replaceChild(me.firstChild,me),at}}return Ke.EMPTY},Qi=function(ce,se,pe){var me=ce.ownerDocument;if(!me)throw new Error("Node has no owner document");var Me=me.createRange();return Me.setStart(ce,se),Me.setEnd(ce,se+pe),Me},As=function(ce){if(OA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var se=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(se.segment(ce)).map(function(pe){return pe.segment})}return Fg(ce)},nu=function(ce,se){if(OA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var pe=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(pe.segment(ce)).map(function(me){return me.segment})}return Ff(ce,se)},ac=function(ce,se){return se.letterSpacing!==0?As(ce):nu(ce,se)},oc=[32,160,4961,65792,65793,4153,4241],Ff=function(ce,se){for(var pe=Fa(ce,{lineBreak:se.lineBreak,wordBreak:se.overflowWrap==="break-word"?"break-word":se.wordBreak}),me=[],Me,at=function(){if(Me.value){var St=Me.value.slice(),Mt=Se(St),jt="";Mt.forEach(function(On){oc.indexOf(On)===-1?jt+=Ne(On):(jt.length&&me.push(jt),me.push(Ne(On)),jt="")}),jt.length&&me.push(jt)}};!(Me=pe.next()).done;)at();return me},Ng=function(){function ce(se,pe,me){this.text=Dg(pe.data,me.textTransform),this.textBounds=Yd(se,this.text,me,pe)}return ce}(),Dg=function(ce,se){switch(se){case 1:return ce.toLowerCase();case 3:return ce.replace(Ug,Og);case 2:return ce.toUpperCase();default:return ce}},Ug=/(^|\s|:|-|\(|\))([a-z])/g,Og=function(ce,se,pe){return ce.length>0?se+pe.toUpperCase():ce},th=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this;return Me.src=me.currentSrc||me.src,Me.intrinsicWidth=me.naturalWidth,Me.intrinsicHeight=me.naturalHeight,Me.context.cache.addImage(Me.src),Me}return se}(ri),nh=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this;return Me.canvas=me,Me.intrinsicWidth=me.width,Me.intrinsicHeight=me.height,Me}return se}(ri),rh=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this,at=new XMLSerializer,St=He(pe,me);return me.setAttribute("width",St.width+"px"),me.setAttribute("height",St.height+"px"),Me.svg="data:image/svg+xml,"+encodeURIComponent(at.serializeToString(me)),Me.intrinsicWidth=me.width.baseVal.value,Me.intrinsicHeight=me.height.baseVal.value,Me.context.cache.addImage(Me.svg),Me}return se}(ri),ah=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this;return Me.value=me.value,Me}return se}(ri),s0=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this;return Me.start=me.start,Me.reversed=typeof me.reversed=="boolean"&&me.reversed===!0,Me}return se}(ri),Cc=[{type:15,flags:0,unit:"px",number:3}],Sm=[{type:16,flags:0,number:50}],wm=function(ce){return ce.width>ce.height?new Ke(ce.left+(ce.width-ce.height)/2,ce.top,ce.height,ce.height):ce.width0)pe.textNodes.push(new Ng(ce,Me,pe.styles));else if($d(Me))if(mh(Me)&&Me.assignedNodes)Me.assignedNodes().forEach(function(Mt){return qd(ce,Mt,pe,me)});else{var St=Ah(ce,Me);St.styles.isVisible()&&(ym(Me,St,me)?St.flags|=4:bm(St.styles)&&(St.flags|=2),kg.indexOf(Me.tagName)!==-1&&(St.flags|=8),pe.elements.push(St),Me.slot,Me.shadowRoot?qd(ce,Me.shadowRoot,St,me):!Tg(Me)&&!ch(Me)&&!Uf(Me)&&qd(ce,Me,St,me))}},Ah=function(ce,se){return c0(se)?new th(ce,se):dh(se)?new nh(ce,se):ch(se)?new rh(ce,se):Em(se)?new ah(ce,se):Cm(se)?new s0(ce,se):Pm(se)?new Qg(ce,se):Uf(se)?new ih(ce,se):Tg(se)?new A0(ce,se):fh(se)?new sh(ce,se):new ri(ce,se)},lh=function(ce,se){var pe=Ah(ce,se);return pe.flags|=4,qd(ce,se,pe,pe),pe},ym=function(ce,se,pe){return se.styles.isPositionedWithZIndex()||se.styles.opacity<1||se.styles.isTransformed()||u0(ce)&&pe.styles.isTransparent()},bm=function(ce){return ce.isPositioned()||ce.isFloating()},uh=function(ce){return ce.nodeType===Node.TEXT_NODE},$d=function(ce){return ce.nodeType===Node.ELEMENT_NODE},l0=function(ce){return $d(ce)&&typeof ce.style!="undefined"&&!Df(ce)},Df=function(ce){return typeof ce.className=="object"},Em=function(ce){return ce.tagName==="LI"},Cm=function(ce){return ce.tagName==="OL"},Pm=function(ce){return ce.tagName==="INPUT"},xm=function(ce){return ce.tagName==="HTML"},ch=function(ce){return ce.tagName==="svg"},u0=function(ce){return ce.tagName==="BODY"},dh=function(ce){return ce.tagName==="CANVAS"},gh=function(ce){return ce.tagName==="VIDEO"},c0=function(ce){return ce.tagName==="IMG"},fh=function(ce){return ce.tagName==="IFRAME"},hh=function(ce){return ce.tagName==="STYLE"},d0=function(ce){return ce.tagName==="SCRIPT"},Tg=function(ce){return ce.tagName==="TEXTAREA"},Uf=function(ce){return ce.tagName==="SELECT"},mh=function(ce){return ce.tagName==="SLOT"},ph=function(ce){return ce.tagName.indexOf("-")>0},Cp=function(){function ce(){this.counters={}}return ce.prototype.getCounterValue=function(se){var pe=this.counters[se];return pe&&pe.length?pe[pe.length-1]:1},ce.prototype.getCounterValues=function(se){var pe=this.counters[se];return pe||[]},ce.prototype.pop=function(se){var pe=this;se.forEach(function(me){return pe.counters[me].pop()})},ce.prototype.parse=function(se){var pe=this,me=se.counterIncrement,Me=se.counterReset,at=!0;me!==null&&me.forEach(function(Mt){var jt=pe.counters[Mt.counter];jt&&Mt.increment!==0&&(at=!1,jt.length||jt.push(1),jt[Math.max(0,jt.length-1)]+=Mt.increment)});var St=[];return at&&Me.forEach(function(Mt){var jt=pe.counters[Mt.counter];St.push(Mt.counter),jt||(jt=pe.counters[Mt.counter]=[]),jt.push(Mt.reset)}),St},ce}(),g0={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"]},f0={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"]},vh={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"]},wd=function(ce,se,pe,me,Me,at){return cepe?Rg(ce,Me,at.length>0):me.integers.reduce(function(St,Mt,jt){for(;ce>=Mt;)ce-=Mt,St+=me.values[jt];return St},"")+at},Lm=function(ce,se,pe,me){var Me="";do pe||ce--,Me=me(ce)+Me,ce/=se;while(ce*se>=se);return Me},EA=function(ce,se,pe,me,Me){var at=pe-se+1;return(ce<0?"-":"")+(Lm(Math.abs(ce),at,me,function(St){return Ne(Math.floor(St%at)+se)})+Me)},Yc=function(ce,se,pe){pe===void 0&&(pe=". ");var me=se.length;return Lm(Math.abs(ce),me,!1,function(Me){return se[Math.floor(Me%me)]})+pe},yd=1,Pc=2,xc=4,Hg=8,Fc=function(ce,se,pe,me,Me,at){if(ce<-9999||ce>9999)return Rg(ce,4,Me.length>0);var St=Math.abs(ce),Mt=Me;if(St===0)return se[0]+Mt;for(var jt=0;St>0&&jt<=4;jt++){var On=St%10;On===0&&ya(at,yd)&&Mt!==""?Mt=se[On]+Mt:On>1||On===1&&jt===0||On===1&&jt===1&&ya(at,Pc)||On===1&&jt===1&&ya(at,xc)&&ce>100||On===1&&jt>1&&ya(at,Hg)?Mt=se[On]+(jt>0?pe[jt-1]:"")+Mt:On===1&&jt>0&&(Mt=pe[jt-1]+Mt),St=Math.floor(St/10)}return(ce<0?me:"")+Mt},Bh="\u5341\u767E\u5343\u842C",Im="\u62FE\u4F70\u4EDF\u842C",Sh="\u30DE\u30A4\u30CA\u30B9",h0="\uB9C8\uC774\uB108\uC2A4",Rg=function(ce,se,pe){var me=pe?". ":"",Me=pe?"\u3001":"",at=pe?", ":"",St=pe?" ":"";switch(se){case 0:return"\u2022"+St;case 1:return"\u25E6"+St;case 2:return"\u25FE"+St;case 5:var Mt=EA(ce,48,57,!0,me);return Mt.length<4?"0"+Mt:Mt;case 4:return Yc(ce,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Me);case 6:return wd(ce,1,3999,g0,3,me).toLowerCase();case 7:return wd(ce,1,3999,g0,3,me);case 8:return EA(ce,945,969,!1,me);case 9:return EA(ce,97,122,!1,me);case 10:return EA(ce,65,90,!1,me);case 11:return EA(ce,1632,1641,!0,me);case 12:case 49:return wd(ce,1,9999,f0,3,me);case 35:return wd(ce,1,9999,f0,3,me).toLowerCase();case 13:return EA(ce,2534,2543,!0,me);case 14:case 30:return EA(ce,6112,6121,!0,me);case 15:return Yc(ce,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Me);case 16:return Yc(ce,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Me);case 17:case 48:return Fc(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8CA0",Me,Pc|xc|Hg);case 47:return Fc(ce,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Im,"\u8CA0",Me,yd|Pc|xc|Hg);case 42:return Fc(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8D1F",Me,Pc|xc|Hg);case 41:return Fc(ce,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Im,"\u8D1F",Me,yd|Pc|xc|Hg);case 26:return Fc(ce,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",Sh,Me,0);case 25:return Fc(ce,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",Sh,Me,yd|Pc|xc);case 31:return Fc(ce,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",h0,at,yd|Pc|xc);case 33:return Fc(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",h0,at,0);case 32:return Fc(ce,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",h0,at,yd|Pc|xc);case 18:return EA(ce,2406,2415,!0,me);case 20:return wd(ce,1,19999,vh,3,me);case 21:return EA(ce,2790,2799,!0,me);case 22:return EA(ce,2662,2671,!0,me);case 22:return wd(ce,1,10999,Fm,3,me);case 23:return Yc(ce,"\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 Yc(ce,"\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 EA(ce,3302,3311,!0,me);case 28:return Yc(ce,"\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",Me);case 29:return Yc(ce,"\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",Me);case 34:return EA(ce,3792,3801,!0,me);case 37:return EA(ce,6160,6169,!0,me);case 38:return EA(ce,4160,4169,!0,me);case 39:return EA(ce,2918,2927,!0,me);case 40:return EA(ce,1776,1785,!0,me);case 43:return EA(ce,3046,3055,!0,me);case 44:return EA(ce,3174,3183,!0,me);case 45:return EA(ce,3664,3673,!0,me);case 46:return EA(ce,3872,3881,!0,me);case 3:default:return EA(ce,48,57,!0,me)}},wh="data-html2canvas-ignore",Nm=function(){function ce(se,pe,me){if(this.context=se,this.options=me,this.scrolledElements=[],this.referenceElement=pe,this.counters=new Cp,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 ce.prototype.toIFrame=function(se,pe){var me=this,Me=Dm(se,pe);if(!Me.contentWindow)return Promise.reject("Unable to find iframe window");var at=se.defaultView.pageXOffset,St=se.defaultView.pageYOffset,Mt=Me.contentWindow,jt=Mt.document,On=Mg(Me).then(function(){return Ee(me,void 0,void 0,function(){var jn,Zn;return je(this,function(yr){switch(yr.label){case 0:return this.scrolledElements.forEach(Eh),Mt&&(Mt.scrollTo(pe.left,pe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(Mt.scrollY!==pe.top||Mt.scrollX!==pe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(Mt.scrollX-pe.left,Mt.scrollY-pe.top,0,0))),jn=this.options.onclone,Zn=this.clonedReferenceElement,typeof Zn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:jt.fonts&&jt.fonts.ready?[4,jt.fonts.ready]:[3,2];case 1:yr.sent(),yr.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Um(jt)]:[3,4];case 3:yr.sent(),yr.label=4;case 4:return typeof jn=="function"?[2,Promise.resolve().then(function(){return jn(jt,Zn)}).then(function(){return Me})]:[2,Me]}})})});return jt.open(),jt.write(Om(document.doctype)+""),bh(this.referenceElement.ownerDocument,at,St),jt.replaceChild(jt.adoptNode(this.documentElement),jt.documentElement),jt.close(),On},ce.prototype.createElementClone=function(se){if(Ni(se,2))debugger;if(dh(se))return this.createCanvasClone(se);if(gh(se))return this.createVideoClone(se);if(hh(se))return this.createStyleClone(se);var pe=se.cloneNode(!1);return c0(pe)&&(c0(se)&&se.currentSrc&&se.currentSrc!==se.src&&(pe.src=se.currentSrc,pe.srcset=""),pe.loading==="lazy"&&(pe.loading="eager")),ph(pe)?this.createCustomElementClone(pe):pe},ce.prototype.createCustomElementClone=function(se){var pe=document.createElement("html2canvascustomelement");return Of(se.style,pe),pe},ce.prototype.createStyleClone=function(se){try{var pe=se.sheet;if(pe&&pe.cssRules){var me=[].slice.call(pe.cssRules,0).reduce(function(at,St){return St&&typeof St.cssText=="string"?at+St.cssText:at},""),Me=se.cloneNode(!1);return Me.textContent=me,Me}}catch(at){if(this.context.logger.error("Unable to access cssRules property",at),at.name!=="SecurityError")throw at}return se.cloneNode(!1)},ce.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 Me=se.cloneNode(!1);try{Me.width=se.width,Me.height=se.height;var at=se.getContext("2d"),St=Me.getContext("2d");if(St)if(!this.options.allowTaint&&at)St.putImageData(at.getImageData(0,0,se.width,se.height),0,0);else{var Mt=(pe=se.getContext("webgl2"))!==null&&pe!==void 0?pe:se.getContext("webgl");if(Mt){var jt=Mt.getContextAttributes();(jt==null?void 0:jt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",se)}St.drawImage(se,0,0)}return Me}catch(On){this.context.logger.info("Unable to clone canvas as it is tainted",se)}return Me},ce.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 Me=se.ownerDocument.createElement("canvas");return Me.width=se.offsetWidth,Me.height=se.offsetHeight,Me},ce.prototype.appendChildNode=function(se,pe,me){(!$d(pe)||!d0(pe)&&!pe.hasAttribute(wh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(pe)))&&(!this.options.copyStyles||!$d(pe)||!hh(pe))&&se.appendChild(this.cloneNode(pe,me))},ce.prototype.cloneChildNodes=function(se,pe,me){for(var Me=this,at=se.shadowRoot?se.shadowRoot.firstChild:se.firstChild;at;at=at.nextSibling)if($d(at)&&mh(at)&&typeof at.assignedNodes=="function"){var St=at.assignedNodes();St.length&&St.forEach(function(Mt){return Me.appendChildNode(pe,Mt,me)})}else this.appendChildNode(pe,at,me)},ce.prototype.cloneNode=function(se,pe){if(uh(se))return document.createTextNode(se.data);if(!se.ownerDocument)return se.cloneNode(!1);var me=se.ownerDocument.defaultView;if(me&&$d(se)&&(l0(se)||Df(se))){var Me=this.createElementClone(se);Me.style.transitionProperty="none";var at=me.getComputedStyle(se),St=me.getComputedStyle(se,":before"),Mt=me.getComputedStyle(se,":after");this.referenceElement===se&&l0(Me)&&(this.clonedReferenceElement=Me),u0(Me)&&xp(Me);var jt=this.counters.parse(new Cl(this.context,at)),On=this.resolvePseudoContent(se,Me,St,jg.BEFORE);ph(se)&&(pe=!0),gh(se)||this.cloneChildNodes(se,Me,pe),On&&Me.insertBefore(On,Me.firstChild);var jn=this.resolvePseudoContent(se,Me,Mt,jg.AFTER);return jn&&Me.appendChild(jn),this.counters.pop(jt),(at&&(this.options.copyStyles||Df(se))&&!fh(se)||pe)&&Of(at,Me),(se.scrollTop!==0||se.scrollLeft!==0)&&this.scrolledElements.push([Me,se.scrollLeft,se.scrollTop]),(Tg(se)||Uf(se))&&(Tg(Me)||Uf(Me))&&(Me.value=se.value),Me}return se.cloneNode(!1)},ce.prototype.resolvePseudoContent=function(se,pe,me,Me){var at=this;if(me){var St=me.content,Mt=pe.ownerDocument;if(!(!Mt||!St||St==="none"||St==="-moz-alt-content"||me.display==="none")){this.counters.parse(new Cl(this.context,me));var jt=new Zs(this.context,me),On=Mt.createElement("html2canvaspseudoelement");Of(me,On),jt.content.forEach(function(Zn){if(Zn.type===0)On.appendChild(Mt.createTextNode(Zn.value));else if(Zn.type===22){var yr=Mt.createElement("img");yr.src=Zn.value,yr.style.opacity="1",On.appendChild(yr)}else if(Zn.type===18){if(Zn.name==="attr"){var Za=Zn.values.filter(Yr);Za.length&&On.appendChild(Mt.createTextNode(se.getAttribute(Za[0].value)||""))}else if(Zn.name==="counter"){var ea=Zn.values.filter(us),ba=ea[0],ei=ea[1];if(ba&&Yr(ba)){var oo=at.counters.getCounterValue(ba.value),eo=ei&&Yr(ei)?zn.parse(at.context,ei.value):3;On.appendChild(Mt.createTextNode(Rg(oo,eo,!1)))}}else if(Zn.name==="counters"){var Ko=Zn.values.filter(us),ba=Ko[0],ci=Ko[1],ei=Ko[2];if(ba&&Yr(ba)){var Oo=at.counters.getCounterValues(ba.value),Ua=ei&&Yr(ei)?zn.parse(at.context,ei.value):3,ji=ci&&ci.type===0?ci.value:"",vi=Oo.map(function(au){return Rg(au,Ua,!1)}).join(ji);On.appendChild(Mt.createTextNode(vi))}}}else if(Zn.type===20)switch(Zn.value){case"open-quote":On.appendChild(Mt.createTextNode(wo(jt.quotes,at.quoteDepth++,!0)));break;case"close-quote":On.appendChild(Mt.createTextNode(wo(jt.quotes,--at.quoteDepth,!1)));break;default:On.appendChild(Mt.createTextNode(Zn.value))}}),On.className=m0+" "+_f;var jn=Me===jg.BEFORE?" "+m0:" "+_f;return Df(pe)?pe.className.baseValue+=jn:pe.className+=jn,On}}},ce.destroy=function(se){return se.parentNode?(se.parentNode.removeChild(se),!0):!1},ce}(),jg;(function(ce){ce[ce.BEFORE=0]="BEFORE",ce[ce.AFTER=1]="AFTER"})(jg||(jg={}));var Dm=function(ce,se){var pe=ce.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"),ce.body.appendChild(pe),pe},yh=function(ce){return new Promise(function(se){if(ce.complete){se();return}if(!ce.src){se();return}ce.onload=se,ce.onerror=se})},Um=function(ce){return Promise.all([].slice.call(ce.images,0).map(yh))},Mg=function(ce){return new Promise(function(se,pe){var me=ce.contentWindow;if(!me)return pe("No window assigned for iframe");var Me=me.document;me.onload=ce.onload=function(){me.onload=ce.onload=null;var at=setInterval(function(){Me.body.childNodes.length>0&&Me.readyState==="complete"&&(clearInterval(at),se(ce))},50)}})},Pp=["all","d","content"],Of=function(ce,se){for(var pe=ce.length-1;pe>=0;pe--){var me=ce.item(pe);Pp.indexOf(me)===-1&&se.style.setProperty(me,ce.getPropertyValue(me))}return se},Om=function(ce){var se="";return ce&&(se+=""),se},bh=function(ce,se,pe){ce&&ce.defaultView&&(se!==ce.defaultView.pageXOffset||pe!==ce.defaultView.pageYOffset)&&ce.defaultView.scrollTo(se,pe)},Eh=function(ce){var se=ce[0],pe=ce[1],me=ce[2];se.scrollLeft=pe,se.scrollTop=me},Ch=":before",Ph=":after",m0="___html2canvas___pseudoelement_before",_f="___html2canvas___pseudoelement_after",xh=`{ content: "" !important; display: none !important; }`,xp=function(ce){Fh(ce,"."+m0+Ch+xh+` .`+_f+Ph+xh)},Fh=function(ce,se){var pe=ce.ownerDocument;if(pe){var me=pe.createElement("style");me.textContent=se,ce.appendChild(me)}},Lh=function(){function ce(){}return ce.getOrigin=function(se){var pe=ce._link;return pe?(pe.href=se,pe.href=pe.href,pe.protocol+pe.hostname+pe.port):"about:blank"},ce.isSameOrigin=function(se){return ce.getOrigin(se)===ce._origin},ce.setContext=function(se){ce._link=se.document.createElement("a"),ce._origin=ce.getOrigin(se.location.href)},ce._origin="about:blank",ce}(),pu=function(){function ce(se,pe){this.context=se,this._options=pe,this._cache={}}return ce.prototype.addImage=function(se){var pe=Promise.resolve();return this.has(se)||(B0(se)||Qf(se))&&(this._cache[se]=this.loadImage(se)).catch(function(){}),pe},ce.prototype.match=function(se){return this._cache[se]},ce.prototype.loadImage=function(se){return Ee(this,void 0,void 0,function(){var pe,me,Me,at,St=this;return je(this,function(Mt){switch(Mt.label){case 0:return pe=Lh.isSameOrigin(se),me=!zg(se)&&this._options.useCORS===!0&&OA.SUPPORT_CORS_IMAGES&&!pe,Me=!zg(se)&&!pe&&!B0(se)&&typeof this._options.proxy=="string"&&OA.SUPPORT_CORS_XHR&&!me,!pe&&this._options.allowTaint===!1&&!zg(se)&&!B0(se)&&!Me&&!me?[2]:(at=se,Me?[4,this.proxy(at)]:[3,2]);case 1:at=Mt.sent(),Mt.label=2;case 2:return this.context.logger.debug("Added image "+se.substring(0,256)),[4,new Promise(function(jt,On){var jn=new Image;jn.onload=function(){return jt(jn)},jn.onerror=On,(_m(at)||me)&&(jn.crossOrigin="anonymous"),jn.src=at,jn.complete===!0&&setTimeout(function(){return jt(jn)},500),St._options.imageTimeout>0&&setTimeout(function(){return On("Timed out ("+St._options.imageTimeout+"ms) loading image")},St._options.imageTimeout)})];case 3:return[2,Mt.sent()]}})})},ce.prototype.has=function(se){return typeof this._cache[se]!="undefined"},ce.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},ce.prototype.proxy=function(se){var pe=this,me=this._options.proxy;if(!me)throw new Error("No proxy defined");var Me=se.substring(0,256);return new Promise(function(at,St){var Mt=OA.SUPPORT_RESPONSE_TYPE?"blob":"text",jt=new XMLHttpRequest;jt.onload=function(){if(jt.status===200)if(Mt==="text")at(jt.response);else{var Zn=new FileReader;Zn.addEventListener("load",function(){return at(Zn.result)},!1),Zn.addEventListener("error",function(yr){return St(yr)},!1),Zn.readAsDataURL(jt.response)}else St("Failed to proxy resource "+Me+" with status code "+jt.status)},jt.onerror=St;var On=me.indexOf("?")>-1?"&":"?";if(jt.open("GET",""+me+On+"url="+encodeURIComponent(se)+"&responseType="+Mt),Mt!=="text"&&jt instanceof XMLHttpRequest&&(jt.responseType=Mt),pe._options.imageTimeout){var jn=pe._options.imageTimeout;jt.timeout=jn,jt.ontimeout=function(){return St("Timed out ("+jn+"ms) proxying "+Me)}}jt.send()})},ce}(),p0=/^data:image\/svg\+xml/i,Ih=/^data:image\/.*;base64,/i,v0=/^data:image\/.*/i,Qf=function(ce){return OA.SUPPORT_SVG_DRAWING||!Qm(ce)},zg=function(ce){return v0.test(ce)},_m=function(ce){return Ih.test(ce)},B0=function(ce){return ce.substr(0,4)==="blob"},Qm=function(ce){return ce.substr(-3).toLowerCase()==="svg"||p0.test(ce)},Ga=function(){function ce(se,pe){this.type=0,this.x=se,this.y=pe}return ce.prototype.add=function(se,pe){return new ce(this.x+se,this.y+pe)},ce}(),bd=function(ce,se,pe){return new Ga(ce.x+(se.x-ce.x)*pe,ce.y+(se.y-ce.y)*pe)},kf=function(){function ce(se,pe,me,Me){this.type=1,this.start=se,this.startControl=pe,this.endControl=me,this.end=Me}return ce.prototype.subdivide=function(se,pe){var me=bd(this.start,this.startControl,se),Me=bd(this.startControl,this.endControl,se),at=bd(this.endControl,this.end,se),St=bd(me,Me,se),Mt=bd(Me,at,se),jt=bd(St,Mt,se);return pe?new ce(this.start,me,St,jt):new ce(jt,Mt,at,this.end)},ce.prototype.add=function(se,pe){return new ce(this.start.add(se,pe),this.startControl.add(se,pe),this.endControl.add(se,pe),this.end.add(se,pe))},ce.prototype.reverse=function(){return new ce(this.end,this.endControl,this.startControl,this.start)},ce}(),Nu=function(ce){return ce.type===1},km=function(){function ce(se){var pe=se.styles,me=se.bounds,Me=ms(pe.borderTopLeftRadius,me.width,me.height),at=Me[0],St=Me[1],Mt=ms(pe.borderTopRightRadius,me.width,me.height),jt=Mt[0],On=Mt[1],jn=ms(pe.borderBottomRightRadius,me.width,me.height),Zn=jn[0],yr=jn[1],Za=ms(pe.borderBottomLeftRadius,me.width,me.height),ea=Za[0],ba=Za[1],ei=[];ei.push((at+jt)/me.width),ei.push((ea+Zn)/me.width),ei.push((St+ba)/me.height),ei.push((On+yr)/me.height);var oo=Math.max.apply(Math,ei);oo>1&&(at/=oo,St/=oo,jt/=oo,On/=oo,Zn/=oo,yr/=oo,ea/=oo,ba/=oo);var eo=me.width-jt,Ko=me.height-yr,ci=me.width-Zn,Oo=me.height-ba,Ua=pe.borderTopWidth,ji=pe.borderRightWidth,vi=pe.borderBottomWidth,Go=pe.borderLeftWidth,Sa=xo(pe.paddingTop,se.bounds.width),au=xo(pe.paddingRight,se.bounds.width),Bu=xo(pe.paddingBottom,se.bounds.width),ws=xo(pe.paddingLeft,se.bounds.width);this.topLeftBorderDoubleOuterBox=at>0||St>0?rA(me.left+Go/3,me.top+Ua/3,at-Go/3,St-Ua/3,vs.TOP_LEFT):new Ga(me.left+Go/3,me.top+Ua/3),this.topRightBorderDoubleOuterBox=at>0||St>0?rA(me.left+eo,me.top+Ua/3,jt-ji/3,On-Ua/3,vs.TOP_RIGHT):new Ga(me.left+me.width-ji/3,me.top+Ua/3),this.bottomRightBorderDoubleOuterBox=Zn>0||yr>0?rA(me.left+ci,me.top+Ko,Zn-ji/3,yr-vi/3,vs.BOTTOM_RIGHT):new Ga(me.left+me.width-ji/3,me.top+me.height-vi/3),this.bottomLeftBorderDoubleOuterBox=ea>0||ba>0?rA(me.left+Go/3,me.top+Oo,ea-Go/3,ba-vi/3,vs.BOTTOM_LEFT):new Ga(me.left+Go/3,me.top+me.height-vi/3),this.topLeftBorderDoubleInnerBox=at>0||St>0?rA(me.left+Go*2/3,me.top+Ua*2/3,at-Go*2/3,St-Ua*2/3,vs.TOP_LEFT):new Ga(me.left+Go*2/3,me.top+Ua*2/3),this.topRightBorderDoubleInnerBox=at>0||St>0?rA(me.left+eo,me.top+Ua*2/3,jt-ji*2/3,On-Ua*2/3,vs.TOP_RIGHT):new Ga(me.left+me.width-ji*2/3,me.top+Ua*2/3),this.bottomRightBorderDoubleInnerBox=Zn>0||yr>0?rA(me.left+ci,me.top+Ko,Zn-ji*2/3,yr-vi*2/3,vs.BOTTOM_RIGHT):new Ga(me.left+me.width-ji*2/3,me.top+me.height-vi*2/3),this.bottomLeftBorderDoubleInnerBox=ea>0||ba>0?rA(me.left+Go*2/3,me.top+Oo,ea-Go*2/3,ba-vi*2/3,vs.BOTTOM_LEFT):new Ga(me.left+Go*2/3,me.top+me.height-vi*2/3),this.topLeftBorderStroke=at>0||St>0?rA(me.left+Go/2,me.top+Ua/2,at-Go/2,St-Ua/2,vs.TOP_LEFT):new Ga(me.left+Go/2,me.top+Ua/2),this.topRightBorderStroke=at>0||St>0?rA(me.left+eo,me.top+Ua/2,jt-ji/2,On-Ua/2,vs.TOP_RIGHT):new Ga(me.left+me.width-ji/2,me.top+Ua/2),this.bottomRightBorderStroke=Zn>0||yr>0?rA(me.left+ci,me.top+Ko,Zn-ji/2,yr-vi/2,vs.BOTTOM_RIGHT):new Ga(me.left+me.width-ji/2,me.top+me.height-vi/2),this.bottomLeftBorderStroke=ea>0||ba>0?rA(me.left+Go/2,me.top+Oo,ea-Go/2,ba-vi/2,vs.BOTTOM_LEFT):new Ga(me.left+Go/2,me.top+me.height-vi/2),this.topLeftBorderBox=at>0||St>0?rA(me.left,me.top,at,St,vs.TOP_LEFT):new Ga(me.left,me.top),this.topRightBorderBox=jt>0||On>0?rA(me.left+eo,me.top,jt,On,vs.TOP_RIGHT):new Ga(me.left+me.width,me.top),this.bottomRightBorderBox=Zn>0||yr>0?rA(me.left+ci,me.top+Ko,Zn,yr,vs.BOTTOM_RIGHT):new Ga(me.left+me.width,me.top+me.height),this.bottomLeftBorderBox=ea>0||ba>0?rA(me.left,me.top+Oo,ea,ba,vs.BOTTOM_LEFT):new Ga(me.left,me.top+me.height),this.topLeftPaddingBox=at>0||St>0?rA(me.left+Go,me.top+Ua,Math.max(0,at-Go),Math.max(0,St-Ua),vs.TOP_LEFT):new Ga(me.left+Go,me.top+Ua),this.topRightPaddingBox=jt>0||On>0?rA(me.left+Math.min(eo,me.width-ji),me.top+Ua,eo>me.width+ji?0:Math.max(0,jt-ji),Math.max(0,On-Ua),vs.TOP_RIGHT):new Ga(me.left+me.width-ji,me.top+Ua),this.bottomRightPaddingBox=Zn>0||yr>0?rA(me.left+Math.min(ci,me.width-Go),me.top+Math.min(Ko,me.height-vi),Math.max(0,Zn-ji),Math.max(0,yr-vi),vs.BOTTOM_RIGHT):new Ga(me.left+me.width-ji,me.top+me.height-vi),this.bottomLeftPaddingBox=ea>0||ba>0?rA(me.left+Go,me.top+Math.min(Oo,me.height-vi),Math.max(0,ea-Go),Math.max(0,ba-vi),vs.BOTTOM_LEFT):new Ga(me.left+Go,me.top+me.height-vi),this.topLeftContentBox=at>0||St>0?rA(me.left+Go+ws,me.top+Ua+Sa,Math.max(0,at-(Go+ws)),Math.max(0,St-(Ua+Sa)),vs.TOP_LEFT):new Ga(me.left+Go+ws,me.top+Ua+Sa),this.topRightContentBox=jt>0||On>0?rA(me.left+Math.min(eo,me.width+Go+ws),me.top+Ua+Sa,eo>me.width+Go+ws?0:jt-Go+ws,On-(Ua+Sa),vs.TOP_RIGHT):new Ga(me.left+me.width-(ji+au),me.top+Ua+Sa),this.bottomRightContentBox=Zn>0||yr>0?rA(me.left+Math.min(ci,me.width-(Go+ws)),me.top+Math.min(Ko,me.height+Ua+Sa),Math.max(0,Zn-(ji+au)),yr-(vi+Bu),vs.BOTTOM_RIGHT):new Ga(me.left+me.width-(ji+au),me.top+me.height-(vi+Bu)),this.bottomLeftContentBox=ea>0||ba>0?rA(me.left+Go+ws,me.top+Oo,Math.max(0,ea-(Go+ws)),ba-(vi+Bu),vs.BOTTOM_LEFT):new Ga(me.left+Go+ws,me.top+me.height-(vi+Bu))}return ce}(),vs;(function(ce){ce[ce.TOP_LEFT=0]="TOP_LEFT",ce[ce.TOP_RIGHT=1]="TOP_RIGHT",ce[ce.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",ce[ce.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(vs||(vs={}));var rA=function(ce,se,pe,me,Me){var at=4*((Math.sqrt(2)-1)/3),St=pe*at,Mt=me*at,jt=ce+pe,On=se+me;switch(Me){case vs.TOP_LEFT:return new kf(new Ga(ce,On),new Ga(ce,On-Mt),new Ga(jt-St,se),new Ga(jt,se));case vs.TOP_RIGHT:return new kf(new Ga(ce,se),new Ga(ce+St,se),new Ga(jt,On-Mt),new Ga(jt,On));case vs.BOTTOM_RIGHT:return new kf(new Ga(jt,se),new Ga(jt,se+Mt),new Ga(ce+St,On),new Ga(ce,On));case vs.BOTTOM_LEFT:default:return new kf(new Ga(jt,On),new Ga(jt-St,On),new Ga(ce,se+Mt),new Ga(ce,se))}},Tf=function(ce){return[ce.topLeftBorderBox,ce.topRightBorderBox,ce.bottomRightBorderBox,ce.bottomLeftBorderBox]},Fp=function(ce){return[ce.topLeftContentBox,ce.topRightContentBox,ce.bottomRightContentBox,ce.bottomLeftContentBox]},S0=function(ce){return[ce.topLeftPaddingBox,ce.topRightPaddingBox,ce.bottomRightPaddingBox,ce.bottomLeftPaddingBox]},$o=function(){function ce(se,pe,me){this.offsetX=se,this.offsetY=pe,this.matrix=me,this.type=0,this.target=6}return ce}(),eg=function(){function ce(se,pe){this.path=se,this.target=pe,this.type=1}return ce}(),Ts=function(){function ce(se){this.opacity=se,this.type=2,this.target=6}return ce}(),w0=function(ce){return ce.type===0},y0=function(ce){return ce.type===1},Hf=function(ce){return ce.type===2},qc=function(ce,se){return ce.length===se.length?ce.some(function(pe,me){return pe===se[me]}):!1},Nh=function(ce,se,pe,me,Me){return ce.map(function(at,St){switch(St){case 0:return at.add(se,pe);case 1:return at.add(se+me,pe);case 2:return at.add(se+me,pe+Me);case 3:return at.add(se,pe+Me)}return at})},Kg=function(){function ce(se){this.element=se,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return ce}(),b0=function(){function ce(se,pe){if(this.container=se,this.parent=pe,this.effects=[],this.curves=new km(this.container),this.container.styles.opacity<1&&this.effects.push(new Ts(this.container.styles.opacity)),this.container.styles.transform!==null){var me=this.container.bounds.left+this.container.styles.transformOrigin[0].number,Me=this.container.bounds.top+this.container.styles.transformOrigin[1].number,at=this.container.styles.transform;this.effects.push(new $o(me,Me,at))}if(this.container.styles.overflowX!==0){var St=Tf(this.curves),Mt=S0(this.curves);qc(St,Mt)?this.effects.push(new eg(St,6)):(this.effects.push(new eg(St,2)),this.effects.push(new eg(Mt,4)))}}return ce.prototype.getEffects=function(se){for(var pe=[2,3].indexOf(this.container.styles.position)===-1,me=this.parent,Me=this.effects.slice(0);me;){var at=me.effects.filter(function(jt){return!y0(jt)});if(pe||me.container.styles.position!==0||!me.parent){if(Me.unshift.apply(Me,at),pe=[2,3].indexOf(me.container.styles.position)===-1,me.container.styles.overflowX!==0){var St=Tf(me.curves),Mt=S0(me.curves);qc(St,Mt)||Me.unshift(new eg(Mt,6))}}else Me.unshift.apply(Me,at);me=me.parent}return Me.filter(function(jt){return ya(jt.target,se)})},ce}(),Gg=function(ce,se,pe,me){ce.container.elements.forEach(function(Me){var at=ya(Me.flags,4),St=ya(Me.flags,2),Mt=new b0(Me,ce);ya(Me.styles.display,2048)&&me.push(Mt);var jt=ya(Me.flags,8)?[]:me;if(at||St){var On=at||Me.styles.isPositioned()?pe:se,jn=new Kg(Mt);if(Me.styles.isPositioned()||Me.styles.opacity<1||Me.styles.isTransformed()){var Zn=Me.styles.zIndex.order;if(Zn<0){var yr=0;On.negativeZIndex.some(function(ea,ba){return Zn>ea.element.container.styles.zIndex.order?(yr=ba,!1):yr>0}),On.negativeZIndex.splice(yr,0,jn)}else if(Zn>0){var Za=0;On.positiveZIndex.some(function(ea,ba){return Zn>=ea.element.container.styles.zIndex.order?(Za=ba+1,!1):Za>0}),On.positiveZIndex.splice(Za,0,jn)}else On.zeroOrAutoZIndexOrTransformedOrOpacity.push(jn)}else Me.styles.isFloating()?On.nonPositionedFloats.push(jn):On.nonPositionedInlineLevel.push(jn);Gg(Mt,jn,at?jn:pe,jt)}else Me.styles.isInlineLevel()?se.inlineLevel.push(Mt):se.nonInlineLevel.push(Mt),Gg(Mt,se,pe,jt);ya(Me.flags,8)&&Zg(Me,jt)})},Zg=function(ce,se){for(var pe=ce instanceof s0?ce.start:1,me=ce instanceof s0?ce.reversed:!1,Me=0;Me0&&pe.intrinsicHeight>0){var at=jf(pe),St=S0(me);this.path(St),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Me,0,0,pe.intrinsicWidth,pe.intrinsicHeight,at.left,at.top,at.width,at.height),this.ctx.restore()}},se.prototype.renderNodeContent=function(pe){return Ee(this,void 0,void 0,function(){var me,Me,at,St,Mt,jt,eo,eo,On,jn,Zn,yr,ci,Za,ea,Oo,ba,ei,oo,eo,Ko,ci,Oo;return je(this,function(Ua){switch(Ua.label){case 0:this.applyEffects(pe.getEffects(4)),me=pe.container,Me=pe.curves,at=me.styles,St=0,Mt=me.textNodes,Ua.label=1;case 1:return St0&&il>0&&(vi=at.ctx.createPattern(Oo,"repeat"),at.renderRepeat(Sa,vi,Ll,Rl))):dA(jn)&&(Go=ic(pe,me,[null,null,null]),Sa=Go[0],au=Go[1],Bu=Go[2],ws=Go[3],il=Go[4],Lc=jn.position.length===0?[Ji]:jn.position,Ll=xo(Lc[0],ws),Rl=xo(Lc[Lc.length-1],il),Cd=Mr(jn,Ll,Rl,ws,il),Du=Cd[0],Ic=Cd[1],Du>0&&Ic>0&&(Pd=at.ctx.createRadialGradient(au+Ll,Bu+Rl,0,au+Ll,Bu+Rl,Du),Gc(jn.stops,Du*2).forEach(function(od){return Pd.addColorStop(od.stop,Yi(od.color))}),at.path(Sa),at.ctx.fillStyle=Pd,Du!==Ic?(rd=pe.bounds.left+.5*pe.bounds.width,Ac=pe.bounds.top+.5*pe.bounds.height,ad=Ic/Du,Nc=1/ad,at.ctx.save(),at.ctx.translate(rd,Ac),at.ctx.transform(1,0,0,ad,0,0),at.ctx.translate(-rd,-Ac),at.ctx.fillRect(au,Nc*(Bu-Ac)+Ac,ws,il*Nc),at.ctx.restore()):at.ctx.fill())),rg.label=6;case 6:return me--,[2]}})},at=this,St=0,Mt=pe.styles.backgroundImage.slice(0).reverse(),On.label=1;case 1:return St0?jn.style!==2?[3,5]:[4,this.renderDashedDottedBorder(jn.color,jn.width,Mt,pe.curves,2)]:[3,11]):[3,13];case 4:return yr.sent(),[3,11];case 5:return jn.style!==3?[3,7]:[4,this.renderDashedDottedBorder(jn.color,jn.width,Mt,pe.curves,3)];case 6:return yr.sent(),[3,11];case 7:return jn.style!==4?[3,9]:[4,this.renderDoubleBorder(jn.color,jn.width,Mt,pe.curves)];case 8:return yr.sent(),[3,11];case 9:return[4,this.renderSolidBorder(jn.color,Mt,pe.curves)];case 10:yr.sent(),yr.label=11;case 11:Mt++,yr.label=12;case 12:return jt++,[3,3];case 13:return[2]}})})},se.prototype.renderDashedDottedBorder=function(pe,me,Me,at,St){return Ee(this,void 0,void 0,function(){var Mt,jt,On,jn,Zn,yr,Za,ea,ba,ei,oo,eo,Ko,ci,Oo,Ua,Oo,Ua;return je(this,function(ji){return this.ctx.save(),Mt=Dh(at,Me),jt=gl(at,Me),St===2&&(this.path(jt),this.ctx.clip()),Nu(jt[0])?(On=jt[0].start.x,jn=jt[0].start.y):(On=jt[0].x,jn=jt[0].y),Nu(jt[1])?(Zn=jt[1].end.x,yr=jt[1].end.y):(Zn=jt[1].x,yr=jt[1].y),Me===0||Me===2?Za=Math.abs(On-Zn):Za=Math.abs(jn-yr),this.ctx.beginPath(),St===3?this.formatPath(Mt):this.formatPath(jt.slice(0,2)),ea=me<3?me*3:me*2,ba=me<3?me*2:me,St===3&&(ea=me,ba=me),ei=!0,Za<=ea*2?ei=!1:Za<=ea*2+ba?(oo=Za/(2*ea+ba),ea*=oo,ba*=oo):(eo=Math.floor((Za+ba)/(ea+ba)),Ko=(Za-eo*ea)/(eo-1),ci=(Za-(eo+1)*ea)/eo,ba=ci<=0||Math.abs(ba-Ko)bt){var pt=ct;ct=bt,bt=pt}}else if(nt==="l"||nt==="landscape"){if(nt="l",bt>ct){var pt=ct;ct=bt,bt=pt}}else throw"Invalid orientation: "+nt;var At={width:ct,height:bt,unit:ke,k:ot};return At},Ne.default=Ue.jsPDF},"./src/plugin/pagebreaks.js":function(Se,Ne,fe){"use strict";fe.r(Ne);var De=fe("./node_modules/core-js/modules/es.array.concat.js"),xe=fe.n(De),Ce=fe("./node_modules/core-js/modules/es.array.slice.js"),ie=fe.n(Ce),y=fe("./node_modules/core-js/modules/es.array.join.js"),a=fe.n(y),ee=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),E=fe.n(ee),te=fe("./node_modules/core-js/modules/es.object.keys.js"),ne=fe.n(te),ae=fe("./src/worker.js"),ge=fe("./src/utils.js"),Le={toContainer:ae.default.prototype.toContainer};ae.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ae.default.prototype.toContainer=function(){return Le.toContainer.call(this).then(function(){var Ge=this.prop.container,Ze=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),ke={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},vt={},_e=this;["before","after","avoid"].forEach(function(ot){var bt=ke.avoidAll&&ot==="avoid";vt[ot]=bt?[]:[].concat(_e.opt.pagebreak[ot]||[]),vt[ot].length>0&&(vt[ot]=Array.prototype.slice.call(Ge.querySelectorAll(vt[ot].join(", "))))});var Nt=Ge.querySelectorAll(".html2pdf__page-break");Nt=Array.prototype.slice.call(Nt);var st=Ge.querySelectorAll("*");Array.prototype.forEach.call(st,function(bt){var ct={before:!1,after:ke.legacy&&Nt.indexOf(bt)!==-1,avoid:ke.avoidAll};if(ke.css){var pt=window.getComputedStyle(bt),At=["always","page","left","right"],tt=["avoid","avoid-page"];ct={before:ct.before||At.indexOf(pt.breakBefore||pt.pageBreakBefore)!==-1,after:ct.after||At.indexOf(pt.breakAfter||pt.pageBreakAfter)!==-1,avoid:ct.avoid||tt.indexOf(pt.breakInside||pt.pageBreakInside)!==-1}}Object.keys(ct).forEach(function(Hn){ct[Hn]=ct[Hn]||vt[Hn].indexOf(bt)!==-1});var zt=bt.getBoundingClientRect();if(ct.avoid&&!ct.before){var Rt=Math.floor(zt.top/Ze),ft=Math.floor(zt.bottom/Ze),Kt=Math.abs(zt.bottom-zt.top)/Ze;ft!==Rt&&Kt<=1&&(ct.before=!0)}if(ct.before){var yn=(0,ge.createElement)("div",{style:{display:"block",height:Ze-zt.top%Ze+"px"}});bt.parentNode.insertBefore(yn,bt)}if(ct.after){var yn=(0,ge.createElement)("div",{style:{display:"block",height:Ze-zt.bottom%Ze+"px"}});bt.parentNode.insertBefore(yn,bt.nextSibling)}})})}},"./src/utils.js":function(Se,Ne,fe){"use strict";fe.r(Ne),fe.d(Ne,{objType:function(){return nt},createElement:function(){return ke},cloneNode:function(){return vt},unitConvert:function(){return _e},toPx:function(){return Nt}});var De=fe("./node_modules/core-js/modules/es.number.constructor.js"),xe=fe.n(De),Ce=fe("./node_modules/core-js/modules/es.symbol.js"),ie=fe.n(Ce),y=fe("./node_modules/core-js/modules/es.symbol.description.js"),a=fe.n(y),ee=fe("./node_modules/core-js/modules/es.object.to-string.js"),E=fe.n(ee),te=fe("./node_modules/core-js/modules/es.symbol.iterator.js"),ne=fe.n(te),ae=fe("./node_modules/core-js/modules/es.array.iterator.js"),ge=fe.n(ae),Le=fe("./node_modules/core-js/modules/es.string.iterator.js"),Pe=fe.n(Le),Ue=fe("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ge=fe.n(Ue);function Ze(st){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ze=function(bt){return typeof bt}:Ze=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},Ze(st)}var nt=function(ot){var bt=Ze(ot);return bt==="undefined"?"undefined":bt==="string"||ot instanceof String?"string":bt==="number"||ot instanceof Number?"number":bt==="function"||ot instanceof Function?"function":ot&&ot.constructor===Array?"array":ot&&ot.nodeType===1?"element":bt==="object"?"object":"unknown"},ke=function(ot,bt){var ct=document.createElement(ot);if(bt.className&&(ct.className=bt.className),bt.innerHTML){ct.innerHTML=bt.innerHTML;for(var pt=ct.getElementsByTagName("script"),At=pt.length;At-- >0;null)pt[At].parentNode.removeChild(pt[At])}for(var tt in bt.style)ct.style[tt]=bt.style[tt];return ct},vt=function st(ot,bt){for(var ct=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),pt=ot.firstChild;pt;pt=pt.nextSibling)(bt===!0||pt.nodeType!==1||pt.nodeName!=="SCRIPT")&&ct.appendChild(st(pt,bt));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},_e=function(ot,bt){if(nt(ot)==="number")return ot*72/96/bt;var ct={};for(var pt in ot)ct[pt]=ot[pt]*72/96/bt;return ct},Nt=function(ot,bt){return Math.floor(ot*bt/72*96)}},"./src/worker.js":function(Se,Ne,fe){"use strict";fe.r(Ne);var De=fe("./node_modules/core-js/modules/es.object.assign.js"),xe=fe.n(De),Ce=fe("./node_modules/core-js/modules/es.array.map.js"),ie=fe.n(Ce),y=fe("./node_modules/core-js/modules/es.object.keys.js"),a=fe.n(y),ee=fe("./node_modules/core-js/modules/es.array.concat.js"),E=fe.n(ee),te=fe("./node_modules/core-js/modules/es.object.to-string.js"),ne=fe.n(te),ae=fe("./node_modules/core-js/modules/es.regexp.to-string.js"),ge=fe.n(ae),Le=fe("./node_modules/core-js/modules/es.function.name.js"),Pe=fe.n(Le),Ue=fe("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ge=fe.n(Ue),Ze=fe("jspdf"),nt=fe.n(Ze),ke=fe("html2canvas"),vt=fe.n(ke),_e=fe("./src/utils.js"),Nt=fe("./node_modules/es6-promise/dist/es6-promise.js"),st=fe.n(Nt),ot=st().Promise,bt=function ct(pt){var At=Object.assign(ct.convert(ot.resolve()),JSON.parse(JSON.stringify(ct.template))),tt=ct.convert(ot.resolve(),At);return tt=tt.setProgress(1,ct,1,[ct]),tt=tt.set(pt),tt};bt.prototype=Object.create(ot.prototype),bt.prototype.constructor=bt,bt.convert=function(pt,At){return pt.__proto__=At||bt.prototype,pt},bt.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:{}}},bt.prototype.from=function(pt,At){function tt(zt){switch((0,_e.objType)(zt)){case"string":return"string";case"element":return zt.nodeName.toLowerCase&&zt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(At=At||tt(pt),At){case"string":return this.set({src:(0,_e.createElement)("div",{innerHTML:pt})});case"element":return this.set({src:pt});case"canvas":return this.set({canvas:pt});case"img":return this.set({img:pt});default:return this.error("Unknown source type.")}})},bt.prototype.to=function(pt){switch(pt){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.")}},bt.prototype.toContainer=function(){var pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var tt={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},zt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};tt.opacity=0;var Rt=(0,_e.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,_e.createElement)("div",{className:"html2pdf__overlay",style:tt}),this.prop.container=(0,_e.createElement)("div",{className:"html2pdf__container",style:zt}),this.prop.container.appendChild(Rt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},bt.prototype.toCanvas=function(){var pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(pt).then(function(){var tt=Object.assign({},this.opt.html2canvas);return delete tt.onrendered,ke(this.prop.container,tt)}).then(function(tt){var zt=this.opt.html2canvas.onrendered||function(){};zt(tt),this.prop.canvas=tt,document.body.removeChild(this.prop.overlay)})},bt.prototype.toImg=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(pt).then(function(){var tt=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=tt})},bt.prototype.toPdf=function(){var pt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(pt).then(function(){var tt=this.prop.canvas,zt=this.opt,Rt=tt.height,ft=Math.floor(tt.width*this.prop.pageSize.inner.ratio),Kt=Math.ceil(Rt/ft),yn=this.prop.pageSize.inner.height,Hn=document.createElement("canvas"),ln=Hn.getContext("2d");Hn.width=tt.width,Hn.height=ft,this.prop.pdf=this.prop.pdf||new Ze.jsPDF(zt.jsPDF);for(var Wn=0;Wn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-indexed-object.js"),xe=fe("./node_modules/core-js/internals/to-length.js"),Ce=fe("./node_modules/core-js/internals/to-absolute-index.js"),ie=function(y){return function(a,ee,E){var te=De(a),ne=xe(te.length),ae=Ce(E,ne),ge;if(y&&ee!=ee){for(;ne>ae;)if(ge=te[ae++],ge!=ge)return!0}else for(;ne>ae;ae++)if((y||ae in te)&&te[ae]===ee)return y||ae||0;return!y&&-1}};Se.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/function-bind-context.js"),xe=fe("./node_modules/core-js/internals/indexed-object.js"),Ce=fe("./node_modules/core-js/internals/to-object.js"),ie=fe("./node_modules/core-js/internals/to-length.js"),y=fe("./node_modules/core-js/internals/array-species-create.js"),a=[].push,ee=function(E){var te=E==1,ne=E==2,ae=E==3,ge=E==4,Le=E==6,Pe=E==7,Ue=E==5||Le;return function(Ge,Ze,nt,ke){for(var vt=Ce(Ge),_e=xe(vt),Nt=De(Ze,nt,3),st=ie(_e.length),ot=0,bt=ke||y,ct=te?bt(Ge,st):ne||Pe?bt(Ge,0):void 0,pt,At;st>ot;ot++)if((Ue||ot in _e)&&(pt=_e[ot],At=Nt(pt,ot,vt),E))if(te)ct[ot]=At;else if(At)switch(E){case 3:return!0;case 5:return pt;case 6:return ot;case 2:a.call(ct,pt)}else switch(E){case 4:return!1;case 7:a.call(ct,pt)}return Le?-1:ae||ge?ge:ct}};Se.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(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ce=fe("./node_modules/core-js/internals/engine-v8-version.js"),ie=xe("species");Se.exports=function(y){return Ce>=51||!De(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(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/fails.js");Se.exports=function(xe,Ce){var ie=[][xe];return!!ie&&De(function(){ie.call(null,Ce||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js"),xe=fe("./node_modules/core-js/internals/is-array.js"),Ce=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("species");Se.exports=function(y){var a;return xe(y)&&(a=y.constructor,typeof a=="function"&&(a===Array||xe(a.prototype))?a=void 0:De(a)&&(a=a[ie],a===null&&(a=void 0))),a===void 0?Array:a}},"./node_modules/core-js/internals/array-species-create.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/array-species-constructor.js");Se.exports=function(xe,Ce){return new(De(xe))(Ce===0?0:Ce)}},"./node_modules/core-js/internals/classof-raw.js":function(Se){var Ne={}.toString;Se.exports=function(fe){return Ne.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-string-tag-support.js"),xe=fe("./node_modules/core-js/internals/classof-raw.js"),Ce=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag"),y=xe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};Se.exports=De?xe:function(ee){var E,te,ne;return ee===void 0?"Undefined":ee===null?"Null":typeof(te=a(E=Object(ee),ie))=="string"?te:y?xe(E):(ne=xe(E))=="Object"&&typeof E.callee=="function"?"Arguments":ne}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/own-keys.js"),Ce=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=fe("./node_modules/core-js/internals/object-define-property.js");Se.exports=function(y,a){for(var ee=xe(a),E=ie.f,te=Ce.f,ne=0;ne"+E+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,xe=fe("./node_modules/core-js/internals/object-create.js"),Ce=fe("./node_modules/core-js/internals/create-property-descriptor.js"),ie=fe("./node_modules/core-js/internals/set-to-string-tag.js"),y=fe("./node_modules/core-js/internals/iterators.js"),a=function(){return this};Se.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=xe(De,{next:Ce(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-define-property.js"),Ce=fe("./node_modules/core-js/internals/create-property-descriptor.js");Se.exports=De?function(ie,y,a){return xe.f(ie,y,Ce(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(Se){Se.exports=function(Ne,fe){return{enumerable:!(Ne&1),configurable:!(Ne&2),writable:!(Ne&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/to-property-key.js"),xe=fe("./node_modules/core-js/internals/object-define-property.js"),Ce=fe("./node_modules/core-js/internals/create-property-descriptor.js");Se.exports=function(ie,y,a){var ee=De(y);ee in ie?xe.f(ie,ee,Ce(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/create-iterator-constructor.js"),Ce=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),ie=fe("./node_modules/core-js/internals/object-set-prototype-of.js"),y=fe("./node_modules/core-js/internals/set-to-string-tag.js"),a=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),ee=fe("./node_modules/core-js/internals/redefine.js"),E=fe("./node_modules/core-js/internals/well-known-symbol.js"),te=fe("./node_modules/core-js/internals/is-pure.js"),ne=fe("./node_modules/core-js/internals/iterators.js"),ae=fe("./node_modules/core-js/internals/iterators-core.js"),ge=ae.IteratorPrototype,Le=ae.BUGGY_SAFARI_ITERATORS,Pe=E("iterator"),Ue="keys",Ge="values",Ze="entries",nt=function(){return this};Se.exports=function(ke,vt,_e,Nt,st,ot,bt){xe(_e,vt,Nt);var ct=function(ln){if(ln===st&&Rt)return Rt;if(!Le&&ln in tt)return tt[ln];switch(ln){case Ue:return function(){return new _e(this,ln)};case Ge:return function(){return new _e(this,ln)};case Ze:return function(){return new _e(this,ln)}}return function(){return new _e(this)}},pt=vt+" Iterator",At=!1,tt=ke.prototype,zt=tt[Pe]||tt["@@iterator"]||st&&tt[st],Rt=!Le&&zt||ct(st),ft=vt=="Array"&&tt.entries||zt,Kt,yn,Hn;if(ft&&(Kt=Ce(ft.call(new ke)),ge!==Object.prototype&&Kt.next&&(!te&&Ce(Kt)!==ge&&(ie?ie(Kt,ge):typeof Kt[Pe]!="function"&&a(Kt,Pe,nt)),y(Kt,pt,!0,!0),te&&(ne[pt]=nt))),st==Ge&&zt&&zt.name!==Ge&&(At=!0,Rt=function(){return zt.call(this)}),(!te||bt)&&tt[Pe]!==Rt&&a(tt,Pe,Rt),ne[vt]=Rt,st)if(yn={values:ct(Ge),keys:ot?Rt:ct(Ue),entries:ct(Ze)},bt)for(Hn in yn)(Le||At||!(Hn in tt))&&ee(tt,Hn,yn[Hn]);else De({target:vt,proto:!0,forced:Le||At},yn);return yn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/path.js"),xe=fe("./node_modules/core-js/internals/has.js"),Ce=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=fe("./node_modules/core-js/internals/object-define-property.js").f;Se.exports=function(y){var a=De.Symbol||(De.Symbol={});xe(a,y)||ie(a,y,{value:Ce.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js");Se.exports=!De(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/is-object.js"),Ce=De.document,ie=xe(Ce)&&xe(Ce.createElement);Se.exports=function(y){return ie?Ce.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(Se){Se.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(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js");Se.exports=De("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/engine-user-agent.js"),Ce=De.process,ie=De.Deno,y=Ce&&Ce.versions||ie&&ie.version,a=y&&y.v8,ee,E;a?(ee=a.split("."),E=ee[0]<4?1:ee[0]+ee[1]):xe&&(ee=xe.match(/Edge\/(\d+)/),(!ee||ee[1]>=74)&&(ee=xe.match(/Chrome\/(\d+)/),ee&&(E=ee[1]))),Se.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(Se){Se.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ce=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=fe("./node_modules/core-js/internals/redefine.js"),y=fe("./node_modules/core-js/internals/set-global.js"),a=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),ee=fe("./node_modules/core-js/internals/is-forced.js");Se.exports=function(E,te){var ne=E.target,ae=E.global,ge=E.stat,Le,Pe,Ue,Ge,Ze,nt;if(ae?Pe=De:ge?Pe=De[ne]||y(ne,{}):Pe=(De[ne]||{}).prototype,Pe)for(Ue in te){if(Ze=te[Ue],E.noTargetGet?(nt=xe(Pe,Ue),Ge=nt&&nt.value):Ge=Pe[Ue],Le=ee(ae?Ue:ne+(ge?".":"#")+Ue,E.forced),!Le&&Ge!==void 0){if(typeof Ze==typeof Ge)continue;a(Ze,Ge)}(E.sham||Ge&&Ge.sham)&&Ce(Ze,"sham",!0),ie(Pe,Ue,Ze,E)}}},"./node_modules/core-js/internals/fails.js":function(Se){Se.exports=function(Ne){try{return!!Ne()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/a-function.js");Se.exports=function(xe,Ce,ie){if(De(xe),Ce===void 0)return xe;switch(ie){case 0:return function(){return xe.call(Ce)};case 1:return function(y){return xe.call(Ce,y)};case 2:return function(y,a){return xe.call(Ce,y,a)};case 3:return function(y,a,ee){return xe.call(Ce,y,a,ee)}}return function(){return xe.apply(Ce,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=function(Ce){return typeof Ce=="function"?Ce:void 0};Se.exports=function(Ce,ie){return arguments.length<2?xe(De[Ce]):De[Ce]&&De[Ce][ie]}},"./node_modules/core-js/internals/global.js":function(Se){var Ne=function(fe){return fe&&fe.Math==Math&&fe};Se.exports=Ne(typeof globalThis=="object"&&globalThis)||Ne(typeof window=="object"&&window)||Ne(typeof self=="object"&&self)||Ne(typeof Be.g=="object"&&Be.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-object.js"),xe={}.hasOwnProperty;Se.exports=Object.hasOwn||function(ie,y){return xe.call(De(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(Se){Se.exports={}},"./node_modules/core-js/internals/html.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js");Se.exports=De("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ce=fe("./node_modules/core-js/internals/document-create-element.js");Se.exports=!De&&!xe(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=fe("./node_modules/core-js/internals/classof-raw.js"),Ce="".split;Se.exports=De(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return xe(ie)=="String"?Ce.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js"),xe=fe("./node_modules/core-js/internals/object-set-prototype-of.js");Se.exports=function(Ce,ie,y){var a,ee;return xe&&typeof(a=ie.constructor)=="function"&&a!==y&&De(ee=a.prototype)&&ee!==y.prototype&&xe(Ce,ee),Ce}},"./node_modules/core-js/internals/inspect-source.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/shared-store.js"),xe=Function.toString;typeof De.inspectSource!="function"&&(De.inspectSource=function(Ce){return xe.call(Ce)}),Se.exports=De.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/native-weak-map.js"),xe=fe("./node_modules/core-js/internals/global.js"),Ce=fe("./node_modules/core-js/internals/is-object.js"),ie=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=fe("./node_modules/core-js/internals/has.js"),a=fe("./node_modules/core-js/internals/shared-store.js"),ee=fe("./node_modules/core-js/internals/shared-key.js"),E=fe("./node_modules/core-js/internals/hidden-keys.js"),te="Object already initialized",ne=xe.WeakMap,ae,ge,Le,Pe=function(_e){return Le(_e)?ge(_e):ae(_e,{})},Ue=function(_e){return function(Nt){var st;if(!Ce(Nt)||(st=ge(Nt)).type!==_e)throw TypeError("Incompatible receiver, "+_e+" required");return st}};if(De||a.state){var Ge=a.state||(a.state=new ne),Ze=Ge.get,nt=Ge.has,ke=Ge.set;ae=function(_e,Nt){if(nt.call(Ge,_e))throw new TypeError(te);return Nt.facade=_e,ke.call(Ge,_e,Nt),Nt},ge=function(_e){return Ze.call(Ge,_e)||{}},Le=function(_e){return nt.call(Ge,_e)}}else{var vt=ee("state");E[vt]=!0,ae=function(_e,Nt){if(y(_e,vt))throw new TypeError(te);return Nt.facade=_e,ie(_e,vt,Nt),Nt},ge=function(_e){return y(_e,vt)?_e[vt]:{}},Le=function(_e){return y(_e,vt)}}Se.exports={set:ae,get:ge,has:Le,enforce:Pe,getterFor:Ue}},"./node_modules/core-js/internals/is-array.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/classof-raw.js");Se.exports=Array.isArray||function(Ce){return De(Ce)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=/#|\.prototype\./,Ce=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?De(te):!!te},ie=Ce.normalize=function(E){return String(E).replace(xe,".").toLowerCase()},y=Ce.data={},a=Ce.NATIVE="N",ee=Ce.POLYFILL="P";Se.exports=Ce},"./node_modules/core-js/internals/is-object.js":function(Se){Se.exports=function(Ne){return typeof Ne=="object"?Ne!==null:typeof Ne=="function"}},"./node_modules/core-js/internals/is-pure.js":function(Se){Se.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js"),xe=fe("./node_modules/core-js/internals/use-symbol-as-uid.js");Se.exports=xe?function(Ce){return typeof Ce=="symbol"}:function(Ce){var ie=De("Symbol");return typeof ie=="function"&&Object(Ce)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/fails.js"),xe=fe("./node_modules/core-js/internals/object-get-prototype-of.js"),Ce=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),ie=fe("./node_modules/core-js/internals/has.js"),y=fe("./node_modules/core-js/internals/well-known-symbol.js"),a=fe("./node_modules/core-js/internals/is-pure.js"),ee=y("iterator"),E=!1,te=function(){return this},ne,ae,ge;[].keys&&(ge=[].keys(),"next"in ge?(ae=xe(xe(ge)),ae!==Object.prototype&&(ne=ae)):E=!0);var Le=ne==null||De(function(){var Pe={};return ne[ee].call(Pe)!==Pe});Le&&(ne={}),(!a||Le)&&!ie(ne,ee)&&Ce(ne,ee,te),Se.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(Se){Se.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/engine-v8-version.js"),xe=fe("./node_modules/core-js/internals/fails.js");Se.exports=!!Object.getOwnPropertySymbols&&!xe(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&De&&De<41})},"./node_modules/core-js/internals/native-weak-map.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/inspect-source.js"),Ce=De.WeakMap;Se.exports=typeof Ce=="function"&&/native code/.test(xe(Ce))},"./node_modules/core-js/internals/object-assign.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ce=fe("./node_modules/core-js/internals/object-keys.js"),ie=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),y=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=fe("./node_modules/core-js/internals/to-object.js"),ee=fe("./node_modules/core-js/internals/indexed-object.js"),E=Object.assign,te=Object.defineProperty;Se.exports=!E||xe(function(){if(De&&E({b:1},E(te({},"a",{enumerable:!0,get:function(){te(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ne={},ae={},ge=Symbol(),Le="abcdefghijklmnopqrst";return ne[ge]=7,Le.split("").forEach(function(Pe){ae[Pe]=Pe}),E({},ne)[ge]!=7||Ce(E({},ae)).join("")!=Le})?function(ae,ge){for(var Le=a(ae),Pe=arguments.length,Ue=1,Ge=ie.f,Ze=y.f;Pe>Ue;)for(var nt=ee(arguments[Ue++]),ke=Ge?Ce(nt).concat(Ge(nt)):Ce(nt),vt=ke.length,_e=0,Nt;vt>_e;)Nt=ke[_e++],(!De||Ze.call(nt,Nt))&&(Le[Nt]=nt[Nt]);return Le}:E},"./node_modules/core-js/internals/object-create.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/an-object.js"),xe=fe("./node_modules/core-js/internals/object-define-properties.js"),Ce=fe("./node_modules/core-js/internals/enum-bug-keys.js"),ie=fe("./node_modules/core-js/internals/hidden-keys.js"),y=fe("./node_modules/core-js/internals/html.js"),a=fe("./node_modules/core-js/internals/document-create-element.js"),ee=fe("./node_modules/core-js/internals/shared-key.js"),E=">",te="<",ne="prototype",ae="script",ge=ee("IE_PROTO"),Le=function(){},Pe=function(ke){return te+ae+E+ke+te+"/"+ae+E},Ue=function(ke){ke.write(Pe("")),ke.close();var vt=ke.parentWindow.Object;return ke=null,vt},Ge=function(){var ke=a("iframe"),vt="java"+ae+":",_e;if(ke.style)return ke.style.display="none",y.appendChild(ke),ke.src=String(vt),_e=ke.contentWindow.document,_e.open(),_e.write(Pe("document.F=Object")),_e.close(),_e.F},Ze,nt=function(){try{Ze=new ActiveXObject("htmlfile")}catch(vt){}nt=document.domain&&Ze?Ue(Ze):Ge()||Ue(Ze);for(var ke=Ce.length;ke--;)delete nt[ne][Ce[ke]];return nt()};ie[ge]=!0,Se.exports=Object.create||function(vt,_e){var Nt;return vt!==null?(Le[ne]=De(vt),Nt=new Le,Le[ne]=null,Nt[ge]=vt):Nt=nt(),_e===void 0?Nt:xe(Nt,_e)}},"./node_modules/core-js/internals/object-define-properties.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-define-property.js"),Ce=fe("./node_modules/core-js/internals/an-object.js"),ie=fe("./node_modules/core-js/internals/object-keys.js");Se.exports=De?Object.defineProperties:function(a,ee){Ce(a);for(var E=ie(ee),te=E.length,ne=0,ae;te>ne;)xe.f(a,ae=E[ne++],ee[ae]);return a}},"./node_modules/core-js/internals/object-define-property.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Ce=fe("./node_modules/core-js/internals/an-object.js"),ie=fe("./node_modules/core-js/internals/to-property-key.js"),y=Object.defineProperty;Ne.f=De?y:function(ee,E,te){if(Ce(ee),E=ie(E),Ce(te),xe)try{return y(ee,E,te)}catch(ne){}if("get"in te||"set"in te)throw TypeError("Accessors not supported");return"value"in te&&(ee[E]=te.value),ee}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ce=fe("./node_modules/core-js/internals/create-property-descriptor.js"),ie=fe("./node_modules/core-js/internals/to-indexed-object.js"),y=fe("./node_modules/core-js/internals/to-property-key.js"),a=fe("./node_modules/core-js/internals/has.js"),ee=fe("./node_modules/core-js/internals/ie8-dom-define.js"),E=Object.getOwnPropertyDescriptor;Ne.f=De?E:function(ne,ae){if(ne=ie(ne),ae=y(ae),ee)try{return E(ne,ae)}catch(ge){}if(a(ne,ae))return Ce(!xe.f.call(ne,ae),ne[ae])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-indexed-object.js"),xe=fe("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ce={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return xe(a)}catch(ee){return ie.slice()}};Se.exports.f=function(ee){return ie&&Ce.call(ee)=="[object Window]"?y(ee):xe(De(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/object-keys-internal.js"),xe=fe("./node_modules/core-js/internals/enum-bug-keys.js"),Ce=xe.concat("length","prototype");Ne.f=Object.getOwnPropertyNames||function(y){return De(y,Ce)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(Se,Ne){Ne.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/to-object.js"),Ce=fe("./node_modules/core-js/internals/shared-key.js"),ie=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ce("IE_PROTO"),a=Object.prototype;Se.exports=ie?Object.getPrototypeOf:function(ee){return ee=xe(ee),De(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(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/to-indexed-object.js"),Ce=fe("./node_modules/core-js/internals/array-includes.js").indexOf,ie=fe("./node_modules/core-js/internals/hidden-keys.js");Se.exports=function(y,a){var ee=xe(y),E=0,te=[],ne;for(ne in ee)!De(ie,ne)&&De(ee,ne)&&te.push(ne);for(;a.length>E;)De(ee,ne=a[E++])&&(~Ce(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/object-keys-internal.js"),xe=fe("./node_modules/core-js/internals/enum-bug-keys.js");Se.exports=Object.keys||function(ie){return De(ie,xe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(Se,Ne){"use strict";var fe={}.propertyIsEnumerable,De=Object.getOwnPropertyDescriptor,xe=De&&!fe.call({1:2},1);Ne.f=xe?function(ie){var y=De(this,ie);return!!y&&y.enumerable}:fe},"./node_modules/core-js/internals/object-set-prototype-of.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/an-object.js"),xe=fe("./node_modules/core-js/internals/a-possible-prototype.js");Se.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ce=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ce=ie instanceof Array}catch(a){}return function(ee,E){return De(ee),xe(E),Ce?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/to-string-tag-support.js"),xe=fe("./node_modules/core-js/internals/classof.js");Se.exports=De?{}.toString:function(){return"[object "+xe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js");Se.exports=function(xe,Ce){var ie,y;if(Ce==="string"&&typeof(ie=xe.toString)=="function"&&!De(y=ie.call(xe))||typeof(ie=xe.valueOf)=="function"&&!De(y=ie.call(xe))||Ce!=="string"&&typeof(ie=xe.toString)=="function"&&!De(y=ie.call(xe)))return y;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js"),xe=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),Ce=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=fe("./node_modules/core-js/internals/an-object.js");Se.exports=De("Reflect","ownKeys")||function(a){var ee=xe.f(ie(a)),E=Ce.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js");Se.exports=De},"./node_modules/core-js/internals/redefine.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ce=fe("./node_modules/core-js/internals/has.js"),ie=fe("./node_modules/core-js/internals/set-global.js"),y=fe("./node_modules/core-js/internals/inspect-source.js"),a=fe("./node_modules/core-js/internals/internal-state.js"),ee=a.get,E=a.enforce,te=String(String).split("String");(Se.exports=function(ne,ae,ge,Le){var Pe=Le?!!Le.unsafe:!1,Ue=Le?!!Le.enumerable:!1,Ge=Le?!!Le.noTargetGet:!1,Ze;if(typeof ge=="function"&&(typeof ae=="string"&&!Ce(ge,"name")&&xe(ge,"name",ae),Ze=E(ge),Ze.source||(Ze.source=te.join(typeof ae=="string"?ae:""))),ne===De){Ue?ne[ae]=ge:ie(ae,ge);return}else Pe?!Ge&&ne[ae]&&(Ue=!0):delete ne[ae];Ue?ne[ae]=ge:xe(ne,ae,ge)})(Function.prototype,"toString",function(){return typeof this=="function"&&ee(this).source||y(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/an-object.js");Se.exports=function(){var xe=De(this),Ce="";return xe.global&&(Ce+="g"),xe.ignoreCase&&(Ce+="i"),xe.multiline&&(Ce+="m"),xe.dotAll&&(Ce+="s"),xe.unicode&&(Ce+="u"),xe.sticky&&(Ce+="y"),Ce}},"./node_modules/core-js/internals/require-object-coercible.js":function(Se){Se.exports=function(Ne){if(Ne==null)throw TypeError("Can't call method on "+Ne);return Ne}},"./node_modules/core-js/internals/set-global.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js");Se.exports=function(xe,Ce){try{Object.defineProperty(De,xe,{value:Ce,configurable:!0,writable:!0})}catch(ie){De[xe]=Ce}return Ce}},"./node_modules/core-js/internals/set-to-string-tag.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/object-define-property.js").f,xe=fe("./node_modules/core-js/internals/has.js"),Ce=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ce("toStringTag");Se.exports=function(y,a,ee){y&&!xe(y=ee?y:y.prototype,ie)&&De(y,ie,{configurable:!0,value:a})}},"./node_modules/core-js/internals/shared-key.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/shared.js"),xe=fe("./node_modules/core-js/internals/uid.js"),Ce=De("keys");Se.exports=function(ie){return Ce[ie]||(Ce[ie]=xe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/set-global.js"),Ce="__core-js_shared__",ie=De[Ce]||xe(Ce,{});Se.exports=ie},"./node_modules/core-js/internals/shared.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-pure.js"),xe=fe("./node_modules/core-js/internals/shared-store.js");(Se.exports=function(Ce,ie){return xe[Ce]||(xe[Ce]=ie!==void 0?ie:{})})("versions",[]).push({version:"3.16.0",mode:De?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js");Se.exports=function(xe){return De(function(){var Ce=""[xe]('"');return Ce!==Ce.toLowerCase()||Ce.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=fe("./node_modules/core-js/internals/to-string.js"),Ce=fe("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=xe(Ce(a)),te=De(ee),ne=E.length,ae,ge;return te<0||te>=ne?y?"":void 0:(ae=E.charCodeAt(te),ae<55296||ae>56319||te+1===ne||(ge=E.charCodeAt(te+1))<56320||ge>57343?y?E.charAt(te):ae:y?E.slice(te,te+2):(ae-55296<<10)+(ge-56320)+65536)}};Se.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/require-object-coercible.js"),xe=fe("./node_modules/core-js/internals/to-string.js"),Ce=fe("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ce+"]",y=RegExp("^"+ie+ie+"*"),a=RegExp(ie+ie+"*$"),ee=function(E){return function(te){var ne=xe(De(te));return E&1&&(ne=ne.replace(y,"")),E&2&&(ne=ne.replace(a,"")),ne}};Se.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=Math.max,Ce=Math.min;Se.exports=function(ie,y){var a=De(ie);return a<0?xe(a+y,0):Ce(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/indexed-object.js"),xe=fe("./node_modules/core-js/internals/require-object-coercible.js");Se.exports=function(Ce){return De(xe(Ce))}},"./node_modules/core-js/internals/to-integer.js":function(Se){var Ne=Math.ceil,fe=Math.floor;Se.exports=function(De){return isNaN(De=+De)?0:(De>0?fe:Ne)(De)}},"./node_modules/core-js/internals/to-length.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=Math.min;Se.exports=function(Ce){return Ce>0?xe(De(Ce),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/require-object-coercible.js");Se.exports=function(xe){return Object(De(xe))}},"./node_modules/core-js/internals/to-primitive.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js"),xe=fe("./node_modules/core-js/internals/is-symbol.js"),Ce=fe("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=fe("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");Se.exports=function(a,ee){if(!De(a)||xe(a))return a;var E=a[y],te;if(E!==void 0){if(ee===void 0&&(ee="default"),te=E.call(a,ee),!De(te)||xe(te))return te;throw TypeError("Can't convert object to primitive value")}return ee===void 0&&(ee="number"),Ce(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-primitive.js"),xe=fe("./node_modules/core-js/internals/is-symbol.js");Se.exports=function(Ce){var ie=De(Ce,"string");return xe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/well-known-symbol.js"),xe=De("toStringTag"),Ce={};Ce[xe]="z",Se.exports=String(Ce)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/is-symbol.js");Se.exports=function(xe){if(De(xe))throw TypeError("Cannot convert a Symbol value to a string");return String(xe)}},"./node_modules/core-js/internals/uid.js":function(Se){var Ne=0,fe=Math.random();Se.exports=function(De){return"Symbol("+String(De===void 0?"":De)+")_"+(++Ne+fe).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/native-symbol.js");Se.exports=De&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/well-known-symbol.js");Ne.f=De},"./node_modules/core-js/internals/well-known-symbol.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/shared.js"),Ce=fe("./node_modules/core-js/internals/has.js"),ie=fe("./node_modules/core-js/internals/uid.js"),y=fe("./node_modules/core-js/internals/native-symbol.js"),a=fe("./node_modules/core-js/internals/use-symbol-as-uid.js"),ee=xe("wks"),E=De.Symbol,te=a?E:E&&E.withoutSetter||ie;Se.exports=function(ne){return(!Ce(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ce(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(Se){Se.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(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ce=fe("./node_modules/core-js/internals/is-array.js"),ie=fe("./node_modules/core-js/internals/is-object.js"),y=fe("./node_modules/core-js/internals/to-object.js"),a=fe("./node_modules/core-js/internals/to-length.js"),ee=fe("./node_modules/core-js/internals/create-property.js"),E=fe("./node_modules/core-js/internals/array-species-create.js"),te=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=fe("./node_modules/core-js/internals/well-known-symbol.js"),ae=fe("./node_modules/core-js/internals/engine-v8-version.js"),ge=ne("isConcatSpreadable"),Le=9007199254740991,Pe="Maximum allowed index exceeded",Ue=ae>=51||!xe(function(){var ke=[];return ke[ge]=!1,ke.concat()[0]!==ke}),Ge=te("concat"),Ze=function(ke){if(!ie(ke))return!1;var vt=ke[ge];return vt!==void 0?!!vt:Ce(ke)},nt=!Ue||!Ge;De({target:"Array",proto:!0,forced:nt},{concat:function(vt){var _e=y(this),Nt=E(_e,0),st=0,ot,bt,ct,pt,At;for(ot=-1,ct=arguments.length;otLe)throw TypeError(Pe);for(bt=0;bt=Le)throw TypeError(Pe);ee(Nt,st++,At)}return Nt.length=st,Nt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/to-indexed-object.js"),xe=fe("./node_modules/core-js/internals/add-to-unscopables.js"),Ce=fe("./node_modules/core-js/internals/iterators.js"),ie=fe("./node_modules/core-js/internals/internal-state.js"),y=fe("./node_modules/core-js/internals/define-iterator.js"),a="Array Iterator",ee=ie.set,E=ie.getterFor(a);Se.exports=y(Array,"Array",function(te,ne){ee(this,{type:a,target:De(te),index:0,kind:ne})},function(){var te=E(this),ne=te.target,ae=te.kind,ge=te.index++;return!ne||ge>=ne.length?(te.target=void 0,{value:void 0,done:!0}):ae=="keys"?{value:ge,done:!1}:ae=="values"?{value:ne[ge],done:!1}:{value:[ge,ne[ge]],done:!1}},"values"),Ce.Arguments=Ce.Array,xe("keys"),xe("values"),xe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/indexed-object.js"),Ce=fe("./node_modules/core-js/internals/to-indexed-object.js"),ie=fe("./node_modules/core-js/internals/array-method-is-strict.js"),y=[].join,a=xe!=Object,ee=ie("join",",");De({target:"Array",proto:!0,forced:a||!ee},{join:function(te){return y.call(Ce(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/array-iteration.js").map,Ce=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ce("map");De({target:"Array",proto:!0,forced:!ie},{map:function(a){return xe(this,a,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/is-object.js"),Ce=fe("./node_modules/core-js/internals/is-array.js"),ie=fe("./node_modules/core-js/internals/to-absolute-index.js"),y=fe("./node_modules/core-js/internals/to-length.js"),a=fe("./node_modules/core-js/internals/to-indexed-object.js"),ee=fe("./node_modules/core-js/internals/create-property.js"),E=fe("./node_modules/core-js/internals/well-known-symbol.js"),te=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ne=te("slice"),ae=E("species"),ge=[].slice,Le=Math.max;De({target:"Array",proto:!0,forced:!ne},{slice:function(Ue,Ge){var Ze=a(this),nt=y(Ze.length),ke=ie(Ue,nt),vt=ie(Ge===void 0?nt:Ge,nt),_e,Nt,st;if(Ce(Ze)&&(_e=Ze.constructor,typeof _e=="function"&&(_e===Array||Ce(_e.prototype))?_e=void 0:xe(_e)&&(_e=_e[ae],_e===null&&(_e=void 0)),_e===Array||_e===void 0))return ge.call(Ze,ke,vt);for(Nt=new(_e===void 0?Array:_e)(Le(vt-ke,0)),st=0;ke2){if(ct=Ue(ct),pt=ct.charCodeAt(0),pt===43||pt===45){if(At=ct.charCodeAt(2),At===88||At===120)return NaN}else if(pt===48){switch(ct.charCodeAt(1)){case 66:case 98:tt=2,zt=49;break;case 79:case 111:tt=8,zt=55;break;default:return+ct}for(Rt=ct.slice(2),ft=Rt.length,Kt=0;Ktzt)return NaN;return parseInt(Rt,tt)}}return+ct};if(Ce(Ge,!Ze(" 0o1")||!Ze("0b1")||Ze("+0x1"))){for(var _e=function(ct){var pt=arguments.length<1?0:ct,At=this;return At instanceof _e&&(ke?ne(function(){nt.valueOf.call(At)}):a(At)!=Ge)?ee(new Ze(vt(pt)),At,_e):vt(pt)},Nt=De?ge(Ze):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),st=0,ot;Nt.length>st;st++)y(Ze,ot=Nt[st])&&!y(_e,ot)&&Pe(_e,ot,Le(Ze,ot));_e.prototype=nt,nt.constructor=_e,ie(xe,Ge,_e)}},"./node_modules/core-js/modules/es.object.assign.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/object-assign.js");De({target:"Object",stat:!0,forced:Object.assign!==xe},{assign:xe})},"./node_modules/core-js/modules/es.object.keys.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/to-object.js"),Ce=fe("./node_modules/core-js/internals/object-keys.js"),ie=fe("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ce(1)});De({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ce(xe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/to-string-tag-support.js"),xe=fe("./node_modules/core-js/internals/redefine.js"),Ce=fe("./node_modules/core-js/internals/object-to-string.js");De||xe(Object.prototype,"toString",Ce,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/redefine.js"),xe=fe("./node_modules/core-js/internals/an-object.js"),Ce=fe("./node_modules/core-js/internals/to-string.js"),ie=fe("./node_modules/core-js/internals/fails.js"),y=fe("./node_modules/core-js/internals/regexp-flags.js"),a="toString",ee=RegExp.prototype,E=ee[a],te=ie(function(){return E.call({source:"a",flags:"b"})!="/a/b"}),ne=E.name!=a;(te||ne)&&De(RegExp.prototype,a,function(){var ge=xe(this),Le=Ce(ge.source),Pe=ge.flags,Ue=Ce(Pe===void 0&&ge instanceof RegExp&&!("flags"in ee)?y.call(ge):Pe);return"/"+Le+"/"+Ue},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/string-multibyte.js").charAt,xe=fe("./node_modules/core-js/internals/to-string.js"),Ce=fe("./node_modules/core-js/internals/internal-state.js"),ie=fe("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ce.set,ee=Ce.getterFor(y);ie(String,"String",function(E){a(this,{type:y,string:xe(E),index:0})},function(){var te=ee(this),ne=te.string,ae=te.index,ge;return ae>=ne.length?{value:void 0,done:!0}:(ge=De(ne,ae),te.index+=ge.length,{value:ge,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/create-html.js"),Ce=fe("./node_modules/core-js/internals/string-html-forced.js");De({target:"String",proto:!0,forced:Ce("link")},{link:function(y){return xe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/descriptors.js"),Ce=fe("./node_modules/core-js/internals/global.js"),ie=fe("./node_modules/core-js/internals/has.js"),y=fe("./node_modules/core-js/internals/is-object.js"),a=fe("./node_modules/core-js/internals/object-define-property.js").f,ee=fe("./node_modules/core-js/internals/copy-constructor-properties.js"),E=Ce.Symbol;if(xe&&typeof E=="function"&&(!("description"in E.prototype)||E().description!==void 0)){var te={},ne=function(){var Ge=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ze=this instanceof ne?new E(Ge):Ge===void 0?E():E(Ge);return Ge===""&&(te[Ze]=!0),Ze};ee(ne,E);var ae=ne.prototype=E.prototype;ae.constructor=ne;var ge=ae.toString,Le=String(E("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;a(ae,"description",{configurable:!0,get:function(){var Ge=y(this)?this.valueOf():this,Ze=ge.call(Ge);if(ie(te,Ge))return"";var nt=Le?Ze.slice(7,-1):Ze.replace(Pe,"$1");return nt===""?void 0:nt}}),De({global:!0,forced:!0},{Symbol:ne})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/define-well-known-symbol.js");De("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(Se,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/global.js"),Ce=fe("./node_modules/core-js/internals/get-built-in.js"),ie=fe("./node_modules/core-js/internals/is-pure.js"),y=fe("./node_modules/core-js/internals/descriptors.js"),a=fe("./node_modules/core-js/internals/native-symbol.js"),ee=fe("./node_modules/core-js/internals/fails.js"),E=fe("./node_modules/core-js/internals/has.js"),te=fe("./node_modules/core-js/internals/is-array.js"),ne=fe("./node_modules/core-js/internals/is-object.js"),ae=fe("./node_modules/core-js/internals/is-symbol.js"),ge=fe("./node_modules/core-js/internals/an-object.js"),Le=fe("./node_modules/core-js/internals/to-object.js"),Pe=fe("./node_modules/core-js/internals/to-indexed-object.js"),Ue=fe("./node_modules/core-js/internals/to-property-key.js"),Ge=fe("./node_modules/core-js/internals/to-string.js"),Ze=fe("./node_modules/core-js/internals/create-property-descriptor.js"),nt=fe("./node_modules/core-js/internals/object-create.js"),ke=fe("./node_modules/core-js/internals/object-keys.js"),vt=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),_e=fe("./node_modules/core-js/internals/object-get-own-property-names-external.js"),Nt=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),st=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ot=fe("./node_modules/core-js/internals/object-define-property.js"),bt=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),ct=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),pt=fe("./node_modules/core-js/internals/redefine.js"),At=fe("./node_modules/core-js/internals/shared.js"),tt=fe("./node_modules/core-js/internals/shared-key.js"),zt=fe("./node_modules/core-js/internals/hidden-keys.js"),Rt=fe("./node_modules/core-js/internals/uid.js"),ft=fe("./node_modules/core-js/internals/well-known-symbol.js"),Kt=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),yn=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Hn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ln=fe("./node_modules/core-js/internals/internal-state.js"),Wn=fe("./node_modules/core-js/internals/array-iteration.js").forEach,Bt=tt("hidden"),Un="Symbol",ar="prototype",Je=ft("toPrimitive"),gn=ln.set,Fe=ln.getterFor(Un),he=Object[ar],de=xe.Symbol,ye=Ce("JSON","stringify"),qe=st.f,dt=ot.f,Re=_e.f,Xe=bt.f,Ct=At("symbols"),gt=At("op-symbols"),it=At("string-to-symbol-registry"),kt=At("symbol-to-string-registry"),kn=At("wks"),Ft=xe.QObject,on=!Ft||!Ft[ar]||!Ft[ar].findChild,Ot=y&&ee(function(){return nt(dt({},"a",{get:function(){return dt(this,"a",{value:7}).a}})).a!=7})?function(cr,sr,dr){var Pr=qe(he,sr);Pr&&delete he[sr],dt(cr,sr,dr),Pr&&cr!==he&&dt(he,sr,Pr)}:dt,En=function(cr,sr){var dr=Ct[cr]=nt(de[ar]);return gn(dr,{type:Un,tag:cr,description:sr}),y||(dr.description=sr),dr},lt=function(sr,dr,Pr){sr===he&<(gt,dr,Pr),ge(sr);var ta=Ue(dr);return ge(Pr),E(Ct,ta)?(Pr.enumerable?(E(sr,Bt)&&sr[Bt][ta]&&(sr[Bt][ta]=!1),Pr=nt(Pr,{enumerable:Ze(0,!1)})):(E(sr,Bt)||dt(sr,Bt,Ze(1,{})),sr[Bt][ta]=!0),Ot(sr,ta,Pr)):dt(sr,ta,Pr)},Jt=function(sr,dr){ge(sr);var Pr=Pe(dr),ta=ke(Pr).concat(Er(Pr));return Wn(ta,function(Wr){(!y||bn.call(Pr,Wr))&<(sr,Wr,Pr[Wr])}),sr},vn=function(sr,dr){return dr===void 0?nt(sr):Jt(nt(sr),dr)},bn=function(sr){var dr=Ue(sr),Pr=Xe.call(this,dr);return this===he&&E(Ct,dr)&&!E(gt,dr)?!1:Pr||!E(this,dr)||!E(Ct,dr)||E(this,Bt)&&this[Bt][dr]?Pr:!0},qn=function(sr,dr){var Pr=Pe(sr),ta=Ue(dr);if(!(Pr===he&&E(Ct,ta)&&!E(gt,ta))){var Wr=qe(Pr,ta);return Wr&&E(Ct,ta)&&!(E(Pr,Bt)&&Pr[Bt][ta])&&(Wr.enumerable=!0),Wr}},lr=function(sr){var dr=Re(Pe(sr)),Pr=[];return Wn(dr,function(ta){!E(Ct,ta)&&!E(zt,ta)&&Pr.push(ta)}),Pr},Er=function(sr){var dr=sr===he,Pr=Re(dr?gt:Pe(sr)),ta=[];return Wn(Pr,function(Wr){E(Ct,Wr)&&(!dr||E(he,Wr))&&ta.push(Ct[Wr])}),ta};if(a||(de=function(){if(this instanceof de)throw TypeError("Symbol is not a constructor");var sr=!arguments.length||arguments[0]===void 0?void 0:Ge(arguments[0]),dr=Rt(sr),Pr=function(ta){this===he&&Pr.call(gt,ta),E(this,Bt)&&E(this[Bt],dr)&&(this[Bt][dr]=!1),Ot(this,dr,Ze(1,ta))};return y&&on&&Ot(he,dr,{configurable:!0,set:Pr}),En(dr,sr)},pt(de[ar],"toString",function(){return Fe(this).tag}),pt(de,"withoutSetter",function(cr){return En(Rt(cr),cr)}),bt.f=bn,ot.f=lt,st.f=qn,vt.f=_e.f=lr,Nt.f=Er,Kt.f=function(cr){return En(ft(cr),cr)},y&&(dt(de[ar],"description",{configurable:!0,get:function(){return Fe(this).description}}),ie||pt(he,"propertyIsEnumerable",bn,{unsafe:!0}))),De({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:de}),Wn(ke(kn),function(cr){yn(cr)}),De({target:Un,stat:!0,forced:!a},{for:function(cr){var sr=Ge(cr);if(E(it,sr))return it[sr];var dr=de(sr);return it[sr]=dr,kt[dr]=sr,dr},keyFor:function(sr){if(!ae(sr))throw TypeError(sr+" is not a symbol");if(E(kt,sr))return kt[sr]},useSetter:function(){on=!0},useSimple:function(){on=!1}}),De({target:"Object",stat:!0,forced:!a,sham:!y},{create:vn,defineProperty:lt,defineProperties:Jt,getOwnPropertyDescriptor:qn}),De({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:lr,getOwnPropertySymbols:Er}),De({target:"Object",stat:!0,forced:ee(function(){Nt.f(1)})},{getOwnPropertySymbols:function(sr){return Nt.f(Le(sr))}}),ye){var Cr=!a||ee(function(){var cr=de();return ye([cr])!="[null]"||ye({a:cr})!="{}"||ye(Object(cr))!="{}"});De({target:"JSON",stat:!0,forced:Cr},{stringify:function(sr,dr,Pr){for(var ta=[sr],Wr=1,Rr;arguments.length>Wr;)ta.push(arguments[Wr++]);if(Rr=dr,!(!ne(dr)&&sr===void 0||ae(sr)))return te(dr)||(dr=function(so,to){if(typeof Rr=="function"&&(to=Rr.call(this,so,to)),!ae(to))return to}),ta[1]=dr,ye.apply(null,ta)}})}de[ar][Je]||ct(de[ar],Je,de[ar].valueOf),Hn(de,Un),zt[Bt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/dom-iterables.js"),Ce=fe("./node_modules/core-js/internals/array-for-each.js"),ie=fe("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var y in xe){var a=De[y],ee=a&&a.prototype;if(ee&&ee.forEach!==Ce)try{ie(ee,"forEach",Ce)}catch(E){ee.forEach=Ce}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(Se,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/dom-iterables.js"),Ce=fe("./node_modules/core-js/modules/es.array.iterator.js"),ie=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),y=fe("./node_modules/core-js/internals/well-known-symbol.js"),a=y("iterator"),ee=y("toStringTag"),E=Ce.values;for(var te in xe){var ne=De[te],ae=ne&&ne.prototype;if(ae){if(ae[a]!==E)try{ie(ae,a,E)}catch(Le){ae[a]=E}if(ae[ee]||ie(ae,ee,te),xe[te]){for(var ge in Ce)if(ae[ge]!==Ce[ge])try{ie(ae,ge,Ce[ge])}catch(Le){ae[ge]=Ce[ge]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(Se){(function(Ne,fe){Se.exports=fe()})(this,function(){"use strict";function Ne(Ft){var on=typeof Ft;return Ft!==null&&(on==="object"||on==="function")}function fe(Ft){return typeof Ft=="function"}var De=void 0;Array.isArray?De=Array.isArray:De=function(Ft){return Object.prototype.toString.call(Ft)==="[object Array]"};var xe=De,Ce=0,ie=void 0,y=void 0,a=function(on,Ot){ke[Ce]=on,ke[Ce+1]=Ot,Ce+=2,Ce===2&&(y?y(vt):Nt())};function ee(Ft){y=Ft}function E(Ft){a=Ft}var te=typeof window!="undefined"?window:void 0,ne=te||{},ae=ne.MutationObserver||ne.WebKitMutationObserver,ge=typeof self=="undefined"&&typeof le!="undefined"&&{}.toString.call(le)==="[object process]",Le=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return le.nextTick(vt)}}function Ue(){return typeof ie!="undefined"?function(){ie(vt)}:nt()}function Ge(){var Ft=0,on=new ae(vt),Ot=document.createTextNode("");return on.observe(Ot,{characterData:!0}),function(){Ot.data=Ft=++Ft%2}}function Ze(){var Ft=new MessageChannel;return Ft.port1.onmessage=vt,function(){return Ft.port2.postMessage(0)}}function nt(){var Ft=setTimeout;return function(){return Ft(vt,1)}}var ke=new Array(1e3);function vt(){for(var Ft=0;Ft>1,fe=-7,De=Ee?rt-1:0,xe=Ee?-1:1,Ce=Be[le+De];for(De+=xe,Ke=Ce&(1<<-fe)-1,Ce>>=-fe,fe+=ve;fe>0;Ke=Ke*256+Be[le+De],De+=xe,fe-=8);for(He=Ke&(1<<-fe)-1,Ke>>=-fe,fe+=je;fe>0;He=He*256+Be[le+De],De+=xe,fe-=8);if(Ke===0)Ke=1-Ne;else{if(Ke===Se)return He?NaN:(Ce?-1:1)*(1/0);He=He+Math.pow(2,je),Ke=Ke-Ne}return(Ce?-1:1)*He*Math.pow(2,Ke-je)},It.write=function(Be,le,Ee,je,rt,Ke){var He,ve,Se,Ne=Ke*8-rt-1,fe=(1<>1,xe=rt===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ce=je?0:Ke-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?(ve=isNaN(le)?1:0,He=fe):(He=Math.floor(Math.log(le)/Math.LN2),le*(Se=Math.pow(2,-He))<1&&(He--,Se*=2),He+De>=1?le+=xe/Se:le+=xe*Math.pow(2,1-De),le*Se>=2&&(He++,Se/=2),He+De>=fe?(ve=0,He=fe):He+De>=1?(ve=(le*Se-1)*Math.pow(2,rt),He=He+De):(ve=le*Math.pow(2,De-1)*Math.pow(2,rt),He=0));rt>=8;Be[Ee+Ce]=ve&255,Ce+=ie,ve/=256,rt-=8);for(He=He<0;Be[Ee+Ce]=He&255,Ce+=ie,He/=256,Ne-=8);Be[Ee+Ce-ie]|=y*128}},65355:function(Xt,It,Be){"use strict";Be.r(It),Be.d(It,{AcroForm:function(){return Bu},AcroFormAppearance:function(){return Sa},AcroFormButton:function(){return Ko},AcroFormCheckBox:function(){return ji},AcroFormChoiceField:function(){return ba},AcroFormComboBox:function(){return oo},AcroFormEditBox:function(){return eo},AcroFormListBox:function(){return ei},AcroFormPasswordField:function(){return Go},AcroFormPushButton:function(){return ci},AcroFormRadioButton:function(){return Oo},AcroFormTextField:function(){return vi},GState:function(){return Vg},ShadingPattern:function(){return ed},TilingPattern:function(){return td},default:function(){return po},jsPDF:function(){return po}});var le=Be(76190),Ee={},je=function(b,z,x,re,oe){var Ae=new Worker(Ee[z]||(Ee[z]=URL.createObjectURL(new Blob([b+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Ae.onmessage=function(Ie){var be=Ie.data,Oe=be.$e$;if(Oe){var Te=new Error(Oe[0]);Te.code=Oe[1],Te.stack=Oe[2],oe(Te,null)}else oe(null,be)},Ae.postMessage(x,re),Ae},rt=Uint8Array,Ke=Uint16Array,He=Int32Array,ve=new rt([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]),Se=new rt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ne=new rt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fe=function(b,z){for(var x=new Ke(31),re=0;re<31;++re)x[re]=z+=1<>1|(E&21845)<<1;te=(te&52428)>>2|(te&13107)<<2,te=(te&61680)>>4|(te&3855)<<4,ee[E]=((te&65280)>>8|(te&255)<<8)>>1}for(var ne=function(b,z,x){for(var re=b.length,oe=0,Ae=new Ke(z);oe>Oe]=Te}else for(be=new Ke(re),oe=0;oe>15-b[oe]);return be},ae=new rt(288),E=0;E<144;++E)ae[E]=8;for(var E=144;E<256;++E)ae[E]=9;for(var E=256;E<280;++E)ae[E]=7;for(var E=280;E<288;++E)ae[E]=8;for(var ge=new rt(32),E=0;E<32;++E)ge[E]=5;var Le=ne(ae,9,0),Pe=null,Ue=ne(ge,5,0),Ge=null,Ze=function(b){for(var z=b[0],x=1;xz&&(z=b[x]);return z},nt=function(b,z,x){var re=z/8|0;return(b[re]|b[re+1]<<8)>>(z&7)&x},ke=function(b,z){var x=z/8|0;return(b[x]|b[x+1]<<8|b[x+2]<<16)>>(z&7)},vt=function(b){return(b+7)/8|0},_e=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new rt(b.subarray(z,x))},Nt={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},st=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],ot=function(b,z,x){var re=new Error(z||st[b]);if(re.code=b,Error.captureStackTrace&&Error.captureStackTrace(re,ot),!x)throw re;return re},bt=function(b,z,x,re){var oe=b.length,Ae=re?re.length:0;if(!oe||z.f&&!z.l)return x||new rt(0);var Ie=!x,be=Ie||z.i!=2,Oe=z.i;Ie&&(x=new rt(oe*3));var Te=function(oa){var ka=x.length;if(oa>ka){var ja=new rt(Math.max(ka*2,oa));ja.set(x),x=ja}},Ve=z.f||0,ut=z.p||0,wt=z.b||0,We=z.l,Gt=z.d,Ht=z.m,Vt=z.n,Dt=oe*8;do{if(!We){Ve=nt(b,ut,1);var Ln=nt(b,ut+1,3);if(ut+=3,Ln)if(Ln==1)We=Pe,Gt=Ge,Ht=9,Vt=5;else if(Ln==2){var Lr=nt(b,ut,31)+257,hr=nt(b,ut+10,15)+4,Rn=Lr+nt(b,ut+5,31)+1;ut+=14;for(var un=new rt(Rn),Xn=new rt(19),Lt=0;Lt>4;if(Bn<16)un[Lt++]=Bn;else{var fr=0,Br=0;for(Bn==16?(Br=3+nt(b,ut,3),ut+=2,fr=un[Lt-1]):Bn==17?(Br=3+nt(b,ut,7),ut+=3):Bn==18&&(Br=11+nt(b,ut,127),ut+=7);Br--;)un[Lt++]=fr}}var nr=un.subarray(0,Lr),wr=un.subarray(Lr);Ht=Ze(nr),Vt=Ze(wr),We=ne(nr,Ht,1),Gt=ne(wr,Vt,1)}else ot(1);else{var Bn=vt(ut)+4,An=b[Bn-4]|b[Bn-3]<<8,ir=Bn+An;if(ir>oe){Oe&&ot(0);break}be&&Te(wt+An),x.set(b.subarray(Bn,ir),wt),z.b=wt+=An,z.p=ut=ir*8,z.f=Ve;continue}if(ut>Dt){Oe&&ot(0);break}}be&&Te(wt+131072);for(var va=(1<>4;if(ut+=fr&15,ut>Dt){Oe&&ot(0);break}if(fr||ot(2),an<256)x[wt++]=an;else if(an==256){xt=ut,We=null;break}else{var fn=an-254;if(an>264){var Lt=an-257,_n=ve[Lt];fn=nt(b,ut,(1<<_n)-1)+xe[Lt],ut+=_n}var Kn=Gt[ke(b,ut)&Zr],rr=Kn>>4;Kn||ot(3),ut+=Kn&15;var wr=y[rr];if(rr>3){var _n=Se[rr];wr+=ke(b,ut)&(1<<_n)-1,ut+=_n}if(ut>Dt){Oe&&ot(0);break}be&&Te(wt+131072);var vr=wt+fn;if(wt>8},pt=function(b,z,x){x<<=z&7;var re=z/8|0;b[re]|=x,b[re+1]|=x>>8,b[re+2]|=x>>16},At=function(b,z){for(var x=[],re=0;rewt&&(wt=Ae[re].s);var We=new Ke(wt+1),Gt=tt(x[Ve-1],We,0);if(Gt>z){var re=0,Ht=0,Vt=Gt-z,Dt=1<z)Ht+=Dt-(1<>=Vt;Ht>0;){var Bn=Ae[re].s;We[Bn]=0&&Ht;--re){var An=Ae[re].s;We[An]==z&&(--We[An],++Ht)}Gt=z}return{t:new rt(We),l:Gt}},tt=function(b,z,x){return b.s==-1?Math.max(tt(b.l,z,x+1),tt(b.r,z,x+1)):z[b.s]=x},zt=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new Ke(++z),re=0,oe=b[0],Ae=1,Ie=function(Oe){x[re++]=Oe},be=1;be<=z;++be)if(b[be]==oe&&be!=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=b[be]}return{c:x.subarray(0,re),n:z}},Rt=function(b,z){for(var x=0,re=0;re>8,b[oe+2]=b[oe]^255,b[oe+3]=b[oe+1]^255;for(var Ae=0;Ae4&&!Xn[Ne[Yt-1]];--Yt);var xn=Te+5<<3,wn=Rt(oe,ae)+Rt(Ae,ge)+Ie,Ar=Rt(oe,wt)+Rt(Ae,Ht)+Ie+14+3*Yt+Rt(hr,Xn)+2*hr[16]+3*hr[17]+7*hr[18];if(Oe>=0&&xn<=wn&&xn<=Ar)return ft(z,Ve,b.subarray(Oe,Oe+Te));var fr,Br,nr,wr;if(ct(z,Ve,1+(Ar15&&(ct(z,Ve,an[Rn]>>5&127),Ve+=an[Rn]>>12)}}else fr=Le,Br=ae,nr=Ue,wr=ge;for(var Rn=0;Rn255){var fn=_n>>18&31;pt(z,Ve,fr[fn+257]),Ve+=Br[fn+257],fn>7&&(ct(z,Ve,_n>>23&31),Ve+=ve[fn]);var Kn=_n&31;pt(z,Ve,nr[Kn]),Ve+=wr[Kn],Kn>3&&(pt(z,Ve,_n>>5&8191),Ve+=Se[Kn])}else pt(z,Ve,fr[_n]),Ve+=Br[_n]}return pt(z,Ve,fr[256]),Ve+Br[256]},yn=new He([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Hn=new rt(0),ln=function(b,z,x,re,oe,Ae){var Ie=Ae.z||b.length,be=new rt(re+Ie+5*(1+Math.ceil(Ie/7e3))+oe),Oe=be.subarray(re,be.length-oe),Te=Ae.l,Ve=(Ae.r||0)&7;if(z){Ve&&(Oe[0]=Ae.r>>3);for(var ut=yn[z-1],wt=ut>>13,We=ut&8191,Gt=(1<7e3||Xn>24576)&&(fr>423||!Te)){Ve=Kt(b,Oe,0,An,ir,Lr,Rn,Xn,Yt,un-Yt,Ve),Xn=hr=Rn=0,Yt=un;for(var Br=0;Br<286;++Br)ir[Br]=0;for(var Br=0;Br<30;++Br)Lr[Br]=0}var nr=2,wr=0,va=We,Zr=wn-Ar&32767;if(fr>2&&xn==Bn(un-Zr))for(var xt=Math.min(wt,fr)-1,an=Math.min(32767,un),fn=Math.min(258,fr);Zr<=an&&--va&&wn!=Ar;){if(b[un+nr]==b[un+nr-Zr]){for(var _n=0;_nnr){if(nr=_n,wr=Zr,_n>xt)break;for(var Kn=Math.min(Zr,_n-2),rr=0,Br=0;Brrr&&(rr=kr,Ar=vr)}}}wn=Ar,Ar=Ht[wn],Zr+=wn-Ar&32767}if(wr){An[Xn++]=268435456|Ce[nr]<<18|a[wr];var oa=Ce[nr]&31,ka=a[wr]&31;Rn+=ve[oa]+Se[ka],++ir[257+oa],++Lr[ka],Lt=un+nr,++hr}else An[Xn++]=b[un],++ir[b[un]]}}for(un=Math.max(un,Lt);un=Ie&&(Oe[Ve/8|0]=Te,ja=Ie),Ve=ft(Oe,Ve+1,b.subarray(un,ja))}Ae.i=Ie}return _e(be,0,re+vt(Ve)+oe)},Wn=null,Bt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re>>8;b=x},d:function(){return~b}}},Un=function(){var b=1,z=0;return{p:function(x){for(var re=b,oe=z,Ae=x.length|0,Ie=0;Ie!=Ae;){for(var be=Math.min(Ie+2655,Ae);Ie>16),oe=(oe&65535)+15*(oe>>16)}b=re,z=oe},d:function(){return b%=65521,z%=65521,(b&255)<<24|(b&65280)<<8|(z&255)<<8|z>>8}}},ar=function(b,z,x,re,oe){if(!oe&&(oe={l:1},z.dictionary)){var Ae=z.dictionary.subarray(-32768),Ie=new rt(Ae.length+b.length);Ie.set(Ae),Ie.set(b,Ae.length),b=Ie,oe.w=Ae.length}return ln(b,z.level==null?6:z.level,z.mem==null?oe.l?Math.ceil(Math.max(8,Math.min(13,Math.log(b.length)))*1.5):20:12+z.mem,x,re,oe)},Je=function(b,z){var x={};for(var re in b)x[re]=b[re];for(var re in z)x[re]=z[re];return x},gn=function(b,z,x){for(var re=b(),oe=b.toString(),Ae=oe.slice(oe.indexOf("[")+1,oe.lastIndexOf("]")).replace(/\s+/g,"").split(","),Ie=0;Ie>>0},En=function(b,z){return Ot(b,z)+Ot(b,z+4)*4294967296},lt=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Jt=function(b,z){var x=z.filename;if(b[0]=31,b[1]=139,b[2]=8,b[8]=z.level<2?4:z.level==9?2:0,b[9]=3,z.mtime!=0&<(b,4,Math.floor(new Date(z.mtime||Date.now())/1e3)),x){b[3]=8;for(var re=0;re<=x.length;++re)b[re+10]=x.charCodeAt(re)}},vn=function(b){(b[0]!=31||b[1]!=139||b[2]!=8)&&ot(6,"invalid gzip data");var z=b[3],x=10;z&4&&(x+=(b[10]|b[11]<<8)+2);for(var re=(z>>3&1)+(z>>4&1);re>0;re-=!b[x++]);return x+(z&2)},bn=function(b){var z=b.length;return(b[z-4]|b[z-3]<<8|b[z-2]<<16|b[z-1]<<24)>>>0},qn=function(b){return 10+(b.filename?b.filename.length+1:0)},lr=function(b,z){var x=z.level,re=x==0?0:x<6?1:x==9?3:2;if(b[0]=120,b[1]=re<<6|(z.dictionary&&32),b[1]|=31-(b[0]<<8|b[1])%31,z.dictionary){var oe=Un();oe.p(z.dictionary),lt(b,2,oe.d())}},Er=function(b,z){return((b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31)&&ot(6,"invalid zlib data"),(b[1]>>5&1)==+!z&&ot(6,"invalid zlib data: "+(b[1]&32?"need":"unexpected")+" dictionary"),(b[1]>>3&4)+2};function Cr(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var cr=null,sr=null;function dr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[qe],function(re){return gt(Pr(re.data[0],re.data[1]))},0,x)}function Pr(b,z){return ar(b,z||{},0,0)}var ta=null,Wr=null;function Rr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[ye],function(re){return gt(so(re.data[0],it(re.data[1])))},1,x)}function so(b,z){return bt(b,{i:2},z&&z.out,z&&z.dictionary)}var to=null,Hr=null;function sn(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[qe,dt,function(){return[Oa]}],function(re){return gt(Oa(re.data[0],re.data[1]))},2,x)}function Oa(b,z){z||(z={});var x=Bt(),re=b.length;x.p(b);var oe=ar(b,z,qn(z),8),Ae=oe.length;return Jt(oe,z),lt(oe,Ae-8,x.d()),lt(oe,Ae-4,re),oe}var Po=null,Ei=null;function So(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[ye,Re,function(){return[Ro]}],function(re){return gt(Ro(re.data[0],re.data[1]))},3,x)}function Ro(b,z){var x=vn(b);return x+8>b.length&&ot(6,"invalid gzip data"),bt(b.subarray(x,-8),{i:2},z&&z.out||new rt(bn(b)),z&&z.dictionary)}var Gi=null,Mi=null;function qa(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[qe,Xe,function(){return[In]}],function(re){return gt(In(re.data[0],re.data[1]))},4,x)}function In(b,z){z||(z={});var x=Un();x.p(b);var re=ar(b,z,z.dictionary?6:2,4);return lr(re,z),lt(re,re.length-4,x.d()),re}var Tn=null,pn=null;function Ur(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),kt(b,z,[ye,Ct,function(){return[ua]}],function(re){return gt(ua(re.data[0],it(re.data[1])))},5,x)}function ua(b,z){return bt(b.subarray(Er(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var Tr=null,Fa=null;function Na(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),b[0]==31&&b[1]==139&&b[2]==8?So(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?Rr(b,z,x):Ur(b,z,x)}function Ma(b,z){return b[0]==31&&b[1]==139&&b[2]==8?Ro(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?so(b,z):ua(b,z)}var jo=function(b,z,x,re){for(var oe in b){var Ae=b[oe],Ie=z+oe,be=re;Array.isArray(Ae)&&(be=Je(re,Ae[1]),Ae=Ae[0]),Ae instanceof rt?x[Ie]=[Ae,be]:(x[Ie+="/"]=[new rt(0),be],jo(Ae,Ie,x,re))}},pi=typeof TextEncoder!="undefined"&&new TextEncoder,Ir=typeof TextDecoder!="undefined"&&new TextDecoder,Ja=0;try{Ir.decode(Hn,{stream:!0}),Ja=1}catch(b){}var Ci=function(b){for(var z="",x=0;;){var re=b[x++],oe=(re>127)+(re>223)+(re>239);if(x+oe>b.length)return{s:z,r:_e(b,x-1)};oe?oe==3?(re=((re&15)<<18|(b[x++]&63)<<12|(b[x++]&63)<<6|b[x++]&63)-65536,z+=String.fromCharCode(55296|re>>10,56320|re&1023)):oe&1?z+=String.fromCharCode((re&31)<<6|b[x++]&63):z+=String.fromCharCode((re&15)<<12|(b[x++]&63)<<6|b[x++]&63):z+=String.fromCharCode(re)}},ii=null,Do=null;function Lo(b,z){if(z){for(var x=new rt(b.length),re=0;re>1)),Ie=0,be=function(Ve){Ae[Ie++]=Ve},re=0;reAe.length){var Oe=new rt(Ie+8+(oe-re<<1));Oe.set(Ae),Ae=Oe}var Te=b.charCodeAt(re);Te<128||z?be(Te):Te<2048?(be(192|Te>>6),be(128|Te&63)):Te>55295&&Te<57344?(Te=65536+(Te&1047552)|b.charCodeAt(++re)&1023,be(240|Te>>18),be(128|Te>>12&63),be(128|Te>>6&63),be(128|Te&63)):(be(224|Te>>12),be(128|Te>>6&63),be(128|Te&63))}return _e(Ae,0,Ie)}function Zi(b,z){if(z){for(var x="",re=0;re65535&&ot(9),z+=re+4}return z},PA=function(b,z,x,re,oe,Ae,Ie,be){var Oe=re.length,Te=x.extra,Ve=be&&be.length,ut=Hi(Te);lt(b,z,Ie!=null?33639248:67324752),z+=4,Ie!=null&&(b[z++]=20,b[z++]=x.os),b[z]=20,z+=2,b[z++]=x.flag<<1|(Ae<0&&8),b[z++]=oe&&8,b[z++]=x.compression&255,b[z++]=x.compression>>8;var wt=new Date(x.mtime==null?Date.now():x.mtime),We=wt.getFullYear()-1980;if((We<0||We>119)&&ot(10),lt(b,z,We<<25|wt.getMonth()+1<<21|wt.getDate()<<16|wt.getHours()<<11|wt.getMinutes()<<5|wt.getSeconds()>>1),z+=4,Ae!=-1&&(lt(b,z,x.crc),lt(b,z+4,Ae<0?-Ae-2:Ae),lt(b,z+8,x.size)),lt(b,z+12,Oe),lt(b,z+14,ut),z+=16,Ie!=null&&(lt(b,z,Ve),lt(b,z+6,x.attrs),lt(b,z+10,Ie),z+=14),b.set(re,z),z+=Oe,ut)for(var Gt in Te){var Ht=Te[Gt],Vt=Ht.length;lt(b,z,+Gt),lt(b,z+2,Vt),b.set(Ht,z+4),z+=4+Vt}return Ve&&(b.set(be,z),z+=Ve),z},Sl=function(b,z,x,re,oe){lt(b,z,101010256),lt(b,z+8,x),lt(b,z+10,x),lt(b,z+12,re),lt(b,z+16,oe)},js=null,Or=null,Yu=null,Au=null;function Nl(b,z,x){x||(x=z,z={}),typeof x!="function"&&ot(7);var re={};jo(b,"",re,z);var oe=Object.keys(re),Ae=oe.length,Ie=0,be=0,Oe=Ae,Te=new Array(Ae),Ve=[],ut=function(){for(var Vt=0;Vt65535&&wn(ot(11,0,1),null),!xn)wn(null,Bn);else if(Lr<16e4)try{wn(null,Pr(Bn,An))}catch(Ar){wn(Ar,null)}else Ve.push(dr(Bn,An,wn))},Ht=0;Ht65535&&ot(11);var Dt=Ve?Pr(Oe,Te):Oe,Ln=Dt.length,Bn=Bt();Bn.p(Oe),re.push(Je(Te,{size:Oe.length,crc:Bn.d(),c:Dt,f:ut,m:Gt,u:wt!=Ie.length||Gt&&We.length!=Ht,o:oe,compression:Ve})),oe+=30+wt+Vt+Ln,Ae+=76+2*(wt+Vt)+(Ht||0)+Ln}for(var An=new rt(Ae+22),ir=oe,Lr=Ae-oe,hr=0;hr65558)return Ie(ot(13,0,1),null),oe;var Oe=on(b,be+8);if(Oe){var Te=Oe,Ve=Ot(b,be+16),ut=Ve==4294967295||Te==65535;if(ut){var wt=Ot(b,be-12);ut=Ot(b,wt)==101075792,ut&&(Te=Oe=Ot(b,wt+32),Ve=Ot(b,wt+48))}for(var We=z&&z.filter,Gt=function(Vt){var Dt=wA(b,Ve,ut),Ln=Dt[0],Bn=Dt[1],An=Dt[2],ir=Dt[3],Lr=Dt[4],hr=Dt[5],Rn=AA(b,hr);Ve=Lr;var un=function(Lt,Yt){Lt?(oe(),Ie(Lt,null)):(Yt&&(Ae[ir]=Yt),--Oe||Ie(null,Ae))};if(!We||We({name:ir,size:Bn,originalSize:An,compression:Ln}))if(!Ln)un(null,_e(b,Rn,Rn+Bn));else if(Ln==8){var Xn=b.subarray(Rn,Rn+Bn);if(An<524288||Bn>.8*An)try{un(null,so(Xn,{out:new rt(An)}))}catch(Lt){un(Lt,null)}else re.push(Rr(Xn,{size:An},un))}else un(ot(14,"unknown compression type "+Ln,1),null);else un(null,null)},Ht=0;Ht65558)&&ot(13);var oe=on(b,re+8);if(!oe)return{};var Ae=Ot(b,re+16),Ie=Ae==4294967295||oe==65535;if(Ie){var be=Ot(b,re-12);Ie=Ot(b,be)==101075792,Ie&&(oe=Ot(b,be+32),Ae=Ot(b,be+48))}for(var Oe=z&&z.filter,Te=0;Te{const b=new Uint8Array(4),z=new Uint32Array(b.buffer);return!((z[0]=1)&b[0])})(),wl={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 Dl{constructor(z=Mc,x={}){gs(this,"buffer");gs(this,"byteLength");gs(this,"byteOffset");gs(this,"length");gs(this,"offset");gs(this,"lastWrittenByte");gs(this,"littleEndian");gs(this,"_data");gs(this,"_mark");gs(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 Dl)&&(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=wl[x].BYTES_PER_ELEMENT*z,oe=this.byteOffset+this.offset,Ae=this.buffer.slice(oe,oe+re);if(this.littleEndian===qu&&x!=="uint8"&&x!=="int8"){const be=new Uint8Array(this.buffer.slice(oe,oe+re));be.reverse();const Oe=new wl[x](be.buffer);return this.offset+=re,Oe.reverse(),Oe}const Ie=new wl[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 Qu=4,Zl=0,Wl=1,Ul=2;function ul(b){let z=b.length;for(;--z>=0;)b[z]=0}const bu=0,pA=1,vc=2,Ol=3,dn=258,Eu=29,yA=256,lu=yA+1+Eu,Vs=30,uu=19,Cu=2*lu+1,_l=15,Xs=16,Js=7,Bc=256,fs=16,$u=17,ku=18,Da=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]),da=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]),Zt=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),_t=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nn=512,ur=new Array((lu+2)*2);ul(ur);const sa=new Array(Vs*2);ul(sa);const wa=new Array(Nn);ul(wa);const na=new Array(dn-Ol+1);ul(na);const _r=new Array(Eu);ul(_r);const Aa=new Array(Vs);ul(Aa);function Ta(b,z,x,re,oe){this.static_tree=b,this.extra_bits=z,this.extra_base=x,this.elems=re,this.max_length=oe,this.has_stree=b&&b.length}let ko,Fi,za;function hs(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const si=b=>b<256?wa[b]:wa[256+(b>>>7)],Dn=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},Wt=(b,z,x)=>{b.bi_valid>Xs-x?(b.bi_buf|=z<>Xs-b.bi_valid,b.bi_valid+=x-Xs):(b.bi_buf|=z<{Wt(b,x[z*2],x[z*2+1])},Jn=(b,z)=>{let x=0;do x|=b&1,b>>>=1,x<<=1;while(--z>0);return x>>>1},jr=b=>{b.bi_valid===16?(Dn(b,b.bi_buf),b.bi_buf=0,b.bi_valid=0):b.bi_valid>=8&&(b.pending_buf[b.pending++]=b.bi_buf&255,b.bi_buf>>=8,b.bi_valid-=8)},ra=(b,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,be=z.stat_desc.extra_base,Oe=z.stat_desc.max_length;let Te,Ve,ut,wt,We,Gt,Ht=0;for(wt=0;wt<=_l;wt++)b.bl_count[wt]=0;for(x[b.heap[b.heap_max]*2+1]=0,Te=b.heap_max+1;TeOe&&(wt=Oe,Ht++),x[Ve*2+1]=wt,!(Ve>re)&&(b.bl_count[wt]++,We=0,Ve>=be&&(We=Ie[Ve-be]),Gt=x[Ve*2],b.opt_len+=Gt*(wt+We),Ae&&(b.static_len+=Gt*(oe[Ve*2+1]+We)));if(Ht!==0){do{for(wt=Oe-1;b.bl_count[wt]===0;)wt--;b.bl_count[wt]--,b.bl_count[wt+1]+=2,b.bl_count[Oe]--,Ht-=2}while(Ht>0);for(wt=Oe;wt!==0;wt--)for(Ve=b.bl_count[wt];Ve!==0;)ut=b.heap[--Te],!(ut>re)&&(x[ut*2+1]!==wt&&(b.opt_len+=(wt-x[ut*2+1])*x[ut*2],x[ut*2+1]=wt),Ve--)}},er=(b,z,x)=>{const re=new Array(_l+1);let oe=0,Ae,Ie;for(Ae=1;Ae<=_l;Ae++)oe=oe+x[Ae-1]<<1,re[Ae]=oe;for(Ie=0;Ie<=z;Ie++){let be=b[Ie*2+1];be!==0&&(b[Ie*2]=Jn(re[be]++,be))}},ga=()=>{let b,z,x,re,oe;const Ae=new Array(_l+1);for(x=0,re=0;re>=7;re{let z;for(z=0;z{b.bi_valid>8?Dn(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},La=(b,z,x,re)=>{const oe=z*2,Ae=x*2;return b[oe]{const re=b.heap[x];let oe=x<<1;for(;oe<=b.heap_len&&(oe{let re,oe,Ae=0,Ie,be;if(b.sym_next!==0)do re=b.pending_buf[b.sym_buf+Ae++]&255,re+=(b.pending_buf[b.sym_buf+Ae++]&255)<<8,oe=b.pending_buf[b.sym_buf+Ae++],re===0?mn(b,oe,z):(Ie=na[oe],mn(b,Ie+yA+1,z),be=Da[Ie],be!==0&&(oe-=_r[Ie],Wt(b,oe,be)),re--,Ie=si(re),mn(b,Ie,x),be=da[Ie],be!==0&&(re-=Aa[Ie],Wt(b,re,be)));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,be,Oe=-1,Te;for(b.heap_len=0,b.heap_max=Cu,Ie=0;Ie>1;Ie>=1;Ie--)Kr(b,x,Ie);Te=Ae;do Ie=b.heap[1],b.heap[1]=b.heap[b.heap_len--],Kr(b,x,1),be=b.heap[1],b.heap[--b.heap_max]=Ie,b.heap[--b.heap_max]=be,x[Te*2]=x[Ie*2]+x[be*2],b.depth[Te]=(b.depth[Ie]>=b.depth[be]?b.depth[Ie]:b.depth[be])+1,x[Ie*2+1]=x[be*2+1]=Te,b.heap[1]=Te++,Kr(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],ra(b,z),er(x,Oe,b.bl_count)},hn=(b,z,x)=>{let re,oe=-1,Ae,Ie=z[0*2+1],be=0,Oe=7,Te=4;for(Ie===0&&(Oe=138,Te=3),z[(x+1)*2+1]=65535,re=0;re<=x;re++)Ae=Ie,Ie=z[(re+1)*2+1],!(++be{let re,oe=-1,Ae,Ie=z[0*2+1],be=0,Oe=7,Te=4;for(Ie===0&&(Oe=138,Te=3),re=0;re<=x;re++)if(Ae=Ie,Ie=z[(re+1)*2+1],!(++be{let z;for(hn(b,b.dyn_ltree,b.l_desc.max_code),hn(b,b.dyn_dtree,b.d_desc.max_code),Mo(b,b.bl_desc),z=uu-1;z>=3&&b.bl_tree[_t[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},ma=(b,z,x,re)=>{let oe;for(Wt(b,z-257,5),Wt(b,x-1,5),Wt(b,re-4,4),oe=0;oe{let z=4093624447,x;for(x=0;x<=31;x++,z>>>=1)if(z&1&&b.dyn_ltree[x*2]!==0)return Zl;if(b.dyn_ltree[9*2]!==0||b.dyn_ltree[10*2]!==0||b.dyn_ltree[13*2]!==0)return Wl;for(x=32;x{Uo||(ga(),Uo=!0),b.l_desc=new hs(b.dyn_ltree,ko),b.d_desc=new hs(b.dyn_dtree,Fi),b.bl_desc=new hs(b.bl_tree,za),b.bi_buf=0,b.bi_valid=0,ha(b)},Xi=(b,z,x,re)=>{Wt(b,(bu<<1)+(re?1:0),3),no(b),Dn(b,x),Dn(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},us=b=>{Wt(b,pA<<1,3),mn(b,Bc,ur),jr(b)},uA=(b,z,x,re)=>{let oe,Ae,Ie=0;b.level>0?(b.strm.data_type===Ul&&(b.strm.data_type=Yr(b)),Mo(b,b.l_desc),Mo(b,b.d_desc),Ie=Ia(b),oe=b.opt_len+3+7>>>3,Ae=b.static_len+3+7>>>3,Ae<=oe&&(oe=Ae)):oe=Ae=x+5,x+4<=oe&&z!==-1?Xi(b,z,x,re):b.strategy===Qu||Ae===oe?(Wt(b,(pA<<1)+(re?1:0),3),Ao(b,ur,sa)):(Wt(b,(vc<<1)+(re?1:0),3),ma(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ie+1),Ao(b,b.dyn_ltree,b.dyn_dtree)),ha(b),re&&no(b)},Vl=(b,z,x)=>(b.pending_buf[b.sym_buf+b.sym_next++]=z,b.pending_buf[b.sym_buf+b.sym_next++]=z>>8,b.pending_buf[b.sym_buf+b.sym_next++]=x,z===0?b.dyn_ltree[x*2]++:(b.matches++,z--,b.dyn_ltree[(na[x]+yA+1)*2]++,b.dyn_dtree[si(z)*2]++),b.sym_next===b.sym_end);var vA=zi,Cs=Xi,Xa=uA,ho=Vl,Ji=us,is={_tr_init:vA,_tr_stored_block:Cs,_tr_flush_block:Xa,_tr_tally:ho,_tr_align:Ji},xo=(b,z,x,re)=>{let oe=b&65535|0,Ae=b>>>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 kA=()=>{let b,z=[];for(var x=0;x<256;x++){b=x;for(var re=0;re<8;re++)b=b&1?3988292384^b>>>1:b>>>1;z[x]=b}return z},GA=new Uint32Array(kA());var Ki=(b,z,x,re)=>{const oe=GA,Ae=re+x;b^=-1;for(let Ie=re;Ie>>8^oe[(b^z[Ie])&255];return b^-1},FA={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"},Xl={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:zc,_tr_stored_block:_s,_tr_flush_block:yl,_tr_tally:Ps,_tr_align:Yi}=is,{Z_NO_FLUSH:Ys,Z_PARTIAL_FLUSH:ec,Z_FULL_FLUSH:Kc,Z_FINISH:qs,Z_BLOCK:Jl,Z_OK:cA,Z_STREAM_END:Yl,Z_STREAM_ERROR:xs,Z_DATA_ERROR:Tu,Z_BUF_ERROR:ql,Z_DEFAULT_COMPRESSION:Pu,Z_FILTERED:Gc,Z_HUFFMAN_ONLY:xu,Z_RLE:Sc,Z_FIXED:nl,Z_DEFAULT_STRATEGY:tc,Z_UNKNOWN:Mr,Z_DEFLATED:co}=Xl,mr=9,mo=15,ti=8,Qs=256+1+29,$l=30,cu=19,du=2*Qs+1,_i=15,qo=3,zo=258,Fs=zo+qo+1,dA=32,zs=42,$s=57,bl=69,Ql=73,Ks=91,LA=103,eA=113,IA=666,ks=1,Fu=2,El=3,Lu=4,fd=3,Zc=(b,z)=>(b.msg=FA[z],z),Sf=b=>b*2-(b>4?9:0),wc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},jd=b=>{let z,x,re,oe=b.w_size;z=b.hash_size,re=z;do x=b.head[--re],b.head[re]=x>=oe?x-oe:0;while(--z);z=oe,re=z;do x=b.prev[--re],b.prev[re]=x>=oe?x-oe:0;while(--z)};let nc=(b,z,x)=>(z<{const z=b.state;let x=z.pending;x>b.avail_out&&(x=b.avail_out),x!==0&&(b.output.set(z.pending_buf.subarray(z.pending_out,z.pending_out+x),b.next_out),b.next_out+=x,z.pending_out+=x,b.total_out+=x,b.avail_out-=x,z.pending-=x,z.pending===0&&(z.pending_out=0))},kl=(b,z)=>{yl(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,eu(b.strm)},Vi=(b,z)=>{b.pending_buf[b.pending++]=z},Wc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},wf=(b,z,x,re)=>{let oe=b.avail_in;return oe>re&&(oe=re),oe===0?0:(b.avail_in-=oe,z.set(b.input.subarray(b.next_in,b.next_in+oe),x),b.state.wrap===1?b.adler=xo(b.adler,z,oe,x):b.state.wrap===2&&(b.adler=Ki(b.adler,z,oe,x)),b.next_in+=oe,b.total_in+=oe,oe)},yf=(b,z)=>{let x=b.max_chain_length,re=b.strstart,oe,Ae,Ie=b.prev_length,be=b.nice_match;const Oe=b.strstart>b.w_size-Fs?b.strstart-(b.w_size-Fs):0,Te=b.window,Ve=b.w_mask,ut=b.prev,wt=b.strstart+zo;let We=Te[re+Ie-1],Gt=Te[re+Ie];b.prev_length>=b.good_match&&(x>>=2),be>b.lookahead&&(be=b.lookahead);do if(oe=z,!(Te[oe+Ie]!==Gt||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(b.match_start=z,Ie=Ae,Ae>=be)break;We=Te[re+Ie-1],Gt=Te[re+Ie]}}while((z=ut[z&Ve])>Oe&&--x!==0);return Ie<=b.lookahead?Ie:b.lookahead},Vc=b=>{const z=b.w_size;let x,re,oe;do{if(re=b.window_size-b.lookahead-b.strstart,b.strstart>=z+(z-Fs)&&(b.window.set(b.window.subarray(z,z+z-re),0),b.match_start-=z,b.strstart-=z,b.block_start-=z,b.insert>b.strstart&&(b.insert=b.strstart),jd(b),re+=z),b.strm.avail_in===0)break;if(x=wf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=qo)for(oe=b.strstart-b.insert,b.ins_h=b.window[oe],b.ins_h=nc(b,b.ins_h,b.window[oe+1]);b.insert&&(b.ins_h=nc(b,b.ins_h,b.window[oe+qo-1]),b.prev[oe&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=oe,oe++,b.insert--,!(b.lookahead+b.insert{let x=b.pending_buf_size-5>b.w_size?b.w_size:b.pending_buf_size-5,re,oe,Ae,Ie=0,be=b.strm.avail_in;do{if(re=65535,Ae=b.bi_valid+42>>3,b.strm.avail_outoe+b.strm.avail_in&&(re=oe+b.strm.avail_in),re>Ae&&(re=Ae),re>8,b.pending_buf[b.pending-2]=~re,b.pending_buf[b.pending-1]=~re>>8,eu(b.strm),oe&&(oe>re&&(oe=re),b.strm.output.set(b.window.subarray(b.block_start,b.block_start+oe),b.strm.next_out),b.strm.next_out+=oe,b.strm.avail_out-=oe,b.strm.total_out+=oe,b.block_start+=oe,re-=oe),re&&(wf(b.strm,b.strm.output,b.strm.next_out,re),b.strm.next_out+=re,b.strm.avail_out-=re,b.strm.total_out+=re)}while(Ie===0);return be-=b.strm.avail_in,be&&(be>=b.w_size?(b.matches=2,b.window.set(b.strm.input.subarray(b.strm.next_in-b.w_size,b.strm.next_in),0),b.strstart=b.w_size,b.insert=b.strstart):(b.window_size-b.strstart<=be&&(b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,b.insert>b.strstart&&(b.insert=b.strstart)),b.window.set(b.strm.input.subarray(b.strm.next_in-be,b.strm.next_in),b.strstart),b.strstart+=be,b.insert+=be>b.w_size-b.insert?b.w_size-b.insert:be),b.block_start=b.strstart),b.high_waterAe&&b.block_start>=b.w_size&&(b.block_start-=b.w_size,b.strstart-=b.w_size,b.window.set(b.window.subarray(b.w_size,b.w_size+b.strstart),0),b.matches<2&&b.matches++,Ae+=b.w_size,b.insert>b.strstart&&(b.insert=b.strstart)),Ae>b.strm.avail_in&&(Ae=b.strm.avail_in),Ae&&(wf(b.strm,b.window,b.strstart,Ae),b.strstart+=Ae,b.insert+=Ae>b.w_size-b.insert?b.w_size-b.insert:Ae),b.high_water>3,Ae=b.pending_buf_size-Ae>65535?65535:b.pending_buf_size-Ae,x=Ae>b.w_size?b.w_size:Ae,oe=b.strstart-b.block_start,(oe>=x||(oe||z===qs)&&z!==Ys&&b.strm.avail_in===0&&oe<=Ae)&&(re=oe>Ae?Ae:oe,Ie=z===qs&&b.strm.avail_in===0&&re===oe?1:0,_s(b,b.block_start,re,Ie),b.block_start+=re,eu(b.strm)),Ie?El:ks)},yg=(b,z)=>{let x,re;for(;;){if(b.lookahead=qo&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+qo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),x!==0&&b.strstart-x<=b.w_size-Fs&&(b.match_length=yf(b,x)),b.match_length>=qo)if(re=Ps(b,b.strstart-b.match_start,b.match_length-qo),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=qo){b.match_length--;do b.strstart++,b.ins_h=nc(b,b.ins_h,b.window[b.strstart+qo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart;while(--b.match_length!==0);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=nc(b,b.ins_h,b.window[b.strstart+1]);else re=Ps(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(kl(b,!1),b.strm.avail_out===0))return ks}return b.insert=b.strstart{let x,re,oe;for(;;){if(b.lookahead=qo&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+qo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=qo-1,x!==0&&b.prev_length4096)&&(b.match_length=qo-1)),b.prev_length>=qo&&b.match_length<=b.prev_length){oe=b.strstart+b.lookahead-qo,re=Ps(b,b.strstart-1-b.prev_match,b.prev_length-qo),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=oe&&(b.ins_h=nc(b,b.ins_h,b.window[b.strstart+qo-1]),x=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart);while(--b.prev_length!==0);if(b.match_available=0,b.match_length=qo-1,b.strstart++,re&&(kl(b,!1),b.strm.avail_out===0))return ks}else if(b.match_available){if(re=Ps(b,0,b.window[b.strstart-1]),re&&kl(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return ks}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=Ps(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart{let x,re,oe,Ae;const Ie=b.window;for(;;){if(b.lookahead<=zo){if(Vc(b),b.lookahead<=zo&&z===Ys)return ks;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=qo&&b.strstart>0&&(oe=b.strstart-1,re=Ie[oe],re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe])){Ae=b.strstart+zo;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]&&oeb.lookahead&&(b.match_length=b.lookahead)}if(b.match_length>=qo?(x=Ps(b,1,b.match_length-qo),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=Ps(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(kl(b,!1),b.strm.avail_out===0))return ks}return b.insert=0,z===qs?(kl(b,!0),b.strm.avail_out===0?El:Lu):b.sym_next&&(kl(b,!1),b.strm.avail_out===0)?ks:Fu},r0=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Vc(b),b.lookahead===0)){if(z===Ys)return ks;break}if(b.match_length=0,x=Ps(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(kl(b,!1),b.strm.avail_out===0))return ks}return b.insert=0,z===qs?(kl(b,!0),b.strm.avail_out===0?El:Lu):b.sym_next&&(kl(b,!1),b.strm.avail_out===0)?ks:Fu};function TA(b,z,x,re,oe){this.good_length=b,this.max_lazy=z,this.nice_length=x,this.max_chain=re,this.func=oe}const md=[new TA(0,0,0,0,hd),new TA(4,4,8,4,yg),new TA(4,5,16,8,yg),new TA(4,6,32,32,yg),new TA(4,4,16,16,Xc),new TA(8,16,32,32,Xc),new TA(8,16,128,128,Xc),new TA(8,32,128,256,Xc),new TA(32,128,258,1024,Xc),new TA(32,258,258,4096,Xc)],a0=b=>{b.window_size=2*b.w_size,wc(b.head),b.max_lazy_match=md[b.level].max_lazy,b.good_match=md[b.level].good_length,b.nice_match=md[b.level].nice_length,b.max_chain_length=md[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=qo-1,b.match_available=0,b.ins_h=0};function Ye(){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=co,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(du*2),this.dyn_dtree=new Uint16Array((2*$l+1)*2),this.bl_tree=new Uint16Array((2*cu+1)*2),wc(this.dyn_ltree),wc(this.dyn_dtree),wc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(_i+1),this.heap=new Uint16Array(2*Qs+1),wc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Qs+1),wc(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 et=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.status!==zs&&z.status!==$s&&z.status!==bl&&z.status!==Ql&&z.status!==Ks&&z.status!==LA&&z.status!==eA&&z.status!==IA?1:0},Et=b=>{if(et(b))return Zc(b,xs);b.total_in=b.total_out=0,b.data_type=Mr;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?$s:z.wrap?zs:eA,b.adler=z.wrap===2?0:1,z.last_flush=-2,zc(z),cA},Qt=b=>{const z=Et(b);return z===cA&&a0(b.state),z},qt=(b,z)=>et(b)||b.state.wrap!==2?xs:(b.state.gzhead=z,cA),$t=(b,z,x,re,oe,Ae)=>{if(!b)return xs;let Ie=1;if(z===Pu&&(z=6),re<0?(Ie=0,re=-re):re>15&&(Ie=2,re-=16),oe<1||oe>mr||x!==co||re<8||re>15||z<0||z>9||Ae<0||Ae>nl||re===8&&Ie!==1)return Zc(b,xs);re===8&&(re=9);const be=new Ye;return b.state=be,be.strm=b,be.status=zs,be.wrap=Ie,be.gzhead=null,be.w_bits=re,be.w_size=1<$t(b,z,co,mo,ti,tc),Fn=(b,z)=>{if(et(b)||z>Jl||z<0)return b?Zc(b,xs):xs;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===IA&&z!==qs)return Zc(b,b.avail_out===0?ql:xs);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(eu(b),b.avail_out===0)return x.last_flush=-1,cA}else if(b.avail_in===0&&Sf(z)<=Sf(re)&&z!==qs)return Zc(b,ql);if(x.status===IA&&b.avail_in!==0)return Zc(b,ql);if(x.status===zs&&x.wrap===0&&(x.status=eA),x.status===zs){let oe=co+(x.w_bits-8<<4)<<8,Ae=-1;if(x.strategy>=xu||x.level<2?Ae=0:x.level<6?Ae=1:x.level===6?Ae=2:Ae=3,oe|=Ae<<6,x.strstart!==0&&(oe|=dA),oe+=31-oe%31,Wc(x,oe),x.strstart!==0&&(Wc(x,b.adler>>>16),Wc(x,b.adler&65535)),b.adler=1,x.status=eA,eu(b),x.pending!==0)return x.last_flush=-1,cA}if(x.status===$s){if(b.adler=0,Vi(x,31),Vi(x,139),Vi(x,8),x.gzhead)Vi(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)),Vi(x,x.gzhead.time&255),Vi(x,x.gzhead.time>>8&255),Vi(x,x.gzhead.time>>16&255),Vi(x,x.gzhead.time>>24&255),Vi(x,x.level===9?2:x.strategy>=xu||x.level<2?4:0),Vi(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(Vi(x,x.gzhead.extra.length&255),Vi(x,x.gzhead.extra.length>>8&255)),x.gzhead.hcrc&&(b.adler=Ki(b.adler,x.pending_buf,x.pending,0)),x.gzindex=0,x.status=bl;else if(Vi(x,0),Vi(x,0),Vi(x,0),Vi(x,0),Vi(x,0),Vi(x,x.level===9?2:x.strategy>=xu||x.level<2?4:0),Vi(x,fd),x.status=eA,eu(b),x.pending!==0)return x.last_flush=-1,cA}if(x.status===bl){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 be=x.pending_buf_size-x.pending;if(x.pending_buf.set(x.gzhead.extra.subarray(x.gzindex,x.gzindex+be),x.pending),x.pending=x.pending_buf_size,x.gzhead.hcrc&&x.pending>oe&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex+=be,eu(b),x.pending!==0)return x.last_flush=-1,cA;oe=0,Ae-=be}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&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Ql}if(x.status===Ql){if(x.gzhead.name){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe)),eu(b),x.pending!==0)return x.last_flush=-1,cA;oe=0}x.gzindexoe&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Ks}if(x.status===Ks){if(x.gzhead.comment){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe)),eu(b),x.pending!==0)return x.last_flush=-1,cA;oe=0}x.gzindexoe&&(b.adler=Ki(b.adler,x.pending_buf,x.pending-oe,oe))}x.status=LA}if(x.status===LA){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(eu(b),x.pending!==0))return x.last_flush=-1,cA;Vi(x,b.adler&255),Vi(x,b.adler>>8&255),b.adler=0}if(x.status=eA,eu(b),x.pending!==0)return x.last_flush=-1,cA}if(b.avail_in!==0||x.lookahead!==0||z!==Ys&&x.status!==IA){let oe=x.level===0?hd(x,z):x.strategy===xu?r0(x,z):x.strategy===Sc?n0(x,z):md[x.level].func(x,z);if((oe===El||oe===Lu)&&(x.status=IA),oe===ks||oe===El)return b.avail_out===0&&(x.last_flush=-1),cA;if(oe===Fu&&(z===ec?Yi(x):z!==Jl&&(_s(x,0,0,!1),z===Kc&&(wc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),eu(b),b.avail_out===0))return x.last_flush=-1,cA}return z!==qs?cA:x.wrap<=0?Yl:(x.wrap===2?(Vi(x,b.adler&255),Vi(x,b.adler>>8&255),Vi(x,b.adler>>16&255),Vi(x,b.adler>>24&255),Vi(x,b.total_in&255),Vi(x,b.total_in>>8&255),Vi(x,b.total_in>>16&255),Vi(x,b.total_in>>24&255)):(Wc(x,b.adler>>>16),Wc(x,b.adler&65535)),eu(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?cA:Yl)},Sn=b=>{if(et(b))return xs;const z=b.state.status;return b.state=null,z===eA?Zc(b,Tu):cA},zn=(b,z)=>{let x=z.length;if(et(b))return xs;const re=b.state,oe=re.wrap;if(oe===2||oe===1&&re.status!==zs||re.lookahead)return xs;if(oe===1&&(b.adler=xo(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){oe===0&&(wc(re.head),re.strstart=0,re.block_start=0,re.insert=0);let Oe=new Uint8Array(re.w_size);Oe.set(z.subarray(x-re.w_size,x),0),z=Oe,x=re.w_size}const Ae=b.avail_in,Ie=b.next_in,be=b.input;for(b.avail_in=x,b.next_in=0,b.input=z,Vc(re);re.lookahead>=qo;){let Oe=re.strstart,Te=re.lookahead-(qo-1);do re.ins_h=nc(re,re.ins_h,re.window[Oe+qo-1]),re.prev[Oe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Oe,Oe++;while(--Te);re.strstart=Oe,re.lookahead=qo-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=qo-1,re.match_available=0,b.next_in=Ie,b.input=be,b.avail_in=Ae,re.wrap=oe,cA};var $n=Pn,Gn=$t,br=Qt,pr=Et,Sr=qt,$r=Fn,zr=Sn,qr=zn,Gr="pako deflate (from Nodeca project)",ca={deflateInit:$n,deflateInit2:Gn,deflateReset:br,deflateResetKeep:pr,deflateSetHeader:Sr,deflate:$r,deflateEnd:zr,deflateSetDictionary:qr,deflateInfo:Gr};const Ka=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Ya=function(b){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)Ka(x,re)&&(b[re]=x[re])}}return b},Ca=b=>{let z=0;for(let re=0,oe=b.length;re=252?6:b>=248?5:b>=240?4:b>=224?3:b>=192?2:1;pa[254]=pa[254]=1;var Pa=b=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(b);let z,x,re,oe,Ae,Ie=b.length,be=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=(b,z)=>{if(z<65534&&b.subarray&&Fo)return String.fromCharCode.apply(null,b.length===z?b:b.subarray(0,z));let x="";for(let re=0;re{const x=z||b.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(b.subarray(0,z));let re,oe;const Ae=new Array(x*2);for(oe=0,re=0;re4){Ae[oe++]=65533,re+=be-1;continue}for(Ie&=be===2?31:be===3?15:7;be>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)},Ea=(b,z)=>{z=z||b.length,z>b.length&&(z=b.length);let x=z-1;for(;x>=0&&(b[x]&192)===128;)x--;return x<0||x===0?z:x+pa[b[x]]>z?x:z},ro={string2buf:Pa,buf2string:la,utf8border:Ea};function Vo(){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 bo=Vo;const $a=Object.prototype.toString,{Z_NO_FLUSH:To,Z_SYNC_FLUSH:ni,Z_FULL_FLUSH:qi,Z_FINISH:hi,Z_OK:cs,Z_STREAM_END:Ls,Z_DEFAULT_COMPRESSION:Io,Z_DEFAULT_STRATEGY:tA,Z_DEFLATED:Li}=Xl;function $i(b){this.options=lo.assign({level:Io,method:Li,chunkSize:16384,windowBits:15,memLevel:8,strategy:tA},b||{});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 bo,this.strm.avail_out=0;let x=ca.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==cs)throw new Error(FA[x]);if(z.header&&ca.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=ro.string2buf(z.dictionary):$a.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=ca.deflateSetDictionary(this.strm,re),x!==cs)throw new Error(FA[x]);this._dict_set=!0}}$i.prototype.push=function(b,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?hi:To,typeof b=="string"?x.input=ro.string2buf(b):$a.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,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===ni||Ae===qi)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(oe=ca.deflate(x,Ae),oe===Ls)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),oe=ca.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===cs;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},$i.prototype.onData=function(b){this.chunks.push(b)},$i.prototype.onEnd=function(b){b===cs&&(this.result=lo.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function ns(b,z){const x=new $i(z);if(x.push(b,!0),x.err)throw x.msg||FA[x.err];return x.result}function cl(b,z){return z=z||{},z.raw=!0,ns(b,z)}function ya(b,z){return z=z||{},z.gzip=!0,ns(b,z)}var io=$i,ao=ns,Ha=cl,Ii=ya,Ra=Xl,wo={Deflate:io,deflate:ao,deflateRaw:Ha,gzip:Ii,constants:Ra};const ai=16209,Ai=16191;var ZA=function(z,x){let re,oe,Ae,Ie,be,Oe,Te,Ve,ut,wt,We,Gt,Ht,Vt,Dt,Ln,Bn,An,ir,Lr,hr,Rn,un,Xn;const Lt=z.state;re=z.next_in,un=z.input,oe=re+(z.avail_in-5),Ae=z.next_out,Xn=z.output,Ie=Ae-(x-z.avail_out),be=Ae+(z.avail_out-257),Oe=Lt.dmax,Te=Lt.wsize,Ve=Lt.whave,ut=Lt.wnext,wt=Lt.window,We=Lt.hold,Gt=Lt.bits,Ht=Lt.lencode,Vt=Lt.distcode,Dt=(1<>>24,We>>>=An,Gt-=An,An=Bn>>>16&255,An===0)Xn[Ae++]=Bn&65535;else if(An&16){ir=Bn&65535,An&=15,An&&(Gt>>=An,Gt-=An),Gt<15&&(We+=un[re++]<>>24,We>>>=An,Gt-=An,An=Bn>>>16&255,An&16){if(Lr=Bn&65535,An&=15,GtOe){z.msg="invalid distance too far back",Lt.mode=ai;break e}if(We>>>=An,Gt-=An,An=Ae-Ie,Lr>An){if(An=Lr-An,An>Ve&&Lt.sane){z.msg="invalid distance too far back",Lt.mode=ai;break e}if(hr=0,Rn=wt,ut===0){if(hr+=Te-An,An2;)Xn[Ae++]=Rn[hr++],Xn[Ae++]=Rn[hr++],Xn[Ae++]=Rn[hr++],ir-=3;ir&&(Xn[Ae++]=Rn[hr++],ir>1&&(Xn[Ae++]=Rn[hr++]))}else{hr=Ae-Lr;do Xn[Ae++]=Xn[hr++],Xn[Ae++]=Xn[hr++],Xn[Ae++]=Xn[hr++],ir-=3;while(ir>2);ir&&(Xn[Ae++]=Xn[hr++],ir>1&&(Xn[Ae++]=Xn[hr++]))}}else if(An&64){z.msg="invalid distance code",Lt.mode=ai;break e}else{Bn=Vt[(Bn&65535)+(We&(1<>3,re-=ir,Gt-=ir<<3,We&=(1<{const Oe=be.bits;let Te=0,Ve=0,ut=0,wt=0,We=0,Gt=0,Ht=0,Vt=0,Dt=0,Ln=0,Bn,An,ir,Lr,hr,Rn=null,un;const Xn=new Uint16Array(Gs+1),Lt=new Uint16Array(Gs+1);let Yt=null,xn,wn,Ar;for(Te=0;Te<=Gs;Te++)Xn[Te]=0;for(Ve=0;Ve=1&&Xn[wt]===0;wt--);if(We>wt&&(We=wt),wt===0)return oe[Ae++]=1<<24|64<<16|0,oe[Ae++]=1<<24|64<<16|0,be.bits=1,0;for(ut=1;ut0&&(b===Cl||wt!==1))return-1;for(Lt[1]=0,Te=1;Tetu||b===rl&&Dt>Zs)return 1;for(;;){xn=Te-Ht,Ie[Ve]+1=un?(wn=Yt[Ie[Ve]-un],Ar=Rn[Ie[Ve]-un]):(wn=96,Ar=0),Bn=1<>Ht)+An]=xn<<24|wn<<16|Ar|0;while(An!==0);for(Bn=1<>=1;if(Bn!==0?(Ln&=Bn-1,Ln+=Bn):Ln=0,Ve++,--Xn[Te]===0){if(Te===wt)break;Te=z[x+Ie[Ve]]}if(Te>We&&(Ln&Lr)!==ir){for(Ht===0&&(Ht=We),hr+=ut,Gt=Te-Ht,Vt=1<tu||b===rl&&Dt>Zs)return 1;ir=Ln&Lr,oe[ir]=We<<24|Gt<<16|hr-Ae|0}}return Ln!==0&&(oe[hr+Ln]=Te-Ht<<24|64<<16|0),be.bits=We,0};const Xo=0,WA=1,HA=2,{Z_FINISH:dl,Z_BLOCK:al,Z_TREES:ol,Z_OK:Tl,Z_STREAM_END:Hu,Z_NEED_DICT:Hl,Z_STREAM_ERROR:Is,Z_DATA_ERROR:NA,Z_MEM_ERROR:nA,Z_BUF_ERROR:Ss,Z_DEFLATED:gu}=Xl,Iu=16180,Ru=16181,fu=16182,pd=16183,Md=16184,li=16185,rs=16186,DA=16187,ps=16188,UA=16189,RA=16190,Ns=16191,hu=16192,vd=16193,Bd=16194,zd=16195,bg=16196,Eg=16197,Jc=16198,mu=16199,bc=16200,Cg=16201,Kd=16202,Pg=16203,Gd=16204,Ec=16205,Zd=16206,bf=16207,xg=16208,Ri=16209,Wd=16210,Ef=16211,o0=852,Cf=592,Lg=15,Vd=b=>(b>>>24&255)+(b>>>8&65280)+((b&65280)<<8)+((b&255)<<24);function Pf(){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 rc=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.modeEf?1:0},Ig=b=>{if(rc(b))return Is;const z=b.state;return b.total_in=b.total_out=z.total=0,b.msg="",z.wrap&&(b.adler=z.wrap&1),z.mode=Iu,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(o0),z.distcode=z.distdyn=new Int32Array(Cf),z.sane=1,z.back=-1,Tl},Xd=b=>{if(rc(b))return Is;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,Ig(b)},xf=(b,z)=>{let x;if(rc(b))return Is;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?Is:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,Xd(b))},Sd=(b,z)=>{if(!b)return Is;const x=new Pf;b.state=x,x.strm=b,x.window=null,x.mode=Iu;const re=xf(b,z);return re!==Tl&&(b.state=null),re},Jd=b=>Sd(b,Lg);let OA=!0,ju,Yd;const i0=b=>{if(OA){ju=new Int32Array(512),Yd=new Int32Array(32);let z=0;for(;z<144;)b.lens[z++]=8;for(;z<256;)b.lens[z++]=9;for(;z<280;)b.lens[z++]=7;for(;z<288;)b.lens[z++]=8;for(ss(WA,b.lens,0,288,ju,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;ss(HA,b.lens,0,32,Yd,0,b.work,{bits:5}),OA=!1}b.lencode=ju,b.lenbits=9,b.distcode=Yd,b.distbits=5},Qi=(b,z,x,re)=>{let oe;const Ae=b.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,be,Oe,Te,Ve,ut,wt,We,Gt,Ht,Vt=0,Dt,Ln,Bn,An,ir,Lr,hr,Rn;const un=new Uint8Array(4);let Xn,Lt;const Yt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(rc(b)||!b.output||!b.input&&b.avail_in!==0)return Is;x=b.state,x.mode===Ns&&(x.mode=hu),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Te=x.hold,Ve=x.bits,ut=be,wt=Oe,Rn=Tl;e:for(;;)switch(x.mode){case Iu:if(x.wrap===0){x.mode=hu;break}for(;Ve<16;){if(be===0)break e;be--,Te+=re[Ae++]<>>8&255,x.check=Ki(x.check,un,2,0),Te=0,Ve=0,x.mode=Ru;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Te&255)<<8)+(Te>>8))%31){b.msg="incorrect header check",x.mode=Ri;break}if((Te&15)!==gu){b.msg="unknown compression method",x.mode=Ri;break}if(Te>>>=4,Ve-=4,hr=(Te&15)+8,x.wbits===0&&(x.wbits=hr),hr>15||hr>x.wbits){b.msg="invalid window size",x.mode=Ri;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(un[0]=Te&255,un[1]=Te>>>8&255,x.check=Ki(x.check,un,2,0)),Te=0,Ve=0,x.mode=fu;case fu:for(;Ve<32;){if(be===0)break e;be--,Te+=re[Ae++]<>>8&255,un[2]=Te>>>16&255,un[3]=Te>>>24&255,x.check=Ki(x.check,un,4,0)),Te=0,Ve=0,x.mode=pd;case pd:for(;Ve<16;){if(be===0)break e;be--,Te+=re[Ae++]<>8),x.flags&512&&x.wrap&4&&(un[0]=Te&255,un[1]=Te>>>8&255,x.check=Ki(x.check,un,2,0)),Te=0,Ve=0,x.mode=Md;case Md:if(x.flags&1024){for(;Ve<16;){if(be===0)break e;be--,Te+=re[Ae++]<>>8&255,x.check=Ki(x.check,un,2,0)),Te=0,Ve=0}else x.head&&(x.head.extra=null);x.mode=li;case li:if(x.flags&1024&&(We=x.length,We>be&&(We=be),We&&(x.head&&(hr=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),hr)),x.flags&512&&x.wrap&4&&(x.check=Ki(x.check,re,We,Ae)),be-=We,Ae+=We,x.length-=We),x.length))break e;x.length=0,x.mode=rs;case rs:if(x.flags&2048){if(be===0)break e;We=0;do hr=re[Ae+We++],x.head&&hr&&x.length<65536&&(x.head.name+=String.fromCharCode(hr));while(hr&&We>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=Ns;break;case UA:for(;Ve<32;){if(be===0)break e;be--,Te+=re[Ae++]<>>=Ve&7,Ve-=Ve&7,x.mode=Zd;break}for(;Ve<3;){if(be===0)break e;be--,Te+=re[Ae++]<>>=1,Ve-=1,Te&3){case 0:x.mode=vd;break;case 1:if(i0(x),x.mode=mu,z===ol){Te>>>=2,Ve-=2;break e}break;case 2:x.mode=bg;break;case 3:b.msg="invalid block type",x.mode=Ri}Te>>>=2,Ve-=2;break;case vd:for(Te>>>=Ve&7,Ve-=Ve&7;Ve<32;){if(be===0)break e;be--,Te+=re[Ae++]<>>16^65535)){b.msg="invalid stored block lengths",x.mode=Ri;break}if(x.length=Te&65535,Te=0,Ve=0,x.mode=Bd,z===ol)break e;case Bd:x.mode=zd;case zd:if(We=x.length,We){if(We>be&&(We=be),We>Oe&&(We=Oe),We===0)break e;oe.set(re.subarray(Ae,Ae+We),Ie),be-=We,Ae+=We,Oe-=We,Ie+=We,x.length-=We;break}x.mode=Ns;break;case bg:for(;Ve<14;){if(be===0)break e;be--,Te+=re[Ae++]<>>=5,Ve-=5,x.ndist=(Te&31)+1,Te>>>=5,Ve-=5,x.ncode=(Te&15)+4,Te>>>=4,Ve-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=Ri;break}x.have=0,x.mode=Eg;case Eg:for(;x.have>>=3,Ve-=3}for(;x.have<19;)x.lens[Yt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Xn={bits:x.lenbits},Rn=ss(Xo,x.lens,0,19,x.lencode,0,x.work,Xn),x.lenbits=Xn.bits,Rn){b.msg="invalid code lengths set",x.mode=Ri;break}x.have=0,x.mode=Jc;case Jc:for(;x.have>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Dt<=Ve);){if(be===0)break e;be--,Te+=re[Ae++]<>>=Dt,Ve-=Dt,x.lens[x.have++]=Bn;else{if(Bn===16){for(Lt=Dt+2;Ve>>=Dt,Ve-=Dt,x.have===0){b.msg="invalid bit length repeat",x.mode=Ri;break}hr=x.lens[x.have-1],We=3+(Te&3),Te>>>=2,Ve-=2}else if(Bn===17){for(Lt=Dt+3;Ve>>=Dt,Ve-=Dt,hr=0,We=3+(Te&7),Te>>>=3,Ve-=3}else{for(Lt=Dt+7;Ve>>=Dt,Ve-=Dt,hr=0,We=11+(Te&127),Te>>>=7,Ve-=7}if(x.have+We>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=Ri;break}for(;We--;)x.lens[x.have++]=hr}}if(x.mode===Ri)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=Ri;break}if(x.lenbits=9,Xn={bits:x.lenbits},Rn=ss(WA,x.lens,0,x.nlen,x.lencode,0,x.work,Xn),x.lenbits=Xn.bits,Rn){b.msg="invalid literal/lengths set",x.mode=Ri;break}if(x.distbits=6,x.distcode=x.distdyn,Xn={bits:x.distbits},Rn=ss(HA,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Xn),x.distbits=Xn.bits,Rn){b.msg="invalid distances set",x.mode=Ri;break}if(x.mode=mu,z===ol)break e;case mu:x.mode=bc;case bc:if(be>=6&&Oe>=258){b.next_out=Ie,b.avail_out=Oe,b.next_in=Ae,b.avail_in=be,x.hold=Te,x.bits=Ve,ZA(b,wt),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Te=x.hold,Ve=x.bits,x.mode===Ns&&(x.back=-1);break}for(x.back=0;Vt=x.lencode[Te&(1<>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Dt<=Ve);){if(be===0)break e;be--,Te+=re[Ae++]<>An)],Dt=Vt>>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(An+Dt<=Ve);){if(be===0)break e;be--,Te+=re[Ae++]<>>=An,Ve-=An,x.back+=An}if(Te>>>=Dt,Ve-=Dt,x.back+=Dt,x.length=Bn,Ln===0){x.mode=Ec;break}if(Ln&32){x.back=-1,x.mode=Ns;break}if(Ln&64){b.msg="invalid literal/length code",x.mode=Ri;break}x.extra=Ln&15,x.mode=Cg;case Cg:if(x.extra){for(Lt=x.extra;Ve>>=x.extra,Ve-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=Kd;case Kd:for(;Vt=x.distcode[Te&(1<>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Dt<=Ve);){if(be===0)break e;be--,Te+=re[Ae++]<>An)],Dt=Vt>>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(An+Dt<=Ve);){if(be===0)break e;be--,Te+=re[Ae++]<>>=An,Ve-=An,x.back+=An}if(Te>>>=Dt,Ve-=Dt,x.back+=Dt,Ln&64){b.msg="invalid distance code",x.mode=Ri;break}x.offset=Bn,x.extra=Ln&15,x.mode=Pg;case Pg:if(x.extra){for(Lt=x.extra;Ve>>=x.extra,Ve-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){b.msg="invalid distance too far back",x.mode=Ri;break}x.mode=Gd;case Gd:if(Oe===0)break e;if(We=wt-Oe,x.offset>We){if(We=x.offset-We,We>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=Ri;break}We>x.wnext?(We-=x.wnext,Gt=x.wsize-We):Gt=x.wnext-We,We>x.length&&(We=x.length),Ht=x.window}else Ht=oe,Gt=Ie-x.offset,We=x.length;We>Oe&&(We=Oe),Oe-=We,x.length-=We;do oe[Ie++]=Ht[Gt++];while(--We);x.length===0&&(x.mode=bc);break;case Ec:if(Oe===0)break e;oe[Ie++]=x.length,Oe--,x.mode=bc;break;case Zd:if(x.wrap){for(;Ve<32;){if(be===0)break e;be--,Te|=re[Ae++]<{if(rc(b))return Is;let z=b.state;return z.window&&(z.window=null),b.state=null,Tl},ac=(b,z)=>{if(rc(b))return Is;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,Tl):Is},oc=(b,z)=>{const x=z.length;let re,oe,Ae;return rc(b)||(re=b.state,re.wrap!==0&&re.mode!==RA)?Is:re.mode===RA&&(oe=1,oe=xo(oe,z,x,0),oe!==re.check)?NA:(Ae=Qi(b,z,x,x),Ae?(re.mode=Wd,nA):(re.havedict=1,Tl))};var Ff=Xd,Ng=xf,Dg=Ig,Ug=Jd,Og=Sd,th=As,nh=nu,rh=ac,ah=oc,s0="pako inflate (from Nodeca project)",Cc={inflateReset:Ff,inflateReset2:Ng,inflateResetKeep:Dg,inflateInit:Ug,inflateInit2:Og,inflate:th,inflateEnd:nh,inflateGetHeader:rh,inflateSetDictionary:ah,inflateInfo:s0};function Sm(){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 wm=Sm;const oh=Object.prototype.toString,{Z_NO_FLUSH:Lf,Z_FINISH:If,Z_OK:_g,Z_STREAM_END:Nf,Z_NEED_DICT:Qg,Z_STREAM_ERROR:ih,Z_DATA_ERROR:A0,Z_MEM_ERROR:sh}=Xl;function kg(b){this.options=lo.assign({chunkSize:1024*64,windowBits:15,to:""},b||{});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&&!(b&&b.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 bo,this.strm.avail_out=0;let x=Cc.inflateInit2(this.strm,z.windowBits);if(x!==_g)throw new Error(FA[x]);if(this.header=new wm,Cc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=ro.string2buf(z.dictionary):oh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=Cc.inflateSetDictionary(this.strm,z.dictionary),x!==_g)))throw new Error(FA[x])}kg.prototype.push=function(b,z){const x=this.strm,re=this.options.chunkSize,oe=this.options.dictionary;let Ae,Ie,be;if(this.ended)return!1;for(z===~~z?Ie=z:Ie=z===!0?If:Lf,oh.call(b)==="[object ArrayBuffer]"?x.input=new Uint8Array(b):x.input=b,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=Cc.inflate(x,Ie),Ae===Qg&&oe&&(Ae=Cc.inflateSetDictionary(x,oe),Ae===_g?Ae=Cc.inflate(x,Ie):Ae===A0&&(Ae=Qg));x.avail_in>0&&Ae===Nf&&x.state.wrap>0&&b[x.next_in]!==0;)Cc.inflateReset(x),Ae=Cc.inflate(x,Ie);switch(Ae){case ih:case A0:case Qg:case sh:return this.onEnd(Ae),this.ended=!0,!1}if(be=x.avail_out,x.next_out&&(x.avail_out===0||Ae===Nf))if(this.options.to==="string"){let Oe=ro.utf8border(x.output,x.next_out),Te=x.next_out-Oe,Ve=ro.buf2string(x.output,Oe);x.next_out=Te,x.avail_out=re-Te,Te&&x.output.set(x.output.subarray(Oe,Oe+Te),0),this.onData(Ve)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(Ae===_g&&be===0)){if(Ae===Nf)return Ae=Cc.inflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},kg.prototype.onData=function(b){this.chunks.push(b)},kg.prototype.onEnd=function(b){b===_g&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=lo.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function qd(b,z){const x=new kg(z);if(x.push(b),x.err)throw x.msg||FA[x.err];return x.result}function Ah(b,z){return z=z||{},z.raw=!0,qd(b,z)}var lh=kg,ym=qd,bm=Ah,uh=qd,$d=Xl,l0={Inflate:lh,inflate:ym,inflateRaw:bm,ungzip:uh,constants:$d};const{Deflate:Df,deflate:Em,deflateRaw:Cm,gzip:Pm}=wo,{Inflate:xm,inflate:ch,inflateRaw:u0,ungzip:dh}=l0;var gh=Df,c0=Em,fh=Cm,hh=Pm,d0=xm,Tg=ch,Uf=u0,mh=dh,ph=Xl,Cp={Deflate:gh,deflate:c0,deflateRaw:fh,gzip:hh,Inflate:d0,inflate:Tg,inflateRaw:Uf,ungzip:mh,constants:ph};const g0=[];for(let b=0;b<256;b++){let z=b;for(let x=0;x<8;x++)z&1?z=3988292384^z>>>1:z=z>>>1;g0[b]=z}const f0=4294967295;function Fm(b,z,x){let re=b;for(let oe=0;oe>>8;return re}function vh(b,z){return(Fm(f0,b,z)^f0)>>>0}function wd(b,z,x){const re=b.readUint32(),oe=vh(new Uint8Array(b.buffer,b.byteOffset+b.offset-z-4,z),z);if(oe!==re)throw new Error(`CRC mismatch for chunk ${x}. Expected ${re}, found ${oe}`)}function Lm(b,z){b.writeUint32(vh(new Uint8Array(b.buffer,b.byteOffset+b.offset-z,z),z))}function EA(b,z,x){for(let re=0;re>1)&255}else{for(;Ae>1)&255;for(;Ae>1)&255}}function xc(b,z,x,re,oe){let Ae=0;if(x.length===0){for(;Ae=x||Lr>=re))for(let hr=0;hr>8&255}const wh=new Uint16Array([255]),jg=new Uint8Array(wh.buffer)[0]===255,Dm=new Uint8Array(0);function yh(b){const{data:z,width:x,height:re,channels:oe,depth:Ae}=b,Ie=Math.ceil(Ae/8)*oe,be=Math.ceil(Ae/8*oe*x),Oe=new Uint8Array(re*be);let Te=Dm,Ve=0,ut,wt;for(let We=0;We>8&255}const Mg=Uint8Array.of(137,80,78,71,13,10,26,10);function Pp(b){b.writeBytes(Mg)}function Of(b){if(!Om(b.readBytes(Mg.length)))throw new Error("wrong PNG signature")}function Om(b){if(b.length79)throw new Error("keyword length must be between 1 and 79")}const m0=/^[\u0000-\u00FF]*$/;function _f(b){if(!m0.test(b))throw new Error("invalid latin1 text")}function xh(b,z,x){const re=Fh(z);b[re]=Lh(z,x-re.length-1)}function xp(b,z,x){Ph(z),_f(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(bh),b.writeChars(z),b.writeByte(Eh),b.writeChars(x),writeCrc(b,re+4)}function Fh(b){for(b.mark();b.readByte()!==Eh;);const z=b.offset;b.reset();const x=Ch.decode(b.readBytes(z-b.offset-1));return b.skip(1),Ph(x),x}function Lh(b,z){return Ch.decode(b.readBytes(z))}const pu={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},p0={UNKNOWN:-1,DEFLATE:0},Ih={UNKNOWN:-1,ADAPTIVE:0},v0={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Qf={NONE:0,BACKGROUND:1,PREVIOUS:2},zg={SOURCE:0,OVER:1};class _m extends Dl{constructor(x,re={}){super(x);gs(this,"_checkCrc");gs(this,"_inflator");gs(this,"_png");gs(this,"_apng");gs(this,"_end");gs(this,"_hasPalette");gs(this,"_palette");gs(this,"_hasTransparency");gs(this,"_transparency");gs(this,"_compressionMethod");gs(this,"_filterMethod");gs(this,"_interlaceMethod");gs(this,"_colorType");gs(this,"_isAnimated");gs(this,"_numberOfFrames");gs(this,"_numberOfPlays");gs(this,"_frames");gs(this,"_writingDataChunks");const{checkCrc:oe=!1}=re;this._checkCrc=oe,this._inflator=new d0,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=p0.UNKNOWN,this._filterMethod=Ih.UNKNOWN,this._interlaceMethod=v0.UNKNOWN,this._colorType=pu.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Of(this);!this._end;){const x=this.readUint32(),re=this.readChars(4);this.decodeChunk(x,re)}return this.decodeImage(),this._png}decodeApng(){for(Of(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 bh:xh(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?wd(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?wd(this,x+4,re):this.skip(4)}decodeIHDR(){const x=this._png;x.width=this.readUint32(),x.height=this.readUint32(),x.depth=B0(this.readUint8());const re=this.readUint8();this._colorType=re;let oe;switch(re){case pu.GREYSCALE:oe=1;break;case pu.TRUECOLOUR:oe=3;break;case pu.INDEXED_COLOUR:oe=1;break;case pu.GREYSCALE_ALPHA:oe=2;break;case pu.TRUECOLOUR_ALPHA:oe=4;break;case pu.UNKNOWN:default:throw new Error(`Unknown color type: ${re}`)}if(this._png.channels=oe,this._compressionMethod=this.readUint8(),this._compressionMethod!==p0.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 Oe=((Ie+re.yOffset)*this._png.width+re.xOffset+be)*this._png.channels,Te=(Ie*re.width+be)*this._png.channels;return{index:Oe,frameIndex:Te}};switch(re.blendOp){case zg.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,be=Ae<=8?Math.ceil(x*Ae/8)*oe:Math.ceil(x*Ae/8*oe/2),Oe=new IOBuffer().setBigEndian();let Te=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let wt=0;wt0)return b;throw new TypeError(`${z} must be a positive integer`)}function kf(b,z){const{channels:x=4,depth:re=8}=b;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 Nu(b,z,x,re){for(let oe=0;oe>8&255),x.writeByte(Bn&255)}}return re}function vs(b,z,x,re){for(let oe=0;oe=200&&z.status<=299}function Hf(b){try{b.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),b.dispatchEvent(z)}}var qc=$o.saveAs||((typeof window=="undefined"?"undefined":(0,le.Z)(window))!=="object"||window!==$o?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=$o.URL||$o.webkitURL,oe=document.createElement("a");z=z||b.name||"download",oe.download=z,oe.rel="noopener",typeof b=="string"?(oe.href=b,oe.origin!==location.origin?y0(oe.href)?w0(b,z,x):Hf(oe,oe.target="_blank"):Hf(oe)):(oe.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(oe.href)},4e4),setTimeout(function(){Hf(oe)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(y0(b))w0(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){Hf(re)})}else navigator.msSaveOrOpenBlob(function(oe,Ae){return Ae===void 0?Ae={autoBom:!1}:(0,le.Z)(Ae)!=="object"&&(Ts.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}(b,x),z)}:function(b,z,x,re){if((re=re||open("","_blank"))&&(re.document.title=re.document.body.innerText="downloading..."),typeof b=="string")return w0(b,z,x);var oe=b.type==="application/octet-stream",Ae=/constructor/i.test($o.HTMLElement)||$o.safari,Ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((Ie||oe&&Ae)&&(typeof FileReader=="undefined"?"undefined":(0,le.Z)(FileReader))==="object"){var be=new FileReader;be.onloadend=function(){var Ve=be.result;Ve=Ie?Ve:Ve.replace(/^data:[^;]*;/,"data:attachment/file;"),re?re.location.href=Ve:location=Ve,re=null},be.readAsDataURL(b)}else{var Oe=$o.URL||$o.webkitURL,Te=Oe.createObjectURL(b);re?re.location=Te:location.href=Te,re=null,setTimeout(function(){Oe.revokeObjectURL(Te)},4e4)}});function Nh(b){var z;b=b||"",this.ok=!1,b.charAt(0)=="#"&&(b=b.substr(1,6)),b={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"}[b=(b=b.replace(/ /g,"")).toLowerCase()]||b;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(be){return[parseInt(be[1]),parseInt(be[2]),parseInt(be[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(be){return[parseInt(be[1],16),parseInt(be[2],16),parseInt(be[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(be){return[parseInt(be[1]+be[1],16),parseInt(be[2]+be[2],16),parseInt(be[3]+be[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 be=this.r.toString(16),Oe=this.g.toString(16),Te=this.b.toString(16);return be.length==1&&(be="0"+be),Oe.length==1&&(Oe="0"+Oe),Te.length==1&&(Te="0"+Te),"#"+be+Oe+Te}}var Kg=$o.atob.bind($o),b0=$o.btoa.bind($o);function Gg(b,z){var x=b[0],re=b[1],oe=b[2],Ae=b[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=gl(x,re=Pl(re,oe,Ae,x,z[15],22,1236535329),oe,Ae,z[1],5,-165796510),Ae=gl(Ae,x,re,oe,z[6],9,-1069501632),oe=gl(oe,Ae,x,re,z[11],14,643717713),re=gl(re,oe,Ae,x,z[0],20,-373897302),x=gl(x,re,oe,Ae,z[5],5,-701558691),Ae=gl(Ae,x,re,oe,z[10],9,38016083),oe=gl(oe,Ae,x,re,z[15],14,-660478335),re=gl(re,oe,Ae,x,z[4],20,-405537848),x=gl(x,re,oe,Ae,z[9],5,568446438),Ae=gl(Ae,x,re,oe,z[14],9,-1019803690),oe=gl(oe,Ae,x,re,z[3],14,-187363961),re=gl(re,oe,Ae,x,z[8],20,1163531501),x=gl(x,re,oe,Ae,z[13],5,-1444681467),Ae=gl(Ae,x,re,oe,z[2],9,-51403784),oe=gl(oe,Ae,x,re,z[7],14,1735328473),x=xl(x,re=gl(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),b[0]=ic(x,b[0]),b[1]=ic(re,b[1]),b[2]=ic(oe,b[2]),b[3]=ic(Ae,b[3])}function Zg(b,z,x,re,oe,Ae){return z=ic(ic(z,b),ic(re,Ae)),ic(z<>>32-oe,x)}function Pl(b,z,x,re,oe,Ae,Ie){return Zg(z&x|~z&re,b,z,oe,Ae,Ie)}function gl(b,z,x,re,oe,Ae,Ie){return Zg(z&re|x&~re,b,z,oe,Ae,Ie)}function xl(b,z,x,re,oe,Ae,Ie){return Zg(z^x^re,b,z,oe,Ae,Ie)}function Fl(b,z,x,re,oe,Ae,Ie){return Zg(x^(z|~re),b,z,oe,Ae,Ie)}function Dh(b){var z,x=b.length,re=[1732584193,-271733879,-1732584194,271733878];for(z=64;z<=b.length;z+=64)Gg(re,Rf(b.substring(z-64,z)));b=b.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]|=b.charCodeAt(z)<<(z%4<<3);if(oe[z>>2]|=128<<(z%4<<3),z>55)for(Gg(re,oe),z=0;z<16;z++)oe[z]=0;return oe[14]=8*x,Gg(re,oe),re}function Rf(b){var z,x=[];for(z=0;z<64;z+=4)x[z>>2]=b.charCodeAt(z)+(b.charCodeAt(z+1)<<8)+(b.charCodeAt(z+2)<<16)+(b.charCodeAt(z+3)<<24);return x}var vu="0123456789abcdef".split("");function Uh(b){for(var z="",x=0;x<4;x++)z+=vu[b>>8*x+4&15]+vu[b>>8*x&15];return z}function jf(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function E0(b){return Dh(b).map(jf).join("")}var Tm=function(b){for(var z=0;z>16)+(z>>16)+(x>>16)<<16|65535&x}return b+z&4294967295}function $c(b,z){var x,re,oe,Ae;if(b!==x){for(var Ie=(oe=b,Ae=1+(256/b.length|0),new Array(Ae+1).join(oe)),be=[],Oe=0;Oe<256;Oe++)be[Oe]=Oe;var Te=0;for(Oe=0;Oe<256;Oe++){var Ve=be[Oe];Te=(Te+Ve+Ie.charCodeAt(Oe))%256,be[Oe]=be[Te],be[Te]=Ve}x=b,re=be}else be=re;var ut=z.length,wt=0,We=0,Gt="";for(Oe=0;Oe\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 Mu(b){if(/[^\u0000-\u00ff]/.test(b))throw new Error("Invalid PDF Name Object: "+b+", Only accept ASCII characters.");for(var z="",x=b.length,re=0;re126?"#"+("0"+oe.toString(16)).slice(-2):b[re]}return z}function Oh(b){if((0,le.Z)(b)!=="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(b,re)}catch(be){$o.console&&Ts.error("jsPDF PubSub Error",be.message,be)}Ie[1]&&oe.push(Ae)}oe.length&&oe.forEach(this.unsubscribe)}},this.getTopics=function(){return z}}function Vg(b){if(!(this instanceof Vg))return new Vg(b);var z="opacity,stroke-opacity".split(",");for(var x in b)b.hasOwnProperty(x)&&z.indexOf(x)>=0&&(this[x]=b[x]);this.id="",this.objectNumber=-1}function C0(b,z){this.gState=b,this.matrix=z,this.id="",this.objectNumber=-1}function ed(b,z,x,re,oe){if(!(this instanceof ed))return new ed(b,z,x,re,oe);this.type=b==="axial"?2:3,this.coords=z,this.colors=x,C0.call(this,re,oe)}function td(b,z,x,re,oe){if(!(this instanceof td))return new td(b,z,x,re,oe);this.boundingBox=b,this.xStep=z,this.yStep=x,this.stream="",this.cloneIndex=0,C0.call(this,re,oe)}function po(b){var z,x=typeof arguments[0]=="string"?arguments[0]:"p",re=arguments[1],oe=arguments[2],Ae=arguments[3],Ie=[],be=1,Oe=16,Te="S",Ve=null;(0,le.Z)(b=b||{})==="object"&&(x=b.orientation,re=b.unit||re,oe=b.format||oe,Ae=b.compress||b.compressPdf||Ae,(Ve=b.encryption||null)!==null&&(Ve.userPassword=Ve.userPassword||"",Ve.ownerPassword=Ve.ownerPassword||"",Ve.userPermissions=Ve.userPermissions||[]),be=typeof b.userUnit=="number"?Math.abs(b.userUnit):1,b.precision!==void 0&&(z=b.precision),b.floatPrecision!==void 0&&(Oe=b.floatPrecision),Te=b.defaultPathOperation||"S"),Ie=b.filters||(Ae===!0?["FlateEncode"]:Ie),re=re||"mm",x=(""+(x||"P")).toLowerCase();var ut=b.putOnlyUsedFonts||!1,wt={},We={internal:{},__private__:{}};We.__private__.PubSub=Oh;var Gt="1.3",Ht=We.__private__.getPdfVersion=function(){return Gt};We.__private__.setPdfVersion=function(Qe){Gt=Qe};var Vt={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 Vt};var Dt=We.__private__.getPageFormat=function(Qe){return Vt[Qe]};oe=oe||"a4";var Ln="compat",Bn="advanced",An=Ln;function ir(){this.saveGraphicsState(),cn(new Yo(oi,0,0,-oi,0,Af()*oi).toString()+" cm"),this.setFontSize(this.getFontSize()/oi),Te="n",An=Bn}function Lr(){this.restoreGraphicsState(),Te="S",An=Ln}var hr=We.__private__.combineFontStyleAndFontWeight=function(Qe,ht){if(Qe=="bold"&&ht=="normal"||Qe=="bold"&&ht==400||Qe=="normal"&&ht=="italic"||Qe=="bold"&&ht=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return ht&&(Qe=ht==400||ht==="normal"?Qe==="italic"?"italic":"normal":ht!=700&&ht!=="bold"||Qe!=="normal"?(ht==700?"bold":ht)+""+Qe:"bold"),Qe};We.advancedAPI=function(Qe){var ht=An===Ln;return ht&&ir.call(this),typeof Qe!="function"||(Qe(this),ht&&Lr.call(this)),this},We.compatAPI=function(Qe){var ht=An===Bn;return ht&&Lr.call(this),typeof Qe!="function"||(Qe(this),ht&&ir.call(this)),this},We.isAdvancedAPI=function(){return An===Bn};var Rn,un=function(Qe){if(An!==Bn)throw new Error(Qe+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Xn=We.roundToPrecision=We.__private__.roundToPrecision=function(Qe,ht){var nn=z||ht;if(isNaN(Qe)||isNaN(nn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return Qe.toFixed(nn).replace(/0+$/,"")};Rn=We.hpf=We.__private__.hpf=typeof Oe=="number"?function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Qe,Oe)}:Oe==="smart"?function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Qe,Qe>-1&&Qe<1?16:5)}:function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(Qe,16)};var Lt=We.f2=We.__private__.f2=function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.f2");return Xn(Qe,2)},Yt=We.__private__.f3=function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.f3");return Xn(Qe,3)},xn=We.scale=We.__private__.scale=function(Qe){if(isNaN(Qe))throw new Error("Invalid argument passed to jsPDF.scale");return An===Ln?Qe*oi:An===Bn?Qe:void 0},wn=function(Qe){return xn(function(ht){return An===Ln?Af()-ht:An===Bn?ht:void 0}(Qe))};We.__private__.setPrecision=We.setPrecision=function(Qe){typeof parseInt(Qe,10)=="number"&&(z=parseInt(Qe,10))};var Ar,fr="00000000000000000000000000000000",Br=We.__private__.getFileId=function(){return fr},nr=We.__private__.setFileId=function(Qe){return fr=Qe!==void 0&&/^[a-fA-F0-9]{32}$/.test(Qe)?Qe.toUpperCase():fr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ve!==null&&(XA=new tg(Ve.userPermissions,Ve.userPassword,Ve.ownerPassword,fr)),fr};We.setFileId=function(Qe){return nr(Qe),this},We.getFileId=function(){return Br()};var wr=We.__private__.convertDateToPDFDate=function(Qe){var ht=Qe.getTimezoneOffset(),nn=ht<0?"+":"-",Cn=Math.floor(Math.abs(ht/60)),Vn=Math.abs(ht%60),Dr=[nn,fn(Cn),"'",fn(Vn),"'"].join("");return["D:",Qe.getFullYear(),fn(Qe.getMonth()+1),fn(Qe.getDate()),fn(Qe.getHours()),fn(Qe.getMinutes()),fn(Qe.getSeconds()),Dr].join("")},va=We.__private__.convertPDFDateToDate=function(Qe){var ht=parseInt(Qe.substr(2,4),10),nn=parseInt(Qe.substr(6,2),10)-1,Cn=parseInt(Qe.substr(8,2),10),Vn=parseInt(Qe.substr(10,2),10),Dr=parseInt(Qe.substr(12,2),10),Xr=parseInt(Qe.substr(14,2),10);return new Date(ht,nn,Cn,Vn,Dr,Xr,0)},Zr=We.__private__.setCreationDate=function(Qe){var ht;if(Qe===void 0&&(Qe=new Date),Qe instanceof Date)ht=wr(Qe);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(Qe))throw new Error("Invalid argument passed to jsPDF.setCreationDate");ht=Qe}return Ar=ht},xt=We.__private__.getCreationDate=function(Qe){var ht=Ar;return Qe==="jsDate"&&(ht=va(Ar)),ht};We.setCreationDate=function(Qe){return Zr(Qe),this},We.getCreationDate=function(Qe){return xt(Qe)};var an,fn=We.__private__.padd2=function(Qe){return("0"+parseInt(Qe)).slice(-2)},_n=We.__private__.padd2Hex=function(Qe){return("00"+(Qe=Qe.toString())).substr(Qe.length)},Kn=0,rr=[],vr=[],gr=0,kr=[],oa=[],ka=!1,ja=vr;We.__private__.setCustomOutputDestination=function(Qe){ka=!0,ja=Qe};var xr=function(Qe){ka||(ja=Qe)};We.__private__.resetCustomOutputDestination=function(){ka=!1,ja=vr};var cn=We.__private__.out=function(Qe){return Qe=Qe.toString(),gr+=Qe.length+1,ja.push(Qe),ja},es=We.__private__.write=function(Qe){return cn(arguments.length===1?Qe.toString():Array.prototype.join.call(arguments," "))},Di=We.__private__.getArrayBuffer=function(Qe){for(var ht=Qe.length,nn=new ArrayBuffer(ht),Cn=new Uint8Array(nn);ht--;)Cn[ht]=Qe.charCodeAt(ht);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 fa=b.fontSize||16;We.__private__.setFontSize=We.setFontSize=function(Qe){return fa=An===Bn?Qe/oi:Qe,this};var No,Wa=We.__private__.getFontSize=We.getFontSize=function(){return An===Ln?fa:fa*oi},Ui=b.R2L||!1;We.__private__.setR2L=We.setR2L=function(Qe){return Ui=Qe,this},We.__private__.getR2L=We.getR2L=function(){return Ui};var Ho,ys=We.__private__.setZoomMode=function(Qe){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(Qe))No=Qe;else if(isNaN(Qe)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(Qe)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+Qe+'" is not recognized.');No=Qe}else No=parseInt(Qe,10)};We.__private__.getZoomMode=function(){return No};var Bi,Si=We.__private__.setPageMode=function(Qe){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(Qe)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+Qe+'" is not recognized.');Ho=Qe};We.__private__.getPageMode=function(){return Ho};var Ws=We.__private__.setLayoutMode=function(Qe){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(Qe)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+Qe+'" is not recognized.');Bi=Qe};We.__private__.getLayoutMode=function(){return Bi},We.__private__.setDisplayMode=We.setDisplayMode=function(Qe,ht,nn){return ys(Qe),Ws(ht),Si(nn),this};var Oi={title:"",subject:"",author:"",keywords:"",creator:""};We.__private__.getDocumentProperty=function(Qe){if(Object.keys(Oi).indexOf(Qe)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Oi[Qe]},We.__private__.getDocumentProperties=function(){return Oi},We.__private__.setDocumentProperties=We.setProperties=We.setDocumentProperties=function(Qe){for(var ht in Oi)Oi.hasOwnProperty(ht)&&Qe[ht]&&(Oi[ht]=Qe[ht]);return this},We.__private__.setDocumentProperty=function(Qe,ht){if(Object.keys(Oi).indexOf(Qe)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Oi[Qe]=ht};var _o,oi,Qo,fA,bs,Eo={},wi={},aA=[],Jo={},as={},yi={},VA={},fl=null,oA=0,gi=[],Ds=new Oh(We),Xg=b.hotfixes||[],ou={},xd={},sd=[],Yo=function Qe(ht,nn,Cn,Vn,Dr,Xr){if(!(this instanceof Qe))return new Qe(ht,nn,Cn,Vn,Dr,Xr);isNaN(ht)&&(ht=1),isNaN(nn)&&(nn=0),isNaN(Cn)&&(Cn=0),isNaN(Vn)&&(Vn=1),isNaN(Dr)&&(Dr=0),isNaN(Xr)&&(Xr=0),this._matrix=[ht,nn,Cn,Vn,Dr,Xr]};Object.defineProperty(Yo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Qe){this._matrix[0]=Qe}}),Object.defineProperty(Yo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Qe){this._matrix[1]=Qe}}),Object.defineProperty(Yo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Qe){this._matrix[2]=Qe}}),Object.defineProperty(Yo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Qe){this._matrix[3]=Qe}}),Object.defineProperty(Yo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Qe){this._matrix[4]=Qe}}),Object.defineProperty(Yo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Qe){this._matrix[5]=Qe}}),Object.defineProperty(Yo.prototype,"a",{get:function(){return this._matrix[0]},set:function(Qe){this._matrix[0]=Qe}}),Object.defineProperty(Yo.prototype,"b",{get:function(){return this._matrix[1]},set:function(Qe){this._matrix[1]=Qe}}),Object.defineProperty(Yo.prototype,"c",{get:function(){return this._matrix[2]},set:function(Qe){this._matrix[2]=Qe}}),Object.defineProperty(Yo.prototype,"d",{get:function(){return this._matrix[3]},set:function(Qe){this._matrix[3]=Qe}}),Object.defineProperty(Yo.prototype,"e",{get:function(){return this._matrix[4]},set:function(Qe){this._matrix[4]=Qe}}),Object.defineProperty(Yo.prototype,"f",{get:function(){return this._matrix[5]},set:function(Qe){this._matrix[5]=Qe}}),Object.defineProperty(Yo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Yo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Yo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Yo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Yo.prototype.join=function(Qe){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Rn).join(Qe)},Yo.prototype.multiply=function(Qe){var ht=Qe.sx*this.sx+Qe.shy*this.shx,nn=Qe.sx*this.shy+Qe.shy*this.sy,Cn=Qe.shx*this.sx+Qe.sy*this.shx,Vn=Qe.shx*this.shy+Qe.sy*this.sy,Dr=Qe.tx*this.sx+Qe.ty*this.shx+this.tx,Xr=Qe.tx*this.shy+Qe.ty*this.sy+this.ty;return new Yo(ht,nn,Cn,Vn,Dr,Xr)},Yo.prototype.decompose=function(){var Qe=this.sx,ht=this.shy,nn=this.shx,Cn=this.sy,Vn=this.tx,Dr=this.ty,Xr=Math.sqrt(Qe*Qe+ht*ht),fo=(Qe/=Xr)*nn+(ht/=Xr)*Cn;nn-=Qe*fo,Cn-=ht*fo;var yo=Math.sqrt(nn*nn+Cn*Cn);return fo/=yo,Qe*(Cn/=yo)>16&255,Cn=yo>>8&255,Vn=255&yo}if(Cn===void 0||Dr===void 0&&nn===Cn&&Cn===Vn)ht=typeof nn=="string"?nn+" "+Xr[0]:Qe.precision===2?Lt(nn/255)+" "+Xr[0]:Yt(nn/255)+" "+Xr[0];else if(Dr===void 0||(0,le.Z)(Dr)==="object"){if(Dr&&!isNaN(Dr.a)&&Dr.a===0)return["1.","1.","1.",Xr[1]].join(" ");ht=typeof nn=="string"?[nn,Cn,Vn,Xr[1]].join(" "):Qe.precision===2?[Lt(nn/255),Lt(Cn/255),Lt(Vn/255),Xr[1]].join(" "):[Yt(nn/255),Yt(Cn/255),Yt(Vn/255),Xr[1]].join(" ")}else ht=typeof nn=="string"?[nn,Cn,Vn,Dr,Xr[2]].join(" "):Qe.precision===2?[Lt(nn),Lt(Cn),Lt(Vn),Lt(Dr),Xr[2]].join(" "):[Yt(nn),Yt(Cn),Yt(Vn),Yt(Dr),Xr[2]].join(" ");return ht},Qc=We.__private__.getFilters=function(){return Ie},cc=We.__private__.putStream=function(Qe){var ht=(Qe=Qe||{}).data||"",nn=Qe.filters||Qc(),Cn=Qe.alreadyAppliedFilters||[],Vn=Qe.addLength1||!1,Dr=ht.length,Xr=Qe.objectId,fo=function(hl){return hl};if(Ve!==null&&Xr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ve!==null&&(fo=XA.encryptor(Xr,0));var yo={};nn===!0&&(nn=["FlateEncode"]);var di=Qe.additionalKeyValues||[],mi=(yo=po.API.processDataByFilters!==void 0?po.API.processDataByFilters(ht,nn):{data:ht,reverseChain:[]}).reverseChain+(Array.isArray(Cn)?Cn.join(" "):Cn.toString());if(yo.data.length!==0&&(di.push({key:"Length",value:yo.data.length}),Vn===!0&&di.push({key:"Length1",value:Dr})),mi.length!=0)if(mi.split("/").length-1==1)di.push({key:"Filter",value:mi});else{di.push({key:"Filter",value:"["+mi+"]"});for(var Es=0;Es>"),yo.data.length!==0&&(cn("stream"),cn(fo(yo.data)),cn("endstream"))},Yg=We.__private__.putPage=function(Qe){var ht=Qe.number,nn=Qe.data,Cn=Qe.objId,Vn=Qe.contentsObjId;jl(Cn,!0),cn("<>"),cn("endobj");var Dr=nn.join(` `);return An===Bn&&(Dr+=` Q`),jl(Vn,!0),cc({data:Dr,filters:Qc(),objectId:Vn}),cn("endobj"),Cn},ld=We.__private__.putPages=function(){var Qe,ht,nn=[];for(Qe=1;Qe<=oA;Qe++)gi[Qe].objId=Il(),gi[Qe].contentsObjId=Il();for(Qe=1;Qe<=oA;Qe++)nn.push(Yg({number:Qe,data:oa[Qe],objId:gi[Qe].objId,contentsObjId:gi[Qe].contentsObjId,mediaBox:gi[Qe].mediaBox,cropBox:gi[Qe].cropBox,bleedBox:gi[Qe].bleedBox,trimBox:gi[Qe].trimBox,artBox:gi[Qe].artBox,userUnit:gi[Qe].userUnit,rootDictionaryObjId:og,resourceDictionaryObjId:Oc}));jl(og,!0),cn("<>"),cn("endobj"),Ds.publish("postPutPages")},qg=function(Qe){Ds.publish("putFont",{font:Qe,out:cn,newObject:jA,putStream:cc}),Qe.isAlreadyPutted!==!0&&(Qe.objectNumber=jA(),cn("<<"),cn("/Type /Font"),cn("/BaseFont /"+Mu(Qe.postScriptName)),cn("/Subtype /Type1"),typeof Qe.encoding=="string"&&cn("/Encoding /"+Qe.encoding),cn("/FirstChar 32"),cn("/LastChar 255"),cn(">>"),cn("endobj"))},zf=function(Qe){Qe.objectNumber=jA();var ht=[];ht.push({key:"Type",value:"/XObject"}),ht.push({key:"Subtype",value:"/Form"}),ht.push({key:"BBox",value:"["+[Rn(Qe.x),Rn(Qe.y),Rn(Qe.x+Qe.width),Rn(Qe.y+Qe.height)].join(" ")+"]"}),ht.push({key:"Matrix",value:"["+Qe.matrix.toString()+"]"});var nn=Qe.pages[1].join(` `);cc({data:nn,additionalKeyValues:ht,objectId:Qe.objectNumber}),cn("endobj")},Kf=function(Qe,ht){ht||(ht=21);var nn=jA(),Cn=function(Xr,fo){var yo,di=[],mi=1/(fo-1);for(yo=0;yo<1;yo+=mi)di.push(yo);if(di.push(1),Xr[0].offset!=0){var Es={offset:0,color:Xr[0].color};Xr.unshift(Es)}if(Xr[Xr.length-1].offset!=1){var QA={offset:1,color:Xr[Xr.length-1].color};Xr.push(QA)}for(var Al="",hA=0,hl=0;hlXr[hA+1].offset;)hA++;var ll=Xr[hA].offset,Ml=(yo-ll)/(Xr[hA+1].offset-ll),gc=Xr[hA].color,Uu=Xr[hA+1].color;Al+=_n(Math.round((1-Ml)*gc[0]+Ml*Uu[0]).toString(16))+_n(Math.round((1-Ml)*gc[1]+Ml*Uu[1]).toString(16))+_n(Math.round((1-Ml)*gc[2]+Ml*Uu[2]).toString(16))}return Al.trim()}(Qe.colors,ht),Vn=[];Vn.push({key:"FunctionType",value:"0"}),Vn.push({key:"Domain",value:"[0.0 1.0]"}),Vn.push({key:"Size",value:"["+ht+"]"}),Vn.push({key:"BitsPerSample",value:"8"}),Vn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Vn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),cc({data:Cn,additionalKeyValues:Vn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:nn}),cn("endobj"),Qe.objectNumber=jA(),cn("<< /ShadingType "+Qe.type),cn("/ColorSpace /DeviceRGB");var Dr="/Coords ["+Rn(parseFloat(Qe.coords[0]))+" "+Rn(parseFloat(Qe.coords[1]))+" ";Qe.type===2?Dr+=Rn(parseFloat(Qe.coords[2]))+" "+Rn(parseFloat(Qe.coords[3])):Dr+=Rn(parseFloat(Qe.coords[2]))+" "+Rn(parseFloat(Qe.coords[3]))+" "+Rn(parseFloat(Qe.coords[4]))+" "+Rn(parseFloat(Qe.coords[5])),cn(Dr+="]"),Qe.matrix&&cn("/Matrix ["+Qe.matrix.toString()+"]"),cn("/Function "+nn+" 0 R"),cn("/Extend [true true]"),cn(">>"),cn("endobj")},Gf=function(Qe,ht){var nn=Il(),Cn=jA();ht.push({resourcesOid:nn,objectOid:Cn}),Qe.objectNumber=Cn;var Vn=[];Vn.push({key:"Type",value:"/Pattern"}),Vn.push({key:"PatternType",value:"1"}),Vn.push({key:"PaintType",value:"1"}),Vn.push({key:"TilingType",value:"1"}),Vn.push({key:"BBox",value:"["+Qe.boundingBox.map(Rn).join(" ")+"]"}),Vn.push({key:"XStep",value:Rn(Qe.xStep)}),Vn.push({key:"YStep",value:Rn(Qe.yStep)}),Vn.push({key:"Resources",value:nn+" 0 R"}),Qe.matrix&&Vn.push({key:"Matrix",value:"["+Qe.matrix.toString()+"]"}),cc({data:Qe.stream,additionalKeyValues:Vn,objectId:Qe.objectNumber}),cn("endobj")},Gm=function(Qe){for(var ht in Qe.objectNumber=jA(),cn("<<"),Qe)switch(ht){case"opacity":cn("/ca "+Lt(Qe[ht]));break;case"stroke-opacity":cn("/CA "+Lt(Qe[ht]))}cn(">>"),cn("endobj")},x0=function(Qe){jl(Qe.resourcesOid,!0),cn("<<"),cn("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var ht in cn("/Font <<"),Eo)Eo.hasOwnProperty(ht)&&(ut===!1||ut===!0&&wt.hasOwnProperty(ht))&&cn("/"+ht+" "+Eo[ht].objectNumber+" 0 R");cn(">>")}(),function(){if(Object.keys(Jo).length>0){for(var ht in cn("/Shading <<"),Jo)Jo.hasOwnProperty(ht)&&Jo[ht]instanceof ed&&Jo[ht].objectNumber>=0&&cn("/"+ht+" "+Jo[ht].objectNumber+" 0 R");Ds.publish("putShadingPatternDict"),cn(">>")}}(),function(ht){if(Object.keys(Jo).length>0){for(var nn in cn("/Pattern <<"),Jo)Jo.hasOwnProperty(nn)&&Jo[nn]instanceof We.TilingPattern&&Jo[nn].objectNumber>=0&&Jo[nn].objectNumber>")}}(Qe.objectOid),function(){if(Object.keys(yi).length>0){var ht;for(ht in cn("/ExtGState <<"),yi)yi.hasOwnProperty(ht)&&yi[ht].objectNumber>=0&&cn("/"+ht+" "+yi[ht].objectNumber+" 0 R");Ds.publish("putGStateDict"),cn(">>")}}(),function(){for(var ht in cn("/XObject <<"),ou)ou.hasOwnProperty(ht)&&ou[ht].objectNumber>=0&&cn("/"+ht+" "+ou[ht].objectNumber+" 0 R");Ds.publish("putXobjectDict"),cn(">>")}(),cn(">>"),cn("endobj")},kh=function(Qe){wi[Qe.fontName]=wi[Qe.fontName]||{},wi[Qe.fontName][Qe.fontStyle]=Qe.id},Th=function(Qe,ht,nn,Cn,Vn){var Dr={id:"F"+(Object.keys(Eo).length+1).toString(10),postScriptName:Qe,fontName:ht,fontStyle:nn,encoding:Cn,isStandardFont:Vn||!1,metadata:{}};return Ds.publish("addFont",{font:Dr,instance:this}),Eo[Dr.id]=Dr,kh(Dr),Dr.id},dc=We.__private__.pdfEscape=We.pdfEscape=function(Qe,ht){return function(nn,Cn){var Vn,Dr,Xr,fo,yo,di,mi,Es,QA;if(Xr=(Cn=Cn||{}).sourceEncoding||"Unicode",yo=Cn.outputEncoding,(Cn.autoencode||yo)&&Eo[_o].metadata&&Eo[_o].metadata[Xr]&&Eo[_o].metadata[Xr].encoding&&(fo=Eo[_o].metadata[Xr].encoding,!yo&&Eo[_o].encoding&&(yo=Eo[_o].encoding),!yo&&fo.codePages&&(yo=fo.codePages[0]),typeof yo=="string"&&(yo=fo[yo]),yo)){for(mi=!1,di=[],Vn=0,Dr=nn.length;Vn>8&&(mi=!0);nn=di.join("")}for(Vn=nn.length;mi===void 0&&Vn!==0;)nn.charCodeAt(Vn-1)>>8&&(mi=!0),Vn--;if(!mi)return nn;for(di=Cn.noBOM?[]:[254,255],Vn=0,Dr=nn.length;Vn>8)>>8)throw new Error("Character at position "+Vn+" of string '"+nn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");di.push(QA),di.push(Es-(QA<<8))}return String.fromCharCode.apply(void 0,di)}(Qe,ht).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},F0=We.__private__.beginPage=function(Qe){oa[++oA]=[],gi[oA]={objId:0,contentsObjId:0,userUnit:Number(be),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(Qe[0]),topRightY:Number(Qe[1])}},Rh(oA),xr(oa[an])},Hh=function(Qe,ht){var nn,Cn,Vn;switch(x=ht||x,typeof Qe=="string"&&(nn=Dt(Qe.toLowerCase()),Array.isArray(nn)&&(Cn=nn[0],Vn=nn[1])),Array.isArray(Qe)&&(Cn=Qe[0]*oi,Vn=Qe[1]*oi),isNaN(Cn)&&(Cn=oe[0],Vn=oe[1]),(Cn>14400||Vn>14400)&&(Ts.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),Cn=Math.min(14400,Cn),Vn=Math.min(14400,Vn)),oe=[Cn,Vn],x.substr(0,1)){case"l":Vn>Cn&&(oe=[Vn,Cn]);break;case"p":Cn>Vn&&(oe=[Vn,Cn])}F0(oe),ep(U0),cn(Wf),_0!==0&&cn(_0+" J"),Q0!==0&&cn(Q0+" j"),Ds.publish("addPage",{pageNumber:oA})},L0=function(Qe){Qe>0&&Qe<=oA&&(oa.splice(Qe,1),gi.splice(Qe,1),oA--,an>oA&&(an=oA),this.setPage(an))},Rh=function(Qe){Qe>0&&Qe<=oA&&(an=Qe)},jh=We.__private__.getNumberOfPages=We.getNumberOfPages=function(){return oa.length-1},Mh=function(Qe,ht,nn){var Cn,Vn=void 0;return nn=nn||{},Qe=Qe!==void 0?Qe:Eo[_o].fontName,ht=ht!==void 0?ht:Eo[_o].fontStyle,Cn=Qe.toLowerCase(),wi[Cn]!==void 0&&wi[Cn][ht]!==void 0?Vn=wi[Cn][ht]:wi[Qe]!==void 0&&wi[Qe][ht]!==void 0?Vn=wi[Qe][ht]:nn.disableWarning===!1&&Ts.warn("Unable to look up font label for font '"+Qe+"', '"+ht+"'. Refer to getFontList() for available fonts."),Vn||nn.noFallback||(Vn=wi.times[ht])==null&&(Vn=wi.times.normal),Vn},Zf=We.__private__.putInfo=function(){var Qe=jA(),ht=function(Cn){return Cn};for(var nn in Ve!==null&&(ht=XA.encryptor(Qe,0)),cn("<<"),cn("/Producer ("+dc(ht("jsPDF "+po.version))+")"),Oi)Oi.hasOwnProperty(nn)&&Oi[nn]&&cn("/"+nn.substr(0,1).toUpperCase()+nn.substr(1)+" ("+dc(ht(Oi[nn]))+")");cn("/CreationDate ("+dc(ht(Ar))+")"),cn(">>"),cn("endobj")},Zm=We.__private__.putCatalog=function(Qe){var ht=(Qe=Qe||{}).rootDictionaryObjId||og;switch(jA(),cn("<<"),cn("/Type /Catalog"),cn("/Pages "+ht+" 0 R"),No||(No="fullwidth"),No){case"fullwidth":cn("/OpenAction [3 0 R /FitH null]");break;case"fullheight":cn("/OpenAction [3 0 R /FitV null]");break;case"fullpage":cn("/OpenAction [3 0 R /Fit]");break;case"original":cn("/OpenAction [3 0 R /XYZ null null 1]");break;default:var nn=""+No;nn.substr(nn.length-1)==="%"&&(No=parseInt(No)/100),typeof No=="number"&&cn("/OpenAction [3 0 R /XYZ null null "+Lt(No)+"]")}switch(Bi||(Bi="continuous"),Bi){case"continuous":cn("/PageLayout /OneColumn");break;case"single":cn("/PageLayout /SinglePage");break;case"two":case"twoleft":cn("/PageLayout /TwoColumnLeft");break;case"tworight":cn("/PageLayout /TwoColumnRight")}Ho&&cn("/PageMode /"+Ho),Ds.publish("putCatalog"),cn(">>"),cn("endobj")},sl=We.__private__.putTrailer=function(){cn("trailer"),cn("<<"),cn("/Size "+(Kn+1)),cn("/Root "+Kn+" 0 R"),cn("/Info "+(Kn-1)+" 0 R"),Ve!==null&&cn("/Encrypt "+XA.oid+" 0 R"),cn("/ID [ <"+fr+"> <"+fr+"> ]"),cn(">>")},zh=We.__private__.putHeader=function(){cn("%PDF-"+Gt),cn("%\xBA\xDF\xAC\xE0")},Kh=We.__private__.putXRef=function(){var Qe="0000000000";cn("xref"),cn("0 "+(Kn+1)),cn("0000000000 65535 f ");for(var ht=1;ht<=Kn;ht++)typeof rr[ht]=="function"?cn((Qe+rr[ht]()).slice(-10)+" 00000 n "):rr[ht]!==void 0?cn((Qe+rr[ht]).slice(-10)+" 00000 n "):cn("0000000000 00000 n ")},Id=We.__private__.buildDocument=function(){var Qe;Kn=0,gr=0,vr=[],rr=[],kr=[],og=Il(),Oc=Il(),xr(vr),Ds.publish("buildDocument"),zh(),ld(),function(){Ds.publish("putAdditionalObjects");for(var nn=0;nn"),cn("/O <"+XA.toHexString(XA.O)+">"),cn("/P "+XA.P),cn(">>"),cn("endobj")),Zf(),Zm();var ht=gr;return Kh(),sl(),cn("startxref"),cn(""+ht),cn("%%EOF"),xr(oa[an]),vr.join(` `)},$g=We.__private__.getBlob=function(Qe){return new Blob([Di(Qe)],{type:"application/pdf"})},kc=We.output=We.__private__.output=(uc=function(Qe,ht){switch(typeof(ht=ht||{})=="string"?ht={filename:ht}:ht.filename=ht.filename||"generated.pdf",Qe){case void 0:return Id();case"save":We.save(ht.filename);break;case"arraybuffer":return Di(Id());case"blob":return $g(Id());case"bloburi":case"bloburl":if($o.URL!==void 0&&typeof $o.URL.createObjectURL=="function")return $o.URL&&$o.URL.createObjectURL($g(Id()))||void 0;Ts.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var nn="",Cn=Id();try{nn=b0(Cn)}catch(Al){nn=b0(unescape(encodeURIComponent(Cn)))}return"data:application/pdf;filename="+ht.filename+";base64,"+nn;case"pdfobjectnewwindow":if(Object.prototype.toString.call($o)==="[object Window]"){var Vn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Dr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';ht.pdfObjectUrl&&(Vn=ht.pdfObjectUrl,Dr="");var Xr='