!(function(){var Q1=Object.defineProperty,k1=Object.defineProperties;var T1=Object.getOwnPropertyDescriptors;var vm=Object.getOwnPropertySymbols;var Iv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable;var bp=(Yt,Dt,Be)=>Dt in Yt?Q1(Yt,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Be}):Yt[Dt]=Be,Kc=(Yt,Dt)=>{for(var Be in Dt||(Dt={}))Iv.call(Dt,Be)&&bp(Yt,Be,Dt[Be]);if(vm)for(var Be of vm(Dt))Nv.call(Dt,Be)&&bp(Yt,Be,Dt[Be]);return Yt},Cp=(Yt,Dt)=>k1(Yt,T1(Dt));var Dv=(Yt,Dt)=>{var Be={};for(var le in Yt)Iv.call(Yt,le)&&Dt.indexOf(le)<0&&(Be[le]=Yt[le]);if(Yt!=null&&vm)for(var le of vm(Yt))Dt.indexOf(le)<0&&Nv.call(Yt,le)&&(Be[le]=Yt[le]);return Be};var ms=(Yt,Dt,Be)=>bp(Yt,typeof Dt!="symbol"?Dt+"":Dt,Be);(self.webpackChunk=self.webpackChunk||[]).push([[5330],{27812:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},89489:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},59477:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},26227:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},49198:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},87169:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},52671:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},8657:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},56082:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},33853:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},15075:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},43531:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},38819:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},95869:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return we}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(fe,De){return Ce.createElement(ze.Z,(0,le.Z)({},fe,{ref:De,icon:tt}))},ve=Ce.forwardRef(je),we=ve},27431:function(Yt,Dt){"use strict";Dt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},87851:function(){"use strict";function Yt(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(Yt.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(Yt.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(Yt.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(Yt.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 Yt))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 Dt=[];function Be(ie,y){var a=Dt.pop();return a===void 0?new go.Point(ie,y):(a.x=ie,a.y=y,a)}function le(){var ie=Dt.pop();return ie===void 0?new go.Point:ie}function Ce(ie){Dt.push(ie)}function He(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 We=(te-ae)/Pe,nt=te-We*E;Ue=ie,Ge=We*Ue+nt}else if(Pe===0){var Te=(y-ee)/Le,vt=y-Te*ie;Ue=E,Ge=Te*Ue+vt}else{var Te=(y-ee)/Le,We=(te-ae)/Pe,vt=y-Te*ie,nt=te-We*E;Ue=(nt-vt)/(Te-We),Ge=Te*Ue+vt}return ge.x=Ue,ge.y=Ge,ge}function tt(ie,y,a,ee,E,te,ne,ae,ge,Le,Pe,Ue,Ge,We){var nt=1-ge,Te=ge,vt=ie*nt+a*Te,Qe=y*nt+ee*Te,Nt=a*nt+E*Te,At=ee*nt+te*Te,ot=E*nt+ne*Te,bt=te*nt+ae*Te,dt=vt*nt+Nt*Te,Bt=Qe*nt+At*Te,lt=Nt*nt+ot*Te,at=At*nt+bt*Te,Rt=dt*nt+lt*Te,Wt=Bt*nt+at*Te;Le.x=vt,Le.y=Qe,Pe.x=dt,Pe.y=Bt,Ue.x=Rt,Ue.y=Wt,Ge.x=lt,Ge.y=at,We.x=ot,We.y=bt}var ze=new go.Spot(.156,.156),je=new go.Spot(.844,.844),ve=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Yt("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=ze,E.spot2=je,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 Yt("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=ze,te.spot2=je,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 Yt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Yt("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 Yt("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 Yt("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 Yt("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 Yt("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 Yt("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 Yt("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();tt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.42,Le,Pe,Ue,Ge,Ge);var We=le(),nt=le(),Te=le();tt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.58,Ge,Ge,Te,We,nt);var vt=le(),Qe=le(),Nt=le();tt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.42,vt,Qe,Nt,Ge,Ge);var At=le(),ot=le(),bt=le();return tt(ne,ae+te,ne-E,ae+te,ne-te,ae+E,ne-te,ae,.58,Ge,Ge,bt,At,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,At.x*y,At.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,Te.x*y,Te.y*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,We.x*y,We.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,Qe.x*y,Qe.y*a).close()),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ge),Ce(We),Ce(nt),Ce(Te),Ce(vt),Ce(Qe),Ce(Nt),Ce(At),Ce(ot),Ce(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 Yt("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)),tt(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 We=Be(Le.x,Le.y);tt(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,(We.x*.1+.95*.9)*y,We.y*.1*a)),Ge.add(new go.PathSegment(go.PathSegment.Line,.85*y,We.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 Te=new go.PathFigure(ne*y,(ae-te)*a,!1);ee.add(Te),Te.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.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.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.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),Ce(ge),Ce(Le),Ce(Pe),Ce(Ue),Ce(We),Ce(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 Yt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Yt("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=He(0,ae/a,1,ae/a,te/y,1,1,.5,le());return ge.spot2=new go.Spot(Pe.x,Pe.y),Ce(Pe),ge}),go.Shape.setFigureParameter("Arrow2",0,new Yt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Yt("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=He(0,ae/a,1,ae/a,te/y,1,1,.5,le());return ge.spot2=new go.Spot(Pe.x,Pe.y),Ce(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 Yt("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=He(0,.5,.3,0,0,E/a,.1,E/a,le());return ne.spot1=new go.Spot(ge.x,ge.y),ge=He(.7,1,1,.5,0,te/a,1,te/a,ge),ne.spot2=new go.Spot(ge.x,ge.y),Ce(ge),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Yt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Yt("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=He(0,.5,.3,ae/a,0,te/a,1,te/a,le());return Le.spot1=new go.Spot(Ue.x,Ue.y),Ue=He(.7,ge/a,1,.5,0,ne/a,1,ne/a,Ue),Le.spot2=new go.Spot(Ue.x,Ue.y),Ce(Ue),Le}),go.Shape.setFigureParameter("IBeamArrow",0,new Yt("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=He(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ce(ge),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Yt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Yt("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=He(.7,ge/a,1,.5,0,ne/a,1,ne/a,le());return Le.spot2=new go.Spot(Ue.x,Ue.y),Ce(Ue),Le}),go.Shape.setFigureParameter("Pointer",0,new Yt("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=He(.2,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(ne.x,ne.y),Ce(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Yt("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=He(0,.65,1,.65,0,1,1,.5,le());return E.spot2=new go.Spot(ne.x,ne.y),Ce(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Yt("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=He(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ce(ge),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Yt("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=He(.7,1,1,.5,0,te/a,1,te/a,le());return ne.spot2=new go.Spot(ge.x,ge.y),Ce(ge),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Yt("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 We=new go.PathFigure(.5*y,.2*a,!0);return ee.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ge=.95,Le=.25,We.add(new go.PathSegment(go.PathSegment.Bezier,(ge+Ue)*y,Le*a,(ge+Ge)*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a)),We.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),We.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Ue=.025,Ge=ve*Ue,ge=.825,Le=.35,We.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),We.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),We.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),We.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Ue=.05,Ge=ve*Ue,ge=.5,Le=.7,We.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),We.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),We.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),We.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Ue=.025,Ge=ve*Ue,ge=.175,Le=.35,We.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge+Ue)*y,(Le-Ge)*a,(ge+Ge)*y,(Le-Ue)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ge-Ue)*y,Le*a,(ge-Ge)*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a)),We.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),We.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),We.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Ue=.05,Ge=ve*Ue,ge=.05,Le=.25,We.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(Le-Ue)*a,(ge-Ue)*y,(Le-Ge)*a,(ge-Ge)*y,(Le-Ue)*a)),We.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 Yt("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 We=new go.PathFigure(ge*y+Pe,(Le+ae)*a+Ue,!0);ee.add(We),We.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)),We.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)),We.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)),We.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 Te=new go.PathFigure(ge*y+Pe,(Le-ae)*a+Ue,!0);ee.add(Te),Te.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)),Te.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)),Te.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)),Te.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();tt(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),We=new go.PathFigure(Le.x*y,Le.y*a,!0);ee.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,Pe.x*y,Pe.y*a,Ue.x*y,Ue.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne+te)*y,(ae+E)*a,(ne+E)*y,(ae+te)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,(ne-E)*y,(ae+te)*a,(ne-te)*y,(ae+E)*a)),tt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,ge,ge),We.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,tt(ne-te,ae,ne-te,ae-E,ne-E,ae-te,ne,ae-te,.5,Pe,Ue,Le,ge,ge),We.add(new go.PathSegment(go.PathSegment.Line,Le.x*y,Le.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne-te)*y,ae*a,Ue.x*y,Ue.y*a,Pe.x*y,Pe.y*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ae+te)*a,(ne-te)*y,(ae+E)*a,(ne-E)*y,(ae+te)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ne+te)*y,ae*a,(ne+E)*y,(ae+te)*a,(ne+te)*y,(ae+E)*a)),tt(ne,ae-te,ne+E,ae-te,ne+te,ae-E,ne+te,ae,.5,ge,ge,Le,Pe,Ue),We.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 We=new go.PathFigure(.45*y,0,!0);return ee.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),We.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),We.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Ce(ge),Ce(Le),Ce(Pe),Ce(Ue),Ce(Ge),ee.spot1=new go.Spot(.25,.45),ee.spot2=new go.Spot(.75,.8),ee}),go.Shape.defineFigureGenerator("Fallout",function(ie,y,a){var ee=new go.Geometry,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,We=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,(We+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,We=ne,nt=Pe*Ge,Te=Pe*We;te.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Ge)*y,ge*a,(ae-(nt+Ge)/2)*y,(ge+(We+Te)/2)*a,(ae-Ge)*y,(ge+Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ge-We)*a,(ae-Ge)*y,(ge-Te)*a,(ae-nt)*y,(ge-We)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Ge)*y,ge*a,(ae+nt)*y,(ge-We)*a,(ae+Ge)*y,(ge-Te)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Ge)*y,(ge+Te)*a,(ae+(nt+Ge)/2)*y,(ge+(We+Te)/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 Qe=new go.PathFigure(.8*y,a,!1);return ee.add(Qe),Qe.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 We=new go.PathFigure((Pe-ge)*y,Ue*a,!0);return ee.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue-ge)*a,(Pe-ge)*y,(Ue-Le)*a,(Pe-Le)*y,(Ue-ge)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+ge)*y,Ue*a,(Pe+Le)*y,(Ue-ge)*a,(Pe+ge)*y,(Ue-Le)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Pe*y,(Ue+ge)*a,(Pe+ge)*y,(Ue+Le)*a,(Pe+Le)*y,(Ue+ge)*a)),We.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,We=.95,ae=new go.PathFigure((Ge-Pe)*y,We*a,!0);ee.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We-Pe)*a,(Ge-Pe)*y,(We-Ue)*a,(Ge-Ue)*y,(We-Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,We*a,(Ge+Ue)*y,(We-Pe)*a,(Ge+Pe)*y,(We-Ue)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We+Pe)*a,(Ge+Pe)*y,(We+Ue)*a,(Ge+Ue)*y,(We+Pe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,We*a,(Ge-Ue)*y,(We+Pe)*a,(Ge-Pe)*y,(We+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.375,We=.95,ge=new go.PathFigure((Ge-Pe)*y,We*a,!0);ee.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We-Pe)*a,(Ge-Pe)*y,(We-Ue)*a,(Ge-Ue)*y,(We-Pe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,We*a,(Ge+Ue)*y,(We-Pe)*a,(Ge+Pe)*y,(We-Ue)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We+Pe)*a,(Ge+Pe)*y,(We+Ue)*a,(Ge+Ue)*y,(We+Pe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,We*a,(Ge-Ue)*y,(We+Pe)*a,(Ge-Pe)*y,(We+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.625,We=.95,Le=new go.PathFigure((Ge-Pe)*y,We*a,!0);ee.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We-Pe)*a,(Ge-Pe)*y,(We-Ue)*a,(Ge-Ue)*y,(We-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,We*a,(Ge+Ue)*y,(We-Pe)*a,(Ge+Pe)*y,(We-Ue)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We+Pe)*a,(Ge+Pe)*y,(We+Ue)*a,(Ge+Ue)*y,(We+Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,We*a,(Ge-Ue)*y,(We+Pe)*a,(Ge-Pe)*y,(We+Ue)*a));var Pe=.05,Ue=ve*.05,Ge=.825,We=.95,nt=new go.PathFigure((Ge-Pe)*y,We*a,!0);ee.add(nt),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We-Pe)*a,(Ge-Pe)*y,(We-Ue)*a,(Ge-Ue)*y,(We-Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge+Pe)*y,We*a,(Ge+Ue)*y,(We-Pe)*a,(Ge+Pe)*y,(We-Ue)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,Ge*y,(We+Pe)*a,(Ge+Pe)*y,(We+Ue)*a,(Ge+Ue)*y,(We+Pe)*a)),nt.add(new go.PathSegment(go.PathSegment.Bezier,(Ge-Pe)*y,We*a,(Ge-Ue)*y,(We+Pe)*a,(Ge-Pe)*y,(We+Ue)*a).close());var Te=new go.PathFigure(0,a,!1);return ee.add(Te),Te.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")},63089: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 Yt={},Dt="5.0",Be={},le=null,Ce=!1,He=!1,tt=null,ze=!1,je=null,ve=null,we=0;we4?parseFloat(ht):5};Yt.setHTML5Codebase=function(ht,Ht){ve=ht,at(ht,Ht)},Yt.setJavaCodebase=Yt.setJavaCodebaseVersion=Yt.isCompiledInstalled=Yt.setPreCompiledScriptPath=Yt.setPreCompiledResourcePath=function(){},Yt.setHTML5CodebaseVersion=function(ht,Ht){var Sn=parseFloat(ht);if(Sn!==NaN&&Sn<5){console.log("The GeoGebra HTML5 codebase version "+Sn+" is deprecated. Using version latest instead.");return}je=ht,lt(ht,Ht)},Yt.getHTML5CodebaseVersion=function(){return ie},Yt.getParameters=function(){return Be},Yt.setFontsCSSURL=function(ht){ne=ht},Yt.setGiacJSURL=function(ht){},Yt.setJNLPFile=function(ht){fe=ht},Yt.setJNLPBaseDir=function(ht){},Yt.inject=function(){function ht(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ht="auto",Sn=Be.id,Tn,ln=!1,zn=0;zn=5)return!0;var ht=Yt.getAppletObject();return ht&&typeof ht.recalculateEnvironments=="function"?(ht.recalculateEnvironments(),!0):!1},Yt.startAnimation=function(){var ht=Yt.getAppletObject();return ht&&typeof ht.startAnimation=="function"?(ht.startAnimation(),!0):!1},Yt.stopAnimation=function(){var ht=Yt.getAppletObject();return ht&&typeof ht.stopAnimation=="function"?(ht.stopAnimation(),!0):!1},Yt.getAppletObject=function(){var ht=Be.id!==void 0?Be.id:"ggbApplet";return window[ht]},Yt.resize=function(){};var nt=function(ht,Ht,Sn){var Tn=document.createElement("param");Tn.setAttribute("name",Ht),Tn.setAttribute("value",Sn),ht.appendChild(Tn)},Te=function(ht){return ht&&ht!=="false"},vt=function(ht,Ht,Sn){ge(ie)<=4.2&&(Sn=!0);var Tn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ie||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Tn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ln=document.createElement("div");ln.classList.add("appletParameters","notranslate");var zn=Ht.width,yt=Ht.height;if(Ht.disableAutoScale=Ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ht.disableAutoScale,Ht.width!==void 0)if(ge(ie)<=4.4)Te(Ht.showToolBar)&&(Ht.height-=7),Te(Ht.showAlgebraInput)&&(Ht.height-=37),Ht.width<605&&Te(Ht.showToolBar)&&(Ht.width=605,zn=605);else{var Hn=100;(Te(Ht.showToolBar)||Te(Ht.showMenuBar))&&(Ht.hasOwnProperty("customToolBar")&&(Ht.customToolbar=Ht.customToolBar),Hn=Te(Ht.showMenuBar)?245:155),zn=5?(Ht.appletOnLoad=function(st){var jt=ht.querySelector(".ggb_preview");jt&&jt.parentNode.removeChild(jt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(vn),window.GGBT_wsf_view&&$(window).trigger("resize"),Xe(st)},Fe||vn.appendChild(he)):ln.appendChild(he),vn.appendChild(ln),Fe||ht.appendChild(vn),setTimeout(function(){Yt.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(ln),ht.appendChild(de),Ht.appletOnLoad=function(st){Yt.resize(),Xe(st)}}function Se(st,jt){jt&&typeof jt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(st,jt.appletOnLoad):renderGGBElement(st),Rt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",jt)}function qe(st,jt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:st,params:jt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Qn){Se(Qn.article,Qn.params)}),html5AppletsToProcess=null)},ge(ie)<5&&(st.className+=" geogebraweb")):Se(st,jt)}if(Tn){scriptLoadStarted=!0;for(var gt=0;gt0?(Wn.remove(),vn.attr("id","fullscreencontent").show(),jQuery(Xe).append(vn),window.dispatchEvent(new Event("resize"))):vt(Wn,Ht,!1),window.GGBT_wsf_view.launchFullScreen(Xe)}else Ee=Tn,vt(ht,Ht,!1);if(!window.GGBT_wsf_view)for(yt=0;ytht/4*3&&(Wn=ht/4*3),Xe=Wn/5.8,Hn.setAttribute("src",E),Hn.setAttribute("width",Wn),Hn.setAttribute("height",Xe);var vn=(ht-Wn)/2,Fe=(Ht-Xe)/2;Hn.style.left=vn+"px",Hn.style.top=Fe+"px",ln.appendChild(Hn)}}return ln.appendChild(yt),ln},dt=function(ht){return ht=ht.toLowerCase(),ht==="html5"||ht==="screenshot"?ht:"html5"},Bt=["web","webSimple","web3d","tablet","tablet3d","phone"],lt=function(ht,Ht){if(ie=ht,Ht){at(ie,!0);return}var Sn=!Ce;if(Sn){var Tn=ge(ie);!isNaN(Tn)&&Tn<4.4&&(Sn=!1)}var ln,zn;window.location.protocol.substr(0,4)==="http"?ln=window.location.protocol:ln="http:";var yt=ie.indexOf("//");yt>0?zn=ie:yt===0?zn=ln+ie:zn="https://www.geogebra.org/apps/5.2.814.0/";for(var Hn in Bt)if(ie.slice(Bt[Hn].length*-1)===Bt[Hn]||ie.slice((Bt[Hn].length+1)*-1)===Bt[Hn]+"/"){at(zn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Sn&&!le.is3D&&!le.AV&&!le.SV&&!le.CV&&!le.EV2&&!le.CP&&!le.PC&&!le.DA&&!le.FI&&!le.PV&&!Te(Be.showToolBar)&&!Te(Be.showMenuBar)&&!Te(Be.showAlgebraInput)&&!Te(Be.enableRightClick)&&(!Be.appName||Be.appName=="classic")?zn+="webSimple/":zn+="web3d/",at(zn,!1)},at=function(ht,Ht){if(ht.requirejs){De=ht;return}ht.slice(-1)!=="/"&&(ht+="/"),De=ht,Ht===null&&(Ht=ht.indexOf("http")===-1),xe=Ht,y="web.nocache.js",a=!1;var Sn=De.split("/");Sn.length>1&&(!Ht&&Sn[Sn.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Bt.indexOf(Sn[Sn.length-2])>=0&&(y=Sn[Sn.length-2]+".nocache.js")),Sn=ht.split("/"),ie=Sn[Sn.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 Tn=parseFloat(ie);Tn!==NaN&&Tn<5&&ht.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Tn+" is deprecated. Using version latest instead."),lt("5.0",Ht))},Rt=function(ht,Ht){window.console&&window.console.log&&(!Ht||typeof Ht.showLogging=="undefined"||Ht.showLogging&&Ht.showLogging!=="false")&&console.log(ht)};Be.material_id!==void 0?Ue(Wt):Wt();function Wt(){var ht=Dt;je!==null?ht=je:parseFloat(ht)<5&&(ht="5.0"),lt(ht,!1),ve!==null&&at(ve,xe),ze=!0}return Yt},GGBAppletUtils=function(){"use strict";function Yt(){return window.GGBT_wsf_edit!==void 0}function Dt(ze,je){je!=1?(ze.style.transformOrigin="0% 0% 0px",ze.style.webkitTransformOrigin="0% 0% 0px",ze.style.transform="scale("+je+","+je+")",ze.style.webkitTransform="scale("+je+","+je+")",ze.style.maxWidth="initial",ze.querySelector(".ggb_preview")!==null&&(ze.querySelector(".ggb_preview").style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ze.style.transform="none",ze.style.webkitTransform="none")}function Be(ze,je,ve,we,Ne,fe){var De=null;if(fe!=null&&fe!="")for(var xe=ze.parentNode;xe!=null;)if((" "+xe.className+" ").indexOf(" "+fe+" ")>-1){De=xe;break}else xe=xe.parentNode;var Ee=0,ie=0,y=0,a=0,ee=0,E=0,te=0;if(De)Ee=De.offsetWidth,ie=Math.max(we?De.offsetWidth:0,De.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ee=Math.min(window.innerWidth,document.documentElement.clientWidth),ie=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ee):(Ee=window.innerWidth,ie=window.innerHeight,y=window.innerWidth),ze){var ne=ze.getBoundingClientRect();ne.left>0&&ne.left<=Ee&&(Ne===void 0||!Ne)&&(document.dir==="rtl"?(ee=Ee-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,ee=y<=480?10:30),a=E+ee)}if(ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,te=40)}}return ze&&((ve===void 0||!ve)&&je>0&&je+a1&&(fe=!0)),je&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(fe=!0),!(ze.hasOwnProperty("disableAutoScale")&&ze.disableAutoScale))Ne=le(ze,je,fe,ve,ze.scaleContainerClass);else return we;return fe&&(!ze.hasOwnProperty("scale")||we===1)?Ne:Math.min(we,Ne)}function He(ze){var je=Math.min(window.innerWidth,document.documentElement.clientWidth),ve=Math.min(window.innerHeight,document.documentElement.clientHeight),we=ze.getBoundingClientRect(),Ne=(je-we.width)/2,fe=(ve-we.height)/2;fe<0&&(fe=0),ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ne<40?ze.style.left="40px":ze.style.left=Ne+"px",ze.style.top=fe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(fe<40?ze.style.top="40px":ze.style.top=fe+"px",ze.style.left=Ne+"px")}function tt(ze,je){var ve=ze.querySelector(".appletParameters");if(ve){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(je.id!==ve.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}if(ve.parentElement&&/fullscreen/.test(ve.parentElement.className))return;var we=Ce(je,ze);Yt()&&ve.setAttribute("data-param-scale",we);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(Yt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Yt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Yt){var Dt=c[Yt];return Dt==null?null:Dt},r=d,webModule.__errFn=e}function B(){function Yt(ze){var je=ze.lastIndexOf(rb);je==-1&&(je=ze.length);var ve=ze.indexOf(sb);ve==-1&&(ve=ze.length);var we=ze.lastIndexOf(tb,Math.min(ve,je));return we>=O?ze.substring(O,we+P):W}function Dt(ze){if(!ze.match(/^\w+:\/\//)){var je=o.createElement(ub);je.src=ze+vb,ze=Yt(je.src)}return ze}function Be(){var ze=__gwt_getMetaProperty(wb);return ze!=null?ze:W}function le(){for(var ze=o.getElementsByTagName(_),je=O;jeO?ze[ze.length-P].href:W}function He(){var ze=o.location;return ze.href==ze.protocol+zb+ze.host+ze.pathname+ze.search+ze.hash}var tt=Be();return tt==W&&(tt=le()),tt==W&&(tt=Ce()),tt==W&&He()&&(tt=Yt(o.location.href)),tt=Dt(tt),tt}function C(Yt){return Yt.match(/^\//)||Yt.match(/^[a-zA-Z]+:\/\//)?Yt:webModule.__moduleBase+Yt}function D(){var Yt=[],Dt=O,Be=[],le=[];function Ce(ze){var je=le[ze](),ve=Be[ze];if(je in ve)return je;var we=[];for(var Ne in ve)we[ve[Ne]]=Ne;throw r&&r(ze,we,je),null}if(__gwt_isKnownPropertyValue=function(ze,je){return je in Be[ze]},webModule.__getPropMap=function(){var ze={};for(var je in Be)Be.hasOwnProperty(je)&&(ze[je]=Ce(je));return ze},webModule.__computePropValue=Ce,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var He;try{He=Cb;var tt=He.indexOf(Db);tt!=-1&&(Dt=parseInt(He.substring(tt+P),$),He=He.substring(O,tt))}catch(ze){}return webModule.__softPermutationId=Dt,C(He+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})()},88457:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Ax:function(){return tt},Ds:function(){return ze},KI:function(){return ve},SI:function(){return He},f1:function(){return Ce}});var le=Be(78323);function Ce(we){let Ne=!0;if(we.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={}))Ee.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 We=(Le=ge==null?void 0:ge.emotion)==null?void 0:Le.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),nt=(Pe=ge==null?void 0:ge.focus)==null?void 0:Pe.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),Te=(Ue=ge==null?void 0:ge.action)==null?void 0:Ue.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe)),vt=(Ge=ge==null?void 0:ge.intention)==null?void 0:Ge.map(Qe=>a({value:Qe==null?void 0:Qe.rate},Qe));return[{title:"\u8868\u60C5\u5360\u6BD4",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:We||[]},{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:Te||[]},{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:We=0,wrapWidth:nt=1200})=>{const Te=(Qe="",Nt,At="--")=>Qe?(Qe==null?void 0:Qe.length)>Nt?(Qe==null?void 0:Qe.slice(0,Nt-1))+"...":Qe:At,vt=Math.floor((nt-(Pe-1)*Ue)/Pe);return le.createElement("div",{className:tt()(Ce.list,ge)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((Qe,Nt)=>{const{cover_pic:At,created_at:ot,emotion:bt,action:dt,intention:Bt,focus:lt}=Qe;return le.createElement("div",{key:Nt,className:Ce.wrap,style:{width:vt,marginRight:(1+Nt)%Pe===0?0:Ue+We,marginBottom:Ge}},le.createElement("div",{className:Ce.img},le.createElement("img",{src:`${fe.Z.API_SERVER}${At}`}),le.createElement("div",{className:Ce.tips},le.createElement("div",null,le.createElement("i",{className:"iconfont icon-paisheshijian mr5 font14"})," \u62CD\u6444\u65F6\u95F4"),le.createElement("span",null,ot))),le.createElement("div",{className:Ce.footer},le.createElement("ul",null,le.createElement("li",null,le.createElement("i",{className:"iconfont icon-biaoqing"}),le.createElement("span",null,"\u8868\u60C5\uFF1A",le.createElement(je.Z,{title:bt},le.createElement("span",{className:"c-grey-333"},Te(bt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-hangwei"}),le.createElement("span",null,"\u884C\u4E3A\uFF1A",le.createElement(je.Z,{title:dt},le.createElement("span",{className:"c-grey-333"},Te(dt,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(je.Z,{title:Bt},le.createElement("span",{className:"c-grey-333"},Te(Bt,4))))),le.createElement("li",null,le.createElement("i",{className:"iconfont icon-zhuangtai"}),le.createElement("span",null,"\u4E13\u6CE8\u5EA6\uFF1A",le.createElement(je.Z,{title:lt},le.createElement("span",{className:"c-grey-333"},Te(lt,3))))))))})))},te=({className:ge,style:Le,title:Pe,hideBar:Ue=!1,children:Ge,customText:We="",noDataText:nt="",emptyData:Te=[],loading:vt,actionAnalysis:Qe})=>{var Nt,At;const ot=((Nt=Te==null?void 0:Te[0])==null?void 0:Nt.every(dt=>{var Bt;return!((Bt=dt==null?void 0:dt.data)!=null&&Bt.length)}))&&!((At=Te==null?void 0:Te[1])!=null&&At.length)||!Qe,bt=Qe?nt:We;return le.createElement(ve.Z,{loading:vt,active:!0},ot&&le.createElement("div",{className:tt()(Ce.noData,ge),style:Le},!!Pe&&le.createElement("div",{className:Ce.title},!Ue&&le.createElement("b",null),le.createElement("span",null,Pe)),le.createElement("div",{className:Ce.itemWrap},le.createElement(Ne.Z,{customText:bt}))),!ot&&Ge)};var ae=({className:ge,style:Le,data:Pe=[],title:Ue,hideBar:Ge=!1,loading:We=!1})=>le.createElement("div",{className:tt()(Ce.analysis,ge),style:Le},!!Ue&&le.createElement("div",{className:Ce.title},!Ge&&le.createElement("b",null),le.createElement("span",null,Ue)),le.createElement(we.Z,{spinning:We},le.createElement("div",{className:Ce.itemWrap},Pe==null?void 0:Pe.map((nt,Te)=>le.createElement("div",{className:Ce.item,key:Te},le.createElement(ze.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 Qe in nt==null?void 0:nt.data)if(vt==(nt==null?void 0:nt.data[Qe].name))return vt+" "+(nt==null?void 0:nt.data[Qe].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}}))))))},12306:function(Yt,Dt,Be){"use strict";var le=Be(86204),Ce=Be.n(le),He=Object.defineProperty,tt=(we,Ne,fe)=>Ne in we?He(we,Ne,{enumerable:!0,configurable:!0,writable:!0,value:fe}):we[Ne]=fe,ze=(we,Ne,fe)=>tt(we,typeof Ne!="symbol"?Ne+"":Ne,fe),je=(we,Ne,fe)=>new Promise((De,xe)=>{var Ee=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(Ee,ie);y((fe=fe.apply(we,Ne)).next())});class ve extends le.EventEmitter{constructor(Ne,fe){super(),ze(this,"url"),ze(this,"body"),ze(this,"fullContent",""),ze(this,"controller",null),ze(this,"buffer",""),this.url=Ne,this.body=fe}startStream(){return je(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(),Ee=new TextDecoder("utf-8");for(;;){const{done:ie,value:y}=yield xe.read();if(ie)break;const a=Ee.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()}}Dt.Z=ve},86197:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var le=Be(59301),Ce={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},He=Be(92310),tt=Be.n(He),ze=Be(71418),je=Be(2859),ve=Be(57193),we=Be(63949),Ne=(xe,Ee,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,Ee)).next())}),De=({data:xe,className:Ee,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,We]=(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),We("\u6B63\u5728\u52A0\u8F7D\u4E2D");const At=yield(0,we.ZJ)(xe==null?void 0:xe.src);ne.current.src="",ne.current.src=At,ne.current.onload=function(){Nt()},Ue(!1),We("")}),Te=()=>{document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",a()},vt=At=>Ne(void 0,null,function*(){Ue(!0),We("\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:At.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(At.state)}})).status===0&&ee():ot!=null&&ot.id&&ee(ot),document.body.removeAttribute("data-custom"),ge.current.innerHTML=" ",Ue(!1),We("")}),Qe=()=>{const At=document.querySelector('a[href="https://markerjs.com/"]');At&&At.parentNode&&(At.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 dt=document.querySelector(bt.name);dt&&dt.setAttribute("title",bt.title)})},Nt=()=>{ae.current=new je.hP(ne.current),ae.current.targetRoot=Le.current,ae.current.addEventListener("render",vt),ae.current.addEventListener("beforeclose",Te),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),Qe()},300)};return le.createElement(le.Fragment,null,(xe==null?void 0:xe.visible)&&le.createElement(ze.Z,{spinning:Pe,tip:Ge,style:{position:"absolute"}},le.createElement("div",{ref:Le,className:tt()(Ce.imageDimensions,Ee,ie?Ce.fullWidth:""),style:y},le.createElement("img",{className:Ce.img,ref:ne}))))}},24638:function(Yt,Dt,Be){"use strict";var le=Be(59301),Ce=Be(95237),He=Be(43604),tt=Be(99313),ze=Be(3113),je=Be(76818),ve=Be(27431),we=Be(48136),Ne=Be(59301);const fe=(0,le.forwardRef)(({callback:De,showSaveButton:xe,value:Ee=""},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(Ce.Z,{className:ve.Z.lists,gutter:[10,10]},a.map((ae,ge)=>Ne.createElement(He.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(je.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(Ce.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(He.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(je.Z,{value:"`$$"+Ue.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ne.createElement(Ce.Z,{className:ve.Z.lists,gutter:[10,10]},ee.map((ae,ge)=>Ne.createElement(He.Z,{flex:"110px",className:ve.Z.item},Ne.createElement("div",null,Ne.createElement(je.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(Ce.Z,{gutter:[10,10]},Le.data.map((Ue,Ge)=>Ne.createElement(He.Z,{key:Ge,onClick:()=>E(Ue),className:ve.Z.diamond},Ne.createElement(je.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(tt.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}},Ee||""),xe&&Ne.createElement("div",{className:ve.Z.button},Ne.createElement(ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Dt.Z=fe},50546:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return vt}});var le=Be(59301),Ce=Be(95392),He=Be(43418),tt=Be(78241),ze=Be(8591),je=Be(71418),ve=Be(17574),we=Be(95237),Ne=Be(43604),fe=Be(6848),De=Be(92832),xe={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},Ee=Be(90036),ie=Be(67670),y=Be(13922),a=Be(16338),ee=Object.defineProperty,E=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Le=(Qe,Nt,At)=>Nt in Qe?ee(Qe,Nt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Qe[Nt]=At,Pe=(Qe,Nt)=>{for(var At in Nt||(Nt={}))ae.call(Nt,At)&&Le(Qe,At,Nt[At]);if(ne)for(var At of ne(Nt))ge.call(Nt,At)&&Le(Qe,At,Nt[At]);return Qe},Ue=(Qe,Nt)=>E(Qe,te(Nt)),Ge=(Qe,Nt)=>{var At={};for(var ot in Qe)ae.call(Qe,ot)&&Nt.indexOf(ot)<0&&(At[ot]=Qe[ot]);if(Qe!=null&&ne)for(var ot of ne(Qe))Nt.indexOf(ot)<0&&ge.call(Qe,ot)&&(At[ot]=Qe[ot]);return At},We=(Qe,Nt,At)=>new Promise((ot,bt)=>{var dt=at=>{try{lt(At.next(at))}catch(Rt){bt(Rt)}},Bt=at=>{try{lt(At.throw(at))}catch(Rt){bt(Rt)}},lt=at=>at.done?ot(at.value):Promise.resolve(at.value).then(dt,Bt);lt((At=At.apply(Qe,Nt)).next())});const nt=(Qe=[])=>Qe==null?void 0:Qe.map(Nt=>Ue(Pe({},Nt),{title:(Nt==null?void 0:Nt.value)||"",key:Nt==null?void 0:Nt.id,isLeaf:!0})),Te=Qe=>{var Nt=Qe,{user:At,children:ot,isShowComponent:bt=!0,ModalProps:dt={},onDataSelect:Bt}=Nt,lt=Ge(Nt,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[at,Rt]=He.default.useModal(),[Wt]=tt.default.useForm(),[ht,Ht]=(0,le.useState)([]),[Sn,Tn]=(0,le.useState)(!1),[ln,zn]=(0,le.useState)(!1),[,yt,Hn,Wn]=(0,Ee.U)(ie.qE,{page:1,limit:9999}),[,,Xe]=(0,Ee.U)(ie.V8,{}),[,,vn]=(0,Ee.U)(ie.B$,{}),[,,Fe]=(0,Ee.U)(ie.DH,{}),[,,he]=(0,Ee.U)(ie.bJ,{}),de=()=>{Tn(!1),Wt.resetFields(),zn(!1)},Se=gt=>We(void 0,null,function*(){const{node:_e,dragNode:Ye,event:Pt}=gt,ft=gt.node.pos.split("-"),st=gt.dropPosition-Number(ft[ft.length-1]);if(st==0){ze.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(st==1&&(Ye==null?void 0:Ye.item_index)==(_e==null?void 0:_e.item_index)+1){ze.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const jt=yield he({id:Ye==null?void 0:Ye.key,position:st==-1?1:(Ye==null?void 0:Ye.item_index)>(_e==null?void 0:_e.item_index)?(_e==null?void 0:_e.item_index)+1:_e==null?void 0:_e.item_index});(jt==null?void 0:jt.status)===0&&(ze.ZP.success("\u79FB\u52A8\u6210\u529F"),Hn({},!0))}),qe=gt=>We(void 0,null,function*(){let _e={};ln?_e=yield vn(Pe({},gt)):_e=yield Fe(Pe({},gt)),(_e==null?void 0:_e.status)==0&&(ze.ZP.success((_e==null?void 0:_e.message)||(ln?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),Hn({},!0),de())});return(0,le.useEffect)(()=>{dt!=null&&dt.open&&Hn({},!0)},[dt==null?void 0:dt.open]),(0,le.useEffect)(()=>{var gt;Ht(nt((gt=Wn==null?void 0:Wn.data)==null?void 0:gt.list))},[Wn]),bt?le.createElement(le.Fragment,null,Rt,ot,le.createElement(He.default,Pe({},Pe({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},dt)),le.createElement(je.Z,{spinning:yt},(ht==null?void 0:ht.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:Bt,treeData:ht,onDrop:Se,titleRender:gt=>le.createElement(le.Fragment,null,le.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},gt==null?void 0:gt.title),le.createElement("div",{className:`${xe.EditDom}`},le.createElement(we.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:_e=>{_e.stopPropagation(),Wt.setFieldsValue(Pe({},gt)),Tn(!0)}}))),le.createElement(Ne.Z,null,le.createElement(fe.Z,{title:"\u5220\u9664"},le.createElement("i",{className:`iconfont icon-shanchu14 font12 ${xe.currentDelete}`,onClick:_e=>{_e.stopPropagation(),at.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:()=>We(void 0,null,function*(){const Ye=yield Xe({id:gt==null?void 0:gt.key});(Ye==null?void 0:Ye.status)==0&&(ze.ZP.success((Ye==null?void 0:Ye.message)||"\u5220\u9664\u6210\u529F"),Hn({},!0))})})}}))))))}),le.createElement(a.op,{className:"ml20 mt20",icon:le.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{zn(!0),Tn(!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:()=>{zn(!0),Tn(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),le.createElement(He.default,{title:ln?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:Sn,okText:ln?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{de()},onOk:()=>{Wt.submit()}},le.createElement(tt.default,{form:Wt,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(tt.default.Item,{hidden:!0,name:"id"}),le.createElement(tt.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,Ce.connect)(({loading:Qe,user:Nt})=>({user:Nt,loading:Qe.effects}))(Te)},63347:function(Yt,Dt,Be){"use strict";Be.d(Dt,{h:function(){return ae}});var le=Be(59301),Ce=Be(57809),He=Be(78241),tt=Be(3113),ze=Be(89780),je=Be.n(ze),ve=Be(4887),we=Be(37068),Ne=Object.defineProperty,fe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Ee=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={}))Ee.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=Ce.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"]};Dt.Z=({callback:ge,onCancel:Le})=>{const[Pe,Ue]=(0,le.useState)("python");function Ge(nt){Ue(ne[nt][1])}function We(nt){ge(nt)}return le.createElement(He.default,ee(a({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:We,style:{width:500}}),le.createElement(He.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},le.createElement(Ce.default,{getPopupContainer:nt=>nt.parentNode,onChange:Ge},Object.keys(ne).map(nt=>le.createElement(E,{key:nt,value:nt},ne[nt][0])))),le.createElement(He.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(tt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(tt.ZP,{type:"ghost",onClick:Le},"\u53D6\u6D88")))};function ae({value:ge,onChange:Le,mode:Pe,options:Ue={}}){const Ge=(0,le.useRef)(),[We,nt]=(0,le.useState)();return(0,le.useEffect)(()=>{if(We){let Te=function(vt){const Qe=vt.getValue();Le&&Le(Qe)};return We.on("change",Te),()=>{We.off("change",Te)}}},[We,Le]),(0,le.useEffect)(()=>{We&&We.setOption("mode",Pe)},[We,Pe]),(0,le.useEffect)(()=>{We&&(ge!==We.getValue()||ge==="")&&setTimeout(()=>{We.setValue(ge||"")},300)},[We,ge]),(0,le.useEffect)(()=>{if(Ge.current&&!We){const Te=je().fromTextArea(Ge.current,a({mode:Pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Ue));nt(Te)}},[Ge.current,We]),le.createElement("div",{className:"my-codemirror-container"},le.createElement("textarea",{ref:Ge}))}},88871:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ei}});var le=Be(59301),Ce=Be(89780),He=Be.n(Ce),tt=Be(76374),ze=Be(4887),je=Be(6313),ve=Be(25717),we=Be(99498),Ne=Be(25419),fe=Be(67549),De=Be(76818),xe=({value:hn="",className:kn,showTextOnly:mn,showLines:Hr,style:Aa={}})=>{const jr=(0,le.useMemo)(()=>"",[hn]);return le.createElement(le.Fragment,null,le.createElement("div",{dangerouslySetInnerHTML:{__html:jr}}))},Ee=Be(59301),ie=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ne=(hn,kn,mn)=>kn in hn?ie(hn,kn,{enumerable:!0,configurable:!0,writable:!0,value:mn}):hn[kn]=mn,ae=(hn,kn)=>{for(var mn in kn||(kn={}))E.call(kn,mn)&&ne(hn,mn,kn[mn]);if(ee)for(var mn of ee(kn))te.call(kn,mn)&&ne(hn,mn,kn[mn]);return hn},ge=(hn,kn)=>y(hn,a(kn));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:hn,title:kn,icon:mn,actionName:Hr,className:Aa="",children:jr}){function Fa(){hn(Hr)}return Ee.createElement("a",{title:kn,className:Aa,onClick:Fa},Ee.createElement("i",{className:`${mn}`}),jr)}var Ue=({watch:hn,showNullButton:kn,showNullProgramButton:mn,onActionCallback:Hr,fullScreen:Aa,insertTemp:jr,hidetoolBar:Fa,extraUse:Na})=>{const _a=[...Le,{title:`${hn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${hn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ee.createElement("ul",{className:"markdown-toolbar-container"},!Fa&&_a.map((ko,vi)=>Ee.createElement("li",{key:vi},ko.actionName?Ee.createElement(Pe,ge(ae({},ko),{onActionCallback:Hr})):Ee.createElement("span",{className:"v-line"}))),kn?Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Hr},Ee.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,mn?Ee.createElement(Ee.Fragment,null,Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Hr},Ee.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Hr},Ee.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jr&&Ee.createElement("li",null,Ee.createElement(Pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jr}`,onActionCallback:Hr},Ee.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Na&&Ee.createElement("li",null,Na),Ee.createElement("li",{className:"btn-full-screen"},Ee.createElement(Pe,{icon:`${Aa?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Aa?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Hr})))},Ge=Be(81123),We=Be(78241),nt=Be(92832),Te=Be(3113),vt=Object.defineProperty,Qe=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,dt=(hn,kn,mn)=>kn in hn?vt(hn,kn,{enumerable:!0,configurable:!0,writable:!0,value:mn}):hn[kn]=mn,Bt=(hn,kn)=>{for(var mn in kn||(kn={}))ot.call(kn,mn)&&dt(hn,mn,kn[mn]);if(At)for(var mn of At(kn))bt.call(kn,mn)&&dt(hn,mn,kn[mn]);return hn},lt=(hn,kn)=>Qe(hn,Nt(kn));const at={labelCol:{span:4},wrapperCol:{span:20}};var Rt=({callback:hn,onCancel:kn})=>{function mn(Hr){hn(Hr)}return le.createElement(We.default,lt(Bt({},at),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:mn,style:{width:500}}),le.createElement(We.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(We.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(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:kn},"\u53D6\u6D88")))},Wt=Be(63347),ht=Be(90443),Ht=Be(43418),Sn=Be(95237),Tn=Be(86197),ln=Be(59301),zn=({callback:hn,onCancel:kn})=>{const mn=document.createElement("canvas"),Hr=mn.getContext("2d");mn.width=1e3,mn.height=800,Hr.fillStyle="#ffffff",Hr.fillRect(0,0,mn.width,mn.height);const Aa=mn.toDataURL("image/png");return ln.createElement(Ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ln.createElement(Sn.Z,{style:{height:"100vh"}},ln.createElement(Tn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Aa,visible:!0,title:String(Date.now())},onOk:jr=>{hn({src:jr.url})},onClose:kn})))},yt=Be(12378);function Hn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Hn,go.CommandHandler),Hn.prototype.canAlignSelection=function(){var hn=this.diagram;return!(hn===null||hn.isReadOnly||hn.isModelReadOnly||hn.selection.count<2)},Hn.prototype.alignLeft=function(){var hn=this.diagram;hn.startTransaction("aligning left");var kn=1/0;hn.selection.each(function(mn){mn instanceof go.Link||(kn=Math.min(mn.position.x,kn))}),hn.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(kn,mn.position.y))}),hn.commitTransaction("aligning left")},Hn.prototype.alignRight=function(){var hn=this.diagram;hn.startTransaction("aligning right");var kn=-1/0;hn.selection.each(function(mn){if(!(mn instanceof go.Link)){var Hr=mn.actualBounds.x+mn.actualBounds.width;kn=Math.max(Hr,kn)}}),hn.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(kn-mn.actualBounds.width,mn.position.y))}),hn.commitTransaction("aligning right")},Hn.prototype.alignTop=function(){var hn=this.diagram;hn.startTransaction("alignTop");var kn=1/0;hn.selection.each(function(mn){mn instanceof go.Link||(kn=Math.min(mn.position.y,kn))}),hn.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(mn.position.x,kn))}),hn.commitTransaction("alignTop")},Hn.prototype.alignBottom=function(){var hn=this.diagram;hn.startTransaction("aligning bottom");var kn=-1/0;hn.selection.each(function(mn){if(!(mn instanceof go.Link)){var Hr=mn.actualBounds.y+mn.actualBounds.height;kn=Math.max(Hr,kn)}}),hn.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(mn.actualBounds.x,kn-mn.actualBounds.height))}),hn.commitTransaction("aligning bottom")},Hn.prototype.alignCenterX=function(){var hn=this.diagram,kn=hn.selection.first();if(kn){hn.startTransaction("aligning Center X");var mn=kn.actualBounds.x+kn.actualBounds.width/2;hn.selection.each(function(Hr){Hr instanceof go.Link||Hr.move(new go.Point(mn-Hr.actualBounds.width/2,Hr.actualBounds.y))}),hn.commitTransaction("aligning Center X")}},Hn.prototype.alignCenterY=function(){var hn=this.diagram,kn=hn.selection.first();if(kn){hn.startTransaction("aligning Center Y");var mn=kn.actualBounds.y+kn.actualBounds.height/2;hn.selection.each(function(Hr){Hr instanceof go.Link||Hr.move(new go.Point(Hr.actualBounds.x,mn-Hr.actualBounds.height/2))}),hn.commitTransaction("aligning Center Y")}},Hn.prototype.alignColumn=function(hn){var kn=this.diagram;kn.startTransaction("align Column"),hn===void 0&&(hn=0),hn=parseFloat(hn);var mn=new Array;kn.selection.each(function(Na){Na instanceof go.Link||mn.push(Na)});for(var Hr=0;Hr0){for(var Na=jr.elt(Fa-1);Na!==null&&Na.isTreeExpanded&&!Na.isTreeLeaf;){var _a=this._sortTreeChildrenByY(Na);Na=_a.last()}Na!==null&&hn.select(Na)}else hn.select(Aa)}}else if(mn.key==="Down")if(kn.isTreeExpanded&&!kn.isTreeLeaf){var Hr=this._sortTreeChildrenByY(kn).first();Hr!==null&&hn.select(Hr)}else for(;kn!==null;){var Aa=kn.findTreeParentNode();if(Aa===null)break;var jr=this._sortTreeChildrenByY(Aa),Fa=jr.indexOf(kn);if(Fajr.y?1:Aa.xjr.x?1:0}),kn},Hn.prototype.copyToClipboard=function(hn){go.CommandHandler.prototype.copyToClipboard.call(this,hn),this._lastPasteOffset.set(this.pasteOffset)},Hn.prototype.pasteFromClipboard=function(){var hn=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(hn,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),hn},Object.defineProperty(Hn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(hn){if(hn!=="move"&&hn!=="select"&&hn!=="scroll"&&hn!=="tree"&&hn!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+hn);this._arrowKeyBehavior=hn}}),Object.defineProperty(Hn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(hn){if(!(hn instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+hn);this._pasteOffset.set(hn)}});var Wn=Hn,Xe=Be(87851),vn=Be(43604),Fe=Be(57193),he={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},de=Be(59301),Se=(hn,kn,mn)=>new Promise((Hr,Aa)=>{var jr=_a=>{try{Na(mn.next(_a))}catch(ko){Aa(ko)}},Fa=_a=>{try{Na(mn.throw(_a))}catch(ko){Aa(ko)}},Na=_a=>_a.done?Hr(_a.value):Promise.resolve(_a.value).then(jr,Fa);Na((mn=mn.apply(hn,kn)).next())});function qe({onCancel:hn,callback:kn}){let mn=(0,le.useRef)(),Hr=(0,le.useRef)(),Aa=(0,le.useRef)(),jr=(0,le.useRef)(!1);const Fa=(0,le.useRef)(!1),[Na,_a]=(0,le.useState)(0);function ko(){const Nr=yt.bx.make,Ya={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"};mn.current=new yt.S0(Hr.current,{padding:20,grid:Nr(yt.s_,"Grid",Nr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:$r=>{var Va=$r.diagram.commandHandler.addTopLevelParts($r.diagram.selection,!0);Va||$r.diagram.currentTool.doCancel()},commandHandler:Nr(Wn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:$r=>{var Va=$r.subject;Va.location=Va.location.copy().snapToGridPoint($r.diagram.grid.gridOrigin,$r.diagram.grid.gridCellSize),setTimeout(()=>{$r.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:$r=>{var Va=$r.subject;setTimeout(()=>{$r.diagram.commandHandler.editTextBlock()})},LinkRelinked:$r=>{var Va=$r.parameter.part;Va.invalidateConnectedLinks();var Mo=$r.subject;$r.diagram.toolManager.linkingTool.isForwards?Mo.toNode.invalidateConnectedLinks():Mo.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),mn.current.nodeTemplate=Nr(yt.NB,"Auto",{locationSpot:yt.z6.Center,locationObjectName:"SHAPE",desiredSize:new yt.$u(120,60),minSize:new yt.$u(40,40),resizable:!0,resizeCellSize:new yt.$u(10,10),rotatable:!0},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),new yt.KX("desiredSize","size",yt.$u.parse).makeTwoWay(yt.$u.stringify),Nr(yt.bn,{name:"SHAPE",fill:Ya.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("figure"),new yt.KX("fill"),new yt.KX("stroke","borderColor"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),Nr(yt.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Nr(yt.al,{margin:1,textAlign:"center",overflow:yt.al.OverflowEllipsis,editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),mn.current.nodeTemplate.toolTip=Nr("ToolTip",Nr(yt.s_,"Vertical",{maxSize:new yt.$u(200,NaN)},Nr(yt.al,{font:"bold 10pt sans-serif",textAlign:"center"},new yt.KX("text")),Nr(yt.al,{font:"10pt sans-serif",textAlign:"center"},new yt.KX("text","details"))));function Ei($r,Va){var Mo=(Qa,Pi)=>{Qa.handled=!0,Qa.diagram.model.commit(ns=>{var Ks=Pi.part.adornedPart,sA=new yt.E9().setRectSpot(Ks.actualBounds,$r);sA.subtract(Ks.location),sA.scale(2,2),sA.x+=Math.sign(sA.x)*130,sA.y+=Math.sign(sA.y)*130,sA.add(Ks.location),sA.snapToGridPoint(Qa.diagram.grid.gridOrigin,Qa.diagram.grid.gridCellSize);var PA=ns.copyNodeData(Ks.data);ns.setGroupKeyForNodeData(PA,ns.getGroupKeyForNodeData(Ks.data)),ns.addNodeData(PA);var xi={from:Ks.key,to:ns.getKeyForNodeData(PA)};ns.addLinkData(xi);var ka=Qa.diagram.findNodeForData(PA);ka.location=sA,Qa.diagram.select(ka),setTimeout(()=>{Qa.diagram.commandHandler.editTextBlock()},20)})};return Nr(yt.bn,{figure:Va,alignment:$r,alignmentFocus:$r.opposite(),width:$r.equals(yt.z6.Top)||$r.equals(yt.z6.Bottom)?25:18,height:$r.equals(yt.z6.Top)||$r.equals(yt.z6.Bottom)?18:25,fill:"orange",stroke:Ya.white,strokeWidth:4,mouseEnter:(Qa,Pi)=>Pi.fill="dodgerblue",mouseLeave:(Qa,Pi)=>Pi.fill="orange",isActionable:!0,click:Mo,contextClick:Mo})}function oi($r){return Nr(yt.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,Mo)=>Mo.fill="dodgerblue",mouseLeave:(Va,Mo)=>Mo.fill="orange",click:(Va,Mo)=>{Va.diagram.commandHandler.showContextMenu(Mo.part.adornedPart)}},$r||{})}mn.current.nodeTemplate.selectionAdornmentTemplate=Nr(yt.uz,"Spot",Nr(yt.Vm,{padding:10}),Ei(yt.z6.Top,"TriangleUp"),Ei(yt.z6.Left,"TriangleLeft"),Ei(yt.z6.Right,"TriangleRight"),Ei(yt.z6.Bottom,"TriangleDown"),oi({alignment:new yt.z6(.75,0)}));function Io($r,Va){return(Mo,Qa)=>{Mo.handled=!0,Mo.diagram.model.commit(Pi=>{Pi.set(Qa.part.adornedPart.data,$r,Va)})}}function Po($r,Va){return Va||(Va="color"),Nr(yt.bn,{width:16,height:16,stroke:"lightgray",fill:$r,margin:1,background:"transparent",mouseEnter:(Mo,Qa)=>Qa.stroke="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.stroke="lightgray",click:Io(Va,$r),contextClick:Io(Va,$r)})}function Vi(){return[Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Po(Ya.white,"fill"),Po(Ya.beige,"fill"),Po(Ya.extralightblue,"fill"),Po(Ya.extralightred,"fill"))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Po(Ya.lightgray,"fill"),Po(Ya.lightgreen,"fill"),Po(Ya.lightblue,"fill"),Po(Ya.lightred,"fill")))]}function Qs(){return[Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Po(Ya.black),Po(Ya.green),Po(Ya.blue),Po(Ya.red))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Po(Ya.white),Po(Ya.magenta),Po(Ya.purple),Po(Ya.orange)))]}function iA($r,Va){return Va||(Va="thickness"),Nr(yt.bn,"LineH",{width:16,height:16,strokeWidth:$r,margin:1,background:"transparent",mouseEnter:(Mo,Qa)=>Qa.background="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.background="transparent",click:Io(Va,$r),contextClick:Io(Va,$r)})}function vA($r,Va){return Va||(Va="dash"),Nr(yt.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:$r,margin:1,background:"transparent",mouseEnter:(Mo,Qa)=>Qa.background="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.background="transparent",click:Io(Va,$r),contextClick:Io(Va,$r)})}function Yi(){return[Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",iA(1),iA(2),iA(3),iA(4))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",vA(null),vA([2,4]),vA([4,4])))]}function Hi($r,Va){return Va||(Va="figure"),Nr(yt.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:$r,margin:1,background:"transparent",mouseEnter:(Mo,Qa)=>Qa.fill="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.fill="lightgray",click:Io(Va,$r),contextClick:Io(Va,$r)})}mn.current.nodeTemplate.contextMenu=Nr("ContextMenu",Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Hi("Rectangle"),Hi("RoundedRectangle"),Hi("Ellipse"),Hi("Diamond"))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Hi("Parallelogram2"),Hi("ManualOperation"),Hi("Procedure"),Hi("Cylinder1"))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Hi("Terminator"),Hi("CreateRequest"),Hi("Document"),Hi("TriangleDown"))),Vi(),Qs(),Yi()),mn.current.groupTemplate=Nr(yt.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:yt.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:($r,Va)=>{var Mo=Va.addMembers(Va.diagram.selection,!0);Mo||Va.diagram.currentTool.doCancel()},avoidable:!1},new yt.KX("location","loc",yt.E9.parse).makeTwoWay(yt.E9.stringify),Nr(yt.s_,"Auto",{name:"BODY"},Nr(yt.bn,{parameter1:10,fill:Ya.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:yt.z6.AllSides,toSpot:yt.z6.AllSides},new yt.KX("fill"),new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),Nr(yt.Vm,{background:"transparent",margin:20})),Nr(yt.al,{alignment:yt.z6.Top,alignmentFocus:yt.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new yt.KX("text"),new yt.KX("stroke","color"))),mn.current.groupTemplate.selectionAdornmentTemplate=Nr(yt.uz,"Spot",Nr(yt.s_,"Auto",Nr(yt.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Nr(yt.Vm,{margin:1.5})),oi({alignment:yt.z6.TopRight,alignmentFocus:yt.z6.BottomRight})),mn.current.groupTemplate.contextMenu=Nr("ContextMenu",Vi(),Qs(),Yi()),mn.current.linkTemplate=Nr(yt.rU,{layerName:"Foreground",routing:yt.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new yt.KX("fromSpot","fromSpot",yt.z6.parse),new yt.KX("toSpot","toSpot",yt.z6.parse),new yt.KX("fromShortLength","dir",$r=>$r>=1?10:0),new yt.KX("toShortLength","dir",$r=>$r>=1?10:0),new yt.KX("points").makeTwoWay(),Nr(yt.bn,{strokeWidth:2},new yt.KX("stroke","color"),new yt.KX("strokeWidth","thickness"),new yt.KX("strokeDashArray","dash")),Nr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,0),segmentOrientation:yt.rU.OrientAlong,alignmentFocus:yt.z6.Right,figure:"circle",width:10,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",$r=>$r===1)),Nr(yt.bn,{segmentIndex:-1,segmentOffset:new yt.E9(-10,6),segmentOrientation:yt.rU.OrientPlus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",$r=>$r>=1),new yt.KX("width","thickness",$r=>7+3*$r),new yt.KX("height","thickness",$r=>7+3*$r),new yt.KX("segmentOffset","thickness",$r=>new yt.E9(-15,4+1.5*$r))),Nr(yt.bn,{segmentIndex:0,segmentOffset:new yt.E9(15,-6),segmentOrientation:yt.rU.OrientMinus90,alignmentFocus:yt.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new yt.KX("fill","color"),new yt.KX("visible","dir",$r=>$r===2),new yt.KX("width","thickness",$r=>7+3*$r),new yt.KX("height","thickness",$r=>7+3*$r),new yt.KX("segmentOffset","thickness",$r=>new yt.E9(-15,4+1.5*$r))),Nr(yt.al,{alignmentFocus:new yt.z6(0,1,-4,0),editable:!0},new yt.KX("text").makeTwoWay(),new yt.KX("stroke","color"))),mn.current.linkTemplate.selectionAdornmentTemplate=Nr(yt.uz,Nr(yt.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:EA(2)},new yt.KX("pathPattern","thickness",EA)),oi({alignmentFocus:new yt.z6(0,0,-6,-4)}));function EA($r){return Nr(yt.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+($r+4).toString()+" H3"})}function Bl($r){var Va="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return $r===0?Va="M0 0 M16 16 M0 8 L16 8":$r===2&&(Va="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Nr(yt.bn,{geometryString:Va,margin:2,background:"transparent",mouseEnter:(Mo,Qa)=>Qa.background="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.background="transparent",click:Io("dir",$r),contextClick:Io("dir",$r)})}function Ms($r){var Va=(Mo,Qa)=>{Mo.handled=!0,Mo.diagram.model.commit(Pi=>{var ns=Qa.part.adornedPart;Pi.set(ns.data,$r?"toSpot":"fromSpot",yt.z6.stringify(yt.z6.AllSides)),($r?ns.toNode:ns.fromNode).invalidateConnectedLinks()})};return Nr(yt.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Mo,Qa)=>Qa.background="dodgerblue",mouseLeave:(Mo,Qa)=>Qa.background="transparent",click:Va,contextClick:Va})}function Or($r,Va){var Mo=0,Qa=yt.z6.RightSide;$r.equals(yt.z6.Top)?(Mo=270,Qa=yt.z6.TopSide):$r.equals(yt.z6.Left)?(Mo=180,Qa=yt.z6.LeftSide):$r.equals(yt.z6.Bottom)&&(Mo=90,Qa=yt.z6.BottomSide),Va||(Mo-=180);var Pi=(ns,Ks)=>{ns.handled=!0,ns.diagram.model.commit(sA=>{var PA=Ks.part.adornedPart;sA.set(PA.data,Va?"toSpot":"fromSpot",yt.z6.stringify(Qa)),(Va?PA.toNode:PA.fromNode).invalidateConnectedLinks()})};return Nr(yt.bn,{alignment:$r,alignmentFocus:$r.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Mo,background:"transparent",mouseEnter:(ns,Ks)=>Ks.background="dodgerblue",mouseLeave:(ns,Ks)=>Ks.background="transparent",click:Pi,contextClick:Pi})}mn.current.linkTemplate.contextMenu=Nr("ContextMenu",Qs(),Yi(),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Bl(0),Bl(1),Bl(2))),Nr("ContextMenuButton",Nr(yt.s_,"Horizontal",Nr(yt.s_,"Spot",Ms(!1),Or(yt.z6.Top,!1),Or(yt.z6.Left,!1),Or(yt.z6.Right,!1),Or(yt.z6.Bottom,!1)),Nr(yt.s_,"Spot",{margin:new yt.Zt(0,0,0,2)},Ms(!0),Or(yt.z6.Top,!0),Or(yt.z6.Left,!0),Or(yt.z6.Right,!0),Or(yt.z6.Bottom,!0)))));const qu=`{ "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 lu=["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($r){return console.log("shapeName:",$r),lu.indexOf($r)>=0}var $A=new yt.YI(Aa.current,{maxSelectionCount:1,linkTemplate:Nr(yt.rU,{locationSpot:yt.z6.Center,selectionAdornmentTemplate:Nr(yt.uz,"Link",{locationSpot:yt.z6.Center},Nr(yt.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Nr(yt.bn,{toArrow:"Standard",stroke:null}))},{routing:yt.rU.AvoidsNodes,curve:yt.rU.JumpOver,corner:5,toShortLength:4},new yt.KX("points"),Nr(yt.bn,{isPanelMain:!0,strokeWidth:2}),Nr(yt.bn,{toArrow:"Standard",stroke:null})),model:new yt.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...yt.bn.getFigureGenerators().toArray().map($r=>({text:"\u672A\u547D\u540D",size:"100 100",figure:$r.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return mn.current.addDiagramListener("TextEdited",function($r){var Va;const Mo=$r.subject.part;var Qa=(Va=document.activeElement)==null?void 0:Va.value;typeof Qa=="string"&&Qa.trim()===""&&mn.current.model.commit(function(Pi){Pi.set(Mo.data,"text","\u672A\u547D\u540D"),mn.current.commandHandler.stopCommand()},"increment")}),$A.nodeTemplate=Nr(yt.NB,"Auto",{locationSpot:yt.z6.Center},new yt.KX("location","location",yt.E9.parse).makeTwoWay(yt.E9.stringify),Nr(yt.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 yt.KX("stroke").makeTwoWay(),new yt.KX("fill").makeTwoWay(),new yt.KX("figure")),Nr(yt.al,{margin:new yt.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new yt.$u(16,16),maxSize:new yt.$u(10,NaN),textAlign:"center",editable:!0},new yt.KX("key").makeTwoWay())),setTimeout(()=>{mn.current.grid=Nr(yt.s_,"Grid",Nr(yt.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Nr(yt.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),mn.current.grid.visible=!0,mn.current.grid.gridCellStroke="darkgray",mn.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=mn.current,mn.current}const vi=()=>Se(this,null,function*(){var Nr=mn.current.makeImage();const Ya=yield(0,Fe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Nr.src}});kn({src:Ya.url})});return(0,le.useEffect)(()=>(setTimeout(()=>{ko()},500),_a(Na+1),()=>{mn.current=null}),[]),de.createElement("div",{ref:Fa,className:jr.current?`${he.maxH60} body-overflow-initial`:"body-overflow-initial"},de.createElement(Ht.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Na,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:de.createElement(Sn.Z,null,de.createElement(vn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),de.createElement(vn.Z,{onClick:()=>{var Nr,Ya,Ei=mn.current.selection.first();if(jr.current=!jr.current,document.activeElement&&Ei){let oi=(Ya=(Nr=document.activeElement)==null?void 0:Nr.value)==null?void 0:Ya.trim();typeof oi=="string"&&mn.current.model.commit(function(Io){Io.set(Ei.data,"text",oi||"\u672A\u547D\u540D"),mn.current.commandHandler.stopCommand()},"increment")}_a(Na+1)}},de.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:hn},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:Aa})),de.createElement("div",{style:{flex:1,position:"relative"}},de.createElement("div",{ref:Hr,style:{height:"80vh"}}))),de.createElement("div",{className:"tr"},de.createElement(Te.ZP,{size:"large",onClick:vi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var gt=qe,_e=Be(5112),Ye=Be(5871);const Pt=_e.ZP.Group,ft={margin:"0 8px"};var st=({callback:hn,onCancel:kn})=>{function mn(Hr){hn(Hr)}return le.createElement(We.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:mn},le.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},le.createElement("span",{style:ft},"\u5355\u5143\u683C\u6570\uFF1A"),le.createElement("span",{style:ft},"\u884C\u6570"),le.createElement(We.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},le.createElement(Ye.Z,null)),le.createElement("span",{style:ft},"\u5217\u6570"),le.createElement(We.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},le.createElement(Ye.Z,null))),le.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},le.createElement("span",{style:ft},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),le.createElement(We.default.Item,{name:"align"},le.createElement(Pt,null,le.createElement(_e.ZP,{value:"default"},le.createElement("i",{className:"fa fa-align-justify"})),le.createElement(_e.ZP,{value:"left"},le.createElement("i",{className:"fa fa-align-left"})),le.createElement(_e.ZP,{value:"center"},le.createElement("i",{className:"fa fa-align-center"})),le.createElement(_e.ZP,{value:"right"},le.createElement("i",{className:"fa fa-align-right"}))))),le.createElement("div",{className:"flex-container flex-end"},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"ghost",onClick:kn},"\u53D6\u6D88")))},jt=Be(78673),Qn=Be(63089),Lt=Be.n(Qn),Qt=(0,le.forwardRef)(({use3d:hn,width:kn,height:mn,callback:Hr,showSaveButton:Aa},jr)=>{const Fa=(0,le.useRef)(),Na=(0,le.useRef)(),[_a,ko]=(0,le.useState)(!1),vi=(0,le.useRef)({id:Fa,appName:"graphing",width:kn||1e3,height:mn||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(Lt())(vi.current,!0),window.onload=function(){Na.current.inject("applet_container")}},[]);const Nr=()=>{var Ya=window.ggbApplet.getPNGBase64(1,!0,72);return Hr&&Hr(Ya),Ya};return(0,le.useEffect)(()=>{vi.current.appName=_a?"3D":"graphing",Na.current.inject("applet_container")},[_a]),(0,le.useEffect)(()=>{ko(hn)},[hn]),(0,le.useImperativeHandle)(jr,()=>({getImgData:Nr})),le.createElement(le.Fragment,null,le.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fa}),le.createElement(Sn.Z,{align:"middle"},le.createElement(vn.Z,{flex:1},le.createElement(jt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_a,onChange:Ya=>ko(Ya)})),le.createElement(vn.Z,null,le.createElement(Te.ZP,{size:"large",onClick:Nr,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Cn=Be(24638),ut=Be(1012),Xt=Be(8591);const pn="link",bn="upload-image",Jn="add-flowchart",Ar="draw-image",Fr="add-flowchart",Er="code-block",cr="add-table",ir="------------",dr={default:ir,left:`:${ir}`,center:`:${ir}:`,right:`${ir}:`};var Rr=Be(66991),Kr=(hn,kn,mn)=>new Promise((Hr,Aa)=>{var jr=_a=>{try{Na(mn.next(_a))}catch(ko){Aa(ko)}},Fa=_a=>{try{Na(mn.throw(_a))}catch(ko){Aa(ko)}},Na=_a=>_a.done?Hr(_a.value):Promise.resolve(_a.value).then(jr,Fa);Na((mn=mn.apply(hn,kn)).next())});function xa(){}let lr=0;const ao=1e4,no="\u2581",Xr="@\u2581\u2581@",rn="@\u2581@",di=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ha=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Qi(hn){return/^\d+$/.test(hn)?`${hn}px`:hn}const La=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wi={[La+"-B"]:"bold",[La+"-I"]:"italic"},Zi={[pn]:"\u6DFB\u52A0\u94FE\u63A5",[Er]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[bn]:"\u6DFB\u52A0\u56FE\u7247",[Ar]:"\u6DFB\u52A0\u753B\u56FE",[Jn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[cr]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var ei=({defaultValue:hn="",onChange:kn,width:mn="100%",height:Hr=400,miniToolbar:Aa=!1,isFocus:jr=!1,watch:Fa,insertTemp:Na,mode:_a="markdown",id:ko="markdown-editor-id",showResizeBar:vi=!1,noStorage:Nr=!1,showNullButton:Ya=!1,showNullProgramButton:Ei=!1,hidetoolBar:oi=!1,fullScreen:Io=!1,onBlur:Po,onCMBeforeChange:Vi,onFullScreen:Qs,className:iA="",disablePaste:vA=!1,disabled:Yi=!1,disabledFill:Hi=!1,placeholder:EA="",values:Bl="",extraUse:Ms})=>{const[Or,qu]=(0,le.useState)(null),[lu,Nl]=(0,le.useState)(hn),[$A,$r]=(0,le.useState)(Fa),[Va,Mo]=(0,le.useState)(Io),[Qa,Pi]=(0,le.useState)(""),[ns,Ks]=(0,le.useState)(0),[sA,PA]=(0,le.useState)(Hr),[xi,ka]=(0,le.useState)(!1),zc=(0,le.useRef)((0,ut.Z)()),$u=(0,le.useRef)(!1),wl=(0,le.useRef)(),[Dl,Ru]=(0,le.useState)(0),[Gl,Wl]=(0,le.useState)(0),Ul=(0,le.useRef)(),Al=(0,le.useRef)(),Cu=(0,le.useRef)(),fA=(0,le.useRef)(),Bc=()=>Kr(void 0,null,function*(){var Da;const ua=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:zc.current}});(Da=ua==null?void 0:ua.attachments)!=null&&Da.length&&(console.log("cm:",Or,Ul),ua.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(Bl),Or==null||Or.setValue(Bl),window.scrollTo(0,Da)},[Bl]),(0,le.useEffect)(()=>{Qs==null||Qs(Va)},[Va]),(0,le.useEffect)(()=>{if(Ul.current){let Da=function(Zt,kt){var In;if(vA){kt.preventDefault();return}const yr=kt.clipboardData;if(yr){const Gr=yr.types.toString(),fa=yr.items;if(Gr==="Files"||yr.types.indexOf("Files")>-1){if(kt.preventDefault(),_a=="stex")return;try{let Ma=fa[1];((In=fa[0])==null?void 0:In.kind)==="file"&&(Ma=fa[0]);const Pr=Ma.getAsFile(),Mr=Pr.name.split(".").pop();(0,ht.I)(Pr,Ua=>{var _i,To,xo;Ua.id?((_i=Pr==null?void 0:Pr.type)==null?void 0:_i.indexOf("image"))>-1?ua.replaceSelection(``):((To=Pr==null?void 0:Pr.type)==null?void 0:To.indexOf("video"))>-1?ua.replaceSelection(``):((xo=Pr==null?void 0:Pr.type)==null?void 0:xo.indexOf("pdf"))>-1?ua.replaceSelection(`${Pr.name}`):ha.includes(Mr)?ua.replaceSelection(`${Pr.name}`):ua.replaceSelection(`[${Pr.name}](/api/attachments/${Ua.id}?type=${Ua.content_type})`):(Ua==null?void 0:Ua.status)===401&&(Xt.ZP.warning((Ua==null?void 0:Ua.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ma){Xt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ua=He().fromTextArea(Ul.current,{mode:_a,lineNumbers:!Aa,lineWrapping:!0,value:hn,autoCloseTags:!Ei,autoCloseBrackets:!0});return ua.on("keyup",function(Zt,kt){kt.keyCode===8&&(Zt.getValue()==""?ua.setOption("placeholder",EA):ua.setOption("placeholder",null))}),ua.on("keydown",function(Zt,kt){if(kt.keyCode===8){var In=dn(Zt);In&&kt.preventDefault()}}),jr&&ua.focus(),ua.on("paste",Da),ua.on("dragleave",function(Zt,kt){Al.current.classList.remove("mouse-hover-md")}),Yi&&ua.on("beforeChange",function(Zt,kt){(kt.origin==="paste"||kt.origin==="+input")&&kt.cancel()}),qu(ua),()=>{ua.off("paste",Da)}}},[]);const Ol=(0,le.useCallback)(()=>{if(Al.current)try{}catch(Da){console.log(Da,"---- to set md editor body height")}},[sA,Al,Va]);(0,le.useEffect)(()=>{function Da(){let ua=new tt.Z(Zt=>{for(let kt of Zt)(kt.target.offsetHeight>0||kt.target.offsetWidth>0)&&(Ol(),Or.setSize("100%","100%"),Or.refresh())});return ua.observe(Ul.current.parentElement),ua}if(Or){const ua=Da();return()=>{var Zt,kt;(Zt=Ul.current)!=null&&Zt.parentElement&&ua.unobserve((kt=Ul.current)==null?void 0:kt.parentElement)}}},[Or,Ol]),(0,le.useEffect)(()=>{if(Or){let Da=[];for(const[ua,Zt]of Object.entries(Wi)){let kt={[ua]:()=>{Eu(Zt)}};Da.push(kt),Or.addKeyMap(kt)}return wl.current=setInterval(()=>{$u.current&&Bc()},4e3),()=>{clearInterval(wl.current);for(let ua of Da)Or.removeKeyMap(ua)}}},[Or]),(0,le.useEffect)(()=>{Io!==Va&&Mo(Io)},[Io]),(0,Rr.Z)(()=>{if(!Nr&&ns>0){let Da=new Date().getTime(),ua=window.sessionStorage.getItem(ko);Da>=ns+ao&&(!ua||ua!==lu)&&(window.sessionStorage.setItem(ko,lu),ka(!0))}},ao),(0,le.useEffect)(()=>{$r(Fa)},[Or,Fa]),(0,le.useEffect)(()=>{Or&&jr&&Or.focus()},[Or,jr]),(0,le.useEffect)(()=>{if($A&&Or){let Da=function(Zt){let kt=Zt.target;if(fA.current){let In=kt.scrollTop/kt.scrollHeight;fA.current.scrollTop=fA.current.scrollHeight*In}};const ua=Or.getScrollerElement();return ua.addEventListener("scroll",Da),()=>{ua.removeEventListener("scroll",Da)}}},[Or,$A]),(0,le.useEffect)(()=>{if(Or&&Vi){let Da=function(ua,Zt){Vi(ua,Zt)};return Or.on("beforeChange",Da),()=>{Or.off("beforeChange",Da)}}},[Or,Vi]),(0,le.useEffect)(()=>{if(Or&&Po){let Da=function(){Po(Or.getValue())};return Or.on("blur",Da),()=>{Or.off("blur",Da)}}},[Or,Po]);function dn(Da,ua){var Zt=Da.getDoc(),kt=Zt.getCursor(),In=Zt.getLine(kt.line),yr=In.charAt(kt.ch-1),Gr=In.lastIndexOf("@\u2581@",kt.ch),fa=In.lastIndexOf("@\u2581\u2581@",kt.ch),Ma=Gr>fa?Gr:fa,Pr=Gr>fa?3:4;if(Xr.indexOf(yr)===-1)return null;if(console.log("change1:",ua,Da,In,kt,Ma,Gr,fa,yr),Ma>=0&&kt.ch-Ma<5){var Mr=Ma+Pr;return Zt.replaceRange("",{line:kt.line,ch:Ma},{line:kt.line,ch:Mr}),{line:kt.line,ch:Mr}}return null}(0,le.useEffect)(()=>{if(Or){let Da=function(ua,Zt){const kt=ua.getValue();Nl(kt),Ks(new Date().getTime()),ua.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),kn&&(Ei?kn(kt,Xs(kt)):kn(kt))};return Or.on("change",Da),()=>{Or.off("change",Da)}}},[Or,kn]),(0,le.useEffect)(()=>{if(Or)if(hn==null)Or.setValue(""),Nl("");else{const Da=window.scrollY||window.pageYOffset;hn!==Or.getValue()&&(Or.setValue(hn),Nl(hn),Or.setCursor(Yi?1:Or.lineCount(),0),window.scrollTo(0,Da))}},[Or,hn]);const Eu=(0,le.useCallback)(Da=>{const ua=Or.getCursor(),Zt=Or.getSelection();let kt=Zt.split(` `);switch(Da){case"bold":return Or.replaceSelection("**"+Zt+"**"),Zt===""&&Or.setCursor(ua.line,ua.ch+2),Or.focus();case"italic":return Or.replaceSelection("*"+Zt+"*"),Zt===""&&Or.setCursor(ua.line,ua.ch+1),Or.focus();case"code":return Or.replaceSelection("`"+Zt+"`"),Zt===""&&Or.setCursor(ua.line,ua.ch+1),Or.focus();case"inline-latex":return Pi("inline-latex"),Or.focus();case"latex":return Or.replaceSelection("```latex\n"+Zt+"\n```"),Or.setCursor(ua.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(kt.map(In=>In===""?"":`- ${In}`).join(` `)),Or.focus();case"list-ol":return Zt===""?Or.replaceSelection("1. "+Zt):Or.replaceSelection(kt.map((In,yr)=>In===""?"":`${yr+1}. ${In}`).join(` `)),Or.focus();case"add-null-ch":return Zt===""&&Or.setCursor(ua.line,ua.ch),Or.replaceSelection(no),Or.focus();case"add-signal":return Zt===""&&Or.setCursor(ua.line,ua.ch),Or.replaceSelection(rn),Or.focus();case"add-multiple":return Zt===""&&Or.setCursor(ua.line,ua.ch),Or.replaceSelection(Xr),Or.focus();case"inster-template-1":return Zt===""&&Or.setCursor(ua.line,ua.ch),Or.replaceSelection(di),Or.focus();case"eraser":return Or.setValue(""),Or.focus();case"trigger-watch":return $r(!$A),Or.focus();case"trigger-full-screen":return Mo(!Va),Or.focus();case pn:Pi(pn);return;case Er:Pi(Er);return;case bn:Pi(bn);return;case Ar:Pi(Ar);return;case"maths-latex":Pi("maths-latex");return;case Jn:Pi(Jn);return;case cr:Pi(cr);return;default:throw new Error}},[Or,$A,Va]),BA=(0,le.useCallback)((Da,ua)=>{var Zt,kt,In,yr,Gr,fa;switch(Pi(""),Qa){case pn:const{title:_i,link:To}=Da;return Or.replaceSelection(`[${_i}](${To})`),Or.focus();case Er:const{language:xo,content:Ko}=Da;return Or.replaceSelection(["```"+xo,Ko,"```"].join(` `)),Or.focus();case"maths-latex":for(var Ma=atob(Da),Pr=new Uint8Array(Ma.length),Mr=0;Mr{Zr.id?Or.replaceSelection(`![,](/api/attachments/${Zr.id}?type=${Zr.content_type})`):(Zr==null?void 0:Zr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Or.replaceSelection("`$$"+Da+"$$`");break;case bn:case Ar:case Fr:const{src:zo,alt:Nn}=Da,cn=ua,gn=(In=(kt=(Zt=cn==null?void 0:cn.name)==null?void 0:Zt.split("."))==null?void 0:kt.pop)==null?void 0:In.call(kt);return((yr=cn==null?void 0:cn.type)==null?void 0:yr.indexOf("image"))>-1||!(cn!=null&&cn.type)?cn.align||cn.width?Or.replaceSelection(`

${Nn||

`):Or.replaceSelection(`${Nn||`):((Gr=cn==null?void 0:cn.type)==null?void 0:Gr.indexOf("video"))>-1?Or.replaceSelection(``):((fa=cn==null?void 0:cn.type)==null?void 0:fa.indexOf("pdf"))>-1?Or.replaceSelection(`${cn.name}`):ha.includes(gn)?Or.replaceSelection(`${cn.name}`):Or.replaceSelection(`[${cn.name}](${zo})`),Or.focus();case cr:const{row:jn,col:Wr,align:ta}=Da;let $n=` `;for(let Zr=0;Zr{switch(Qa){case pn:return le.createElement(Rt,{callback:BA,onCancel:Vs});case Er:return le.createElement(Wt.Z,{callback:BA,onCancel:Vs});case bn:return le.createElement(ht.Z,{callback:BA,onCancel:Vs});case Jn:return le.createElement(gt,{callback:BA,onCancel:Vs});case cr:return le.createElement(st,{callback:BA,onCancel:Vs});case"maths-latex":return le.createElement(Qt,{showSaveButton:!0,callback:BA});case"inline-latex":return le.createElement(Cn.Z,{showSaveButton:!0,callback:BA});default:return null}},[Qa]);function Vs(){Pi("")}(0,le.useEffect)(()=>{if(Cu.current){let Da=function(Gr){In=!0,yr=Gr.pageY},ua=function(){In=!1},Zt=function(Gr){if(In){let fa=Gr.pageY-yr;fa<0&&(fa=0),fa>300&&(fa=300);let Ma=Hr+fa+"px";PA(Ma)}},kt=Cu.current,In=!1,yr=0;return kt.addEventListener("mousedown",Da),document.addEventListener("mousemove",Zt),document.addEventListener("mouseup",ua),()=>{kt.removeEventListener("mousedown",Da),document.removeEventListener("mousemove",Zt),document.removeEventListener("mouseup",ua)}}},[Or,Cu]),(0,le.useEffect)(()=>{PA(Hr)},[Hr]);const cu=Qi(mn),Pu=Qi(sA),Ql={width:cu,height:Pu},Ys=(0,le.useMemo)(()=>{if(ns){let Da=new Date(ns),ua=Da.getHours(),Zt=Da.getMinutes(),kt=Da.getSeconds();return ua=ua<10?"0"+ua:ua,Zt=Zt<10?"0"+Zt:Zt,kt=kt<10?"0"+kt:kt,`${ua}:${Zt}:${kt}`}return 0},[ns]),Xs=Da=>{const ua=[];if(Ei){let Zt=-1;Da=Da.replace(/(@▁▁@|@▁@)/g,function(kt,In,yr){ua.push({multiLine:kt!==rn})})}return ua};function wc(){window.sessionStorage.removeItem(ko),ka(!1),Ks(0)}function ps(){ka(!1),Ks(0),Or.setValue(window.sessionStorage.getItem(ko))}(0,le.useEffect)(()=>{Zi[Qa]&&Qa!==Ar&&Qa!==Jn&&setTimeout(()=>{const Da=document.getElementsByClassName("markdown-popup-form")[0],ua=window.innerWidth/2-Da.offsetWidth/2,Zt=window.innerHeight/2-Da.offsetHeight/2;Ru(ua),Wl(Zt)},0)},[Qa]);const ec=Da=>{Da.preventDefault();const ua=Da.clientX-Dl,Zt=Da.clientY-Gl;document.body.onmousemove=kt=>{let In=kt.clientX-ua,yr=kt.clientY-Zt;const Gr=document.getElementsByClassName("markdown-popup-form")[0],fa=window.innerWidth-Gr.offsetWidth,Ma=window.innerHeight-Gr.offsetHeight;In=Math.max(0,Math.min(In,fa)),yr=Math.max(0,Math.min(yr,Ma)),ju(kt.clientX,kt.clientY,ua,Zt)&&(Ru(In),Wl(yr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ju=(Da,ua,Zt,kt)=>{const In=document.body.clientHeight,yr=document.body.clientWidth;return Da<20&&Zt>Da||Da>yr-20&&Ztua||ua>In-20&&ktnt in We?xe(We,nt,{enumerable:!0,configurable:!0,writable:!0,value:Te}):We[nt]=Te,te=(We,nt)=>{for(var Te in nt||(nt={}))a.call(nt,Te)&&E(We,Te,nt[Te]);if(y)for(var Te of y(nt))ee.call(nt,Te)&&E(We,Te,nt[Te]);return We},ne=(We,nt)=>Ee(We,ie(nt));const{useForm:ae}=le.default,ge={width:280,marginRight:10},Le={labelCol:{span:5},wrapperCol:{span:19}};var Pe=({callback:We,onCancel:nt})=>{const[Te]=ae();let vt=(0,Ne.useRef)();function Qe(ot){vt.current.width=Te.getFieldValue("width"),vt.current.align=Te.getFieldValue("align"),We(ot,vt.current)}function Nt(ot,bt){if(ot.status===-1){Ce.ZP.error(ot.message);return}Te.setFieldsValue({src:`/api/attachments/${ot.id}`,type:bt.type})}function At(ot){let bt=ot.target.files[0];vt.current=bt,Ge(bt,Nt)}return De.createElement(le.default,ne(te({form:Te},Le),{className:"upload-image-panel",onFinish:Qe,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(He.default,{style:ge})),De.createElement(Ue,{onFileChange:At}))),De.createElement(le.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},De.createElement(He.default,{style:{width:264}})),De.createElement(le.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},De.createElement(tt.Z,null,De.createElement(le.default.Item,{name:"width",style:{margin:0}},De.createElement(ze.Z,{style:{width:264}})),De.createElement("span",{className:"ml8"},"%"))),De.createElement(le.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},De.createElement(je.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:We}){return De.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",De.createElement("input",{type:"file",onChange:We}))}function Ge(We,nt){if(!We)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,fe.bg)())throw Ce.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Te=new FormData;Te.append("editormd-image-file",We),Te.append("file_param_name","editormd-image-file"),Te.append("byxhr","true");var vt=new window.XMLHttpRequest;vt.withCredentials=!0,vt.addEventListener("load",function(Qe){nt(JSON.parse(Qe.target.responseText),We)},!1),vt.addEventListener("error",function(Qe){console.error(Qe)},!1),vt.open("POST",`${we.KI}/api/attachments.json`),vt.send(Te)}},81123:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return He}});var le=Be(59301),Ce=Be(4676);class He extends le.Component{constructor(ze){super(ze);const je=window.document;this.node=je.createElement("div"),je.body.appendChild(this.node)}render(){const{children:ze}=this.props;return(0,Ce.createPortal)(ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},47140:function(Yt,Dt,Be){"use strict";Be.d(Dt,{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"},Ce=Be(71418),He=Be(6848),tt=Be(93948),ze=Be(92310),je=Be.n(ze),ve=Be(63949),we=Be(13922),Ne=Be(81779),fe=Be(79005),De=Be(20345),xe=Be(77882),Ee=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:Ee},{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:We=[],col:nt=4,right:Te,bottom:vt=23,precision:Qe=0,wrapWidth:Nt=1200,trackEventItems:At,loading:ot,onRemove:bt=()=>{},isCurrent:dt=!0,showAlias:Bt=!1,showProgress:lt=!1})=>{const at=Math.floor((Nt-(nt-1)*Te)/nt),Rt=[{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(Wt=>(window.ENV==="build"&&(Wt.ptimg=`/react/build${Wt.ptimg}`,Wt.swimg=`/react/build${Wt.swimg}`),Wt));return ge.createElement(Ce.Z,{spinning:ot},ge.createElement("div",{className:je()(le.list,Ge)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((Wt,ht)=>{var Ht,Sn,Tn,ln,zn,yt;const{name:Hn,id:Wn,identifier:Xe,featured:vn,school_name:Fe,image_url:he,excellent:de,is_plan:Se}=Wt;return ge.createElement("div",{key:Wn,className:dt&<?le.wrapisCurrent:le.wrap,style:{width:at,marginRight:(1+ht)%nt===0?0:Te+Qe,marginBottom:vt}},ge.createElement("a",{className:le.li,onClick:qe=>{qe.preventDefault(),qe.stopPropagation(),At&&(0,ve.L9)([At]),(0,ve.xg)(`/paths/${Xe}`)}},ge.createElement("div",{className:le.img},ge.createElement("img",{className:le.cover,src:`${he}`}),dt&&(0,Ne.bg)()&&(Wt==null?void 0:Wt.studying)&&ge.createElement("div",{className:`${le.movebq} user-path-items`,onClick:qe=>{qe.stopPropagation(),bt(Wt)}},ge.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ge.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ht=Wt==null?void 0:Wt.subject_tags)==null?void 0:Ht.map((qe,gt)=>{var _e,Ye;if(gt===0){const ft=(_e=Rt.find(st=>st.name==qe))==null?void 0:_e.swimg;return ge.createElement("img",{className:le.sign,src:ft,style:{left:"-4px"}})}const Pt=(Ye=Rt.find(ft=>ft.name==qe))==null?void 0:Ye.ptimg;return ge.createElement("img",{className:le.sign,src:Pt,style:{left:`${48+52*(gt-1)+2*gt}px`}})}),ge.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Wt==null?void 0:Wt.excellent)&&ge.createElement("div",{className:le.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ge.createElement("div",{className:le.name},ge.createElement(He.Z,{title:Bt&&(Wt!=null&&Wt.excellent_alias_name)?ge.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Hn}`,ge.createElement("br",null),ge.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Wt==null?void 0:Wt.excellent_alias_name}`)):Hn},ge.createElement("span",{className:le.e},Bt&&(Wt==null?void 0:Wt.excellent_alias_name)||Hn))),dt&<&&((Sn=Wt==null?void 0:Wt.progress)==null?void 0:Sn.all_score)!=0&&ge.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ge.createElement(tt.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Tn=Wt==null?void 0:Wt.progress)==null?void 0:Tn.my_score)/((ln=Wt==null?void 0:Wt.progress)==null?void 0:ln.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(zn=Wt==null?void 0:Wt.progress)==null?void 0:zn.my_score,"/",(yt=Wt==null?void 0:Wt.progress)==null?void 0:yt.all_score),(!dt||!lt)&&ge.createElement("div",{className:le.tags},ge.createElement("div",null,ge.createElement(He.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ge.createElement("span",null,ge.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ge.createElement("span",null,Wt.stages_count))),ge.createElement(He.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,Wt.members_count)))))))})),!We.length&&ge.createElement(we.Z,null)))}},16338:function(Yt,Dt,Be){"use strict";Be.d(Dt,{jL:function(){return ze},w9:function(){return Gi},vv:function(){return Hr},dN:function(){return ei},QD:function(){return $u},cQ:function(){return _e.Z},vg:function(){return Xr},Oz:function(){return Rr},op:function(){return Ks},O5:function(){return Ys},_b:function(){return Ul},t7:function(){return vt},tT:function(){return At},Gi:function(){return oi},YG:function(){return Fa},Ed:function(){return Ya},kT:function(){return ko},qp:function(){return ee},Um:function(){return Le},K3:function(){return ne},vr:function(){return Ru},qE:function(){return xi},Je:function(){return Bt},wb:function(){return Hn},rC:function(){return gt},lB:function(){return vn},cq:function(){return vA},kO:function(){return Bl},tp:function(){return Ge},Si:function(){return ps},k8:function(){return zo},Du:function(){return yr}});var le=Be(59301),Ce={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},He="data:image/png;base64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xoQ+ziPEWsL3GXDZ60NjIr/6sjynk8EsHEPRxDBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ze=({dataSource:Nn=[],img:cn,imgWidth:gn=346,title:jn,sunTitle:Wr,bannerExtraContent:ta})=>le.createElement("div",{className:Ce.banner},le.createElement("div",{className:Ce.content},le.createElement("aside",null,le.createElement("p",null,le.createElement("b",null,jn),le.createElement("span",null,Wr)),Nn.length>0&&le.createElement("div",{className:Ce.btns},Nn.map(($n,Zr)=>le.createElement("div",{key:Zr,onClick:$n.click},$n.name,$n.sign?le.createElement("img",{src:He,width:39}):null))),ta),cn&&le.createElement("img",{style:{marginTop:33,marginRight:38},src:cn,width:gn}))),je={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),we=Be.n(ve),Ne=Be(89392),fe=Object.defineProperty,De=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Ee=Object.prototype.propertyIsEnumerable,ie=(Nn,cn,gn)=>cn in Nn?fe(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,y=(Nn,cn)=>{for(var gn in cn||(cn={}))xe.call(cn,gn)&&ie(Nn,gn,cn[gn]);if(De)for(var gn of De(cn))Ee.call(cn,gn)&&ie(Nn,gn,cn[gn]);return Nn},ee=({dataSource:Nn=[],value:cn,onChange:gn,onTitleChange:jn,className:Wr,title:ta,titleWidth:$n=41,style:Zr={},fontColor:wa="#6A7283",showCount:ya,classNameActive:po,styleItem:vr={}})=>{const[co,Co]=(0,le.useState)(0),[gi,it]=(0,le.useState)(!1),Ia=(0,le.useRef)(null),Ro=(0,le.useRef)(null);return(0,le.useEffect)(()=>{var kr;Nn.length!==0&&(((kr=Ia==null?void 0:Ia.current)==null?void 0:kr.clientHeight)>97?Co(1):Co(0)),Nn.length===0&&Co(0),it(!1)},[Nn]),le.createElement("div",{className:we()(je.row,Wr),style:Zr},le.createElement("div",{onClick:(0,Ne.throttle)(()=>jn==null?void 0:jn(),2e3),style:{width:$n,marginTop:gi?12:4},className:`${je.title} ${jn?"current":""}`},ta),le.createElement("div",{className:gi?`${je.tagsWrap} ${je.tagsBorderWrap}`:je.tagsWrap},le.createElement("div",{className:je.bar,ref:Ro,style:co>0?{height:co===1?97:"auto",overflow:co===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},le.createElement("div",{className:je.tag,ref:Ia},Nn==null?void 0:Nn.map(kr=>le.createElement("span",{onClick:()=>gn(kr.id),key:kr.id,style:y(y({color:wa},vr),(kr==null?void 0:kr.style)||{}),className:cn===kr.id?we()(po||je.active,kr.classNameActive):""},le.createElement("span",{title:kr.name,className:je.name},kr.name),!!ya&&le.createElement("span",{className:je.num},kr.count))))),!!co&&le.createElement(le.Fragment,null,co===1?le.createElement("div",{onClick:()=>{var kr;Co(2),((kr=Ia==null?void 0:Ia.current)==null?void 0:kr.clientHeight)>245?it(!0):it(!1)},className:je.action},"\u5C55\u5F00",le.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):le.createElement("div",{onClick:()=>{Ro.current.scrollTop=0,Co(1),it(!1)},className:je.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:Nn=[],value:cn,onChange:gn,onTitleChange:jn,className:Wr,title:ta,titleWidth:$n=41,style:Zr={},fontColor:wa="#6A7283",showCount:ya,expand:po=!0})=>{const[vr,co]=(0,le.useState)(0),[Co,gi]=(0,le.useState)(!1),it=(0,le.useRef)(null),Ia=(0,le.useRef)(null),[Ro,kr]=(0,le.useState)(po);return le.createElement("div",{className:we()(E.row,Wr),style:Zr},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Ne.throttle)(()=>jn==null?void 0:jn(),2e3),style:{width:$n,marginTop:Co?12:4},className:`${E.title} ${jn?"current":""}`},ta),le.createElement("i",{className:`iconfont ${Ro?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ro?8:10},onClick:()=>kr(!Ro)})),Ro&&le.createElement("div",{className:Co?`${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:it},Nn==null?void 0:Nn.map(oo=>le.createElement("span",{onClick:()=>gn(oo.id),key:oo.id,style:{color:wa},className:cn===oo.id?E.active:""},le.createElement("span",{title:oo.name,className:E.name},oo.name),!!ya&&le.createElement("span",{className:E.num},oo.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:Nn=[],value:cn,onChange:gn,onTitleChange:jn,className:Wr,title:ta,titleWidth:$n=41,style:Zr={},fontColor:wa="#fff",showCount:ya,expand:po=!0})=>{const[vr,co]=(0,le.useState)(0),[Co,gi]=(0,le.useState)(!1),it=(0,le.useRef)(null),Ia=(0,le.useRef)(null),[Ro,kr]=(0,le.useState)(po);return le.createElement("div",{className:we()(ae.row,Wr),style:Zr},le.createElement("div",{className:"flex item-center justify-between"},le.createElement("div",{onClick:(0,Ne.throttle)(()=>jn==null?void 0:jn(),2e3),style:{width:$n},className:`${ae.title} ${jn?"current":""}`},ta),le.createElement("i",{className:`iconfont ${Ro?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ro?"#00DDC7":"#037F74",fontSize:Ro?10:12},onClick:()=>kr(!Ro)})),Ro&&le.createElement("div",{className:Co?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},le.createElement("div",{className:ae.bar,ref:Ia},le.createElement("div",{className:ae.tag,ref:it},Nn==null?void 0:Nn.map(oo=>le.createElement("span",{onClick:()=>gn(oo.id),key:oo.id,style:{color:wa},className:cn===oo.id?ae.active:""},le.createElement("span",{title:oo.name,className:ae.name},oo.name),!!ya&&le.createElement("span",{className:ae.num},oo.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:Nn=[],value:cn,onChange:gn,className:jn,style:Wr={}})=>le.createElement("div",{style:Wr,className:we()(Pe.tabs,jn)},Nn.map(ta=>le.createElement("span",{onClick:()=>gn(ta.id),className:cn===ta.id?Pe.active:"",key:ta.id},ta.name))),We={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:Nn=[],value:cn="",onChange:gn,onInputChange:jn=()=>{},className:Wr,style:ta={},placeholder:$n,allowClear:Zr=!1})=>{var wa;const[ya,po]=(0,le.useState)(""),[vr,co]=(0,le.useState)("");(0,le.useEffect)(()=>{var it;let Ia=cn;(it=JSON.stringify(cn))!=null&&it.includes("{")&&(po(cn.id),Ia=cn.value||"");try{co(decodeURIComponent(Ia||""))}catch(Ro){co(decodeURIComponent(Ia||""))}},[cn]);const Co=()=>{gn(encodeURIComponent(vr),ya||null)},gi=it=>{it!==ya&&(po(it),gn(encodeURIComponent(vr),it))};return le.createElement("div",{className:we()(We.input,Wr),style:ta},!!Nn.length&&le.createElement("div",{className:We.dropdown},le.createElement("div",{className:We.text},(wa=Nn.find(it=>it.id===ya))==null?void 0:wa.name,le.createElement("i",{className:"iconfont icon-zhankai4"}),le.createElement("b",{className:We.b1}),le.createElement("b",{className:We.b2})),le.createElement("div",{className:We.menu},Nn.map((it,Ia)=>le.createElement("div",{key:Ia,onClick:()=>gi(it.id)},it.name)))),le.createElement(nt.default,{onPressEnter:Co,value:vr,onChange:it=>{co(it.target.value),jn(encodeURIComponent(it.target.value),ya||null)},bordered:!1,placeholder:$n}),le.createElement("i",{onClick:Co,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Qe={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"},At=({dataSource:Nn=[],value:cn="",onChange:gn,onInputChange:jn=()=>{},className:Wr,style:ta={},placeholder:$n,allowClear:Zr=!1})=>{var wa;const[ya,po]=(0,le.useState)(""),[vr,co]=(0,le.useState)("");(0,le.useEffect)(()=>{var it;let Ia=cn;(it=JSON.stringify(cn))!=null&&it.includes("{")&&(po(cn.id),Ia=cn.value||"");try{co(decodeURIComponent(Ia||""))}catch(Ro){co(decodeURIComponent(Ia||""))}},[cn]);const Co=()=>{gn(encodeURIComponent(vr),ya||null)},gi=it=>{it!==ya&&(po(it),gn(encodeURIComponent(vr),it))};return le.createElement("div",{className:we()(Qe.input,Wr),style:ta},!!Nn.length&&le.createElement("div",{className:Qe.dropdown},le.createElement("div",{className:Qe.text},(wa=Nn.find(it=>it.id===ya))==null?void 0:wa.name,le.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),le.createElement("div",{className:Qe.menu},Nn.map((it,Ia)=>le.createElement("div",{key:Ia,onClick:()=>gi(it.id)},it.name)))),le.createElement(nt.default,{onPressEnter:Co,value:vr,onChange:it=>{co(it.target.value),jn(encodeURIComponent(it.target.value),ya||null)},bordered:!1,placeholder:$n}),le.createElement("i",{onClick:Co,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"},bt=Be(95392),Bt=({value:Nn,onChange:cn,className:gn,total:jn,pageSize:Wr,style:ta={}})=>{const $n=(0,bt.useIntl)(),Zr=Nn<2,wa=Nn>=Math.ceil(jn/Wr);return jn<=Wr?le.createElement(le.Fragment,null):le.createElement("div",{className:we()(ot.quickPager,gn),style:ta},le.createElement("div",{onClick:()=>{Zr||cn(Nn-1,"prev")},className:Zr?ot.disabled:""},$n.formatMessage({id:"shixuns.previousPage"})),le.createElement("div",{onClick:()=>{wa||cn(Nn+1,"next")},className:wa?ot.disabled:""},$n.formatMessage({id:"shixuns.nextPage"})))},lt={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),Rt=Be(6848),Wt=Be(13570),ht=Be(78323),Ht=Be(63949),Sn=Be(96908),Tn=Be(57177),ln=Be(81378),zn=Be(13922),Hn=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,trackEventItems:Zr,loading:wa})=>{const ya=(0,bt.useIntl)(),po=Math.floor(($n-(gn-1)*jn)/gn);return le.createElement(at.Z,{spinning:wa},le.createElement("div",{className:we()(lt.list,Nn)},!!cn.length&&cn.map((vr,co)=>{const{name:Co,id:gi,identifier:it,power:Ia,cover_image_id:Ro,pic:kr}=vr;return le.createElement("div",{className:lt.wrap,key:gi,style:{width:po,marginRight:(1+co)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{target:"_blank",href:`/shixuns/${it}/challenges`,className:lt.li,onClick:oo=>{oo.preventDefault(),Zr&&(0,Ht.L9)([Zr]),Ia&&(0,Ht.xg)(`/shixuns/${it}/challenges`)}},le.createElement("div",{className:lt.img},le.createElement("img",{className:lt.cover,src:`${kr}`}),vr.is_jupyter&&le.createElement("img",{className:lt.sign,src:Sn}),vr.is_jupyter_lab&&le.createElement("img",{className:lt.sign,src:Tn}),vr.is_unity_3d&&le.createElement("img",{className:lt.sign,src:ln})),le.createElement("div",{className:lt.name},le.createElement(Rt.Z,{title:Co||ya.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},le.createElement("span",{className:lt.e},Co||ya.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),le.createElement("div",{className:lt.tags},le.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,vr.challenges_count))),!!vr.myshixuns_count&&le.createElement(Rt.Z,{placement:"bottom",title:ya.formatMessage({id:"shixuns.numberOfLearners"})},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,vr.myshixuns_count))),le.createElement(Rt.Z,{placement:"bottom",title:ya.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},le.createElement("span",null,le.createElement("span",null,vr.level))),le.createElement("div",{className:lt.rate},le.createElement(Wt.Z,{allowHalf:!0,disabled:!0,defaultValue:vr.score_info}),le.createElement("span",null,"\xA0",vr.score_info?`${vr.score_info}\u5206`:"5\u5206")))),!Ia&&le.createElement("div",{className:lt.lockWrap},le.createElement("img",{src:`${ht.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")))}),!cn.length&&le.createElement(zn.Z,null)))},Wn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},vn=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,wrapClassName:Zr,trackEventItems:wa,loading:ya})=>{const po=Math.floor(($n-(gn-1)*jn)/gn);return le.createElement(at.Z,{spinning:ya},le.createElement("div",{className:we()(Wn.list,Nn)},!!cn.length&&cn.map((vr,co)=>{const{name:Co,id:gi,identifier:it,power:Ia,cover_image_id:Ro,pic:kr}=vr;return le.createElement("div",{className:we()(Wn.wrap,Zr),key:gi,style:{width:po,marginRight:(1+co)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{target:"_blank",href:`/shixuns/${it}/challenges`,className:Wn.li,onClick:oo=>{oo.preventDefault(),wa&&(0,Ht.L9)([wa]),Ia&&(0,Ht.xg)(`/shixuns/${it}/challenges`)}},le.createElement("img",{src:Be(47621),className:Wn.titleBg}),le.createElement("div",{className:Wn.name},le.createElement(Rt.Z,{title:Co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Wn.e},Co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:Wn.img},le.createElement("img",{className:Wn.cover,src:Ro?`${ht.Z.API_SERVER}/api/attachments/${Ro}`:`${ht.Z.IMG_SERVER+kr}`}),vr.is_jupyter&&le.createElement("div",{className:Wn.bq},"Jupyter"),vr.is_jupyter_lab&&le.createElement("div",{className:Wn.bq},"JupyterLab"),vr.is_unity_3d&&le.createElement("div",{className:Wn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),le.createElement("div",{className:"mt20 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Wn.value},vr.myshixuns_count)),le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u56F0\u96BE\u7B49\u7EA7"),le.createElement("span",{className:Wn.value},vr.level))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Wn.text},"\u5173\u5361\u6570"),le.createElement("span",{className:Wn.value},vr.challenges_count)),le.createElement("div",{className:Wn.rate},le.createElement(Wt.Z,{allowHalf:!0,disabled:!0,defaultValue:vr.score_info}),le.createElement("span",{className:Wn.value,style:{color:"#FF9C00"}},"\xA0",vr.score_info?`${vr.score_info}\u5206`:"5\u5206"))))),!Ia&&le.createElement("div",{className:Wn.lockWrap},le.createElement("img",{src:`${ht.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")))}),!cn.length&&le.createElement(zn.Z,null)))},Fe={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},he="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbg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c6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",gt=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,trackEventItems:Zr,loading:wa,wrapClassName:ya,imgClassName:po})=>{const vr=Math.floor(($n-(gn-1)*jn)/gn);return le.createElement(at.Z,{spinning:wa},le.createElement("div",{className:we()(Fe.list,Nn)},!!cn.length&&cn.map((co,Co)=>{const{name:gi,id:it,identifier:Ia,power:Ro,cover_image_id:kr,pic:oo}=co;return le.createElement("div",{className:we()(Fe.wrap,ya),key:it,style:{width:vr,marginRight:(1+Co)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{target:"_blank",href:`/shixuns/${Ia}/challenges`,className:Fe.li,onClick:ii=>{ii.preventDefault(),Zr&&(0,Ht.L9)([Zr]),Ro&&(0,Ht.xg)(`/shixuns/${Ia}/challenges`)}},le.createElement("div",{className:we()(Fe.img,po)},le.createElement("img",{className:Fe.cover,src:kr?`${ht.Z.API_SERVER}/api/attachments/${kr}`:`${ht.Z.IMG_SERVER+oo}`}),co.is_jupyter&&le.createElement("img",{className:Fe.sign,src:he}),co.is_jupyter_lab&&le.createElement("img",{className:Fe.sign,src:de}),co.is_unity_3d&&le.createElement("img",{className:Fe.sign,src:Se})),le.createElement("div",{className:Fe.name},le.createElement(Rt.Z,{title:gi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},le.createElement("span",{className:Fe.e},gi||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),le.createElement("div",{className:Fe.tags},le.createElement(Rt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),le.createElement("span",null,co.challenges_count))),!!co.myshixuns_count&&le.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},le.createElement("span",null,le.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),le.createElement("span",null,co.myshixuns_count))),le.createElement(Rt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},le.createElement("span",null,le.createElement("span",null,co.level))),le.createElement("div",{className:Fe.rate},le.createElement(Wt.Z,{allowHalf:!0,disabled:!0,defaultValue:co.score_info}),le.createElement("span",null,"\xA0",co.score_info?`${co.score_info}\u5206`:"5\u5206")))),!Ro&&le.createElement("div",{className:Fe.lockWrap},le.createElement("img",{src:`${ht.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")))}),!cn.length&&le.createElement(zn.Z,null)))},_e=Be(47140),Ye={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"},Pt=Be(79005),ft=Be(20345),st=Be(77882),jt=Be(31081),Qn=Be(75309),Lt=Be(71979),on=Be(47558),Qt=Be(42922),Cn=Be(66832),ut=Be(96593),Xt=Be(19664),pn=Be(91833),bn=Object.defineProperty,Jn=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,Er=(Nn,cn,gn)=>cn in Nn?bn(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,cr=(Nn,cn)=>{for(var gn in cn||(cn={}))Ar.call(cn,gn)&&Er(Nn,gn,cn[gn]);if(Jn)for(var gn of Jn(cn))Fr.call(cn,gn)&&Er(Nn,gn,cn[gn]);return Nn};const ir=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:ft},{name:"101\u8BA1\u5212",ptimg:st,swimg:jt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Qn,swimg:Lt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Cn,swimg:ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Xt,swimg:pn}];var Rr=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,trackEventItems:Zr,loading:wa,wrapClassName:ya,imgClassName:po,isArrow:vr=!1,imgStyle:co={}})=>{const Co=Math.floor(($n-(gn-1)*jn)/gn),[gi,it]=(0,le.useState)(),[Ia,Ro]=(0,le.useState)(),kr=ii=>it(ii),oo=()=>it(-1);return le.createElement(at.Z,{spinning:wa},le.createElement("div",{className:we()(Ye.list,Nn)},!!(cn!=null&&cn.length)&&(cn==null?void 0:cn.map((ii,ys)=>{var Xi;const{name:Ji,id:Zl,identifier:wA,featured:us,school_name:yl,image_url:va,excellent:ti,is_plan:Fi}=ii;return le.createElement("div",{key:Zl,className:we()(Ye.wrap,ya),style:{width:Co,marginRight:(1+ys)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{target:"_blank",href:`/paths/${wA}`,className:Ye.li,onClick:cs=>{cs.preventDefault(),Zr&&(0,Ht.L9)([Zr]),(0,Ht.xg)(`/paths/${wA}`)}},le.createElement("img",{src:Be(39057),className:Ye.titleBg}),le.createElement("div",{className:Ye.name},le.createElement(Rt.Z,{title:Ji},le.createElement("span",{className:Ye.e,style:{color:vr&&gi===ys?"#145DFF":"#000000"},onMouseEnter:()=>{kr(ys)},onMouseLeave:oo},Ji))),le.createElement("div",{style:{padding:"14px",paddingBottom:0}},le.createElement("div",{className:we()(Ye.img,po)},le.createElement("img",{className:Ye.cover,style:cr({},co),src:`${ht.Z.IMG_SERVER+va}`}),(Xi=ii==null?void 0:ii.subject_tags)==null?void 0:Xi.map((cs,vo)=>{var hA,KA;if(vo===0){const ki=(hA=ir.find(Js=>Js.name==cs))==null?void 0:hA.swimg;return le.createElement("img",{className:Ye.sign,src:ki,style:{left:"-4px"}})}const el=(KA=ir.find(ki=>ki.name==cs))==null?void 0:KA.ptimg;return le.createElement("img",{className:Ye.sign,src:el,style:{left:`${48+52*(vo-1)+2*vo}px`}})}),le.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(ii==null?void 0:ii.excellent)&&le.createElement("div",{className:Ye.bq},"\u5F00\u653E\u8BFE\u7A0B"))),le.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},le.createElement("div",null,le.createElement("span",{className:Ye.text},"\u7AE0\u8282\u6570"),le.createElement("span",{className:Ye.value},ii.stages_count)),le.createElement("div",null,le.createElement("span",{className:Ye.text},"\u5B66\u4E60\u4EBA\u6570"),le.createElement("span",{className:Ye.value},ii.members_count))))))})),!cn.length&&le.createElement(zn.Z,null)))},Kr={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"},xa=Be(81779),lr=Be(59301);const ao=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:ft},{name:"101\u8BA1\u5212",ptimg:st,swimg:jt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Qn,swimg:Lt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:Qt},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Cn,swimg:ut},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Xt,swimg:pn}];var Xr=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,trackEventItems:Zr,loading:wa,onRemove:ya=()=>{},isCurrent:po=!0,showAlias:vr=!1,wrapClassName:co,imgClassName:Co})=>{const gi=Math.floor(($n-(gn-1)*jn)/gn),it=[{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 lr.createElement(at.Z,{spinning:wa},lr.createElement("div",{className:we()(Kr.list,Nn)},!!(cn!=null&&cn.length)&&(cn==null?void 0:cn.map((Ia,Ro)=>{var kr;const{name:oo,id:ii,identifier:ys,featured:Xi,school_name:Ji,image_url:Zl,excellent:wA,is_plan:us}=Ia;return lr.createElement("div",{key:ii,className:we()(Kr.wrap,co),style:{width:gi,marginRight:(1+Ro)%gn===0?0:jn+ta,marginBottom:Wr}},lr.createElement("a",{className:Kr.li,onClick:yl=>{yl.preventDefault(),yl.stopPropagation(),Zr&&(0,Ht.L9)([Zr]),(0,Ht.xg)(`/paths/${ys}`)}},lr.createElement("div",{className:we()(Kr.img,Co)},lr.createElement("img",{className:Kr.cover,src:`${ht.Z.IMG_SERVER+Zl}`}),po&&(0,xa.bg)()&&(Ia==null?void 0:Ia.studying)&&lr.createElement("div",{className:`${Kr.movebq} user-path-items`,onClick:yl=>{yl.stopPropagation(),ya(Ia)}},lr.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),lr.createElement("span",{className:"c-red"},"\u79FB\u9664")),(kr=Ia==null?void 0:Ia.subject_tags)==null?void 0:kr.map((yl,va)=>{var ti,Fi;if(va===0){const vo=(ti=it.find(hA=>hA.name==yl))==null?void 0:ti.swimg;return lr.createElement("img",{className:Kr.sign,src:vo,style:{left:"-4px"}})}const cs=(Fi=it.find(vo=>vo.name==yl))==null?void 0:Fi.ptimg;return lr.createElement("img",{className:Kr.sign,src:cs,style:{left:`${48+52*(va-1)+2*va}px`}})}),lr.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Ia==null?void 0:Ia.excellent)&&lr.createElement("div",{className:Kr.bq},"\u5F00\u653E\u8BFE\u7A0B"))),lr.createElement("div",{className:Kr.name},lr.createElement(Rt.Z,{title:vr&&(Ia!=null&&Ia.excellent_alias_name)?lr.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${oo}`,lr.createElement("br",null),lr.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Ia==null?void 0:Ia.excellent_alias_name}`)):oo},lr.createElement("span",{className:Kr.e},vr&&(Ia==null?void 0:Ia.excellent_alias_name)||oo))),lr.createElement("div",{className:Kr.tags},lr.createElement("div",null,lr.createElement(Rt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},lr.createElement("span",null,lr.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),lr.createElement("span",null,Ia.stages_count))),lr.createElement(Rt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},lr.createElement("span",null,lr.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),lr.createElement("span",null,Ia.members_count)))))))})),!cn.length&&lr.createElement(zn.Z,null)))},rn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},di="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpu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dNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ha=Be(59301),Gi=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,trackEventItems:Zr,loading:wa})=>{const ya=(0,bt.useIntl)(),po=Math.floor(($n-(gn-1)*jn)/gn);return ha.createElement(at.Z,{spinning:wa},ha.createElement("div",{className:we()(rn.list,Nn)},!!cn.length&&cn.map((vr,co)=>{const{subject_identifier:Co,id:gi,identifier:it,power:Ia}=vr,Ro=vr.is_public!=0&&vr.is_public;return ha.createElement("div",{className:rn.wrap,key:gi,style:{width:po,marginRight:(1+co)%gn===0?0:jn+ta,marginBottom:Wr}},ha.createElement("a",{className:rn.li,onClick:kr=>{kr.preventDefault(),Zr&&(0,Ht.L9)([Zr]),(0,Ht.xg)(vr.first_category_url)}},ha.createElement("div",{className:rn.top},ha.createElement(Rt.Z,{title:vr.name},ha.createElement("div",{className:rn.name},vr.name)),ha.createElement("img",{className:rn.img,src:ht.Z.IMG_SERVER+"/images/"+vr.avatar_url}),ha.createElement("div",{className:rn.text,title:vr.creator},vr.creator),Co&&ha.createElement("div",{className:rn.btns},ha.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ha.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ro&&ha.createElement("div",{className:rn.sign},ya.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),ha.createElement("div",{className:rn.bottom},vr.visits>0&&ha.createElement(Rt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-liulanyan"}),ha.createElement("span",null,vr.visits))),vr.course_members_count>0&&ha.createElement(Rt.Z,{title:"\u6210\u5458",placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-chengyuan"}),vr.course_members_count)),vr.tasks_count>0&&ha.createElement(Rt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ha.createElement("span",null,ha.createElement("i",{className:"iconfont icon-zuoye"}),vr.tasks_count)),vr.is_end?ha.createElement("div",{style:{color:"#6B758B"}},ya.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):ha.createElement("div",{style:{color:"#00B187"}},ya.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!vr.is_accessible&&ha.createElement("div",{className:rn.lockWrap},ha.createElement("img",{src:`${ht.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ha.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!cn.length&&ha.createElement(zn.Z,null)))},La={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"},Wi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJRE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xWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ei=({className:Nn,dataSource:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,wrapClassName:Zr,trackEventItems:wa,loading:ya})=>{const po=Math.floor(($n-(gn-1)*jn)/gn);return le.createElement(at.Z,{spinning:ya},le.createElement("div",{className:we()(La.list,Nn)},!!cn.length&&cn.map((vr,co)=>{const{subject_identifier:Co,id:gi,identifier:it,power:Ia}=vr,Ro=vr.is_public!=0&&vr.is_public;return le.createElement("div",{className:we()(`${La.wrap} ${vr.is_accessible?"":La.warpStyle}`,Zr),key:gi,style:{width:po,marginRight:(1+co)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{className:La.li,onClick:kr=>{kr.preventDefault(),wa&&(0,Ht.L9)([wa]),(0,Ht.xg)(vr.first_category_url)}},le.createElement("div",{className:La.creator},le.createElement("img",{className:La.img,src:ht.Z.IMG_SERVER+"/images/"+vr.avatar_url}),le.createElement("div",{className:La.text,title:vr.creator},vr.creator)),le.createElement("div",{className:La.top},le.createElement(Rt.Z,{title:vr.name},le.createElement("div",{className:La.name},vr.name)),Ro&&le.createElement("div",{className:La.sign},"\u516C\u5F00")),le.createElement("div",{className:La.middle},le.createElement("div",{className:La.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:La.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:La.value},(vr==null?void 0:vr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:La.text},"\u6210\u5458"),le.createElement("span",{className:La.value},(vr==null?void 0:vr.course_members_count)||0))),le.createElement("div",{className:La.row},le.createElement("div",null,le.createElement("span",{className:La.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:La.value},(vr==null?void 0:vr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:La.text},"\u72B6\u6001"),vr.is_end?le.createElement("span",{className:La.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:La.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Co&&le.createElement("div",{className:La.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!vr.is_accessible&&le.createElement("div",{className:La.lockWrap},le.createElement("img",{src:`${ht.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")))}),!cn.length&&le.createElement(zn.Z,null)))},hn={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"},kn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVM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Source:cn=[],col:gn=4,right:jn,bottom:Wr=23,precision:ta=0,wrapWidth:$n=1200,wrapClassName:Zr,trackEventItems:wa,loading:ya})=>{const po=Math.floor(($n-(gn-1)*jn)/gn);return le.createElement(at.Z,{spinning:ya},le.createElement("div",{className:we()(hn.list,Nn)},!!cn.length&&cn.map((vr,co)=>{const{subject_identifier:Co,id:gi,identifier:it,power:Ia}=vr,Ro=vr.is_public!=0&&vr.is_public;return le.createElement("div",{className:we()(`${hn.wrap} ${vr.is_accessible?"":hn.warpStyle}`,Zr),key:gi,style:{width:po,marginRight:(1+co)%gn===0?0:jn+ta,marginBottom:Wr}},le.createElement("a",{className:hn.li,onClick:kr=>{kr.preventDefault(),wa&&(0,Ht.L9)([wa]),(0,Ht.xg)(vr.first_category_url)}},le.createElement("div",{className:hn.creator},le.createElement("img",{className:hn.img,src:ht.Z.IMG_SERVER+"/images/"+vr.avatar_url}),le.createElement("div",{className:hn.text,title:vr.creator},vr.creator)),le.createElement("div",{className:hn.top},le.createElement(Rt.Z,{title:vr.name},le.createElement("div",{className:hn.name},vr.name)),Ro&&le.createElement("div",{className:hn.sign})),le.createElement("div",{className:hn.middle},le.createElement("div",{className:hn.row,style:{marginBottom:6}},le.createElement("div",null,le.createElement("span",{className:hn.text},"\u8BBF\u95EE\u91CF"),le.createElement("span",{className:hn.value},(vr==null?void 0:vr.visits)||0)),le.createElement("div",null,le.createElement("span",{className:hn.text},"\u6210\u5458"),le.createElement("span",{className:hn.value},(vr==null?void 0:vr.course_members_count)||0))),le.createElement("div",{className:hn.row},le.createElement("div",null,le.createElement("span",{className:hn.text,style:{width:42}},"\u4F5C",le.createElement("span",{style:{marginLeft:14}},"\u4E1A")),le.createElement("span",{className:hn.value},(vr==null?void 0:vr.tasks_count)||0)),le.createElement("div",null,le.createElement("span",{className:hn.text},"\u72B6\u6001"),vr.is_end?le.createElement("span",{className:hn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):le.createElement("span",{className:hn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Co&&le.createElement("div",{className:hn.btns},le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!vr.is_accessible&&le.createElement("div",{className:hn.lockWrap},le.createElement("img",{src:`${ht.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")))}),!cn.length&&le.createElement(zn.Z,null)))},Aa={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"},Fa=({dataSource:Nn=[],value:cn,onChange:gn,className:jn,style:Wr={},tabBarExtraContent:ta})=>le.createElement("div",{className:we()(Aa.tabs,jn),style:Wr},le.createElement("div",{className:Aa.tabsWrap},Nn.map(($n,Zr)=>le.createElement("aside",{className:Aa.tab,onClick:()=>{gn($n.id),$n.link&&bt.history.push($n.link)},key:Zr},le.createElement("div",{className:cn===$n.id?Aa.active:""},$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:Aa.tabBar},ta)),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"},ko=({dataSource:Nn=[],value:cn,onChange:gn,className:jn,style:Wr={},tabBarExtraContent:ta})=>le.createElement("div",{className:we()(Na.tabs,jn),style:Wr},le.createElement("div",{className:Na.tabsWrap},Nn.map(($n,Zr)=>le.createElement("aside",{className:Na.tab,onClick:()=>{gn($n.id),$n.link&&bt.history.push($n.link)},key:Zr},le.createElement("div",{className:cn===$n.id?Na.active:""},$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:Na.tabBar},ta)),vi={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"},Ya=({dataSource:Nn=[],value:cn,onChange:gn,className:jn,style:Wr={},tabBarExtraContent:ta})=>le.createElement("div",{className:we()(vi.tabs,jn),style:Wr},le.createElement("div",{className:vi.tabsWrap},Nn.map(($n,Zr)=>le.createElement("aside",{className:`${vi.tab} ${cn===$n.id?vi.active:""}`,onClick:()=>{gn($n.id),$n.link&&bt.history.push($n.link)},key:Zr},le.createElement("div",null,$n.name),($n==null?void 0:$n.resetCount)==null&&($n==null?void 0:$n.total)!==void 0&&le.createElement("span",null,"\uFF08",$n==null?void 0:$n.total,"\uFF09"),($n==null?void 0:$n.resetCount)!==void 0&&($n==null?void 0:$n.total)!==void 0&&le.createElement(Rt.Z,{title:($n==null?void 0:$n.tip)!=null?$n==null?void 0:$n.tip:""},le.createElement("span",{style:{color:"#9096A3"}},"\uFF08",le.createElement("span",{style:{color:"#000"}},$n==null?void 0:$n.resetCount),"/",le.createElement("span",null,$n==null?void 0:$n.total),"\uFF09"))))),le.createElement("div",{className:vi.tabBar},ta)),oi=({className:Nn,style:cn={},children:gn})=>le.createElement("div",{className:we()(Nn),style:cn},gn),Io={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"},Po=Be(38854),Vi=Be(20834);const Qs=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var vA=({sortValue:Nn,dropValue:cn,className:gn,onSort:jn,onDrop:Wr,dataSource:ta=Qs})=>{var $n;return le.createElement("div",{className:we()(Io.orderWrap,gn)},le.createElement(Po.Z,{dropdownRender:()=>le.createElement(Vi.default,null,ta.map((Zr,wa)=>le.createElement(Vi.default.Item,{key:wa,onClick:()=>Wr(Zr.id)},Zr.name)))},le.createElement("span",{className:Io.orderTextWrap},($n=ta.find(Zr=>cn===Zr.id))==null?void 0:$n.name)),le.createElement("span",{className:Io.orderIconWrap},le.createElement("span",{className:Io.orderAsc},le.createElement("i",{className:Nn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Io.cursorPointer} ${Io.active}`:`iconfont icon-sanjiaoxing-up font12 ${Io.cursorPointer}`,onClick:()=>jn(Nn==="asc"?"desc":"asc")})),le.createElement("span",{className:Io.orderDesc},le.createElement("i",{className:Nn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Io.cursorPointer} ${Io.active}`:`iconfont icon-sanjiaoxing-down font12 ${Io.cursorPointer}`,onClick:()=>jn(Nn==="asc"?"desc":"asc")}))))},Yi={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 Bl=({sortValue:Nn,dropValue:cn,className:gn,onSort:jn,onDrop:Wr,dataSource:ta=Hi})=>{var $n;return le.createElement("div",{className:we()(Yi.orderWrap,gn)},le.createElement(Po.Z,{dropdownRender:()=>le.createElement(Vi.default,null,ta.map((Zr,wa)=>le.createElement(Vi.default.Item,{key:wa,onClick:()=>Wr(Zr.id)},Zr.name)))},le.createElement("span",{className:Yi.orderTextWrap},($n=ta.find(Zr=>cn===Zr.id))==null?void 0:$n.name)),le.createElement("span",{className:Yi.orderIconWrap},le.createElement("span",{className:Yi.orderAsc},le.createElement("i",{className:Nn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Yi.cursorPointer} ${Yi.active}`:`iconfont icon-sanjiaoxing-up font12 ${Yi.cursorPointer}`,onClick:()=>jn(Nn==="asc"?"desc":"asc")})),le.createElement("span",{className:Yi.orderDesc},le.createElement("i",{className:Nn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Yi.cursorPointer} ${Yi.active}`:`iconfont icon-sanjiaoxing-down font12 ${Yi.cursorPointer}`,onClick:()=>jn(Nn==="asc"?"desc":"asc")}))))},Ms={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),qu=Be(76936),lu=Object.defineProperty,Nl=Object.getOwnPropertySymbols,$A=Object.prototype.hasOwnProperty,$r=Object.prototype.propertyIsEnumerable,Va=(Nn,cn,gn)=>cn in Nn?lu(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,Mo=(Nn,cn)=>{for(var gn in cn||(cn={}))$A.call(cn,gn)&&Va(Nn,gn,cn[gn]);if(Nl)for(var gn of Nl(cn))$r.call(cn,gn)&&Va(Nn,gn,cn[gn]);return Nn},Qa=(Nn,cn)=>{var gn={};for(var jn in Nn)$A.call(Nn,jn)&&cn.indexOf(jn)<0&&(gn[jn]=Nn[jn]);if(Nn!=null&&Nl)for(var jn of Nl(Nn))cn.indexOf(jn)<0&&$r.call(Nn,jn)&&(gn[jn]=Nn[jn]);return gn},Pi=(Nn,cn,gn)=>new Promise((jn,Wr)=>{var ta=wa=>{try{Zr(gn.next(wa))}catch(ya){Wr(ya)}},$n=wa=>{try{Zr(gn.throw(wa))}catch(ya){Wr(ya)}},Zr=wa=>wa.done?jn(wa.value):Promise.resolve(wa.value).then(ta,$n);Zr((gn=gn.apply(Nn,cn)).next())}),Ks=Nn=>{var cn=Nn,{className:gn,style:jn,children:Wr,loading:ta=!1,openLoading:$n,onClick:Zr=()=>{},size:wa="middle",shape:ya="round",theme:po}=cn,vr=Qa(cn,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[co,Co]=(0,le.useState)(!1),gi=(0,le.useMemo)(()=>{switch(po){case qu.Fy.THEMEONE:return Ms.ThemeOne;case qu.Fy.DEFAULT:default:return Ms.btn}},[po]);return le.createElement(Or.ZP,Mo({onClick:(0,Ne.throttle)(it=>Pi(void 0,null,function*(){$n&&Co(!0);try{yield Zr(it)}catch(Ia){console.log("error",Ia)}$n&&Co(!1)}),2e3,{leading:!0,trailing:!1}),className:we()(gi,Ms[`${wa}-${ya}`],gn),style:jn,size:wa,shape:ya,loading:co||ta},vr),Wr)},sA={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:Nn,style:cn,children:gn=null,onClick:jn,title:Wr})=>le.createElement("div",{className:we()(sA.head,Nn),style:cn},le.createElement("span",{className:"primary-hover",onClick:jn},le.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),le.createElement("b",{title:Wr},Wr),le.createElement("div",{className:sA.node},gn)),ka={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"},$u=({confirmShow:Nn=!0,confirmTitle:cn,confirmClick:gn,cancelShow:jn=!0,cancelTitle:Wr,cancelClick:ta,className:$n,style:Zr,confirmLoading:wa=!1})=>le.createElement("div",{className:we()(ka.btns,$n),style:Zr},Nn&&le.createElement(Or.ZP,{loading:wa,onClick:gn,type:"primary",className:ka.confirm},cn),jn&&le.createElement(Or.ZP,{onClick:ta,className:ka.cancel},Wr)),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"},Ru=({className:Nn,style:cn={},LeftContent:gn,children:jn,RightContent:Wr})=>le.createElement("div",{className:we()(wl.fixedBottom,Nn),style:cn},le.createElement("div",{className:wl.wrap},le.createElement("div",{className:wl.left},gn),le.createElement("div",{className:wl.center},jn),le.createElement("div",{className:wl.right},Wr))),Gl={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:Nn,style:cn={},dataSource:gn=[]})=>le.createElement("div",{className:we()(Gl.crumbs,Nn),style:cn},gn.map((jn,Wr)=>Wrbt.history.push(jn.path)},jn.name):le.createElement("span",null,jn.name),le.createElement("span",null,"\xA0",">","\xA0")):le.createElement("span",{key:Wr,style:{color:"#5F6368"}},jn.name))),Al=Be(31797),Cu=Object.defineProperty,fA=Object.defineProperties,Bc=Object.getOwnPropertyDescriptors,Ol=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,Eu=Object.prototype.propertyIsEnumerable,BA=(Nn,cn,gn)=>cn in Nn?Cu(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,uu=(Nn,cn)=>{for(var gn in cn||(cn={}))dn.call(cn,gn)&&BA(Nn,gn,cn[gn]);if(Ol)for(var gn of Ol(cn))Eu.call(cn,gn)&&BA(Nn,gn,cn[gn]);return Nn},Vs=(Nn,cn)=>fA(Nn,Bc(cn)),cu=(Nn,cn)=>{var gn={};for(var jn in Nn)dn.call(Nn,jn)&&cn.indexOf(jn)<0&&(gn[jn]=Nn[jn]);if(Nn!=null&&Ol)for(var jn of Ol(Nn))cn.indexOf(jn)<0&&Eu.call(Nn,jn)&&(gn[jn]=Nn[jn]);return gn};const{Countdown:Pu}=Al.default;var Ys=Nn=>{var cn=Nn,{onChange:gn}=cn,jn=cu(cn,["onChange"]);const[Wr,ta]=(0,le.useState)(null);(0,le.useEffect)(()=>{typeof Wr=="number"&&Wr>=0&&gn(Wr)},[Wr]);const $n=Zr=>{const wa=Math.floor(Zr/1e3);ta(wa)};return le.createElement(Pu,Vs(uu({},jn),{onChange:$n}))},Xs={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ps=({DataProps:Nn,className:cn,style:gn={}})=>{var jn;return le.createElement("div",{className:we()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",Xs.ClassRoomItem,cn),style:gn,onClick:()=>{(0,Ht.xg)(Nn==null?void 0:Nn.first_category_url)}},le.createElement("div",{className:"flex flex-col item-center"},le.createElement("img",{src:`${(jn=ht.Z)==null?void 0:jn.IMG_SERVER}/images/${Nn==null?void 0:Nn.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Nn==null?void 0:Nn.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}},!!(Nn!=null&&Nn.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:we()("text-16px font-medium",Xs.TitleDom)},Nn==null?void 0:Nn.name)),le.createElement("div",{className:"c-grey-333 font-medium"},Nn==null?void 0:Nn.creator),le.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Nn==null?void 0:Nn.course_members_count),le.createElement("div",{className:"c-grey-333 flex item-center justify-between"},le.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Nn==null?void 0:Nn.tasks_count),Nn!=null&&Nn.is_end?le.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):le.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},ec=Object.defineProperty,ju=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,ua=Object.prototype.propertyIsEnumerable,Zt=(Nn,cn,gn)=>cn in Nn?ec(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,kt=(Nn,cn)=>{for(var gn in cn||(cn={}))Da.call(cn,gn)&&Zt(Nn,gn,cn[gn]);if(ju)for(var gn of ju(cn))ua.call(cn,gn)&&Zt(Nn,gn,cn[gn]);return Nn},yr=({DataProps:Nn=[],selectValue:cn,onChange:gn,className:jn,style:Wr={},extra:ta,classNameItem:$n,styleItem:Zr={},barHidden:wa})=>{const[ya,po]=(0,le.useState)();return(0,le.useEffect)(()=>{po(Array.isArray(cn)?cn:[cn])},[cn]),le.createElement("div",{className:we()("flex px-20px py-10px gap-40px",jn),style:kt({borderBottom:"1px solid #D3F0FF"},Wr)},Nn==null?void 0:Nn.map(vr=>le.createElement("div",{key:vr==null?void 0:vr.id,className:we()("flex item-center justify-center current c-grey-333 text-16 relative",$n,vr==null?void 0:vr.className),style:kt(kt({color:ya!=null&&ya.includes(vr==null?void 0:vr.id)?"#1890FF":"",minWidth:88},Zr),(vr==null?void 0:vr.style)||{}),onClick:co=>{gn==null||gn({domEvent:co,item:vr}),vr!=null&&vr.link&&bt.history.push(vr==null?void 0:vr.link)}},vr==null?void 0:vr.name,!wa&&(ya==null?void 0:ya.includes(vr==null?void 0:vr.id))&&le.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),le.createElement("div",{className:"ml-auto"},ta))},Gr=Object.defineProperty,fa=Object.defineProperties,Ma=Object.getOwnPropertyDescriptors,Pr=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,_i=(Nn,cn,gn)=>cn in Nn?Gr(Nn,cn,{enumerable:!0,configurable:!0,writable:!0,value:gn}):Nn[cn]=gn,To=(Nn,cn)=>{for(var gn in cn||(cn={}))Mr.call(cn,gn)&&_i(Nn,gn,cn[gn]);if(Pr)for(var gn of Pr(cn))Ua.call(cn,gn)&&_i(Nn,gn,cn[gn]);return Nn},xo=(Nn,cn)=>fa(Nn,Ma(cn)),zo=({value:Nn,onChange:cn,onInputChange:gn,className:jn,style:Wr={},InputProps:ta})=>{const[$n,Zr]=(0,le.useState)(Nn);return le.createElement("div",{className:we()("flex item-center rounded-full px-10px py-2px",jn),style:To({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Wr)},le.createElement(nt.default,xo(To({bordered:!1},ta),{onChange:wa=>{Zr(wa.target.value),gn==null||gn(encodeURIComponent(wa.target.value))},onPressEnter:wa=>{cn==null||cn({domEvent:wa,item:{value:$n}})}})),le.createElement("img",{className:"h-22px current",src:Be(25365),height:22,onClick:wa=>{cn==null||cn({domEvent:wa,item:{value:$n}})}}))}},66991:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Ce}});var le=Be(59301);function Ce(He,tt){const ze=(0,le.useRef)();(0,le.useEffect)(()=>{ze.current=He}),(0,le.useEffect)(()=>{function je(){ze.current()}if(tt!==null){let ve=setInterval(je,tt);return()=>clearInterval(ve)}},[tt])}},60289:function(Yt,Dt,Be){"use strict";var le=Be(43418),Ce=Be(8591),He=Be(57193),tt=Be(95392),ze=Be(81779),je=Be(59301),ve=(Ne,fe,De)=>new Promise((xe,Ee)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ee(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ee(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,fe)).next())});const we=({shixunHomeworks:Ne,classroomList:fe,dispatch:De})=>{const xe=(0,tt.useIntl)(),Ee=(0,tt.useParams)();return je.createElement(le.default,{centered:!0,title:"\u63D0\u793A",open:Ne.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:xe.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>ve(void 0,null,function*(){var ie,y,a,ee;if((0,ze.Rm)()&&!((ie=fe.AssistantObject.practice)!=null&&ie.can_redo)){Ce.ZP.warning(xe.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const E=yield(0,He.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(E.shixun_identifier){Ce.ZP.success(xe.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"})),De({type:"shixunHomeworks/setActionTabs",payload:{}});const te=(a=(y=E==null?void 0:E.new_works)==null?void 0:y.find(ne=>`${ne.homework_common_id}`===Ee.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((ee=fe.AssistantObject.practice)!=null&&ee.can_view))return;tt.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${te}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Dt.Z=(0,tt.connect)(({shixunHomeworks:Ne,classroomList:fe})=>({shixunHomeworks:Ne,classroomList:fe}))(we)},10535:function(Yt,Dt,Be){"use strict";Be.r(Dt),Be.d(Dt,{default:function(){return ua}});var le=Be(76936),Ce=Be(59301),He=Be(95392),tt=Be(56656),ze=Be.n(tt),je=Be(86129),ve=Be.n(je),we=Be(57193),Ne=Be(43418),fe=Be(8591),De=Be(61621),xe=Be(66104),Ee=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(78323),Ge=Be(81779),We=Be(63949),nt=Be(42441),Te={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 Qe=({shixunHomeworks:Zt,data:kt,globalSetting:In,loading:yr,dispatch:Gr})=>{var fa;const Ma=(0,He.useIntl)(),{shixunWorkReport:Pr}=Zt;let Mr=((fa=kt==null?void 0:kt.efficiency_list)==null?void 0:fa.length)-parseInt(kt==null?void 0:kt.myself_eff[0]);const Ua=()=>({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(To){return To.name===Pr.username?"\u59D3\u540D\uFF1A"+Pr.username+"
\u5B66\u53F7\uFF1A "+Pr.user_id+"
\u6548\u7387\uFF1A"+(kt==null?void 0:kt.myself_eff[1]):To.name+":"+To.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:kt==null?void 0:kt.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:Pr.username,xAxis:Mr,yAxis:kt==null?void 0:kt.myself_eff[1],value:kt==null?void 0:kt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),_i=()=>({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(To){var xo=To.value;if(To.name===Pr.username)return"\u59D3\u540D\uFF1A"+Pr.username+"
\u5B66\u53F7\uFF1A "+Pr.user_id+"
\u5F97\u5206\uFF1A"+(kt==null?void 0:kt.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:kt==null?void 0:kt.consume_list,symbolSize:function(To){return Math.round(To[2])},markPoint:{data:[{name:Pr.username,xAxis:kt==null?void 0:kt.myself_object[0],yAxis:kt==null?void 0:kt.myself_object[1],value:kt==null?void 0:kt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(nt.Z,{style:{width:750,height:580},option:Ua()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Te.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Pr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Pr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(nt.Z,{style:{width:750,height:580},option:_i()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Te.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Pr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Pr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_object[1]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ce.createElement("br",null)))))))};var Nt=(0,He.connect)(({shixunHomeworks:Zt,loading:kt,globalSetting:In})=>({shixunHomeworks:Zt,globalSetting:In,loading:kt.effects}))(Qe),At=Be(95440),ot=Be(5871),bt=({defaultValue:Zt,onBlur:kt,max:In,className:yr="game-score"})=>{const[Gr,fa]=(0,Ce.useState)(Zt);(0,Ce.useEffect)(()=>{fa(Zt)},[Zt]);function Ma(Mr){fa(Mr)}function Pr(){Gr!==Zt&&kt(Gr>In?In:Gr)}return Ce.createElement(ot.Z,{max:In,min:0,className:yr,value:Gr,onChange:Ma,onBlur:Pr})},dt=Be(88871),Bt={md:"md___GIQyK"},lt=Be(59301),at=Object.defineProperty,Rt=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,ht=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Tn=(Zt,kt,In)=>kt in Zt?at(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,ln=(Zt,kt)=>{for(var In in kt||(kt={}))Ht.call(kt,In)&&Tn(Zt,In,kt[In]);if(ht)for(var In of ht(kt))Sn.call(kt,In)&&Tn(Zt,In,kt[In]);return Zt},zn=(Zt,kt)=>Rt(Zt,Wt(kt));const yt=ne.default.Option,Hn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Wn=(Zt=>(Zt[Zt.SET_PATH=0]="SET_PATH",Zt[Zt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Zt))(Wn||{});function Xe(Zt,kt){switch(kt.type){case 0:return zn(ln({},Zt),{selectedPath:kt.payload});case 1:return zn(ln({},Zt),{passedContent:kt.payload});default:throw new Error}}var vn=({path:Zt,game_id:kt,onPathChange:In,autoHeight:yr,diff_code_count:Gr,data:fa,game_codes_cn:Ma})=>{var Pr,Mr,Ua,_i;const To=Zt.split("\uFF1B").filter(jn=>!!jn),[xo,Ko]=(0,Ce.useReducer)(Xe,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:zo,passedContent:Nn}=xo;function cn(jn){Ko({type:0,payload:jn})}const gn={\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 lt.createElement(lt.Fragment,null,lt.createElement("h2",null," ",lt.createElement("span",null,Ma,lt.createElement(ie.Z,{title:lt.createElement("div",null,lt.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),lt.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),lt.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"),lt.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},lt.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Gr&<.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Gr),lt.createElement("span",null,lt.createElement(ne.default,{style:{width:200},value:zo,onChange:cn}," ",To.map(jn=>lt.createElement(yt,{key:jn,value:jn},jn))," "))," "),(zo==null?void 0:zo.split(".")[1])==="md"&<.createElement(dt.Z,{height:300,autoHeight:yr,defaultValue:((Mr=(Pr=fa==null?void 0:fa.filter(jn=>jn.path===zo))==null?void 0:Pr[0])==null?void 0:Mr.content)||"",className:Bt.md}),(zo==null?void 0:zo.split(".")[1])!=="md"&<.createElement(At.ZP,{height:300,language:Nn.language,value:((_i=(Ua=fa==null?void 0:fa.filter(jn=>jn.path===zo))==null?void 0:Ua[0])==null?void 0:_i.content)||"",autoHeight:yr,theme:"default",isCopy:!0,options:Hn}))},Fe=Be(94373),he=Be(96249),de=Be.n(he),Se=Object.defineProperty,qe=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ye=(Zt,kt,In)=>kt in Zt?Se(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,Pt=(Zt,kt)=>{for(var In in kt||(kt={}))gt.call(kt,In)&&Ye(Zt,In,kt[In]);if(qe)for(var In of qe(kt))_e.call(kt,In)&&Ye(Zt,In,kt[In]);return Zt},ft=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const st=({shixunHomeworks:Zt,autoHeight:kt,classroomList:In,dispatch:yr})=>{var Gr,fa,Ma,Pr,Mr,Ua,_i;const To=(0,He.useIntl)(),{shixunWorkReport:xo}=Zt,{stage_list:Ko,work_id:zo}=xo,[Nn,cn]=(0,Ce.useState)(!1),[gn,jn]=(0,Ce.useState)(!0),[Wr,ta]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),$n=(0,Ce.useRef)(null),[Zr,wa]=(0,Ce.useState)(!1),ya=(kr,oo)=>{var ii;const{clientWidth:ys,clientHeight:Xi}=window.document.documentElement,Ji=(ii=$n.current)==null?void 0:ii.getBoundingClientRect();Ji&&ta({left:-Ji.left+oo.x,right:ys-(Ji.right-oo.x),top:-Ji.top+oo.y,bottom:Xi-(Ji.bottom-oo.y)})},po=(0,He.useParams)(),vr=(0,Ge.GJ)(),co={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(po)},[]);const Co=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(kr,oo,ii)=>Ce.createElement("div",null,kr,oo.is_work_end_evaluate&&Ce.createElement(We.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:kr=>ze()(kr).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(kr,oo)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>ft(void 0,null,function*(){var ii,ys;const Xi=yield(0,Fe.Lk)(oo.game_identifier,{path:(ys=(ii=oo.path)==null?void 0:ii.replace(/\;/g,";"))==null?void 0:ys.split(";")[0],query_index:oo.query_index,homework_common_id:po.categoryId});(Xi==null?void 0:Xi.status)===0&&(wa(Xi),cn(!0))})},oo.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],gi=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(kr,oo)=>{var ii;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((ii=oo==null?void 0:oo.user)==null?void 0:ii.image_url)}),kr)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:kr=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",kr,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:kr=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",kr,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:kr=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",kr?ze()(kr).format("YYYY-MM-DD HH:mm"):"--")}];function it(kr,oo){return ft(this,null,function*(){const{challenge_id:ii}=Ko[kr],ys=yield yr({type:"shixunHomeworks/changeScore",payload:{categoryId:po.homeworkId,type:"report",score:oo,challenge_id:ii}});yield yr({type:"shixunHomeworks/getShixunWorkReport",payload:Pt({},po)}),ys.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}function Ia(kr,oo){return(0,we.U2)(`student_works/${zo}/rep_passed_content.json`,{path:oo,game_id:kr})}const Ro=xo.shixun_detail;return Ce.createElement(Ce.Fragment,null,Ro==null?void 0:Ro.map(function(kr,oo){var ii,ys;return Ce.createElement("div",{key:oo},Ce.createElement("aside",{className:"pl30 pr30",key:oo},Ce.createElement("div",{className:`${Te.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",oo+1,"\u5173 ",Ce.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${po.coursesId}/${po.categoryId}/${kr.game_identifier}`},kr.subject))),vr?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(bt,{className:"game-score",max:Ko[oo].game_score_full,defaultValue:Ko[oo].game_score,onBlur:Xi=>{var Ji;if((0,Ge.Rm)()&&!((Ji=In.AssistantObject.practice)!=null&&Ji.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}it(oo,Xi)}})):null),Ce.createElement("div",{className:"font16 mt10"},kr.st===0&&(kr.path?typeof(kr==null?void 0:kr.game_codes_cn)=="string"?Ce.createElement("aside",{className:Te.shixunWrp},Ce.createElement(vn,{game_codes_cn:kr==null?void 0:kr.game_codes_cn,autoHeight:kt,path:kr.path,game_id:kr.id,data:kr.game_codes,diff_code_count:kr.diff_code_count,onPathChange:Ia})):Ce.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),kr.st===1&&(kr.complete_status===0?"\u672C\u5173\u6682\u672A\u901A\u8FC7\uFF0C\u65E0\u901A\u5173\u4EE3\u7801":"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u9009\u62E9\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD")),Ce.createElement("aside",{className:"mt10 font16"},(ii=kr.outputs)!=null&&ii.length?Ce.createElement(te.default,{columns:Co,pagination:{hideOnSinglePage:!0},dataSource:kr.outputs.map(Xi=>Pt(Pt({},kr),Xi))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((ys=kr==null?void 0:kr.adjust_review_score_list)==null?void 0:ys.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:gi,pagination:{hideOnSinglePage:!0},dataSource:kr.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:Nn,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{wa({}),cn(!1)},onCancel:()=>{wa({}),cn(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{gn&&jn(!1)},onMouseOut:()=>{jn(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:kr=>Ce.createElement(de(),{disabled:gn,bounds:Wr,nodeRef:$n,onStart:(oo,ii)=>ya(oo,ii)},Ce.createElement("div",{ref:$n},kr))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((Gr=Zr==null?void 0:Zr.data)==null?void 0:Gr.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((fa=Zr==null?void 0:Zr.data)==null?void 0:fa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Ma=Zr==null?void 0:Zr.data)==null?void 0:Ma.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((Pr=Zr==null?void 0:Zr.data)==null?void 0:Pr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Mr=Zr==null?void 0:Zr.data)==null?void 0:Mr.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ua=Zr==null?void 0:Zr.data)==null?void 0:Ua.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((_i=Zr==null?void 0:Zr.data)==null?void 0:_i.test_set_passed_rate)*100,"%")))),Ce.createElement(At.ZP,{height:500,autoHeight:kt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((Zr==null?void 0:Zr.content)||""))),options:co})))};var jt=(0,He.connect)(({shixunHomeworks:Zt,loading:kt,globalSetting:In,classroomList:yr})=>({shixunHomeworks:Zt,globalSetting:In,loading:kt.effects,classroomList:yr}))(st),Qn=Be(78241),Lt={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(50546),Qt=Be(59301),Cn=Object.defineProperty,ut=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,bn=(Zt,kt,In)=>kt in Zt?Cn(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,Jn=(Zt,kt)=>{for(var In in kt||(kt={}))Xt.call(kt,In)&&bn(Zt,In,kt[In]);if(ut)for(var In of ut(kt))pn.call(kt,In)&&bn(Zt,In,kt[In]);return Zt},Ar=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const Fr=({shixunHomeworks:Zt,dispatch:kt,classroomList:In})=>{const yr=(0,He.useIntl)(),{shixunWorkReport:Gr}=Zt,fa=(0,He.useParams)(),[Ma,Pr]=(0,Ce.useState)(!1),[Mr]=Qn.default.useForm(),[Ua,_i]=Ne.default.useModal(),[To,xo]=(0,Ce.useState)(!1),[Ko,zo]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var gn,jn,Wr,ta;Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Mr.setFieldsValue({comment:(jn=(gn=Zt.actionTabs.selectArrs)==null?void 0:gn.data)==null?void 0:jn.work_comment,hidden_comment:(ta=(Wr=Zt.actionTabs.selectArrs)==null?void 0:Wr.data)==null?void 0:ta.work_comment_hidden})},[Zt.actionTabs.key]);const Nn=()=>Ar(void 0,null,function*(){const gn=Mr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${fa.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:gn.hidden_comment,comment:gn.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Mr.resetFields(),kt({type:"shixunHomeworks/setActionTabs",payload:{}}),kt({type:"shixunHomeworks/getShixunWorkReport",payload:Jn({},fa)}))}),cn=[{title:"\u5173\u5361",dataIndex:"name",render:(gn,jn,Wr)=>Wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(gn,jn,Wr)=>Qt.createElement("div",null,gn,jn.complete_status===4&&Qt.createElement(We.vA,{status:jn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:yr.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:gn=>gn?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(gn,jn)=>Qt.createElement("div",null,Qt.createElement("span",{style:{color:parseFloat(jn.game_score_full)!==parseFloat(gn)?"#E30000":"#53C41B"}},gn),"/",jn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(gn,jn)=>(0,Ge.GJ)()?Qt.createElement(bt,{max:jn.game_score_full,defaultValue:parseFloat(gn),onBlur:Wr=>Ar(void 0,null,function*(){var ta,$n;if((0,Ge.Rm)()&&!((ta=In.AssistantObject.practice)!=null&&ta.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 Zr=yield kt({type:"shixunHomeworks/changeScore",payload:{categoryId:fa.homeworkId,type:"report",score:Wr,challenge_id:jn.challenge_id}});($n=Zt==null?void 0:Zt.actionTabs)==null||$n.fn(),yield kt({type:"shixunHomeworks/getShixunWorkReport",payload:Jn({},fa)}),Zr.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):gn}];return Qt.createElement(Qt.Fragment,null,_i,Qt.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:()=>Ar(void 0,null,function*(){var gn;if((0,Ge.Rm)()&&!((gn=In.AssistantObject.practice)!=null&&gn.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 jn=Mr.getFieldsValue();JSON.stringify(jn)==="{}"||jn.hidden_comment===""&&jn.comment===""?Pr(!0):Nn()}),onCancel:()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Qt.createElement(ee.Z,{justify:"space-between",className:Lt.info},Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u59D3\u540D"),Qt.createElement("span",{className:Lt.blackContent},Gr==null?void 0:Gr.username)),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u5B66\u53F7"),Qt.createElement("span",{className:Lt.blackContent},(Gr==null?void 0:Gr.student_id)||"--")),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u73ED\u7EA7"),Qt.createElement("span",{className:Lt.blackContent},(Gr==null?void 0:Gr.group_name)||"--")),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u5173\u5361\u5F97\u5206"),Qt.createElement("span",{className:Lt.orangeContent},(Gr==null?void 0:Gr.challenge_score)||"--")),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u6548\u7387\u5206"),Qt.createElement("span",{className:Lt.orangeContent},(Gr==null?void 0:Gr.eff_score)||"--")),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u8865\u4EA4\u6263\u5206"),Qt.createElement("span",{className:Lt.orangeContent},(Gr==null?void 0:Gr.late_penalty)||"--")),Qt.createElement(E.Z,null,Qt.createElement("span",{className:`${Lt.label} ${Lt.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),Qt.createElement("span",{className:Lt.orangeContent},(Gr==null?void 0:Gr.work_score)||"--"))),Qt.createElement(Qn.default,{form:Mr,onChange:()=>{Ma&&Pr(!1)}},Qt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Qt.createElement(E.Z,null,Qt.createElement("div",{className:`${Lt.inputLabel} ${Lt.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qt.createElement(E.Z,null,Qt.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:To,onCancel:()=>{xo(!1)}},onDataSelect:(gn,jn)=>Ar(void 0,[gn,jn],function*(Wr,{node:ta}){const $n=()=>{Mr.setFieldsValue({comment:ta==null?void 0:ta.value}),xo(!1)};if(Mr.getFieldValue("comment")){Ua.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:$n});return}$n()})},Qt.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Qt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:gn=>{xo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qt.createElement(Qn.default.Item,{name:"comment"},Qt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),Qt.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},Qt.createElement(E.Z,null,Qt.createElement("div",{className:`${Lt.inputLabel} ${Lt.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Qt.createElement(E.Z,null,Qt.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Ko,onCancel:()=>{zo(!1)}},onDataSelect:(gn,jn)=>Ar(void 0,[gn,jn],function*(Wr,{node:ta}){const $n=()=>{Mr.setFieldsValue({hidden_comment:ta==null?void 0:ta.value}),zo(!1)};if(Mr.getFieldValue("hidden_comment")){Ua.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:$n});return}$n()})},Qt.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:Qt.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:gn=>{zo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Qt.createElement(Qn.default.Item,{name:"hidden_comment"},Qt.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ma&&Qt.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),Qt.createElement("div",{className:Lt.tableTitle},"\u5173\u5361\u6210\u7EE9"),Qt.createElement(te.default,{className:Lt.scoreTable,dataSource:Gr.stage_list,rowKey:"challenge_id",pagination:!1,columns:cn,scroll:{x:"max-content"}})))};var Er=(0,He.connect)(({shixunHomeworks:Zt,classroomList:kt})=>({shixunHomeworks:Zt,classroomList:kt}))(Fr),cr=Be(98434),ir=Be(76818),dr=Be(79777),Rr=Be(44164),Kr=Be.n(Rr),xa={wrap:"wrap___rFTBy",line:"line___kZzhh"},lr=Be(96731),no=({detailData:Zt})=>{var kt;return Ce.createElement("div",{className:xa.wrap},Ce.createElement(lr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,lr.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"},Ce.createElement(lr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,lr.Uf)(Zt)}),!!((kt=Zt==null?void 0:Zt.photos)!=null&&kt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:xa.line}),Ce.createElement(lr._s,{dataSource:Zt==null?void 0:Zt.photos,right:21,col:4,wrapWidth:1140}))))},Xr=Be(13719),rn=Be(59301),di=Object.defineProperty,ha=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Wi=Object.prototype.propertyIsEnumerable,Zi=(Zt,kt,In)=>kt in Zt?di(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,ei=(Zt,kt)=>{for(var In in kt||(kt={}))La.call(kt,In)&&Zi(Zt,In,kt[In]);if(Gi)for(var In of Gi(kt))Wi.call(kt,In)&&Zi(Zt,In,kt[In]);return Zt},hn=(Zt,kt)=>ha(Zt,Qi(kt)),kn=(Zt,kt)=>{var In={};for(var yr in Zt)La.call(Zt,yr)&&kt.indexOf(yr)<0&&(In[yr]=Zt[yr]);if(Zt!=null&&Gi)for(var yr of Gi(Zt))kt.indexOf(yr)<0&&Wi.call(Zt,yr)&&(In[yr]=Zt[yr]);return In},mn=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const Hr=Zt=>{var kt=Zt,{shixunHomeworks:In,classroomList:yr,globalSetting:Gr,loading:fa,user:Ma,dispatch:Pr}=kt,Mr=kn(kt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ua,_i,To;const xo=(0,He.useIntl)(),[Ko,zo]=(0,Ce.useState)(ei({},(0,He.useParams)())),Nn=(0,He.useParams)(),[cn,gn]=(0,Ce.useState)({page:1,page_size:10}),jn=(0,He.useLocation)(),[]=(0,Ce.useState)([]),[Wr,ta]=(0,Ce.useState)(),$n=(0,Ce.useRef)(),[Zr,wa]=(0,Ce.useState)(!1),[ya,po]=(0,Ce.useState)(!0),[vr,co]=(0,Ce.useState)(!1),[Co,gi]=(0,Ce.useState)(!1),{shixunWorkReport:it}=In,[Ia,Ro]=(0,Ce.useState)(),[kr,oo]=(0,Ce.useState)([]),[ii,ys]=(0,Ce.useState)(),[Xi,Ji]=(0,Ce.useState)("all"),Zl=(0,Ge.GJ)(),[wA,us]=(0,Ce.useState)(new(ve())),[yl,va]=(0,Ce.useState)(0),[ti,Fi]=(0,Ce.useState)(!1),[cs,vo]=(0,Ce.useState)(!1),[hA,KA]=(0,Ce.useState)(!1),[el,ki]=(0,Ce.useState)(""),[Js,Vl]=(0,Ce.useState)(!1),[Sl,ks]=(0,Ce.useState)(!0),[bl,mA]=(0,Ce.useState)(0),ds=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),vs=(0,Ce.useRef)(),xu=()=>mn(void 0,null,function*(){(Ma.userInfo.is_teacher||Ma.userInfo.admin)&&(Vl(!0),ks(!1))});(0,Ce.useEffect)(()=>{var _r;(0,Ge.Rm)()&&yr.AssistantObject.practice&&!((_r=yr.AssistantObject.practice)!=null&&_r.can_view)&&He.history.replace("/403")},[(Ua=yr.AssistantObject.practice)==null?void 0:Ua.can_view]),(0,Ce.useEffect)(()=>{xu(),console.log("\u6253\u5370\u7684------",it),vs.current=it==null?void 0:it.next_student_work_id,ki(it.repeat_minus_score)},[it,Ma]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),mA(it.work_score)},[it.work_score,el]),(0,Ce.useEffect)(()=>(Pr({type:"globalSetting/footerToggle",payload:!1}),()=>{Pr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var _r;if(it){let Ao=[];(_r=it==null?void 0:it.target_test_sets)==null||_r.map((Sr,lo)=>{var ni;(ni=Sr==null?void 0:Sr.targets)==null||ni.map((Ts,AA)=>{var yA;Ts.name=Sr==null?void 0:Sr.name,Ts.total_target_score=Sr==null?void 0:Sr.total_target_score,Ts.actual_target_score=Sr==null?void 0:Sr.actual_target_score,Ts.rowSpan=AA===0?(yA=Sr==null?void 0:Sr.targets)==null?void 0:yA.length:0,Ts.order=lo+1,Ao.push(Ts)})}),Ro(Ao),(0,Ge.Rm)()&&Pr({type:"classroomList/getAssistantPermissions",payload:{course_id:Ko.coursesId}})}},[it]),(0,Ce.useEffect)(()=>{In.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!ya&&setTimeout(()=>{tc("all")},800)},[it==null?void 0:it.homework_common_id,ya]),(0,Ce.useEffect)(()=>{zo(ei({},Nn))},[jn.pathname]);const Gc=()=>{document.body.scrollIntoView()},xA=_r=>{cn.page=_r,gn(ei({},cn)),Yl(cn,Xi)},Yl=(_r,Ao)=>mn(void 0,null,function*(){co(!0);const Sr=yield(0,we.ZP)(`/api/student_works/${Ko==null?void 0:Ko.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:hn(ei({},_r),{challenge_id:Ao=="all"?null:Ao})});(Sr==null?void 0:Sr.status)===0&&(oo(Sr==null?void 0:Sr.list),ys(Sr==null?void 0:Sr.count)),co(!1)});function Ls(){return mn(this,null,function*(){ds.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const du=()=>{document.querySelectorAll("canvas").forEach(_r=>{(!_r.clientWidth||!_r.clientHeight)&&_r.remove()})},Ss=_r=>mn(void 0,null,function*(){const Ao=yield(0,dr.t1)({homeworkId:_r||Ko.homeworkId});ta(Ao==null?void 0:Ao.data)}),tc=_r=>mn(void 0,null,function*(){var Ao,Sr,lo,ni;let Ts=0,AA;AA=Ne.default.info({width:460,title:rn.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",rn.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:rn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",rn.createElement("span",{className:"c-blue"},Ts+1),"/",_r!=="all"?1:it==null?void 0:it.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Te.modal,onOk:()=>{}});const yA={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},Jl=wA.folder(it==null?void 0:it.shixun_name);function Lu(ql){return mn(this,null,function*(){yield Ss(ql||vs.current);const Ka=yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:ei({homeworkId:ql||vs.current},ds.current||{})});vs.current=Ka==null?void 0:Ka.next_student_work_id,Gc(),Ts++,setTimeout(()=>mn(this,null,function*(){var lA,Go,OA,gs;du();const Rs=Jl.folder(`${Ka==null?void 0:Ka.group_name}`).folder(`${Ka!=null&&Ka.student_id&&(Ka==null?void 0:Ka.student_id)!="--"?Ka.student_id+"+":""}${Ka==null?void 0:Ka.username}`),$l=document.querySelector("#export-all").children;let Cl=Kr()();for(let qs=0;qs<$l.length;qs++)yield Cl.set(yA).from($l[qs]).toContainer().toCanvas().toPdf().get("pdf").then(zs=>mn(this,null,function*(){qs<$l.length-1&&(yield zs.addPage())}));if(Rs.file(`${Ka!=null&&Ka.student_id&&(Ka==null?void 0:Ka.student_id)!="--"?Ka.student_id+"+":""}${Ka==null?void 0:Ka.username}.pdf`,Cl.output("blob")),((lA=Ka==null?void 0:Ka.shixun_detail)==null?void 0:lA.length)>0&&((OA=(Go=Ka==null?void 0:Ka.shixun_detail)==null?void 0:Go.filter(qs=>{var zs;return((zs=qs==null?void 0:qs.game_codes)==null?void 0:zs.length)>0}))==null?void 0:OA.length)>0){const qs=Rs.folder("\u4EE3\u7801\u6587\u4EF6");(gs=Ka==null?void 0:Ka.shixun_detail)==null||gs.map((zs,SA)=>{var zi,Iu;if(((zi=zs==null?void 0:zs.game_codes)==null?void 0:zi.length)>0){const eu=qs.folder(`\u7B2C${SA+1}\u5173-${zs.subject}-${zs.id}`);(Iu=zs==null?void 0:zs.game_codes)==null||Iu.map(ll=>{eu.file(`${ll.filename}.txt`,ll==null?void 0:ll.content)})}})}AA.update({content:rn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",rn.createElement("span",{className:"c-blue"},Ts),"/",Ka==null?void 0:Ka.students_count,rn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Ts==(Ka==null?void 0:Ka.students_count)?(AA.destroy(),Xl()):Lu()}),2200)})}if(_r!=="all"||(it==null?void 0:it.students_count)<2){du(),Gc();const ql=$n.current.children;let Ka=Kr()();const Go=Jl.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let OA=0;OAmn(void 0,null,function*(){OA0&&((lo=(Sr=it==null?void 0:it.shixun_detail)==null?void 0:Sr.filter(OA=>{var gs;return((gs=OA==null?void 0:OA.game_codes)==null?void 0:gs.length)>0}))==null?void 0:lo.length)>0){const OA=Go.folder("\u4EE3\u7801\u6587\u4EF6");(ni=it==null?void 0:it.shixun_detail)==null||ni.map((gs,QA)=>{var Rs,$l;if(((Rs=gs==null?void 0:gs.game_codes)==null?void 0:Rs.length)>0){const Cl=OA.folder(`\u7B2C${QA+1}\u5173-${gs.subject}-${gs.id}`);($l=gs==null?void 0:gs.game_codes)==null||$l.map(qs=>{Cl.file(`${qs.filename}.txt`,qs==null?void 0:qs.content)})}})}AA.destroy(),Xl();return}else Lu(it==null?void 0:it.first_student_work_id)}),Xl=()=>{wA.generateAsync({type:"blob"}).then(function(_r){console.log(it,"shixunWorkReport");const Ao=document.createElement("a");Ao.href=window.URL.createObjectURL(_r),Ao.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(Ao);const Sr=document.createEvent("MouseEvents");Sr.initEvent("click",!1,!1),Ao.dispatchEvent(Sr),document.body.removeChild(Ao),us(new(ve()))}),gi(!1)};(0,Ce.useEffect)(()=>{gu()},[Ko.homeworkId]);const gu=()=>mn(void 0,null,function*(){yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Ko),ds.current||{})}),Ss(),(0,Ge.GJ)()&&Ls(),po(!1)}),yc=[{title:"\u5173\u5361",dataIndex:"name",render:(_r,Ao,Sr)=>Sr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(_r,Ao,Sr)=>rn.createElement("div",null,_r,Ao.complete_status===4&&rn.createElement(We.vA,{status:Ao.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(_r,Ao,Sr)=>_r||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:xo.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:_r=>_r?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(_r,Ao)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(Ao.myself_experience)!==parseFloat(_r)?"red":"green"}},Ao.myself_experience),"/",_r)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(_r,Ao)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(Ao.game_score_full)!==parseFloat(_r)?"red":"green"}},_r),"/",Ao.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(_r,Ao)=>Zl?rn.createElement(bt,{max:Ao.game_score_full,defaultValue:parseFloat(_r),onBlur:Sr=>mn(void 0,null,function*(){var lo;if((0,Ge.Rm)()&&!((lo=yr.AssistantObject.practice)!=null&&lo.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 ni=yield Pr({type:"shixunHomeworks/changeScore",payload:{categoryId:Ko.homeworkId,type:"report",score:Sr,challenge_id:Ao.challenge_id}});Yl({page:1,page_size:10},"all"),yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Ko),ds.current||{})}),ni.status===0&&fe.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):_r}];let Fu=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(_r,Ao,Sr)=>({children:_r,props:{rowSpan:Ao.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(_r,Ao,Sr)=>({children:_r,props:{rowSpan:Ao.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:(_r,Ao,Sr)=>rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(Ao.actual_test_score)!==parseFloat(_r)?"red":"green"}},Ao.actual_test_score),"/",_r)},{title:"\u6307\u6807\u603B\u5206",render:(_r,Ao,Sr)=>({children:rn.createElement("div",null,rn.createElement("span",{style:{color:parseFloat(Ao.actual_target_score)!==parseFloat(_r)?"red":"green"}},Ao.actual_target_score),"/",_r),props:{rowSpan:Ao.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Wc=[{title:"\u5173\u5361",dataIndex:"challenge_num",width:220},{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"]},{title:"\u8C03\u5206\u524D",dataIndex:"old_score"},{title:"\u8C03\u5206\u540E",dataIndex:"score"},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",render:_r=>rn.createElement("span",null,_r?ze()(_r).format("YYYY-MM-DD HH:mm"):"--")}],zA=_r=>{Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{_r==="next"?He.history.push(`/classrooms/${Ko.coursesId}/shixun_homework/${Ko.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):He.history.push(`/classrooms/${Ko.coursesId}/shixun_homework/${Ko.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},Sc=_r=>{ki(""),_r.target.value&&(console.log("\u8FDB\u6765",it),_r.target.value=_r.target.value>it.repeat_setting_score?it.repeat_setting_score:_r.target.value,ki(_r.target.value))},nc=()=>mn(void 0,null,function*(){const _r=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:el}});yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Ko),ds.current||{})}),_r.status===0&&fe.ZP.info("\u64CD\u4F5C\u6210\u529F")});return rn.createElement("section",{style:{minHeight:"100vh",background:`url(${Be(26528)}) center / cover no-repeat`}},rn.createElement("div",{className:"edu-container pb-60px"},rn.createElement(De.Z,{loading:fa["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},it.course_id&&rn.createElement("section",{className:"animated fadeIn pt-10px"},it.category&&rn.createElement(xe.Z,{separator:">",items:[{title:rn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework`}," ",it.course_name)},{title:rn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`}," ",it.category.category_name)},{title:rn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")},{title:it.username}]}),rn.createElement("div",{className:"mt20 flex item-center gap-10px"},rn.createElement("strong",{className:"font20"}," ",it==null?void 0:it.homework_name," "),rn.createElement(We.VV,{temporary:!0,status:it.homework_status}),rn.createElement("div",{className:"ml-auto flex item-center gap-10px"},it.view_tpi&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-yijiandianping"}),onClick:()=>{var _r,Ao;(0,We.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(Ao=(_r=it==null?void 0:it.shixun_detail)==null?void 0:_r[0])==null?void 0:Ao.game_identifier}`)}}," \u67E5\u770B\u5B66\u5458\u5B9E\u8BAD "),(0,Ge.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x"}),onClick:()=>mn(void 0,null,function*(){yield Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:Nn.categoryId}})})},"\u6253\u56DE\u91CD\u505A"),rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var _r;if((0,Ge.Rm)()&&!((_r=yr.AssistantObject.practice)!=null&&_r.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}tc("")},loading:Zr},"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(it==null?void 0:it.students_count)>1&&rn.createElement(Ee.ZP,{icon:rn.createElement("span",{className:"iconfont icon-daochu"}),onClick:()=>{var _r;if((0,Ge.Rm)()&&!((_r=yr.AssistantObject.practice)!=null&&_r.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:rn.createElement(ie.Z,{title:"\u5BFC\u51FA\u65F6\u4E0D\u80FD\u9000\u51FA\u6216\u5173\u95ED\u5BFC\u51FA\u9875\u9762\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u524D\u7AEF\u5BFC\u51FA"),cancelText:rn.createElement(ie.Z,{title:"\u751F\u6210\u5BFC\u51FA\u4EFB\u52A1\u540E\u53EF\u5173\u95ED\u9875\u9762\uFF0C\u540E\u53F0\u5BFC\u51FA\u6210\u529F\u540E\u5728\u5386\u53F2\u5BFC\u51FA\u9875\u9762\u81EA\u884C\u4E0B\u8F7D\uFF0C\u4E0D\u5F71\u54CD\u5176\u4ED6\u64CD\u4F5C"},"\u540E\u53F0\u5BFC\u51FA"),onOk:()=>{tc("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Xr.jj)({categoryId:Ko.categoryId,coursesId:Ko.coursesId},"shixun_report")}}})}},"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A")))),rn.createElement("aside",{className:"mt-6px rounded-8px px-20px py-12px",style:{background:"rgba(255,255,255,0.9)",border:"1px solid #FFFFFF"}},rn.createElement("div",{id:"export-all",ref:$n},rn.createElement("div",{id:"export-all-1"},rn.createElement("div",{className:"flex item-center"},rn.createElement("div",{className:"text-16px"},"\u603B\u4F53\u8BC4\u4EF7"),(0,Ge.GJ)()&&rn.createElement(Ee.ZP,{className:`ml-auto rounded-4px ${Te.NewButtonStyle}`,type:"primary",icon:rn.createElement(ge.Z,{rev:void 0}),onClick:()=>{Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:ei({},it)},fn:()=>Yl({page:1,page_size:10},"all")}})}}," ",it.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"," ")),rn.createElement("div",{className:"mt-12px rounded-8px p-36px flex item-center relative",style:{background:"#FFFAF7",border:"1px solid #FFFFFF"}},rn.createElement("div",{className:"flex flex-col justify-center item-center"},rn.createElement("div",{className:"flex flex-col item-center"},rn.createElement("img",{className:"h-56px w-56px rounded-full",src:`${Ue.Z.IMG_SERVER}/images/${it.image_url}`,alt:it.username}),rn.createElement("div",{style:{marginTop:"-10px",marginLeft:"-10px"}},rn.createElement(We.vA,{status:it.compelete_status}))),rn.createElement("div",{className:"text-20px c-grey-333 font-medium mt-10px"},it.username),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5B66\u53F7",rn.createElement("span",{className:"ml10 c-grey-333"},it.student_id||"--")),rn.createElement("div",{className:"mt-14px",style:{color:"#8E8E8E"}},"\u5206\u73ED",rn.createElement("span",{className:"ml10 c-grey-333"},it.group_name||"--"))),rn.createElement("div",{className:"flex-1 minW-0 flex flex-col justify-center gap-48px",style:{paddingLeft:"80px"}},rn.createElement("div",{className:"flex item-center justify-between",style:{width:"80%"}},[{title:"\u622A\u6B62\u5F53\u524D\u5B8C\u6210\u5173\u5361",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-red"},it.complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u6700\u65B0\u5B8C\u6210\u5173\u5361",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-red"},it.current_complete_count||"--"),"/",rn.createElement("span",{className:"c-red"},it.challenges_count))},{title:"\u5B8C\u6210\u6548\u7387",children:it&&it.efficiency===null?"--":it&&it.efficiency},{title:"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387",children:it&&it.max_efficiency===null?"--":it&&it.max_efficiency},{title:"\u5173\u5361\u5F97\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},it.challenge_score),"/",rn.createElement("span",{className:"c-light-black"},it.challenge_score_full)),hidden:!(it!=null&&it.eff_score_full)},{title:"\u6548\u7387\u5206",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},it.eff_score),"/",rn.createElement("span",{className:"c-light-black"},it.eff_score_full)),hidden:!(it!=null&&it.eff_score_full)}].map((_r,Ao)=>!(_r!=null&&_r.hidden)&&rn.createElement("div",{key:Ao,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},_r==null?void 0:_r.children),rn.createElement("div",{style:{color:"#8E8E8E"}},_r==null?void 0:_r.title)))),rn.createElement("div",{className:"flex item-center justify-between"},[{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:rn.createElement(rn.Fragment,null,"\u8BA1\u65F6\u89C4\u5219 ",rn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:_r=>{Fi(!0)}})),children:it==null?void 0:it.human_training_time_rules},{title:rn.createElement(rn.Fragment,null,"\u5B9E\u8BAD\u603B\u8017\u65F6",rn.createElement("span",{style:{color:"#145DFF",fontSize:16},className:"iconfont icon-tishixiaowenhao ml-4px current",onClick:_r=>{vo(!0)}})),children:it==null?void 0:it.time_consuming},{title:"\u8BC4\u6D4B\u6B21\u6570",children:it.evaluate_count},{title:"\u901A\u5173\u65F6\u95F4",children:it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm")},{title:rn.createElement(rn.Fragment,null," \u67E5\u91CD\u6263\u5206",it!=null&&it.review_rate?rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{it!=null&&it.review_id&&Js&&(localStorage.setItem("studentDetial",window.location.pathname),He.history.push(`/classrooms/:coursesId/shixun_homework/${Ko.categoryId}/review_detail/${it==null?void 0:it.review_id}`))}}," ",it.review_rate.toFixed(1),"% "):rn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -")),children:rn.createElement(rn.Fragment,null,(it==null?void 0:it.repeat_minus_score)!==0?"- -":rn.createElement(rn.Fragment,null,Js?rn.createElement(rn.Fragment,null,rn.createElement(y.default,{style:{width:"45px",height:"22px"},value:el,onChange:_r=>{Sc(_r)},onBlur:nc,disabled:Sl})," / ",it==null?void 0:it.repeat_setting_score):rn.createElement(rn.Fragment,null," ",it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score," "))),hidden:!(it!=null&&it.have_repeat)},{title:"\u8865\u4EA4\u6263\u5206",children:it.late_penalty||"- -"},{title:"\u6700\u7EC8\u6210\u7EE9(\u6EE1\u5206100\u5206)",children:rn.createElement(rn.Fragment,null,rn.createElement("span",{className:"c-orange"},bl),"/",rn.createElement("span",{className:"c-light-black"},it.all_work_score))}].map((_r,Ao)=>!(_r!=null&&_r.hidden)&&rn.createElement("div",{key:Ao,className:"flex flex-col item-center gap-10px"},rn.createElement("div",{className:"text-16px"},_r==null?void 0:_r.children),rn.createElement("div",{style:{color:"#8E8E8E"}},_r==null?void 0:_r.title))))),rn.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`}},it.overall_appraisal)),rn.createElement(a.Z,{className:"mt-20px",style:{marginLeft:"-20px",width:"calc(100% + 40px)",backgroundColor:"#E0EEFF"}}),(it.work_comment_hidden||it.work_comment)&&rn.createElement("div",null,rn.createElement(ee.Z,{align:"middle"},rn.createElement(E.Z,{flex:1},rn.createElement("h1",{className:Te.title},"\u70B9\u8BC4\u5185\u5BB9")),rn.createElement(E.Z,{className:"pr30"},(0,Ge.GJ)()&&rn.createElement(Ee.ZP,{onClick:()=>mn(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:rn.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return mn(this,null,function*(){(yield(0,dr.gZ)({comment_id:it.comment_id,homeworkId:Ko.homeworkId})).status===0&&(fe.ZP.success("\u5220\u9664\u6210\u529F"),Pr({type:"shixunHomeworks/getShixunWorkReport",payload:ei(ei({},Ko),ds.current||{})}))})}})})},rn.createElement(Pe.Z,null),"\u5220\u9664"))),rn.createElement(a.Z,{style:{margin:0}}),it.work_comment&&rn.createElement("aside",{className:"pl30 pr30 mt20"},rn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),rn.createElement("br",null),rn.createElement(ir.Z,{value:it.work_comment})),it.work_comment_hidden&&rn.createElement("aside",{className:"pl30 pr30 mt20"},rn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),rn.createElement("br",null),rn.createElement(ir.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&&rn.createElement(no,{detailData:it}),rn.createElement("div",{className:Te.score},rn.createElement("h1",{className:Te.title},"\u9636\u6BB5\u6210\u7EE9"),(it==null?void 0:it.adjust_review_score_count)>0&&(0,Ge.GJ)()&&rn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{KA(!0),Yl({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),rn.createElement(te.default,{className:Te.TableStyle,dataSource:it.stage_list,rowKey:_r=>_r==null?void 0:_r.challenge_id,pagination:!1,columns:yc}),((_i=it==null?void 0:it.target_test_sets)==null?void 0:_i.length)>0&&rn.createElement("div",null,rn.createElement("h1",{className:Te.title},"\u6307\u6807\u6210\u7EE9"),rn.createElement(te.default,{className:Te.TableStyle,dataSource:Ia,rowKey:_r=>_r==null?void 0:_r.challenge_id,pagination:!1,bordered:!0,columns:Fu})),(it==null?void 0:it.work_description)&&rn.createElement(rn.Fragment,null,rn.createElement("h1",{className:Te.title},"\u4E2A\u4EBA\u603B\u7ED3"),rn.createElement(ir.Z,{value:it==null?void 0:it.work_description})),rn.createElement("h1",{className:Te.title},"\u56FE\u5F62\u7EDF\u8BA1"),rn.createElement(Nt,{data:Wr}),rn.createElement("h1",{className:Te.title},"\u5B9E\u8BAD\u8BE6\u60C5")),rn.createElement(jt,{autoHeight:Co}))))),(0,Ge.GJ)()&&rn.createElement("aside",{className:`sticky ${Te.footerBar}`},rn.createElement("aside",{className:"edu-container flex item-center"},rn.createElement(He.Link,{className:Te.exitComment,to:`/classrooms/${Ko.coursesId}/shixun_homework/${Ko.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868"),rn.createElement("div",{className:"ml-auto flex item-center gap-20px"},rn.createElement(Ee.ZP,{disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>zA()},"\u4E0A\u4E00\u4E2A"),rn.createElement(Ee.ZP,{disabled:!(it!=null&&it.next_student_work_id),onClick:()=>zA("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&rn.createElement(Ee.ZP,{className:Te.NewButtonStyle,type:"primary",onClick:()=>mn(void 0,null,function*(){Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:ei({},it)},fn:()=>Yl({page:1,page_size:10},"all")}})})}," \u70B9\u8BC4\u4F5C\u4E1A ")))),rn.createElement(Er,null),rn.createElement(cr.Z,null),rn.createElement(Ne.default,{open:ti,width:860,centered:!0,onCancel:()=>{Fi(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},rn.createElement("div",{style:{color:"#333333",fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),rn.createElement("br",null),rn.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),rn.createElement("br",null),rn.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),rn.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),rn.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),rn.createElement("br",null),rn.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),rn.createElement("br",null),rn.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),rn.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),rn.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),rn.createElement("br",null),rn.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),rn.createElement("br",null),rn.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),rn.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},rn.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),rn.createElement("br",null),rn.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),rn.createElement(Ne.default,{open:cs,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{vo(!1)},width:600},rn.createElement("div",{style:{fontWeight:400,color:"#333333"}},rn.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),rn.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),rn.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",rn.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))),rn.createElement(Ne.default,{open:hA,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Ji("all"),KA(!1)},destroyOnClose:!0,width:900},rn.createElement("div",{style:{fontWeight:400,color:"#333333"}},rn.createElement("div",null,rn.createElement("span",null,"\u5173\u5361\uFF1A"),rn.createElement(ne.default,{style:{width:300},value:Xi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:_r=>mn(void 0,null,function*(){Ji(_r),Yl({page:1,page_size:10},_r)})},rn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=it==null?void 0:it.stage_list)==null?void 0:To.map((_r,Ao)=>rn.createElement(ne.default.Option,{key:Ao,value:_r==null?void 0:_r.challenge_id},"\u7B2C",(0,We.EM)(Ao+1),"\u5173")))),rn.createElement("div",{className:"mt20"},rn.createElement(te.default,{dataSource:kr,rowKey:_r=>_r==null?void 0:_r.id,pagination:!1,columns:Wc,loading:vr})),rn.createElement("div",{className:Te.footer},rn.createElement("div",null,rn.createElement("span",{style:{color:"#656F87"}},"\u5171",rn.createElement("span",{className:"c-light-primary"},ii),"\u6761\u6570\u636E")),rn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(cn==null?void 0:cn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ii,onChange:xA})))))};var Aa=(0,He.connect)(({shixunHomeworks:Zt,classroomList:kt,loading:In,globalSetting:yr,user:Gr})=>({shixunHomeworks:Zt,classroomList:kt,globalSetting:yr,loading:In.effects,user:Gr}))(Hr),jr=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 _a=({shixunHomeworks:Zt,data:kt,globalSetting:In,loading:yr,dispatch:Gr})=>{var fa;const Ma=(0,He.useIntl)(),{shixunWorkReport:Pr}=Zt;let Mr=((fa=kt==null?void 0:kt.efficiency_list)==null?void 0:fa.length)-parseInt(kt==null?void 0:kt.myself_eff[0]);const Ua=()=>({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(To){return To.name===Pr.username?"\u59D3\u540D\uFF1A"+Pr.username+"
\u5B66\u53F7\uFF1A "+Pr.user_id+"
\u6548\u7387\uFF1A"+(kt==null?void 0:kt.myself_eff[1]):To.name+":"+To.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:kt==null?void 0:kt.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:Pr.username,xAxis:Mr,yAxis:kt==null?void 0:kt.myself_eff[1],value:kt==null?void 0:kt.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"\u4E2D\u4F4D\u503C"}]}}]}),_i=()=>({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(To){var xo=To.value;if(To.name===Pr.username)return"\u59D3\u540D\uFF1A"+Pr.username+"
\u5B66\u53F7\uFF1A "+Pr.user_id+"
\u5F97\u5206\uFF1A"+(kt==null?void 0:kt.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:kt==null?void 0:kt.consume_list,symbolSize:function(To){return Math.round(To[2])},markPoint:{data:[{name:Pr.username,xAxis:kt==null?void 0:kt.myself_object[0],yAxis:kt==null?void 0:kt.myself_object[1],value:kt==null?void 0:kt.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]});return Ce.createElement(Ce.Fragment,null,Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(nt.Z,{style:{width:750,height:580},option:Ua()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Fa.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Pr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Pr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u4E60\u6548\u7387")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_eff[1])),Ce.createElement("li",null,Ce.createElement("span",null,"\u5F53\u524D\u6392\u540D")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_eff[0]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u5B66\u4E60\u6548\u7387\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u70B9\u8D8A\u9AD8\uFF0C\u5B66\u4E60\u6548\u7387\u8D8A\u9AD8",Ce.createElement("br",null),"\u6A59\u8272\u6A2A\u5411\u7BAD\u5934\uFF1A\u4E2D\u4F4D\u503C\uFF0C\u8868\u793A\u6574\u4E2A\u8BFE\u5802\u5B66\u751F\u8868\u73B0\u7684\u5E73\u5747\u503C"))))),Ce.createElement("aside",{className:"ml60 pr30"},Ce.createElement(ee.Z,null,Ce.createElement(E.Z,{flex:"800px"},Ce.createElement(nt.Z,{style:{width:750,height:580},option:_i()})),Ce.createElement(E.Z,{flex:"1"},Ce.createElement("aside",{className:Fa.rightInfo},Ce.createElement("ul",null,Ce.createElement("li",null,Ce.createElement("span",null,"\u59D3\u540D")," ",Ce.createElement("span",{className:"ml30"},Pr.username)),Ce.createElement("li",null,Ce.createElement("span",null,"\u5B66\u53F7")," ",Ce.createElement("span",{className:"ml30"},Pr.student_id||"--")),Ce.createElement("li",null,Ce.createElement("span",null,"\u80FD\u529B")," ",Ce.createElement("span",{className:"ml30 c-orange"},kt==null?void 0:kt.myself_object[1]))),Ce.createElement("p",null,"1\u4E2A\u5C0F\u5706\u70B9\u4EE3\u88681\u4E2A\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u7EA2\u8272\u6C34\u6EF4\u8868\u793A\u5F53\u524D\u5B66\u751F\u7684\u80FD\u529B\u503C",Ce.createElement("br",null),"\u5C0F\u5706\u5708\u8D8A\u5927\uFF0C\u8BC4\u6D4B\u6B21\u6570\u8D8A\u5C11",Ce.createElement("br",null)))))))};var ko=(0,He.connect)(({shixunHomeworks:Zt,loading:kt,globalSetting:In})=>({shixunHomeworks:Zt,globalSetting:In,loading:kt.effects}))(_a),vi=({defaultValue:Zt,onBlur:kt,max:In,className:yr="game-score"})=>{const[Gr,fa]=(0,Ce.useState)(Zt);(0,Ce.useEffect)(()=>{fa(Zt)},[Zt]);function Ma(Mr){fa(Mr)}function Pr(){Gr!==Zt&&kt(Gr>In?In:Gr)}return Ce.createElement(ot.Z,{max:In,min:0,className:yr,value:Gr,onChange:Ma,onBlur:Pr})},Nr={md:"md___TEmcT"},Ya=Be(59301),Ei=Object.defineProperty,oi=Object.defineProperties,Io=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Qs=Object.prototype.propertyIsEnumerable,iA=(Zt,kt,In)=>kt in Zt?Ei(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,vA=(Zt,kt)=>{for(var In in kt||(kt={}))Vi.call(kt,In)&&iA(Zt,In,kt[In]);if(Po)for(var In of Po(kt))Qs.call(kt,In)&&iA(Zt,In,kt[In]);return Zt},Yi=(Zt,kt)=>oi(Zt,Io(kt));const Hi=ne.default.Option,EA={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var Bl=(Zt=>(Zt[Zt.SET_PATH=0]="SET_PATH",Zt[Zt.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Zt))(Bl||{});function Ms(Zt,kt){switch(kt.type){case 0:return Yi(vA({},Zt),{selectedPath:kt.payload});case 1:return Yi(vA({},Zt),{passedContent:kt.payload});default:throw new Error}}var Or=({path:Zt,game_id:kt,onPathChange:In,autoHeight:yr,diff_code_count:Gr,data:fa,game_codes_cn:Ma})=>{var Pr,Mr,Ua,_i;const To=Zt.split("\uFF1B").filter(jn=>!!jn),[xo,Ko]=(0,Ce.useReducer)(Ms,{selectedPath:To[0],passedContent:{language:"python",content:""}}),{selectedPath:zo,passedContent:Nn}=xo;function cn(jn){Ko({type:0,payload:jn})}const gn={\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 Ya.createElement(Ya.Fragment,null,Ya.createElement("h2",null," ",Ya.createElement("span",null,Ma,Ya.createElement(ie.Z,{title:Ya.createElement("div",null,Ya.createElement("div",null,"\u4EE3\u7801\u5C55\u793A\u89C4\u5219\uFF1A"),Ya.createElement("div",null,"1.\u5C55\u793A\u5B66\u5458\u5728\u4F5C\u4E1A\u622A\u6B62\u524D\u5F97\u5206\u6700\u9AD8\u7684\u4EE3\u7801\u7248\u672C\u3002"),Ya.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"),Ya.createElement("div",null," 3.\u4F5C\u4E1A\u622A\u6B62\u540E\u63D0\u4EA4\u7684\u4EE3\u7801\u5C06\u4E0D\u4E88\u5C55\u793A\u3002"))},Ya.createElement("i",{style:{marginLeft:10,color:"#3061D0",fontSize:16},className:"iconfont icon-tishixiaowenhao"}))),Gr&&Ya.createElement("span",{style:{marginLeft:"50px"}},"\u4EE3\u7801\u4FEE\u6539\u884C\u6570 ",Gr),Ya.createElement("span",null,Ya.createElement(ne.default,{style:{width:200},value:zo,onChange:cn}," ",To.map(jn=>Ya.createElement(Hi,{key:jn,value:jn},jn))," "))," "),(zo==null?void 0:zo.split(".")[1])==="md"&&Ya.createElement(dt.Z,{height:300,autoHeight:yr,defaultValue:((Mr=(Pr=fa==null?void 0:fa.filter(jn=>jn.path===zo))==null?void 0:Pr[0])==null?void 0:Mr.content)||"",className:Nr.md}),(zo==null?void 0:zo.split(".")[1])!=="md"&&Ya.createElement(At.ZP,{height:300,language:Nn.language,value:((_i=(Ua=fa==null?void 0:fa.filter(jn=>jn.path===zo))==null?void 0:Ua[0])==null?void 0:_i.content)||"",autoHeight:yr,theme:"default",isCopy:!0,options:EA}))},qu=Be(12306),lu=Object.defineProperty,Nl=Object.defineProperties,$A=Object.getOwnPropertyDescriptors,$r=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,Qa=(Zt,kt,In)=>kt in Zt?lu(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,Pi=(Zt,kt)=>{for(var In in kt||(kt={}))Va.call(kt,In)&&Qa(Zt,In,kt[In]);if($r)for(var In of $r(kt))Mo.call(kt,In)&&Qa(Zt,In,kt[In]);return Zt},ns=(Zt,kt)=>Nl(Zt,$A(kt)),Ks=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const sA=({shixunHomeworks:Zt,autoHeight:kt,classroomList:In,dispatch:yr})=>{var Gr,fa,Ma,Pr,Mr,Ua,_i,To;const xo=(0,He.useIntl)(),{shixunWorkReport:Ko}=Zt,{stage_list:zo,work_id:Nn,ai_code_evaluation_promote:cn}=Ko,[gn,jn]=(0,Ce.useState)(!1),[Wr,ta]=(0,Ce.useState)(!0),[$n,Zr]=(0,Ce.useState)({left:0,top:0,bottom:0,right:0}),wa=(0,Ce.useRef)(null),[ya,po]=(0,Ce.useState)(!1),[vr,co]=(0,Ce.useState)(""),Co=(0,Ce.useRef)(null),gi=(va,ti)=>{var Fi;const{clientWidth:cs,clientHeight:vo}=window.document.documentElement,hA=(Fi=wa.current)==null?void 0:Fi.getBoundingClientRect();hA&&Zr({left:-hA.left+ti.x,right:cs-(hA.right-ti.x),top:-hA.top+ti.y,bottom:vo-(hA.bottom-ti.y)})},it=(0,He.useParams)(),Ia=(0,Ge.GJ)(),Ro={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1};(0,Ce.useEffect)(()=>{console.log(it)},[]);const kr=[{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"position",width:"100px"},{title:"\u8BE6\u7EC6\u4FE1\u606F",dataIndex:"output_detail",render:(va,ti,Fi)=>Ce.createElement("div",null,va,ti.is_work_end_evaluate&&Ce.createElement(We.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:va=>ze()(va).format("YYYY-MM-DD HH:mm")},{title:"\u64CD\u4F5C",width:"80px",dataIndex:"query_index",render:(va,ti)=>Ce.createElement("span",{className:"c-blue current",onClick:()=>Ks(void 0,null,function*(){var Fi,cs;const vo=yield(0,Fe.Lk)(ti.game_identifier,{path:(cs=(Fi=ti.path)==null?void 0:Fi.replace(/\;/g,";"))==null?void 0:cs.split(";")[0],query_index:ti.query_index,homework_common_id:it.categoryId});(vo==null?void 0:vo.status)===0&&(po(vo),jn(!0))})},ti.query_index?"\u67E5\u770B\u4EE3\u7801":"")}],oo=[{title:"\u8C03\u5206\u7528\u6237",dataIndex:["user","name"],width:350,render:(va,ti)=>{var Fi;return Ce.createElement("span",null,Ce.createElement("img",{width:30,height:30,style:{borderRadius:"50%",marginRight:"10px"},src:Ue.Z.IMG_SERVER+"/images/"+((Fi=ti==null?void 0:ti.user)==null?void 0:Fi.image_url)}),va)}},{title:"\u8C03\u5206\u524D",dataIndex:"old_score",width:270,render:va=>Ce.createElement("span",null,"\u4FEE\u6B63\u524D\u5206\u6570\uFF1A",va,"\u5206")},{title:"\u8C03\u5206\u540E",dataIndex:"score",width:270,render:va=>Ce.createElement("span",null,"\u4FEE\u6B63\u540E\u5206\u6570\uFF1A",va,"\u5206")},{title:"\u8C03\u5206\u65F6\u95F4",dataIndex:"created_at",align:"right",render:va=>Ce.createElement("span",null,"\u4FEE\u6B63\u65F6\u95F4\uFF1A",va?ze()(va).format("YYYY-MM-DD HH:mm"):"--")}];function ii(va,ti){return Ks(this,null,function*(){const{challenge_id:Fi}=zo[va],cs=yield yr({type:"shixunHomeworks/changeScore",payload:{categoryId:it.homeworkId,type:"report",score:ti,challenge_id:Fi}});yield yr({type:"shixunHomeworks/getShixunWorkReport",payload:Pi({},it)}),cs.status===0&&fe.ZP.success(xo.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}function ys(va,ti){return(0,we.U2)(`student_works/${Nn}/rep_passed_content.json`,{path:ti,game_id:va})}const[Xi,Ji]=(0,Ce.useState)((Gr=Ko==null?void 0:Ko.shixun_detail)==null?void 0:Gr.map(va=>ns(Pi({},va),{commentEdit:!1}))),Zl=va=>va.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/_{2,}/g,"`$&`"),[wA,us]=(0,Ce.useState)(!1),yl=(va,ti)=>Ks(void 0,null,function*(){var Fi,cs;us(!0),Co.current=new qu.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:cn,shixun_id:Ko==null?void 0:Ko.myshixun_identifier,game_id:va==null?void 0:va.id,source:"shixun",is_chat:!1,type:9,description:va==null?void 0:va.challenge_description,query:(cs=(Fi=va==null?void 0:va.game_codes)==null?void 0:Fi[0])==null?void 0:cs.content,homework_common_id:it.categoryId}),yield new Promise((vo,hA)=>{Co.current.on("data",KA=>{const el=[...Xi];el[ti].comment=Zl(KA==null?void 0:KA.full),Ji(el)}),Co.current.on("done",()=>Ks(void 0,null,function*(){var KA;us(!1);const el=[...Xi],ki=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.homeworkId}/challenge_comment`,{method:"put",body:{challenge_id:va==null?void 0:va.challenge_id,comment:el[ti].comment}});if((ki==null?void 0:ki.status)==0){fe.ZP.success("\u8BC4\u4EF7\u6210\u529F");const Js=[...Xi];Js[ti].comment_updated_at=(KA=ki==null?void 0:ki.data)==null?void 0:KA.comment_updated_at,Ji(Js)}})),Co.current.startStream()})});return Ce.createElement(Ce.Fragment,null,Xi==null?void 0:Xi.map(function(va,ti){var Fi,cs;return Ce.createElement("div",{key:ti},Ce.createElement("aside",{className:"pl30 pr30",key:ti},Ce.createElement("div",{className:`${Fa.shixunTitle} mt10`},Ce.createElement("div",null,Ce.createElement("span",{className:"fa fa-code "}),Ce.createElement("strong",{className:"c-black"},"\u7B2C",ti+1,"\u5173 ",Ce.createElement(He.Link,{className:"c-black",target:"_blank",to:`/tasks/${it.coursesId}/${it.categoryId}/${va.game_identifier}`},va.subject))),Ia?Ce.createElement("span",null,"\u8C03\u5206\uFF1A",Ce.createElement(vi,{className:"game-score",max:zo[ti].game_score_full,defaultValue:zo[ti].game_score,onBlur:vo=>{var hA;if((0,Ge.Rm)()&&!((hA=In.AssistantObject.practice)!=null&&hA.can_appraise)){fe.ZP.warning(xo.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}ii(ti,vo)}})):null),Ce.createElement("div",{className:"font16 mt10"},va.st===0&&(va.path?typeof(va==null?void 0:va.game_codes_cn)=="string"?Ce.createElement("aside",{className:Fa.shixunWrp},Ce.createElement(Or,{game_codes_cn:va==null?void 0:va.game_codes_cn,autoHeight:kt,path:va.path,game_id:va.id,data:va.game_codes,diff_code_count:va.diff_code_count,onPathChange:ys})):Ce.createElement("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"}}," \u63D0\u793A\uFF1A\u7EAF\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u7684\u5B9E\u8BAD\u4E0D\u5C55\u793A\u901A\u5173\u4EE3\u7801\uFF0C\u5982\u9700\u67E5\u770B\u5B66\u751F\u4EE3\u7801\u8BF7\u524D\u5F80\u4F5C\u4E1A\u5217\u8868\u5BFC\u51FA\u5B9E\u9A8C\u6587\u4EF6\u3002"):"\u76EE\u524D\u56FE\u5F62\u5316\u3001\u547D\u4EE4\u884C\u3001Vscode\u7F16\u8F91\u5668\u3001\u7406\u8BBA\u9898\u6A21\u5F0F\u7684\u5B9E\u9A8C\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u6B64\u529F\u80FD"),va.st===1&&(va.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")),Ce.createElement("aside",{className:"mt10 font16"},(Fi=va.outputs)!=null&&Fi.length?Ce.createElement(te.default,{columns:kr,pagination:{hideOnSinglePage:!0},dataSource:va.outputs.map(vo=>Pi(Pi({},va),vo))}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"),Ce.createElement("aside",{className:"mt10 font16"},((cs=va==null?void 0:va.adjust_review_score_list)==null?void 0:cs.length)>0&&(0,Ge.GJ)()&&Ce.createElement("div",null,Ce.createElement("strong",{className:"c-black font14"},"\u8C03\u5206\u8BB0\u5F55"),Ce.createElement(te.default,{columns:oo,pagination:{hideOnSinglePage:!0},dataSource:va.adjust_review_score_list,showHeader:!1})))))}),Ce.createElement(Ne.default,{open:gn,width:900,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},onOk:()=>{po({}),jn(!1)},onCancel:()=>{po({}),jn(!1)},title:Ce.createElement("div",{style:{width:"100%",cursor:"move"},onMouseOver:()=>{Wr&&ta(!1)},onMouseOut:()=>{ta(!0)},onFocus:()=>{},onBlur:()=>{}},"\u4EE3\u7801\u5185\u5BB9"),modalRender:va=>Ce.createElement(de(),{disabled:Wr,bounds:$n,nodeRef:wa,onStart:(ti,Fi)=>gi(ti,Fi)},Ce.createElement("div",{ref:wa},va))},Ce.createElement("div",{style:{background:"#F6F7F9",padding:"30px 20px",marginBottom:20}},Ce.createElement("div",{style:{display:"flex",alignItems:"center"}},((fa=ya==null?void 0:ya.data)==null?void 0:fa.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?Ce.createElement("i",{style:{color:"#0B9953",fontSize:18,marginRight:10},className:"iconfont icon-duigou1"}):Ce.createElement("i",{style:{color:"#E21010",fontSize:18,marginRight:10},className:"iconfont icon-jinggao1"}),Ce.createElement("div",{style:{color:((Ma=ya==null?void 0:ya.data)==null?void 0:Ma.output_detail)==="\u8BC4\u6D4B\u901A\u8FC7"?"#0B9953":"#E21010",fontSize:16,fontWeight:600}},(Pr=ya==null?void 0:ya.data)==null?void 0:Pr.output_detail)),Ce.createElement("div",{style:{display:"flex",justifyContent:"space-between",marginTop:20}},Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u8BC4\u6D4B\u65F6\u95F4"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},ze()((Mr=ya==null?void 0:ya.data)==null?void 0:Mr.created_at).format("YYYY-MM-DD HH:mm:ss"))),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u65F6"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(Ua=ya==null?void 0:ya.data)==null?void 0:Ua.ts_time,"s")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u5185\u5B58"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},(_i=ya==null?void 0:ya.data)==null?void 0:_i.ts_mem,"mb")),Ce.createElement("div",null,Ce.createElement("span",{style:{color:"#6A7283"}},"\u7528\u4F8B\u901A\u8FC7\u7387"),Ce.createElement("span",{style:{marginLeft:8,color:"#232B40"}},((To=ya==null?void 0:ya.data)==null?void 0:To.test_set_passed_rate)*100,"%")))),Ce.createElement(At.ZP,{height:500,autoHeight:kt,language:"python",theme:"default",isCopy:!0,value:decodeURIComponent(escape(window.atob((ya==null?void 0:ya.content)||""))),options:Ro})))};var PA=(0,He.connect)(({shixunHomeworks:Zt,loading:kt,globalSetting:In,classroomList:yr})=>({shixunHomeworks:Zt,globalSetting:In,loading:kt.effects,classroomList:yr}))(sA),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"},ka=Be(59301),zc=Object.defineProperty,$u=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Ru=(Zt,kt,In)=>kt in Zt?zc(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,Gl=(Zt,kt)=>{for(var In in kt||(kt={}))wl.call(kt,In)&&Ru(Zt,In,kt[In]);if($u)for(var In of $u(kt))Dl.call(kt,In)&&Ru(Zt,In,kt[In]);return Zt},Wl=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const Ul=({shixunHomeworks:Zt,dispatch:kt,classroomList:In})=>{const{shixunWorkReport:yr}=Zt,Gr=(0,He.useIntl)(),fa=(0,He.useParams)(),[Ma,Pr]=(0,Ce.useState)(!1),[Mr]=Qn.default.useForm(),[Ua,_i]=Ne.default.useModal(),[To,xo]=(0,Ce.useState)(!1),[Ko,zo]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{var gn,jn,Wr,ta;Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Mr.setFieldsValue({comment:(jn=(gn=Zt.actionTabs.selectArrs)==null?void 0:gn.data)==null?void 0:jn.work_comment,hidden_comment:(ta=(Wr=Zt.actionTabs.selectArrs)==null?void 0:Wr.data)==null?void 0:ta.work_comment_hidden})},[Zt.actionTabs.key]);const Nn=()=>Wl(void 0,null,function*(){const gn=Mr.getFieldsValue();(yield(0,we.ZP)(`/api/student_works/${fa.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:gn.hidden_comment,comment:gn.comment}})).status===0&&(fe.ZP.success("\u8BC4\u9605\u6210\u529F"),Mr.resetFields(),kt({type:"shixunHomeworks/setActionTabs",payload:{}}),kt({type:"shixunHomeworks/getShixunWorkReport",payload:Gl({},fa)}))}),cn=[{title:"\u5173\u5361",dataIndex:"name",render:(gn,jn,Wr)=>Wr+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(gn,jn,Wr)=>ka.createElement("div",null,gn,jn.complete_status===4&&ka.createElement(We.vA,{status:jn.complete_status}))},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"open_time"},{title:Gr.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",align:"center"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",align:"center",render:gn=>gn?"\u662F":"\u5426"},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",align:"center",render:(gn,jn)=>ka.createElement("div",null,ka.createElement("span",{style:{color:parseFloat(jn.game_score_full)!==parseFloat(gn)?"#E30000":"#53C41B"}},gn),"/",jn.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",align:"center",fixed:"right",render:(gn,jn)=>(0,Ge.GJ)()?ka.createElement(vi,{max:jn.game_score_full,defaultValue:parseFloat(gn),onBlur:Wr=>Wl(void 0,null,function*(){var ta,$n;if((0,Ge.Rm)()&&!((ta=In.AssistantObject.practice)!=null&&ta.can_appraise)){fe.ZP.warning(Gr.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const Zr=yield kt({type:"shixunHomeworks/changeScore",payload:{categoryId:fa.homeworkId,type:"report",score:Wr,challenge_id:jn.challenge_id}});($n=Zt==null?void 0:Zt.actionTabs)==null||$n.fn(),yield kt({type:"shixunHomeworks/getShixunWorkReport",payload:Gl({},fa)}),Zr.status===0&&fe.ZP.success(Gr.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):gn}];return ka.createElement(ka.Fragment,null,_i,ka.createElement(Ne.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",open:Zt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:Gr.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Wl(void 0,null,function*(){var gn;if((0,Ge.Rm)()&&!((gn=In.AssistantObject.practice)!=null&&gn.can_appraise)){fe.ZP.warning(Gr.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const jn=Mr.getFieldsValue();JSON.stringify(jn)==="{}"||jn.hidden_comment===""&&jn.comment===""?Pr(!0):Nn()}),onCancel:()=>{kt({type:"shixunHomeworks/setActionTabs",payload:{}})}},ka.createElement(ee.Z,{justify:"space-between",className:xi.info},ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u59D3\u540D"),ka.createElement("span",{className:xi.blackContent},yr==null?void 0:yr.username)),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5B66\u53F7"),ka.createElement("span",{className:xi.blackContent},(yr==null?void 0:yr.student_id)||"--")),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u73ED\u7EA7"),ka.createElement("span",{className:xi.blackContent},(yr==null?void 0:yr.group_name)||"--")),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u5173\u5361\u5F97\u5206"),ka.createElement("span",{className:xi.orangeContent},(yr==null?void 0:yr.challenge_score)||"--")),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6548\u7387\u5206"),ka.createElement("span",{className:xi.orangeContent},(yr==null?void 0:yr.eff_score)||"--")),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u8865\u4EA4\u6263\u5206"),ka.createElement("span",{className:xi.orangeContent},(yr==null?void 0:yr.late_penalty)||"--")),ka.createElement(E.Z,null,ka.createElement("span",{className:`${xi.label} ${xi.greyText}`},"\u6700\u7EC8\u6210\u7EE9"),ka.createElement("span",{className:xi.orangeContent},(yr==null?void 0:yr.work_score)||"--"))),ka.createElement(Qn.default,{form:Mr,onChange:()=>{Ma&&Pr(!1)}},ka.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},ka.createElement(E.Z,null,ka.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ka.createElement(E.Z,null,ka.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:To,onCancel:()=>{xo(!1)}},onDataSelect:(gn,jn)=>Wl(void 0,[gn,jn],function*(Wr,{node:ta}){const $n=()=>{Mr.setFieldsValue({comment:ta==null?void 0:ta.value}),xo(!1)};if(Mr.getFieldValue("comment")){Ua.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:$n});return}$n()})},ka.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:ka.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:gn=>{xo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ka.createElement(Qn.default.Item,{name:"comment"},ka.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),ka.createElement(ee.Z,{wrap:!1,align:"middle",justify:"space-between"},ka.createElement(E.Z,null,ka.createElement("div",{className:`${xi.inputLabel} ${xi.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),ka.createElement(E.Z,null,ka.createElement(on.Z,{isShowComponent:(0,Ge.G5)(),ModalProps:{open:Ko,onCancel:()=>{zo(!1)}},onDataSelect:(gn,jn)=>Wl(void 0,[gn,jn],function*(Wr,{node:ta}){const $n=()=>{Mr.setFieldsValue({hidden_comment:ta==null?void 0:ta.value}),zo(!1)};if(Mr.getFieldValue("hidden_comment")){Ua.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:$n});return}$n()})},ka.createElement(Ee.ZP,{style:{padding:0,height:"auto"},icon:ka.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:gn=>{zo(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),ka.createElement(Qn.default.Item,{name:"hidden_comment"},ka.createElement(y.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))),Ma&&ka.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),ka.createElement("div",{className:xi.tableTitle},"\u5173\u5361\u6210\u7EE9"),ka.createElement(te.default,{className:xi.scoreTable,dataSource:yr.stage_list,rowKey:"challenge_id",pagination:!1,columns:cn,scroll:{x:"max-content"}})))};var Al=(0,He.connect)(({shixunHomeworks:Zt,classroomList:kt})=>({shixunHomeworks:Zt,classroomList:kt}))(Ul),Cu=Be(60289),fA={wrap:"wrap___LZOi9",line:"line___oju0L"},Ol=({detailData:Zt})=>{var kt;return Ce.createElement("div",{className:fA.wrap},Ce.createElement(lr.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,lr.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"},Ce.createElement(lr.ZP,{hideBar:!0,title:"\u5B9E\u8BAD\u5B66\u4E60\u5206\u6790",data:(0,lr.Uf)(Zt)}),!!((kt=Zt==null?void 0:Zt.photos)!=null&&kt.length)&&Ce.createElement(Ce.Fragment,null,Ce.createElement("div",{className:fA.line}),Ce.createElement(lr._s,{dataSource:Zt==null?void 0:Zt.photos,right:21,col:4,wrapWidth:1140}))))},dn=Be(59301),Eu=Object.defineProperty,BA=Object.defineProperties,uu=Object.getOwnPropertyDescriptors,Vs=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,Ql=(Zt,kt,In)=>kt in Zt?Eu(Zt,kt,{enumerable:!0,configurable:!0,writable:!0,value:In}):Zt[kt]=In,Ys=(Zt,kt)=>{for(var In in kt||(kt={}))cu.call(kt,In)&&Ql(Zt,In,kt[In]);if(Vs)for(var In of Vs(kt))Pu.call(kt,In)&&Ql(Zt,In,kt[In]);return Zt},Xs=(Zt,kt)=>BA(Zt,uu(kt)),wc=(Zt,kt)=>{var In={};for(var yr in Zt)cu.call(Zt,yr)&&kt.indexOf(yr)<0&&(In[yr]=Zt[yr]);if(Zt!=null&&Vs)for(var yr of Vs(Zt))kt.indexOf(yr)<0&&Pu.call(Zt,yr)&&(In[yr]=Zt[yr]);return In},ps=(Zt,kt,In)=>new Promise((yr,Gr)=>{var fa=Mr=>{try{Pr(In.next(Mr))}catch(Ua){Gr(Ua)}},Ma=Mr=>{try{Pr(In.throw(Mr))}catch(Ua){Gr(Ua)}},Pr=Mr=>Mr.done?yr(Mr.value):Promise.resolve(Mr.value).then(fa,Ma);Pr((In=In.apply(Zt,kt)).next())});const ec=Zt=>{var kt=Zt,{shixunHomeworks:In,classroomList:yr,globalSetting:Gr,loading:fa,user:Ma,dispatch:Pr}=kt,Mr=wc(kt,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),Ua,_i,To;const[xo,Ko]=(0,Ce.useState)(Ys({},(0,He.useParams)())),zo=(0,He.useParams)(),[Nn,cn]=(0,Ce.useState)({page:1,page_size:10}),gn=(0,He.useLocation)(),[]=(0,Ce.useState)([]),[jn,Wr]=(0,Ce.useState)(),ta=(0,Ce.useRef)(),$n=(0,Ce.useRef)(),[Zr,wa]=(0,Ce.useState)(!1),[ya,po]=(0,Ce.useState)(!0),[vr,co]=(0,Ce.useState)(!1),[Co,gi]=(0,Ce.useState)(!1),{shixunWorkReport:it}=In,[Ia,Ro]=(0,Ce.useState)(),[kr,oo]=(0,Ce.useState)([]),[ii,ys]=(0,Ce.useState)(),[Xi,Ji]=(0,Ce.useState)("all"),Zl=(0,Ge.GJ)(),[wA,us]=(0,Ce.useState)(new(ve())),[yl,va]=(0,Ce.useState)(0),[ti,Fi]=(0,Ce.useState)(!1),[cs,vo]=(0,Ce.useState)(!1),[hA,KA]=(0,Ce.useState)(!1),[el,ki]=(0,Ce.useState)(""),[Js,Vl]=(0,Ce.useState)(!1),Sl=(0,He.useIntl)(),[ks,bl]=(0,Ce.useState)(!0),[mA,ds]=(0,Ce.useState)(0),vs=(0,Ce.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),xu=(0,Ce.useRef)(),Gc=()=>ps(void 0,null,function*(){(Ma.userInfo.is_teacher||Ma.userInfo.admin)&&(Vl(!0),bl(!1))});(0,Ce.useEffect)(()=>{var Sr;(0,Ge.Rm)()&&yr.AssistantObject.practice&&!((Sr=yr.AssistantObject.practice)!=null&&Sr.can_view)&&He.history.replace("/403")},[(Ua=yr.AssistantObject.practice)==null?void 0:Ua.can_view]),(0,Ce.useEffect)(()=>{Gc(),console.log("\u6253\u5370\u7684------",it),xu.current=it==null?void 0:it.next_student_work_id,ki(it.repeat_minus_score)},[it,Ma]),(0,Ce.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",it.work_score),ds(it.work_score)},[it.work_score,el]),(0,Ce.useEffect)(()=>(Pr({type:"globalSetting/footerToggle",payload:!1}),()=>{Pr({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,Ce.useEffect)(()=>{var Sr;if(it){let lo=[];(Sr=it==null?void 0:it.target_test_sets)==null||Sr.map((ni,Ts)=>{var AA;(AA=ni==null?void 0:ni.targets)==null||AA.map((yA,Jl)=>{var Lu;yA.name=ni==null?void 0:ni.name,yA.total_target_score=ni==null?void 0:ni.total_target_score,yA.actual_target_score=ni==null?void 0:ni.actual_target_score,yA.rowSpan=Jl===0?(Lu=ni==null?void 0:ni.targets)==null?void 0:Lu.length:0,yA.order=Ts+1,lo.push(yA)})}),Ro(lo),(0,Ge.Rm)()&&Pr({type:"classroomList/getAssistantPermissions",payload:{course_id:xo.coursesId}})}},[it]),(0,Ce.useEffect)(()=>{In.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&(it==null?void 0:it.students_count)>0&&!ya&&setTimeout(()=>{gu("all")},800)},[it==null?void 0:it.homework_common_id,ya]),(0,Ce.useEffect)(()=>{Ko(Ys({},zo))},[gn.pathname]);const xA=()=>{document.body.scrollIntoView()},Yl=Sr=>{Nn.page=Sr,cn(Ys({},Nn)),Ls(Nn,Xi)},Ls=(Sr,lo)=>ps(void 0,null,function*(){co(!0);const ni=yield(0,we.ZP)(`/api/student_works/${xo==null?void 0:xo.homeworkId}/adjust_review_score_histories.json`,{method:"get",params:Xs(Ys({},Sr),{challenge_id:lo=="all"?null:lo})});(ni==null?void 0:ni.status)===0&&(oo(ni==null?void 0:ni.list),ys(ni==null?void 0:ni.count)),co(!1)});function du(){return ps(this,null,function*(){vs.current=JSON.parse(sessionStorage.all_student_works_params||"{}")})}const Ss=()=>{document.querySelectorAll("canvas").forEach(Sr=>{(!Sr.clientWidth||!Sr.clientHeight)&&Sr.remove()})},tc=()=>{ta.current.offsetHeight>62e3?gi(!1):gi(!0)},Xl=Sr=>ps(void 0,null,function*(){const lo=yield(0,dr.t1)({homeworkId:Sr||xo.homeworkId});Wr(lo==null?void 0:lo.data)}),gu=Sr=>ps(void 0,null,function*(){var lo,ni,Ts,AA;let yA=0,Jl;Jl=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"},yA+1),"/",Sr!=="all"?1:it==null?void 0:it.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Fa.modal,onOk:()=>{}});const Lu={margin:[0,0],filename:`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?it==null?void 0:it.student_id:""}${it.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},ql=wA.folder(it==null?void 0:it.shixun_name);function Ka(lA){return ps(this,null,function*(){yield Xl(lA||xu.current);const Go=yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:Ys({homeworkId:lA||xu.current},vs.current||{})});xu.current=Go==null?void 0:Go.next_student_work_id,xA(),yA++,setTimeout(()=>ps(this,null,function*(){var OA,gs,QA,Rs;Ss();const Cl=ql.folder(`${Go==null?void 0:Go.group_name}`).folder(`${Go!=null&&Go.student_id&&(Go==null?void 0:Go.student_id)!="--"?Go.student_id+"+":""}${Go==null?void 0:Go.username}`),qs=document.querySelector("#export-all").children;let zs=Kr()();for(let SA=0;SAps(this,null,function*(){SA0&&((QA=(gs=Go==null?void 0:Go.shixun_detail)==null?void 0:gs.filter(SA=>{var zi;return((zi=SA==null?void 0:SA.game_codes)==null?void 0:zi.length)>0}))==null?void 0:QA.length)>0){const SA=Cl.folder("\u4EE3\u7801\u6587\u4EF6");(Rs=Go==null?void 0:Go.shixun_detail)==null||Rs.map((zi,Iu)=>{var eu,ll;if(((eu=zi==null?void 0:zi.game_codes)==null?void 0:eu.length)>0){const yg=SA.folder(`\u7B2C${Iu+1}\u5173-${zi.subject}-${zi.id}`);(ll=zi==null?void 0:zi.game_codes)==null||ll.map(Nu=>{yg.file(`${Nu.filename}.txt`,Nu==null?void 0:Nu.content)})}})}Jl.update({content:dn.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",dn.createElement("span",{className:"c-blue"},yA),"/",Go==null?void 0:Go.students_count,dn.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),yA==(Go==null?void 0:Go.students_count)?(Jl.destroy(),yc()):Ka()}),2200)})}if(Sr!=="all"||(it==null?void 0:it.students_count)<2){Ss(),xA();const lA=$n.current.children;let Go=Kr()();const gs=ql.folder(`${it==null?void 0:it.group_name}`).folder(`${it!=null&&it.student_id&&(it==null?void 0:it.student_id)!="--"?(it==null?void 0:it.student_id)+"+":""}${it==null?void 0:it.username}`);for(let QA=0;QAps(void 0,null,function*(){QA0&&((Ts=(ni=it==null?void 0:it.shixun_detail)==null?void 0:ni.filter(QA=>{var Rs;return((Rs=QA==null?void 0:QA.game_codes)==null?void 0:Rs.length)>0}))==null?void 0:Ts.length)>0){const QA=gs.folder("\u4EE3\u7801\u6587\u4EF6");(AA=it==null?void 0:it.shixun_detail)==null||AA.map((Rs,$l)=>{var Cl,qs;if(((Cl=Rs==null?void 0:Rs.game_codes)==null?void 0:Cl.length)>0){const zs=QA.folder(`\u7B2C${$l+1}\u5173-${Rs.subject}-${Rs.id}`);(qs=Rs==null?void 0:Rs.game_codes)==null||qs.map(SA=>{zs.file(`${SA.filename}.txt`,SA==null?void 0:SA.content)})}})}Jl.destroy(),yc();return}else Ka(it==null?void 0:it.first_student_work_id)}),yc=()=>{wA.generateAsync({type:"blob"}).then(function(Sr){console.log(it,"shixunWorkReport");const lo=document.createElement("a");lo.href=window.URL.createObjectURL(Sr),lo.download=(it==null?void 0:it.shixun_name)+".zip",document.body.appendChild(lo);const ni=document.createEvent("MouseEvents");ni.initEvent("click",!1,!1),lo.dispatchEvent(ni),document.body.removeChild(lo),us(new(ve()))}),gi(!1)};(0,Ce.useEffect)(()=>{Fu()},[xo.homeworkId]);const Fu=()=>ps(void 0,null,function*(){po(!0),yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:Ys(Ys({},xo),vs.current||{})}),Xl(),(0,Ge.GJ)()&&du(),po(!1)}),Wc=[{title:"\u5173\u5361",dataIndex:"name",render:(Sr,lo,ni)=>ni+1},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",render:(Sr,lo,ni)=>dn.createElement("div",null,Sr,lo.complete_status===4&&dn.createElement(We.vA,{status:lo.complete_status}))},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time"},{title:"\u4EE3\u7801\u4FEE\u6539\u884C\u6570",dataIndex:"diff_code_count",render:(Sr,lo,ni)=>Sr||"- -"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count"},{title:Sl.formatMessage({id:"classrooms.finishTime",defaultMessage:"\u5B8C\u6210\u65F6\u95F4"}),dataIndex:"finished_time"},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming"},{title:"\u662F\u5426\u67E5\u770B\u7B54\u6848",dataIndex:"view_answer",render:Sr=>Sr?"\u662F":"\u5426"},{title:"\u7ECF\u9A8C\u503C",dataIndex:"experience",render:(Sr,lo)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(lo.myself_experience)!==parseFloat(Sr)?"red":"green"}},lo.myself_experience),"/",Sr)},{title:"\u5173\u5361\u5F97\u5206",dataIndex:"game_score",render:(Sr,lo)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(lo.game_score_full)!==parseFloat(Sr)?"red":"green"}},Sr),"/",lo.game_score_full)},{title:"\u8C03\u5206",dataIndex:"game_score",render:(Sr,lo)=>Zl?dn.createElement(vi,{max:lo.game_score_full,defaultValue:parseFloat(Sr),onBlur:ni=>ps(void 0,null,function*(){var Ts;if((0,Ge.Rm)()&&!((Ts=yr.AssistantObject.practice)!=null&&Ts.can_appraise)){fe.ZP.warning(Sl.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}const AA=yield Pr({type:"shixunHomeworks/changeScore",payload:{categoryId:xo.homeworkId,type:"report",score:ni,challenge_id:lo.challenge_id}});Ls({page:1,page_size:10},"all"),yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:Ys(Ys({},xo),vs.current||{})}),AA.status===0&&fe.ZP.success(Sl.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))})}):Sr}];let zA=[{title:"\u5173\u5361",dataIndex:"order",key:"order",render:(Sr,lo,ni)=>({children:Sr,props:{rowSpan:lo.rowSpan}})},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",render:(Sr,lo,ni)=>({children:Sr,props:{rowSpan:lo.rowSpan}})},{title:"\u6307\u6807\u540D\u79F0",dataIndex:"target_name",key:"target_name"},{title:"\u6307\u6807\u9884\u671F\u7ED3\u679C",dataIndex:"output",key:"output"},{title:"\u6307\u6807\u5B9E\u9645\u7ED3\u679C",dataIndex:"actual_output",key:"actual_output"},{title:"\u6307\u6807\u5F97\u5206",dataIndex:"test_score",key:"test_score",render:(Sr,lo,ni)=>dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(lo.actual_test_score)!==parseFloat(Sr)?"red":"green"}},lo.actual_test_score),"/",Sr)},{title:"\u6307\u6807\u603B\u5206",render:(Sr,lo,ni)=>({children:dn.createElement("div",null,dn.createElement("span",{style:{color:parseFloat(lo.actual_target_score)!==parseFloat(Sr)?"red":"green"}},lo.actual_target_score),"/",Sr),props:{rowSpan:lo.rowSpan}}),dataIndex:"total_target_score",key:"total_target_score"}];const Sc=[{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:Sr=>dn.createElement("span",null,Sr?ze()(Sr).format("YYYY-MM-DD HH:mm"):"--")}],nc=Sr=>{Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Sr==="next"?He.history.push(`/classrooms/${xo.coursesId}/shixun_homework/${xo.categoryId}/${it==null?void 0:it.next_student_work_id}/comment`):He.history.push(`/classrooms/${xo.coursesId}/shixun_homework/${xo.categoryId}/${it==null?void 0:it.pre_student_work_id}/comment`)},200)},_r=Sr=>{ki(""),Sr.target.value&&(console.log("\u8FDB\u6765",it),Sr.target.value=Sr.target.value>it.repeat_setting_score?it.repeat_setting_score:Sr.target.value,ki(Sr.target.value))},Ao=()=>ps(void 0,null,function*(){const Sr=yield(0,we.ZP)(`/api/student_works/${it==null?void 0:it.work_id}/update_repeat_score`,{method:"put",body:{score:el}});yield Pr({type:"shixunHomeworks/getShixunWorkReport",payload:Ys(Ys({},xo),vs.current||{})}),Sr.status===0&&fe.ZP.info(Sl.formatMessage({id:"classrooms.operationSuccess",defaultMessage:"\u64CD\u4F5C\u6210\u529F"}))});return dn.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},dn.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},dn.createElement(De.Z,{loading:fa["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5}},dn.createElement("div",{className:"edu-container"},it.course_id&&dn.createElement("section",{className:"animated fadeIn"},dn.createElement("aside",{className:""},it.category&&dn.createElement(xe.Z,{separator:">"},dn.createElement(xe.Z.Item,null,dn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework`},it.course_name)),dn.createElement(xe.Z.Item,null,dn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.category.main?"":it.category.category_id}`},it.category.category_name)),dn.createElement(xe.Z.Item,null,dn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail${(0,Ge.dE)()?"?tabs=1":""}`},"\u4F5C\u4E1A\u8BE6\u60C5")),dn.createElement(xe.Z.Item,null,it.username))),dn.createElement("aside",{className:[Fa.title1,"mt20"].join(" ")},dn.createElement(ee.Z,{align:"middle"},dn.createElement(E.Z,{flex:1},dn.createElement(He.Link,{to:`/classrooms/${it.course_id}/shixun_homework/${it.homework_common_id}/detail`},dn.createElement(jr.Z,{className:"font16 c-black"})),dn.createElement("strong",{className:"font20 ml5"},it==null?void 0:it.homework_name),dn.createElement(We.VV,{temporary:!0,status:it.homework_status})),dn.createElement(E.Z,{className:Fa.title1_right},it.view_tpi&&dn.createElement(Ee.ZP,{onClick:()=>{var Sr,lo;(0,We.xg)(`/tasks/${it==null?void 0:it.course_id}/${it==null?void 0:it.homework_common_id}/${(lo=(Sr=it==null?void 0:it.shixun_detail)==null?void 0:Sr[0])==null?void 0:lo.game_identifier}`)}},dn.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD"),(0,Ge.GJ)()&&it.homework_end===!1&&!!it.myshixun_id&&dn.createElement(Ee.ZP,{className:"ml10",onClick:()=>ps(void 0,null,function*(){yield Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u6253\u56DE\u91CD\u505A",selectArrs:{myshixun_identifier:it.myshixun_identifier},homework_common_id:zo.categoryId}})})},dn.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),dn.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var Sr;if((0,Ge.Rm)()&&!((Sr=yr.AssistantObject.practice)!=null&&Sr.can_download)){fe.ZP.warning(Sl.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}gu("")},loading:Zr},dn.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,Ge.GJ)()&&(it==null?void 0:it.students_count)>1&&dn.createElement(Ee.ZP,{className:"ml10",onClick:()=>{var Sr;if((0,Ge.Rm)()&&!((Sr=yr.AssistantObject.practice)!=null&&Sr.can_download)){fe.ZP.warning(Sl.formatMessage({id:"classrooms.noPermissionApplyToAdmin",defaultMessage:"\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"}));return}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:()=>{gu("all")},onCancel:()=>{},cancelButtonProps:{onClick:()=>{(0,Xr.jj)({categoryId:xo.categoryId,coursesId:xo.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:ta},dn.createElement("div",{id:"export-all",ref:$n},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(Ee.ZP,{className:"mr20",type:"primary",onClick:()=>{Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:Ys({},it)},fn:()=>Ls({page:1,page_size:10},"all")}})}},dn.createElement(ge.Z,null),it.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/${it.image_url}`,alt:it.username})),dn.createElement(E.Z,null,dn.createElement("span",{className:"font16 ml40"},it.username),dn.createElement(We.vA,{status:it.compelete_status}),dn.createElement("ul",{className:Fa.userInfo},dn.createElement("li",null,"\u5B66\u53F7\uFF1A",it.student_id||"--"),dn.createElement("li",null,"\u5206\u73ED\uFF1A",it.group_name||"--"),dn.createElement("br",null),dn.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5173\u5361\uFF1A",dn.createElement("span",{className:"c-red"},it.complete_count),"/",dn.createElement("span",{className:"c-red"},it.challenges_count)),dn.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5173\u5361\uFF1A",dn.createElement("span",{className:"c-red"},it.current_complete_count||"-"),"/",dn.createElement("span",{className:"c-red"},it.challenges_count)),dn.createElement("li",null,"\u5B8C\u6210\u6548\u7387\uFF1A",it&&it.efficiency===null?"--":it&&it.efficiency),dn.createElement("li",null,"\u8BFE\u5802\u6700\u9AD8\u5B8C\u6210\u6548\u7387\uFF1A",it&&it.max_efficiency===null?"--":it&&it.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"},it&&it.passed_time===null||it&&it.passed_time==="--"?"--":ze()(it&&it.passed_time).format("YYYY-MM-DD HH:mm"))),dn.createElement("li",null,dn.createElement("strong",null,"\u8BA1\u65F6\u89C4\u5219",dn.createElement("i",{onClick:Sr=>{Sr.stopPropagation(),Sr.preventDefault(),Fi(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},it==null?void 0:it.human_training_time_rules)),dn.createElement("li",null,dn.createElement("strong",null,"\u5B9E\u8BAD\u603B\u8017\u65F6",dn.createElement("i",{onClick:Sr=>{Sr.stopPropagation(),Sr.preventDefault(),vo(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),dn.createElement("div",{className:"c-light-black mt20"},it.time_consuming)),dn.createElement("li",null,dn.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),dn.createElement("div",{className:"mt20"},it.evaluate_count)),(it==null?void 0:it.eff_score_full)&&dn.createElement(dn.Fragment,null,dn.createElement("li",null,dn.createElement("strong",null,"\u5173\u5361\u5F97\u5206"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.challenge_score),"/",dn.createElement("span",{className:"c-light-black"},it.challenge_score_full))),dn.createElement("li",null,dn.createElement("strong",null,"\u6548\u7387\u5206"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.eff_score),"/",dn.createElement("span",{className:"c-light-black"},it.eff_score_full)))),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)!==0&&dn.createElement("li",{style:{position:"relative"}},dn.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},dn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),dn.createElement("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"}},it!=null&&it.review_rate?dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:()=>{if(it!=null&&it.review_id&&Js)localStorage.setItem("studentDetial",window.location.pathname),He.history.push({pathname:`/classrooms/:coursesId/shixun_homework/${xo.categoryId}/review_detail/${it==null?void 0:it.review_id}`});else return}},it.review_rate.toFixed(1),"%"):dn.createElement("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"}},"- -"))),Js?dn.createElement("div",{className:"mt20"},dn.createElement(y.default,{style:{width:"45px",height:"22px"},value:el,onChange:Sr=>{_r(Sr)},onBlur:Ao,disabled:ks})," / ",it==null?void 0:it.repeat_setting_score):dn.createElement("div",{className:"mt20"},it==null?void 0:it.repeat_minus_score," / ",it==null?void 0:it.repeat_setting_score)),console.log("sssssssssssssssssssssss",it==null?void 0:it.have_repeat,it==null?void 0:it.repeat_minus_score),(it==null?void 0:it.have_repeat)&&(it==null?void 0:it.repeat_minus_score)===0&&dn.createElement("li",null,dn.createElement("strong",null,"\u67E5\u91CD\u6263\u5206"),dn.createElement("div",{className:"mt20"}," - -")),!(it!=null&&it.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,it.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"},mA),"/",dn.createElement("span",{className:"c-light-black"},it.all_work_score))),dn.createElement("li",null,dn.createElement("strong",null,"\u603B\u8BC4"),dn.createElement("div",{className:"mt20"},dn.createElement("span",{className:"c-orange"},it.overall_appraisal))))),dn.createElement(a.Z,{style:{margin:0}}),(it.work_comment_hidden||it.work_comment)&&dn.createElement("div",null,dn.createElement(ee.Z,{align:"middle"},dn.createElement(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(Ee.ZP,{onClick:()=>ps(void 0,null,function*(){Ne.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:Sl.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Sl.formatMessage({id:"classrooms.prompt",defaultMessage:"\u63D0\u793A"}),icon:dn.createElement(Le.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return ps(this,null,function*(){(yield(0,dr.gZ)({comment_id:it.comment_id,homeworkId:xo.homeworkId})).status===0&&(fe.ZP.success(Sl.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),Pr({type:"shixunHomeworks/getShixunWorkReport",payload:Ys(Ys({},xo),vs.current||{})}))})}})})},dn.createElement(Pe.Z,null),"\u5220\u9664"))),dn.createElement(a.Z,{style:{margin:0}}),it.work_comment&&dn.createElement("aside",{className:"pl30 pr30 mt20"},dn.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),dn.createElement("br",null),dn.createElement(ir.Z,{value:it.work_comment})),it.work_comment_hidden&&dn.createElement("aside",{className:"pl30 pr30 mt20"},dn.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),dn.createElement("br",null),dn.createElement(ir.Z,{value:it.work_comment_hidden}))),(it==null?void 0:it.action_analysis)&&dn.createElement(Ol,{detailData:it}),dn.createElement("div",{className:Fa.score},dn.createElement("h1",{className:Fa.title},"\u9636\u6BB5\u6210\u7EE9"),(it==null?void 0:it.adjust_review_score_count)>0&&(0,Ge.GJ)()&&dn.createElement("div",{style:{color:"#0152d9",cursor:"pointer"},onClick:()=>{KA(!0),Ls({page:1,page_size:10},"all")}},"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55\uFF08",it==null?void 0:it.adjust_review_score_count,"\u6B21\uFF09")),dn.createElement("aside",{className:"pl30 pr30"},dn.createElement(te.default,{dataSource:it.stage_list,rowKey:Sr=>Sr==null?void 0:Sr.challenge_id,pagination:!1,columns:Wc})),((_i=it==null?void 0:it.target_test_sets)==null?void 0:_i.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:Sr=>Sr==null?void 0:Sr.challenge_id,pagination:!1,bordered:!0,columns:zA}))),(it==null?void 0:it.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(ir.Z,{value:it==null?void 0:it.work_description}))),dn.createElement("h1",{className:Fa.title},"\u56FE\u5F62\u7EDF\u8BA1"),dn.createElement(ko,{data:jn}),dn.createElement("h1",{className:Fa.title},"\u5B9E\u8BAD\u8BE6\u60C5")),dn.createElement(PA,{autoHeight:Co}))),(0,Ge.GJ)()&&dn.createElement("aside",{className:`${Fa.footerBar} ${Zr?Fa.footerBarStatic:""}`},dn.createElement("aside",{className:"edu-container"},dn.createElement(ee.Z,{align:"middle"},dn.createElement(E.Z,{flex:"1"},dn.createElement(He.Link,{className:Fa.exitComment,to:`/classrooms/${xo.coursesId}/shixun_homework/${xo.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),dn.createElement(E.Z,{flex:"1",className:"tr"},dn.createElement(Ee.ZP,{type:"default",disabled:!(it!=null&&it.pre_student_work_id),onClick:()=>nc()},"\u4E0A\u4E00\u4E2A"),dn.createElement(Ee.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(it!=null&&it.next_student_work_id),onClick:()=>nc("next")},"\u4E0B\u4E00\u4E2A"),(0,Ge.GJ)()&&dn.createElement(Ee.ZP,{type:"primary",onClick:()=>ps(void 0,null,function*(){Pr({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:it.user_id,data:Ys({},it)},fn:()=>Ls({page:1,page_size:10},"all")}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),dn.createElement(Al,null),dn.createElement(Cu.Z,null),dn.createElement(Ne.default,{open:ti,width:860,centered:!0,onCancel:()=>{Fi(!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:cs,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{vo(!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:hA,title:"\u6210\u7EE9\u8C03\u5206\u8BB0\u5F55",centered:!0,footer:null,onCancel:()=>{Ji("all"),KA(!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:Xi,placeholder:"\u8BF7\u9009\u62E9\u5173\u5361",defaultValue:"all",onChange:Sr=>ps(void 0,null,function*(){Ji(Sr),Ls({page:1,page_size:10},Sr)})},dn.createElement(ne.default.Option,{value:"all"}," \u5168\u90E8 "),(To=it==null?void 0:it.stage_list)==null?void 0:To.map((Sr,lo)=>dn.createElement(ne.default.Option,{key:lo,value:Sr==null?void 0:Sr.challenge_id},"\u7B2C",(0,We.EM)(lo+1),"\u5173")))),dn.createElement("div",{className:"mt20"},dn.createElement(te.default,{dataSource:kr,rowKey:Sr=>Sr==null?void 0:Sr.id,pagination:!1,columns:Sc,loading:vr})),dn.createElement("div",{className:Fa.footer},dn.createElement("div",null,dn.createElement("span",{style:{color:"#656F87"}},"\u5171",dn.createElement("span",{className:"c-light-primary"},ii),"\u6761\u6570\u636E")),dn.createElement(ae.Z,{defaultCurrent:1,defaultPageSize:10,current:(Nn==null?void 0:Nn.page)||1,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,total:ii,onChange:Yl})))))};var ju=(0,He.connect)(({shixunHomeworks:Zt,classroomList:kt,loading:In,globalSetting:yr,user:Gr})=>({shixunHomeworks:Zt,classroomList:kt,globalSetting:yr,loading:In.effects,user:Gr}))(ec);const Da=({globalSetting:Zt})=>{var kt;const In=(0,He.useIntl)();switch(Number((kt=Zt==null?void 0:Zt.setting)==null?void 0:kt.theme)){case le.Fy.THEMEONE:return Ce.createElement(Aa,null);case le.Fy.DEFAULT:default:return Ce.createElement(ju,null)}};var ua=(0,He.connect)(({globalSetting:Zt})=>({globalSetting:Zt}))(Da)},98434:function(Yt,Dt,Be){"use strict";var le=Be(43418),Ce=Be(8591),He=Be(57193),tt=Be(95392),ze=Be(81779),je=Be(59301),ve=(Ne,fe,De)=>new Promise((xe,Ee)=>{var ie=ee=>{try{a(De.next(ee))}catch(E){Ee(E)}},y=ee=>{try{a(De.throw(ee))}catch(E){Ee(E)}},a=ee=>ee.done?xe(ee.value):Promise.resolve(ee.value).then(ie,y);a((De=De.apply(Ne,fe)).next())});const we=({shixunHomeworks:Ne,classroomList:fe,dispatch:De})=>{const xe=(0,tt.useIntl)(),Ee=(0,tt.useParams)();return je.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 ie,y,a,ee;if((0,ze.Rm)()&&!((ie=fe.AssistantObject.practice)!=null&&ie.can_redo)){Ce.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const E=yield(0,He.ZP)(`/api/myshixuns/${Ne.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:Ee.coursesId,homework_common_id:Ne.actionTabs.homework_common_id}});if(E.shixun_identifier){Ce.ZP.success("\u64CD\u4F5C\u6210\u529F"),De({type:"shixunHomeworks/setActionTabs",payload:{}});const te=(a=(y=E==null?void 0:E.new_works)==null?void 0:y.find(ne=>`${ne.homework_common_id}`===Ee.categoryId))==null?void 0:a.id;if((0,ze.Rm)()&&!((ee=fe.AssistantObject.practice)!=null&&ee.can_view))return;tt.history.replace(`/classrooms/${Ee.coursesId}/shixun_homework/${Ee.categoryId}/${te}/comment`)}}),onCancel:()=>{De({type:"shixunHomeworks/setActionTabs",payload:{}})}},je.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),je.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Dt.Z=(0,tt.connect)(({shixunHomeworks:Ne,classroomList:fe})=>({shixunHomeworks:Ne,classroomList:fe}))(we)},13719:function(Yt,Dt,Be){"use strict";Be.d(Dt,{AD:function(){return Nt},BA:function(){return vn},D9:function(){return lt},Hp:function(){return Le},IM:function(){return Rt},Iy:function(){return Pe},KM:function(){return Xe},KU:function(){return Sn},MJ:function(){return Ue},Ne:function(){return at},ON:function(){return ln},Uj:function(){return Hn},VY:function(){return Ht},YO:function(){return yt},YX:function(){return zn},Zn:function(){return y},_g:function(){return ne},_k:function(){return dt},c6:function(){return vt},cr:function(){return a},eV:function(){return Qe},fi:function(){return ee},gh:function(){return nt},hS:function(){return Wt},iA:function(){return E},j6:function(){return ae},je:function(){return bt},jj:function(){return ge},kS:function(){return Tn},o6:function(){return Te},pO:function(){return Wn},rQ:function(){return At},sA:function(){return We},xm:function(){return Bt},xo:function(){return ht},y8:function(){return ot},yd:function(){return te}});var le=Be(94373),Ce=Be(95392),He=Be(63949),tt=Be(8591),ze=Be(78323),je=Object.defineProperty,ve=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,fe=(Fe,he,de)=>he in Fe?je(Fe,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):Fe[he]=de,De=(Fe,he)=>{for(var de in he||(he={}))we.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((Se,qe)=>{var gt=Pt=>{try{Ye(de.next(Pt))}catch(ft){qe(ft)}},_e=Pt=>{try{Ye(de.throw(Pt))}catch(ft){qe(ft)}},Ye=Pt=>Pt.done?Se(Pt.value):Promise.resolve(Pt.value).then(gt,_e);Ye((de=de.apply(Fe,he)).next())});const Ee=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},ie=()=>{(0,Ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},y=Fe=>xe(void 0,null,function*(){Ee(),(yield(0,le.YR)(De({},Fe))).status===0&&(yield(0,He.QH)("",(0,He.NY)({url:ze.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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_member_act_score`);else{if(he.status===-2)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_score`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/export_star_user`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(he.status===-2)return he;if(he.status===-3)(0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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)tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/course_total_homework`);else{if(he.status===-4)return he;he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${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?(tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.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?(tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.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?(tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.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?(tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`)):de.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/${he}`))}),Ge=Fe=>xe(void 0,null,function*(){Ee(),(yield exportCourseWorkListAppendix(De({},Fe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Fe.categoryId}/works_list.zip`,query:Fe}))),ie()}),We=Fe=>xe(void 0,null,function*(){Ee(),yield(0,He.QH)("",ze.Z.API_SERVER+`/api/polls/${Fe.categoryId}/commit_result.xlsx`),ie()}),nt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Fe}))}),Te=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/video_study_statics.xlsx`,query:Fe}))}),vt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_video_study.xlsx`,query:Fe}))}),Qe=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe.coursesId}/export_course_students_info.xlsx`,query:Fe}))}),Nt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Fe}))}),At=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Fe}))}),ot=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.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?(tt.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`)):he.status===-3&&((0,Ce.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ce.history.push(`/classrooms/${Fe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),dt=Fe=>xe(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/export_records/${Fe.id}.xlsx`,query:Fe}))}),Bt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Fe}))}),lt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.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}))}),at=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_training_objectives.xlsx`,query:Fe}))}),Rt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)(Fe==null?void 0:Fe.name,(0,He.NY)({url:ze.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Fe}))}),Wt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_courses.xlsx`,query:Fe}))}),ht=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/ec_years/${Fe==null?void 0:Fe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Fe}))}),Ht=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Fe}))}),Sn=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}/rank_list.xlsx`,query:Fe}))}),Tn=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Fe}))}),ln=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/examination_banks/${Fe.id}.json`,query:Fe}))}),zn=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe.categoryId}.json`,query:Fe}))}),yt=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/polls/${Fe==null?void 0:Fe.id}/commit_result.json`,query:Fe}))}),Hn=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Fe}))}),Wn=(Fe,he)=>xe(void 0,null,function*(){yield(0,He.FH)(he||"",(0,He.NY)({url:ze.Z.API_SERVER+`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/consult_exercise.json`,query:Fe}))}),Xe=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/competitions/${Fe==null?void 0:Fe.identifier}/competition_commit_records/member_works.xlsx`,query:Fe}))}),vn=Fe=>xe(void 0,null,function*(){yield(0,He.FH)("",(0,He.NY)({url:ze.Z.API_SERVER+`/api/courses/${Fe==null?void 0:Fe.coursesId}/group_homeworks/import_group_template.xlsx`,query:Fe}))})},90036:function(Yt,Dt,Be){"use strict";Be.d(Dt,{U:function(){return Ne}});var le=Be(59301),Ce=Object.defineProperty,He=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,je=(fe,De,xe)=>De in fe?Ce(fe,De,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[De]=xe,ve=(fe,De)=>{for(var xe in De||(De={}))tt.call(De,xe)&&je(fe,xe,De[xe]);if(He)for(var xe of He(De))ze.call(De,xe)&&je(fe,xe,De[xe]);return fe},we=(fe,De,xe)=>new Promise((Ee,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?Ee(E.value):Promise.resolve(E.value).then(y,a);ee((xe=xe.apply(fe,De)).next())});function Ne(fe,De){const[xe,Ee]=(0,le.useState)(De),[ie,y]=(0,le.useState)(!1),[a,ee]=(0,le.useState)();return[xe,ie,(te,ne=!1)=>we(this,null,function*(){const ae=ne?De:ve(ve({},xe),te);y(!0),Ee(ae);const ge=yield fe(ae);return y(!1),ee(ge),ge}),a]}},50371:function(Yt,Dt){"use strict";function Be(){const le=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ce=1;Ce{const ze=He[tt];ze!==void 0&&(le[tt]=ze)})}return le}Dt.Z=Be},13845:function(Yt,Dt,Be){"use strict";Be.d(Dt,{F:function(){return le},Z:function(){return Ce}});function le(He){return He!=null&&He===He.window}function Ce(He,tt){var ze,je;if(typeof window=="undefined")return 0;const ve=tt?"scrollTop":"scrollLeft";let we=0;return le(He)?we=He[tt?"pageYOffset":"pageXOffset"]:He instanceof Document?we=He.documentElement[ve]:(He instanceof HTMLElement||He)&&(we=He[ve]),He&&!le(He)&&typeof we!="number"&&(we=(je=((ze=He.ownerDocument)!==null&&ze!==void 0?ze:He).documentElement)===null||je===void 0?void 0:je[ve]),we}},56762:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Ce}});var le=Be(59301);function Ce(){const[,He]=le.useReducer(tt=>tt+1,0);return He}},68031:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return tt}});var le=Be(16089);function Ce(ze,je,ve,we){const Ne=ve-je;return ze/=we/2,ze<1?Ne/2*ze*ze*ze+je:Ne/2*((ze-=2)*ze*ze+2)+je}var He=Be(13845);function tt(ze){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:ve=()=>window,callback:we,duration:Ne=450}=je,fe=ve(),De=(0,He.Z)(fe,!0),xe=Date.now(),Ee=()=>{const y=Date.now()-xe,a=Ce(y>Ne?Ne:y,De,ze,Ne);(0,He.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}=At;const{getPrefixCls:bt}=ze.useContext(ve.E_),dt=bt("breadcrumb");return ze.createElement("li",{className:`${dt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};fe.__ANT_BREADCRUMB_SEPARATOR=!0;var De=fe,xe=function(At,ot){var bt={};for(var dt in At)Object.prototype.hasOwnProperty.call(At,dt)&&ot.indexOf(dt)<0&&(bt[dt]=At[dt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,dt=Object.getOwnPropertySymbols(At);Btot[Bt]||dt)}function ie(At,ot,bt,dt){if(bt==null)return null;const{className:Bt,onClick:lt}=ot,at=xe(ot,["className","onClick"]),Rt=Object.assign(Object.assign({},(0,tt.Z)(at,{data:!0,aria:!0})),{onClick:lt});return dt!==void 0?ze.createElement("a",Object.assign({},Rt,{className:Ce()(`${At}-link`,Bt),href:dt}),bt):ze.createElement("span",Object.assign({},Rt,{className:Ce()(`${At}-link`,Bt)}),bt)}function y(At,ot){return(dt,Bt,lt,at,Rt)=>{if(ot)return ot(dt,Bt,lt,at);const Wt=Ee(dt,Bt);return ie(At,dt,Wt,Rt)}}var a=function(At,ot){var bt={};for(var dt in At)Object.prototype.hasOwnProperty.call(At,dt)&&ot.indexOf(dt)<0&&(bt[dt]=At[dt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,dt=Object.getOwnPropertySymbols(At);Bt{const{prefixCls:ot,separator:bt="/",children:dt,menu:Bt,overlay:lt,dropdownProps:at,href:Rt}=At,ht=(Ht=>{if(Bt||lt){const Sn=Object.assign({},at);if(Bt){const Tn=Bt||{},{items:ln}=Tn,zn=a(Tn,["items"]);Sn.menu=Object.assign(Object.assign({},zn),{items:ln==null?void 0:ln.map((yt,Hn)=>{var{key:Wn,title:Xe,label:vn,path:Fe}=yt,he=a(yt,["key","title","label","path"]);let de=vn!=null?vn:Xe;return Fe&&(de=ze.createElement("a",{href:`${Rt}${Fe}`},de)),Object.assign(Object.assign({},he),{key:Wn!=null?Wn:Hn,label:de})})})}else lt&&(Sn.overlay=lt);return ze.createElement(Ne.Z,Object.assign({placement:"bottom"},Sn),ze.createElement("span",{className:`${ot}-overlay-link`},Ht,ze.createElement(we.Z,null)))}return Ht})(dt);return ht!=null?ze.createElement(ze.Fragment,null,ze.createElement("li",null,ht),bt&&ze.createElement(De,null,bt)):null},E=At=>{const{prefixCls:ot,children:bt,href:dt}=At,Bt=a(At,["prefixCls","children","href"]),{getPrefixCls:lt}=ze.useContext(ve.E_),at=lt("breadcrumb",ot);return ze.createElement(ee,Object.assign({},Bt,{prefixCls:at}),ie(at,Bt,bt,dt))};E.__ANT_BREADCRUMB_ITEM=!0;var te=E,ne=Be(17313),ae=Be(83116),ge=Be(37613);const Le=At=>{const{componentCls:ot,iconCls:bt}=At;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(At)),{color:At.itemColor,fontSize:At.fontSize,[bt]:{fontSize:At.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:At.linkColor,transition:`color ${At.motionDurationMid}`,padding:`0 ${At.paddingXXS}px`,borderRadius:At.borderRadiusSM,height:At.lineHeight*At.fontSize,display:"inline-block",marginInline:-At.marginXXS,"&:hover":{color:At.linkHoverColor,backgroundColor:At.colorBgTextHover}},(0,ne.Qy)(At)),"li:last-child":{color:At.lastItemColor},[`${ot}-separator`]:{marginInline:At.separatorMargin,color:At.separatorColor},[`${ot}-link`]:{[` > ${bt} + span, > ${bt} + a `]:{marginInlineStart:At.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:At.borderRadiusSM,height:At.lineHeight*At.fontSize,display:"inline-block",padding:`0 ${At.paddingXXS}px`,marginInline:-At.marginXXS,[`> ${bt}`]:{marginInlineStart:At.marginXXS,fontSize:At.fontSizeIcon},"&:hover":{color:At.linkHoverColor,backgroundColor:At.colorBgTextHover,a:{color:At.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${At.componentCls}-rtl`]:{direction:"rtl"}})}};var Pe=(0,ae.Z)("Breadcrumb",At=>{const ot=(0,ge.TS)(At,{});return[Le(ot)]},At=>({itemColor:At.colorTextDescription,lastItemColor:At.colorText,iconFontSize:At.fontSize,linkColor:At.colorTextDescription,linkHoverColor:At.colorText,separatorColor:At.colorTextDescription,separatorMargin:At.marginXS})),Ue=function(At,ot){var bt={};for(var dt in At)Object.prototype.hasOwnProperty.call(At,dt)&&ot.indexOf(dt)<0&&(bt[dt]=At[dt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,dt=Object.getOwnPropertySymbols(At);Bt{var{breadcrumbName:at}=lt,Rt=Ue(lt,["breadcrumbName"]);return Object.assign(Object.assign({},Rt),{title:at})})}),Bt}function We(At,ot){return(0,ze.useMemo)(()=>At||(ot?ot.map(Ge):null),[At,ot])}var nt=function(At,ot){var bt={};for(var dt in At)Object.prototype.hasOwnProperty.call(At,dt)&&ot.indexOf(dt)<0&&(bt[dt]=At[dt]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Bt=0,dt=Object.getOwnPropertySymbols(At);Bt{if(ot===void 0)return ot;let bt=(ot||"").replace(/^\//,"");return Object.keys(At).forEach(dt=>{bt=bt.replace(`:${dt}`,At[dt])}),bt},vt=At=>{const{prefixCls:ot,separator:bt="/",style:dt,className:Bt,rootClassName:lt,routes:at,items:Rt,children:Wt,itemRender:ht,params:Ht={}}=At,Sn=nt(At,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Tn,direction:ln,breadcrumb:zn}=ze.useContext(ve.E_);let yt;const Hn=Tn("breadcrumb",ot),[Wn,Xe]=Pe(Hn),vn=We(Rt,at),Fe=y(Hn,ht);if(vn&&vn.length>0){const Se=[],qe=Rt||at;yt=vn.map((gt,_e)=>{const{path:Ye,key:Pt,type:ft,menu:st,overlay:jt,onClick:Qn,className:Lt,separator:on,dropdownProps:Qt}=gt,Cn=Te(Ht,Ye);Cn!==void 0&&Se.push(Cn);const ut=Pt!=null?Pt:_e;if(ft==="separator")return ze.createElement(De,{key:ut},on);const Xt={},pn=_e===vn.length-1;st?Xt.menu=st:jt&&(Xt.overlay=jt);let{href:bn}=gt;return Se.length&&Cn!==void 0&&(bn=`#/${Se.join("/")}`),ze.createElement(ee,Object.assign({key:ut},Xt,(0,tt.Z)(gt,{data:!0,aria:!0}),{className:Lt,dropdownProps:Qt,href:bn,separator:pn?"":bt,onClick:Qn,prefixCls:Hn}),Fe(gt,Ht,qe,Se,bn))})}else if(Wt){const Se=(0,He.Z)(Wt).length;yt=(0,He.Z)(Wt).map((qe,gt)=>{if(!qe)return qe;const _e=gt===Se-1;return(0,je.Tm)(qe,{separator:_e?"":bt,key:gt})})}const he=Ce()(Hn,zn==null?void 0:zn.className,{[`${Hn}-rtl`]:ln==="rtl"},Bt,lt,Xe),de=Object.assign(Object.assign({},zn==null?void 0:zn.style),dt);return Wn(ze.createElement("nav",Object.assign({className:he,style:de},Sn),ze.createElement("ol",null,yt)))};vt.Item=te,vt.Separator=De;var Qe=vt,Nt=Qe},24905:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var le=Be(92310),Ce=Be.n(le),He=Be(5630),tt=Be(59301),ze=Be(36355),je=Be(1684),ve=Be(32441),Ne=tt.createContext(null),fe=Be(98447),De=Be(14088),xe=Be(4572),Ee=function(Ue,Ge){var We={};for(var nt in Ue)Object.prototype.hasOwnProperty.call(Ue,nt)&&Ge.indexOf(nt)<0&&(We[nt]=Ue[nt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,nt=Object.getOwnPropertySymbols(Ue);Te{var We;const{prefixCls:nt,className:Te,rootClassName:vt,children:Qe,indeterminate:Nt=!1,style:At,onMouseEnter:ot,onMouseLeave:bt,skipGroup:dt=!1,disabled:Bt}=Ue,lt=Ee(Ue,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:at,direction:Rt,checkbox:Wt}=tt.useContext(ze.E_),ht=tt.useContext(Ne),{isFormItemInput:Ht}=tt.useContext(ve.aM),Sn=tt.useContext(je.Z),Tn=(We=(ht==null?void 0:ht.disabled)||Bt)!==null&&We!==void 0?We:Sn,ln=tt.useRef(lt.value);tt.useEffect(()=>{ht==null||ht.registerValue(lt.value)},[]),tt.useEffect(()=>{if(!dt)return lt.value!==ln.current&&(ht==null||ht.cancelValue(ln.current),ht==null||ht.registerValue(lt.value),ln.current=lt.value),()=>ht==null?void 0:ht.cancelValue(lt.value)},[lt.value]);const zn=at("checkbox",nt),[yt,Hn]=(0,fe.ZP)(zn),Wn=Object.assign({},lt);ht&&!dt&&(Wn.onChange=function(){lt.onChange&<.onChange.apply(lt,arguments),ht.toggleOption&&ht.toggleOption({label:Qe,value:lt.value})},Wn.name=ht.name,Wn.checked=ht.value.includes(lt.value));const Xe=Ce()(`${zn}-wrapper`,{[`${zn}-rtl`]:Rt==="rtl",[`${zn}-wrapper-checked`]:Wn.checked,[`${zn}-wrapper-disabled`]:Tn,[`${zn}-wrapper-in-form-item`]:Ht},Wt==null?void 0:Wt.className,Te,vt,Hn),vn=Ce()({[`${zn}-indeterminate`]:Nt},xe.A,Hn),Fe=Nt?"mixed":void 0;return yt(tt.createElement(De.Z,{component:"Checkbox",disabled:Tn},tt.createElement("label",{className:Xe,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),At),onMouseEnter:ot,onMouseLeave:bt},tt.createElement(He.Z,Object.assign({"aria-checked":Fe},Wn,{prefixCls:zn,className:vn,disabled:Tn,ref:Ge})),Qe!==void 0&&tt.createElement("span",null,Qe))))};var a=tt.forwardRef(ie),ee=Be(94480),E=Be(2738),te=function(Ue,Ge){var We={};for(var nt in Ue)Object.prototype.hasOwnProperty.call(Ue,nt)&&Ge.indexOf(nt)<0&&(We[nt]=Ue[nt]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,nt=Object.getOwnPropertySymbols(Ue);Te{const{defaultValue:We,children:nt,options:Te=[],prefixCls:vt,className:Qe,rootClassName:Nt,style:At,onChange:ot}=Ue,bt=te(Ue,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:dt,direction:Bt}=tt.useContext(ze.E_),[lt,at]=tt.useState(bt.value||We||[]),[Rt,Wt]=tt.useState([]);tt.useEffect(()=>{"value"in bt&&at(bt.value||[])},[bt.value]);const ht=tt.useMemo(()=>Te.map(he=>typeof he=="string"||typeof he=="number"?{label:he,value:he}:he),[Te]),Ht=he=>{Wt(de=>de.filter(Se=>Se!==he))},Sn=he=>{Wt(de=>[].concat((0,ee.Z)(de),[he]))},Tn=he=>{const de=lt.indexOf(he.value),Se=(0,ee.Z)(lt);de===-1?Se.push(he.value):Se.splice(de,1),"value"in bt||at(Se),ot==null||ot(Se.filter(qe=>Rt.includes(qe)).sort((qe,gt)=>{const _e=ht.findIndex(Pt=>Pt.value===qe),Ye=ht.findIndex(Pt=>Pt.value===gt);return _e-Ye}))},ln=dt("checkbox",vt),zn=`${ln}-group`,[yt,Hn]=(0,fe.ZP)(ln),Wn=(0,E.Z)(bt,["value","disabled"]),Xe=Te.length?ht.map(he=>tt.createElement(a,{prefixCls:ln,key:he.value.toString(),disabled:"disabled"in he?he.disabled:bt.disabled,value:he.value,checked:lt.includes(he.value),onChange:he.onChange,className:`${zn}-item`,style:he.style,title:he.title},he.label)):nt,vn={toggleOption:Tn,value:lt,disabled:bt.disabled,name:bt.name,registerValue:Sn,cancelValue:Ht},Fe=Ce()(zn,{[`${zn}-rtl`]:Bt==="rtl"},Qe,Nt,Hn);return yt(tt.createElement("div",Object.assign({className:Fe,style:At},Wn,{ref:Ge}),tt.createElement(Ne.Provider,{value:vn},Xe)))},ae=tt.forwardRef(ne);var ge=tt.memo(ae);const Le=a;Le.Group=ge,Le.__ANT_CHECKBOX=!0;var Pe=Le},98447:function(Yt,Dt,Be){"use strict";Be.d(Dt,{C2:function(){return ze}});var le=Be(17313),Ce=Be(37613),He=Be(83116);const tt=je=>{const{checkboxCls:ve}=je,we=`${ve}-wrapper`;return[{[`${ve}-group`]:Object.assign(Object.assign({},(0,le.Wf)(je)),{display:"inline-flex",flexWrap:"wrap",columnGap:je.marginXS,[`> ${je.antCls}-row`]:{flex:1}}),[we]:Object.assign(Object.assign({},(0,le.Wf)(je)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${we}`]:{marginInlineStart:0},[`&${we}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ve]:Object.assign(Object.assign({},(0,le.Wf)(je)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:je.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)(je))},[`${ve}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:je.checkboxSize,height:je.checkboxSize,direction:"ltr",backgroundColor:je.colorBgContainer,border:`${je.lineWidth}px ${je.lineType} ${je.colorBorder}`,borderRadius:je.borderRadiusSM,borderCollapse:"separate",transition:`all ${je.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:je.checkboxSize/14*5,height:je.checkboxSize/14*8,border:`${je.lineWidthBold}px solid ${je.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${je.motionDurationFast} ${je.motionEaseInBack}, opacity ${je.motionDurationFast}`}},"& + span":{paddingInlineStart:je.paddingXS,paddingInlineEnd:je.paddingXS}})},{[` ${we}:not(${we}-disabled), ${ve}:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{borderColor:je.colorPrimary}},[`${we}:not(${we}-disabled)`]:{[`&:hover ${ve}-checked:not(${ve}-disabled) ${ve}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ve}-checked:not(${ve}-disabled):after`]:{borderColor:je.colorPrimaryHover}}},{[`${ve}-checked`]:{[`${ve}-inner`]:{backgroundColor:je.colorPrimary,borderColor:je.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${je.motionDurationMid} ${je.motionEaseOutBack} ${je.motionDurationFast}`}}},[` ${we}-checked:not(${we}-disabled), ${ve}-checked:not(${ve}-disabled) `]:{[`&:hover ${ve}-inner`]:{backgroundColor:je.colorPrimaryHover,borderColor:"transparent"}}},{[ve]:{"&-indeterminate":{[`${ve}-inner`]:{backgroundColor:je.colorBgContainer,borderColor:je.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:je.fontSizeLG/2,height:je.fontSizeLG/2,backgroundColor:je.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${we}-disabled`]:{cursor:"not-allowed"},[`${ve}-disabled`]:{[`&, ${ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ve}-inner`]:{background:je.colorBgContainerDisabled,borderColor:je.colorBorder,"&:after":{borderColor:je.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:je.colorTextDisabled},[`&${ve}-indeterminate ${ve}-inner::after`]:{background:je.colorTextDisabled}}}]};function ze(je,ve){const we=(0,Ce.TS)(ve,{checkboxCls:`.${je}`,checkboxSize:ve.controlInteractiveSize});return[tt(we)]}Dt.ZP=(0,He.Z)("Checkbox",(je,ve)=>{let{prefixCls:we}=ve;return[ze(we,je)]})},28103:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return xe}});var le=Be(92310),Ce=Be.n(le),He=Be(59301),tt=Be(36355),ze=Be(17313),je=Be(83116),ve=Be(37613);const we=Ee=>{const{componentCls:ie,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:ee,textPaddingInline:E,orientationMargin:te,verticalMarginInline:ne}=Ee;return{[ie]:Object.assign(Object.assign({},(0,ze.Wf)(Ee)),{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:`${Ee.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ie}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ee.dividerHorizontalWithTextGutterMargin}px 0`,color:Ee.colorTextHeading,fontWeight:500,fontSize:Ee.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:Ee.colorText,fontWeight:"normal",fontSize:Ee.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,je.Z)("Divider",Ee=>{const ie=(0,ve.TS)(Ee,{dividerHorizontalWithTextGutterMargin:Ee.margin,dividerHorizontalGutterMargin:Ee.marginLG,sizePaddingEdgeHorizontal:0});return[we(ie)]},Ee=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ee.marginXS})),fe=function(Ee,ie){var y={};for(var a in Ee)Object.prototype.hasOwnProperty.call(Ee,a)&&ie.indexOf(a)<0&&(y[a]=Ee[a]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,a=Object.getOwnPropertySymbols(Ee);ee{const{getPrefixCls:ie,direction:y,divider:a}=He.useContext(tt.E_),{prefixCls:ee,type:E="horizontal",orientation:te="center",orientationMargin:ne,className:ae,rootClassName:ge,children:Le,dashed:Pe,plain:Ue,style:Ge}=Ee,We=fe(Ee,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),nt=ie("divider",ee),[Te,vt]=Ne(nt),Qe=te.length>0?`-${te}`:te,Nt=!!Le,At=te==="left"&&ne!=null,ot=te==="right"&&ne!=null,bt=Ce()(nt,a==null?void 0:a.className,vt,`${nt}-${E}`,{[`${nt}-with-text`]:Nt,[`${nt}-with-text${Qe}`]:Nt,[`${nt}-dashed`]:!!Pe,[`${nt}-plain`]:!!Ue,[`${nt}-rtl`]:y==="rtl",[`${nt}-no-default-orientation-margin-left`]:At,[`${nt}-no-default-orientation-margin-right`]:ot},ae,ge),dt=He.useMemo(()=>typeof ne=="number"?ne:/^\d+$/.test(ne)?Number(ne):ne,[ne]),Bt=Object.assign(Object.assign({},At&&{marginLeft:dt}),ot&&{marginRight:dt});return Te(He.createElement("div",Object.assign({className:bt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Ge)},We,{role:"separator"}),Le&&E!=="vertical"&&He.createElement("span",{className:`${nt}-inner-text`,style:Bt},Le)))}},91857:function(Yt,Dt,Be){"use strict";var le=Be(59301),Ce=Be(38819),He=Be(92310),tt=Be.n(He),ze=Be(31561),je=Be(70425),ve=Be(18929),we=Be(2738),Ne=Be(79676),fe=Be(53487),De=Be(92343),xe=Be(36355),Ee=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:We,disabled:nt,dropdownRender:Te,getPopupContainer:vt,overlayClassName:Qe,rootClassName:Nt,open:At,onOpenChange:ot,visible:bt,onVisibleChange:dt,mouseEnterDelay:Bt=.15,mouseLeaveDelay:lt=.1,autoAdjustOverflow:at=!0,placement:Rt="",overlay:Wt,transitionName:ht}=ge,{getPopupContainer:Ht,getPrefixCls:Sn,direction:Tn}=le.useContext(xe.E_),ln=le.useMemo(()=>{const st=Sn();return ht!==void 0?ht:Rt.includes("top")?`${st}-slide-down`:`${st}-slide-up`},[Sn,Rt,ht]),zn=le.useMemo(()=>Rt?Rt.includes("Center")?Rt.slice(0,Rt.indexOf("Center")):Rt:Tn==="rtl"?"bottomRight":"bottomLeft",[Rt,Tn]),yt=Sn("dropdown",Ue),[Hn,Wn]=(0,a.Z)(yt),[,Xe]=(0,y.Z)(),vn=le.Children.only(Ge),Fe=(0,De.Tm)(vn,{className:tt()(`${yt}-trigger`,{[`${yt}-rtl`]:Tn==="rtl"},vn.props.className),disabled:nt}),he=nt?[]:We;let de;he&&he.includes("contextMenu")&&(de=!0);const[Se,qe]=(0,ve.Z)(!1,{value:At!=null?At:bt}),gt=(0,je.useEvent)(st=>{ot==null||ot(st),dt==null||dt(st),qe(st)}),_e=tt()(Qe,Nt,Wn,{[`${yt}-rtl`]:Tn==="rtl"}),Ye=(0,Ne.Z)({arrowPointAtCenter:typeof Pe=="object"&&Pe.pointAtCenter,autoAdjustOverflow:at,offset:Xe.marginXXS,arrowWidth:Pe?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius}),Pt=le.useCallback(()=>{qe(!1)},[]),ft=()=>{let st;return Le!=null&&Le.items?st=le.createElement(Ee.default,Object.assign({},Le)):typeof Wt=="function"?st=Wt():st=Wt,Te&&(st=Te(st)),st=le.Children.only(typeof st=="string"?le.createElement("span",null,st):st),le.createElement(ie.J,{prefixCls:`${yt}-menu`,expandIcon:le.createElement("span",{className:`${yt}-menu-submenu-arrow`},le.createElement(Ce.Z,{className:`${yt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:jt=>{let{mode:Qn}=jt}},st)};return Hn(le.createElement(ze.Z,Object.assign({alignPoint:de},(0,we.Z)(ge,["rootClassName"]),{mouseEnterDelay:Bt,mouseLeaveDelay:lt,visible:Se,builtinPlacements:Ye,arrow:!!Pe,overlayClassName:_e,prefixCls:yt,getPopupContainer:vt||Ht,transitionName:ln,trigger:he,overlay:ft,placement:zn,onVisibleChange:gt}),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,Dt.Z=E},38854:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return y}});var le=Be(91857),Ce=Be(92310),He=Be.n(Ce),tt=Be(59301),ze=Be(18785),je=Be(3113),ve=Be(36355),we=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}=tt.useContext(ve.E_),{prefixCls:ne,type:ae="default",danger:ge,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,children:We,className:nt,menu:Te,arrow:vt,autoFocus:Qe,overlay:Nt,trigger:At,align:ot,open:bt,onOpenChange:dt,placement:Bt,getPopupContainer:lt,href:at,icon:Rt=tt.createElement(ze.Z,null),title:Wt,buttonsRender:ht=ft=>ft,mouseEnterDelay:Ht,mouseLeaveDelay:Sn,overlayClassName:Tn,overlayStyle:ln,destroyPopupOnHide:zn,dropdownRender:yt}=a,Hn=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"]),Wn=E("dropdown",ne),Xe=`${Wn}-button`,[vn,Fe]=(0,fe.Z)(Wn),he={menu:Te,arrow:vt,autoFocus:Qe,align:ot,disabled:Le,trigger:Le?[]:At,onOpenChange:dt,getPopupContainer:lt||ee,mouseEnterDelay:Ht,mouseLeaveDelay:Sn,overlayClassName:Tn,overlayStyle:ln,destroyPopupOnHide:zn,dropdownRender:yt},{compactSize:de,compactItemClassnames:Se}=(0,Ne.ri)(Wn,te),qe=He()(Xe,Se,nt,Fe);"overlay"in a&&(he.overlay=Nt),"open"in a&&(he.open=bt),"placement"in a?he.placement=Bt:he.placement=te==="rtl"?"bottomLeft":"bottomRight";const gt=tt.createElement(je.ZP,{type:ae,danger:ge,disabled:Le,loading:Pe,onClick:Ue,htmlType:Ge,href:at,title:Wt},We),_e=tt.createElement(je.ZP,{type:ae,danger:ge,icon:Rt}),[Ye,Pt]=ht([gt,_e]);return vn(tt.createElement(we.Z.Compact,Object.assign({className:qe,size:de,block:!0},Hn),Ye,tt.createElement(le.Z,Object.assign({},he),Pt)))};xe.__ANT_BUTTON=!0;var Ee=xe;const ie=le.Z;ie.Button=Ee;var y=ie},47211:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return De}});var le=Be(17313),Ce=Be(13826),He=Be(92899),tt=Be(29878),ze=Be(19447),je=Be(83116),ve=Be(37613),Ne=xe=>{const{componentCls:Ee,menuCls:ie,colorError:y,colorTextLightSolid:a}=xe,ee=`${ie}-item`;return{[`${Ee}, ${Ee}-menu-submenu`]:{[`${ie} ${ee}`]:{[`&${ee}-danger:not(${ee}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const fe=xe=>{const{componentCls:Ee,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:We}=xe;return[{[Ee]: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}},[`${Ee}-wrap`]:{position:"relative",[`${E}-btn > ${te}-down`]:{fontSize:Ue},[`${te}-down::before`]:{transition:`transform ${ne}`}},[`${Ee}-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${Ee}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Ee}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Ee}-placement-bottomRight`]:{animationName:Ce.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Ee}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Ee}-placement-topRight`]:{animationName:Ce.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Ee}-placement-bottomRight`]:{animationName:Ce.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Ee}-placement-topRight`]:{animationName:Ce.ly}})},(0,ze.ZP)(xe,{colorBg:We,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ee} ${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}},[`${Ee}, ${Ee}-menu-submenu`]:{[ie]:Object.assign(Object.assign({padding:Le,listStyleType:"none",backgroundColor:We,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:We,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${xe.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:xe.colorSplit},[`${Ee}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:xe.paddingXS,[`${Ee}-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 ${Ee}-menu-submenu-title`]:{[`&, ${Ee}-menu-submenu-arrow-icon`]:{color:Pe,backgroundColor:We,cursor:"not-allowed"}},[`${ie}-submenu-selected ${Ee}-menu-submenu-title`]:{color:xe.colorPrimary}})}},[(0,Ce.oN)(xe,"slide-up"),(0,Ce.oN)(xe,"slide-down"),(0,He.Fm)(xe,"move-up"),(0,He.Fm)(xe,"move-down"),(0,tt._y)(xe,"zoom-big")]]};var De=(0,je.Z)("Dropdown",(xe,Ee)=>{let{rootPrefixCls:ie}=Ee;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,ze.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(Yt,Dt,Be){"use strict";var le=Be(59301),Ce=Be(34280),He=Be(56762),tt=Be(69507);function ze(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const ve=(0,le.useRef)({}),we=(0,He.Z)(),Ne=(0,tt.ZP)();return(0,Ce.Z)(()=>{const fe=Ne.subscribe(De=>{ve.current=De,je&&we()});return()=>Ne.unsubscribe(fe)},[]),ve.current}Dt.Z=ze},45818:function(Yt,Dt,Be){"use strict";Be.d(Dt,{D:function(){return ne},Z:function(){return Le}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(Ue,Ge){return Ce.createElement(ze.Z,(0,le.Z)({},Ue,{ref:Ge,icon:tt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(33853),fe=Be(38819),De=Be(92310),xe=Be.n(De),Ee=Be(2738),y=Pe=>!isNaN(parseFloat(Pe))&&isFinite(Pe),a=Be(36355),ee=Be(84966),E=function(Pe,Ue){var Ge={};for(var We in Pe)Object.prototype.hasOwnProperty.call(Pe,We)&&Ue.indexOf(We)<0&&(Ge[We]=Pe[We]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,We=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=Ce.forwardRef((Pe,Ue)=>{const{prefixCls:Ge,className:We,trigger:nt,children:Te,defaultCollapsed:vt=!1,theme:Qe="dark",style:Nt={},collapsible:At=!1,reverseArrow:ot=!1,width:bt=200,collapsedWidth:dt=80,zeroWidthTriggerStyle:Bt,breakpoint:lt,onCollapse:at,onBreakpoint:Rt}=Pe,Wt=E(Pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ht}=(0,Ce.useContext)(ee.Gs),[Ht,Sn]=(0,Ce.useState)("collapsed"in Pe?Pe.collapsed:vt),[Tn,ln]=(0,Ce.useState)(!1);(0,Ce.useEffect)(()=>{"collapsed"in Pe&&Sn(Pe.collapsed)},[Pe.collapsed]);const zn=(Fe,he)=>{"collapsed"in Pe||Sn(Fe),at==null||at(Fe,he)},yt=(0,Ce.useRef)();yt.current=Fe=>{ln(Fe.matches),Rt==null||Rt(Fe.matches),Ht!==Fe.matches&&zn(Fe.matches,"responsive")},(0,Ce.useEffect)(()=>{function Fe(de){return yt.current(de)}let he;if(typeof window!="undefined"){const{matchMedia:de}=window;if(de&<&< in te){he=de(`(max-width: ${te[lt]})`);try{he.addEventListener("change",Fe)}catch(Se){he.addListener(Fe)}Fe(he)}}return()=>{try{he==null||he.removeEventListener("change",Fe)}catch(de){he==null||he.removeListener(Fe)}}},[lt]),(0,Ce.useEffect)(()=>{const Fe=ae("ant-sider-");return ht.addSider(Fe),()=>ht.removeSider(Fe)},[]);const Hn=()=>{zn(!Ht,"clickTrigger")},{getPrefixCls:Wn}=(0,Ce.useContext)(a.E_),Xe=()=>{const Fe=Wn("layout-sider",Ge),he=(0,Ee.Z)(Wt,["collapsed"]),de=Ht?dt:bt,Se=y(de)?`${de}px`:String(de),qe=parseFloat(String(dt||0))===0?Ce.createElement("span",{onClick:Hn,className:xe()(`${Fe}-zero-width-trigger`,`${Fe}-zero-width-trigger-${ot?"right":"left"}`),style:Bt},nt||Ce.createElement(we,null)):null,Ye={expanded:ot?Ce.createElement(fe.Z,null):Ce.createElement(Ne.Z,null),collapsed:ot?Ce.createElement(Ne.Z,null):Ce.createElement(fe.Z,null)}[Ht?"collapsed":"expanded"],Pt=nt!==null?qe||Ce.createElement("div",{className:`${Fe}-trigger`,onClick:Hn,style:{width:Se}},nt||Ye):null,ft=Object.assign(Object.assign({},Nt),{flex:`0 0 ${Se}`,maxWidth:Se,minWidth:Se,width:Se}),st=xe()(Fe,`${Fe}-${Qe}`,{[`${Fe}-collapsed`]:!!Ht,[`${Fe}-has-trigger`]:At&&nt!==null&&!qe,[`${Fe}-below`]:!!Tn,[`${Fe}-zero-width`]:parseFloat(Se)===0},We);return Ce.createElement("aside",Object.assign({className:st},he,{style:ft,ref:Ue}),Ce.createElement("div",{className:`${Fe}-children`},Te),At||Tn&&qe?Pt:null)},vn=Ce.useMemo(()=>({siderCollapsed:Ht}),[Ht]);return Ce.createElement(ne.Provider,{value:vn},Xe())})},84966:function(Yt,Dt,Be){"use strict";Be.d(Dt,{VY:function(){return ne},$_:function(){return te},h4:function(){return E},Gs:function(){return Ee},ZP:function(){return ae}});var le=Be(94480),Ce=Be(92310),He=Be.n(Ce),tt=Be(2738),ze=Be(59301),je=Be(36355),ve=Be(83116),Ne=ge=>{const{componentCls:Le,bodyBg:Pe,lightSiderBg:Ue,lightTriggerBg:Ge,lightTriggerColor:We}=ge;return{[`${Le}-sider-light`]:{background:Ue,[`${Le}-sider-trigger`]:{color:We,background:Ge},[`${Le}-sider-zero-width-trigger`]:{color:We,background:Ge,border:`1px solid ${Pe}`,borderInlineStart:0}}}};const fe=ge=>{const{antCls:Le,componentCls:Pe,colorText:Ue,triggerColor:Ge,footerBg:We,triggerBg:nt,headerHeight:Te,headerPadding:vt,headerColor:Qe,footerPadding:Nt,triggerHeight:At,zeroTriggerHeight:ot,zeroTriggerWidth:bt,motionDurationMid:dt,motionDurationSlow:Bt,fontSize:lt,borderRadius:at,bodyBg:Rt,headerBg:Wt,siderBg:ht}=ge;return{[Pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Rt,"&, *":{boxSizing:"border-box"},[`&${Pe}-has-sider`]:{flexDirection:"row",[`> ${Pe}, > ${Pe}-content`]:{width:0}},[`${Pe}-header, &${Pe}-footer`]:{flex:"0 0 auto"},[`${Pe}-sider`]:{position:"relative",minWidth:0,background:ht,transition:`all ${dt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Le}-menu${Le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:At},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:At,color:Ge,lineHeight:`${At}px`,textAlign:"center",background:nt,cursor:"pointer",transition:`all ${dt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Te,insetInlineEnd:-bt,zIndex:1,width:bt,height:ot,color:Ge,fontSize:ge.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ht,borderStartStartRadius:0,borderStartEndRadius:at,borderEndEndRadius:at,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Bt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Bt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-bt,borderStartStartRadius:at,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:at}}}}},Ne(ge)),{"&-rtl":{direction:"rtl"}}),[`${Pe}-header`]:{height:Te,padding:vt,color:Qe,lineHeight:`${Te}px`,background:Wt,[`${Le}-menu`]:{lineHeight:"inherit"}},[`${Pe}-footer`]:{padding:Nt,color:Ue,fontSize:lt,background:We},[`${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:We,marginXXS:nt,colorTextLightSolid:Te,colorBgContainer:vt}=ge,Qe=Ue*1.25;return{colorBgHeader:"#001529",colorBgBody:Le,colorBgTrigger:"#002140",bodyBg:Le,headerBg:"#001529",headerHeight:Pe*2,headerPadding:`0 ${Qe}px`,headerColor:Ge,footerPadding:`${We}px ${Qe}px`,footerBg:Le,siderBg:"#001529",triggerHeight:Ue+nt*2,triggerBg:"#002140",triggerColor:Te,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=>ze.forwardRef((nt,Te)=>ze.createElement(Ge,Object.assign({ref:Te,suffixCls:Le,tagName:Pe},nt)))}const y=ze.forwardRef((ge,Le)=>{const{prefixCls:Pe,suffixCls:Ue,className:Ge,tagName:We}=ge,nt=xe(ge,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Te}=ze.useContext(je.E_),vt=Te("layout",Pe),[Qe,Nt]=De(vt),At=Ue?`${vt}-${Ue}`:vt;return Qe(ze.createElement(We,Object.assign({className:He()(Pe||At,Ge,Nt),ref:Le},nt)))}),a=ze.forwardRef((ge,Le)=>{const{direction:Pe}=ze.useContext(je.E_),[Ue,Ge]=ze.useState([]),{prefixCls:We,className:nt,rootClassName:Te,children:vt,hasSider:Qe,tagName:Nt,style:At}=ge,ot=xe(ge,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),bt=(0,tt.Z)(ot,["suffixCls"]),{getPrefixCls:dt,layout:Bt}=ze.useContext(je.E_),lt=dt("layout",We),[at,Rt]=De(lt),Wt=He()(lt,{[`${lt}-has-sider`]:typeof Qe=="boolean"?Qe:Ue.length>0,[`${lt}-rtl`]:Pe==="rtl"},Bt==null?void 0:Bt.className,nt,Te,Rt),ht=ze.useMemo(()=>({siderHook:{addSider:Ht=>{Ge(Sn=>[].concat((0,le.Z)(Sn),[Ht]))},removeSider:Ht=>{Ge(Sn=>Sn.filter(Tn=>Tn!==Ht))}}}),[]);return at(ze.createElement(Ee.Provider,{value:ht},ze.createElement(Nt,Object.assign({ref:Le,className:Wt,style:Object.assign(Object.assign({},Bt==null?void 0:Bt.style),At)},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(Yt,Dt,Be){"use strict";Be.d(Dt,{J:function(){return je}});var le=Be(59301),Ce=Be(33234),He=Be(70425),tt=function(ve,we){var Ne={};for(var fe in ve)Object.prototype.hasOwnProperty.call(ve,fe)&&we.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=tt(ve,["children"]),De=le.useContext(ze),xe=le.useMemo(()=>Object.assign(Object.assign({},De),fe),[De,fe.prefixCls,fe.mode,fe.selectable]);return le.createElement(ze.Provider,{value:xe},le.createElement(Ce.BR,null,(0,He.supportNodeRef)(Ne)?le.cloneElement(Ne,{ref:we}):Ne))});Dt.Z=ze},20834:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return vn}});var le=Be(15285),Ce=Be(59301),He=Be(45818),tt=Be(92310),ze=Be.n(tt),je=Be(36355),ve=function(Fe,he){var de={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&he.indexOf(Se)<0&&(de[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{const{prefixCls:he,className:de,dashed:Se}=Fe,qe=ve(Fe,["prefixCls","className","dashed"]),{getPrefixCls:gt}=Ce.useContext(je.E_),_e=gt("menu",he),Ye=ze()({[`${_e}-item-divider-dashed`]:!!Se},de);return Ce.createElement(le.iz,Object.assign({className:Ye},qe))},fe=Be(11592),De=Be(2738),xe=Be(6848),Ee=Be(92343),y=(0,Ce.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ee=Fe=>{var he;const{className:de,children:Se,icon:qe,title:gt,danger:_e}=Fe,{prefixCls:Ye,firstLevel:Pt,direction:ft,disableMenuItemTitleTooltip:st,inlineCollapsed:jt}=Ce.useContext(y),Qn=Xt=>{const pn=Ce.createElement("span",{className:`${Ye}-title-content`},Se);return(!qe||(0,Ee.l$)(Se)&&Se.type==="span")&&Se&&Xt&&Pt&&typeof Se=="string"?Ce.createElement("div",{className:`${Ye}-inline-collapsed-noicon`},Se.charAt(0)):pn},{siderCollapsed:Lt}=Ce.useContext(He.D);let on=gt;typeof gt=="undefined"?on=Pt?Se:"":gt===!1&&(on="");const Qt={title:on};!Lt&&!jt&&(Qt.title=null,Qt.open=!1);const Cn=(0,fe.Z)(Se).length;let ut=Ce.createElement(le.ck,Object.assign({},(0,De.Z)(Fe,["title","icon","danger"]),{className:ze()({[`${Ye}-item-danger`]:_e,[`${Ye}-item-only-child`]:(qe?Cn+1:Cn)===1},de),title:typeof gt=="string"?gt:void 0}),(0,Ee.Tm)(qe,{className:ze()((0,Ee.l$)(qe)?(he=qe.props)===null||he===void 0?void 0:he.className:"",`${Ye}-item-icon`)}),Qn(jt));return st||(ut=Ce.createElement(xe.Z,Object.assign({},Qt,{placement:ft==="rtl"?"left":"right",overlayClassName:`${Ye}-inline-collapsed-tooltip`}),ut)),ut},te=Fe=>{var he;const{popupClassName:de,icon:Se,title:qe,theme:gt}=Fe,_e=Ce.useContext(y),{prefixCls:Ye,inlineCollapsed:Pt,theme:ft}=_e,st=(0,le.Xl)();let jt;if(!Se)jt=Pt&&!st.length&&qe&&typeof qe=="string"?Ce.createElement("div",{className:`${Ye}-inline-collapsed-noicon`},qe.charAt(0)):Ce.createElement("span",{className:`${Ye}-title-content`},qe);else{const Lt=(0,Ee.l$)(qe)&&qe.type==="span";jt=Ce.createElement(Ce.Fragment,null,(0,Ee.Tm)(Se,{className:ze()((0,Ee.l$)(Se)?(he=Se.props)===null||he===void 0?void 0:he.className:"",`${Ye}-item-icon`)}),Lt?qe:Ce.createElement("span",{className:`${Ye}-title-content`},qe))}const Qn=Ce.useMemo(()=>Object.assign(Object.assign({},_e),{firstLevel:!1}),[_e]);return Ce.createElement(y.Provider,{value:Qn},Ce.createElement(le.Wd,Object.assign({},(0,De.Z)(Fe,["icon"]),{title:jt,popupClassName:ze()(Ye,de,`${Ye}-${gt||ft}`)})))},ne=Be(18785),ae=Be(70425),ge=Be(62892),Le=Be(40875),Pe=function(Fe,he){var de={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&he.indexOf(Se)<0&&(de[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{if(he&&typeof he=="object"){const Se=he,{label:qe,children:gt,key:_e,type:Ye}=Se,Pt=Pe(Se,["label","children","key","type"]),ft=_e!=null?_e:`tmp-${de}`;return gt||Ye==="group"?Ye==="group"?Ce.createElement(le.BW,Object.assign({key:ft},Pt,{title:qe}),Ue(gt)):Ce.createElement(te,Object.assign({key:ft},Pt,{title:qe}),Ue(gt)):Ye==="divider"?Ce.createElement(Ne,Object.assign({key:ft},Pt)):Ce.createElement(ee,Object.assign({key:ft},Pt),qe)}return null}).filter(he=>he)}function Ge(Fe){return Ce.useMemo(()=>Fe&&Ue(Fe),[Fe])}var We=Be(64993),nt=Be(17313),Te=Be(8378),vt=Be(13826),Qe=Be(29878),Nt=Be(83116),At=Be(37613),bt=Fe=>{const{componentCls:he,motionDurationSlow:de,horizontalLineHeight:Se,colorSplit:qe,lineWidth:gt,lineType:_e,itemPaddingInline:Ye}=Fe;return{[`${he}-horizontal`]:{lineHeight:Se,border:0,borderBottom:`${gt}px ${_e} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${he}-item, ${he}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ye},[`> ${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"}}}},Bt=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 lt=Fe=>Object.assign({},(0,nt.oN)(Fe));var Rt=(Fe,he)=>{const{componentCls:de,itemColor:Se,itemSelectedColor:qe,groupTitleColor:gt,itemBg:_e,subMenuItemBg:Ye,itemSelectedBg:Pt,activeBarHeight:ft,activeBarWidth:st,activeBarBorderWidth:jt,motionDurationSlow:Qn,motionEaseInOut:Lt,motionEaseOut:on,itemPaddingInline:Qt,motionDurationMid:Cn,itemHoverColor:ut,lineType:Xt,colorSplit:pn,itemDisabledColor:bn,dangerItemColor:Jn,dangerItemHoverColor:Ar,dangerItemSelectedColor:Fr,dangerItemActiveBg:Er,dangerItemSelectedBg:cr,itemHoverBg:ir,itemActiveBg:dr,menuSubMenuBg:Rr,horizontalItemSelectedColor:Kr,horizontalItemSelectedBg:xa,horizontalItemBorderRadius:lr,horizontalItemHoverBg:ao,popupBg:no}=Fe;return{[`${de}-${he}, ${de}-${he} > ${de}`]:{color:Se,background:_e,[`&${de}-root:focus-visible`]:Object.assign({},lt(Fe)),[`${de}-item-group-title`]:{color:gt},[`${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:ut}},[`&:not(${de}-horizontal)`]:{[`${de}-item:not(${de}-item-selected)`]:{"&:hover":{backgroundColor:ir},"&:active":{backgroundColor:dr}},[`${de}-submenu-title`]:{"&:hover":{backgroundColor:ir},"&:active":{backgroundColor:dr}}},[`${de}-item-danger`]:{color:Jn,[`&${de}-item:hover`]:{[`&:not(${de}-item-selected):not(${de}-submenu-selected)`]:{color:Ar}},[`&${de}-item:active`]:{background:Er}},[`${de}-item a`]:{"&, &:hover":{color:"inherit"}},[`${de}-item-selected`]:{color:qe,[`&${de}-item-danger`]:{color:Fr},"a, a:hover":{color:"inherit"}},[`& ${de}-item-selected`]:{backgroundColor:Pt,[`&${de}-item-danger`]:{backgroundColor:cr}},[`${de}-item, ${de}-submenu-title`]:{[`&:not(${de}-item-disabled):focus-visible`]:Object.assign({},lt(Fe))},[`&${de}-submenu > ${de}`]:{backgroundColor:Rr},[`&${de}-popup > ${de}`]:{backgroundColor:no},[`&${de}-horizontal`]:Object.assign(Object.assign({},he==="dark"?{borderBottom:0}:{}),{[`> ${de}-item, > ${de}-submenu`]:{top:jt,marginTop:-jt,marginBottom:0,borderRadius:lr,"&::after":{position:"absolute",insetInline:Qt,bottom:0,borderBottom:`${ft}px solid transparent`,transition:`border-color ${Qn} ${Lt}`,content:'""'},"&:hover, &-active, &-open":{background:ao,"&::after":{borderBottomWidth:ft,borderBottomColor:Kr}},"&-selected":{color:Kr,backgroundColor:xa,"&:hover":{backgroundColor:xa},"&::after":{borderBottomWidth:ft,borderBottomColor:Kr}}}}),[`&${de}-root`]:{[`&${de}-inline, &${de}-vertical`]:{borderInlineEnd:`${jt}px ${Xt} ${pn}`}},[`&${de}-inline`]:{[`${de}-sub${de}-inline`]:{background:Ye},[`${de}-item, ${de}-submenu-title`]:jt&&st?{width:`calc(100% + ${jt}px)`}:{},[`${de}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${st}px solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cn} ${on}`,`opacity ${Cn} ${on}`].join(","),content:'""'},[`&${de}-item-danger`]:{"&::after":{borderInlineEndColor:Fr}}},[`${de}-selected, ${de}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cn} ${Lt}`,`opacity ${Cn} ${Lt}`].join(",")}}}}}};const Wt=Fe=>{const{componentCls:he,itemHeight:de,itemMarginInline:Se,padding:qe,menuArrowSize:gt,marginXS:_e,itemMarginBlock:Ye}=Fe,Pt=qe+gt+_e;return{[`${he}-item`]:{position:"relative",overflow:"hidden"},[`${he}-item, ${he}-submenu-title`]:{height:de,lineHeight:`${de}px`,paddingInline:qe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Se,marginBlock:Ye,width:`calc(100% - ${Se*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:Pt}}};var Ht=Fe=>{const{componentCls:he,iconCls:de,itemHeight:Se,colorTextLightSolid:qe,dropdownWidth:gt,controlHeightLG:_e,motionDurationMid:Ye,motionEaseOut:Pt,paddingXL:ft,itemMarginInline:st,fontSizeLG:jt,motionDurationSlow:Qn,paddingXS:Lt,boxShadowSecondary:on,collapsedWidth:Qt,collapsedIconSize:Cn}=Fe,ut={height:Se,lineHeight:`${Se}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[he]:{"&-inline, &-vertical":Object.assign({[`&${he}-root`]:{boxShadow:"none"}},Wt(Fe))},[`${he}-submenu-popup`]:{[`${he}-vertical`]:Object.assign(Object.assign({},Wt(Fe)),{boxShadow:on})}},{[`${he}-submenu-popup ${he}-vertical${he}-sub`]:{minWidth:gt,maxHeight:`calc(100vh - ${_e*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 ${Qn}`,`background ${Qn}`,`padding ${Ye} ${Pt}`].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`]:ut,[`& ${he}-item-group-title`]:{paddingInlineStart:ft}},[`${he}-item`]:ut}},{[`${he}-inline-collapsed`]:{width:Qt,[`&${he}-root`]:{[`${he}-item, ${he}-submenu ${he}-submenu-title`]:{[`> ${he}-inline-collapsed-noicon`]:{fontSize:jt,textAlign:"center"}}},[`> ${he}-item, > ${he}-item-group > ${he}-item-group-list > ${he}-item, > ${he}-item-group > ${he}-item-group-list > ${he}-submenu > ${he}-submenu-title, > ${he}-submenu > ${he}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${jt/2}px - ${st}px)`,textOverflow:"clip",[` ${he}-submenu-arrow, ${he}-submenu-expand-icon `]:{opacity:0},[`${he}-item-icon, ${de}`]:{margin:0,fontSize:Cn,lineHeight:`${Se}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:Lt})}}]};const Sn=Fe=>{const{componentCls:he,motionDurationSlow:de,motionDurationMid:Se,motionEaseInOut:qe,motionEaseOut:gt,iconCls:_e,iconSize:Ye,iconMarginInlineEnd:Pt}=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, ${_e}`]:{minWidth:Ye,fontSize:Ye,transition:[`font-size ${Se} ${gt}`,`margin ${de} ${qe}`,`color ${de}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${de} ${qe}`,`margin ${de}`,`color ${de}`].join(",")}},[`${he}-item-icon`]:Object.assign({},(0,nt.Ro)()),[`&${he}-item-only-child`]:{[`> ${_e}, > ${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"}}}},Tn=Fe=>{const{componentCls:he,motionDurationSlow:de,motionEaseInOut:Se,borderRadius:qe,menuArrowSize:gt,menuArrowOffset:_e}=Fe;return{[`${he}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Fe.margin,width:gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${de} ${Se}, opacity ${de}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:gt*.6,height:gt*.15,backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${de} ${Se}`,`transform ${de} ${Se}`,`top ${de} ${Se}`,`color ${de} ${Se}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${_e})`},"&::after":{transform:`rotate(-45deg) translateY(${_e})`}}}}},ln=Fe=>{const{antCls:he,componentCls:de,fontSize:Se,motionDurationSlow:qe,motionDurationMid:gt,motionEaseInOut:_e,paddingXS:Ye,padding:Pt,colorSplit:ft,lineWidth:st,zIndexPopup:jt,borderRadiusLG:Qn,subMenuItemBorderRadius:Lt,menuArrowSize:on,menuArrowOffset:Qt,lineType:Cn,menuPanelMaskInset:ut,groupTitleLineHeight:Xt,groupTitleFontSize:pn}=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:Se,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${de}-item`]:{flex:"none"}},[`${de}-item, ${de}-submenu, ${de}-submenu-title`]:{borderRadius:Fe.itemBorderRadius},[`${de}-item-group-title`]:{padding:`${Ye}px ${Pt}px`,fontSize:pn,lineHeight:Xt,transition:`all ${qe}`},[`&-horizontal ${de}-submenu`]:{transition:[`border-color ${qe} ${_e}`,`background ${qe} ${_e}`].join(",")},[`${de}-submenu, ${de}-submenu-inline`]:{transition:[`border-color ${qe} ${_e}`,`background ${qe} ${_e}`,`padding ${gt} ${_e}`].join(",")},[`${de}-submenu ${de}-sub`]:{cursor:"initial",transition:[`background ${qe} ${_e}`,`padding ${qe} ${_e}`].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:ft,borderStyle:Cn,borderWidth:0,borderTopWidth:st,marginBlock:st,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Sn(Fe)),{[`${de}-item-group`]:{[`${de}-item-group-list`]:{margin:0,padding:0,[`${de}-item, ${de}-submenu-title`]:{paddingInline:`${Se*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:jt,borderRadius:Qn,boxShadow:"none",transformOrigin:"0 0",[`&${de}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ut}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ut},"\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:Qn},Sn(Fe)),Tn(Fe)),{[`${de}-item, ${de}-submenu > ${de}-submenu-title`]:{borderRadius:Lt},[`${de}-submenu-title::after`]:{transition:`transform ${qe} ${_e}`}})}}),Tn(Fe)),{[`&-inline-collapsed ${de}-submenu-arrow, &-inline ${de}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Qt})`},"&::after":{transform:`rotate(45deg) translateX(-${Qt})`}},[`${de}-submenu-open${de}-submenu-inline > ${de}-submenu-title > ${de}-submenu-arrow`]:{transform:`translateY(-${on*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Qt})`},"&::before":{transform:`rotate(45deg) translateX(${Qt})`}}})},{[`${he}-layout-header`]:{[de]:{lineHeight:"inherit"}}}]};var zn=(Fe,he)=>(0,Nt.Z)("Menu",Se=>{if(he===!1)return[];const{colorBgElevated:qe,colorPrimary:gt,colorTextLightSolid:_e,controlHeightLG:Ye,fontSize:Pt,darkItemColor:ft,darkDangerItemColor:st,darkItemBg:jt,darkSubMenuItemBg:Qn,darkItemSelectedColor:Lt,darkItemSelectedBg:on,darkDangerItemSelectedBg:Qt,darkItemHoverBg:Cn,darkGroupTitleColor:ut,darkItemHoverColor:Xt,darkItemDisabledColor:pn,darkDangerItemHoverColor:bn,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:Ar}=Se,Fr=Pt/7*5,Er=(0,At.TS)(Se,{menuArrowSize:Fr,menuHorizontalHeight:Ye*1.15,menuArrowOffset:`${Fr*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:qe}),cr=(0,At.TS)(Er,{itemColor:ft,itemHoverColor:Xt,groupTitleColor:ut,itemSelectedColor:Lt,itemBg:jt,popupBg:jt,subMenuItemBg:Qn,itemActiveBg:"transparent",itemSelectedBg:on,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Cn,itemDisabledColor:pn,dangerItemColor:st,dangerItemHoverColor:bn,dangerItemSelectedColor:Jn,dangerItemActiveBg:Ar,dangerItemSelectedBg:Qt,menuSubMenuBg:Qn,horizontalItemSelectedColor:_e,horizontalItemSelectedBg:gt});return[ln(Er),bt(Er),Ht(Er),Rt(Er,"light"),Rt(cr,"dark"),Bt(Er),(0,Te.Z)(Er),(0,vt.oN)(Er,"slide-up"),(0,vt.oN)(Er,"slide-down"),(0,Qe._y)(Er,"zoom-big")]},Se=>{const{colorPrimary:qe,colorError:gt,colorTextDisabled:_e,colorErrorBg:Ye,colorText:Pt,colorTextDescription:ft,colorBgContainer:st,colorFillAlter:jt,colorFillContent:Qn,lineWidth:Lt,lineWidthBold:on,controlItemBgActive:Qt,colorBgTextHover:Cn,controlHeightLG:ut,lineHeight:Xt,colorBgElevated:pn,marginXXS:bn,padding:Jn,fontSize:Ar,controlHeightSM:Fr,fontSizeLG:Er,colorTextLightSolid:cr,colorErrorHover:ir}=Se,dr=new We.C(cr).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Se.zIndexPopupBase+50,radiusItem:Se.borderRadiusLG,itemBorderRadius:Se.borderRadiusLG,radiusSubMenuItem:Se.borderRadiusSM,subMenuItemBorderRadius:Se.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:ft,groupTitleColor:ft,colorItemTextSelected:qe,itemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:st,itemBg:st,colorItemBgHover:Cn,itemHoverBg:Cn,colorItemBgActive:Qn,itemActiveBg:Qt,colorSubItemBg:jt,subMenuItemBg:jt,colorItemBgSelected:Qt,itemSelectedBg:Qt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:on,activeBarHeight:on,colorActiveBarBorderSize:Lt,activeBarBorderWidth:Lt,colorItemTextDisabled:_e,itemDisabledColor:_e,colorDangerItemText:gt,dangerItemColor:gt,colorDangerItemTextHover:gt,dangerItemHoverColor:gt,colorDangerItemTextSelected:gt,dangerItemSelectedColor:gt,colorDangerItemBgActive:Ye,dangerItemActiveBg:Ye,colorDangerItemBgSelected:Ye,dangerItemSelectedBg:Ye,itemMarginInline:Se.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ut,groupTitleLineHeight:Xt,collapsedWidth:ut*2,popupBg:pn,itemMarginBlock:bn,itemPaddingInline:Jn,horizontalLineHeight:`${ut*1.15}px`,iconSize:Ar,iconMarginInlineEnd:Fr-Ar,collapsedIconSize:Er,groupTitleFontSize:Ar,darkItemDisabledColor:new We.C(cr).setAlpha(.25).toRgbString(),darkItemColor:dr,darkDangerItemColor:gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:cr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:gt,darkItemHoverBg:"transparent",darkGroupTitleColor:dr,darkItemHoverColor:cr,darkDangerItemHoverColor:ir,darkDangerItemSelectedColor:cr,darkDangerItemActiveBg:gt}},{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),yt=function(Fe,he){var de={};for(var Se in Fe)Object.prototype.hasOwnProperty.call(Fe,Se)&&he.indexOf(Se)<0&&(de[Se]=Fe[Se]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Se=Object.getOwnPropertySymbols(Fe);qe{var de,Se;const qe=Ce.useContext(Le.Z),gt=qe||{},{getPrefixCls:_e,getPopupContainer:Ye,direction:Pt,menu:ft}=Ce.useContext(je.E_),st=_e(),{prefixCls:jt,className:Qn,style:Lt,theme:on="light",expandIcon:Qt,_internalDisableMenuItemTitleTooltip:Cn,inlineCollapsed:ut,siderCollapsed:Xt,items:pn,children:bn,rootClassName:Jn,mode:Ar,selectable:Fr,onClick:Er,overflowedIndicatorPopupClassName:cr}=Fe,ir=yt(Fe,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dr=(0,De.Z)(ir,["collapsedWidth"]),Rr=Ge(pn)||bn;(de=gt.validator)===null||de===void 0||de.call(gt,{mode:Ar});const Kr=(0,ae.useEvent)(function(){var La;Er==null||Er.apply(void 0,arguments),(La=gt.onClick)===null||La===void 0||La.call(gt)}),xa=gt.mode||Ar,lr=Fr!=null?Fr:gt.selectable,ao=Ce.useMemo(()=>Xt!==void 0?Xt:ut,[ut,Xt]),no={horizontal:{motionName:`${st}-slide-up`},inline:(0,ge.Z)(st),other:{motionName:`${st}-zoom-big`}},Xr=_e("menu",jt||gt.prefixCls),[rn,di]=zn(Xr,!qe),ha=ze()(`${Xr}-${on}`,ft==null?void 0:ft.className,Qn);let Qi;if(typeof Qt=="function")Qi=Qt;else if(Qt===null||Qt===!1)Qi=null;else if(gt.expandIcon===null||gt.expandIcon===!1)Qi=null;else{const La=Qt!=null?Qt:gt.expandIcon;Qi=(0,Ee.Tm)(La,{className:ze()(`${Xr}-submenu-expand-icon`,(0,Ee.l$)(La)?(Se=La.props)===null||Se===void 0?void 0:Se.className:"")})}const Gi=Ce.useMemo(()=>({prefixCls:Xr,inlineCollapsed:ao||!1,direction:Pt,firstLevel:!0,theme:on,mode:xa,disableMenuItemTitleTooltip:Cn}),[Xr,ao,Pt,Cn,on]);return rn(Ce.createElement(Le.Z.Provider,{value:null},Ce.createElement(y.Provider,{value:Gi},Ce.createElement(le.ZP,Object.assign({getPopupContainer:Ye,overflowedIndicator:Ce.createElement(ne.Z,null),overflowedIndicatorPopupClassName:ze()(Xr,`${Xr}-${on}`,cr),mode:xa,selectable:lr,onClick:Kr},dr,{inlineCollapsed:ao,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Lt),className:ha,prefixCls:Xr,direction:Pt,defaultMotions:no,expandIcon:Qi,ref:he,rootClassName:ze()(Jn,di)}),Rr))))});const Xe=(0,Ce.forwardRef)((Fe,he)=>{const de=(0,Ce.useRef)(null),Se=Ce.useContext(He.D);return(0,Ce.useImperativeHandle)(he,()=>({menu:de.current,focus:qe=>{var gt;(gt=de.current)===null||gt===void 0||gt.focus(qe)}})),Ce.createElement(Wn,Object.assign({ref:de},Fe,Se))});Xe.Item=ee,Xe.SubMenu=te,Xe.Divider=Ne,Xe.ItemGroup=le.BW;var vn=Xe},58421:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return gt}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(Ye,Pt){return Ce.createElement(ze.Z,(0,le.Z)({},Ye,{ref:Pt,icon:tt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(49198),fe=Be(33853),De=Be(38819),xe=Be(92310),Ee=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(_e){(0,E.Z)(Pt,_e);var Ye=(0,te.Z)(Pt);function Pt(){var ft;(0,a.Z)(this,Pt);for(var st=arguments.length,jt=new Array(st),Qn=0;Qn=0||Lt.relatedTarget.className.indexOf("".concat(ut,"-item"))>=0))&&Cn(ft.getValidValue()))},ft.go=function(Lt){var on=ft.state.goInputText;on!==""&&(Lt.keyCode===ge.ENTER||Lt.type==="click")&&(ft.setState({goInputText:""}),ft.props.quickGo(ft.getValidValue()))},ft}return(0,ee.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var st=this.props,jt=st.pageSize,Qn=st.pageSizeOptions;return Qn.some(function(Lt){return Lt.toString()===jt.toString()})?Qn:Qn.concat([jt.toString()]).sort(function(Lt,on){var Qt=Number.isNaN(Number(Lt))?0:Number(Lt),Cn=Number.isNaN(Number(on))?0:Number(on);return Qt-Cn})}},{key:"render",value:function(){var st=this,jt=this.props,Qn=jt.pageSize,Lt=jt.locale,on=jt.rootPrefixCls,Qt=jt.changeSize,Cn=jt.quickGo,ut=jt.goButton,Xt=jt.selectComponentClass,pn=jt.buildOptionText,bn=jt.selectPrefixCls,Jn=jt.disabled,Ar=this.state.goInputText,Fr="".concat(on,"-options"),Er=Xt,cr=null,ir=null,dr=null;if(!Qt&&!Cn)return null;var Rr=this.getPageSizeOptions();if(Qt&&Er){var Kr=Rr.map(function(xa,lr){return Ce.createElement(Er.Option,{key:lr,value:xa.toString()},(pn||st.buildOptionText)(xa))});cr=Ce.createElement(Er,{disabled:Jn,prefixCls:bn,showSearch:!1,className:"".concat(Fr,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Qn||Rr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(lr){return lr.parentNode},"aria-label":Lt.page_size,defaultOpen:!1},Kr)}return Cn&&(ut&&(dr=typeof ut=="boolean"?Ce.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Jn,className:"".concat(Fr,"-quick-jumper-button")},Lt.jump_to_confirm):Ce.createElement("span",{onClick:this.go,onKeyUp:this.go},ut)),ir=Ce.createElement("div",{className:"".concat(Fr,"-quick-jumper")},Lt.jump_to,Ce.createElement("input",{disabled:Jn,type:"text",value:Ar,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Lt.page}),Lt.page,dr)),Ce.createElement("li",{className:"".concat(Fr)},cr,ir)}}]),Pt}(Ce.Component);Pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Ue=Pe,Ge=function(Ye){var Pt,ft=Ye.rootPrefixCls,st=Ye.page,jt=Ye.active,Qn=Ye.className,Lt=Ye.showTitle,on=Ye.onClick,Qt=Ye.onKeyPress,Cn=Ye.itemRender,ut="".concat(ft,"-item"),Xt=Ee()(ut,"".concat(ut,"-").concat(st),(Pt={},(0,ie.Z)(Pt,"".concat(ut,"-active"),jt),(0,ie.Z)(Pt,"".concat(ut,"-disabled"),!st),(0,ie.Z)(Pt,Ye.className,Qn),Pt)),pn=function(){on(st)},bn=function(Fr){Qt(Fr,on,st)},Jn=Cn(st,"page",Ce.createElement("a",{rel:"nofollow"},st));return Jn?Ce.createElement("li",{title:Lt?st.toString():null,className:Xt,onClick:pn,onKeyPress:bn,tabIndex:0},Jn):null},We=Ge;function nt(){}function Te(_e){var Ye=Number(_e);return typeof Ye=="number"&&!Number.isNaN(Ye)&&isFinite(Ye)&&Math.floor(Ye)===Ye}var vt=function(Ye,Pt,ft){return ft};function Qe(_e,Ye,Pt){var ft=typeof _e=="undefined"?Ye.pageSize:_e;return Math.floor((Pt.total-1)/ft)+1}var Nt=function(_e){(0,E.Z)(Pt,_e);var Ye=(0,te.Z)(Pt);function Pt(ft){var st;(0,a.Z)(this,Pt),st=Ye.call(this,ft),st.paginationNode=Ce.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(Qe(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Qt,Cn){var ut=st.props.prefixCls,Xt=Qt||Ce.createElement("button",{type:"button","aria-label":Cn,className:"".concat(ut,"-item-link")});return typeof Qt=="function"&&(Xt=Ce.createElement(Qt,(0,y.Z)({},st.props))),Xt},st.isValid=function(Qt){var Cn=st.props.total;return Te(Qt)&&Qt!==st.state.current&&Te(Cn)&&Cn>0},st.shouldDisplayQuickJumper=function(){var Qt=st.props,Cn=Qt.showQuickJumper,ut=Qt.total,Xt=st.state.pageSize;return ut<=Xt?!1:Cn},st.handleKeyDown=function(Qt){(Qt.keyCode===ge.ARROW_UP||Qt.keyCode===ge.ARROW_DOWN)&&Qt.preventDefault()},st.handleKeyUp=function(Qt){var Cn=st.getValidValue(Qt),ut=st.state.currentInputValue;Cn!==ut&&st.setState({currentInputValue:Cn}),Qt.keyCode===ge.ENTER?st.handleChange(Cn):Qt.keyCode===ge.ARROW_UP?st.handleChange(Cn-1):Qt.keyCode===ge.ARROW_DOWN&&st.handleChange(Cn+1)},st.handleBlur=function(Qt){var Cn=st.getValidValue(Qt);st.handleChange(Cn)},st.changePageSize=function(Qt){var Cn=st.state.current,ut=Qe(Qt,st.state,st.props);Cn=Cn>ut?ut:Cn,ut===0&&(Cn=st.state.current),typeof Qt=="number"&&("pageSize"in st.props||st.setState({pageSize:Qt}),"current"in st.props||st.setState({current:Cn,currentInputValue:Cn})),st.props.onShowSizeChange(Cn,Qt),"onChange"in st.props&&st.props.onChange&&st.props.onChange(Cn,Qt)},st.handleChange=function(Qt){var Cn=st.props,ut=Cn.disabled,Xt=Cn.onChange,pn=st.state,bn=pn.pageSize,Jn=pn.current,Ar=pn.currentInputValue;if(st.isValid(Qt)&&!ut){var Fr=Qe(void 0,st.state,st.props),Er=Qt;return Qt>Fr?Er=Fr:Qt<1&&(Er=1),"current"in st.props||st.setState({current:Er}),Er!==Ar&&st.setState({currentInputValue:Er}),Xt(Er,bn),Er}return Jn},st.prev=function(){st.hasPrev()&&st.handleChange(st.state.current-1)},st.next=function(){st.hasNext()&&st.handleChange(st.state.current+1)},st.jumpPrev=function(){st.handleChange(st.getJumpPrevPage())},st.jumpNext=function(){st.handleChange(st.getJumpNextPage())},st.hasPrev=function(){return st.state.current>1},st.hasNext=function(){return st.state.current2?ut-2:0),pn=2;pn=Qn?on=Qn:on=Number(jt),on}},{key:"getShowSizeChanger",value:function(){var st=this.props,jt=st.showSizeChanger,Qn=st.total,Lt=st.totalBoundaryShowSizeChanger;return typeof jt!="undefined"?jt:Qn>Lt}},{key:"render",value:function(){var st=this.props,jt=st.prefixCls,Qn=st.className,Lt=st.style,on=st.disabled,Qt=st.hideOnSinglePage,Cn=st.total,ut=st.locale,Xt=st.showQuickJumper,pn=st.showLessItems,bn=st.showTitle,Jn=st.showTotal,Ar=st.simple,Fr=st.itemRender,Er=st.showPrevNextJumpers,cr=st.jumpPrevIcon,ir=st.jumpNextIcon,dr=st.selectComponentClass,Rr=st.selectPrefixCls,Kr=st.pageSizeOptions,xa=this.state,lr=xa.current,ao=xa.pageSize,no=xa.currentInputValue;if(Qt===!0&&Cn<=ao)return null;var Xr=Qe(void 0,this.state,this.props),rn=[],di=null,ha=null,Qi=null,Gi=null,La=null,Wi=Xt&&Xt.goButton,Zi=pn?1:2,ei=lr-1>0?lr-1:0,hn=lr+1Cn?Cn:lr*ao]));if(Ar){Wi&&(typeof Wi=="boolean"?La=Ce.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ut.jump_to_confirm):La=Ce.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wi),La=Ce.createElement("li",{title:bn?"".concat(ut.jump_to).concat(lr,"/").concat(Xr):null,className:"".concat(jt,"-simple-pager")},La));var Hr=this.renderPrev(ei);return Ce.createElement("ul",(0,le.Z)({className:Ee()(jt,"".concat(jt,"-simple"),(0,ie.Z)({},"".concat(jt,"-disabled"),on),Qn),style:Lt,ref:this.paginationNode},kn),mn,Hr?Ce.createElement("li",{title:bn?ut.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(jt,"-prev"),(0,ie.Z)({},"".concat(jt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Hr):null,Ce.createElement("li",{title:bn?"".concat(lr,"/").concat(Xr):null,className:"".concat(jt,"-simple-pager")},Ce.createElement("input",{type:"text",value:no,disabled:on,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Ce.createElement("span",{className:"".concat(jt,"-slash")},"/"),Xr),Ce.createElement("li",{title:bn?ut.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(jt,"-next"),(0,ie.Z)({},"".concat(jt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(hn)),La)}if(Xr<=3+Zi*2){var Aa={locale:ut,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:bn,itemRender:Fr};Xr||rn.push(Ce.createElement(We,(0,le.Z)({},Aa,{key:"noPager",page:1,className:"".concat(jt,"-item-disabled")})));for(var jr=1;jr<=Xr;jr+=1){var Fa=lr===jr;rn.push(Ce.createElement(We,(0,le.Z)({},Aa,{key:jr,page:jr,active:Fa})))}}else{var Na=pn?ut.prev_3:ut.prev_5,_a=pn?ut.next_3:ut.next_5,ko=Fr(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(cr,"prev page")),vi=Fr(this.getJumpNextPage(),"jump-next",this.getItemIcon(ir,"next page"));Er&&(di=ko?Ce.createElement("li",{title:bn?Na:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ee()("".concat(jt,"-jump-prev"),(0,ie.Z)({},"".concat(jt,"-jump-prev-custom-icon"),!!cr))},ko):null,ha=vi?Ce.createElement("li",{title:bn?_a:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ee()("".concat(jt,"-jump-next"),(0,ie.Z)({},"".concat(jt,"-jump-next-custom-icon"),!!ir))},vi):null),Gi=Ce.createElement(We,{locale:ut,last:!0,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Xr,page:Xr,active:!1,showTitle:bn,itemRender:Fr}),Qi=Ce.createElement(We,{locale:ut,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:bn,itemRender:Fr});var Nr=Math.max(1,lr-Zi),Ya=Math.min(lr+Zi,Xr);lr-1<=Zi&&(Ya=1+Zi*2),Xr-lr<=Zi&&(Nr=Xr-Zi*2);for(var Ei=Nr;Ei<=Ya;Ei+=1){var oi=lr===Ei;rn.push(Ce.createElement(We,{locale:ut,rootPrefixCls:jt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ei,page:Ei,active:oi,showTitle:bn,itemRender:Fr}))}lr-1>=Zi*2&&lr!==3&&(rn[0]=(0,Ce.cloneElement)(rn[0],{className:"".concat(jt,"-item-after-jump-prev")}),rn.unshift(di)),Xr-lr>=Zi*2&&lr!==Xr-2&&(rn[rn.length-1]=(0,Ce.cloneElement)(rn[rn.length-1],{className:"".concat(jt,"-item-before-jump-next")}),rn.push(ha)),Nr!==1&&rn.unshift(Qi),Ya!==Xr&&rn.push(Gi)}var Io=!this.hasPrev()||!Xr,Po=!this.hasNext()||!Xr,Vi=this.renderPrev(ei),Qs=this.renderNext(hn);return Ce.createElement("ul",(0,le.Z)({className:Ee()(jt,Qn,(0,ie.Z)({},"".concat(jt,"-disabled"),on)),style:Lt,ref:this.paginationNode},kn),mn,Vi?Ce.createElement("li",{title:bn?ut.prev_page:null,onClick:this.prev,tabIndex:Io?null:0,onKeyPress:this.runIfEnterPrev,className:Ee()("".concat(jt,"-prev"),(0,ie.Z)({},"".concat(jt,"-disabled"),Io)),"aria-disabled":Io},Vi):null,rn,Qs?Ce.createElement("li",{title:bn?ut.next_page:null,onClick:this.next,tabIndex:Po?null:0,onKeyPress:this.runIfEnterNext,className:Ee()("".concat(jt,"-next"),(0,ie.Z)({},"".concat(jt,"-disabled"),Po)),"aria-disabled":Po},Qs):null,Ce.createElement(Ue,{disabled:on,locale:ut,rootPrefixCls:jt,selectComponentClass:dr,selectPrefixCls:Rr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:lr,pageSize:ao,pageSizeOptions:Kr,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wi}))}}],[{key:"getDerivedStateFromProps",value:function(st,jt){var Qn={};if("current"in st&&(Qn.current=st.current,st.current!==jt.current&&(Qn.currentInputValue=Qn.current)),"pageSize"in st&&st.pageSize!==jt.pageSize){var Lt=jt.current,on=Qe(st.pageSize,jt,st);Lt=Lt>on?on:Lt,"current"in st||(Qn.current=Lt,Qn.currentInputValue=Lt),Qn.pageSize=st.pageSize}return Qn}}]),Pt}(Ce.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 At=Nt,ot=Be(22075),bt=Be(36355),dt=Be(19716),Bt=Be(8628),lt=Be(9763),at=Be(57809);const Rt=_e=>Ce.createElement(at.default,Object.assign({},_e,{showSearch:!0,size:"small"})),Wt=_e=>Ce.createElement(at.default,Object.assign({},_e,{showSearch:!0,size:"middle"}));Rt.Option=at.default.Option,Wt.Option=at.default.Option;var ht=Be(9937),Ht=Be(17313),Sn=Be(83116),Tn=Be(37613);const ln=_e=>{const{componentCls:Ye}=_e;return{[`${Ye}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ye}-disabled`]:{cursor:"not-allowed",[`${Ye}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:_e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:_e.colorBorder,backgroundColor:_e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:_e.itemActiveBgDisabled},a:{color:_e.itemActiveColorDisabled}}},[`${Ye}-item-link`]:{color:_e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ye}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ye}-simple-pager`]:{color:_e.colorTextDisabled},[`${Ye}-jump-prev, ${Ye}-jump-next`]:{[`${Ye}-item-link-icon`]:{opacity:0},[`${Ye}-item-ellipsis`]:{opacity:1}}},[`&${Ye}-simple`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&${Ye}-disabled ${Ye}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},zn=_e=>{const{componentCls:Ye}=_e;return{[`&${Ye}-mini ${Ye}-total-text, &${Ye}-mini ${Ye}-simple-pager`]:{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-item`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:`${_e.itemSizeSM-2}px`},[`&${Ye}-mini:not(${Ye}-disabled) ${Ye}-item:not(${Ye}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive}},[`&${Ye}-mini ${Ye}-prev, &${Ye}-mini ${Ye}-next`]:{minWidth:_e.itemSizeSM,height:_e.itemSizeSM,margin:0,lineHeight:`${_e.itemSizeSM}px`},[`&${Ye}-mini:not(${Ye}-disabled)`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&:hover ${Ye}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${Ye}-disabled:hover ${Ye}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ye}-mini ${Ye}-prev ${Ye}-item-link, &${Ye}-mini ${Ye}-next ${Ye}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`}},[`&${Ye}-mini ${Ye}-jump-prev, &${Ye}-mini ${Ye}-jump-next`]:{height:_e.itemSizeSM,marginInlineEnd:0,lineHeight:`${_e.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-options`]:{marginInlineStart:_e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:_e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ht.x0)(_e)),{width:_e.paginationMiniQuickJumperInputWidth,height:_e.controlHeightSM})}}}},yt=_e=>{const{componentCls:Ye}=_e;return{[` &${Ye}-simple ${Ye}-prev, &${Ye}-simple ${Ye}-next `]:{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`,verticalAlign:"top",[`${Ye}-item-link`]:{height:_e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive},"&::after":{height:_e.itemSizeSM,lineHeight:`${_e.itemSizeSM}px`}}},[`&${Ye}-simple ${Ye}-simple-pager`]:{display:"inline-block",height:_e.itemSizeSM,marginInlineEnd:_e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:_e.marginXS,padding:`0 ${_e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:_e.itemInputBg,border:`${_e.lineWidth}px ${_e.lineType} ${_e.colorBorder}`,borderRadius:_e.borderRadius,outline:"none",transition:`border-color ${_e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:_e.colorPrimary},"&:focus":{borderColor:_e.colorPrimaryHover,boxShadow:`${_e.inputOutlineOffset}px 0 ${_e.controlOutlineWidth}px ${_e.controlOutline}`},"&[disabled]":{color:_e.colorTextDisabled,backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,cursor:"not-allowed"}}}}},Hn=_e=>{const{componentCls:Ye}=_e;return{[`${Ye}-jump-prev, ${Ye}-jump-next`]:{outline:0,[`${Ye}-item-container`]:{position:"relative",[`${Ye}-item-link-icon`]:{color:_e.colorPrimary,fontSize:_e.fontSizeSM,opacity:0,transition:`all ${_e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ye}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:_e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:_e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:_e.paginationEllipsisTextIndent,opacity:1,transition:`all ${_e.motionDurationMid}`}},"&:hover":{[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}}},[` ${Ye}-prev, ${Ye}-jump-prev, ${Ye}-jump-next `]:{marginInlineEnd:_e.marginXS},[` ${Ye}-prev, ${Ye}-next, ${Ye}-jump-prev, ${Ye}-jump-next `]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,color:_e.colorText,fontFamily:_e.fontFamily,lineHeight:`${_e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:_e.borderRadius,cursor:"pointer",transition:`all ${_e.motionDurationMid}`},[`${Ye}-prev, ${Ye}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:_e.colorText,cursor:"pointer",userSelect:"none"},[`${Ye}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:_e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${_e.lineWidth}px ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:"none",transition:`all ${_e.motionDurationMid}`},[`&:hover ${Ye}-item-link`]:{backgroundColor:_e.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:_e.colorBgTextActive},[`&${Ye}-disabled:hover`]:{[`${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`${Ye}-slash`]:{marginInlineEnd:_e.paginationSlashMarginInlineEnd,marginInlineStart:_e.paginationSlashMarginInlineStart},[`${Ye}-options`]:{display:"inline-block",marginInlineStart:_e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:_e.controlHeight,marginInlineStart:_e.marginXS,lineHeight:`${_e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ht.ik)(_e)),{width:_e.controlHeightLG*1.25,height:_e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:_e.marginXS,marginInlineEnd:_e.marginXS})}}}},Wn=_e=>{const{componentCls:Ye}=_e;return{[`${Ye}-item`]:{display:"inline-block",minWidth:_e.itemSize,height:_e.itemSize,marginInlineEnd:_e.marginXS,fontFamily:_e.fontFamily,lineHeight:`${_e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${_e.lineWidth}px ${_e.lineType} transparent`,borderRadius:_e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${_e.paginationItemPaddingInline}px`,color:_e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ye}-item-active)`]:{"&:hover":{transition:`all ${_e.motionDurationMid}`,backgroundColor:_e.colorBgTextHover},"&:active":{backgroundColor:_e.colorBgTextActive}},"&-active":{fontWeight:_e.fontWeightStrong,backgroundColor:_e.itemActiveBg,borderColor:_e.colorPrimary,a:{color:_e.colorPrimary},"&:hover":{borderColor:_e.colorPrimaryHover},"&:hover a":{color:_e.colorPrimaryHover}}}}},Xe=_e=>{const{componentCls:Ye}=_e;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ht.Wf)(_e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ye}-total-text`]:{display:"inline-block",height:_e.itemSize,marginInlineEnd:_e.marginXS,lineHeight:`${_e.itemSize-2}px`,verticalAlign:"middle"}}),Wn(_e)),Hn(_e)),yt(_e)),zn(_e)),ln(_e)),{[`@media only screen and (max-width: ${_e.screenLG}px)`]:{[`${Ye}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${_e.screenSM}px)`]:{[`${Ye}-options`]:{display:"none"}}}),[`&${_e.componentCls}-rtl`]:{direction:"rtl"}}},vn=_e=>{const{componentCls:Ye}=_e;return{[`${Ye}${Ye}-disabled:not(${Ye}-mini)`]:{"&, &:hover":{[`${Ye}-item-link`]:{borderColor:_e.colorBorder}},"&:focus-visible":{[`${Ye}-item-link`]:{borderColor:_e.colorBorder}},[`${Ye}-item, ${Ye}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,[`&:hover:not(${Ye}-item-active)`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,a:{color:_e.colorTextDisabled}},[`&${Ye}-item-active`]:{backgroundColor:_e.itemActiveBgDisabled}},[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder,color:_e.colorTextDisabled},[`${Ye}-item-link`]:{backgroundColor:_e.colorBgContainerDisabled,borderColor:_e.colorBorder}}},[`${Ye}:not(${Ye}-mini)`]:{[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{borderColor:_e.colorPrimaryHover,backgroundColor:_e.itemBg},[`${Ye}-item-link`]:{backgroundColor:_e.itemLinkBg,borderColor:_e.colorBorder},[`&:hover ${Ye}-item-link`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,color:_e.colorPrimary},[`&${Ye}-disabled`]:{[`${Ye}-item-link`]:{borderColor:_e.colorBorder,color:_e.colorTextDisabled}}},[`${Ye}-item`]:{backgroundColor:_e.itemBg,border:`${_e.lineWidth}px ${_e.lineType} ${_e.colorBorder}`,[`&:hover:not(${Ye}-item-active)`]:{borderColor:_e.colorPrimary,backgroundColor:_e.itemBg,a:{color:_e.colorPrimary}},"&-active":{borderColor:_e.colorPrimary}}}}},Fe=_e=>{const{componentCls:Ye}=_e;return{[`${Ye}:not(${Ye}-disabled)`]:{[`${Ye}-item`]:Object.assign({},(0,Ht.Qy)(_e)),[`${Ye}-jump-prev, ${Ye}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}},(0,Ht.oN)(_e))},[`${Ye}-prev, ${Ye}-next`]:{[`&:focus-visible ${Ye}-item-link`]:Object.assign({},(0,Ht.oN)(_e))}}}};var he=(0,Sn.Z)("Pagination",_e=>{const Ye=(0,Tn.TS)(_e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:_e.marginXXS/2,paginationMiniQuickJumperInputWidth:_e.controlHeightLG*1.1,paginationItemPaddingInline:_e.marginXXS*1.5,paginationEllipsisLetterSpacing:_e.marginXXS/2,paginationSlashMarginInlineStart:_e.marginXXS,paginationSlashMarginInlineEnd:_e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ht.e5)(_e),(0,ht.TM)(_e));return[Xe(Ye),Fe(Ye),_e.wireframe&&vn(Ye)]},_e=>({itemBg:_e.colorBgContainer,itemSize:_e.controlHeight,itemSizeSM:_e.controlHeightSM,itemActiveBg:_e.colorBgContainer,itemLinkBg:_e.colorBgContainer,itemActiveColorDisabled:_e.colorTextDisabled,itemActiveBgDisabled:_e.controlItemBgActiveDisabled,itemInputBg:_e.colorBgContainer,miniOptionsSizeChangerTop:0})),de=function(_e,Ye){var Pt={};for(var ft in _e)Object.prototype.hasOwnProperty.call(_e,ft)&&Ye.indexOf(ft)<0&&(Pt[ft]=_e[ft]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,ft=Object.getOwnPropertySymbols(_e);st{const{prefixCls:Ye,selectPrefixCls:Pt,className:ft,rootClassName:st,style:jt,size:Qn,locale:Lt,selectComponentClass:on,responsive:Qt,showSizeChanger:Cn}=_e,ut=de(_e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Xt}=(0,Bt.Z)(Qt),{getPrefixCls:pn,direction:bn,pagination:Jn={}}=Ce.useContext(bt.E_),Ar=pn("pagination",Ye),[Fr,Er]=he(Ar),cr=Cn!=null?Cn:Jn.showSizeChanger,ir=Ce.useMemo(()=>{const Xr=Ce.createElement("span",{className:`${Ar}-item-ellipsis`},"\u2022\u2022\u2022"),rn=Ce.createElement("button",{className:`${Ar}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?Ce.createElement(De.Z,null):Ce.createElement(fe.Z,null)),di=Ce.createElement("button",{className:`${Ar}-item-link`,type:"button",tabIndex:-1},bn==="rtl"?Ce.createElement(fe.Z,null):Ce.createElement(De.Z,null)),ha=Ce.createElement("a",{className:`${Ar}-item-link`},Ce.createElement("div",{className:`${Ar}-item-container`},bn==="rtl"?Ce.createElement(Ne.Z,{className:`${Ar}-item-link-icon`}):Ce.createElement(we,{className:`${Ar}-item-link-icon`}),Xr)),Qi=Ce.createElement("a",{className:`${Ar}-item-link`},Ce.createElement("div",{className:`${Ar}-item-container`},bn==="rtl"?Ce.createElement(we,{className:`${Ar}-item-link-icon`}):Ce.createElement(Ne.Z,{className:`${Ar}-item-link-icon`}),Xr));return{prevIcon:rn,nextIcon:di,jumpPrevIcon:ha,jumpNextIcon:Qi}},[bn,Ar]),[dr]=(0,lt.Z)("Pagination",ot.Z),Rr=Object.assign(Object.assign({},dr),Lt),Kr=(0,dt.Z)(Qn),xa=Kr==="small"||!!(Xt&&!Kr&&Qt),lr=pn("select",Pt),ao=Ee()({[`${Ar}-mini`]:xa,[`${Ar}-rtl`]:bn==="rtl"},Jn==null?void 0:Jn.className,ft,st,Er),no=Object.assign(Object.assign({},Jn==null?void 0:Jn.style),jt);return Fr(Ce.createElement(At,Object.assign({},ir,ut,{style:no,prefixCls:Ar,selectPrefixCls:lr,className:ao,selectComponentClass:on||(xa?Rt:Wt),locale:Rr,showSizeChanger:cr})))},gt=qe},93948:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return Cn}});var le=Be(59301),Ce=Be(29679),He=Be(40001),tt=Be(19248),ze=Be(99267),je=Be(92310),ve=Be.n(je),we=Be(2738),Ne=Be(36355),fe=Be(54476),De=Be(33885),xe=Be(75931),Ee={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ie=function(){var Xt=(0,le.useRef)([]),pn=(0,le.useRef)(null);return(0,le.useEffect)(function(){var bn=Date.now(),Jn=!1;Xt.current.forEach(function(Ar){if(Ar){Jn=!0;var Fr=Ar.style;Fr.transitionDuration=".3s, .3s, .3s, .06s",pn.current&&bn-pn.current<100&&(Fr.transitionDuration="0s, 0s")}}),Jn&&(pn.current=Date.now())}),Xt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Xt){var pn=(0,De.Z)((0,De.Z)({},Ee),Xt),bn=pn.className,Jn=pn.percent,Ar=pn.prefixCls,Fr=pn.strokeColor,Er=pn.strokeLinecap,cr=pn.strokeWidth,ir=pn.style,dr=pn.trailColor,Rr=pn.trailWidth,Kr=pn.transition,xa=(0,xe.Z)(pn,y);delete xa.gapPosition;var lr=Array.isArray(Jn)?Jn:[Jn],ao=Array.isArray(Fr)?Fr:[Fr],no=ie(),Xr=cr/2,rn=100-cr/2,di="M ".concat(Er==="round"?Xr:0,",").concat(Xr,` L `).concat(Er==="round"?rn:100,",").concat(Xr),ha="0 0 100 ".concat(cr),Qi=0;return le.createElement("svg",(0,fe.Z)({className:ve()("".concat(Ar,"-line"),bn),viewBox:ha,preserveAspectRatio:"none",style:ir},xa),le.createElement("path",{className:"".concat(Ar,"-line-trail"),d:di,strokeLinecap:Er,stroke:dr,strokeWidth:Rr||cr,fillOpacity:"0"}),lr.map(function(Gi,La){var Wi=1;switch(Er){case"round":Wi=1-cr/100;break;case"square":Wi=1-cr/2/100;break;default:Wi=1;break}var Zi={strokeDasharray:"".concat(Gi*Wi,"px, 100px"),strokeDashoffset:"-".concat(Qi,"px"),transition:Kr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ei=ao[La]||ao[ao.length-1];return Qi+=Gi,le.createElement("path",{key:La,className:"".concat(Ar,"-line-path"),d:di,strokeLinecap:Er,stroke:ei,strokeWidth:cr,fillOpacity:"0",ref:function(kn){no[La]=kn},style:Zi})}))},ee=a,E=Be(76190),te=Be(42978),ne=Be(47273),ae=0,ge=(0,ne.Z)();function Le(){var ut;return ge?(ut=ae,ae+=1):ut="TEST_OR_SSR",ut}var Pe=function(ut){var Xt=le.useState(),pn=(0,te.Z)(Xt,2),bn=pn[0],Jn=pn[1];return le.useEffect(function(){Jn("rc_progress_".concat(Le()))},[]),ut||bn},Ue=function(Xt){var pn=Xt.bg,bn=Xt.children;return le.createElement("div",{style:{width:"100%",height:"100%",background:pn}},bn)};function Ge(ut,Xt){return Object.keys(ut).map(function(pn){var bn=parseFloat(pn),Jn="".concat(Math.floor(bn*Xt),"%");return"".concat(ut[pn]," ").concat(Jn)})}var We=le.forwardRef(function(ut,Xt){var pn=ut.prefixCls,bn=ut.color,Jn=ut.gradientId,Ar=ut.radius,Fr=ut.style,Er=ut.ptg,cr=ut.strokeLinecap,ir=ut.strokeWidth,dr=ut.size,Rr=ut.gapDegree,Kr=bn&&(0,E.Z)(bn)==="object",xa=Kr?"#FFF":void 0,lr=dr/2,ao=le.createElement("circle",{className:"".concat(pn,"-circle-path"),r:Ar,cx:lr,cy:lr,stroke:xa,strokeLinecap:cr,strokeWidth:ir,opacity:Er===0?0:1,style:Fr,ref:Xt});if(!Kr)return ao;var no="".concat(Jn,"-conic"),Xr=Rr?"".concat(180+Rr/2,"deg"):"0deg",rn=Ge(bn,(360-Rr)/360),di=Ge(bn,1),ha="conic-gradient(from ".concat(Xr,", ").concat(rn.join(", "),")"),Qi="linear-gradient(to ".concat(Rr?"bottom":"top",", ").concat(di.join(", "),")");return le.createElement(le.Fragment,null,le.createElement("mask",{id:no},ao),le.createElement("foreignObject",{x:0,y:0,width:dr,height:dr,mask:"url(#".concat(no,")")},le.createElement(Ue,{bg:Qi},le.createElement(Ue,{bg:ha}))))}),nt=We,Te=100,vt=function(Xt,pn,bn,Jn,Ar,Fr,Er,cr,ir,dr){var Rr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Kr=bn/100*360*((360-Fr)/360),xa=Fr===0?0:{bottom:0,top:180,left:90,right:-90}[Er],lr=(100-Jn)/100*pn;ir==="round"&&Jn!==100&&(lr+=dr/2,lr>=pn&&(lr=pn-.01));var ao=Te/2;return{stroke:typeof cr=="string"?cr:void 0,strokeDasharray:"".concat(pn,"px ").concat(Xt),strokeDashoffset:lr+Rr,transform:"rotate(".concat(Ar+Kr+xa,"deg)"),transformOrigin:"".concat(ao,"px ").concat(ao,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Nt(ut){var Xt=ut!=null?ut:[];return Array.isArray(Xt)?Xt:[Xt]}var At=function(Xt){var pn=(0,De.Z)((0,De.Z)({},Ee),Xt),bn=pn.id,Jn=pn.prefixCls,Ar=pn.steps,Fr=pn.strokeWidth,Er=pn.trailWidth,cr=pn.gapDegree,ir=cr===void 0?0:cr,dr=pn.gapPosition,Rr=pn.trailColor,Kr=pn.strokeLinecap,xa=pn.style,lr=pn.className,ao=pn.strokeColor,no=pn.percent,Xr=(0,xe.Z)(pn,Qe),rn=Te/2,di=Pe(bn),ha="".concat(di,"-gradient"),Qi=rn-Fr/2,Gi=Math.PI*2*Qi,La=ir>0?90+ir/2:-90,Wi=Gi*((360-ir)/360),Zi=(0,E.Z)(Ar)==="object"?Ar:{count:Ar,space:2},ei=Zi.count,hn=Zi.space,kn=Nt(no),mn=Nt(ao),Hr=mn.find(function(vi){return vi&&(0,E.Z)(vi)==="object"}),Aa=Hr&&(0,E.Z)(Hr)==="object",jr=Aa?"butt":Kr,Fa=vt(Gi,Wi,0,100,La,ir,dr,Rr,jr,Fr),Na=ie(),_a=function(){var Nr=0;return kn.map(function(Ya,Ei){var oi=mn[Ei]||mn[mn.length-1],Io=vt(Gi,Wi,Nr,Ya,La,ir,dr,oi,jr,Fr);return Nr+=Ya,le.createElement(nt,{key:Ei,color:oi,ptg:Ya,radius:Qi,prefixCls:Jn,gradientId:ha,style:Io,strokeLinecap:jr,strokeWidth:Fr,gapDegree:ir,ref:function(Vi){Na[Ei]=Vi},size:Te})}).reverse()},ko=function(){var Nr=Math.round(ei*(kn[0]/100)),Ya=100/ei,Ei=0;return new Array(ei).fill(null).map(function(oi,Io){var Po=Io<=Nr-1?mn[0]:Rr,Vi=Po&&(0,E.Z)(Po)==="object"?"url(#".concat(ha,")"):void 0,Qs=vt(Gi,Wi,Ei,Ya,La,ir,dr,Po,"butt",Fr,hn);return Ei+=(Wi-Qs.strokeDashoffset+hn)*100/Wi,le.createElement("circle",{key:Io,className:"".concat(Jn,"-circle-path"),r:Qi,cx:rn,cy:rn,stroke:Vi,strokeWidth:Fr,opacity:1,style:Qs,ref:function(vA){Na[Io]=vA}})})};return le.createElement("svg",(0,fe.Z)({className:ve()("".concat(Jn,"-circle"),lr),viewBox:"0 0 ".concat(Te," ").concat(Te),style:xa,id:bn,role:"presentation"},Xr),!ei&&le.createElement("circle",{className:"".concat(Jn,"-circle-trail"),r:Qi,cx:rn,cy:rn,stroke:Rr,strokeLinecap:jr,strokeWidth:Er||Fr,style:Fa}),ei?ko():_a())},ot=At,bt={Line:ee,Circle:ot},dt=Be(6848),Bt=Be(30071);function lt(ut){return!ut||ut<0?0:ut>100?100:ut}function at(ut){let{success:Xt,successPercent:pn}=ut,bn=pn;return Xt&&"progress"in Xt&&(bn=Xt.progress),Xt&&"percent"in Xt&&(bn=Xt.percent),bn}const Rt=ut=>{let{percent:Xt,success:pn,successPercent:bn}=ut;const Jn=lt(at({success:pn,successPercent:bn}));return[Jn,lt(lt(Xt)-Jn)]},Wt=ut=>{let{success:Xt={},strokeColor:pn}=ut;const{strokeColor:bn}=Xt;return[bn||Bt.presetPrimaryColors.green,pn||null]},ht=(ut,Xt,pn)=>{var bn,Jn,Ar,Fr;let Er=-1,cr=-1;if(Xt==="step"){const ir=pn.steps,dr=pn.strokeWidth;typeof ut=="string"||typeof ut=="undefined"?(Er=ut==="small"?2:14,cr=dr!=null?dr:8):typeof ut=="number"?[Er,cr]=[ut,ut]:[Er=14,cr=8]=ut,Er*=ir}else if(Xt==="line"){const ir=pn==null?void 0:pn.strokeWidth;typeof ut=="string"||typeof ut=="undefined"?cr=ir||(ut==="small"?6:8):typeof ut=="number"?[Er,cr]=[ut,ut]:[Er=-1,cr=8]=ut}else(Xt==="circle"||Xt==="dashboard")&&(typeof ut=="string"||typeof ut=="undefined"?[Er,cr]=ut==="small"?[60,60]:[120,120]:typeof ut=="number"?[Er,cr]=[ut,ut]:(Er=(Jn=(bn=ut[0])!==null&&bn!==void 0?bn:ut[1])!==null&&Jn!==void 0?Jn:120,cr=(Fr=(Ar=ut[0])!==null&&Ar!==void 0?Ar:ut[1])!==null&&Fr!==void 0?Fr:120));return[Er,cr]},Ht=3,Sn=ut=>Ht/ut*100;var ln=ut=>{const{prefixCls:Xt,trailColor:pn=null,strokeLinecap:bn="round",gapPosition:Jn,gapDegree:Ar,width:Fr=120,type:Er,children:cr,success:ir,size:dr=Fr}=ut,[Rr,Kr]=ht(dr,"circle");let{strokeWidth:xa}=ut;xa===void 0&&(xa=Math.max(Sn(Rr),6));const lr={width:Rr,height:Kr,fontSize:Rr*.15+6},ao=le.useMemo(()=>{if(Ar||Ar===0)return Ar;if(Er==="dashboard")return 75},[Ar,Er]),no=Jn||Er==="dashboard"&&"bottom"||void 0,Xr=Object.prototype.toString.call(ut.strokeColor)==="[object Object]",rn=Wt({success:ir,strokeColor:ut.strokeColor}),di=ve()(`${Xt}-inner`,{[`${Xt}-circle-gradient`]:Xr}),ha=le.createElement(ot,{percent:Rt(ut),strokeWidth:xa,trailWidth:xa,strokeColor:rn,strokeLinecap:bn,trailColor:pn,prefixCls:Xt,gapDegree:ao,gapPosition:no});return le.createElement("div",{className:di,style:lr},Rr<=20?le.createElement(dt.Z,{title:cr},le.createElement("span",null,ha)):le.createElement(le.Fragment,null,ha,cr))},zn=function(ut,Xt){var pn={};for(var bn in ut)Object.prototype.hasOwnProperty.call(ut,bn)&&Xt.indexOf(bn)<0&&(pn[bn]=ut[bn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,bn=Object.getOwnPropertySymbols(ut);Jn{let Xt=[];return Object.keys(ut).forEach(pn=>{const bn=parseFloat(pn.replace(/%/g,""));isNaN(bn)||Xt.push({key:bn,value:ut[pn]})}),Xt=Xt.sort((pn,bn)=>pn.key-bn.key),Xt.map(pn=>{let{key:bn,value:Jn}=pn;return`${Jn} ${bn}%`}).join(", ")},Hn=(ut,Xt)=>{const{from:pn=Bt.presetPrimaryColors.blue,to:bn=Bt.presetPrimaryColors.blue,direction:Jn=Xt==="rtl"?"to left":"to right"}=ut,Ar=zn(ut,["from","to","direction"]);if(Object.keys(Ar).length!==0){const Fr=yt(Ar);return{backgroundImage:`linear-gradient(${Jn}, ${Fr})`}}return{backgroundImage:`linear-gradient(${Jn}, ${pn}, ${bn})`}};var Xe=ut=>{const{prefixCls:Xt,direction:pn,percent:bn,size:Jn,strokeWidth:Ar,strokeColor:Fr,strokeLinecap:Er="round",children:cr,trailColor:ir=null,success:dr}=ut,Rr=Fr&&typeof Fr!="string"?Hn(Fr,pn):{backgroundColor:Fr},Kr=Er==="square"||Er==="butt"?0:void 0,xa={backgroundColor:ir||void 0,borderRadius:Kr},lr=Jn!=null?Jn:[-1,Ar||(Jn==="small"?6:8)],[ao,no]=ht(lr,"line",{strokeWidth:Ar}),Xr=Object.assign({width:`${lt(bn)}%`,height:no,borderRadius:Kr},Rr),rn=at(ut),di={width:`${lt(rn)}%`,height:no,borderRadius:Kr,backgroundColor:dr==null?void 0:dr.strokeColor},ha={width:ao<0?"100%":ao,height:no};return le.createElement(le.Fragment,null,le.createElement("div",{className:`${Xt}-outer`,style:ha},le.createElement("div",{className:`${Xt}-inner`,style:xa},le.createElement("div",{className:`${Xt}-bg`,style:Xr}),rn!==void 0?le.createElement("div",{className:`${Xt}-success-bg`,style:di}):null)),cr)},Fe=ut=>{const{size:Xt,steps:pn,percent:bn=0,strokeWidth:Jn=8,strokeColor:Ar,trailColor:Fr=null,prefixCls:Er,children:cr}=ut,ir=Math.round(pn*(bn/100)),dr=Xt==="small"?2:14,Rr=Xt!=null?Xt:[dr,Jn],[Kr,xa]=ht(Rr,"step",{steps:pn,strokeWidth:Jn}),lr=Kr/pn,ao=new Array(pn);for(let no=0;no{const Xt=ut?"100%":"-100%";return new he.Keyframes(`antProgress${ut?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Xt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Xt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},_e=ut=>{const{componentCls:Xt,iconCls:pn}=ut;return{[Xt]:Object.assign(Object.assign({},(0,de.Wf)(ut)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ut.fontSize,marginInlineEnd:ut.marginXS,marginBottom:ut.marginXS},[`${Xt}-outer`]:{display:"inline-block",width:"100%"},[`&${Xt}-show-info`]:{[`${Xt}-outer`]:{marginInlineEnd:`calc(-2em - ${ut.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ut.paddingXS}px)`}},[`${Xt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ut.remainingColor,borderRadius:ut.lineBorderRadius},[`${Xt}-inner:not(${Xt}-circle-gradient)`]:{[`${Xt}-circle-path`]:{stroke:ut.defaultColor}},[`${Xt}-success-bg, ${Xt}-bg`]:{position:"relative",backgroundColor:ut.defaultColor,borderRadius:ut.lineBorderRadius,transition:`all ${ut.motionDurationSlow} ${ut.motionEaseInOutCirc}`},[`${Xt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ut.colorSuccess},[`${Xt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ut.marginXS,color:ut.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[pn]:{fontSize:ut.fontSize}},[`&${Xt}-status-active`]:{[`${Xt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ut.colorBgContainer,borderRadius:ut.lineBorderRadius,opacity:0,animationName:gt(),animationDuration:ut.progressActiveMotionDuration,animationTimingFunction:ut.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Xt}-rtl${Xt}-status-active`]:{[`${Xt}-bg::before`]:{animationName:gt(!0)}},[`&${Xt}-status-exception`]:{[`${Xt}-bg`]:{backgroundColor:ut.colorError},[`${Xt}-text`]:{color:ut.colorError}},[`&${Xt}-status-exception ${Xt}-inner:not(${Xt}-circle-gradient)`]:{[`${Xt}-circle-path`]:{stroke:ut.colorError}},[`&${Xt}-status-success`]:{[`${Xt}-bg`]:{backgroundColor:ut.colorSuccess},[`${Xt}-text`]:{color:ut.colorSuccess}},[`&${Xt}-status-success ${Xt}-inner:not(${Xt}-circle-gradient)`]:{[`${Xt}-circle-path`]:{stroke:ut.colorSuccess}}})}},Ye=ut=>{const{componentCls:Xt,iconCls:pn}=ut;return{[Xt]:{[`${Xt}-circle-trail`]:{stroke:ut.remainingColor},[`&${Xt}-circle ${Xt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Xt}-circle ${Xt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ut.circleTextColor,fontSize:ut.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[pn]:{fontSize:`${ut.fontSize/ut.fontSizeSM}em`}},[`${Xt}-circle&-status-exception`]:{[`${Xt}-text`]:{color:ut.colorError}},[`${Xt}-circle&-status-success`]:{[`${Xt}-text`]:{color:ut.colorSuccess}}},[`${Xt}-inline-circle`]:{lineHeight:1,[`${Xt}-inner`]:{verticalAlign:"bottom"}}}},Pt=ut=>{const{componentCls:Xt}=ut;return{[Xt]:{[`${Xt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ut.progressStepMinWidth,marginInlineEnd:ut.progressStepMarginInlineEnd,backgroundColor:ut.remainingColor,transition:`all ${ut.motionDurationSlow}`,"&-active":{backgroundColor:ut.defaultColor}}}}}},ft=ut=>{const{componentCls:Xt,iconCls:pn}=ut;return{[Xt]:{[`${Xt}-small&-line, ${Xt}-small&-line ${Xt}-text ${pn}`]:{fontSize:ut.fontSizeSM}}}};var st=(0,Se.Z)("Progress",ut=>{const Xt=ut.marginXXS/2,pn=(0,qe.TS)(ut,{progressStepMarginInlineEnd:Xt,progressStepMinWidth:Xt,progressActiveMotionDuration:"2.4s"});return[_e(pn),Ye(pn),Pt(pn),ft(pn)]},ut=>({circleTextColor:ut.colorText,defaultColor:ut.colorInfo,remainingColor:ut.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),jt=function(ut,Xt){var pn={};for(var bn in ut)Object.prototype.hasOwnProperty.call(ut,bn)&&Xt.indexOf(bn)<0&&(pn[bn]=ut[bn]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,bn=Object.getOwnPropertySymbols(ut);Jn{const{prefixCls:pn,className:bn,rootClassName:Jn,steps:Ar,strokeColor:Fr,percent:Er=0,size:cr="default",showInfo:ir=!0,type:dr="line",status:Rr,format:Kr,style:xa}=ut,lr=jt(ut,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ao=le.useMemo(()=>{var kn,mn;const Hr=at(ut);return parseInt(Hr!==void 0?(kn=Hr!=null?Hr:0)===null||kn===void 0?void 0:kn.toString():(mn=Er!=null?Er:0)===null||mn===void 0?void 0:mn.toString(),10)},[Er,ut.success,ut.successPercent]),no=le.useMemo(()=>!Lt.includes(Rr)&&ao>=100?"success":Rr||"normal",[Rr,ao]),{getPrefixCls:Xr,direction:rn,progress:di}=le.useContext(Ne.E_),ha=Xr("progress",pn),[Qi,Gi]=st(ha),La=le.useMemo(()=>{if(!ir)return null;const kn=at(ut);let mn;const Hr=Kr||(jr=>`${jr}%`),Aa=dr==="line";return Kr||no!=="exception"&&no!=="success"?mn=Hr(lt(Er),lt(kn)):no==="exception"?mn=Aa?le.createElement(tt.Z,null):le.createElement(ze.Z,null):no==="success"&&(mn=Aa?le.createElement(Ce.Z,null):le.createElement(He.Z,null)),le.createElement("span",{className:`${ha}-text`,title:typeof mn=="string"?mn:void 0},mn)},[ir,Er,ao,no,dr,ha,Kr]),Wi=Array.isArray(Fr)?Fr[0]:Fr,Zi=typeof Fr=="string"||Array.isArray(Fr)?Fr:void 0;let ei;dr==="line"?ei=Ar?le.createElement(Fe,Object.assign({},ut,{strokeColor:Zi,prefixCls:ha,steps:Ar}),La):le.createElement(Xe,Object.assign({},ut,{strokeColor:Wi,prefixCls:ha,direction:rn}),La):(dr==="circle"||dr==="dashboard")&&(ei=le.createElement(ln,Object.assign({},ut,{strokeColor:Wi,prefixCls:ha,progressStatus:no}),La));const hn=ve()(ha,`${ha}-status-${no}`,`${ha}-${dr==="dashboard"&&"circle"||Ar&&"steps"||dr}`,{[`${ha}-inline-circle`]:dr==="circle"&&ht(cr,"circle")[0]<=20,[`${ha}-show-info`]:ir,[`${ha}-${cr}`]:typeof cr=="string",[`${ha}-rtl`]:rn==="rtl"},di==null?void 0:di.className,bn,Jn,Gi);return Qi(le.createElement("div",Object.assign({ref:Xt,style:Object.assign(Object.assign({},di==null?void 0:di.style),xa),className:hn,role:"progressbar","aria-valuenow":ao},(0,we.Z)(lr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ei))}),Cn=Qt},13570:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return lt}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(Rt,Wt){return Ce.createElement(ze.Z,(0,le.Z)({},Rt,{ref:Wt,icon:tt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(92310),fe=Be.n(Ne),De=Be(20068),xe=Be(42978),Ee=Be(75931),ie=Be(18929),y=Be(10228),a=Be(26112);function ee(at,Rt){var Wt=at.disabled,ht=at.prefixCls,Ht=at.character,Sn=at.characterRender,Tn=at.index,ln=at.count,zn=at.value,yt=at.allowHalf,Hn=at.focused,Wn=at.onHover,Xe=at.onClick,vn=function(Ye){Wn(Ye,Tn)},Fe=function(Ye){Xe(Ye,Tn)},he=function(Ye){Ye.keyCode===y.Z.ENTER&&Xe(Ye,Tn)},de=Tn+1,Se=new Set([ht]);zn===0&&Tn===0&&Hn?Se.add("".concat(ht,"-focused")):yt&&zn+.5>=de&&znTn?"true":"false","aria-posinset":Tn+1,"aria-setsize":ln,tabIndex:Wt?-1:0},Ce.createElement("div",{className:"".concat(ht,"-first")},qe),Ce.createElement("div",{className:"".concat(ht,"-second")},qe)));return Sn&&(gt=Sn(gt,at)),gt}var E=Ce.forwardRef(ee);function te(){var at=Ce.useRef({});function Rt(ht){return at.current[ht]}function Wt(ht){return function(Ht){at.current[ht]=Ht}}return[Rt,Wt]}function ne(at){var Rt=at.pageXOffset,Wt="scrollLeft";if(typeof Rt!="number"){var ht=at.document;Rt=ht.documentElement[Wt],typeof Rt!="number"&&(Rt=ht.body[Wt])}return Rt}function ae(at){var Rt,Wt,ht=at.ownerDocument,Ht=ht.body,Sn=ht&&ht.documentElement,Tn=at.getBoundingClientRect();return Rt=Tn.left,Wt=Tn.top,Rt-=Sn.clientLeft||Ht.clientLeft||0,Wt-=Sn.clientTop||Ht.clientTop||0,{left:Rt,top:Wt}}function ge(at){var Rt=ae(at),Wt=at.ownerDocument,ht=Wt.defaultView||Wt.parentWindow;return Rt.left+=ne(ht),Rt.left}var Le=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Pe(at,Rt){var Wt,ht=at.prefixCls,Ht=ht===void 0?"rc-rate":ht,Sn=at.className,Tn=at.defaultValue,ln=at.value,zn=at.count,yt=zn===void 0?5:zn,Hn=at.allowHalf,Wn=Hn===void 0?!1:Hn,Xe=at.allowClear,vn=Xe===void 0?!0:Xe,Fe=at.character,he=Fe===void 0?"\u2605":Fe,de=at.characterRender,Se=at.disabled,qe=at.direction,gt=qe===void 0?"ltr":qe,_e=at.tabIndex,Ye=_e===void 0?0:_e,Pt=at.autoFocus,ft=at.onHoverChange,st=at.onChange,jt=at.onFocus,Qn=at.onBlur,Lt=at.onKeyDown,on=at.onMouseLeave,Qt=(0,Ee.Z)(at,Le),Cn=te(),ut=(0,xe.Z)(Cn,2),Xt=ut[0],pn=ut[1],bn=Ce.useRef(null),Jn=function(){if(!Se){var jr;(jr=bn.current)===null||jr===void 0||jr.focus()}};Ce.useImperativeHandle(Rt,function(){return{focus:Jn,blur:function(){if(!Se){var jr;(jr=bn.current)===null||jr===void 0||jr.blur()}}}});var Ar=(0,ie.Z)(Tn||0,{value:ln}),Fr=(0,xe.Z)(Ar,2),Er=Fr[0],cr=Fr[1],ir=(0,ie.Z)(null),dr=(0,xe.Z)(ir,2),Rr=dr[0],Kr=dr[1],xa=function(jr,Fa){var Na=gt==="rtl",_a=jr+1;if(Wn){var ko=Xt(jr),vi=ge(ko),Nr=ko.clientWidth;(Na&&Fa-vi>Nr/2||!Na&&Fa-vi0&&!Na||Fa===y.Z.RIGHT&&_a>0&&Na?(Wn?_a-=.5:_a-=1,lr(_a),jr.preventDefault()):Fa===y.Z.LEFT&&_a{const{componentCls:Rt}=at;return{[`${Rt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:at.marginXS},"> div":{transition:`all ${at.motionDurationMid}, outline 0s`,"&:hover":{transform:at.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${at.lineWidth}px dashed ${at.starColor}`,transform:at.starHoverScale}},"&-first, &-second":{color:at.starBg,transition:`all ${at.motionDurationMid}`,userSelect:"none",[at.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Rt}-star-first, &-half ${Rt}-star-second`]:{opacity:1},[`&-half ${Rt}-star-first, &-full ${Rt}-star-second`]:{color:"inherit"}}}},At=at=>({[`&-rtl${at.componentCls}`]:{direction:"rtl"}}),ot=at=>{const{componentCls:Rt}=at;return{[Rt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Te.Wf)(at)),{display:"inline-block",margin:0,padding:0,color:at.starColor,fontSize:at.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Rt} ${Rt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Nt(at)),{[`+ ${Rt}-text`]:{display:"inline-block",marginInlineStart:at.marginXS,fontSize:at.fontSize}}),At(at))}};var bt=(0,vt.Z)("Rate",at=>{const Rt=(0,Qe.TS)(at,{});return[ot(Rt)]},at=>({starColor:at.yellow6,starSize:at.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:at.colorFillContent})),dt=function(at,Rt){var Wt={};for(var ht in at)Object.prototype.hasOwnProperty.call(at,ht)&&Rt.indexOf(ht)<0&&(Wt[ht]=at[ht]);if(at!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,ht=Object.getOwnPropertySymbols(at);Ht{const{prefixCls:Wt,className:ht,rootClassName:Ht,style:Sn,tooltips:Tn,character:ln=Ce.createElement(we,null)}=at,zn=dt(at,["prefixCls","className","rootClassName","style","tooltips","character"]),yt=(Se,qe)=>{let{index:gt}=qe;return Tn?Ce.createElement(nt.Z,{title:Tn[gt]},Se):Se},{getPrefixCls:Hn,direction:Wn,rate:Xe}=Ce.useContext(We.E_),vn=Hn("rate",Wt),[Fe,he]=bt(vn),de=Object.assign(Object.assign({},Xe==null?void 0:Xe.style),Sn);return Fe(Ce.createElement(Ge,Object.assign({ref:Rt,character:ln,characterRender:yt},zn,{className:fe()(ht,Ht,he,Xe==null?void 0:Xe.className),style:de,prefixCls:vn,direction:Wn})))})},61621:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return he}});var le=Be(92310),Ce=Be.n(le),He=Be(59301),tt=Be(36355),ze=Be(2738),ve=de=>{const{prefixCls:Se,className:qe,style:gt,size:_e,shape:Ye}=de,Pt=Ce()({[`${Se}-lg`]:_e==="large",[`${Se}-sm`]:_e==="small"}),ft=Ce()({[`${Se}-circle`]:Ye==="circle",[`${Se}-square`]:Ye==="square",[`${Se}-round`]:Ye==="round"}),st=He.useMemo(()=>typeof _e=="number"?{width:_e,height:_e,lineHeight:`${_e}px`}:{},[_e]);return He.createElement("span",{className:Ce()(Se,Pt,ft,qe),style:Object.assign(Object.assign({},st),gt)})},we=Be(36237),Ne=Be(83116),fe=Be(37613);const De=new we.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),xe=de=>({height:de,lineHeight:`${de}px`}),Ee=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:Se,gradientFromColor:qe,controlHeight:gt,controlHeightLG:_e,controlHeightSM:Ye}=de;return{[`${Se}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:qe},Ee(gt)),[`${Se}${Se}-circle`]:{borderRadius:"50%"},[`${Se}${Se}-lg`]:Object.assign({},Ee(_e)),[`${Se}${Se}-sm`]:Object.assign({},Ee(Ye))}},ee=de=>{const{controlHeight:Se,borderRadiusSM:qe,skeletonInputCls:gt,controlHeightLG:_e,controlHeightSM:Ye,gradientFromColor:Pt}=de;return{[`${gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:qe},y(Se)),[`${gt}-lg`]:Object.assign({},y(_e)),[`${gt}-sm`]:Object.assign({},y(Ye))}},E=de=>Object.assign({width:de},xe(de)),te=de=>{const{skeletonImageCls:Se,imageSizeBase:qe,gradientFromColor:gt,borderRadiusSM:_e}=de;return{[`${Se}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:gt,borderRadius:_e},E(qe*2)),{[`${Se}-path`]:{fill:"#bfbfbf"},[`${Se}-svg`]:Object.assign(Object.assign({},E(qe)),{maxWidth:qe*4,maxHeight:qe*4}),[`${Se}-svg${Se}-svg-circle`]:{borderRadius:"50%"}}),[`${Se}${Se}-circle`]:{borderRadius:"50%"}}},ne=(de,Se,qe)=>{const{skeletonButtonCls:gt}=de;return{[`${qe}${gt}-circle`]:{width:Se,minWidth:Se,borderRadius:"50%"},[`${qe}${gt}-round`]:{borderRadius:Se}}},ae=de=>Object.assign({width:de*2,minWidth:de*2},xe(de)),ge=de=>{const{borderRadiusSM:Se,skeletonButtonCls:qe,controlHeight:gt,controlHeightLG:_e,controlHeightSM:Ye,gradientFromColor:Pt}=de;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:Se,width:gt*2,minWidth:gt*2},ae(gt))},ne(de,gt,qe)),{[`${qe}-lg`]:Object.assign({},ae(_e))}),ne(de,_e,`${qe}-lg`)),{[`${qe}-sm`]:Object.assign({},ae(Ye))}),ne(de,Ye,`${qe}-sm`))},Le=de=>{const{componentCls:Se,skeletonAvatarCls:qe,skeletonTitleCls:gt,skeletonParagraphCls:_e,skeletonButtonCls:Ye,skeletonInputCls:Pt,skeletonImageCls:ft,controlHeight:st,controlHeightLG:jt,controlHeightSM:Qn,gradientFromColor:Lt,padding:on,marginSM:Qt,borderRadius:Cn,titleHeight:ut,blockRadius:Xt,paragraphLiHeight:pn,controlHeightXS:bn,paragraphMarginTop:Jn}=de;return{[`${Se}`]:{display:"table",width:"100%",[`${Se}-header`]:{display:"table-cell",paddingInlineEnd:on,verticalAlign:"top",[`${qe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Lt},Ee(st)),[`${qe}-circle`]:{borderRadius:"50%"},[`${qe}-lg`]:Object.assign({},Ee(jt)),[`${qe}-sm`]:Object.assign({},Ee(Qn))},[`${Se}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${gt}`]:{width:"100%",height:ut,background:Lt,borderRadius:Xt,[`+ ${_e}`]:{marginBlockStart:Qn}},[`${_e}`]:{padding:0,"> li":{width:"100%",height:pn,listStyle:"none",background:Lt,borderRadius:Xt,"+ li":{marginBlockStart:bn}}},[`${_e}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Se}-content`]:{[`${gt}, ${_e} > li`]:{borderRadius:Cn}}},[`${Se}-with-avatar ${Se}-content`]:{[`${gt}`]:{marginBlockStart:Qt,[`+ ${_e}`]:{marginBlockStart:Jn}}},[`${Se}${Se}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ge(de)),a(de)),ee(de)),te(de)),[`${Se}${Se}-block`]:{width:"100%",[`${Ye}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${Se}${Se}-active`]:{[` ${gt}, ${_e} > li, ${qe}, ${Ye}, ${Pt}, ${ft} `]:Object.assign({},ie(de))}}};var Pe=(0,Ne.Z)("Skeleton",de=>{const{componentCls:Se}=de,qe=(0,fe.TS)(de,{skeletonAvatarCls:`${Se}-avatar`,skeletonTitleCls:`${Se}-title`,skeletonParagraphCls:`${Se}-paragraph`,skeletonButtonCls:`${Se}-button`,skeletonInputCls:`${Se}-input`,skeletonImageCls:`${Se}-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:Se,colorFill:qe}=de,gt=Se,_e=qe;return{color:gt,colorGradientEnd:_e,gradientFromColor:gt,gradientToColor:_e,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:Se,className:qe,rootClassName:gt,active:_e,shape:Ye="circle",size:Pt="default"}=de,{getPrefixCls:ft}=He.useContext(tt.E_),st=ft("skeleton",Se),[jt,Qn]=Pe(st),Lt=(0,ze.Z)(de,["prefixCls","className"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:_e},qe,gt,Qn);return jt(He.createElement("div",{className:on},He.createElement(ve,Object.assign({prefixCls:`${st}-avatar`,shape:Ye,size:Pt},Lt))))},nt=de=>{const{prefixCls:Se,className:qe,rootClassName:gt,active:_e,block:Ye=!1,size:Pt="default"}=de,{getPrefixCls:ft}=He.useContext(tt.E_),st=ft("skeleton",Se),[jt,Qn]=Pe(st),Lt=(0,ze.Z)(de,["prefixCls"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:_e,[`${st}-block`]:Ye},qe,gt,Qn);return jt(He.createElement("div",{className:on},He.createElement(ve,Object.assign({prefixCls:`${st}-button`,size:Pt},Lt))))};const Te="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 Qe=de=>{const{prefixCls:Se,className:qe,rootClassName:gt,style:_e,active:Ye}=de,{getPrefixCls:Pt}=He.useContext(tt.E_),ft=Pt("skeleton",Se),[st,jt]=Pe(ft),Qn=Ce()(ft,`${ft}-element`,{[`${ft}-active`]:Ye},qe,gt,jt);return st(He.createElement("div",{className:Qn},He.createElement("div",{className:Ce()(`${ft}-image`,qe),style:_e},He.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ft}-image-svg`},He.createElement("path",{d:Te,className:`${ft}-image-path`})))))},At=de=>{const{prefixCls:Se,className:qe,rootClassName:gt,active:_e,block:Ye,size:Pt="default"}=de,{getPrefixCls:ft}=He.useContext(tt.E_),st=ft("skeleton",Se),[jt,Qn]=Pe(st),Lt=(0,ze.Z)(de,["prefixCls"]),on=Ce()(st,`${st}-element`,{[`${st}-active`]:_e,[`${st}-block`]:Ye},qe,gt,Qn);return jt(He.createElement("div",{className:on},He.createElement(ve,Object.assign({prefixCls:`${st}-input`,size:Pt},Lt))))},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"},dt=bt,Bt=Be(7657),lt=function(Se,qe){return He.createElement(Bt.Z,(0,ot.Z)({},Se,{ref:qe,icon:dt}))},at=He.forwardRef(lt),Rt=at,ht=de=>{const{prefixCls:Se,className:qe,rootClassName:gt,style:_e,active:Ye,children:Pt}=de,{getPrefixCls:ft}=He.useContext(tt.E_),st=ft("skeleton",Se),[jt,Qn]=Pe(st),Lt=Ce()(st,`${st}-element`,{[`${st}-active`]:Ye},Qn,qe,gt),on=Pt!=null?Pt:He.createElement(Rt,null);return jt(He.createElement("div",{className:Lt},He.createElement("div",{className:Ce()(`${st}-image`,qe),style:_e},on)))},Ht=Be(94480),Tn=de=>{const Se=ft=>{const{width:st,rows:jt=2}=de;if(Array.isArray(st))return st[ft];if(jt-1===ft)return st},{prefixCls:qe,className:gt,style:_e,rows:Ye}=de,Pt=(0,Ht.Z)(Array(Ye)).map((ft,st)=>He.createElement("li",{key:st,style:{width:Se(st)}}));return He.createElement("ul",{className:Ce()(qe,gt),style:_e},Pt)},zn=de=>{let{prefixCls:Se,className:qe,width:gt,style:_e}=de;return He.createElement("h3",{className:Ce()(Se,qe),style:Object.assign({width:gt},_e)})};function yt(de){return de&&typeof de=="object"?de:{}}function Hn(de,Se){return de&&!Se?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wn(de,Se){return!de&&Se?{width:"38%"}:de&&Se?{width:"50%"}:{}}function Xe(de,Se){const qe={};return(!de||!Se)&&(qe.width="61%"),!de&&Se?qe.rows=3:qe.rows=2,qe}const vn=de=>{const{prefixCls:Se,loading:qe,className:gt,rootClassName:_e,style:Ye,children:Pt,avatar:ft=!1,title:st=!0,paragraph:jt=!0,active:Qn,round:Lt}=de,{getPrefixCls:on,direction:Qt,skeleton:Cn}=He.useContext(tt.E_),ut=on("skeleton",Se),[Xt,pn]=Pe(ut);if(qe||!("loading"in de)){const bn=!!ft,Jn=!!st,Ar=!!jt;let Fr;if(bn){const ir=Object.assign(Object.assign({prefixCls:`${ut}-avatar`},Hn(Jn,Ar)),yt(ft));Fr=He.createElement("div",{className:`${ut}-header`},He.createElement(ve,Object.assign({},ir)))}let Er;if(Jn||Ar){let ir;if(Jn){const Rr=Object.assign(Object.assign({prefixCls:`${ut}-title`},Wn(bn,Ar)),yt(st));ir=He.createElement(zn,Object.assign({},Rr))}let dr;if(Ar){const Rr=Object.assign(Object.assign({prefixCls:`${ut}-paragraph`},Xe(bn,Jn)),yt(jt));dr=He.createElement(Tn,Object.assign({},Rr))}Er=He.createElement("div",{className:`${ut}-content`},ir,dr)}const cr=Ce()(ut,{[`${ut}-with-avatar`]:bn,[`${ut}-active`]:Qn,[`${ut}-rtl`]:Qt==="rtl",[`${ut}-round`]:Lt},Cn==null?void 0:Cn.className,gt,_e,pn);return Xt(He.createElement("div",{className:cr,style:Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Ye)},Fr,Er))}return typeof Pt!="undefined"?Pt:null};vn.Button=nt,vn.Avatar=Ge,vn.Input=At,vn.Image=Qe,vn.Node=ht;var Fe=vn,he=Fe},31797:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Pe}});var le=Be(59301),Ce=Be(56762),He=Be(92343),tt=Be(92310),ze=Be.n(tt),je=Be(36355),ve=Be(61621),Ne=Ue=>{const{value:Ge,formatter:We,precision:nt,decimalSeparator:Te,groupSeparator:vt="",prefixCls:Qe}=Ue;let Nt;if(typeof We=="function")Nt=We(Ge);else{const At=String(Ge),ot=At.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||At==="-")Nt=At;else{const bt=ot[1];let dt=ot[2]||"0",Bt=ot[4]||"";dt=dt.replace(/\B(?=(\d{3})+(?!\d))/g,vt),typeof nt=="number"&&(Bt=Bt.padEnd(nt,"0").slice(0,nt>0?nt:0)),Bt&&(Bt=`${Te}${Bt}`),Nt=[le.createElement("span",{key:"int",className:`${Qe}-content-value-int`},bt,dt),Bt&&le.createElement("span",{key:"decimal",className:`${Qe}-content-value-decimal`},Bt)]}}return le.createElement("span",{className:`${Qe}-content-value`},Nt)},fe=Be(17313),De=Be(83116),xe=Be(37613);const Ee=Ue=>{const{componentCls:Ge,marginXXS:We,padding:nt,colorTextDescription:Te,titleFontSize:vt,colorTextHeading:Qe,contentFontSize:Nt,fontFamily:At}=Ue;return{[`${Ge}`]:Object.assign(Object.assign({},(0,fe.Wf)(Ue)),{[`${Ge}-title`]:{marginBottom:We,color:Te,fontSize:vt},[`${Ge}-skeleton`]:{paddingTop:nt},[`${Ge}-content`]:{color:Qe,fontSize:Nt,fontFamily:At,[`${Ge}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Ge}-content-prefix, ${Ge}-content-suffix`]:{display:"inline-block"},[`${Ge}-content-prefix`]:{marginInlineEnd:We},[`${Ge}-content-suffix`]:{marginInlineStart:We}}})}};var ie=(0,De.Z)("Statistic",Ue=>{const Ge=(0,xe.TS)(Ue,{});return[Ee(Ge)]},Ue=>{const{fontSizeHeading3:Ge,fontSize:We}=Ue;return{titleFontSize:We,contentFontSize:Ge}}),a=Ue=>{const{prefixCls:Ge,className:We,rootClassName:nt,style:Te,valueStyle:vt,value:Qe=0,title:Nt,valueRender:At,prefix:ot,suffix:bt,loading:dt=!1,onMouseEnter:Bt,onMouseLeave:lt,decimalSeparator:at=".",groupSeparator:Rt=","}=Ue,{getPrefixCls:Wt,direction:ht,statistic:Ht}=le.useContext(je.E_),Sn=Wt("statistic",Ge),[Tn,ln]=ie(Sn),zn=le.createElement(Ne,Object.assign({decimalSeparator:at,groupSeparator:Rt,prefixCls:Sn},Ue,{value:Qe})),yt=ze()(Sn,{[`${Sn}-rtl`]:ht==="rtl"},Ht==null?void 0:Ht.className,We,nt,ln);return Tn(le.createElement("div",{className:yt,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),Te),onMouseEnter:Bt,onMouseLeave:lt},Nt&&le.createElement("div",{className:`${Sn}-title`},Nt),le.createElement(ve.Z,{paragraph:!1,loading:dt,className:`${Sn}-skeleton`},le.createElement("div",{style:vt,className:`${Sn}-content`},ot&&le.createElement("span",{className:`${Sn}-content-prefix`},ot),At?At(zn):zn,bt&&le.createElement("span",{className:`${Sn}-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 We=Ue;const nt=/\[[^\]]*]/g,Te=(Ge.match(nt)||[]).map(At=>At.slice(1,-1)),vt=Ge.replace(nt,"[]"),Qe=ee.reduce((At,ot)=>{let[bt,dt]=ot;if(At.includes(bt)){const Bt=Math.floor(We/dt);return We-=Bt*dt,At.replace(new RegExp(`${bt}+`,"g"),lt=>{const at=lt.length;return Bt.toString().padStart(at,"0")})}return At},vt);let Nt=0;return Qe.replace(nt,()=>{const At=Te[Nt];return Nt+=1,At})}function te(Ue,Ge){const{format:We=""}=Ge,nt=new Date(Ue).getTime(),Te=Date.now(),vt=Math.max(nt-Te,0);return E(vt,We)}const ne=1e3/30;function ae(Ue){return new Date(Ue).getTime()}const ge=Ue=>{const{value:Ge,format:We="HH:mm:ss",onChange:nt,onFinish:Te}=Ue,vt=(0,Ce.Z)(),Qe=le.useRef(null),Nt=()=>{Te==null||Te(),Qe.current&&(clearInterval(Qe.current),Qe.current=null)},At=()=>{const dt=ae(Ge);dt>=Date.now()&&(Qe.current=setInterval(()=>{vt(),nt==null||nt(dt-Date.now()),dt(At(),()=>{Qe.current&&(clearInterval(Qe.current),Qe.current=null)}),[Ge]);const ot=(dt,Bt)=>te(dt,Object.assign(Object.assign({},Bt),{format:We})),bt=dt=>(0,He.Tm)(dt,{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(Yt,Dt,Be){"use strict";Be.d(Dt,{N:function(){return le}});const le=Ce=>({color:Ce.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ce.motionDurationSlow}`,"&:focus, &:hover":{color:Ce.colorLinkHover},"&:active":{color:Ce.colorLinkActive}})},1710:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return a0}});var le={},Ce="rc-table-internal-hook",He=Be(42978),tt=Be(6089),ze=Be(34280),je=Be(13697),ve=Be(59301),we=Be(4676);function Ne(Je){var et=ve.createContext(void 0),Et=function(qt){var $t=qt.value,Pn=qt.children,Fn=ve.useRef($t);Fn.current=$t;var wn=ve.useState(function(){return{getValue:function(){return Fn.current},listeners:new Set}}),Kn=(0,He.Z)(wn,1),er=Kn[0];return(0,ze.Z)(function(){(0,we.unstable_batchedUpdates)(function(){er.listeners.forEach(function(Zn){Zn($t)})})},[$t]),ve.createElement(et.Provider,{value:er},Pn)};return{Context:et,Provider:Et,defaultValue:Je}}function fe(Je,et){var Et=(0,tt.Z)(typeof et=="function"?et:function(Zn){if(et===void 0)return Zn;if(!Array.isArray(et))return Zn[et];var Cr={};return et.forEach(function(hr){Cr[hr]=Zn[hr]}),Cr}),Tt=ve.useContext(Je==null?void 0:Je.Context),qt=Tt||{},$t=qt.listeners,Pn=qt.getValue,Fn=ve.useRef();Fn.current=Et(Tt?Pn():Je==null?void 0:Je.defaultValue);var wn=ve.useState({}),Kn=(0,He.Z)(wn,2),er=Kn[1];return(0,ze.Z)(function(){if(!Tt)return;function Zn(Cr){var hr=Et(Cr);(0,je.Z)(Fn.current,hr,!0)||er({})}return $t.add(Zn),function(){$t.delete(Zn)}},[Tt]),Fn.current}var De=Be(54476),xe=Be(8654);function Ee(){var Je=ve.createContext(null);function et(){return ve.useContext(Je)}function Et(qt,$t){var Pn=(0,xe.Yr)(qt),Fn=function(Kn,er){var Zn=Pn?{ref:er}:{},Cr=ve.useRef(0),hr=ve.useRef(Kn),Br=et();return Br!==null?ve.createElement(qt,(0,De.Z)({},Kn,Zn)):((!$t||$t(hr.current,Kn))&&(Cr.current+=1),hr.current=Kn,ve.createElement(Je.Provider,{value:Cr.current},ve.createElement(qt,(0,De.Z)({},Kn,Zn))))};return Pn?ve.forwardRef(Fn):Fn}function Tt(qt,$t){var Pn=(0,xe.Yr)(qt),Fn=function(Kn,er){var Zn=Pn?{ref:er}:{};return et(),ve.createElement(qt,(0,De.Z)({},Kn,Zn))};return Pn?ve.memo(ve.forwardRef(Fn),$t):ve.memo(Fn,$t)}return{makeImmutable:Et,responseImmutable:Tt,useImmutableMark:et}}var ie=Ee(),y=ie.makeImmutable,a=ie.responseImmutable,ee=ie.useImmutableMark,E=Ee(),te=E.makeImmutable,ne=E.responseImmutable,ae=E.useImmutableMark,ge=Ne(),Le=ge;function Pe(Je,et){var Et=ve.useRef(0);Et.current+=1;var Tt=ve.useRef(Je),qt=[];Object.keys(Je||{}).map(function(Pn){var Fn;(Je==null?void 0:Je[Pn])!==((Fn=Tt.current)===null||Fn===void 0?void 0:Fn[Pn])&&qt.push(Pn)}),Tt.current=Je;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 Je=Pe();return ve.createElement("h1",null,"Render Times: ",Je)});Ge.displayName="RenderBlock";var We=Be(76190),nt=Be(33885),Te=Be(20068),vt=Be(92310),Qe=Be.n(vt),Nt=Be(80547),At=Be(97938),ot=Be(48736),bt=ve.createContext({renderWithProps:!1}),dt=bt,Bt="RC_TABLE_KEY";function lt(Je){return Je==null?[]:Array.isArray(Je)?Je:[Je]}function at(Je){var et=[],Et={};return Je.forEach(function(Tt){for(var qt=Tt||{},$t=qt.key,Pn=qt.dataIndex,Fn=$t||lt(Pn).join("-")||Bt;Et[Fn];)Fn="".concat(Fn,"_next");Et[Fn]=!0,et.push(Fn)}),et}function Rt(Je){return Je!=null}function Wt(Je){return Je&&(0,We.Z)(Je)==="object"&&!Array.isArray(Je)&&!ve.isValidElement(Je)}function ht(Je,et,Et,Tt,qt,$t){var Pn=ve.useContext(dt),Fn=ae(),wn=(0,Nt.Z)(function(){if(Rt(Tt))return[Tt];var Kn=et==null||et===""?[]:Array.isArray(et)?et:[et],er=(0,At.Z)(Je,Kn),Zn=er,Cr=void 0;if(qt){var hr=qt(er,Je,Et);Wt(hr)?(Zn=hr.children,Cr=hr.props,Pn.renderWithProps=!0):Zn=hr}return[Zn,Cr]},[Fn,Je,Tt,et,qt,Et],function(Kn,er){if($t){var Zn=(0,He.Z)(Kn,2),Cr=Zn[1],hr=(0,He.Z)(er,2),Br=hr[1];return $t(Br,Cr)}return Pn.renderWithProps?!0:!(0,je.Z)(Kn,er,!0)});return wn}function Ht(Je,et,Et,Tt){var qt=Je+et-1;return Je<=Tt&&qt>=Et}function Sn(Je,et){return fe(Le,function(Et){var Tt=Ht(Je,et||1,Et.hoverStartRow,Et.hoverEndRow);return[Tt,Et.onHover]})}var Tn=function(et){var Et=et.ellipsis,Tt=et.rowType,qt=et.children,$t,Pn=Et===!0?{showTitle:!0}:Et;return Pn&&(Pn.showTitle||Tt==="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(Je){var et,Et,Tt,qt,$t,Pn,Fn,wn,Kn=Je.component,er=Je.children,Zn=Je.ellipsis,Cr=Je.scope,hr=Je.prefixCls,Br=Je.className,na=Je.align,zr=Je.record,ea=Je.render,Vr=Je.dataIndex,la=Je.renderIndex,za=Je.shouldCellUpdate,Xa=Je.index,Ca=Je.rowType,io=Je.colSpan,Eo=Je.rowSpan,da=Je.fixLeft,Ea=Je.fixRight,ma=Je.firstFixLeft,sa=Je.lastFixLeft,ba=Je.firstFixRight,$a=Je.lastFixRight,Wo=Je.appendNode,yo=Je.additionalProps,Ja=yo===void 0?{}:yo,Oo=Je.isSticky,qo="".concat(hr,"-cell"),$i=fe(Le,["supportSticky","allColumnsFixedLeft"]),mi=$i.supportSticky,fs=$i.allColumnsFixedLeft,Is=ht(zr,Vr,la,er,ea,za),Fo=(0,He.Z)(Is,2),$s=Fo[0],Li=Fo[1],es={},rs=typeof da=="number"&&mi,ul=typeof Ea=="number"&&mi;rs&&(es.position="sticky",es.left=da),ul&&(es.position="sticky",es.right=Ea);var Ba=(et=(Et=(Tt=Li==null?void 0:Li.colSpan)!==null&&Tt!==void 0?Tt:Ja.colSpan)!==null&&Et!==void 0?Et:io)!==null&&et!==void 0?et:1,ro=(qt=($t=(Pn=Li==null?void 0:Li.rowSpan)!==null&&Pn!==void 0?Pn:Ja.rowSpan)!==null&&$t!==void 0?$t:Eo)!==null&&qt!==void 0?qt:1,eo=Sn(Xa,ro),Ra=(0,He.Z)(eo,2),Ii=Ra[0],ja=Ra[1],Bo=function(aa){var tl;zr&&ja(Xa,Xa+ro-1),Ja==null||(tl=Ja.onMouseEnter)===null||tl===void 0||tl.call(Ja,aa)},ri=function(aa){var tl;zr&&ja(-1,-1),Ja==null||(tl=Ja.onMouseLeave)===null||tl===void 0||tl.call(Ja,aa)};if(Ba===0||ro===0)return null;var si=(Fn=Ja.title)!==null&&Fn!==void 0?Fn:Tn({rowType:Ca,ellipsis:Zn,children:$s}),GA=Qe()(qo,Br,(wn={},(0,Te.Z)(wn,"".concat(qo,"-fix-left"),rs&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-left-first"),ma&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-left-last"),sa&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-left-all"),sa&&fs&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-right"),ul&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-right-first"),ba&&mi),(0,Te.Z)(wn,"".concat(qo,"-fix-right-last"),$a&&mi),(0,Te.Z)(wn,"".concat(qo,"-ellipsis"),Zn),(0,Te.Z)(wn,"".concat(qo,"-with-append"),Wo),(0,Te.Z)(wn,"".concat(qo,"-fix-sticky"),(rs||ul)&&Oo&&mi),(0,Te.Z)(wn,"".concat(qo,"-row-hover"),!Li&&Ii),wn),Ja.className,Li==null?void 0:Li.className),Gs={};na&&(Gs.textAlign=na);var nu=(0,nt.Z)((0,nt.Z)((0,nt.Z)((0,nt.Z)({},es),Ja.style),Gs),Li==null?void 0:Li.style),Ws=$s;return(0,We.Z)(Ws)==="object"&&!Array.isArray(Ws)&&!ve.isValidElement(Ws)&&(Ws=null),Zn&&(sa||ba)&&(Ws=ve.createElement("span",{className:"".concat(qo,"-content")},Ws)),ve.createElement(Kn,(0,De.Z)({},Li,Ja,{className:GA,style:nu,title:si,scope:Cr,onMouseEnter:Bo,onMouseLeave:ri,colSpan:Ba!==1?Ba:null,rowSpan:ro!==1?ro:null}),Wo,Ws)}var zn=ve.memo(ln);function yt(Je,et,Et,Tt,qt,$t){var Pn=Et[Je]||{},Fn=Et[et]||{},wn,Kn;Pn.fixed==="left"?wn=Tt.left[qt==="rtl"?et:Je]:Fn.fixed==="right"&&(Kn=Tt.right[qt==="rtl"?Je:et]);var er=!1,Zn=!1,Cr=!1,hr=!1,Br=Et[et+1],na=Et[Je-1],zr=!($t!=null&&$t.children);if(qt==="rtl"){if(wn!==void 0){var ea=na&&na.fixed==="left";hr=!ea&&zr}else if(Kn!==void 0){var Vr=Br&&Br.fixed==="right";Cr=!Vr&&zr}}else if(wn!==void 0){var la=Br&&Br.fixed==="left";er=!la&&zr}else if(Kn!==void 0){var za=na&&na.fixed==="right";Zn=!za&&zr}return{fixLeft:wn,fixRight:Kn,lastFixLeft:er,firstFixRight:Zn,lastFixRight:Cr,firstFixLeft:hr,isSticky:Tt.isSticky}}var Hn=ve.createContext({}),Wn=Hn;function Xe(Je){var et=Je.className,Et=Je.index,Tt=Je.children,qt=Je.colSpan,$t=qt===void 0?1:qt,Pn=Je.rowSpan,Fn=Je.align,wn=fe(Le,["prefixCls","direction"]),Kn=wn.prefixCls,er=wn.direction,Zn=ve.useContext(Wn),Cr=Zn.scrollColumnIndex,hr=Zn.stickyOffsets,Br=Zn.flattenColumns,na=Zn.columns,zr=Et+$t-1,ea=zr+1===Cr?$t+1:$t,Vr=yt(Et,Et+ea-1,Br,hr,er,na==null?void 0:na[Et]);return ve.createElement(zn,(0,De.Z)({className:et,index:Et,component:"td",prefixCls:Kn,record:null,dataIndex:null,align:Fn,colSpan:ea,rowSpan:Pn,render:function(){return Tt}},Vr))}var vn=Be(75931),Fe=["children"];function he(Je){var et=Je.children,Et=(0,vn.Z)(Je,Fe);return ve.createElement("tr",Et,et)}function de(Je){var et=Je.children;return et}de.Row=he,de.Cell=Xe;var Se=de;function qe(Je){var et=Je.children,Et=Je.stickyOffsets,Tt=Je.flattenColumns,qt=Je.columns,$t=fe(Le,"prefixCls"),Pn=Tt.length-1,Fn=Tt[Pn],wn=ve.useMemo(function(){return{stickyOffsets:Et,flattenColumns:Tt,scrollColumnIndex:Fn!=null&&Fn.scrollbar?Pn:null,columns:qt}},[Fn,Tt,Pn,Et,qt]);return ve.createElement(Wn.Provider,{value:wn},ve.createElement("tfoot",{className:"".concat($t,"-summary")},et))}var gt=ne(qe),_e=Se,Ye=Be(70425),Pt=Be(29301),ft=Be(29194),st=Be(24514),jt=Be(75152),Qn=Be(26112);function Lt(Je,et,Et,Tt,qt,$t,Pn){Je.push({record:et,indent:Et,index:Pn});var Fn=$t(et),wn=qt==null?void 0:qt.has(Fn);if(et&&Array.isArray(et[Tt])&&wn)for(var Kn=0;Kn1?ma-1:0),ba=1;ba=0;Fn-=1){var wn=et[Fn],Kn=Et&&Et[Fn],er=Kn&&Kn[ir];if(wn||er||Pn){var Zn=er||{},Cr=Zn.columnType,hr=(0,vn.Z)(Zn,Rr);qt.unshift(ve.createElement("col",(0,De.Z)({key:Fn,style:{width:wn}},hr))),Pn=!0}}return ve.createElement("colgroup",null,qt)}var xa=Kr,lr=Be(94480),ao=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function no(Je,et){return(0,ve.useMemo)(function(){for(var Et=[],Tt=0;Tt1?"colgroup":"col":null,ellipsis:zr.ellipsis,align:zr.align,component:zr.title?$t:Pn,prefixCls:er,key:hr[na]},ea,{additionalProps:Vr,rowType:"header"}))}))}di.displayName="HeaderRow";var ha=di;function Qi(Je){var et=[];function Et(Pn,Fn){var wn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;et[wn]=et[wn]||[];var Kn=Fn,er=Pn.filter(Boolean).map(function(Zn){var Cr={key:Zn.key,className:Zn.className||"",children:Zn.title,column:Zn,colStart:Kn},hr=1,Br=Zn.children;return Br&&Br.length>0&&(hr=Et(Br,Kn,wn+1).reduce(function(na,zr){return na+zr},0),Cr.hasSubColumns=!0),"colSpan"in Zn&&(hr=Zn.colSpan),"rowSpan"in Zn&&(Cr.rowSpan=Zn.rowSpan),Cr.colSpan=hr,Cr.colEnd=Cr.colStart+hr-1,et[wn].push(Cr),Kn+=hr,hr});return er}Et(Je,0);for(var Tt=et.length,qt=function(Fn){et[Fn].forEach(function(wn){!("rowSpan"in wn)&&!wn.hasSubColumns&&(wn.rowSpan=Tt-Fn)})},$t=0;$t1&&arguments[1]!==void 0?arguments[1]:"";return typeof et=="number"?et:et.endsWith("%")?Je*parseFloat(et)/100:null}function ei(Je,et){return ve.useMemo(function(){if(et&&et>0){var Et=0,Tt=0;Je.forEach(function(Kn){var er=Zi(et,Kn.width);er?Et+=er:Tt+=1});var qt=et-Et,$t=Tt,Pn=qt/Tt,Fn=0,wn=Je.map(function(Kn){var er=(0,nt.Z)({},Kn),Zn=Zi(et,er.width);if(Zn)er.width=Zn;else{var Cr=Math.floor(Pn);er.width=$t===1?qt:Cr,qt-=Cr,$t-=1}return Fn+=er.width,er});return[wn,Fn]}return[Je,et]},[Je,et])}var hn=["children"],kn=["fixed"];function mn(Je){return(0,Wi.Z)(Je).filter(function(et){return ve.isValidElement(et)}).map(function(et){var Et=et.key,Tt=et.props,qt=Tt.children,$t=(0,vn.Z)(Tt,hn),Pn=(0,nt.Z)({key:Et},$t);return qt&&(Pn.children=mn(qt)),Pn})}function Hr(Je){var et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Je.filter(function(Et){return Et&&(0,We.Z)(Et)==="object"}).reduce(function(Et,Tt,qt){var $t=Tt.fixed,Pn=$t===!0?"left":$t,Fn="".concat(et,"-").concat(qt),wn=Tt.children;return wn&&wn.length>0?[].concat((0,lr.Z)(Et),(0,lr.Z)(Hr(wn,Fn).map(function(Kn){return(0,nt.Z)({fixed:Pn},Kn)}))):[].concat((0,lr.Z)(Et),[(0,nt.Z)((0,nt.Z)({key:Fn},Tt),{},{fixed:Pn})])},[])}function Aa(Je){for(var et=!0,Et=0;Et=0;$t-=1){var Pn=Je[$t];if(qt&&Pn.fixed!=="right")qt=!1;else if(!qt&&Pn.fixed==="right"){warning(!1,"Index ".concat($t+1," of `columns` missing `fixed='right'` prop."));break}}}function jr(Je){return Je.map(function(et){var Et=et.fixed,Tt=(0,vn.Z)(et,kn),qt=Et;return Et==="left"?qt="right":Et==="right"&&(qt="left"),(0,nt.Z)({fixed:qt},Tt)})}function Fa(Je,et){var Et=Je.prefixCls,Tt=Je.columns,qt=Je.children,$t=Je.expandable,Pn=Je.expandedKeys,Fn=Je.columnTitle,wn=Je.getRowKey,Kn=Je.onTriggerExpand,er=Je.expandIcon,Zn=Je.rowExpandable,Cr=Je.expandIconColumnIndex,hr=Je.direction,Br=Je.expandRowByClick,na=Je.columnWidth,zr=Je.fixed,ea=Je.scrollWidth,Vr=ve.useMemo(function(){return Tt||mn(qt)},[Tt,qt]),la=ve.useMemo(function(){if($t){var Ea,ma=Vr.slice();if(!ma.includes(le)){var sa=Cr||0;sa>=0&&ma.splice(sa,0,le)}var ba=ma.indexOf(le);ma=ma.filter(function(Ja,Oo){return Ja!==le||Oo===ba});var $a=Vr[ba],Wo;(zr==="left"||zr)&&!Cr?Wo="left":(zr==="right"||zr)&&Cr===Vr.length?Wo="right":Wo=$a?$a.fixed:null;var yo=(Ea={},(0,Te.Z)(Ea,ir,{className:"".concat(Et,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Te.Z)(Ea,"title",Fn),(0,Te.Z)(Ea,"fixed",Wo),(0,Te.Z)(Ea,"className","".concat(Et,"-row-expand-icon-cell")),(0,Te.Z)(Ea,"width",na),(0,Te.Z)(Ea,"render",function(Oo,qo,$i){var mi=wn(qo,$i),fs=Pn.has(mi),Is=Zn?Zn(qo):!0,Fo=er({prefixCls:Et,expanded:fs,expandable:Is,record:qo,onExpand:Kn});return Br?ve.createElement("span",{onClick:function(Li){return Li.stopPropagation()}},Fo):Fo}),Ea);return ma.map(function(Ja){return Ja===le?yo:Ja})}return Vr.filter(function(Ja){return Ja!==le})},[$t,Vr,wn,Pn,er,hr]),za=ve.useMemo(function(){var Ea=la;return et&&(Ea=et(Ea)),Ea.length||(Ea=[{render:function(){return null}}]),Ea},[et,la,hr]),Xa=ve.useMemo(function(){return hr==="rtl"?jr(Hr(za)):Hr(za)},[za,hr,ea]),Ca=ei(Xa,ea),io=(0,He.Z)(Ca,2),Eo=io[0],da=io[1];return[za,Eo,da]}var Na=Fa;function _a(Je){var et,Et=Je.prefixCls,Tt=Je.record,qt=Je.onExpand,$t=Je.expanded,Pn=Je.expandable,Fn="".concat(Et,"-row-expand-icon");if(!Pn)return ve.createElement("span",{className:Qe()(Fn,"".concat(Et,"-row-spaced"))});var wn=function(er){qt(Tt,er),er.stopPropagation()};return ve.createElement("span",{className:Qe()(Fn,(et={},(0,Te.Z)(et,"".concat(Et,"-row-expanded"),$t),(0,Te.Z)(et,"".concat(Et,"-row-collapsed"),!$t),et)),onClick:wn})}function ko(Je,et,Et){var Tt=[];function qt($t){($t||[]).forEach(function(Pn,Fn){Tt.push(et(Pn,Fn)),qt(Pn[Et])})}return qt(Je),Tt}function vi(Je,et,Et){var Tt=dr(Je),qt=Tt.expandIcon,$t=Tt.expandedRowKeys,Pn=Tt.defaultExpandedRowKeys,Fn=Tt.defaultExpandAllRows,wn=Tt.expandedRowRender,Kn=Tt.onExpand,er=Tt.onExpandedRowsChange,Zn=Tt.childrenColumnName,Cr=qt||_a,hr=Zn||"children",Br=ve.useMemo(function(){return wn?"row":Je.expandable&&Je.internalHooks===Ce&&Je.expandable.__PARENT_RENDER_ICON__||et.some(function(Xa){return Xa&&(0,We.Z)(Xa)==="object"&&Xa[hr]})?"nest":!1},[!!wn,et]),na=ve.useState(function(){return Pn||(Fn?ko(et,Et,hr):[])}),zr=(0,He.Z)(na,2),ea=zr[0],Vr=zr[1],la=ve.useMemo(function(){return new Set($t||ea||[])},[$t,ea]),za=ve.useCallback(function(Xa){var Ca=Et(Xa,et.indexOf(Xa)),io,Eo=la.has(Ca);Eo?(la.delete(Ca),io=(0,lr.Z)(la)):io=[].concat((0,lr.Z)(la),[Ca]),Vr(io),Kn&&Kn(!Eo,Xa),er&&er(io)},[Et,la,et,Kn,er]);return[Tt,Br,la,Cr,hr,za]}function Nr(Je,et,Et,Tt){var qt=Je.map(function($t,Pn){return yt(Pn,Pn,Je,et,Et,Tt==null?void 0:Tt[Pn])});return(0,Nt.Z)(function(){return qt},[qt],function($t,Pn){return!(0,je.Z)($t,Pn)})}function Ya(Je){var et=(0,ve.useRef)(Je),Et=(0,ve.useState)({}),Tt=(0,He.Z)(Et,2),qt=Tt[1],$t=(0,ve.useRef)(null),Pn=(0,ve.useRef)([]);function Fn(wn){Pn.current.push(wn);var Kn=Promise.resolve();$t.current=Kn,Kn.then(function(){if($t.current===Kn){var er=Pn.current,Zn=et.current;Pn.current=[],er.forEach(function(Cr){et.current=Cr(et.current)}),$t.current=null,Zn!==et.current&&qt({})}})}return(0,ve.useEffect)(function(){return function(){$t.current=null}},[]),[et.current,Fn]}function Ei(Je){var et=(0,ve.useRef)(Je||null),Et=(0,ve.useRef)();function Tt(){window.clearTimeout(Et.current)}function qt(Pn){et.current=Pn,Tt(),Et.current=window.setTimeout(function(){et.current=null,Et.current=void 0},100)}function $t(){return et.current}return(0,ve.useEffect)(function(){return Tt},[]),[qt,$t]}function oi(){var Je=ve.useState(-1),et=(0,He.Z)(Je,2),Et=et[0],Tt=et[1],qt=ve.useState(-1),$t=(0,He.Z)(qt,2),Pn=$t[0],Fn=$t[1],wn=ve.useCallback(function(Kn,er){Tt(Kn),Fn(er)},[]);return[Et,Pn,wn]}var Io=Be(47273),Po=(0,Io.Z)()?window:null;function Vi(Je,et){var Et=(0,We.Z)(Je)==="object"?Je:{},Tt=Et.offsetHeader,qt=Tt===void 0?0:Tt,$t=Et.offsetSummary,Pn=$t===void 0?0:$t,Fn=Et.offsetScroll,wn=Fn===void 0?0:Fn,Kn=Et.getContainer,er=Kn===void 0?function(){return Po}:Kn,Zn=er()||Po;return ve.useMemo(function(){var Cr=!!Je;return{isSticky:Cr,stickyClassName:Cr?"".concat(et,"-sticky-holder"):"",offsetHeader:qt,offsetSummary:Pn,offsetScroll:wn,container:Zn}},[wn,qt,Pn,et,Zn])}function Qs(Je,et,Et){var Tt=(0,ve.useMemo)(function(){for(var qt=[],$t=[],Pn=0,Fn=0,wn=0;wn=Zn&&(Ja=Zn-Cr),Pn({scrollLeft:Ja/Zn*(er+2)}),Vr.current.x=ba.pageX},Ea=function(){if($t.current){var ba=(0,EA.os)($t.current).top,$a=ba+$t.current.offsetHeight,Wo=wn===window?document.documentElement.scrollTop+window.innerHeight:(0,EA.os)(wn).top+wn.clientHeight;$a-(0,jt.Z)()<=Wo||ba>=Wo-Fn?ea(function(yo){return(0,nt.Z)((0,nt.Z)({},yo),{},{isHiddenScrollBar:!0})}):ea(function(yo){return(0,nt.Z)((0,nt.Z)({},yo),{},{isHiddenScrollBar:!1})})}},ma=function(ba){ea(function($a){return(0,nt.Z)((0,nt.Z)({},$a),{},{scrollLeft:ba/er*Zn||0})})};return ve.useImperativeHandle(Et,function(){return{setScrollLeft:ma}}),ve.useEffect(function(){var sa=(0,Hi.Z)(document.body,"mouseup",io,!1),ba=(0,Hi.Z)(document.body,"mousemove",da,!1);return Ea(),function(){sa.remove(),ba.remove()}},[Cr,Xa]),ve.useEffect(function(){var sa=(0,Hi.Z)(wn,"scroll",Ea,!1),ba=(0,Hi.Z)(window,"resize",Ea,!1);return function(){sa.remove(),ba.remove()}},[wn]),ve.useEffect(function(){zr.isHiddenScrollBar||ea(function(sa){var ba=$t.current;return ba?(0,nt.Z)((0,nt.Z)({},sa),{},{scrollLeft:ba.scrollLeft/ba.scrollWidth*ba.clientWidth}):sa})},[zr.isHiddenScrollBar]),er<=Zn||!Cr||zr.isHiddenScrollBar?null:ve.createElement("div",{style:{height:(0,jt.Z)(),width:Zn,bottom:Fn},className:"".concat(Kn,"-sticky-scroll")},ve.createElement("div",{onMouseDown:Eo,ref:hr,className:Qe()("".concat(Kn,"-sticky-scroll-bar"),(0,Te.Z)({},"".concat(Kn,"-sticky-scroll-bar-active"),Xa)),style:{width:"".concat(Cr,"px"),transform:"translate3d(".concat(zr.scrollLeft,"px, 0, 0)")}}))},Ms=ve.forwardRef(Bl);function Or(Je){return null}var qu=Or;function lu(Je){return null}var Nl=lu,$A="rc-table",$r=[],Va={};function Mo(){return"No Data"}function Qa(Je){var et,Et=(0,nt.Z)({rowKey:"key",prefixCls:$A,emptyText:Mo},Je),Tt=Et.prefixCls,qt=Et.className,$t=Et.rowClassName,Pn=Et.style,Fn=Et.data,wn=Et.rowKey,Kn=Et.scroll,er=Et.tableLayout,Zn=Et.direction,Cr=Et.title,hr=Et.footer,Br=Et.summary,na=Et.caption,zr=Et.id,ea=Et.showHeader,Vr=Et.components,la=Et.emptyText,za=Et.onRow,Xa=Et.onHeaderRow,Ca=Et.internalHooks,io=Et.transformColumns,Eo=Et.internalRefs,da=Et.tailor,Ea=Et.sticky,ma=Fn||$r,sa=!!ma.length,ba=Ca===Ce,$a=ve.useCallback(function(Ti,As){return(0,At.Z)(Vr,Ti)||As},[Vr]),Wo=ve.useMemo(function(){return typeof wn=="function"?wn:function(Ti){var As=Ti&&Ti[wn];return As}},[wn]),yo=$a(["body"]),Ja=oi(),Oo=(0,He.Z)(Ja,3),qo=Oo[0],$i=Oo[1],mi=Oo[2],fs=vi(Et,ma,Wo),Is=(0,He.Z)(fs,6),Fo=Is[0],$s=Is[1],Li=Is[2],es=Is[3],rs=Is[4],ul=Is[5],Ba=Kn==null?void 0:Kn.x,ro=ve.useState(0),eo=(0,He.Z)(ro,2),Ra=eo[0],Ii=eo[1],ja=Na((0,nt.Z)((0,nt.Z)((0,nt.Z)({},Et),Fo),{},{expandable:!!Fo.expandedRowRender,columnTitle:Fo.columnTitle,expandedKeys:Li,getRowKey:Wo,onTriggerExpand:ul,expandIcon:es,expandIconColumnIndex:Fo.expandIconColumnIndex,direction:Zn,scrollWidth:ba&&da&&typeof Ba=="number"?Ba:null}),ba?io:null),Bo=(0,He.Z)(ja,3),ri=Bo[0],si=Bo[1],GA=Bo[2],Gs=GA!=null?GA:Ba,nu=ve.useMemo(function(){return{columns:ri,flattenColumns:si}},[ri,si]),Ws=ve.useRef(),El=ve.useRef(),aa=ve.useRef(),tl=ve.useRef(),Cc=ve.useRef(),Ni=ve.useState(!1),$o=(0,He.Z)(Ni,2),bs=$o[0],uA=$o[1],ss=ve.useState(!1),Zo=(0,He.Z)(ss,2),WA=Zo[0],TA=Zo[1],cl=Ya(new Map),nl=(0,He.Z)(cl,2),rl=nl[0],Tl=nl[1],Hu=at(si),Rl=Hu.map(function(Ti){return rl.get(Ti)}),Ns=ve.useMemo(function(){return Rl},[Rl.join("_")]),FA=iA(Ns,si.length,Zn),eA=Kn&&Rt(Kn.y),Cs=Kn&&Rt(Gs)||!!Fo.fixed,fu=Cs&&si.some(function(Ti){var As=Ti.fixed;return As}),Du=ve.useRef(),_u=Vi(Ea,Tt),hu=_u.isSticky,md=_u.offsetHeader,_d=_u.offsetSummary,Ai=_u.offsetScroll,as=_u.stickyClassName,LA=_u.container,Bs=ve.useMemo(function(){return Br==null?void 0:Br(ma)},[Br,ma]),IA=(eA||hu)&&ve.isValidElement(Bs)&&Bs.type===Se&&Bs.props.fixed,RA,Ds,mu;eA&&(Ds={overflowY:"scroll",maxHeight:Kn.y}),Cs&&(RA={overflowX:"auto"},eA||(Ds={overflowY:"hidden"}),mu={width:Gs===!0?"auto":Gs,minWidth:"100%"});var pd=ve.useCallback(function(Ti,As){(0,ft.Z)(Ws.current)&&Tl(function(ru){if(ru.get(Ti)!==As){var oc=new Map(ru);return oc.set(Ti,As),oc}return ru})},[]),vd=Ei(null),Md=(0,He.Z)(vd,2),bg=Md[0],Cg=Md[1];function Xc(Ti,As){As&&(typeof As=="function"?As(Ti):As.scrollLeft!==Ti&&(As.scrollLeft=Ti,As.scrollLeft!==Ti&&setTimeout(function(){As.scrollLeft=Ti},0)))}var pu=(0,tt.Z)(function(Ti){var As=Ti.currentTarget,ru=Ti.scrollLeft,oc=Zn==="rtl",ic=typeof ru=="number"?ru:As.scrollLeft,Ff=As||Va;if(!Cg()||Cg()===Ff){var Ng;bg(Ff),Xc(ic,El.current),Xc(ic,aa.current),Xc(ic,Cc.current),Xc(ic,(Ng=Du.current)===null||Ng===void 0?void 0:Ng.setScrollLeft)}var Dg=As||El.current;if(Dg){var Ug=Dg.scrollWidth,Og=Dg.clientWidth;if(Ug===Og){uA(!1),TA(!1);return}oc?(uA(-ic0)):(uA(ic>0),TA(ic1?na-ba:0,Wo=(0,nt.Z)((0,nt.Z)((0,nt.Z)({},io),wn),{},{flex:"0 0 ".concat(ba,"px"),width:"".concat(ba,"px"),marginRight:$a,pointerEvents:"auto"}),yo=ve.useMemo(function(){return er?ma<=1:da===0||ma===0||ma>1},[ma,da,er]);yo?Wo.visibility="hidden":er&&(Wo.height=Zn==null?void 0:Zn(ma));var Ja=yo?function(){return null}:Cr,Oo={};return(ma===0||da===0)&&(Oo.rowSpan=1,Oo.colSpan=1),ve.createElement(zn,(0,De.Z)({className:Qe()(Br,Kn),ellipsis:Et.ellipsis,align:Et.align,scope:Et.rowScope,component:"div",prefixCls:et.prefixCls,key:la,record:Fn,index:$t,renderIndex:Pn,dataIndex:hr,render:Ja,shouldCellUpdate:Et.shouldCellUpdate},za,{appendNode:Xa,additionalProps:(0,nt.Z)((0,nt.Z)({},Ca),{},{style:Wo},Oo)}))}var $u=zc,wl=["data","index","className","rowKey","style","extra","getHeight"],Dl=ve.forwardRef(function(Je,et){var Et=Je.data,Tt=Je.index,qt=Je.className,$t=Je.rowKey,Pn=Je.style,Fn=Je.extra,wn=Je.getHeight,Kn=(0,vn.Z)(Je,wl),er=Et.record,Zn=Et.indent,Cr=Et.index,hr=fe(Le,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Br=hr.scrollX,na=hr.flattenColumns,zr=hr.prefixCls,ea=hr.fixColumn,Vr=hr.componentWidth,la=ut(er,$t,Tt,Zn),za=la.rowSupportExpand,Xa=la.expanded,Ca=la.rowProps,io=la.expandedRowRender,Eo=la.expandedRowClassName,da;if(za&&Xa){var Ea=io(er,Tt,Zn+1,Xa),ma=Eo==null?void 0:Eo(er,Tt,Zn),sa={};ea&&(sa={style:(0,Te.Z)({},"--virtual-width","".concat(Vr,"px"))});var ba="".concat(zr,"-expanded-row-cell");da=ve.createElement("div",{className:Qe()("".concat(zr,"-expanded-row"),"".concat(zr,"-expanded-row-level-").concat(Zn+1),ma)},ve.createElement(zn,{component:"div",prefixCls:zr,className:Qe()(ba,(0,Te.Z)({},"".concat(ba,"-fixed"),ea)),additionalProps:sa},Ea))}var $a=(0,nt.Z)((0,nt.Z)({},Pn),{},{width:Br});Fn&&($a.position="absolute",$a.pointerEvents="none");var Wo=ve.createElement("div",(0,De.Z)({},Ca,Kn,{ref:za?null:et,className:Qe()(qt,"".concat(zr,"-row"),Ca==null?void 0:Ca.className,(0,Te.Z)({},"".concat(zr,"-row-extra"),Fn)),style:(0,nt.Z)((0,nt.Z)({},$a),Ca==null?void 0:Ca.style)}),na.map(function(yo,Ja){return ve.createElement($u,{key:Ja,rowInfo:la,column:yo,colIndex:Ja,indent:Zn,index:Tt,renderIndex:Cr,record:er,inverse:Fn,getHeight:wn})}));return za?ve.createElement("div",{ref:et},Wo,da):Wo}),Ru=ne(Dl),Gl=Ru,Wl=ve.forwardRef(function(Je,et){var Et=Je.data,Tt=Je.onScroll,qt=fe(Le,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),$t=qt.flattenColumns,Pn=qt.onColumnResize,Fn=qt.getRowKey,wn=qt.expandedKeys,Kn=qt.prefixCls,er=qt.childrenColumnName,Zn=qt.emptyNode,Cr=qt.scrollX,hr=fe(PA),Br=hr.scrollY,na=hr.listItemHeight,zr=ve.useRef(),ea=on(Et,er,wn,Fn),Vr=ve.useMemo(function(){var da=0;return $t.map(function(Ea){var ma=Ea.width,sa=Ea.key;return da+=ma,[sa,ma,da]})},[$t]),la=ve.useMemo(function(){return Vr.map(function(da){return da[2]})},[Vr]);ve.useEffect(function(){Vr.forEach(function(da){var Ea=(0,He.Z)(da,2),ma=Ea[0],sa=Ea[1];Pn(ma,sa)})},[Vr]),ve.useImperativeHandle(et,function(){var da={};return Object.defineProperty(da,"scrollLeft",{get:function(){var ma;return((ma=zr.current)===null||ma===void 0?void 0:ma.getScrollInfo().x)||0},set:function(ma){var sa;(sa=zr.current)===null||sa===void 0||sa.scrollTo({left:ma})}}),da});var za=function(Ea,ma){var sa,ba=(sa=ea[ma])===null||sa===void 0?void 0:sa.record,$a=Ea.onCell;if($a){var Wo,yo=$a(ba,ma);return(Wo=yo==null?void 0:yo.rowSpan)!==null&&Wo!==void 0?Wo:1}return 1},Xa=function(Ea){var ma=Ea.start,sa=Ea.end,ba=Ea.getSize,$a=Ea.offsetY;if(sa<0)return null;for(var Wo=$t.filter(function(Ba){return za(Ba,ma)===0}),yo=ma,Ja=function(ro){if(Wo=Wo.filter(function(eo){return za(eo,ro)===0}),!Wo.length)return yo=ro,"break"},Oo=ma;Oo>=0;Oo-=1){var qo=Ja(Oo);if(qo==="break")break}for(var $i=$t.filter(function(Ba){return za(Ba,sa)!==1}),mi=sa,fs=function(ro){if($i=$i.filter(function(eo){return za(eo,ro)!==1}),!$i.length)return mi=Math.max(ro-1,sa),"break"},Is=sa;Is1})&&$s.push(ro)},es=yo;es<=mi;es+=1)var rs=Li(es);var ul=$s.map(function(Ba){var ro=ea[Ba],eo=Fn(ro.record,Ba),Ra=function(Bo){var ri=Ba+Bo-1,si=Fn(ea[ri].record,ri),GA=ba(eo,si);return GA.bottom-GA.top},Ii=ba(eo);return ve.createElement(Gl,{key:Ba,data:ro,rowKey:eo,index:Ba,style:{top:-$a+Ii.top},extra:!0,getHeight:Ra})});return ul},Ca=ve.useMemo(function(){return{columnsOffset:la}},[la]),io="".concat(Kn,"-tbody"),Eo;return ea.length?Eo=ve.createElement(sA.Z,{fullHeight:!1,ref:zr,className:Qe()(io,"".concat(io,"-virtual")),height:Br,itemHeight:na||24,data:ea,itemKey:function(Ea){return Fn(Ea.record)},scrollWidth:Cr,onVirtualScroll:function(Ea){var ma=Ea.x;Tt({scrollLeft:ma})},extraRender:Xa},function(da,Ea,ma){var sa=Fn(da.record,Ea);return ve.createElement(Gl,(0,De.Z)({data:da,rowKey:sa,index:Ea},ma))}):Eo=ve.createElement("div",{className:Qe()("".concat(Kn,"-placeholder"))},ve.createElement(zn,{component:"div",prefixCls:Kn},Zn)),ve.createElement(xi.Provider,{value:Ca},Eo)}),Ul=ne(Wl),Al=Ul,Cu=function(et,Et){var Tt=Et.ref,qt=Et.onScroll;return ve.createElement(Al,{ref:Tt,data:et,onScroll:qt})},fA=100;function Bc(Je){var et=Je.columns,Et=Je.scroll,Tt=Je.prefixCls,qt=Tt===void 0?$A:Tt,$t=Je.className,Pn=Je.listItemHeight,Fn=Et||{},wn=Fn.x,Kn=Fn.y;typeof wn!="number"&&(wn=((et||[]).length+1)*fA),typeof Kn!="number"&&(Kn=500);var er=ve.useMemo(function(){return{scrollY:Kn,listItemHeight:Pn}},[Kn,Pn]);return ve.createElement(PA.Provider,{value:er},ve.createElement(Ks,(0,De.Z)({},Je,{className:Qe()($t,"".concat(qt,"-virtual")),scroll:(0,nt.Z)((0,nt.Z)({},Et),{},{x:wn}),components:{body:Cu},columns:et,internalHooks:Ce,tailor:!0})))}function Ol(Je){return te(Bc,Je)}var dn=Ol(),Eu=null;function BA(Je){return null}var uu=BA;function Vs(Je){return null}var cu=Vs,Pu=Be(2738),Ql=Be(68031),Ys=Be(36355),Xs=Be(93891),wc=Be(19716),ps=Be(8628),ec=Be(31724),ju=Be(58421),Da=Be(71418),ua=Be(88088);function Zt(Je){return function(Et){let{prefixCls:Tt,onExpand:qt,record:$t,expanded:Pn,expandable:Fn}=Et;const wn=`${Tt}-row-expand-icon`;return ve.createElement("button",{type:"button",onClick:Kn=>{qt($t,Kn),Kn.stopPropagation()},className:Qe()(wn,{[`${wn}-spaced`]:!Fn,[`${wn}-expanded`]:Fn&&Pn,[`${wn}-collapsed`]:Fn&&!Pn}),"aria-label":Pn?Je.collapse:Je.expand,"aria-expanded":Pn})}}var kt=Zt;function In(Je,et){return"key"in Je&&Je.key!==void 0&&Je.key!==null?Je.key:Je.dataIndex?Array.isArray(Je.dataIndex)?Je.dataIndex.join("."):Je.dataIndex:et}function yr(Je,et){return et?`${et}-${Je}`:`${Je}`}function Gr(Je,et){return typeof Je=="function"?Je(et):Je}function fa(Je,et){const Et=Gr(Je,et);return Object.prototype.toString.call(Et)==="[object Object]"?"":Et}var Ma={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"},Pr=Ma,Mr=Be(7657),Ua=function(et,Et){return ve.createElement(Mr.Z,(0,De.Z)({},et,{ref:Et,icon:Pr}))},_i=ve.forwardRef(Ua),To=_i,xo=Be(56762);function Ko(Je){const et=ve.useRef(Je),Et=(0,xo.Z)();return[()=>et.current,Tt=>{et.current=Tt,Et()}]}var zo=Be(3113),Nn=Be(24905),cn=Be(38854),gn=Be(64165),jn=Be(20834),Wr=Be(40875),ta=Be(5112),$n=Be(17574),Zr=Be(47472),wa=Be(92832);function ya(Je){let{value:et,onChange:Et,filterSearch:Tt,tablePrefixCls:qt,locale:$t}=Je;return Tt?ve.createElement("div",{className:`${qt}-filter-dropdown-search`},ve.createElement(wa.default,{prefix:ve.createElement(Zr.Z,null),placeholder:$t.filterSearchPlaceholder,onChange:Et,value:et,htmlSize:1,className:`${qt}-filter-dropdown-search-input`})):null}var po=ya,vr=Be(10228);const co=Je=>{const{keyCode:et}=Je;et===vr.Z.ENTER&&Je.stopPropagation()};var gi=ve.forwardRef((Je,et)=>ve.createElement("div",{className:Je.className,onClick:Et=>Et.stopPropagation(),onKeyDown:co,ref:et},Je.children));function it(Je){let et=[];return(Je||[]).forEach(Et=>{let{value:Tt,children:qt}=Et;et.push(Tt),qt&&(et=[].concat((0,lr.Z)(et),(0,lr.Z)(it(qt))))}),et}function Ia(Je){return Je.some(et=>{let{children:Et}=et;return Et})}function Ro(Je,et){return typeof et=="string"||typeof et=="number"?et==null?void 0:et.toString().toLowerCase().includes(Je.trim().toLowerCase()):!1}function kr(Je){let{filters:et,prefixCls:Et,filteredKeys:Tt,filterMultiple:qt,searchValue:$t,filterSearch:Pn}=Je;return et.map((Fn,wn)=>{const Kn=String(Fn.value);if(Fn.children)return{key:Kn||wn,label:Fn.text,popupClassName:`${Et}-dropdown-submenu`,children:kr({filters:Fn.children,prefixCls:Et,filteredKeys:Tt,filterMultiple:qt,searchValue:$t,filterSearch:Pn})};const er=qt?Nn.default:ta.ZP,Zn={key:Fn.value!==void 0?Kn:wn,label:ve.createElement(ve.Fragment,null,ve.createElement(er,{checked:Tt.includes(Kn)}),ve.createElement("span",null,Fn.text))};return $t.trim()?typeof Pn=="function"?Pn($t,Fn)?Zn:null:Ro($t,Fn.text)?Zn:null:Zn})}function oo(Je){var et,Et;const{tablePrefixCls:Tt,prefixCls:qt,column:$t,dropdownPrefixCls:Pn,columnKey:Fn,filterMultiple:wn,filterMode:Kn="menu",filterSearch:er=!1,filterState:Zn,triggerFilter:Cr,locale:hr,children:Br,getPopupContainer:na}=Je,{filterDropdownOpen:zr,onFilterDropdownOpenChange:ea,filterResetToDefaultFilteredValue:Vr,defaultFilteredValue:la,filterDropdownVisible:za,onFilterDropdownVisibleChange:Xa}=$t,[Ca,io]=ve.useState(!1),Eo=!!(Zn&&(!((et=Zn.filteredKeys)===null||et===void 0)&&et.length||Zn.forceFiltered)),da=ja=>{io(ja),ea==null||ea(ja),Xa==null||Xa(ja)},Ea=(Et=zr!=null?zr:za)!==null&&Et!==void 0?Et:Ca,ma=Zn==null?void 0:Zn.filteredKeys,[sa,ba]=Ko(ma||[]),$a=ja=>{let{selectedKeys:Bo}=ja;ba(Bo)},Wo=(ja,Bo)=>{let{node:ri,checked:si}=Bo;$a(wn?{selectedKeys:ja}:{selectedKeys:si&&ri.key?[ri.key]:[]})};ve.useEffect(()=>{Ca&&$a({selectedKeys:ma||[]})},[ma]);const[yo,Ja]=ve.useState([]),Oo=ja=>{Ja(ja)},[qo,$i]=ve.useState(""),mi=ja=>{const{value:Bo}=ja.target;$i(Bo)};ve.useEffect(()=>{Ca||$i("")},[Ca]);const fs=ja=>{const Bo=ja&&ja.length?ja:null;if(Bo===null&&(!Zn||!Zn.filteredKeys)||(0,je.Z)(Bo,Zn==null?void 0:Zn.filteredKeys,!0))return null;Cr({column:$t,key:Fn,filteredKeys:Bo})},Is=()=>{da(!1),fs(sa())},Fo=function(){let{confirm:ja,closeDropdown:Bo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ja&&fs([]),Bo&&da(!1),$i(""),ba(Vr?(la||[]).map(ri=>String(ri)):[])},$s=function(){let{closeDropdown:ja}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ja&&da(!1),fs(sa())},Li=ja=>{ja&&ma!==void 0&&ba(ma||[]),da(ja),!ja&&!$t.filterDropdown&&Is()},es=Qe()({[`${Pn}-menu-without-submenu`]:!Ia($t.filters||[])}),rs=ja=>{if(ja.target.checked){const Bo=it($t==null?void 0:$t.filters).map(ri=>String(ri));ba(Bo)}else ba([])},ul=ja=>{let{filters:Bo}=ja;return(Bo||[]).map((ri,si)=>{const GA=String(ri.value),Gs={title:ri.text,key:ri.value!==void 0?GA:si};return ri.children&&(Gs.children=ul({filters:ri.children})),Gs})},Ba=ja=>{var Bo;return Object.assign(Object.assign({},ja),{text:ja.title,value:ja.key,children:((Bo=ja.children)===null||Bo===void 0?void 0:Bo.map(ri=>Ba(ri)))||[]})};let ro;if(typeof $t.filterDropdown=="function")ro=$t.filterDropdown({prefixCls:`${Pn}-custom`,setSelectedKeys:ja=>$a({selectedKeys:ja}),selectedKeys:sa(),confirm:$s,clearFilters:Fo,filters:$t.filters,visible:Ea,close:()=>{da(!1)}});else if($t.filterDropdown)ro=$t.filterDropdown;else{const ja=sa()||[],Bo=()=>($t.filters||[]).length===0?ve.createElement(gn.Z,{image:gn.Z.PRESENTED_IMAGE_SIMPLE,description:hr.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Kn==="tree"?ve.createElement(ve.Fragment,null,ve.createElement(po,{filterSearch:er,value:qo,onChange:mi,tablePrefixCls:Tt,locale:hr}),ve.createElement("div",{className:`${Tt}-filter-dropdown-tree`},wn?ve.createElement(Nn.default,{checked:ja.length===it($t.filters).length,indeterminate:ja.length>0&&ja.lengthtypeof er=="function"?er(qo,Ba(si)):Ro(qo,si.title):void 0}))):ve.createElement(ve.Fragment,null,ve.createElement(po,{filterSearch:er,value:qo,onChange:mi,tablePrefixCls:Tt,locale:hr}),ve.createElement(jn.default,{selectable:!0,multiple:wn,prefixCls:`${Pn}-menu`,className:es,onSelect:$a,onDeselect:$a,selectedKeys:ja,getPopupContainer:na,openKeys:yo,onOpenChange:Oo,items:kr({filters:$t.filters||[],filterSearch:er,prefixCls:qt,filteredKeys:sa(),filterMultiple:wn,searchValue:qo})})),ri=()=>Vr?(0,je.Z)((la||[]).map(si=>String(si)),ja,!0):ja.length===0;ro=ve.createElement(ve.Fragment,null,Bo(),ve.createElement("div",{className:`${qt}-dropdown-btns`},ve.createElement(zo.ZP,{type:"link",size:"small",disabled:ri(),onClick:()=>Fo()},hr.filterReset),ve.createElement(zo.ZP,{type:"primary",size:"small",onClick:Is},hr.filterConfirm)))}$t.filterDropdown&&(ro=ve.createElement(Wr.J,{selectable:void 0},ro));const eo=()=>ve.createElement(gi,{className:`${qt}-dropdown`},ro);let Ra;typeof $t.filterIcon=="function"?Ra=$t.filterIcon(Eo):$t.filterIcon?Ra=$t.filterIcon:Ra=ve.createElement(To,null);const{direction:Ii}=ve.useContext(Ys.E_);return ve.createElement("div",{className:`${qt}-column`},ve.createElement("span",{className:`${Tt}-column-title`},Br),ve.createElement(cn.Z,{dropdownRender:eo,trigger:["click"],open:Ea,onOpenChange:Li,getPopupContainer:na,placement:Ii==="rtl"?"bottomLeft":"bottomRight"},ve.createElement("span",{role:"button",tabIndex:-1,className:Qe()(`${qt}-trigger`,{active:Eo}),onClick:ja=>{ja.stopPropagation()}},Ra)))}var ii=oo;function ys(Je,et,Et){let Tt=[];return(Je||[]).forEach((qt,$t)=>{var Pn;const Fn=yr($t,Et);if(qt.filters||"filterDropdown"in qt||"onFilter"in qt)if("filteredValue"in qt){let wn=qt.filteredValue;"filterDropdown"in qt||(wn=(Pn=wn==null?void 0:wn.map(String))!==null&&Pn!==void 0?Pn:wn),Tt.push({column:qt,key:In(qt,Fn),filteredKeys:wn,forceFiltered:qt.filtered})}else Tt.push({column:qt,key:In(qt,Fn),filteredKeys:et&&qt.defaultFilteredValue?qt.defaultFilteredValue:void 0,forceFiltered:qt.filtered});"children"in qt&&(Tt=[].concat((0,lr.Z)(Tt),(0,lr.Z)(ys(qt.children,et,Fn))))}),Tt}function Xi(Je,et,Et,Tt,qt,$t,Pn,Fn){return Et.map((wn,Kn)=>{const er=yr(Kn,Fn),{filterMultiple:Zn=!0,filterMode:Cr,filterSearch:hr}=wn;let Br=wn;if(Br.filters||Br.filterDropdown){const na=In(Br,er),zr=Tt.find(ea=>{let{key:Vr}=ea;return na===Vr});Br=Object.assign(Object.assign({},Br),{title:ea=>ve.createElement(ii,{tablePrefixCls:Je,prefixCls:`${Je}-filter`,dropdownPrefixCls:et,column:Br,columnKey:na,filterState:zr,filterMultiple:Zn,filterMode:Cr,filterSearch:hr,triggerFilter:$t,locale:qt,getPopupContainer:Pn},Gr(wn.title,ea))})}return"children"in Br&&(Br=Object.assign(Object.assign({},Br),{children:Xi(Je,et,Br.children,Tt,qt,$t,Pn,er)})),Br})}function Ji(Je){const et={};return Je.forEach(Et=>{let{key:Tt,filteredKeys:qt,column:$t}=Et;const{filters:Pn,filterDropdown:Fn}=$t;if(Fn)et[Tt]=qt||null;else if(Array.isArray(qt)){const wn=it(Pn);et[Tt]=wn.filter(Kn=>qt.includes(String(Kn)))}else et[Tt]=null}),et}function Zl(Je,et){return et.reduce((Et,Tt)=>{const{column:{onFilter:qt,filters:$t},filteredKeys:Pn}=Tt;return qt&&Pn&&Pn.length?Et.filter(Fn=>Pn.some(wn=>{const Kn=it($t),er=Kn.findIndex(Cr=>String(Cr)===String(wn)),Zn=er!==-1?Kn[er]:wn;return qt(Zn,Fn)})):Et},Je)}const wA=Je=>Je.flatMap(et=>"children"in et?[et].concat((0,lr.Z)(wA(et.children||[]))):[et]);function us(Je){let{prefixCls:et,dropdownPrefixCls:Et,mergedColumns:Tt,onFilterChange:qt,getPopupContainer:$t,locale:Pn}=Je;const Fn=ve.useMemo(()=>wA(Tt||[]),[Tt]),[wn,Kn]=ve.useState(()=>ys(Fn,!0)),er=ve.useMemo(()=>{const Br=ys(Fn,!1);if(Br.length===0)return Br;let na=!0,zr=!0;if(Br.forEach(ea=>{let{filteredKeys:Vr}=ea;Vr!==void 0?na=!1:zr=!1}),na){const ea=(Fn||[]).map((Vr,la)=>In(Vr,yr(la)));return wn.filter(Vr=>{let{key:la}=Vr;return ea.includes(la)}).map(Vr=>{const la=Fn[ea.findIndex(za=>za===Vr.key)];return Object.assign(Object.assign({},Vr),{column:Object.assign(Object.assign({},Vr.column),la),forceFiltered:la.filtered})})}return Br},[Fn,wn]),Zn=ve.useMemo(()=>Ji(er),[er]),Cr=Br=>{const na=er.filter(zr=>{let{key:ea}=zr;return ea!==Br.key});na.push(Br),Kn(na),qt(Ji(na),na)};return[Br=>Xi(et,Et,Br,er,Pn,Cr,$t),er,Zn]}var yl=us;function va(Je,et,Et){const Tt=ve.useRef({});function qt($t){if(!Tt.current||Tt.current.data!==Je||Tt.current.childrenColumnName!==et||Tt.current.getRowKey!==Et){let Fn=function(wn){wn.forEach((Kn,er)=>{const Zn=Et(Kn,er);Pn.set(Zn,Kn),Kn&&typeof Kn=="object"&&et in Kn&&Fn(Kn[et]||[])})};const Pn=new Map;Fn(Je),Tt.current={data:Je,childrenColumnName:et,kvMap:Pn,getRowKey:Et}}return Tt.current.kvMap.get($t)}return[qt]}var ti=Be(50371),Fi=function(Je,et){var Et={};for(var Tt in Je)Object.prototype.hasOwnProperty.call(Je,Tt)&&et.indexOf(Tt)<0&&(Et[Tt]=Je[Tt]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Tt=Object.getOwnPropertySymbols(Je);qt{const $t=Je[qt];typeof $t!="function"&&(Et[qt]=$t)}),Et}function hA(Je,et,Et){const Tt=Et&&typeof Et=="object"?Et:{},{total:qt=0}=Tt,$t=Fi(Tt,["total"]),[Pn,Fn]=(0,ve.useState)(()=>({current:"defaultCurrent"in $t?$t.defaultCurrent:1,pageSize:"defaultPageSize"in $t?$t.defaultPageSize:cs})),wn=(0,ti.Z)(Pn,$t,{total:qt>0?qt:Je}),Kn=Math.ceil((qt||Je)/wn.pageSize);wn.current>Kn&&(wn.current=Kn||1);const er=(Cr,hr)=>{Fn({current:Cr!=null?Cr:1,pageSize:hr||wn.pageSize})},Zn=(Cr,hr)=>{var Br;Et&&((Br=Et.onChange)===null||Br===void 0||Br.call(Et,Cr,hr)),er(Cr,hr),et(Cr,hr||(wn==null?void 0:wn.pageSize))};return Et===!1?[{},()=>{}]:[Object.assign(Object.assign({},wn),{onChange:Zn}),er]}var KA=hA,el=Be(84105),ki=Be(35654),Js=Be(90782),Vl=Be(71430),Sl=Be(18929);const ks={},bl="SELECT_ALL",mA="SELECT_INVERT",ds="SELECT_NONE",vs=[],xu=(Je,et)=>{let Et=[];return(et||[]).forEach(Tt=>{Et.push(Tt),Tt&&typeof Tt=="object"&&Je in Tt&&(Et=[].concat((0,lr.Z)(Et),(0,lr.Z)(xu(Je,Tt[Je]))))}),Et};var xA=(Je,et)=>{const{preserveSelectedRowKeys:Et,selectedRowKeys:Tt,defaultSelectedRowKeys:qt,getCheckboxProps:$t,onChange:Pn,onSelect:Fn,onSelectAll:wn,onSelectInvert:Kn,onSelectNone:er,onSelectMultiple:Zn,columnWidth:Cr,type:hr,selections:Br,fixed:na,renderCell:zr,hideSelectAll:ea,checkStrictly:Vr=!0}=et||{},{prefixCls:la,data:za,pageData:Xa,getRecordByKey:Ca,getRowKey:io,expandType:Eo,childrenColumnName:da,locale:Ea,getPopupContainer:ma}=Je,[sa,ba]=(0,Sl.Z)(Tt||qt||vs,{value:Tt}),$a=ve.useRef(new Map),Wo=(0,ve.useCallback)(Ba=>{if(Et){const ro=new Map;Ba.forEach(eo=>{let Ra=Ca(eo);!Ra&&$a.current.has(eo)&&(Ra=$a.current.get(eo)),ro.set(eo,Ra)}),$a.current=ro}},[Ca,Et]);ve.useEffect(()=>{Wo(sa)},[sa]);const{keyEntities:yo}=(0,ve.useMemo)(()=>{if(Vr)return{keyEntities:null};let Ba=za;if(Et){const ro=new Set(za.map((Ra,Ii)=>io(Ra,Ii))),eo=Array.from($a.current).reduce((Ra,Ii)=>{let[ja,Bo]=Ii;return ro.has(ja)?Ra:Ra.concat(Bo)},[]);Ba=[].concat((0,lr.Z)(Ba),(0,lr.Z)(eo))}return(0,Vl.I8)(Ba,{externalGetKey:io,childrenPropName:da})},[za,io,Vr,da,Et]),Ja=(0,ve.useMemo)(()=>xu(da,Xa),[da,Xa]),Oo=(0,ve.useMemo)(()=>{const Ba=new Map;return Ja.forEach((ro,eo)=>{const Ra=io(ro,eo),Ii=($t?$t(ro):null)||{};Ba.set(Ra,Ii)}),Ba},[Ja,io,$t]),qo=(0,ve.useCallback)(Ba=>{var ro;return!!(!((ro=Oo.get(io(Ba)))===null||ro===void 0)&&ro.disabled)},[Oo,io]),[$i,mi]=(0,ve.useMemo)(()=>{if(Vr)return[sa||[],[]];const{checkedKeys:Ba,halfCheckedKeys:ro}=(0,Js.S)(sa,!0,yo,qo);return[Ba||[],ro]},[sa,Vr,yo,qo]),fs=(0,ve.useMemo)(()=>{const Ba=hr==="radio"?$i.slice(0,1):$i;return new Set(Ba)},[$i,hr]),Is=(0,ve.useMemo)(()=>hr==="radio"?new Set:new Set(mi),[mi,hr]),[Fo,$s]=(0,ve.useState)(null);ve.useEffect(()=>{et||ba(vs)},[!!et]);const Li=(0,ve.useCallback)((Ba,ro)=>{let eo,Ra;Wo(Ba),Et?(eo=Ba,Ra=Ba.map(Ii=>$a.current.get(Ii))):(eo=[],Ra=[],Ba.forEach(Ii=>{const ja=Ca(Ii);ja!==void 0&&(eo.push(Ii),Ra.push(ja))})),ba(eo),Pn==null||Pn(eo,Ra,{type:ro})},[ba,Ca,Pn,Et]),es=(0,ve.useCallback)((Ba,ro,eo,Ra)=>{if(Fn){const Ii=eo.map(ja=>Ca(ja));Fn(Ca(Ba),ro,Ii,Ra)}Li(eo,"single")},[Fn,Ca,Li]),rs=(0,ve.useMemo)(()=>!Br||ea?null:(Br===!0?[bl,mA,ds]:Br).map(ro=>ro===bl?{key:"all",text:Ea.selectionAll,onSelect(){Li(za.map((eo,Ra)=>io(eo,Ra)).filter(eo=>{const Ra=Oo.get(eo);return!(Ra!=null&&Ra.disabled)||fs.has(eo)}),"all")}}:ro===mA?{key:"invert",text:Ea.selectInvert,onSelect(){const eo=new Set(fs);Xa.forEach((Ii,ja)=>{const Bo=io(Ii,ja),ri=Oo.get(Bo);ri!=null&&ri.disabled||(eo.has(Bo)?eo.delete(Bo):eo.add(Bo))});const Ra=Array.from(eo);Kn&&Kn(Ra),Li(Ra,"invert")}}:ro===ds?{key:"none",text:Ea.selectNone,onSelect(){er==null||er(),Li(Array.from(fs).filter(eo=>{const Ra=Oo.get(eo);return Ra==null?void 0:Ra.disabled}),"none")}}:ro).map(ro=>Object.assign(Object.assign({},ro),{onSelect:function(){for(var eo,Ra,Ii=arguments.length,ja=new Array(Ii),Bo=0;Bo{var ro;if(!et)return Ba.filter(Ni=>Ni!==ks);let eo=(0,lr.Z)(Ba);const Ra=new Set(fs),Ii=Ja.map(io).filter(Ni=>!Oo.get(Ni).disabled),ja=Ii.every(Ni=>Ra.has(Ni)),Bo=Ii.some(Ni=>Ra.has(Ni)),ri=()=>{const Ni=[];ja?Ii.forEach(bs=>{Ra.delete(bs),Ni.push(bs)}):Ii.forEach(bs=>{Ra.has(bs)||(Ra.add(bs),Ni.push(bs))});const $o=Array.from(Ra);wn==null||wn(!ja,$o.map(bs=>Ca(bs)),Ni.map(bs=>Ca(bs))),Li($o,"all"),$s(null)};let si;if(hr!=="radio"){let Ni;if(rs){const Zo={getPopupContainer:ma,items:rs.map((WA,TA)=>{const{key:cl,text:nl,onSelect:rl}=WA;return{key:cl!=null?cl:TA,onClick:()=>{rl==null||rl(Ii)},label:nl}})};Ni=ve.createElement("div",{className:`${la}-selection-extra`},ve.createElement(cn.Z,{menu:Zo,getPopupContainer:ma},ve.createElement("span",null,ve.createElement(el.Z,null))))}const $o=Ja.map((Zo,WA)=>{const TA=io(Zo,WA),cl=Oo.get(TA)||{};return Object.assign({checked:Ra.has(TA)},cl)}).filter(Zo=>{let{disabled:WA}=Zo;return WA}),bs=!!$o.length&&$o.length===Ja.length,uA=bs&&$o.every(Zo=>{let{checked:WA}=Zo;return WA}),ss=bs&&$o.some(Zo=>{let{checked:WA}=Zo;return WA});si=!ea&&ve.createElement("div",{className:`${la}-selection`},ve.createElement(Nn.default,{checked:bs?uA:!!Ja.length&&ja,indeterminate:bs?!uA&&ss:!ja&&Bo,onChange:ri,disabled:Ja.length===0||bs,"aria-label":Ni?"Custom selection":"Select all",skipGroup:!0}),Ni)}let GA;hr==="radio"?GA=(Ni,$o,bs)=>{const uA=io($o,bs),ss=Ra.has(uA);return{node:ve.createElement(ta.ZP,Object.assign({},Oo.get(uA),{checked:ss,onClick:Zo=>Zo.stopPropagation(),onChange:Zo=>{Ra.has(uA)||es(uA,!0,[uA],Zo.nativeEvent)}})),checked:ss}}:GA=(Ni,$o,bs)=>{var uA;const ss=io($o,bs),Zo=Ra.has(ss),WA=Is.has(ss),TA=Oo.get(ss);let cl;return Eo==="nest"?cl=WA:cl=(uA=TA==null?void 0:TA.indeterminate)!==null&&uA!==void 0?uA:WA,{node:ve.createElement(Nn.default,Object.assign({},TA,{indeterminate:cl,checked:Zo,skipGroup:!0,onClick:nl=>nl.stopPropagation(),onChange:nl=>{let{nativeEvent:rl}=nl;const{shiftKey:Tl}=rl;let Hu=-1,Rl=-1;if(Tl&&Vr){const Ns=new Set([Fo,ss]);Ii.some((FA,eA)=>{if(Ns.has(FA))if(Hu===-1)Hu=eA;else return Rl=eA,!0;return!1})}if(Rl!==-1&&Hu!==Rl&&Vr){const Ns=Ii.slice(Hu,Rl+1),FA=[];Zo?Ns.forEach(Cs=>{Ra.has(Cs)&&(FA.push(Cs),Ra.delete(Cs))}):Ns.forEach(Cs=>{Ra.has(Cs)||(FA.push(Cs),Ra.add(Cs))});const eA=Array.from(Ra);Zn==null||Zn(!Zo,eA.map(Cs=>Ca(Cs)),FA.map(Cs=>Ca(Cs))),Li(eA,"multiple")}else{const Ns=$i;if(Vr){const FA=Zo?(0,ki._5)(Ns,ss):(0,ki.L0)(Ns,ss);es(ss,!Zo,FA,rl)}else{const FA=(0,Js.S)([].concat((0,lr.Z)(Ns),[ss]),!0,yo,qo),{checkedKeys:eA,halfCheckedKeys:Cs}=FA;let fu=eA;if(Zo){const Du=new Set(eA);Du.delete(ss),fu=(0,Js.S)(Array.from(Du),{checked:!1,halfCheckedKeys:Cs},yo,qo).checkedKeys}es(ss,!Zo,fu,rl)}}$s(Zo?null:ss)}})),checked:Zo}};const Gs=(Ni,$o,bs)=>{const{node:uA,checked:ss}=GA(Ni,$o,bs);return zr?zr(ss,$o,bs,uA):uA};if(!eo.includes(ks))if(eo.findIndex(Ni=>{var $o;return(($o=Ni[ir])===null||$o===void 0?void 0:$o.columnType)==="EXPAND_COLUMN"})===0){const[Ni,...$o]=eo;eo=[Ni,ks].concat((0,lr.Z)($o))}else eo=[ks].concat((0,lr.Z)(eo));const nu=eo.indexOf(ks);eo=eo.filter((Ni,$o)=>Ni!==ks||$o===nu);const Ws=eo[nu-1],El=eo[nu+1];let aa=na;aa===void 0&&((El==null?void 0:El.fixed)!==void 0?aa=El.fixed:(Ws==null?void 0:Ws.fixed)!==void 0&&(aa=Ws.fixed)),aa&&Ws&&((ro=Ws[ir])===null||ro===void 0?void 0:ro.columnType)==="EXPAND_COLUMN"&&Ws.fixed===void 0&&(Ws.fixed=aa);const tl=Qe()(`${la}-selection-col`,{[`${la}-selection-col-with-dropdown`]:Br&&hr==="checkbox"}),Cc={fixed:aa,width:Cr,className:`${la}-selection-column`,title:et.columnTitle||si,render:Gs,onCell:et.onCell,[ir]:{className:tl}};return eo.map(Ni=>Ni===ks?Cc:Ni)},[io,Ja,et,$i,fs,Is,Cr,rs,Eo,Fo,Oo,Zn,es,qo]),fs]},Yl=Be(89489),Ls=Be(59477),du=Be(6848);const Ss="ascend",tc="descend";function Xl(Je){return typeof Je.sorter=="object"&&typeof Je.sorter.multiple=="number"?Je.sorter.multiple:!1}function gu(Je){return typeof Je=="function"?Je:Je&&typeof Je=="object"&&Je.compare?Je.compare:!1}function yc(Je,et){return et?Je[Je.indexOf(et)+1]:Je[0]}function Fu(Je,et,Et){let Tt=[];function qt($t,Pn){Tt.push({column:$t,key:In($t,Pn),multiplePriority:Xl($t),sortOrder:$t.sortOrder})}return(Je||[]).forEach(($t,Pn)=>{const Fn=yr(Pn,Et);$t.children?("sortOrder"in $t&&qt($t,Fn),Tt=[].concat((0,lr.Z)(Tt),(0,lr.Z)(Fu($t.children,et,Fn)))):$t.sorter&&("sortOrder"in $t?qt($t,Fn):et&&$t.defaultSortOrder&&Tt.push({column:$t,key:In($t,Fn),multiplePriority:Xl($t),sortOrder:$t.defaultSortOrder}))}),Tt}function Wc(Je,et,Et,Tt,qt,$t,Pn,Fn){return(et||[]).map((wn,Kn)=>{const er=yr(Kn,Fn);let Zn=wn;if(Zn.sorter){const Cr=Zn.sortDirections||qt,hr=Zn.showSorterTooltip===void 0?Pn:Zn.showSorterTooltip,Br=In(Zn,er),na=Et.find(Eo=>{let{key:da}=Eo;return da===Br}),zr=na?na.sortOrder:null,ea=yc(Cr,zr);let Vr;if(wn.sortIcon)Vr=wn.sortIcon({sortOrder:zr});else{const Eo=Cr.includes(Ss)&&ve.createElement(Ls.Z,{className:Qe()(`${Je}-column-sorter-up`,{active:zr===Ss})}),da=Cr.includes(tc)&&ve.createElement(Yl.Z,{className:Qe()(`${Je}-column-sorter-down`,{active:zr===tc})});Vr=ve.createElement("span",{className:Qe()(`${Je}-column-sorter`,{[`${Je}-column-sorter-full`]:!!(Eo&&da)})},ve.createElement("span",{className:`${Je}-column-sorter-inner`,"aria-hidden":"true"},Eo,da))}const{cancelSort:la,triggerAsc:za,triggerDesc:Xa}=$t||{};let Ca=la;ea===tc?Ca=Xa:ea===Ss&&(Ca=za);const io=typeof hr=="object"?hr:{title:Ca};Zn=Object.assign(Object.assign({},Zn),{className:Qe()(Zn.className,{[`${Je}-column-sort`]:zr}),title:Eo=>{const da=ve.createElement("div",{className:`${Je}-column-sorters`},ve.createElement("span",{className:`${Je}-column-title`},Gr(wn.title,Eo)),Vr);return hr?ve.createElement(du.Z,Object.assign({},io),da):da},onHeaderCell:Eo=>{const da=wn.onHeaderCell&&wn.onHeaderCell(Eo)||{},Ea=da.onClick,ma=da.onKeyDown;da.onClick=$a=>{Tt({column:wn,key:Br,sortOrder:ea,multiplePriority:Xl(wn)}),Ea==null||Ea($a)},da.onKeyDown=$a=>{$a.keyCode===vr.Z.ENTER&&(Tt({column:wn,key:Br,sortOrder:ea,multiplePriority:Xl(wn)}),ma==null||ma($a))};const sa=fa(wn.title,{}),ba=sa==null?void 0:sa.toString();return zr?da["aria-sort"]=zr==="ascend"?"ascending":"descending":da["aria-label"]=ba||"",da.className=Qe()(da.className,`${Je}-column-has-sorters`),da.tabIndex=0,wn.ellipsis&&(da.title=(sa!=null?sa:"").toString()),da}})}return"children"in Zn&&(Zn=Object.assign(Object.assign({},Zn),{children:Wc(Je,Zn.children,Et,Tt,qt,$t,Pn,er)})),Zn})}function zA(Je){const{column:et,sortOrder:Et}=Je;return{column:et,order:Et,field:et.dataIndex,columnKey:et.key}}function Sc(Je){const et=Je.filter(Et=>{let{sortOrder:Tt}=Et;return Tt}).map(zA);return et.length===0&&Je.length?Object.assign(Object.assign({},zA(Je[Je.length-1])),{column:void 0}):et.length<=1?et[0]||{}:et}function nc(Je,et,Et){const Tt=et.slice().sort((Pn,Fn)=>Fn.multiplePriority-Pn.multiplePriority),qt=Je.slice(),$t=Tt.filter(Pn=>{let{column:{sorter:Fn},sortOrder:wn}=Pn;return gu(Fn)&&wn});return $t.length?qt.sort((Pn,Fn)=>{for(let wn=0;wn<$t.length;wn+=1){const Kn=$t[wn],{column:{sorter:er},sortOrder:Zn}=Kn,Cr=gu(er);if(Cr&&Zn){const hr=Cr(Pn,Fn,Zn);if(hr!==0)return Zn===Ss?hr:-hr}}return 0}).map(Pn=>{const Fn=Pn[Et];return Fn?Object.assign(Object.assign({},Pn),{[Et]:nc(Fn,et,Et)}):Pn}):qt}function _r(Je){let{prefixCls:et,mergedColumns:Et,onSorterChange:Tt,sortDirections:qt,tableLocale:$t,showSorterTooltip:Pn}=Je;const[Fn,wn]=ve.useState(Fu(Et,!0)),Kn=ve.useMemo(()=>{let Br=!0;const na=Fu(Et,!1);if(!na.length)return Fn;const zr=[];function ea(la){Br?zr.push(la):zr.push(Object.assign(Object.assign({},la),{sortOrder:null}))}let Vr=null;return na.forEach(la=>{Vr===null?(ea(la),la.sortOrder&&(la.multiplePriority===!1?Br=!1:Vr=!0)):(Vr&&la.multiplePriority!==!1||(Br=!1),ea(la))}),zr},[Et,Fn]),er=ve.useMemo(()=>{const Br=Kn.map(na=>{let{column:zr,sortOrder:ea}=na;return{column:zr,order:ea}});return{sortColumns:Br,sortColumn:Br[0]&&Br[0].column,sortOrder:Br[0]&&Br[0].order}},[Kn]);function Zn(Br){let na;Br.multiplePriority===!1||!Kn.length||Kn[0].multiplePriority===!1?na=[Br]:na=[].concat((0,lr.Z)(Kn.filter(zr=>{let{key:ea}=zr;return ea!==Br.key})),[Br]),wn(na),Tt(Sc(na),na)}return[Br=>Wc(et,Br,Kn,Zn,qt,$t,Pn),Kn,er,()=>Sc(Kn)]}function Ao(Je,et){return Je.map(Et=>{const Tt=Object.assign({},Et);return Tt.title=Gr(Et.title,et),"children"in Tt&&(Tt.children=Ao(Tt.children,et)),Tt})}function Sr(Je){return[ve.useCallback(Et=>Ao(Et,Je),[Je])]}var lo=Pi((Je,et)=>{const{_renderTimes:Et}=Je,{_renderTimes:Tt}=et;return Et!==Tt}),ni=Ol((Je,et)=>{const{_renderTimes:Et}=Je,{_renderTimes:Tt}=et;return Et!==Tt}),Ts=Be(64993),AA=Be(17313),yA=Be(83116),Jl=Be(37613),ql=Je=>{const{componentCls:et}=Je,Et=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,Tt=(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+Je.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:`-${Je.tablePaddingVertical}px -${Je.tablePaddingHorizontal+Je.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:Je.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}}}}}},Tt("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle)),Tt("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall)),{[`> ${et}-footer`]:{border:Et,borderTop:0}}),[`${et}-cell`]:{[`${et}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Je.lineWidth}px 0 ${Je.lineWidth}px ${Je.tableHeaderBg}`}},[`${et}-bordered ${et}-cell-scrollbar`]:{borderInlineEnd:Et}}}},lA=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper`]:{[`${et}-cell-ellipsis`]:Object.assign(Object.assign({},AA.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"}})}}},OA=Je=>{const{componentCls:et}=Je;return{[`${et}-wrapper`]:{[`${et}-tbody > tr${et}-placeholder`]:{textAlign:"center",color:Je.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Je.colorBgContainer}}}}},gs=Be(15969),Rs=Je=>{const{componentCls:et,antCls:Et,controlInteractiveSize:Tt,motionDurationSlow:qt,lineWidth:$t,paddingXS:Pn,lineType:Fn,tableBorderColor:wn,tableExpandIconBg:Kn,tableExpandColumnWidth:er,borderRadius:Zn,fontSize:Cr,fontSizeSM:hr,lineHeight:Br,tablePaddingVertical:na,tablePaddingHorizontal:zr,tableExpandedRowBg:ea,paddingXXS:Vr}=Je,la=Tt/2-$t,za=la*2+$t*3,Xa=`${$t}px ${Fn} ${wn}`,Ca=Vr-$t;return{[`${et}-wrapper`]:{[`${et}-expand-icon-col`]:{width:er},[`${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,gs.N)(Je)),{position:"relative",float:"left",boxSizing:"border-box",width:za,height:za,padding:0,color:"inherit",lineHeight:`${za}px`,background:Kn,border:Xa,borderRadius:Zn,transform:`scale(${Tt/za})`,transition:`all ${qt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${qt} ease-out`,content:'""'},"&::before":{top:la,insetInlineEnd:Ca,insetInlineStart:Ca,height:$t},"&::after":{top:Ca,bottom:Ca,insetInlineStart:la,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:(Cr*Br-$t*3)/2-Math.ceil((hr*1.4-$t*3)/2),marginInlineEnd:Pn},[`tr${et}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ea}},[`${Et}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${et}-expanded-row-fixed`]:{position:"relative",margin:`-${na}px -${zr}px`,padding:`${na}px ${zr}px`}}}},Cl=Je=>{const{componentCls:et,antCls:Et,iconCls:Tt,tableFilterDropdownWidth:qt,tableFilterDropdownSearchWidth:$t,paddingXXS:Pn,paddingXS:Fn,colorText:wn,lineWidth:Kn,lineType:er,tableBorderColor:Zn,tableHeaderIconColor:Cr,fontSizeSM:hr,tablePaddingHorizontal:Br,borderRadius:na,motionDurationSlow:zr,colorTextDescription:ea,colorPrimary:Vr,tableHeaderFilterActiveBg:la,colorTextDisabled:za,tableFilterDropdownBg:Xa,tableFilterDropdownHeight:Ca,controlItemBgHover:io,controlItemBgActive:Eo,boxShadowSecondary:da,filterDropdownMenuBg:Ea}=Je,ma=`${Et}-dropdown`,sa=`${et}-filter-dropdown`,ba=`${Et}-tree`,$a=`${Kn}px ${er} ${Zn}`;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 ${-Br/2}px`,padding:`0 ${Pn}px`,color:Cr,fontSize:hr,borderRadius:na,cursor:"pointer",transition:`all ${zr}`,"&:hover":{color:ea,background:la},"&.active":{color:Vr}}}},{[`${Et}-dropdown`]:{[sa]:Object.assign(Object.assign({},(0,AA.Wf)(Je)),{minWidth:qt,backgroundColor:Xa,borderRadius:na,boxShadow:da,overflow:"hidden",[`${ma}-menu`]:{maxHeight:Ca,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Ea,"&:empty::after":{display:"block",padding:`${Fn}px 0`,color:za,fontSize:hr,textAlign:"center",content:'"Not Found"'}},[`${sa}-tree`]:{paddingBlock:`${Fn}px 0`,paddingInline:Fn,[ba]:{padding:0},[`${ba}-treenode ${ba}-node-content-wrapper:hover`]:{backgroundColor:io},[`${ba}-treenode-checkbox-checked ${ba}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Eo}}},[`${sa}-search`]:{padding:Fn,borderBottom:$a,"&-input":{input:{minWidth:$t},[Tt]:{color:za}}},[`${sa}-checkall`]:{width:"100%",marginBottom:Pn,marginInlineStart:Pn},[`${sa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Fn-Kn}px ${Fn}px`,overflow:"hidden",borderTop:$a}})}},{[`${Et}-dropdown ${sa}, ${sa}-submenu`]:{[`${Et}-checkbox-wrapper + span`]:{paddingInlineStart:Fn,color:wn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},zs=Je=>{const{componentCls:et,lineWidth:Et,colorSplit:Tt,motionDurationSlow:qt,zIndexTableFixed:$t,tableBg:Pn,zIndexTableSticky:Fn}=Je,wn=Tt;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 ${wn}`}},[` ${et}-cell-fix-left-first::after, ${et}-cell-fix-left-last::after `]:{boxShadow:`inset 10px 0 8px -8px ${wn}`},[`${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 ${wn}`}},[` ${et}-cell-fix-right-first::after, ${et}-cell-fix-right-last::after `]:{boxShadow:`inset -10px 0 8px -8px ${wn}`}}}}},zi=Je=>{const{componentCls:et,antCls:Et}=Je;return{[`${et}-wrapper`]:{[`${et}-pagination${Et}-pagination`]:{margin:`${Je.margin}px 0`},[`${et}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:Je.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},eu=Je=>{const{componentCls:et,tableRadius:Et}=Je;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`}}}}},yg=Je=>{const{componentCls:et}=Je;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"}}}}},wf=Je=>{const{componentCls:et,antCls:Et,iconCls:Tt,fontSizeIcon:qt,padding:$t,paddingXS:Pn,tableHeaderIconColor:Fn,tableHeaderIconColorHover:wn,tableSelectionColumnWidth:Kn}=Je;return{[`${et}-wrapper`]:{[`${et}-selection-col`]:{width:Kn,[`&${et}-selection-col-with-dropdown`]:{width:Kn+qt+$t/4}},[`${et}-bordered ${et}-selection-col`]:{width:Kn+Pn*2,[`&${et}-selection-col-with-dropdown`]:{width:Kn+qt+$t/4+Pn*2}},[` table tr th${et}-selection-column, table tr td${et}-selection-column `]:{paddingInlineEnd:Je.paddingXS,paddingInlineStart:Je.paddingXS,textAlign:"center",[`${Et}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${et}-selection-column${et}-cell-fix-left`]:{zIndex:Je.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 ${Je.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${Je.tablePaddingHorizontal/4}px`,[Tt]:{color:Fn,fontSize:qt,verticalAlign:"baseline","&:hover":{color:wn}}}}}},Hd=Je=>{const{componentCls:et}=Je,Et=(Tt,qt,$t,Pn)=>({[`${et}${et}-${Tt}`]:{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:`${Je.tableExpandColumnWidth-$t}px -${$t}px`}},[`${et}-selection-column`]:{paddingInlineStart:`${$t/4}px`}}});return{[`${et}-wrapper`]:Object.assign(Object.assign({},Et("middle",Je.tablePaddingVerticalMiddle,Je.tablePaddingHorizontalMiddle,Je.tableFontSizeMiddle)),Et("small",Je.tablePaddingVerticalSmall,Je.tablePaddingHorizontalSmall,Je.tableFontSizeSmall))}},rc=Je=>{const{componentCls:et,marginXXS:Et,fontSizeIcon:Tt,tableHeaderIconColor:qt,tableHeaderIconColorHover:$t}=Je;return{[`${et}-wrapper`]:{[`${et}-thead th${et}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Je.motionDurationSlow}`,"&:hover":{background:Je.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Je.colorPrimary},[` &${et}-cell-fix-left:hover, &${et}-cell-fix-right:hover `]:{background:Je.tableFixedHeaderSortActiveBg}},[`${et}-thead th${et}-column-sort`]:{background:Je.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${et}-column-sort`]:{background:Je.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 ${Je.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Tt,"&.active":{color:Je.colorPrimary}},[`${et}-column-sorter-up + ${et}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${et}-column-sorters:hover ${et}-column-sorter`]:{color:$t}}}},kl=Je=>{const{componentCls:et,opacityLoading:Et,tableScrollThumbBg:Tt,tableScrollThumbBgHover:qt,tableScrollThumbSize:$t,tableScrollBg:Pn,zIndexTableSticky:Fn,stickyScrollBarBorderRadius:wn}=Je,Kn=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`;return{[`${et}-wrapper`]:{[`${et}-sticky`]:{"&-holder":{position:"sticky",zIndex:Fn,background:Je.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${$t}px !important`,zIndex:Fn,display:"flex",alignItems:"center",background:Pn,borderTop:Kn,opacity:Et,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:$t,backgroundColor:Tt,borderRadius:wn,transition:`all ${Je.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:qt}}}}}}},Zc=Je=>{const{componentCls:et,lineWidth:Et,tableBorderColor:Tt}=Je,qt=`${Et}px ${Je.lineType} ${Tt}`;return{[`${et}-wrapper`]:{[`${et}-summary`]:{position:"relative",zIndex:Je.zIndexTableFixed,background:Je.tableBg,"> tr":{"> th, > td":{borderBottom:qt}}},[`div${et}-summary`]:{boxShadow:`0 -${Et}px 0 ${Tt}`}}}},Sf=Je=>{const{componentCls:et}=Je,Et=`${Je.lineWidth}px ${Je.lineType} ${Je.tableBorderColor}`,Tt=`${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`]:{[`${Tt}${Tt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Je.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:-Je.lineWidth,borderInlineStart:Et}}}}}}};const Vc=Je=>{const{componentCls:et,fontWeightStrong:Et,tablePaddingVertical:Tt,tablePaddingHorizontal:qt,lineWidth:$t,lineType:Pn,tableBorderColor:Fn,tableFontSize:wn,tableBg:Kn,tableRadius:er,tableHeaderTextColor:Zn,motionDurationMid:Cr,tableHeaderBg:hr,tableHeaderCellSplitColor:Br,tableRowHoverBg:na,tableSelectedRowBg:zr,tableSelectedRowHoverBg:ea,tableFooterTextColor:Vr,tableFooterBg:la,paddingContentVerticalLG:za}=Je,Xa=`${$t}px ${Pn} ${Fn}`;return{[`${et}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,AA.dF)()),{[et]:Object.assign(Object.assign({},(0,AA.Wf)(Je)),{fontSize:wn,background:Kn,borderRadius:`${er}px ${er}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${er}px ${er}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:`${za}px ${qt}px`,overflowWrap:"break-word"},[`${et}-title`]:{padding:`${Tt}px ${qt}px`},[`${et}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Zn,fontWeight:Et,textAlign:"start",background:hr,borderBottom:Xa,transition:`background ${Cr} 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:Br,transform:"translateY(-50%)",transition:`background-color ${Cr}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${et}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Cr}, border-color ${Cr}`,borderBottom:Xa,[` > ${et}-wrapper:only-child, > ${et}-expanded-row-fixed > ${et}-wrapper:only-child `]:{[et]:{marginBlock:`-${Tt}px`,marginInline:`${Je.tableExpandColumnWidth-qt}px -${qt}px`,[`${et}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Zn,fontWeight:Et,textAlign:"start",background:hr,borderBottom:Xa,transition:`background ${Cr} ease`},[` &${et}-row:hover > th, &${et}-row:hover > td, > th${et}-cell-row-hover, > td${et}-cell-row-hover `]:{background:na},[`&${et}-row-selected`]:{"> th, > td":{background:zr},"&:hover > th, &:hover > td":{background:ea}}}},[`${et}-footer`]:{padding:`${Tt}px ${qt}px`,color:Vr,background:la}})}};var fd=(0,yA.Z)("Table",Je=>{const{colorTextHeading:et,colorSplit:Et,colorIcon:Tt,colorIconHover:qt,opacityLoading:$t,colorBgContainer:Pn,controlInteractiveSize:Fn,headerBg:wn,headerColor:Kn,headerSortActiveBg:er,headerSortHoverBg:Zn,bodySortBg:Cr,rowHoverBg:hr,rowSelectedBg:Br,rowSelectedHoverBg:na,rowExpandedBg:zr,cellPaddingBlock:ea,cellPaddingInline:Vr,cellPaddingBlockMD:la,cellPaddingInlineMD:za,cellPaddingBlockSM:Xa,cellPaddingInlineSM:Ca,borderColor:io,footerBg:Eo,footerColor:da,headerBorderRadius:Ea,cellFontSize:ma,cellFontSizeMD:sa,cellFontSizeSM:ba,headerSplitColor:$a,fixedHeaderSortActiveBg:Wo,headerFilterHoverBg:yo,filterDropdownBg:Ja,expandIconBg:Oo,selectionColumnWidth:qo,stickyScrollBarBg:$i}=Je,mi=new Ts.C(Tt),fs=new Ts.C(qt),Is=2,Fo=(0,Jl.TS)(Je,{tableFontSize:ma,tableBg:Pn,tableRadius:Ea,tablePaddingVertical:ea,tablePaddingHorizontal:Vr,tablePaddingVerticalMiddle:la,tablePaddingHorizontalMiddle:za,tablePaddingVerticalSmall:Xa,tablePaddingHorizontalSmall:Ca,tableBorderColor:io,tableHeaderTextColor:Kn,tableHeaderBg:wn,tableFooterTextColor:da,tableFooterBg:Eo,tableHeaderCellSplitColor:$a,tableHeaderSortBg:er,tableHeaderSortHoverBg:Zn,tableHeaderIconColor:mi.clone().setAlpha(mi.getAlpha()*$t).toRgbString(),tableHeaderIconColorHover:fs.clone().setAlpha(fs.getAlpha()*$t).toRgbString(),tableBodySortBg:Cr,tableFixedHeaderSortActiveBg:Wo,tableHeaderFilterActiveBg:yo,tableFilterDropdownBg:Ja,tableRowHoverBg:hr,tableSelectedRowBg:Br,tableSelectedRowHoverBg:na,zIndexTableFixed:Is,zIndexTableSticky:Is+1,tableFontSizeMiddle:sa,tableFontSizeSmall:ba,tableSelectionColumnWidth:qo,tableExpandIconBg:Oo,tableExpandColumnWidth:Fn+2*Je.padding,tableExpandedRowBg:zr,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:$i,tableScrollThumbBgHover:et,tableScrollBg:Et});return[Vc(Fo),zi(Fo),Zc(Fo),rc(Fo),Cl(Fo),ql(Fo),eu(Fo),Rs(Fo),Zc(Fo),OA(Fo),wf(Fo),zs(Fo),kl(Fo),lA(Fo),Hd(Fo),yg(Fo),Sf(Fo)]},Je=>{const{colorFillAlter:et,colorBgContainer:Et,colorTextHeading:Tt,colorFillSecondary:qt,colorFillContent:$t,controlItemBgActive:Pn,controlItemBgActiveHover:Fn,padding:wn,paddingSM:Kn,paddingXS:er,colorBorderSecondary:Zn,borderRadiusLG:Cr,fontSize:hr,controlHeight:Br,colorTextPlaceholder:na}=Je,zr=new Ts.C(qt).onBackground(Et).toHexShortString(),ea=new Ts.C($t).onBackground(Et).toHexShortString(),Vr=new Ts.C(et).onBackground(Et).toHexShortString();return{headerBg:Vr,headerColor:Tt,headerSortActiveBg:zr,headerSortHoverBg:ea,bodySortBg:Vr,rowHoverBg:Vr,rowSelectedBg:Pn,rowSelectedHoverBg:Fn,rowExpandedBg:et,cellPaddingBlock:wn,cellPaddingInline:wn,cellPaddingBlockMD:Kn,cellPaddingInlineMD:er,cellPaddingBlockSM:er,cellPaddingInlineSM:er,borderColor:Zn,headerBorderRadius:Cr,footerBg:Vr,footerColor:Tt,cellFontSize:hr,cellFontSizeMD:hr,cellFontSizeSM:hr,headerSplitColor:Zn,fixedHeaderSortActiveBg:zr,headerFilterHoverBg:$t,filterDropdownMenuBg:Et,filterDropdownBg:Et,expandIconBg:Et,selectionColumnWidth:Br,stickyScrollBarBg:na,stickyScrollBarBorderRadius:100}});const Sg=[],Yc=(Je,et)=>{const{prefixCls:Et,className:Tt,rootClassName:qt,style:$t,size:Pn,bordered:Fn,dropdownPrefixCls:wn,dataSource:Kn,pagination:er,rowSelection:Zn,rowKey:Cr="key",rowClassName:hr,columns:Br,children:na,childrenColumnName:zr,onChange:ea,getPopupContainer:Vr,loading:la,expandIcon:za,expandable:Xa,expandedRowRender:Ca,expandIconColumnIndex:io,indentSize:Eo,scroll:da,sortDirections:Ea,locale:ma,showSorterTooltip:sa=!0,virtual:ba}=Je,$a=ve.useMemo(()=>Br||mn(na),[Br,na]),Wo=ve.useMemo(()=>$a.some(Ai=>Ai.responsive),[$a]),yo=(0,ps.Z)(Wo),Ja=ve.useMemo(()=>{const Ai=new Set(Object.keys(yo).filter(as=>yo[as]));return $a.filter(as=>!as.responsive||as.responsive.some(LA=>Ai.has(LA)))},[$a,yo]),Oo=(0,Pu.Z)(Je,["className","style","columns"]),{locale:qo=ec.Z,direction:$i,table:mi,renderEmpty:fs,getPrefixCls:Is,getPopupContainer:Fo}=ve.useContext(Ys.E_),$s=(0,wc.Z)(Pn),Li=Object.assign(Object.assign({},qo.Table),ma),es=Kn||Sg,rs=Is("table",Et),ul=Is("dropdown",wn),Ba=Object.assign({childrenColumnName:zr,expandIconColumnIndex:io},Xa),{childrenColumnName:ro="children"}=Ba,eo=ve.useMemo(()=>es.some(Ai=>Ai==null?void 0:Ai[ro])?"nest":Ca||Xa&&Xa.expandedRowRender?"row":null,[es]),Ra={body:ve.useRef()},Ii=ve.useMemo(()=>typeof Cr=="function"?Cr:Ai=>Ai==null?void 0:Ai[Cr],[Cr]),[ja]=va(es,ro,Ii),Bo={},ri=function(Ai,as){let LA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Bs,IA,RA;const Ds=Object.assign(Object.assign({},Bo),Ai);LA&&((Bs=Bo.resetPagination)===null||Bs===void 0||Bs.call(Bo),!((IA=Ds.pagination)===null||IA===void 0)&&IA.current&&(Ds.pagination.current=1),er&&er.onChange&&er.onChange(1,(RA=Ds.pagination)===null||RA===void 0?void 0:RA.pageSize)),da&&da.scrollToFirstRowOnChange!==!1&&Ra.body.current&&(0,Ql.Z)(0,{getContainer:()=>Ra.body.current}),ea==null||ea(Ds.pagination,Ds.filters,Ds.sorter,{currentDataSource:Zl(nc(es,Ds.sorterStates,ro),Ds.filterStates),action:as})},si=(Ai,as)=>{ri({sorter:Ai,sorterStates:as},"sort",!1)},[GA,Gs,nu,Ws]=_r({prefixCls:rs,mergedColumns:Ja,onSorterChange:si,sortDirections:Ea||["ascend","descend"],tableLocale:Li,showSorterTooltip:sa}),El=ve.useMemo(()=>nc(es,Gs,ro),[es,Gs]);Bo.sorter=Ws(),Bo.sorterStates=Gs;const aa=(Ai,as)=>{ri({filters:Ai,filterStates:as},"filter",!0)},[tl,Cc,Ni]=yl({prefixCls:rs,locale:Li,dropdownPrefixCls:ul,mergedColumns:Ja,onFilterChange:aa,getPopupContainer:Vr||Fo}),$o=Zl(El,Cc);Bo.filters=Ni,Bo.filterStates=Cc;const bs=ve.useMemo(()=>{const Ai={};return Object.keys(Ni).forEach(as=>{Ni[as]!==null&&(Ai[as]=Ni[as])}),Object.assign(Object.assign({},nu),{filters:Ai})},[nu,Ni]),[uA]=Sr(bs),ss=(Ai,as)=>{ri({pagination:Object.assign(Object.assign({},Bo.pagination),{current:Ai,pageSize:as})},"paginate")},[Zo,WA]=KA($o.length,ss,er);Bo.pagination=er===!1?{}:vo(Zo,er),Bo.resetPagination=WA;const TA=ve.useMemo(()=>{if(er===!1||!Zo.pageSize)return $o;const{current:Ai=1,total:as,pageSize:LA=cs}=Zo;return $o.lengthLA?$o.slice((Ai-1)*LA,Ai*LA):$o:$o.slice((Ai-1)*LA,Ai*LA)},[!!er,$o,Zo&&Zo.current,Zo&&Zo.pageSize,Zo&&Zo.total]),[cl,nl]=xA({prefixCls:rs,data:$o,pageData:TA,getRowKey:Ii,getRecordByKey:ja,expandType:eo,childrenColumnName:ro,locale:Li,getPopupContainer:Vr||Fo},Zn),rl=(Ai,as,LA)=>{let Bs;return typeof hr=="function"?Bs=Qe()(hr(Ai,as,LA)):Bs=Qe()(hr),Qe()({[`${rs}-row-selected`]:nl.has(Ii(Ai,as))},Bs)};Ba.__PARENT_RENDER_ICON__=Ba.expandIcon,Ba.expandIcon=Ba.expandIcon||za||kt(Li),eo==="nest"&&Ba.expandIconColumnIndex===void 0?Ba.expandIconColumnIndex=Zn?1:0:Ba.expandIconColumnIndex>0&&Zn&&(Ba.expandIconColumnIndex-=1),typeof Ba.indentSize!="number"&&(Ba.indentSize=typeof Eo=="number"?Eo:15);const Tl=ve.useCallback(Ai=>uA(cl(tl(GA(Ai)))),[GA,tl,cl]);let Hu,Rl;if(er!==!1&&(Zo!=null&&Zo.total)){let Ai;Zo.size?Ai=Zo.size:Ai=$s==="small"||$s==="middle"?"small":void 0;const as=IA=>ve.createElement(ju.Z,Object.assign({},Zo,{className:Qe()(`${rs}-pagination ${rs}-pagination-${IA}`,Zo.className),size:Ai})),LA=$i==="rtl"?"left":"right",{position:Bs}=Zo;if(Bs!==null&&Array.isArray(Bs)){const IA=Bs.find(mu=>mu.includes("top")),RA=Bs.find(mu=>mu.includes("bottom")),Ds=Bs.every(mu=>`${mu}`=="none");!IA&&!RA&&!Ds&&(Rl=as(LA)),IA&&(Hu=as(IA.toLowerCase().replace("top",""))),RA&&(Rl=as(RA.toLowerCase().replace("bottom","")))}else Rl=as(LA)}let Ns;typeof la=="boolean"?Ns={spinning:la}:typeof la=="object"&&(Ns=Object.assign({spinning:!0},la));const[FA,eA]=fd(rs),[,Cs]=(0,ua.Z)(),fu=Qe()(`${rs}-wrapper`,mi==null?void 0:mi.className,{[`${rs}-wrapper-rtl`]:$i==="rtl"},Tt,qt,eA),Du=Object.assign(Object.assign({},mi==null?void 0:mi.style),$t),_u=ma&&ma.emptyText||(fs==null?void 0:fs("Table"))||ve.createElement(Xs.Z,{componentName:"Table"}),hu=ba?ni:lo,md={},_d=ve.useMemo(()=>{const{fontSize:Ai,lineHeight:as,padding:LA,paddingXS:Bs,paddingSM:IA}=Cs,RA=Math.floor(Ai*as);switch($s){case"large":return LA*2+RA;case"small":return Bs*2+RA;default:return IA*2+RA}},[Cs,$s]);return ba&&(md.listItemHeight=_d),FA(ve.createElement("div",{ref:et,className:fu,style:Du},ve.createElement(Da.Z,Object.assign({spinning:!1},Ns),Hu,ve.createElement(hu,Object.assign({},md,Oo,{columns:Ja,direction:$i,expandable:Ba,prefixCls:rs,className:Qe()({[`${rs}-middle`]:$s==="middle",[`${rs}-small`]:$s==="small",[`${rs}-bordered`]:Fn,[`${rs}-empty`]:es.length===0}),data:TA,rowKey:Ii,rowClassName:rl,emptyText:_u,internalHooks:Ce,internalRefs:Ra,transformColumns:Tl})),Rl)))};var n0=ve.forwardRef(Yc);const r0=(Je,et)=>{const Et=ve.useRef(0);return Et.current+=1,ve.createElement(n0,Object.assign({},Je,{ref:et,_renderTimes:Et.current}))},kA=ve.forwardRef(r0);kA.SELECTION_COLUMN=ks,kA.EXPAND_COLUMN=le,kA.SELECTION_ALL=bl,kA.SELECTION_INVERT=mA,kA.SELECTION_NONE=ds,kA.Column=uu,kA.ColumnGroup=cu,kA.Summary=_e;var hd=kA,a0=hd},17574:function(Yt,Dt,Be){"use strict";Be.d(Dt,{default:function(){return Bt}});var le=Be(60091),Ce=Be(94480),He=Be(52671),tt=Be(8657),ze=Be(54476),je=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"},we=ve,Ne=Be(7657),fe=function(at,Rt){return je.createElement(Ne.Z,(0,ze.Z)({},at,{ref:Rt,icon:we}))},De=je.forwardRef(fe),xe=De,Ee=Be(92310),ie=Be.n(Ee),y=Be(35654),a=Be(71430),ee=Be(36355),E=Be(56082),te=Be(62892),ne=Be(20648);const ae=4;function ge(lt){const{dropPosition:at,dropLevelOffset:Rt,prefixCls:Wt,indent:ht,direction:Ht="ltr"}=lt,Sn=Ht==="ltr"?"left":"right",Tn=Ht==="ltr"?"right":"left",ln={[Sn]:-Rt*ht+ae,[Tn]:0};switch(at){case-1:ln.top=-3;break;case 1:ln.bottom=-3;break;default:ln.bottom=-3,ln[Sn]=ht+ae;break}return je.createElement("div",{style:ln,className:`${Wt}-drop-indicator`})}var Le=Be(71997),Ue=je.forwardRef((lt,at)=>{const{getPrefixCls:Rt,direction:Wt,virtual:ht,tree:Ht}=je.useContext(ee.E_),{prefixCls:Sn,className:Tn,showIcon:ln=!1,showLine:zn,switcherIcon:yt,blockNode:Hn=!1,children:Wn,checkable:Xe=!1,selectable:vn=!0,draggable:Fe,motion:he,style:de}=lt,Se=Rt("tree",Sn),qe=Rt(),gt=he!=null?he:Object.assign(Object.assign({},(0,te.Z)(qe)),{motionAppear:!1}),_e=Object.assign(Object.assign({},lt),{checkable:Xe,selectable:vn,showIcon:ln,motion:gt,blockNode:Hn,showLine:!!zn,dropIndicatorRender:ge}),[Ye,Pt]=(0,ne.ZP)(Se),ft=je.useMemo(()=>{if(!Fe)return!1;let jt={};switch(typeof Fe){case"function":jt.nodeDraggable=Fe;break;case"object":jt=Object.assign({},Fe);break;default:break}return jt.icon!==!1&&(jt.icon=jt.icon||je.createElement(E.Z,null)),jt},[Fe]),st=jt=>je.createElement(Le.Z,{prefixCls:Se,switcherIcon:yt,treeNodeProps:jt,showLine:zn});return Ye(je.createElement(le.Z,Object.assign({itemHeight:20,ref:at,virtual:ht},_e,{style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),de),prefixCls:Se,className:ie()({[`${Se}-icon-hide`]:!ln,[`${Se}-block-node`]:Hn,[`${Se}-unselectable`]:!vn,[`${Se}-rtl`]:Wt==="rtl"},Ht==null?void 0:Ht.className,Tn,Pt),direction:Wt,checkable:Xe&&je.createElement("span",{className:`${Se}-checkbox-inner`}),selectable:vn,switcherIcon:st,draggable:ft}),Wn))}),Ge;(function(lt){lt[lt.None=0]="None",lt[lt.Start=1]="Start",lt[lt.End=2]="End"})(Ge||(Ge={}));function We(lt,at){function Rt(Wt){const{key:ht,children:Ht}=Wt;at(ht,Wt)!==!1&&We(Ht||[],at)}lt.forEach(Rt)}function nt(lt){let{treeData:at,expandedKeys:Rt,startKey:Wt,endKey:ht}=lt;const Ht=[];let Sn=Ge.None;if(Wt&&Wt===ht)return[Wt];if(!Wt||!ht)return[];function Tn(ln){return ln===Wt||ln===ht}return We(at,ln=>{if(Sn===Ge.End)return!1;if(Tn(ln)){if(Ht.push(ln),Sn===Ge.None)Sn=Ge.Start;else if(Sn===Ge.Start)return Sn=Ge.End,!1}else Sn===Ge.Start&&Ht.push(ln);return Rt.includes(ln)}),Ht}function Te(lt,at){const Rt=(0,Ce.Z)(at),Wt=[];return We(lt,(ht,Ht)=>{const Sn=Rt.indexOf(ht);return Sn!==-1&&(Wt.push(Ht),Rt.splice(Sn,1)),!!Rt.length}),Wt}var vt=function(lt,at){var Rt={};for(var Wt in lt)Object.prototype.hasOwnProperty.call(lt,Wt)&&at.indexOf(Wt)<0&&(Rt[Wt]=lt[Wt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,Wt=Object.getOwnPropertySymbols(lt);ht{var{defaultExpandAll:Rt,defaultExpandParent:Wt,defaultExpandedKeys:ht}=lt,Ht=vt(lt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Sn=je.useRef(),Tn=je.useRef(),ln=()=>{const{keyEntities:ft}=(0,a.I8)(Nt(Ht));let st;return Rt?st=Object.keys(ft):Wt?st=(0,y.r7)(Ht.expandedKeys||ht||[],ft):st=Ht.expandedKeys||ht,st},[zn,yt]=je.useState(Ht.selectedKeys||Ht.defaultSelectedKeys||[]),[Hn,Wn]=je.useState(()=>ln());je.useEffect(()=>{"selectedKeys"in Ht&&yt(Ht.selectedKeys)},[Ht.selectedKeys]),je.useEffect(()=>{"expandedKeys"in Ht&&Wn(Ht.expandedKeys)},[Ht.expandedKeys]);const Xe=(ft,st)=>{var jt;return"expandedKeys"in Ht||Wn(ft),(jt=Ht.onExpand)===null||jt===void 0?void 0:jt.call(Ht,ft,st)},vn=(ft,st)=>{var jt;const{multiple:Qn}=Ht,{node:Lt,nativeEvent:on}=st,{key:Qt=""}=Lt,Cn=Nt(Ht),ut=Object.assign(Object.assign({},st),{selected:!0}),Xt=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),pn=on==null?void 0:on.shiftKey;let bn;Qn&&Xt?(bn=ft,Sn.current=Qt,Tn.current=bn,ut.selectedNodes=Te(Cn,bn)):Qn&&pn?(bn=Array.from(new Set([].concat((0,Ce.Z)(Tn.current||[]),(0,Ce.Z)(nt({treeData:Cn,expandedKeys:Hn,startKey:Qt,endKey:Sn.current}))))),ut.selectedNodes=Te(Cn,bn)):(bn=[Qt],Sn.current=Qt,Tn.current=bn,ut.selectedNodes=Te(Cn,bn)),(jt=Ht.onSelect)===null||jt===void 0||jt.call(Ht,bn,ut),"selectedKeys"in Ht||yt(bn)},{getPrefixCls:Fe,direction:he}=je.useContext(ee.E_),{prefixCls:de,className:Se,showIcon:qe=!0,expandAction:gt="click"}=Ht,_e=vt(Ht,["prefixCls","className","showIcon","expandAction"]),Ye=Fe("tree",de),Pt=ie()(`${Ye}-directory`,{[`${Ye}-directory-rtl`]:he==="rtl"},Se);return je.createElement(Ue,Object.assign({icon:Qe,ref:at,blockNode:!0},_e,{showIcon:qe,expandAction:gt,prefixCls:Ye,className:Pt,expandedKeys:Hn,selectedKeys:zn,onSelect:vn,onExpand:Xe}))};var bt=je.forwardRef(At);const dt=Ue;dt.DirectoryTree=bt,dt.TreeNode=le.O;var Bt=dt},20648:function(Yt,Dt,Be){"use strict";Be.d(Dt,{TM:function(){return Ee},Yk:function(){return xe}});var le=Be(36237),Ce=Be(98447),He=Be(17313),tt=Be(8378),ze=Be(37613),je=Be(83116);const ve=new le.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),we=(ie,y)=>({[`.${ie}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),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,He.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,He.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,He.oN)(y)),[`&:not(${ee}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:te,lineHeight:`${te}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${ee}:hover &`]:{opacity:.45}},[`&${ee}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},we(ie,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:te,margin:0,lineHeight:`${te}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:te/2,bottom:-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,ze.TS)(y,{treeCls:a,treeNodeCls:ee,treeNodePadding:E});return[fe(ie,te),De(te)]},Ee=ie=>{const{controlHeightSM:y}=ie;return{titleHeight:y,nodeHoverBg:ie.controlItemBgHover,nodeSelectedBg:ie.controlItemBgActive}};Dt.ZP=(0,je.Z)("Tree",(ie,y)=>{let{prefixCls:a}=y;return[{[ie.componentCls]:(0,Ce.C2)(`${a}-checkbox`,ie)},xe(a,ie),(0,tt.Z)(ie)]},ie=>{const{colorTextLightSolid:y,colorPrimary:a}=ie;return Object.assign(Object.assign({},Ee(ie)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Yt,Dt,Be){"use strict";Be.d(Dt,{Z:function(){return ee}});var le=Be(54476),Ce=Be(59301),He={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"},tt=He,ze=Be(7657),je=function(te,ne){return Ce.createElement(ze.Z,(0,le.Z)({},te,{ref:ne,icon:tt}))},ve=Ce.forwardRef(je),we=ve,Ne=Be(52671),fe=Be(58617),De=Be(15075),xe=Be(43531),Ee=Be(92310),ie=Be.n(Ee),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 Ce.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 Te=typeof Ge=="function"?Ge(ae):Ge,vt=`${te}-switcher-line-custom-icon`;return(0,y.l$)(Te)?(0,y.Tm)(Te,{className:ie()(Te.props.className||"",vt)}):Te}return Ge?Ce.createElement(Ne.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement("span",{className:`${te}-switcher-leaf-line`})}const We=`${te}-switcher-icon`,nt=typeof ne=="function"?ne(ae):ne;return(0,y.l$)(nt)?(0,y.Tm)(nt,{className:ie()(nt.props.className||"",We)}):nt!==void 0?nt:ge?Pe?Ce.createElement(De.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(xe.Z,{className:`${te}-switcher-line-icon`}):Ce.createElement(we,{className:We})}},86251:function(Yt,Dt){"use strict";Dt.byteLength=ve,Dt.toByteArray=Ne,Dt.fromByteArray=xe;for(var Be=[],le=[],Ce=typeof Uint8Array!="undefined"?Uint8Array:Array,He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=0,ze=He.length;tt0)throw new Error("Invalid string. Length must be a multiple of 4");var y=Ee.indexOf("=");y===-1&&(y=ie);var a=y===ie?0:4-y%4;return[y,a]}function ve(Ee){var ie=je(Ee),y=ie[0],a=ie[1];return(y+a)*3/4-a}function we(Ee,ie,y){return(ie+y)*3/4-y}function Ne(Ee){var ie,y=je(Ee),a=y[0],ee=y[1],E=new Ce(we(Ee,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[Ee.charCodeAt(ae)]<<2|le[Ee.charCodeAt(ae+1)]>>4,E[te++]=ie&255),ee===1&&(ie=le[Ee.charCodeAt(ae)]<<10|le[Ee.charCodeAt(ae+1)]<<4|le[Ee.charCodeAt(ae+2)]>>2,E[te++]=ie>>8&255,E[te++]=ie&255),E}function fe(Ee){return Be[Ee>>18&63]+Be[Ee>>12&63]+Be[Ee>>6&63]+Be[Ee&63]}function De(Ee,ie,y){for(var a,ee=[],E=ie;Ene?ne:te+E));return a===1?(ie=Ee[y-1],ee.push(Be[ie>>2]+Be[ie<<4&63]+"==")):a===2&&(ie=(Ee[y-2]<<8)+Ee[y-1],ee.push(Be[ie>>10]+Be[ie>>4&63]+Be[ie<<2&63]+"=")),ee.join("")}},19208:function(Yt,Dt,Be){"use strict";var le;var Ce=Be(86251),He=Be(67467),tt=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Dt.lW=we,le=te,Dt.h2=50;var ze=2147483647;le=ze,we.TYPED_ARRAY_SUPPORT=je(),!we.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function je(){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(we.prototype,"parent",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.buffer}}),Object.defineProperty(we.prototype,"offset",{enumerable:!0,get:function(){if(we.isBuffer(this))return this.byteOffset}});function ve(Fe){if(Fe>ze)throw new RangeError('The value "'+Fe+'" is invalid for option "size"');var he=new Uint8Array(Fe);return Object.setPrototypeOf(he,we.prototype),he}function we(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)}we.poolSize=8192;function Ne(Fe,he,de){if(typeof Fe=="string")return Ee(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(Wn(Fe,ArrayBuffer)||Fe&&Wn(Fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Wn(Fe,SharedArrayBuffer)||Fe&&Wn(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 Se=Fe.valueOf&&Fe.valueOf();if(Se!=null&&Se!==Fe)return we.from(Se,he,de);var qe=ee(Fe);if(qe)return qe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Fe[Symbol.toPrimitive]=="function")return we.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)}we.from=function(Fe,he,de){return Ne(Fe,he,de)},Object.setPrototypeOf(we.prototype,Uint8Array.prototype),Object.setPrototypeOf(we,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)}we.alloc=function(Fe,he,de){return De(Fe,he,de)};function xe(Fe){return fe(Fe),ve(Fe<0?0:E(Fe)|0)}we.allocUnsafe=function(Fe){return xe(Fe)},we.allocUnsafeSlow=function(Fe){return xe(Fe)};function Ee(Fe,he){if((typeof he!="string"||he==="")&&(he="utf8"),!we.isEncoding(he))throw new TypeError("Unknown encoding: "+he);var de=ne(Fe,he)|0,Se=ve(de),qe=Se.write(Fe,he);return qe!==de&&(Se=Se.slice(0,qe)),Se}function ie(Fe){for(var he=Fe.length<0?0:E(Fe.length)|0,de=ve(he),Se=0;Se=ze)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ze.toString(16)+" bytes");return Fe|0}function te(Fe){return+Fe!=Fe&&(Fe=0),we.alloc(+Fe)}we.isBuffer=function(he){return he!=null&&he._isBuffer===!0&&he!==we.prototype},we.compare=function(he,de){if(Wn(he,Uint8Array)&&(he=we.from(he,he.offset,he.byteLength)),Wn(de,Uint8Array)&&(de=we.from(de,de.offset,de.byteLength)),!we.isBuffer(he)||!we.isBuffer(de))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(he===de)return 0;for(var Se=he.length,qe=de.length,gt=0,_e=Math.min(Se,qe);gt<_e;++gt)if(he[gt]!==de[gt]){Se=he[gt],qe=de[gt];break}return Seqe.length?we.from(_e).copy(qe,gt):Uint8Array.prototype.set.call(qe,_e,gt);else if(we.isBuffer(_e))_e.copy(qe,gt);else throw new TypeError('"list" argument must be an Array of Buffers');gt+=_e.length}return qe};function ne(Fe,he){if(we.isBuffer(Fe))return Fe.length;if(ArrayBuffer.isView(Fe)||Wn(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,Se=arguments.length>2&&arguments[2]===!0;if(!Se&&de===0)return 0;for(var qe=!1;;)switch(he){case"ascii":case"latin1":case"binary":return de;case"utf8":case"utf-8":return Tn(Fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return de*2;case"hex":return de>>>1;case"base64":return yt(Fe).length;default:if(qe)return Se?-1:Tn(Fe).length;he=(""+he).toLowerCase(),qe=!0}}we.byteLength=ne;function ae(Fe,he,de){var Se=!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 dt(this,he,de);case"utf8":case"utf-8":return Qe(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 Bt(this,he,de);default:if(Se)throw new TypeError("Unknown encoding: "+Fe);Fe=(Fe+"").toLowerCase(),Se=!0}}we.prototype._isBuffer=!0;function ge(Fe,he,de){var Se=Fe[he];Fe[he]=Fe[de],Fe[de]=Se}we.prototype.swap16=function(){var he=this.length;if(he%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var de=0;dede&&(he+=" ... "),""},tt&&(we.prototype[tt]=we.prototype.inspect),we.prototype.compare=function(he,de,Se,qe,gt){if(Wn(he,Uint8Array)&&(he=we.from(he,he.offset,he.byteLength)),!we.isBuffer(he))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof he);if(de===void 0&&(de=0),Se===void 0&&(Se=he?he.length:0),qe===void 0&&(qe=0),gt===void 0&&(gt=this.length),de<0||Se>he.length||qe<0||gt>this.length)throw new RangeError("out of range index");if(qe>=gt&&de>=Se)return 0;if(qe>=gt)return-1;if(de>=Se)return 1;if(de>>>=0,Se>>>=0,qe>>>=0,gt>>>=0,this===he)return 0;for(var _e=gt-qe,Ye=Se-de,Pt=Math.min(_e,Ye),ft=this.slice(qe,gt),st=he.slice(de,Se),jt=0;jt2147483647?de=2147483647:de<-2147483648&&(de=-2147483648),de=+de,Xe(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=we.from(he,Se)),we.isBuffer(he))return he.length===0?-1:Pe(Fe,he,de,Se,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,Se,qe);throw new TypeError("val must be string, number or Buffer")}function Pe(Fe,he,de,Se,qe){var gt=1,_e=Fe.length,Ye=he.length;if(Se!==void 0&&(Se=String(Se).toLowerCase(),Se==="ucs2"||Se==="ucs-2"||Se==="utf16le"||Se==="utf-16le")){if(Fe.length<2||he.length<2)return-1;gt=2,_e/=2,Ye/=2,de/=2}function Pt(Lt,on){return gt===1?Lt[on]:Lt.readUInt16BE(on*gt)}var ft;if(qe){var st=-1;for(ft=de;ft<_e;ft++)if(Pt(Fe,ft)===Pt(he,st===-1?0:ft-st)){if(st===-1&&(st=ft),ft-st+1===Ye)return st*gt}else st!==-1&&(ft-=ft-st),st=-1}else for(de+Ye>_e&&(de=_e-Ye),ft=de;ft>=0;ft--){for(var jt=!0,Qn=0;Qnqe&&(Se=qe)):Se=qe;var gt=he.length;Se>gt/2&&(Se=gt/2);for(var _e=0;_e>>0,isFinite(Se)?(Se=Se>>>0,qe===void 0&&(qe="utf8")):(qe=Se,Se=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var gt=this.length-de;if((Se===void 0||Se>gt)&&(Se=gt),he.length>0&&(Se<0||de<0)||de>this.length)throw new RangeError("Attempt to write outside buffer bounds");qe||(qe="utf8");for(var _e=!1;;)switch(qe){case"hex":return Ue(this,he,de,Se);case"utf8":case"utf-8":return Ge(this,he,de,Se);case"ascii":case"latin1":case"binary":return We(this,he,de,Se);case"base64":return nt(this,he,de,Se);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,he,de,Se);default:if(_e)throw new TypeError("Unknown encoding: "+qe);qe=(""+qe).toLowerCase(),_e=!0}},we.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?Ce.fromByteArray(Fe):Ce.fromByteArray(Fe.slice(he,de))}function Qe(Fe,he,de){de=Math.min(Fe.length,de);for(var Se=[],qe=he;qe239?4:gt>223?3:gt>191?2:1;if(qe+Ye<=de){var Pt,ft,st,jt;switch(Ye){case 1:gt<128&&(_e=gt);break;case 2:Pt=Fe[qe+1],(Pt&192)===128&&(jt=(gt&31)<<6|Pt&63,jt>127&&(_e=jt));break;case 3:Pt=Fe[qe+1],ft=Fe[qe+2],(Pt&192)===128&&(ft&192)===128&&(jt=(gt&15)<<12|(Pt&63)<<6|ft&63,jt>2047&&(jt<55296||jt>57343)&&(_e=jt));break;case 4:Pt=Fe[qe+1],ft=Fe[qe+2],st=Fe[qe+3],(Pt&192)===128&&(ft&192)===128&&(st&192)===128&&(jt=(gt&15)<<18|(Pt&63)<<12|(ft&63)<<6|st&63,jt>65535&&jt<1114112&&(_e=jt))}}_e===null?(_e=65533,Ye=1):_e>65535&&(_e-=65536,Se.push(_e>>>10&1023|55296),_e=56320|_e&1023),Se.push(_e),qe+=Ye}return At(Se)}var Nt=4096;function At(Fe){var he=Fe.length;if(he<=Nt)return String.fromCharCode.apply(String,Fe);for(var de="",Se=0;SeSe)&&(de=Se);for(var qe="",gt=he;gtSe&&(he=Se),de<0?(de+=Se,de<0&&(de=0)):de>Se&&(de=Se),dede)throw new RangeError("Trying to access beyond buffer length")}we.prototype.readUintLE=we.prototype.readUIntLE=function(he,de,Se){he=he>>>0,de=de>>>0,Se||lt(he,de,this.length);for(var qe=this[he],gt=1,_e=0;++_e>>0,de=de>>>0,Se||lt(he,de,this.length);for(var qe=this[he+--de],gt=1;de>0&&(gt*=256);)qe+=this[he+--de]*gt;return qe},we.prototype.readUint8=we.prototype.readUInt8=function(he,de){return he=he>>>0,de||lt(he,1,this.length),this[he]},we.prototype.readUint16LE=we.prototype.readUInt16LE=function(he,de){return he=he>>>0,de||lt(he,2,this.length),this[he]|this[he+1]<<8},we.prototype.readUint16BE=we.prototype.readUInt16BE=function(he,de){return he=he>>>0,de||lt(he,2,this.length),this[he]<<8|this[he+1]},we.prototype.readUint32LE=we.prototype.readUInt32LE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),(this[he]|this[he+1]<<8|this[he+2]<<16)+this[he+3]*16777216},we.prototype.readUint32BE=we.prototype.readUInt32BE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),this[he]*16777216+(this[he+1]<<16|this[he+2]<<8|this[he+3])},we.prototype.readIntLE=function(he,de,Se){he=he>>>0,de=de>>>0,Se||lt(he,de,this.length);for(var qe=this[he],gt=1,_e=0;++_e=gt&&(qe-=Math.pow(2,8*de)),qe},we.prototype.readIntBE=function(he,de,Se){he=he>>>0,de=de>>>0,Se||lt(he,de,this.length);for(var qe=de,gt=1,_e=this[he+--qe];qe>0&&(gt*=256);)_e+=this[he+--qe]*gt;return gt*=128,_e>=gt&&(_e-=Math.pow(2,8*de)),_e},we.prototype.readInt8=function(he,de){return he=he>>>0,de||lt(he,1,this.length),this[he]&128?(255-this[he]+1)*-1:this[he]},we.prototype.readInt16LE=function(he,de){he=he>>>0,de||lt(he,2,this.length);var Se=this[he]|this[he+1]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt16BE=function(he,de){he=he>>>0,de||lt(he,2,this.length);var Se=this[he+1]|this[he]<<8;return Se&32768?Se|4294901760:Se},we.prototype.readInt32LE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),this[he]|this[he+1]<<8|this[he+2]<<16|this[he+3]<<24},we.prototype.readInt32BE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),this[he]<<24|this[he+1]<<16|this[he+2]<<8|this[he+3]},we.prototype.readFloatLE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),He.read(this,he,!0,23,4)},we.prototype.readFloatBE=function(he,de){return he=he>>>0,de||lt(he,4,this.length),He.read(this,he,!1,23,4)},we.prototype.readDoubleLE=function(he,de){return he=he>>>0,de||lt(he,8,this.length),He.read(this,he,!0,52,8)},we.prototype.readDoubleBE=function(he,de){return he=he>>>0,de||lt(he,8,this.length),He.read(this,he,!1,52,8)};function at(Fe,he,de,Se,qe,gt){if(!we.isBuffer(Fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>qe||heFe.length)throw new RangeError("Index out of range")}we.prototype.writeUintLE=we.prototype.writeUIntLE=function(he,de,Se,qe){if(he=+he,de=de>>>0,Se=Se>>>0,!qe){var gt=Math.pow(2,8*Se)-1;at(this,he,de,Se,gt,0)}var _e=1,Ye=0;for(this[de]=he&255;++Ye>>0,Se=Se>>>0,!qe){var gt=Math.pow(2,8*Se)-1;at(this,he,de,Se,gt,0)}var _e=Se-1,Ye=1;for(this[de+_e]=he&255;--_e>=0&&(Ye*=256);)this[de+_e]=he/Ye&255;return de+Se},we.prototype.writeUint8=we.prototype.writeUInt8=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,1,255,0),this[de]=he&255,de+1},we.prototype.writeUint16LE=we.prototype.writeUInt16LE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,2,65535,0),this[de]=he&255,this[de+1]=he>>>8,de+2},we.prototype.writeUint16BE=we.prototype.writeUInt16BE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,2,65535,0),this[de]=he>>>8,this[de+1]=he&255,de+2},we.prototype.writeUint32LE=we.prototype.writeUInt32LE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(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},we.prototype.writeUint32BE=we.prototype.writeUInt32BE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(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},we.prototype.writeIntLE=function(he,de,Se,qe){if(he=+he,de=de>>>0,!qe){var gt=Math.pow(2,8*Se-1);at(this,he,de,Se,gt-1,-gt)}var _e=0,Ye=1,Pt=0;for(this[de]=he&255;++_e>0)-Pt&255;return de+Se},we.prototype.writeIntBE=function(he,de,Se,qe){if(he=+he,de=de>>>0,!qe){var gt=Math.pow(2,8*Se-1);at(this,he,de,Se,gt-1,-gt)}var _e=Se-1,Ye=1,Pt=0;for(this[de+_e]=he&255;--_e>=0&&(Ye*=256);)he<0&&Pt===0&&this[de+_e+1]!==0&&(Pt=1),this[de+_e]=(he/Ye>>0)-Pt&255;return de+Se},we.prototype.writeInt8=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,1,127,-128),he<0&&(he=255+he+1),this[de]=he&255,de+1},we.prototype.writeInt16LE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,2,32767,-32768),this[de]=he&255,this[de+1]=he>>>8,de+2},we.prototype.writeInt16BE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(this,he,de,2,32767,-32768),this[de]=he>>>8,this[de+1]=he&255,de+2},we.prototype.writeInt32LE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(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},we.prototype.writeInt32BE=function(he,de,Se){return he=+he,de=de>>>0,Se||at(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 Rt(Fe,he,de,Se,qe,gt){if(de+Se>Fe.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("Index out of range")}function Wt(Fe,he,de,Se,qe){return he=+he,de=de>>>0,qe||Rt(Fe,he,de,4,34028234663852886e22,-34028234663852886e22),He.write(Fe,he,de,Se,23,4),de+4}we.prototype.writeFloatLE=function(he,de,Se){return Wt(this,he,de,!0,Se)},we.prototype.writeFloatBE=function(he,de,Se){return Wt(this,he,de,!1,Se)};function ht(Fe,he,de,Se,qe){return he=+he,de=de>>>0,qe||Rt(Fe,he,de,8,17976931348623157e292,-17976931348623157e292),He.write(Fe,he,de,Se,52,8),de+8}we.prototype.writeDoubleLE=function(he,de,Se){return ht(this,he,de,!0,Se)},we.prototype.writeDoubleBE=function(he,de,Se){return ht(this,he,de,!1,Se)},we.prototype.copy=function(he,de,Se,qe){if(!we.isBuffer(he))throw new TypeError("argument should be a Buffer");if(Se||(Se=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,Se=Se===void 0?this.length:Se>>>0,he||(he=0);var _e;if(typeof he=="number")for(_e=de;_e55295&&de<57344){if(!qe){if(de>56319){(he-=3)>-1&>.push(239,191,189);continue}else if(_e+1===Se){(he-=3)>-1&>.push(239,191,189);continue}qe=de;continue}if(de<56320){(he-=3)>-1&>.push(239,191,189),qe=de;continue}de=(qe-55296<<10|de-56320)+65536}else qe&&(he-=3)>-1&>.push(239,191,189);if(qe=null,de<128){if((he-=1)<0)break;gt.push(de)}else if(de<2048){if((he-=2)<0)break;gt.push(de>>6|192,de&63|128)}else if(de<65536){if((he-=3)<0)break;gt.push(de>>12|224,de>>6&63|128,de&63|128)}else if(de<1114112){if((he-=4)<0)break;gt.push(de>>18|240,de>>12&63|128,de>>6&63|128,de&63|128)}else throw new Error("Invalid code point")}return gt}function ln(Fe){for(var he=[],de=0;de>8,qe=de%256,gt.push(qe),gt.push(Se);return gt}function yt(Fe){return Ce.toByteArray(Sn(Fe))}function Hn(Fe,he,de,Se){for(var qe=0;qe=he.length||qe>=Fe.length);++qe)he[qe+de]=Fe[qe];return qe}function Wn(Fe,he){return Fe instanceof he||Fe!=null&&Fe.constructor!=null&&Fe.constructor.name!=null&&Fe.constructor.name===he.name}function Xe(Fe){return Fe!==Fe}var vn=function(){for(var Fe="0123456789abcdef",he=new Array(256),de=0;de<16;++de)for(var Se=de*16,qe=0;qe<16;++qe)he[Se+qe]=Fe[de]+Fe[qe];return he}()},14625:function(Yt){function Dt(le){var Ce,He,tt="";if(typeof le=="string"||typeof le=="number")tt+=le;else if(typeof le=="object")if(Array.isArray(le)){var ze=le.length;for(Ce=0;Ce0&&(Ue=ae[0]),Ue instanceof Error)throw Ue;var Ge=new Error("Unhandled error."+(Ue?" ("+Ue.message+")":""));throw Ge.context=Ue,Ge}var We=Pe[ne];if(We===void 0)return!1;if(typeof We=="function")Be(We,this,ae);else for(var nt=We.length,Te=Ee(We,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,Ce(Ge)}return te}tt.prototype.addListener=function(ne,ae){return we(this,ne,ae,!1)},tt.prototype.on=tt.prototype.addListener,tt.prototype.prependListener=function(ne,ae){return we(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}tt.prototype.once=function(ne,ae){return je(ae),this.on(ne,fe(this,ne,ae)),this},tt.prototype.prependOnceListener=function(ne,ae){return je(ae),this.prependListener(ne,fe(this,ne,ae)),this},tt.prototype.removeListener=function(ne,ae){var ge,Le,Pe,Ue,Ge;if(je(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},tt.prototype.off=tt.prototype.removeListener,tt.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):Ee(Le,Le.length)}tt.prototype.listeners=function(ne){return De(this,ne,!0)},tt.prototype.rawListeners=function(ne){return De(this,ne,!1)},tt.listenerCount=function(te,ne){return typeof te.listenerCount=="function"?te.listenerCount(ne):xe.call(te,ne)},tt.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}tt.prototype.eventNames=function(){return this._eventsCount>0?le(this._events):[]};function Ee(te,ne){for(var ae=new Array(ne),ge=0;ge0&&rt[rt.length-1])&&(Dn[0]===6||Dn[0]===2)){pe=0;continue}if(Dn[0]===3&&(!rt||Dn[1]>rt[0]&&Dn[1]=55296&&Me<=56319&&pe>10)+55296,wt%1024+56320)),(Me+1===pe||me.length>16384)&&(rt+=String.fromCharCode.apply(String,me),me.length=0)}return rt},fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",De=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),xe=0;xe>4,_n[Me++]=(wt&15)<<4|zt>>2,_n[Me++]=(zt&3)<<6|Kt&63;return Dn},ee=function(ce){for(var se=ce.length,pe=[],me=0;me>te,Pe=1<>te,We=Le+Ge,nt=We,Te=32,vt=nt+Te,Qe=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&At,pe=this.index[pe],pe=(pe<ht?(Me.push(!0),zt-=ht):Me.push(!1),["normal","auto","loose"].indexOf(se)!==-1&&[8208,8211,12316,12448].indexOf(rt)!==-1)return me.push(wt),pe.push(qe);if(zt===ln||zt===vn){if(wt===0)return me.push(wt),pe.push(Xt);var Kt=pe[wt-1];return Wi.indexOf(Kt)===-1?(me.push(me[wt-1]),pe.push(Kt)):(me.push(wt),pe.push(Xt))}if(me.push(wt),zt===pn)return pe.push(se==="strict"?ft:cr);if(zt===xa||zt===ut)return pe.push(Xt);if(zt===lr)return rt>=131072&&rt<=196605||rt>=196608&&rt<=262141?pe.push(cr):pe.push(Xt);pe.push(zt)}),[me,pe,Me]},kn=function(ce,se,pe,me){var Me=me[pe];if(Array.isArray(ce)?ce.indexOf(Me)!==-1:ce===Me)for(var rt=pe;rt<=me.length;){rt++;var wt=me[rt];if(wt===se)return!0;if(wt!==Xe)break}if(Me===Xe)for(var rt=pe;rt>0;){rt--;var zt=me[rt];if(Array.isArray(ce)?ce.indexOf(zt)!==-1:ce===zt)for(var Kt=pe;Kt<=me.length;){Kt++;var wt=me[Kt];if(wt===se)return!0;if(wt!==Xe)break}if(zt!==Xe)break}return!1},mn=function(ce,se){for(var pe=ce;pe>=0;){var me=se[pe];if(me===Xe)pe--;else return me}return 0},Hr=function(ce,se,pe,me,Me){if(pe[me]===0)return Xr;var rt=me-1;if(Array.isArray(Me)&&Me[rt]===!0)return Xr;var wt=rt-1,zt=rt+1,Kt=se[rt],Dn=wt>=0?se[wt]:0,_n=se[zt];if(Kt===Sn&&_n===Tn)return Xr;if(Qi.indexOf(Kt)!==-1)return no;if(Qi.indexOf(_n)!==-1||Gi.indexOf(_n)!==-1)return Xr;if(mn(rt,se)===Hn)return rn;if(di.get(ce[rt])===vn||(Kt===bn||Kt===Jn)&&di.get(ce[zt])===vn||Kt===yt||_n===yt||Kt===Wn||[Xe,he,Se].indexOf(Kt)===-1&&_n===Wn||[gt,_e,Ye,Qn,Cn].indexOf(_n)!==-1||mn(rt,se)===st||kn(jt,st,rt,se)||kn([gt,_e],ft,rt,se)||kn(Fe,Fe,rt,se))return Xr;if(Kt===Xe)return rn;if(Kt===jt||_n===jt)return Xr;if(_n===qe||Kt===qe)return rn;if([he,Se,ft].indexOf(_n)!==-1||Kt===de||Dn===Er&&ei.indexOf(Kt)!==-1||Kt===Cn&&_n===Er||_n===Pt||ha.indexOf(_n)!==-1&&Kt===Lt||ha.indexOf(Kt)!==-1&&_n===Lt||Kt===Qt&&[cr,bn,Jn].indexOf(_n)!==-1||[cr,bn,Jn].indexOf(Kt)!==-1&&_n===on||ha.indexOf(Kt)!==-1&&La.indexOf(_n)!==-1||La.indexOf(Kt)!==-1&&ha.indexOf(_n)!==-1||[Qt,on].indexOf(Kt)!==-1&&(_n===Lt||[st,Se].indexOf(_n)!==-1&&se[zt+1]===Lt)||[st,Se].indexOf(Kt)!==-1&&_n===Lt||Kt===Lt&&[Lt,Cn,Qn].indexOf(_n)!==-1)return Xr;if([Lt,Cn,Qn,gt,_e].indexOf(_n)!==-1)for(var Vn=rt;Vn>=0;){var br=se[Vn];if(br===Lt)return Xr;if([Cn,Qn].indexOf(br)!==-1)Vn--;else break}if([Qt,on].indexOf(_n)!==-1)for(var Vn=[gt,_e].indexOf(Kt)!==-1?wt:rt;Vn>=0;){var br=se[Vn];if(br===Lt)return Xr;if([Cn,Qn].indexOf(br)!==-1)Vn--;else break}if(ir===Kt&&[ir,dr,Ar,Fr].indexOf(_n)!==-1||[dr,Ar].indexOf(Kt)!==-1&&[dr,Rr].indexOf(_n)!==-1||[Rr,Fr].indexOf(Kt)!==-1&&_n===Rr||Zi.indexOf(Kt)!==-1&&[Pt,on].indexOf(_n)!==-1||Zi.indexOf(_n)!==-1&&Kt===Qt||ha.indexOf(Kt)!==-1&&ha.indexOf(_n)!==-1||Kt===Qn&&ha.indexOf(_n)!==-1||ha.concat(Lt).indexOf(Kt)!==-1&&_n===st&&ao.indexOf(ce[zt])===-1||ha.concat(Lt).indexOf(_n)!==-1&&Kt===_e)return Xr;if(Kt===Kr&&_n===Kr){for(var Wa=pe[rt],ra=1;Wa>0&&(Wa--,se[Wa]===Kr);)ra++;if(ra%2!==0)return Xr}return Kt===bn&&_n===Jn?Xr:rn},Aa=function(ce,se){se||(se={lineBreak:"normal",wordBreak:"normal"});var pe=hn(ce,se.lineBreak),me=pe[0],Me=pe[1],rt=pe[2];(se.wordBreak==="break-all"||se.wordBreak==="break-word")&&(Me=Me.map(function(zt){return[Lt,Xt,xa].indexOf(zt)!==-1?cr:zt}));var wt=se.wordBreak==="keep-all"?rt.map(function(zt,Kt){return zt&&ce[Kt]>=19968&&ce[Kt]<=40959}):void 0;return[me,Me,wt]},jr=function(){function ce(se,pe,me,Me){this.codePoints=se,this.required=pe===no,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=we(ce),me=Aa(pe,se),Me=me[0],rt=me[1],wt=me[2],zt=pe.length,Kt=0,Dn=0;return{next:function(){if(Dn>=zt)return{done:!0,value:null};for(var _n=Xr;Dn=Bc&&ce<=57},wc=function(ce){return ce>=55296&&ce<=57343},ps=function(ce){return Xs(ce)||ce>=Vs&&ce<=Pu||ce>=Ol&&ce<=Eu},ec=function(ce){return ce>=Ol&&ce<=uu},ju=function(ce){return ce>=Vs&&ce<=Ys},Da=function(ce){return ec(ce)||ju(ce)},ua=function(ce){return ce>=sA},Zt=function(ce){return ce===Nr||ce===oi||ce===Io},kt=function(ce){return Da(ce)||ua(ce)||ce===Bl},In=function(ce){return kt(ce)||Xs(ce)||ce===Ms},yr=function(ce){return ce>=Ru&&ce<=Gl||ce===Wl||ce>=Ul&&ce<=Al||ce===Cu},Gr=function(ce,se){return ce!==Ei?!1:se!==Nr},fa=function(ce,se,pe){return ce===Ms?kt(se)||Gr(se,pe):kt(ce)?!0:!!(ce===Ei&&Gr(ce,se))},Ma=function(ce,se,pe){return ce===ka||ce===Ms?Xs(se)?!0:se===Dl&&Xs(pe):Xs(ce===Dl?se:ce)},Pr=function(ce){var se=0,pe=1;(ce[se]===ka||ce[se]===Ms)&&(ce[se]===Ms&&(pe=-1),se++);for(var me=[];Xs(ce[se]);)me.push(ce[se++]);var Me=me.length?parseInt(Ne.apply(void 0,me),10):0;ce[se]===Dl&&se++;for(var rt=[];Xs(ce[se]);)rt.push(ce[se++]);var wt=rt.length,zt=wt?parseInt(Ne.apply(void 0,rt),10):0;(ce[se]===cu||ce[se]===dn)&&se++;var Kt=1;(ce[se]===ka||ce[se]===Ms)&&(ce[se]===Ms&&(Kt=-1),se++);for(var Dn=[];Xs(ce[se]);)Dn.push(ce[se++]);var _n=Dn.length?parseInt(Ne.apply(void 0,Dn),10):0;return pe*(Me+zt*Math.pow(10,-wt))*Math.pow(10,Kt*_n)},Mr={type:2},Ua={type:3},_i={type:4},To={type:13},xo={type:8},Ko={type:21},zo={type:9},Nn={type:10},cn={type:11},gn={type:12},jn={type:14},Wr={type:23},ta={type:1},$n={type:25},Zr={type:24},wa={type:26},ya={type:27},po={type:28},vr={type:29},co={type:31},Co={type:32},gi=function(){function ce(){this._value=[]}return ce.prototype.write=function(se){this._value=this._value.concat(we(se))},ce.prototype.read=function(){for(var se=[],pe=this.consumeToken();pe!==Co;)se.push(pe),pe=this.consumeToken();return se},ce.prototype.consumeToken=function(){var se=this.consumeCodePoint();switch(se){case Po:return this.consumeStringToken(Po);case Qs:var pe=this.peekCodePoint(0),me=this.peekCodePoint(1),Me=this.peekCodePoint(2);if(In(pe)||Gr(me,Me)){var rt=fa(pe,me,Me)?_a:Na,wt=this.consumeName();return{type:5,value:wt,flags:rt}}break;case iA:if(this.peekCodePoint(0)===Vi)return this.consumeCodePoint(),To;break;case Yi:return this.consumeStringToken(Yi);case Hi:return Mr;case EA:return Ua;case xi:if(this.peekCodePoint(0)===Vi)return this.consumeCodePoint(),jn;break;case ka:if(Ma(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case zc:return _i;case Ms:var zt=se,Kt=this.peekCodePoint(0),Dn=this.peekCodePoint(1);if(Ma(zt,Kt,Dn))return this.reconsumeCodePoint(se),this.consumeNumericToken();if(fa(zt,Kt,Dn))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();if(Kt===Ms&&Dn===lu)return this.consumeCodePoint(),this.consumeCodePoint(),Zr;break;case Dl:if(Ma(se,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(se),this.consumeNumericToken();break;case Ya:if(this.peekCodePoint(0)===xi)for(this.consumeCodePoint();;){var _n=this.consumeCodePoint();if(_n===xi&&(_n=this.consumeCodePoint(),_n===Ya))return this.consumeToken();if(_n===fA)return this.consumeToken()}break;case $u:return wa;case wl:return ya;case qu:if(this.peekCodePoint(0)===Or&&this.peekCodePoint(1)===Ms&&this.peekCodePoint(2)===Ms)return this.consumeCodePoint(),this.consumeCodePoint(),$n;break;case Nl:var Vn=this.peekCodePoint(0),br=this.peekCodePoint(1),Wa=this.peekCodePoint(2);if(fa(Vn,br,Wa)){var wt=this.consumeName();return{type:7,value:wt}}break;case $A:return po;case Ei:if(Gr(se,this.peekCodePoint(0)))return this.reconsumeCodePoint(se),this.consumeIdentLikeToken();break;case $r:return vr;case Va:if(this.peekCodePoint(0)===Vi)return this.consumeCodePoint(),xo;break;case Mo:return cn;case Pi:return gn;case BA:case Ql:var ra=this.peekCodePoint(0),Sa=this.peekCodePoint(1);return ra===ka&&(ps(Sa)||Sa===Qa)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(se),this.consumeIdentLikeToken();case ns:if(this.peekCodePoint(0)===Vi)return this.consumeCodePoint(),zo;if(this.peekCodePoint(0)===ns)return this.consumeCodePoint(),Ko;break;case Ks:if(this.peekCodePoint(0)===Vi)return this.consumeCodePoint(),Nn;break;case fA:return Co}return Zt(se)?(this.consumeWhiteSpace(),co):Xs(se)?(this.reconsumeCodePoint(se),this.consumeNumericToken()):kt(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();ps(pe)&&se.length<6;)se.push(pe),pe=this.consumeCodePoint();for(var me=!1;pe===Qa&&se.length<6;)se.push(pe),pe=this.consumeCodePoint(),me=!0;if(me){var Me=parseInt(Ne.apply(void 0,se.map(function(Kt){return Kt===Qa?Bc:Kt})),16),rt=parseInt(Ne.apply(void 0,se.map(function(Kt){return Kt===Qa?Pu:Kt})),16);return{type:30,start:Me,end:rt}}var wt=parseInt(Ne.apply(void 0,se),16);if(this.peekCodePoint(0)===Ms&&ps(this.peekCodePoint(1))){this.consumeCodePoint(),pe=this.consumeCodePoint();for(var zt=[];ps(pe)&&zt.length<6;)zt.push(pe),pe=this.consumeCodePoint();var rt=parseInt(Ne.apply(void 0,zt),16);return{type:30,start:wt,end:rt}}else return{type:30,start:wt,end:wt}},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)===fA)return{type:22,value:""};var pe=this.peekCodePoint(0);if(pe===Yi||pe===Po){var me=this.consumeStringToken(this.consumeCodePoint());return me.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===fA||this.peekCodePoint(0)===EA)?(this.consumeCodePoint(),{type:22,value:me.value}):(this.consumeBadUrlRemnants(),Wr)}for(;;){var Me=this.consumeCodePoint();if(Me===fA||Me===EA)return{type:22,value:Ne.apply(void 0,se)};if(Zt(Me))return this.consumeWhiteSpace(),this.peekCodePoint(0)===fA||this.peekCodePoint(0)===EA?(this.consumeCodePoint(),{type:22,value:Ne.apply(void 0,se)}):(this.consumeBadUrlRemnants(),Wr);if(Me===Po||Me===Yi||Me===Hi||yr(Me))return this.consumeBadUrlRemnants(),Wr;if(Me===Ei)if(Gr(Me,this.peekCodePoint(0)))se.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Wr;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===EA||se===fA)return;Gr(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===fA||Me===void 0||Me===se)return pe+=this.consumeStringSlice(me),{type:0,value:pe};if(Me===Nr)return this._value.splice(0,me),ta;if(Me===Ei){var rt=this._value[me+1];rt!==fA&&rt!==void 0&&(rt===Nr?(pe+=this.consumeStringSlice(me),me=-1,this._value.shift()):Gr(Me,rt)&&(pe+=this.consumeStringSlice(me),pe+=Ne(this.consumeEscapedCodePoint()),me=-1))}me++}while(!0)},ce.prototype.consumeNumber=function(){var se=[],pe=ko,me=this.peekCodePoint(0);for((me===ka||me===Ms)&&se.push(this.consumeCodePoint());Xs(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0);var Me=this.peekCodePoint(1);if(me===Dl&&Xs(Me))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=vi;Xs(this.peekCodePoint(0));)se.push(this.consumeCodePoint());me=this.peekCodePoint(0),Me=this.peekCodePoint(1);var rt=this.peekCodePoint(2);if((me===cu||me===dn)&&((Me===ka||Me===Ms)&&Xs(rt)||Xs(Me)))for(se.push(this.consumeCodePoint(),this.consumeCodePoint()),pe=vi;Xs(this.peekCodePoint(0));)se.push(this.consumeCodePoint());return[Pr(se),pe]},ce.prototype.consumeNumericToken=function(){var se=this.consumeNumber(),pe=se[0],me=se[1],Me=this.peekCodePoint(0),rt=this.peekCodePoint(1),wt=this.peekCodePoint(2);if(fa(Me,rt,wt)){var zt=this.consumeName();return{type:15,number:pe,flags:me,unit:zt}}return Me===vA?(this.consumeCodePoint(),{type:16,number:pe,flags:me}):{type:17,number:pe,flags:me}},ce.prototype.consumeEscapedCodePoint=function(){var se=this.consumeCodePoint();if(ps(se)){for(var pe=Ne(se);ps(this.peekCodePoint(0))&&pe.length<6;)pe+=Ne(this.consumeCodePoint());Zt(this.peekCodePoint(0))&&this.consumeCodePoint();var me=parseInt(pe,16);return me===0||wc(me)||me>1114111?PA:me}return se===fA?PA:se},ce.prototype.consumeName=function(){for(var se="";;){var pe=this.consumeCodePoint();if(In(pe))se+=Ne(pe);else if(Gr(pe,this.peekCodePoint(0)))se+=Ne(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(pe),se}},ce}(),it=function(){function ce(se){this._tokens=se}return ce.create=function(se){var pe=new gi;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||Zl(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"?Co:se},ce.prototype.reconsumeToken=function(se){this._tokens.unshift(se)},ce}(),Ia=function(ce){return ce.type===15},Ro=function(ce){return ce.type===17},kr=function(ce){return ce.type===20},oo=function(ce){return ce.type===0},ii=function(ce,se){return kr(ce)&&ce.value===se},ys=function(ce){return ce.type!==31},Xi=function(ce){return ce.type!==31&&ce.type!==4},Ji=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},Zl=function(ce,se){return se===11&&ce.type===12||se===28&&ce.type===29?!0:se===2&&ce.type===3},wA=function(ce){return ce.type===17||ce.type===15},us=function(ce){return ce.type===16||wA(ce)},yl=function(ce){return ce.length>1?[ce[0],ce[1]]:[ce[0]]},va={type:17,number:0,flags:ko},ti={type:16,number:50,flags:ko},Fi={type:16,number:100,flags:ko},cs=function(ce,se,pe){var me=ce[0],Me=ce[1];return[vo(me,se),vo(typeof Me!="undefined"?Me:me,pe)]},vo=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},hA="deg",KA="grad",el="rad",ki="turn",Js={name:"angle",parse:function(ce,se){if(se.type===15)switch(se.unit){case hA:return Math.PI*se.number/180;case KA:return Math.PI/200*se.number;case el:return se.number;case ki:return Math.PI*2*se.number}throw new Error("Unsupported angle type")}},Vl=function(ce){return ce.type===15&&(ce.unit===hA||ce.unit===KA||ce.unit===el||ce.unit===ki)},Sl=function(ce){var se=ce.filter(kr).map(function(pe){return pe.value}).join(" ");switch(se){case"to bottom right":case"to right bottom":case"left top":case"top left":return[va,va];case"to top":case"bottom":return ks(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[va,Fi];case"to right":case"left":return ks(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Fi,Fi];case"to bottom":case"top":return ks(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Fi,va];case"to left":case"right":return ks(270)}return 0},ks=function(ce){return Math.PI*ce/180},bl={name:"color",parse:function(ce,se){if(se.type===18){var pe=Ls[se.name];if(typeof pe=="undefined")throw new Error('Attempting to parse an unsupported color function "'+se.name+'"');return pe(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),rt=se.value.substring(2,3);return vs(parseInt(me+me,16),parseInt(Me+Me,16),parseInt(rt+rt,16),1)}if(se.value.length===4){var me=se.value.substring(0,1),Me=se.value.substring(1,2),rt=se.value.substring(2,3),wt=se.value.substring(3,4);return vs(parseInt(me+me,16),parseInt(Me+Me,16),parseInt(rt+rt,16),parseInt(wt+wt,16)/255)}if(se.value.length===6){var me=se.value.substring(0,2),Me=se.value.substring(2,4),rt=se.value.substring(4,6);return vs(parseInt(me,16),parseInt(Me,16),parseInt(rt,16),1)}if(se.value.length===8){var me=se.value.substring(0,2),Me=se.value.substring(2,4),rt=se.value.substring(4,6),wt=se.value.substring(6,8);return vs(parseInt(me,16),parseInt(Me,16),parseInt(rt,16),parseInt(wt,16)/255)}}if(se.type===20){var zt=Ss[se.value.toUpperCase()];if(typeof zt!="undefined")return zt}return Ss.TRANSPARENT}},mA=function(ce){return(255&ce)===0},ds=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+")"},vs=function(ce,se,pe,me){return(ce<<24|se<<16|pe<<8|Math.round(me*255)<<0)>>>0},xu=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},Gc=function(ce,se){var pe=se.filter(Xi);if(pe.length===3){var me=pe.map(xu),Me=me[0],rt=me[1],wt=me[2];return vs(Me,rt,wt,1)}if(pe.length===4){var zt=pe.map(xu),Me=zt[0],rt=zt[1],wt=zt[2],Kt=zt[3];return vs(Me,rt,wt,Kt)}return 0};function xA(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 Yl=function(ce,se){var pe=se.filter(Xi),me=pe[0],Me=pe[1],rt=pe[2],wt=pe[3],zt=(me.type===17?ks(me.number):Js.parse(ce,me))/(Math.PI*2),Kt=us(Me)?Me.number/100:0,Dn=us(rt)?rt.number/100:0,_n=typeof wt!="undefined"&&us(wt)?vo(wt,1):1;if(Kt===0)return vs(Dn*255,Dn*255,Dn*255,1);var Vn=Dn<=.5?Dn*(Kt+1):Dn+Kt-Dn*Kt,br=Dn*2-Vn,Wa=xA(br,Vn,zt+1/3),ra=xA(br,Vn,zt),Sa=xA(br,Vn,zt-1/3);return vs(Wa*255,ra*255,Sa*255,_n)},Ls={hsl:Yl,hsla:Yl,rgb:Gc,rgba:Gc},du=function(ce,se){return bl.parse(ce,it.create(se).parseComponentValue())},Ss={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},tc={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(ce,se){return se.map(function(pe){if(kr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Xl={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},gu=function(ce,se){var pe=bl.parse(ce,se[0]),me=se[1];return me&&us(me)?{color:pe,stop:me}:{color:pe,stop:null}},yc=function(ce,se){var pe=ce[0],me=ce[ce.length-1];pe.stop===null&&(pe.stop=va),me.stop===null&&(me.stop=Fi);for(var Me=[],rt=0,wt=0;wtrt?Me.push(Kt):Me.push(rt),rt=Kt}else Me.push(null)}for(var Dn=null,wt=0;wtwt.optimumDistance)?{optimumCorner:zt,optimumDistance:_n}:wt},{optimumDistance:Me?1/0:-1/0,optimumCorner:null}).optimumCorner},nc=function(ce,se,pe,me,Me){var rt=0,wt=0;switch(ce.size){case 0:ce.shape===0?rt=wt=Math.min(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-Me)):ce.shape===1&&(rt=Math.min(Math.abs(se),Math.abs(se-me)),wt=Math.min(Math.abs(pe),Math.abs(pe-Me)));break;case 2:if(ce.shape===0)rt=wt=Math.min(zA(se,pe),zA(se,pe-Me),zA(se-me,pe),zA(se-me,pe-Me));else if(ce.shape===1){var zt=Math.min(Math.abs(pe),Math.abs(pe-Me))/Math.min(Math.abs(se),Math.abs(se-me)),Kt=Sc(me,Me,se,pe,!0),Dn=Kt[0],_n=Kt[1];rt=zA(Dn-se,(_n-pe)/zt),wt=zt*rt}break;case 1:ce.shape===0?rt=wt=Math.max(Math.abs(se),Math.abs(se-me),Math.abs(pe),Math.abs(pe-Me)):ce.shape===1&&(rt=Math.max(Math.abs(se),Math.abs(se-me)),wt=Math.max(Math.abs(pe),Math.abs(pe-Me)));break;case 3:if(ce.shape===0)rt=wt=Math.max(zA(se,pe),zA(se,pe-Me),zA(se-me,pe),zA(se-me,pe-Me));else if(ce.shape===1){var zt=Math.max(Math.abs(pe),Math.abs(pe-Me))/Math.max(Math.abs(se),Math.abs(se-me)),Vn=Sc(me,Me,se,pe,!1),Dn=Vn[0],_n=Vn[1];rt=zA(Dn-se,(_n-pe)/zt),wt=zt*rt}break}return Array.isArray(ce.size)&&(rt=vo(ce.size[0],me),wt=ce.size.length===2?vo(ce.size[1],Me):rt),[rt,wt]},_r=function(ce,se){var pe=ks(180),me=[];return Ji(se).forEach(function(Me,rt){if(rt===0){var wt=Me[0];if(wt.type===20&&wt.value==="to"){pe=Sl(Me);return}else if(Vl(wt)){pe=Js.parse(ce,wt);return}}var zt=gu(ce,Me);me.push(zt)}),{angle:pe,stops:me,type:1}},Ao=function(ce,se){var pe=ks(180),me=[];return Ji(se).forEach(function(Me,rt){if(rt===0){var wt=Me[0];if(wt.type===20&&["top","left","right","bottom"].indexOf(wt.value)!==-1){pe=Sl(Me);return}else if(Vl(wt)){pe=(Js.parse(ce,wt)+ks(270))%ks(360);return}}var zt=gu(ce,Me);me.push(zt)}),{angle:pe,stops:me,type:1}},Sr=function(ce,se){var pe=ks(180),me=[],Me=1,rt=0,wt=3,zt=[];return Ji(se).forEach(function(Kt,Dn){var _n=Kt[0];if(Dn===0){if(kr(_n)&&_n.value==="linear"){Me=1;return}else if(kr(_n)&&_n.value==="radial"){Me=2;return}}if(_n.type===18){if(_n.name==="from"){var Vn=bl.parse(ce,_n.values[0]);me.push({stop:va,color:Vn})}else if(_n.name==="to"){var Vn=bl.parse(ce,_n.values[0]);me.push({stop:Fi,color:Vn})}else if(_n.name==="color-stop"){var br=_n.values.filter(Xi);if(br.length===2){var Vn=bl.parse(ce,br[1]),Wa=br[0];Ro(Wa)&&me.push({stop:{type:16,number:Wa.number*100,flags:Wa.flags},color:Vn})}}}}),Me===1?{angle:(pe+ks(180))%ks(360),stops:me,type:Me}:{size:wt,shape:rt,stops:me,position:zt,type:Me}},lo="closest-side",ni="farthest-side",Ts="closest-corner",AA="farthest-corner",yA="circle",Jl="ellipse",Lu="cover",ql="contain",Ka=function(ce,se){var pe=0,me=3,Me=[],rt=[];return Ji(se).forEach(function(wt,zt){var Kt=!0;if(zt===0){var Dn=!1;Kt=wt.reduce(function(Vn,br){if(Dn)if(kr(br))switch(br.value){case"center":return rt.push(ti),Vn;case"top":case"left":return rt.push(va),Vn;case"right":case"bottom":return rt.push(Fi),Vn}else(us(br)||wA(br))&&rt.push(br);else if(kr(br))switch(br.value){case yA:return pe=0,!1;case Jl:return pe=1,!1;case"at":return Dn=!0,!1;case lo:return me=0,!1;case Lu:case ni:return me=1,!1;case ql:case Ts:return me=2,!1;case AA:return me=3,!1}else if(wA(br)||us(br))return Array.isArray(me)||(me=[]),me.push(br),!1;return Vn},Kt)}if(Kt){var _n=gu(ce,wt);Me.push(_n)}}),{size:me,shape:pe,stops:Me,position:rt,type:2}},lA=function(ce,se){var pe=0,me=3,Me=[],rt=[];return Ji(se).forEach(function(wt,zt){var Kt=!0;if(zt===0?Kt=wt.reduce(function(_n,Vn){if(kr(Vn))switch(Vn.value){case"center":return rt.push(ti),!1;case"top":case"left":return rt.push(va),!1;case"right":case"bottom":return rt.push(Fi),!1}else if(us(Vn)||wA(Vn))return rt.push(Vn),!1;return _n},Kt):zt===1&&(Kt=wt.reduce(function(_n,Vn){if(kr(Vn))switch(Vn.value){case yA:return pe=0,!1;case Jl:return pe=1,!1;case ql:case lo:return me=0,!1;case ni:return me=1,!1;case Ts:return me=2,!1;case Lu:case AA:return me=3,!1}else if(wA(Vn)||us(Vn))return Array.isArray(me)||(me=[]),me.push(Vn),!1;return _n},Kt)),Kt){var Dn=gu(ce,wt);Me.push(Dn)}}),{size:me,shape:pe,stops:Me,position:rt,type:2}},Go=function(ce){return ce.type===1},OA=function(ce){return ce.type===2},gs={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=Rs[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 QA(ce){return!(ce.type===20&&ce.value==="none")&&(ce.type!==18||!!Rs[ce.name])}var Rs={"linear-gradient":_r,"-moz-linear-gradient":Ao,"-ms-linear-gradient":Ao,"-o-linear-gradient":Ao,"-webkit-linear-gradient":Ao,"radial-gradient":Ka,"-moz-radial-gradient":lA,"-ms-radial-gradient":lA,"-o-radial-gradient":lA,"-webkit-radial-gradient":lA,"-webkit-gradient":Sr},$l={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 Xi(me)&&QA(me)}).map(function(me){return gs.parse(ce,me)})}},Cl={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(ce,se){return se.map(function(pe){if(kr(pe))switch(pe.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},qs={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(ce,se){return Ji(se).map(function(pe){return pe.filter(us)}).map(yl)}},zs={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(ce,se){return Ji(se).map(function(pe){return pe.filter(kr).map(function(me){return me.value}).join(" ")}).map(SA)}},SA=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}},zi;(function(ce){ce.AUTO="auto",ce.CONTAIN="contain",ce.COVER="cover"})(zi||(zi={}));var Iu={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(ce,se){return Ji(se).map(function(pe){return pe.filter(eu)})}},eu=function(ce){return kr(ce)||us(ce)},ll=function(ce){return{name:"border-"+ce+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},yg=ll("top"),Nu=ll("right"),wf=ll("bottom"),bc=ll("left"),Hd=function(ce){return{name:"border-radius-"+ce,initialValue:"0 0",prefix:!1,type:1,parse:function(se,pe){return yl(pe.filter(us))}}},Bm=Hd("top-left"),rc=Hd("top-right"),tu=Hd("bottom-right"),kl=Hd("bottom-left"),qi=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}}},Zc=qi("top"),yf=qi("right"),Sf=qi("bottom"),Vc=qi("left"),fd=function(ce){return{name:"border-"+ce+"-width",initialValue:"0",type:0,prefix:!1,parse:function(se,pe){return Ia(pe)?pe.number:0}}},Sg=fd("top"),Yc=fd("right"),n0=fd("bottom"),r0=fd("left"),kA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},hd={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(kr).reduce(function(pe,me){return pe|Je(me.value)},0)}},Je=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}},Tt;(function(ce){ce.NORMAL="normal",ce.STRICT="strict"})(Tt||(Tt={}));var qt={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(ce,se){switch(se){case"strict":return Tt.STRICT;case"normal":default:return Tt.NORMAL}}},$t={name:"line-height",initialValue:"normal",prefix:!1,type:4},Pn=function(ce,se){return kr(ce)&&ce.value==="normal"?1.2*se:ce.type===17?se*ce.number:us(ce)?vo(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:gs.parse(ce,se)}},wn={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}}},Kn={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}}},er=function(ce){return{name:"margin-"+ce,initialValue:"0",prefix:!1,type:4}},Zn=er("top"),Cr=er("right"),hr=er("bottom"),Br=er("left"),na={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(ce,se){return se.filter(kr).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"}}},ea=function(ce){return{name:"padding-"+ce,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Vr=ea("top"),la=ea("right"),za=ea("bottom"),Xa=ea("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}}},io={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}},Eo={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(ce,se){return se.length===1&&ii(se[0],"none")?[]:Ji(se).map(function(pe){for(var me={color:Ss.TRANSPARENT,offsetX:va,offsetY:va,blur:va},Me=0,rt=0;rt1?1:0],this.overflowWrap=aa(se,zr,pe.overflowWrap),this.paddingTop=aa(se,Vr,pe.paddingTop),this.paddingRight=aa(se,la,pe.paddingRight),this.paddingBottom=aa(se,za,pe.paddingBottom),this.paddingLeft=aa(se,Xa,pe.paddingLeft),this.paintOrder=aa(se,si,pe.paintOrder),this.position=aa(se,io,pe.position),this.textAlign=aa(se,Ca,pe.textAlign),this.textDecorationColor=aa(se,Is,(me=pe.textDecorationColor)!==null&&me!==void 0?me:pe.color),this.textDecorationLine=aa(se,Fo,(Me=pe.textDecorationLine)!==null&&Me!==void 0?Me:pe.textDecoration),this.textShadow=aa(se,Eo,pe.textShadow),this.textTransform=aa(se,da,pe.textTransform),this.transform=aa(se,Ea,pe.transform),this.transformOrigin=aa(se,yo,pe.transformOrigin),this.visibility=aa(se,Ja,pe.visibility),this.webkitTextStrokeColor=aa(se,GA,pe.webkitTextStrokeColor),this.webkitTextStrokeWidth=aa(se,Gs,pe.webkitTextStrokeWidth),this.wordBreak=aa(se,qo,pe.wordBreak),this.zIndex=aa(se,$i,pe.zIndex)}return ce.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},ce.prototype.isTransparent=function(){return mA(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 Ba(this.display,4)||Ba(this.display,33554432)||Ba(this.display,268435456)||Ba(this.display,536870912)||Ba(this.display,67108864)||Ba(this.display,134217728)},ce}(),Ws=function(){function ce(se,pe){this.content=aa(se,ro,pe.content),this.quotes=aa(se,ja,pe.quotes)}return ce}(),El=function(){function ce(se,pe){this.counterIncrement=aa(se,eo,pe.counterIncrement),this.counterReset=aa(se,Ra,pe.counterReset)}return ce}(),aa=function(ce,se,pe){var me=new gi,Me=pe!==null&&typeof pe!="undefined"?pe.toString():se.initialValue;me.write(Me);var rt=new it(me.read());switch(se.type){case 2:var wt=rt.parseComponentValue();return se.parse(ce,kr(wt)?wt.value:se.initialValue);case 0:return se.parse(ce,rt.parseComponentValue());case 1:return se.parse(ce,rt.parseComponentValues());case 4:return rt.parseComponentValue();case 3:switch(se.format){case"angle":return Js.parse(ce,rt.parseComponentValue());case"color":return bl.parse(ce,rt.parseComponentValue());case"image":return gs.parse(ce,rt.parseComponentValue());case"length":var zt=rt.parseComponentValue();return wA(zt)?zt:va;case"length-percentage":var Kt=rt.parseComponentValue();return us(Kt)?Kt:va;case"time":return mi.parse(ce,rt.parseComponentValue())}break}},tl="data-html2canvas-debug",Cc=function(ce){var se=ce.getAttribute(tl);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=Cc(ce);return pe===1||se===pe},$o=function(){function ce(se,pe){if(this.context=se,this.textNodes=[],this.elements=[],this.flags=0,Ni(pe,3))debugger;this.styles=new nu(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=je(this.context,pe),Ni(pe,4)&&(this.flags|=16)}return ce}(),bs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAA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TYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAI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AAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWB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AAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",uA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ss=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Zo=0;Zo>4,_n[Me++]=(wt&15)<<4|zt>>2,_n[Me++]=(zt&3)<<6|Kt&63;return Dn},TA=function(ce){for(var se=ce.length,pe=[],me=0;me>nl,Ns=1<>nl,Cs=Rl+eA,fu=Cs,Du=32,_u=fu+Du,hu=65536>>rl,md=1<=0){if(se<55296||se>56319&&se<=65535)return pe=this.index[se>>nl],pe=(pe<>nl)],pe=(pe<>rl),pe=this.index[pe],pe+=se>>nl&_d,pe=this.index[pe],pe=(pe<=55296&&Me<=56319&&pe>10)+55296,wt%1024+56320)),(Me+1===pe||me.length>16384)&&(rt+=String.fromCharCode.apply(String,me),me.length=0)}return rt},xg=LA(bs),Mi="\xD7",Wd="\xF7",Cf=function(ce){return xg.get(ce)},o0=function(ce,se,pe){var me=pe-2,Me=se[me],rt=se[pe-1],wt=se[pe];if(rt===pd&&wt===vd)return Mi;if(rt===pd||rt===vd||rt===Md||wt===pd||wt===vd||wt===Md)return Wd;if(rt===Xc&&[Xc,pu,Eg,Kd].indexOf(wt)!==-1||(rt===Eg||rt===pu)&&(wt===pu||wt===Ec)||(rt===Kd||rt===Ec)&&wt===Ec||wt===Pg||wt===bg||wt===Cg||rt===mu)return Mi;if(rt===Pg&&wt===zd){for(;Me===bg;)Me=se[--me];if(Me===zd)return Mi}if(rt===Pc&&wt===Pc){for(var zt=0;Me===Pc;)zt++,Me=se[--me];if(zt%2===0)return Mi}return Wd},Ef=function(ce){var se=Gd(ce),pe=se.length,me=0,Me=0,rt=se.map(Cf);return{next:function(){if(me>=pe)return{done:!0,value:null};for(var wt=Mi;mewt.x||_n.y>wt.y;return wt=_n,Dn===0?!0:Vn});return ce.body.removeChild(se),zt},Pf=function(){return typeof new Image().crossOrigin!="undefined"},ac=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},Vd=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,rt=se.toDataURL();Me.src=rt;var wt=Bd(pe,pe,0,0,Me);return me.fillStyle="red",me.fillRect(0,0,pe,pe),Yd(wt).then(function(zt){me.drawImage(zt,0,0);var Kt=me.getImageData(0,0,pe,pe).data;me.fillStyle="red",me.fillRect(0,0,pe,pe);var Dn=ce.createElement("div");return Dn.style.backgroundImage="url("+rt+")",Dn.style.height=pe+"px",Vd(Kt)?Yd(Bd(pe,pe,0,0,Dn)):Promise.reject(!1)}).then(function(zt){return me.drawImage(zt,0,0),Vd(me.getImageData(0,0,pe,pe).data)}).catch(function(){return!1})},Bd=function(ce,se,pe,me,Me){var rt="http://www.w3.org/2000/svg",wt=document.createElementNS(rt,"svg"),zt=document.createElementNS(rt,"foreignObject");return wt.setAttributeNS(null,"width",ce.toString()),wt.setAttributeNS(null,"height",se.toString()),zt.setAttributeNS(null,"width","100%"),zt.setAttributeNS(null,"height","100%"),zt.setAttributeNS(null,"x",pe.toString()),zt.setAttributeNS(null,"y",me.toString()),zt.setAttributeNS(null,"externalResourcesRequired","true"),wt.appendChild(zt),zt.appendChild(Me),wt},Yd=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))})},NA={get SUPPORT_RANGE_BOUNDS(){var ce=Lg(document);return Object.defineProperty(NA,"SUPPORT_RANGE_BOUNDS",{value:ce}),ce},get SUPPORT_WORD_BREAKING(){var ce=NA.SUPPORT_RANGE_BOUNDS&&Zd(document);return Object.defineProperty(NA,"SUPPORT_WORD_BREAKING",{value:ce}),ce},get SUPPORT_SVG_DRAWING(){var ce=Ig(document);return Object.defineProperty(NA,"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(NA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:ce}),ce},get SUPPORT_CORS_IMAGES(){var ce=Pf();return Object.defineProperty(NA,"SUPPORT_CORS_IMAGES",{value:ce}),ce},get SUPPORT_RESPONSE_TYPE(){var ce=ac();return Object.defineProperty(NA,"SUPPORT_RESPONSE_TYPE",{value:ce}),ce},get SUPPORT_CORS_XHR(){var ce="withCredentials"in new XMLHttpRequest;return Object.defineProperty(NA,"SUPPORT_CORS_XHR",{value:ce}),ce},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var ce=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(NA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:ce}),ce}},Mu=function(){function ce(se,pe){this.text=se,this.bounds=pe}return ce}(),Xd=function(ce,se,pe,me){var Me=oc(se,pe),rt=[],wt=0;return Me.forEach(function(zt){if(pe.textDecorationLine.length||zt.trim().length>0)if(NA.SUPPORT_RANGE_BOUNDS){var Kt=Ti(me,wt,zt.length).getClientRects();if(Kt.length>1){var Dn=As(zt),_n=0;Dn.forEach(function(br){rt.push(new Mu(br,ze.fromDOMRectList(ce,Ti(me,_n+wt,br.length).getClientRects()))),_n+=br.length})}else rt.push(new Mu(zt,ze.fromDOMRectList(ce,Kt)))}else{var Vn=me.splitText(zt.length);rt.push(new Mu(zt,i0(ce,me))),me=Vn}else NA.SUPPORT_RANGE_BOUNDS||(me=me.splitText(zt.length));wt+=zt.length}),rt},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 rt=je(ce,me);return me.firstChild&&Me.replaceChild(me.firstChild,me),rt}}return ze.EMPTY},Ti=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(NA.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)},ru=function(ce,se){if(NA.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)},oc=function(ce,se){return se.letterSpacing!==0?As(ce):ru(ce,se)},ic=[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,rt=function(){if(Me.value){var wt=Me.value.slice(),zt=we(wt),Kt="";zt.forEach(function(Dn){ic.indexOf(Dn)===-1?Kt+=Ne(Dn):(Kt.length&&me.push(Kt),me.push(Ne(Dn)),Kt="")}),Kt.length&&me.push(Kt)}};!(Me=pe.next()).done;)rt();return me},Ng=function(){function ce(se,pe,me){this.text=Dg(pe.data,me.textTransform),this.textBounds=Xd(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}($o),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}($o),rh=function(ce){Be(se,ce);function se(pe,me){var Me=ce.call(this,pe,me)||this,rt=new XMLSerializer,wt=je(pe,me);return me.setAttribute("width",wt.width+"px"),me.setAttribute("height",wt.height+"px"),Me.svg="data:image/svg+xml,"+encodeURIComponent(rt.serializeToString(me)),Me.intrinsicWidth=me.width.baseVal.value,Me.intrinsicHeight=me.height.baseVal.value,Me.context.cache.addImage(Me.svg),Me}return se}($o),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}($o),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}($o),xc=[{type:15,flags:0,unit:"px",number:3}],wm=[{type:16,flags:0,number:50}],ym=function(ce){return ce.width>ce.height?new ze(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(qd(Me))if(mh(Me)&&Me.assignedNodes)Me.assignedNodes().forEach(function(zt){return Jd(ce,zt,pe,me)});else{var wt=Ah(ce,Me);wt.styles.isVisible()&&(Sm(Me,wt,me)?wt.flags|=4:bm(wt.styles)&&(wt.flags|=2),Tg.indexOf(Me.tagName)!==-1&&(wt.flags|=8),pe.elements.push(wt),Me.slot,Me.shadowRoot?Jd(ce,Me.shadowRoot,wt,me):!Rg(Me)&&!ch(Me)&&!Uf(Me)&&Jd(ce,Me,wt,me))}},Ah=function(ce,se){return c0(se)?new th(ce,se):dh(se)?new nh(ce,se):ch(se)?new rh(ce,se):Cm(se)?new ah(ce,se):Em(se)?new s0(ce,se):Pm(se)?new kg(ce,se):Uf(se)?new ih(ce,se):Rg(se)?new A0(ce,se):fh(se)?new sh(ce,se):new $o(ce,se)},lh=function(ce,se){var pe=Ah(ce,se);return pe.flags|=4,Jd(ce,se,pe,pe),pe},Sm=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},qd=function(ce){return ce.nodeType===Node.ELEMENT_NODE},l0=function(ce){return qd(ce)&&typeof ce.style!="undefined"&&!Df(ce)},Df=function(ce){return typeof ce.className=="object"},Cm=function(ce){return ce.tagName==="LI"},Em=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"},Rg=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},Ep=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,rt=!0;me!==null&&me.forEach(function(zt){var Kt=pe.counters[zt.counter];Kt&&zt.increment!==0&&(rt=!1,Kt.length||Kt.push(1),Kt[Math.max(0,Kt.length-1)]+=zt.increment)});var wt=[];return rt&&Me.forEach(function(zt){var Kt=pe.counters[zt.counter];wt.push(zt.counter),Kt||(Kt=pe.counters[zt.counter]=[]),Kt.push(zt.reset)}),wt},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,rt){return cepe?Hg(ce,Me,rt.length>0):me.integers.reduce(function(wt,zt,Kt){for(;ce>=zt;)ce-=zt,wt+=me.values[Kt];return wt},"")+rt},Lm=function(ce,se,pe,me){var Me="";do pe||ce--,Me=me(ce)+Me,ce/=se;while(ce*se>=se);return Me},bA=function(ce,se,pe,me,Me){var rt=pe-se+1;return(ce<0?"-":"")+(Lm(Math.abs(ce),rt,me,function(wt){return Ne(Math.floor(wt%rt)+se)})+Me)},Jc=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,Fc=2,Lc=4,jg=8,Ic=function(ce,se,pe,me,Me,rt){if(ce<-9999||ce>9999)return Hg(ce,4,Me.length>0);var wt=Math.abs(ce),zt=Me;if(wt===0)return se[0]+zt;for(var Kt=0;wt>0&&Kt<=4;Kt++){var Dn=wt%10;Dn===0&&Ba(rt,yd)&&zt!==""?zt=se[Dn]+zt:Dn>1||Dn===1&&Kt===0||Dn===1&&Kt===1&&Ba(rt,Fc)||Dn===1&&Kt===1&&Ba(rt,Lc)&&ce>100||Dn===1&&Kt>1&&Ba(rt,jg)?zt=se[Dn]+(Kt>0?pe[Kt-1]:"")+zt:Dn===1&&Kt>0&&(zt=pe[Kt-1]+zt),wt=Math.floor(wt/10)}return(ce<0?me:"")+zt},Bh="\u5341\u767E\u5343\u842C",Im="\u62FE\u4F70\u4EDF\u842C",wh="\u30DE\u30A4\u30CA\u30B9",h0="\uB9C8\uC774\uB108\uC2A4",Hg=function(ce,se,pe){var me=pe?". ":"",Me=pe?"\u3001":"",rt=pe?", ":"",wt=pe?" ":"";switch(se){case 0:return"\u2022"+wt;case 1:return"\u25E6"+wt;case 2:return"\u25FE"+wt;case 5:var zt=bA(ce,48,57,!0,me);return zt.length<4?"0"+zt:zt;case 4:return Jc(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 bA(ce,945,969,!1,me);case 9:return bA(ce,97,122,!1,me);case 10:return bA(ce,65,90,!1,me);case 11:return bA(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 bA(ce,2534,2543,!0,me);case 14:case 30:return bA(ce,6112,6121,!0,me);case 15:return Jc(ce,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Me);case 16:return Jc(ce,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Me);case 17:case 48:return Ic(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8CA0",Me,Fc|Lc|jg);case 47:return Ic(ce,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",Im,"\u8CA0",Me,yd|Fc|Lc|jg);case 42:return Ic(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Bh,"\u8D1F",Me,Fc|Lc|jg);case 41:return Ic(ce,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",Im,"\u8D1F",Me,yd|Fc|Lc|jg);case 26:return Ic(ce,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",wh,Me,0);case 25:return Ic(ce,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",wh,Me,yd|Fc|Lc);case 31:return Ic(ce,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",h0,rt,yd|Fc|Lc);case 33:return Ic(ce,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",h0,rt,0);case 32:return Ic(ce,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",h0,rt,yd|Fc|Lc);case 18:return bA(ce,2406,2415,!0,me);case 20:return wd(ce,1,19999,vh,3,me);case 21:return bA(ce,2790,2799,!0,me);case 22:return bA(ce,2662,2671,!0,me);case 22:return wd(ce,1,10999,Fm,3,me);case 23:return Jc(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 Jc(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 bA(ce,3302,3311,!0,me);case 28:return Jc(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 Jc(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 bA(ce,3792,3801,!0,me);case 37:return bA(ce,6160,6169,!0,me);case 38:return bA(ce,4160,4169,!0,me);case 39:return bA(ce,2918,2927,!0,me);case 40:return bA(ce,1776,1785,!0,me);case 43:return bA(ce,3046,3055,!0,me);case 44:return bA(ce,3174,3183,!0,me);case 45:return bA(ce,3664,3673,!0,me);case 46:return bA(ce,3872,3881,!0,me);case 3:default:return bA(ce,48,57,!0,me)}},yh="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 Ep,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 rt=se.defaultView.pageXOffset,wt=se.defaultView.pageYOffset,zt=Me.contentWindow,Kt=zt.document,Dn=Mg(Me).then(function(){return Ce(me,void 0,void 0,function(){var _n,Vn;return He(this,function(br){switch(br.label){case 0:return this.scrolledElements.forEach(Ch),zt&&(zt.scrollTo(pe.left,pe.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(zt.scrollY!==pe.top||zt.scrollX!==pe.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(zt.scrollX-pe.left,zt.scrollY-pe.top,0,0))),_n=this.options.onclone,Vn=this.clonedReferenceElement,typeof Vn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Kt.fonts&&Kt.fonts.ready?[4,Kt.fonts.ready]:[3,2];case 1:br.sent(),br.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Um(Kt)]:[3,4];case 3:br.sent(),br.label=4;case 4:return typeof _n=="function"?[2,Promise.resolve().then(function(){return _n(Kt,Vn)}).then(function(){return Me})]:[2,Me]}})})});return Kt.open(),Kt.write(Om(document.doctype)+""),bh(this.referenceElement.ownerDocument,rt,wt),Kt.replaceChild(Kt.adoptNode(this.documentElement),Kt.documentElement),Kt.close(),Dn},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(rt,wt){return wt&&typeof wt.cssText=="string"?rt+wt.cssText:rt},""),Me=se.cloneNode(!1);return Me.textContent=me,Me}}catch(rt){if(this.context.logger.error("Unable to access cssRules property",rt),rt.name!=="SecurityError")throw rt}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(Dn){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 rt=se.getContext("2d"),wt=Me.getContext("2d");if(wt)if(!this.options.allowTaint&&rt)wt.putImageData(rt.getImageData(0,0,se.width,se.height),0,0);else{var zt=(pe=se.getContext("webgl2"))!==null&&pe!==void 0?pe:se.getContext("webgl");if(zt){var Kt=zt.getContextAttributes();(Kt==null?void 0:Kt.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",se)}wt.drawImage(se,0,0)}return Me}catch(Dn){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(rt){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){(!qd(pe)||!d0(pe)&&!pe.hasAttribute(yh)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(pe)))&&(!this.options.copyStyles||!qd(pe)||!hh(pe))&&se.appendChild(this.cloneNode(pe,me))},ce.prototype.cloneChildNodes=function(se,pe,me){for(var Me=this,rt=se.shadowRoot?se.shadowRoot.firstChild:se.firstChild;rt;rt=rt.nextSibling)if(qd(rt)&&mh(rt)&&typeof rt.assignedNodes=="function"){var wt=rt.assignedNodes();wt.length&&wt.forEach(function(zt){return Me.appendChildNode(pe,zt,me)})}else this.appendChildNode(pe,rt,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&&qd(se)&&(l0(se)||Df(se))){var Me=this.createElementClone(se);Me.style.transitionProperty="none";var rt=me.getComputedStyle(se),wt=me.getComputedStyle(se,":before"),zt=me.getComputedStyle(se,":after");this.referenceElement===se&&l0(Me)&&(this.clonedReferenceElement=Me),u0(Me)&&xp(Me);var Kt=this.counters.parse(new El(this.context,rt)),Dn=this.resolvePseudoContent(se,Me,wt,_g.BEFORE);ph(se)&&(pe=!0),gh(se)||this.cloneChildNodes(se,Me,pe),Dn&&Me.insertBefore(Dn,Me.firstChild);var _n=this.resolvePseudoContent(se,Me,zt,_g.AFTER);return _n&&Me.appendChild(_n),this.counters.pop(Kt),(rt&&(this.options.copyStyles||Df(se))&&!fh(se)||pe)&&Of(rt,Me),(se.scrollTop!==0||se.scrollLeft!==0)&&this.scrolledElements.push([Me,se.scrollLeft,se.scrollTop]),(Rg(se)||Uf(se))&&(Rg(Me)||Uf(Me))&&(Me.value=se.value),Me}return se.cloneNode(!1)},ce.prototype.resolvePseudoContent=function(se,pe,me,Me){var rt=this;if(me){var wt=me.content,zt=pe.ownerDocument;if(!(!zt||!wt||wt==="none"||wt==="-moz-alt-content"||me.display==="none")){this.counters.parse(new El(this.context,me));var Kt=new Ws(this.context,me),Dn=zt.createElement("html2canvaspseudoelement");Of(me,Dn),Kt.content.forEach(function(Vn){if(Vn.type===0)Dn.appendChild(zt.createTextNode(Vn.value));else if(Vn.type===22){var br=zt.createElement("img");br.src=Vn.value,br.style.opacity="1",Dn.appendChild(br)}else if(Vn.type===18){if(Vn.name==="attr"){var Wa=Vn.values.filter(kr);Wa.length&&Dn.appendChild(zt.createTextNode(se.getAttribute(Wa[0].value)||""))}else if(Vn.name==="counter"){var ra=Vn.values.filter(Xi),Sa=ra[0],Jo=ra[1];if(Sa&&kr(Sa)){var to=rt.counters.getCounterValue(Sa.value),qa=Jo&&kr(Jo)?Kn.parse(rt.context,Jo.value):3;Dn.appendChild(zt.createTextNode(Hg(to,qa,!1)))}}else if(Vn.name==="counters"){var jo=Vn.values.filter(Xi),Sa=jo[0],ui=jo[1],Jo=jo[2];if(Sa&&kr(Sa)){var No=rt.counters.getCounterValues(Sa.value),Oa=Jo&&kr(Jo)?Kn.parse(rt.context,Jo.value):3,Ki=ui&&ui.type===0?ui.value:"",Bi=No.map(function(ou){return Hg(ou,Oa,!1)}).join(Ki);Dn.appendChild(zt.createTextNode(Bi))}}}else if(Vn.type===20)switch(Vn.value){case"open-quote":Dn.appendChild(zt.createTextNode(Bo(Kt.quotes,rt.quoteDepth++,!0)));break;case"close-quote":Dn.appendChild(zt.createTextNode(Bo(Kt.quotes,--rt.quoteDepth,!1)));break;default:Dn.appendChild(zt.createTextNode(Vn.value))}}),Dn.className=m0+" "+Qf;var _n=Me===_g.BEFORE?" "+m0:" "+Qf;return Df(pe)?pe.className.baseValue+=_n:pe.className+=_n,Dn}}},ce.destroy=function(se){return se.parentNode?(se.parentNode.removeChild(se),!0):!1},ce}(),_g;(function(ce){ce[ce.BEFORE=0]="BEFORE",ce[ce.AFTER=1]="AFTER"})(_g||(_g={}));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(yh,"true"),ce.body.appendChild(pe),pe},Sh=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(Sh))},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 rt=setInterval(function(){Me.body.childNodes.length>0&&Me.readyState==="complete"&&(clearInterval(rt),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)},Ch=function(ce){var se=ce[0],pe=ce[1],me=ce[2];se.scrollLeft=pe,se.scrollTop=me},Eh=":before",Ph=":after",m0="___html2canvas___pseudoelement_before",Qf="___html2canvas___pseudoelement_after",xh=`{ content: "" !important; display: none !important; }`,xp=function(ce){Fh(ce,"."+m0+Eh+xh+` .`+Qf+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}(),vu=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)||kf(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 Ce(this,void 0,void 0,function(){var pe,me,Me,rt,wt=this;return He(this,function(zt){switch(zt.label){case 0:return pe=Lh.isSameOrigin(se),me=!Kg(se)&&this._options.useCORS===!0&&NA.SUPPORT_CORS_IMAGES&&!pe,Me=!Kg(se)&&!pe&&!B0(se)&&typeof this._options.proxy=="string"&&NA.SUPPORT_CORS_XHR&&!me,!pe&&this._options.allowTaint===!1&&!Kg(se)&&!B0(se)&&!Me&&!me?[2]:(rt=se,Me?[4,this.proxy(rt)]:[3,2]);case 1:rt=zt.sent(),zt.label=2;case 2:return this.context.logger.debug("Added image "+se.substring(0,256)),[4,new Promise(function(Kt,Dn){var _n=new Image;_n.onload=function(){return Kt(_n)},_n.onerror=Dn,(Qm(rt)||me)&&(_n.crossOrigin="anonymous"),_n.src=rt,_n.complete===!0&&setTimeout(function(){return Kt(_n)},500),wt._options.imageTimeout>0&&setTimeout(function(){return Dn("Timed out ("+wt._options.imageTimeout+"ms) loading image")},wt._options.imageTimeout)})];case 3:return[2,zt.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(rt,wt){var zt=NA.SUPPORT_RESPONSE_TYPE?"blob":"text",Kt=new XMLHttpRequest;Kt.onload=function(){if(Kt.status===200)if(zt==="text")rt(Kt.response);else{var Vn=new FileReader;Vn.addEventListener("load",function(){return rt(Vn.result)},!1),Vn.addEventListener("error",function(br){return wt(br)},!1),Vn.readAsDataURL(Kt.response)}else wt("Failed to proxy resource "+Me+" with status code "+Kt.status)},Kt.onerror=wt;var Dn=me.indexOf("?")>-1?"&":"?";if(Kt.open("GET",""+me+Dn+"url="+encodeURIComponent(se)+"&responseType="+zt),zt!=="text"&&Kt instanceof XMLHttpRequest&&(Kt.responseType=zt),pe._options.imageTimeout){var _n=pe._options.imageTimeout;Kt.timeout=_n,Kt.ontimeout=function(){return wt("Timed out ("+_n+"ms) proxying "+Me)}}Kt.send()})},ce}(),p0=/^data:image\/svg\+xml/i,Ih=/^data:image\/.*;base64,/i,v0=/^data:image\/.*/i,kf=function(ce){return NA.SUPPORT_SVG_DRAWING||!km(ce)},Kg=function(ce){return v0.test(ce)},Qm=function(ce){return Ih.test(ce)},B0=function(ce){return ce.substr(0,4)==="blob"},km=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}(),Sd=function(ce,se,pe){return new Ga(ce.x+(se.x-ce.x)*pe,ce.y+(se.y-ce.y)*pe)},Tf=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=Sd(this.start,this.startControl,se),Me=Sd(this.startControl,this.endControl,se),rt=Sd(this.endControl,this.end,se),wt=Sd(me,Me,se),zt=Sd(Me,rt,se),Kt=Sd(wt,zt,se);return pe?new ce(this.start,me,wt,Kt):new ce(Kt,zt,rt,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}(),Uu=function(ce){return ce.type===1},Tm=function(){function ce(se){var pe=se.styles,me=se.bounds,Me=cs(pe.borderTopLeftRadius,me.width,me.height),rt=Me[0],wt=Me[1],zt=cs(pe.borderTopRightRadius,me.width,me.height),Kt=zt[0],Dn=zt[1],_n=cs(pe.borderBottomRightRadius,me.width,me.height),Vn=_n[0],br=_n[1],Wa=cs(pe.borderBottomLeftRadius,me.width,me.height),ra=Wa[0],Sa=Wa[1],Jo=[];Jo.push((rt+Kt)/me.width),Jo.push((ra+Vn)/me.width),Jo.push((wt+Sa)/me.height),Jo.push((Dn+br)/me.height);var to=Math.max.apply(Math,Jo);to>1&&(rt/=to,wt/=to,Kt/=to,Dn/=to,Vn/=to,br/=to,ra/=to,Sa/=to);var qa=me.width-Kt,jo=me.height-br,ui=me.width-Vn,No=me.height-Sa,Oa=pe.borderTopWidth,Ki=pe.borderRightWidth,Bi=pe.borderBottomWidth,Ho=pe.borderLeftWidth,pa=vo(pe.paddingTop,se.bounds.width),ou=vo(pe.paddingRight,se.bounds.width),wu=vo(pe.paddingBottom,se.bounds.width),Es=vo(pe.paddingLeft,se.bounds.width);this.topLeftBorderDoubleOuterBox=rt>0||wt>0?tA(me.left+Ho/3,me.top+Oa/3,rt-Ho/3,wt-Oa/3,ws.TOP_LEFT):new Ga(me.left+Ho/3,me.top+Oa/3),this.topRightBorderDoubleOuterBox=rt>0||wt>0?tA(me.left+qa,me.top+Oa/3,Kt-Ki/3,Dn-Oa/3,ws.TOP_RIGHT):new Ga(me.left+me.width-Ki/3,me.top+Oa/3),this.bottomRightBorderDoubleOuterBox=Vn>0||br>0?tA(me.left+ui,me.top+jo,Vn-Ki/3,br-Bi/3,ws.BOTTOM_RIGHT):new Ga(me.left+me.width-Ki/3,me.top+me.height-Bi/3),this.bottomLeftBorderDoubleOuterBox=ra>0||Sa>0?tA(me.left+Ho/3,me.top+No,ra-Ho/3,Sa-Bi/3,ws.BOTTOM_LEFT):new Ga(me.left+Ho/3,me.top+me.height-Bi/3),this.topLeftBorderDoubleInnerBox=rt>0||wt>0?tA(me.left+Ho*2/3,me.top+Oa*2/3,rt-Ho*2/3,wt-Oa*2/3,ws.TOP_LEFT):new Ga(me.left+Ho*2/3,me.top+Oa*2/3),this.topRightBorderDoubleInnerBox=rt>0||wt>0?tA(me.left+qa,me.top+Oa*2/3,Kt-Ki*2/3,Dn-Oa*2/3,ws.TOP_RIGHT):new Ga(me.left+me.width-Ki*2/3,me.top+Oa*2/3),this.bottomRightBorderDoubleInnerBox=Vn>0||br>0?tA(me.left+ui,me.top+jo,Vn-Ki*2/3,br-Bi*2/3,ws.BOTTOM_RIGHT):new Ga(me.left+me.width-Ki*2/3,me.top+me.height-Bi*2/3),this.bottomLeftBorderDoubleInnerBox=ra>0||Sa>0?tA(me.left+Ho*2/3,me.top+No,ra-Ho*2/3,Sa-Bi*2/3,ws.BOTTOM_LEFT):new Ga(me.left+Ho*2/3,me.top+me.height-Bi*2/3),this.topLeftBorderStroke=rt>0||wt>0?tA(me.left+Ho/2,me.top+Oa/2,rt-Ho/2,wt-Oa/2,ws.TOP_LEFT):new Ga(me.left+Ho/2,me.top+Oa/2),this.topRightBorderStroke=rt>0||wt>0?tA(me.left+qa,me.top+Oa/2,Kt-Ki/2,Dn-Oa/2,ws.TOP_RIGHT):new Ga(me.left+me.width-Ki/2,me.top+Oa/2),this.bottomRightBorderStroke=Vn>0||br>0?tA(me.left+ui,me.top+jo,Vn-Ki/2,br-Bi/2,ws.BOTTOM_RIGHT):new Ga(me.left+me.width-Ki/2,me.top+me.height-Bi/2),this.bottomLeftBorderStroke=ra>0||Sa>0?tA(me.left+Ho/2,me.top+No,ra-Ho/2,Sa-Bi/2,ws.BOTTOM_LEFT):new Ga(me.left+Ho/2,me.top+me.height-Bi/2),this.topLeftBorderBox=rt>0||wt>0?tA(me.left,me.top,rt,wt,ws.TOP_LEFT):new Ga(me.left,me.top),this.topRightBorderBox=Kt>0||Dn>0?tA(me.left+qa,me.top,Kt,Dn,ws.TOP_RIGHT):new Ga(me.left+me.width,me.top),this.bottomRightBorderBox=Vn>0||br>0?tA(me.left+ui,me.top+jo,Vn,br,ws.BOTTOM_RIGHT):new Ga(me.left+me.width,me.top+me.height),this.bottomLeftBorderBox=ra>0||Sa>0?tA(me.left,me.top+No,ra,Sa,ws.BOTTOM_LEFT):new Ga(me.left,me.top+me.height),this.topLeftPaddingBox=rt>0||wt>0?tA(me.left+Ho,me.top+Oa,Math.max(0,rt-Ho),Math.max(0,wt-Oa),ws.TOP_LEFT):new Ga(me.left+Ho,me.top+Oa),this.topRightPaddingBox=Kt>0||Dn>0?tA(me.left+Math.min(qa,me.width-Ki),me.top+Oa,qa>me.width+Ki?0:Math.max(0,Kt-Ki),Math.max(0,Dn-Oa),ws.TOP_RIGHT):new Ga(me.left+me.width-Ki,me.top+Oa),this.bottomRightPaddingBox=Vn>0||br>0?tA(me.left+Math.min(ui,me.width-Ho),me.top+Math.min(jo,me.height-Bi),Math.max(0,Vn-Ki),Math.max(0,br-Bi),ws.BOTTOM_RIGHT):new Ga(me.left+me.width-Ki,me.top+me.height-Bi),this.bottomLeftPaddingBox=ra>0||Sa>0?tA(me.left+Ho,me.top+Math.min(No,me.height-Bi),Math.max(0,ra-Ho),Math.max(0,Sa-Bi),ws.BOTTOM_LEFT):new Ga(me.left+Ho,me.top+me.height-Bi),this.topLeftContentBox=rt>0||wt>0?tA(me.left+Ho+Es,me.top+Oa+pa,Math.max(0,rt-(Ho+Es)),Math.max(0,wt-(Oa+pa)),ws.TOP_LEFT):new Ga(me.left+Ho+Es,me.top+Oa+pa),this.topRightContentBox=Kt>0||Dn>0?tA(me.left+Math.min(qa,me.width+Ho+Es),me.top+Oa+pa,qa>me.width+Ho+Es?0:Kt-Ho+Es,Dn-(Oa+pa),ws.TOP_RIGHT):new Ga(me.left+me.width-(Ki+ou),me.top+Oa+pa),this.bottomRightContentBox=Vn>0||br>0?tA(me.left+Math.min(ui,me.width-(Ho+Es)),me.top+Math.min(jo,me.height+Oa+pa),Math.max(0,Vn-(Ki+ou)),br-(Bi+wu),ws.BOTTOM_RIGHT):new Ga(me.left+me.width-(Ki+ou),me.top+me.height-(Bi+wu)),this.bottomLeftContentBox=ra>0||Sa>0?tA(me.left+Ho+Es,me.top+No,Math.max(0,ra-(Ho+Es)),Sa-(Bi+wu),ws.BOTTOM_LEFT):new Ga(me.left+Ho+Es,me.top+me.height-(Bi+wu))}return ce}(),ws;(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"})(ws||(ws={}));var tA=function(ce,se,pe,me,Me){var rt=4*((Math.sqrt(2)-1)/3),wt=pe*rt,zt=me*rt,Kt=ce+pe,Dn=se+me;switch(Me){case ws.TOP_LEFT:return new Tf(new Ga(ce,Dn),new Ga(ce,Dn-zt),new Ga(Kt-wt,se),new Ga(Kt,se));case ws.TOP_RIGHT:return new Tf(new Ga(ce,se),new Ga(ce+wt,se),new Ga(Kt,Dn-zt),new Ga(Kt,Dn));case ws.BOTTOM_RIGHT:return new Tf(new Ga(Kt,se),new Ga(Kt,se+zt),new Ga(ce+wt,Dn),new Ga(ce,Dn));case ws.BOTTOM_LEFT:default:return new Tf(new Ga(Kt,Dn),new Ga(Kt-wt,Dn),new Ga(ce,se+zt),new Ga(ce,se))}},Rf=function(ce){return[ce.topLeftBorderBox,ce.topRightBorderBox,ce.bottomRightBorderBox,ce.bottomLeftBorderBox]},Fp=function(ce){return[ce.topLeftContentBox,ce.topRightContentBox,ce.bottomRightContentBox,ce.bottomLeftContentBox]},w0=function(ce){return[ce.topLeftPaddingBox,ce.topRightPaddingBox,ce.bottomRightPaddingBox,ce.bottomLeftPaddingBox]},Xo=function(){function ce(se,pe,me){this.offsetX=se,this.offsetY=pe,this.matrix=me,this.type=0,this.target=6}return ce}(),$d=function(){function ce(se,pe){this.path=se,this.target=pe,this.type=1}return ce}(),js=function(){function ce(se){this.opacity=se,this.type=2,this.target=6}return ce}(),y0=function(ce){return ce.type===0},S0=function(ce){return ce.type===1},jf=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(rt,wt){switch(wt){case 0:return rt.add(se,pe);case 1:return rt.add(se+me,pe);case 2:return rt.add(se+me,pe+Me);case 3:return rt.add(se,pe+Me)}return rt})},zg=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 Tm(this.container),this.container.styles.opacity<1&&this.effects.push(new js(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,rt=this.container.styles.transform;this.effects.push(new Xo(me,Me,rt))}if(this.container.styles.overflowX!==0){var wt=Rf(this.curves),zt=w0(this.curves);qc(wt,zt)?this.effects.push(new $d(wt,6)):(this.effects.push(new $d(wt,2)),this.effects.push(new $d(zt,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 rt=me.effects.filter(function(Kt){return!S0(Kt)});if(pe||me.container.styles.position!==0||!me.parent){if(Me.unshift.apply(Me,rt),pe=[2,3].indexOf(me.container.styles.position)===-1,me.container.styles.overflowX!==0){var wt=Rf(me.curves),zt=w0(me.curves);qc(wt,zt)||Me.unshift(new $d(zt,6))}}else Me.unshift.apply(Me,rt);me=me.parent}return Me.filter(function(Kt){return Ba(Kt.target,se)})},ce}(),Gg=function(ce,se,pe,me){ce.container.elements.forEach(function(Me){var rt=Ba(Me.flags,4),wt=Ba(Me.flags,2),zt=new b0(Me,ce);Ba(Me.styles.display,2048)&&me.push(zt);var Kt=Ba(Me.flags,8)?[]:me;if(rt||wt){var Dn=rt||Me.styles.isPositioned()?pe:se,_n=new zg(zt);if(Me.styles.isPositioned()||Me.styles.opacity<1||Me.styles.isTransformed()){var Vn=Me.styles.zIndex.order;if(Vn<0){var br=0;Dn.negativeZIndex.some(function(ra,Sa){return Vn>ra.element.container.styles.zIndex.order?(br=Sa,!1):br>0}),Dn.negativeZIndex.splice(br,0,_n)}else if(Vn>0){var Wa=0;Dn.positiveZIndex.some(function(ra,Sa){return Vn>=ra.element.container.styles.zIndex.order?(Wa=Sa+1,!1):Wa>0}),Dn.positiveZIndex.splice(Wa,0,_n)}else Dn.zeroOrAutoZIndexOrTransformedOrOpacity.push(_n)}else Me.styles.isFloating()?Dn.nonPositionedFloats.push(_n):Dn.nonPositionedInlineLevel.push(_n);Gg(zt,_n,rt?_n:pe,Kt)}else Me.styles.isInlineLevel()?se.inlineLevel.push(zt):se.nonInlineLevel.push(zt),Gg(zt,se,pe,Kt);Ba(Me.flags,8)&&Wg(Me,Kt)})},Wg=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 rt=_f(pe),wt=w0(me);this.path(wt),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(Me,0,0,pe.intrinsicWidth,pe.intrinsicHeight,rt.left,rt.top,rt.width,rt.height),this.ctx.restore()}},se.prototype.renderNodeContent=function(pe){return Ce(this,void 0,void 0,function(){var me,Me,rt,wt,zt,Kt,qa,qa,Dn,_n,Vn,br,ui,Wa,ra,No,Sa,Jo,to,qa,jo,ui,No;return He(this,function(Oa){switch(Oa.label){case 0:this.applyEffects(pe.getEffects(4)),me=pe.container,Me=pe.curves,rt=me.styles,wt=0,zt=me.textNodes,Oa.label=1;case 1:return wt0&&al>0&&(Bi=rt.ctx.createPattern(No,"repeat"),rt.renderRepeat(pa,Bi,Ll,jl))):OA(_n)&&(Ho=sc(pe,me,[null,null,null]),pa=Ho[0],ou=Ho[1],wu=Ho[2],Es=Ho[3],al=Ho[4],Nc=_n.position.length===0?[ti]:_n.position,Ll=vo(Nc[0],Es),jl=vo(Nc[Nc.length-1],al),Cd=nc(_n,Ll,jl,Es,al),Ou=Cd[0],Dc=Cd[1],Ou>0&&Dc>0&&(Ed=rt.ctx.createRadialGradient(ou+Ll,wu+jl,0,ou+Ll,wu+jl,Ou),yc(_n.stops,Ou*2).forEach(function(od){return Ed.addColorStop(od.stop,ds(od.color))}),rt.path(pa),rt.ctx.fillStyle=Ed,Ou!==Dc?(rd=pe.bounds.left+.5*pe.bounds.width,lc=pe.bounds.top+.5*pe.bounds.height,ad=Dc/Ou,Uc=1/ad,rt.ctx.save(),rt.ctx.translate(rd,lc),rt.ctx.transform(1,0,0,ad,0,0),rt.ctx.translate(-rd,-lc),rt.ctx.fillRect(ou,Uc*(wu-lc)+lc,Es,al*Uc),rt.ctx.restore()):rt.ctx.fill())),ng.label=6;case 6:return me--,[2]}})},rt=this,wt=0,zt=pe.styles.backgroundImage.slice(0).reverse(),Dn.label=1;case 1:return wt0?_n.style!==2?[3,5]:[4,this.renderDashedDottedBorder(_n.color,_n.width,zt,pe.curves,2)]:[3,11]):[3,13];case 4:return br.sent(),[3,11];case 5:return _n.style!==3?[3,7]:[4,this.renderDashedDottedBorder(_n.color,_n.width,zt,pe.curves,3)];case 6:return br.sent(),[3,11];case 7:return _n.style!==4?[3,9]:[4,this.renderDoubleBorder(_n.color,_n.width,zt,pe.curves)];case 8:return br.sent(),[3,11];case 9:return[4,this.renderSolidBorder(_n.color,zt,pe.curves)];case 10:br.sent(),br.label=11;case 11:zt++,br.label=12;case 12:return Kt++,[3,3];case 13:return[2]}})})},se.prototype.renderDashedDottedBorder=function(pe,me,Me,rt,wt){return Ce(this,void 0,void 0,function(){var zt,Kt,Dn,_n,Vn,br,Wa,ra,Sa,Jo,to,qa,jo,ui,No,Oa,No,Oa;return He(this,function(Ki){return this.ctx.save(),zt=Dh(rt,Me),Kt=dl(rt,Me),wt===2&&(this.path(Kt),this.ctx.clip()),Uu(Kt[0])?(Dn=Kt[0].start.x,_n=Kt[0].start.y):(Dn=Kt[0].x,_n=Kt[0].y),Uu(Kt[1])?(Vn=Kt[1].end.x,br=Kt[1].end.y):(Vn=Kt[1].x,br=Kt[1].y),Me===0||Me===2?Wa=Math.abs(Dn-Vn):Wa=Math.abs(_n-br),this.ctx.beginPath(),wt===3?this.formatPath(zt):this.formatPath(Kt.slice(0,2)),ra=me<3?me*3:me*2,Sa=me<3?me*2:me,wt===3&&(ra=me,Sa=me),Jo=!0,Wa<=ra*2?Jo=!1:Wa<=ra*2+Sa?(to=Wa/(2*ra+Sa),ra*=to,Sa*=to):(qa=Math.floor((Wa+Sa)/(ra+Sa)),jo=(Wa-qa*ra)/(qa-1),ui=(Wa-(qa+1)*ra)/qa,Sa=ui<=0||Math.abs(Sa-jo)bt){var Bt=dt;dt=bt,bt=Bt}}else if(nt==="l"||nt==="landscape"){if(nt="l",bt>dt){var Bt=dt;dt=bt,bt=Bt}}else throw"Invalid orientation: "+nt;var lt={width:dt,height:bt,unit:Te,k:ot};return lt},Ne.default=Ue.jsPDF},"./src/plugin/pagebreaks.js":function(we,Ne,fe){"use strict";fe.r(Ne);var De=fe("./node_modules/core-js/modules/es.array.concat.js"),xe=fe.n(De),Ee=fe("./node_modules/core-js/modules/es.array.slice.js"),ie=fe.n(Ee),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,We=this.prop.pageSize.inner.px.height,nt=[].concat(this.opt.pagebreak.mode),Te={avoidAll:nt.indexOf("avoid-all")!==-1,css:nt.indexOf("css")!==-1,legacy:nt.indexOf("legacy")!==-1},vt={},Qe=this;["before","after","avoid"].forEach(function(ot){var bt=Te.avoidAll&&ot==="avoid";vt[ot]=bt?[]:[].concat(Qe.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 At=Ge.querySelectorAll("*");Array.prototype.forEach.call(At,function(bt){var dt={before:!1,after:Te.legacy&&Nt.indexOf(bt)!==-1,avoid:Te.avoidAll};if(Te.css){var Bt=window.getComputedStyle(bt),lt=["always","page","left","right"],at=["avoid","avoid-page"];dt={before:dt.before||lt.indexOf(Bt.breakBefore||Bt.pageBreakBefore)!==-1,after:dt.after||lt.indexOf(Bt.breakAfter||Bt.pageBreakAfter)!==-1,avoid:dt.avoid||at.indexOf(Bt.breakInside||Bt.pageBreakInside)!==-1}}Object.keys(dt).forEach(function(Tn){dt[Tn]=dt[Tn]||vt[Tn].indexOf(bt)!==-1});var Rt=bt.getBoundingClientRect();if(dt.avoid&&!dt.before){var Wt=Math.floor(Rt.top/We),ht=Math.floor(Rt.bottom/We),Ht=Math.abs(Rt.bottom-Rt.top)/We;ht!==Wt&&Ht<=1&&(dt.before=!0)}if(dt.before){var Sn=(0,ge.createElement)("div",{style:{display:"block",height:We-Rt.top%We+"px"}});bt.parentNode.insertBefore(Sn,bt)}if(dt.after){var Sn=(0,ge.createElement)("div",{style:{display:"block",height:We-Rt.bottom%We+"px"}});bt.parentNode.insertBefore(Sn,bt.nextSibling)}})})}},"./src/utils.js":function(we,Ne,fe){"use strict";fe.r(Ne),fe.d(Ne,{objType:function(){return nt},createElement:function(){return Te},cloneNode:function(){return vt},unitConvert:function(){return Qe},toPx:function(){return Nt}});var De=fe("./node_modules/core-js/modules/es.number.constructor.js"),xe=fe.n(De),Ee=fe("./node_modules/core-js/modules/es.symbol.js"),ie=fe.n(Ee),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 We(At){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?We=function(bt){return typeof bt}:We=function(bt){return bt&&typeof Symbol=="function"&&bt.constructor===Symbol&&bt!==Symbol.prototype?"symbol":typeof bt},We(At)}var nt=function(ot){var bt=We(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"},Te=function(ot,bt){var dt=document.createElement(ot);if(bt.className&&(dt.className=bt.className),bt.innerHTML){dt.innerHTML=bt.innerHTML;for(var Bt=dt.getElementsByTagName("script"),lt=Bt.length;lt-- >0;null)Bt[lt].parentNode.removeChild(Bt[lt])}for(var at in bt.style)dt.style[at]=bt.style[at];return dt},vt=function At(ot,bt){for(var dt=ot.nodeType===3?document.createTextNode(ot.nodeValue):ot.cloneNode(!1),Bt=ot.firstChild;Bt;Bt=Bt.nextSibling)(bt===!0||Bt.nodeType!==1||Bt.nodeName!=="SCRIPT")&&dt.appendChild(At(Bt,bt));return ot.nodeType===1&&(ot.nodeName==="CANVAS"?(dt.width=ot.width,dt.height=ot.height,dt.getContext("2d").drawImage(ot,0,0)):(ot.nodeName==="TEXTAREA"||ot.nodeName==="SELECT")&&(dt.value=ot.value),dt.addEventListener("load",function(){dt.scrollTop=ot.scrollTop,dt.scrollLeft=ot.scrollLeft},!0)),dt},Qe=function(ot,bt){if(nt(ot)==="number")return ot*72/96/bt;var dt={};for(var Bt in ot)dt[Bt]=ot[Bt]*72/96/bt;return dt},Nt=function(ot,bt){return Math.floor(ot*bt/72*96)}},"./src/worker.js":function(we,Ne,fe){"use strict";fe.r(Ne);var De=fe("./node_modules/core-js/modules/es.object.assign.js"),xe=fe.n(De),Ee=fe("./node_modules/core-js/modules/es.array.map.js"),ie=fe.n(Ee),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),We=fe("jspdf"),nt=fe.n(We),Te=fe("html2canvas"),vt=fe.n(Te),Qe=fe("./src/utils.js"),Nt=fe("./node_modules/es6-promise/dist/es6-promise.js"),At=fe.n(Nt),ot=At().Promise,bt=function dt(Bt){var lt=Object.assign(dt.convert(ot.resolve()),JSON.parse(JSON.stringify(dt.template))),at=dt.convert(ot.resolve(),lt);return at=at.setProgress(1,dt,1,[dt]),at=at.set(Bt),at};bt.prototype=Object.create(ot.prototype),bt.prototype.constructor=bt,bt.convert=function(Bt,lt){return Bt.__proto__=lt||bt.prototype,Bt},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(Bt,lt){function at(Rt){switch((0,Qe.objType)(Rt)){case"string":return"string";case"element":return Rt.nodeName.toLowerCase&&Rt.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(lt=lt||at(Bt),lt){case"string":return this.set({src:(0,Qe.createElement)("div",{innerHTML:Bt})});case"element":return this.set({src:Bt});case"canvas":return this.set({canvas:Bt});case"img":return this.set({img:Bt});default:return this.error("Unknown source type.")}})},bt.prototype.to=function(Bt){switch(Bt){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},bt.prototype.toContainer=function(){var Bt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Bt).then(function(){var at={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},Rt={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};at.opacity=0;var Wt=(0,Qe.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Qe.createElement)("div",{className:"html2pdf__overlay",style:at}),this.prop.container=(0,Qe.createElement)("div",{className:"html2pdf__container",style:Rt}),this.prop.container.appendChild(Wt),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},bt.prototype.toCanvas=function(){var Bt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Bt).then(function(){var at=Object.assign({},this.opt.html2canvas);return delete at.onrendered,Te(this.prop.container,at)}).then(function(at){var Rt=this.opt.html2canvas.onrendered||function(){};Rt(at),this.prop.canvas=at,document.body.removeChild(this.prop.overlay)})},bt.prototype.toImg=function(){var Bt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Bt).then(function(){var at=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=at})},bt.prototype.toPdf=function(){var Bt=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Bt).then(function(){var at=this.prop.canvas,Rt=this.opt,Wt=at.height,ht=Math.floor(at.width*this.prop.pageSize.inner.ratio),Ht=Math.ceil(Wt/ht),Sn=this.prop.pageSize.inner.height,Tn=document.createElement("canvas"),ln=Tn.getContext("2d");Tn.width=at.width,Tn.height=ht,this.prop.pdf=this.prop.pdf||new We.jsPDF(Rt.jsPDF);for(var zn=0;zn1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-indexed-object.js"),xe=fe("./node_modules/core-js/internals/to-length.js"),Ee=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=Ee(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}};we.exports={includes:ie(!0),indexOf:ie(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/function-bind-context.js"),xe=fe("./node_modules/core-js/internals/indexed-object.js"),Ee=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,We,nt,Te){for(var vt=Ee(Ge),Qe=xe(vt),Nt=De(We,nt,3),At=ie(Qe.length),ot=0,bt=Te||y,dt=te?bt(Ge,At):ne||Pe?bt(Ge,0):void 0,Bt,lt;At>ot;ot++)if((Ue||ot in Qe)&&(Bt=Qe[ot],lt=Nt(Bt,ot,vt),E))if(te)dt[ot]=lt;else if(lt)switch(E){case 3:return!0;case 5:return Bt;case 6:return ot;case 2:a.call(dt,Bt)}else switch(E){case 4:return!1;case 7:a.call(dt,Bt)}return Le?-1:ae||ge?ge:dt}};we.exports={forEach:ee(0),map:ee(1),filter:ee(2),some:ee(3),every:ee(4),find:ee(5),findIndex:ee(6),filterReject:ee(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ee=fe("./node_modules/core-js/internals/engine-v8-version.js"),ie=xe("species");we.exports=function(y){return Ee>=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(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/fails.js");we.exports=function(xe,Ee){var ie=[][xe];return!!ie&&De(function(){ie.call(null,Ee||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js"),xe=fe("./node_modules/core-js/internals/is-array.js"),Ee=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("species");we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/array-species-constructor.js");we.exports=function(xe,Ee){return new(De(xe))(Ee===0?0:Ee)}},"./node_modules/core-js/internals/classof-raw.js":function(we){var Ne={}.toString;we.exports=function(fe){return Ne.call(fe).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(we,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"),Ee=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("toStringTag"),y=xe(function(){return arguments}())=="Arguments",a=function(ee,E){try{return ee[E]}catch(te){}};we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/own-keys.js"),Ee=fe("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ie=fe("./node_modules/core-js/internals/object-define-property.js");we.exports=function(y,a){for(var ee=xe(a),E=ie.f,te=Ee.f,ne=0;ne"+E+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(we,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"),Ee=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};we.exports=function(ee,E,te){var ne=E+" Iterator";return ee.prototype=xe(De,{next:Ee(1,te)}),ie(ee,ne,!1,!0),y[ne]=a,ee}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-define-property.js"),Ee=fe("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=De?function(ie,y,a){return xe.f(ie,y,Ee(1,a))}:function(ie,y,a){return ie[y]=a,ie}},"./node_modules/core-js/internals/create-property-descriptor.js":function(we){we.exports=function(Ne,fe){return{enumerable:!(Ne&1),configurable:!(Ne&2),writable:!(Ne&4),value:fe}}},"./node_modules/core-js/internals/create-property.js":function(we,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"),Ee=fe("./node_modules/core-js/internals/create-property-descriptor.js");we.exports=function(ie,y,a){var ee=De(y);ee in ie?xe.f(ie,ee,Ee(0,a)):ie[ee]=a}},"./node_modules/core-js/internals/define-iterator.js":function(we,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"),Ee=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",We="entries",nt=function(){return this};we.exports=function(Te,vt,Qe,Nt,At,ot,bt){xe(Qe,vt,Nt);var dt=function(ln){if(ln===At&&Wt)return Wt;if(!Le&&ln in at)return at[ln];switch(ln){case Ue:return function(){return new Qe(this,ln)};case Ge:return function(){return new Qe(this,ln)};case We:return function(){return new Qe(this,ln)}}return function(){return new Qe(this)}},Bt=vt+" Iterator",lt=!1,at=Te.prototype,Rt=at[Pe]||at["@@iterator"]||At&&at[At],Wt=!Le&&Rt||dt(At),ht=vt=="Array"&&at.entries||Rt,Ht,Sn,Tn;if(ht&&(Ht=Ee(ht.call(new Te)),ge!==Object.prototype&&Ht.next&&(!te&&Ee(Ht)!==ge&&(ie?ie(Ht,ge):typeof Ht[Pe]!="function"&&a(Ht,Pe,nt)),y(Ht,Bt,!0,!0),te&&(ne[Bt]=nt))),At==Ge&&Rt&&Rt.name!==Ge&&(lt=!0,Wt=function(){return Rt.call(this)}),(!te||bt)&&at[Pe]!==Wt&&a(at,Pe,Wt),ne[vt]=Wt,At)if(Sn={values:dt(Ge),keys:ot?Wt:dt(Ue),entries:dt(We)},bt)for(Tn in Sn)(Le||lt||!(Tn in at))&&ee(at,Tn,Sn[Tn]);else De({target:vt,proto:!0,forced:Le||lt},Sn);return Sn}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/path.js"),xe=fe("./node_modules/core-js/internals/has.js"),Ee=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ie=fe("./node_modules/core-js/internals/object-define-property.js").f;we.exports=function(y){var a=De.Symbol||(De.Symbol={});xe(a,y)||ie(a,y,{value:Ee.f(y)})}},"./node_modules/core-js/internals/descriptors.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js");we.exports=!De(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/is-object.js"),Ee=De.document,ie=xe(Ee)&&xe(Ee.createElement);we.exports=function(y){return ie?Ee.createElement(y):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(we){we.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js");we.exports=De("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/engine-user-agent.js"),Ee=De.process,ie=De.Deno,y=Ee&&Ee.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]))),we.exports=E&&+E},"./node_modules/core-js/internals/enum-bug-keys.js":function(we){we.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(we,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,Ee=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");we.exports=function(E,te){var ne=E.target,ae=E.global,ge=E.stat,Le,Pe,Ue,Ge,We,nt;if(ae?Pe=De:ge?Pe=De[ne]||y(ne,{}):Pe=(De[ne]||{}).prototype,Pe)for(Ue in te){if(We=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 We==typeof Ge)continue;a(We,Ge)}(E.sham||Ge&&Ge.sham)&&Ee(We,"sham",!0),ie(Pe,Ue,We,E)}}},"./node_modules/core-js/internals/fails.js":function(we){we.exports=function(Ne){try{return!!Ne()}catch(fe){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/a-function.js");we.exports=function(xe,Ee,ie){if(De(xe),Ee===void 0)return xe;switch(ie){case 0:return function(){return xe.call(Ee)};case 1:return function(y){return xe.call(Ee,y)};case 2:return function(y,a){return xe.call(Ee,y,a)};case 3:return function(y,a,ee){return xe.call(Ee,y,a,ee)}}return function(){return xe.apply(Ee,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=function(Ee){return typeof Ee=="function"?Ee:void 0};we.exports=function(Ee,ie){return arguments.length<2?xe(De[Ee]):De[Ee]&&De[Ee][ie]}},"./node_modules/core-js/internals/global.js":function(we){var Ne=function(fe){return fe&&fe.Math==Math&&fe};we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-object.js"),xe={}.hasOwnProperty;we.exports=Object.hasOwn||function(ie,y){return xe.call(De(ie),y)}},"./node_modules/core-js/internals/hidden-keys.js":function(we){we.exports={}},"./node_modules/core-js/internals/html.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/get-built-in.js");we.exports=De("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ee=fe("./node_modules/core-js/internals/document-create-element.js");we.exports=!De&&!xe(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=fe("./node_modules/core-js/internals/classof-raw.js"),Ee="".split;we.exports=De(function(){return!Object("z").propertyIsEnumerable(0)})?function(ie){return xe(ie)=="String"?Ee.call(ie,""):Object(ie)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(we,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");we.exports=function(Ee,ie,y){var a,ee;return xe&&typeof(a=ie.constructor)=="function"&&a!==y&&De(ee=a.prototype)&&ee!==y.prototype&&xe(Ee,ee),Ee}},"./node_modules/core-js/internals/inspect-source.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/shared-store.js"),xe=Function.toString;typeof De.inspectSource!="function"&&(De.inspectSource=function(Ee){return xe.call(Ee)}),we.exports=De.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/native-weak-map.js"),xe=fe("./node_modules/core-js/internals/global.js"),Ee=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(Qe){return Le(Qe)?ge(Qe):ae(Qe,{})},Ue=function(Qe){return function(Nt){var At;if(!Ee(Nt)||(At=ge(Nt)).type!==Qe)throw TypeError("Incompatible receiver, "+Qe+" required");return At}};if(De||a.state){var Ge=a.state||(a.state=new ne),We=Ge.get,nt=Ge.has,Te=Ge.set;ae=function(Qe,Nt){if(nt.call(Ge,Qe))throw new TypeError(te);return Nt.facade=Qe,Te.call(Ge,Qe,Nt),Nt},ge=function(Qe){return We.call(Ge,Qe)||{}},Le=function(Qe){return nt.call(Ge,Qe)}}else{var vt=ee("state");E[vt]=!0,ae=function(Qe,Nt){if(y(Qe,vt))throw new TypeError(te);return Nt.facade=Qe,ie(Qe,vt,Nt),Nt},ge=function(Qe){return y(Qe,vt)?Qe[vt]:{}},Le=function(Qe){return y(Qe,vt)}}we.exports={set:ae,get:ge,has:Le,enforce:Pe,getterFor:Ue}},"./node_modules/core-js/internals/is-array.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/classof-raw.js");we.exports=Array.isArray||function(Ee){return De(Ee)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js"),xe=/#|\.prototype\./,Ee=function(E,te){var ne=y[ie(E)];return ne==ee?!0:ne==a?!1:typeof te=="function"?De(te):!!te},ie=Ee.normalize=function(E){return String(E).replace(xe,".").toLowerCase()},y=Ee.data={},a=Ee.NATIVE="N",ee=Ee.POLYFILL="P";we.exports=Ee},"./node_modules/core-js/internals/is-object.js":function(we){we.exports=function(Ne){return typeof Ne=="object"?Ne!==null:typeof Ne=="function"}},"./node_modules/core-js/internals/is-pure.js":function(we){we.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(we,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");we.exports=xe?function(Ee){return typeof Ee=="symbol"}:function(Ee){var ie=De("Symbol");return typeof ie=="function"&&Object(Ee)instanceof ie}},"./node_modules/core-js/internals/iterators-core.js":function(we,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"),Ee=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)&&Ee(ne,ee,te),we.exports={IteratorPrototype:ne,BUGGY_SAFARI_ITERATORS:E}},"./node_modules/core-js/internals/iterators.js":function(we){we.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/engine-v8-version.js"),xe=fe("./node_modules/core-js/internals/fails.js");we.exports=!!Object.getOwnPropertySymbols&&!xe(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&De&&De<41})},"./node_modules/core-js/internals/native-weak-map.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/inspect-source.js"),Ee=De.WeakMap;we.exports=typeof Ee=="function"&&/native code/.test(xe(Ee))},"./node_modules/core-js/internals/object-assign.js":function(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ee=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;we.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||Ee(E({},ae)).join("")!=Le})?function(ae,ge){for(var Le=a(ae),Pe=arguments.length,Ue=1,Ge=ie.f,We=y.f;Pe>Ue;)for(var nt=ee(arguments[Ue++]),Te=Ge?Ee(nt).concat(Ge(nt)):Ee(nt),vt=Te.length,Qe=0,Nt;vt>Qe;)Nt=Te[Qe++],(!De||We.call(nt,Nt))&&(Le[Nt]=nt[Nt]);return Le}:E},"./node_modules/core-js/internals/object-create.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/an-object.js"),xe=fe("./node_modules/core-js/internals/object-define-properties.js"),Ee=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(Te){return te+ae+E+Te+te+"/"+ae+E},Ue=function(Te){Te.write(Pe("")),Te.close();var vt=Te.parentWindow.Object;return Te=null,vt},Ge=function(){var Te=a("iframe"),vt="java"+ae+":",Qe;if(Te.style)return Te.style.display="none",y.appendChild(Te),Te.src=String(vt),Qe=Te.contentWindow.document,Qe.open(),Qe.write(Pe("document.F=Object")),Qe.close(),Qe.F},We,nt=function(){try{We=new ActiveXObject("htmlfile")}catch(vt){}nt=document.domain&&We?Ue(We):Ge()||Ue(We);for(var Te=Ee.length;Te--;)delete nt[ne][Ee[Te]];return nt()};ie[ge]=!0,we.exports=Object.create||function(vt,Qe){var Nt;return vt!==null?(Le[ne]=De(vt),Nt=new Le,Le[ne]=null,Nt[ge]=vt):Nt=nt(),Qe===void 0?Nt:xe(Nt,Qe)}},"./node_modules/core-js/internals/object-define-properties.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-define-property.js"),Ee=fe("./node_modules/core-js/internals/an-object.js"),ie=fe("./node_modules/core-js/internals/object-keys.js");we.exports=De?Object.defineProperties:function(a,ee){Ee(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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/ie8-dom-define.js"),Ee=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(Ee(ee),E=ie(E),Ee(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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/descriptors.js"),xe=fe("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ee=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 Ee(!xe.f.call(ne,ae),ne[ae])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(we,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,Ee={}.toString,ie=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(a){try{return xe(a)}catch(ee){return ie.slice()}};we.exports.f=function(ee){return ie&&Ee.call(ee)=="[object Window]"?y(ee):xe(De(ee))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(we,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"),Ee=xe.concat("length","prototype");Ne.f=Object.getOwnPropertyNames||function(y){return De(y,Ee)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(we,Ne){Ne.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/to-object.js"),Ee=fe("./node_modules/core-js/internals/shared-key.js"),ie=fe("./node_modules/core-js/internals/correct-prototype-getter.js"),y=Ee("IE_PROTO"),a=Object.prototype;we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/has.js"),xe=fe("./node_modules/core-js/internals/to-indexed-object.js"),Ee=fe("./node_modules/core-js/internals/array-includes.js").indexOf,ie=fe("./node_modules/core-js/internals/hidden-keys.js");we.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++])&&(~Ee(te,ne)||te.push(ne));return te}},"./node_modules/core-js/internals/object-keys.js":function(we,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");we.exports=Object.keys||function(ie){return De(ie,xe)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(we,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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/an-object.js"),xe=fe("./node_modules/core-js/internals/a-possible-prototype.js");we.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ee=!1,ie={},y;try{y=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,y.call(ie,[]),Ee=ie instanceof Array}catch(a){}return function(ee,E){return De(ee),xe(E),Ee?y.call(ee,E):ee.__proto__=E,ee}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(we,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");we.exports=De?{}.toString:function(){return"[object "+xe(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js");we.exports=function(xe,Ee){var ie,y;if(Ee==="string"&&typeof(ie=xe.toString)=="function"&&!De(y=ie.call(xe))||typeof(ie=xe.valueOf)=="function"&&!De(y=ie.call(xe))||Ee!=="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(we,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"),Ee=fe("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ie=fe("./node_modules/core-js/internals/an-object.js");we.exports=De("Reflect","ownKeys")||function(a){var ee=xe.f(ie(a)),E=Ee.f;return E?ee.concat(E(a)):ee}},"./node_modules/core-js/internals/path.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js");we.exports=De},"./node_modules/core-js/internals/redefine.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ee=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");(we.exports=function(ne,ae,ge,Le){var Pe=Le?!!Le.unsafe:!1,Ue=Le?!!Le.enumerable:!1,Ge=Le?!!Le.noTargetGet:!1,We;if(typeof ge=="function"&&(typeof ae=="string"&&!Ee(ge,"name")&&xe(ge,"name",ae),We=E(ge),We.source||(We.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(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/an-object.js");we.exports=function(){var xe=De(this),Ee="";return xe.global&&(Ee+="g"),xe.ignoreCase&&(Ee+="i"),xe.multiline&&(Ee+="m"),xe.dotAll&&(Ee+="s"),xe.unicode&&(Ee+="u"),xe.sticky&&(Ee+="y"),Ee}},"./node_modules/core-js/internals/require-object-coercible.js":function(we){we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js");we.exports=function(xe,Ee){try{Object.defineProperty(De,xe,{value:Ee,configurable:!0,writable:!0})}catch(ie){De[xe]=Ee}return Ee}},"./node_modules/core-js/internals/set-to-string-tag.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/object-define-property.js").f,xe=fe("./node_modules/core-js/internals/has.js"),Ee=fe("./node_modules/core-js/internals/well-known-symbol.js"),ie=Ee("toStringTag");we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/shared.js"),xe=fe("./node_modules/core-js/internals/uid.js"),Ee=De("keys");we.exports=function(ie){return Ee[ie]||(Ee[ie]=xe(ie))}},"./node_modules/core-js/internals/shared-store.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/set-global.js"),Ee="__core-js_shared__",ie=De[Ee]||xe(Ee,{});we.exports=ie},"./node_modules/core-js/internals/shared.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/is-pure.js"),xe=fe("./node_modules/core-js/internals/shared-store.js");(we.exports=function(Ee,ie){return xe[Ee]||(xe[Ee]=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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/fails.js");we.exports=function(xe){return De(function(){var Ee=""[xe]('"');return Ee!==Ee.toLowerCase()||Ee.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=fe("./node_modules/core-js/internals/to-string.js"),Ee=fe("./node_modules/core-js/internals/require-object-coercible.js"),ie=function(y){return function(a,ee){var E=xe(Ee(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)}};we.exports={codeAt:ie(!1),charAt:ie(!0)}},"./node_modules/core-js/internals/string-trim.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/require-object-coercible.js"),xe=fe("./node_modules/core-js/internals/to-string.js"),Ee=fe("./node_modules/core-js/internals/whitespaces.js"),ie="["+Ee+"]",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}};we.exports={start:ee(1),end:ee(2),trim:ee(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=Math.max,Ee=Math.min;we.exports=function(ie,y){var a=De(ie);return a<0?xe(a+y,0):Ee(a,y)}},"./node_modules/core-js/internals/to-indexed-object.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/indexed-object.js"),xe=fe("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(Ee){return De(xe(Ee))}},"./node_modules/core-js/internals/to-integer.js":function(we){var Ne=Math.ceil,fe=Math.floor;we.exports=function(De){return isNaN(De=+De)?0:(De>0?fe:Ne)(De)}},"./node_modules/core-js/internals/to-length.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-integer.js"),xe=Math.min;we.exports=function(Ee){return Ee>0?xe(De(Ee),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/require-object-coercible.js");we.exports=function(xe){return Object(De(xe))}},"./node_modules/core-js/internals/to-primitive.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/is-object.js"),xe=fe("./node_modules/core-js/internals/is-symbol.js"),Ee=fe("./node_modules/core-js/internals/ordinary-to-primitive.js"),ie=fe("./node_modules/core-js/internals/well-known-symbol.js"),y=ie("toPrimitive");we.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"),Ee(a,ee)}},"./node_modules/core-js/internals/to-property-key.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-primitive.js"),xe=fe("./node_modules/core-js/internals/is-symbol.js");we.exports=function(Ee){var ie=De(Ee,"string");return xe(ie)?ie:String(ie)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/well-known-symbol.js"),xe=De("toStringTag"),Ee={};Ee[xe]="z",we.exports=String(Ee)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/is-symbol.js");we.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(we){var Ne=0,fe=Math.random();we.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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/native-symbol.js");we.exports=De&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(we,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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/shared.js"),Ee=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;we.exports=function(ne){return(!Ee(ee,ne)||!(y||typeof ee[ne]=="string"))&&(y&&Ee(E,ne)?ee[ne]=E[ne]:ee[ne]=te("Symbol."+ne)),ee[ne]}},"./node_modules/core-js/internals/whitespaces.js":function(we){we.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/fails.js"),Ee=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 Te=[];return Te[ge]=!1,Te.concat()[0]!==Te}),Ge=te("concat"),We=function(Te){if(!ie(Te))return!1;var vt=Te[ge];return vt!==void 0?!!vt:Ee(Te)},nt=!Ue||!Ge;De({target:"Array",proto:!0,forced:nt},{concat:function(vt){var Qe=y(this),Nt=E(Qe,0),At=0,ot,bt,dt,Bt,lt;for(ot=-1,dt=arguments.length;otLe)throw TypeError(Pe);for(bt=0;bt=Le)throw TypeError(Pe);ee(Nt,At++,lt)}return Nt.length=At,Nt}})},"./node_modules/core-js/modules/es.array.iterator.js":function(we,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"),Ee=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);we.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"),Ee.Arguments=Ee.Array,xe("keys"),xe("values"),xe("entries")},"./node_modules/core-js/modules/es.array.join.js":function(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/indexed-object.js"),Ee=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(Ee(this),te===void 0?",":te)}})},"./node_modules/core-js/modules/es.array.map.js":function(we,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,Ee=fe("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=Ee("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(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/is-object.js"),Ee=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 We=a(this),nt=y(We.length),Te=ie(Ue,nt),vt=ie(Ge===void 0?nt:Ge,nt),Qe,Nt,At;if(Ee(We)&&(Qe=We.constructor,typeof Qe=="function"&&(Qe===Array||Ee(Qe.prototype))?Qe=void 0:xe(Qe)&&(Qe=Qe[ae],Qe===null&&(Qe=void 0)),Qe===Array||Qe===void 0))return ge.call(We,Te,vt);for(Nt=new(Qe===void 0?Array:Qe)(Le(vt-Te,0)),At=0;Te2){if(dt=Ue(dt),Bt=dt.charCodeAt(0),Bt===43||Bt===45){if(lt=dt.charCodeAt(2),lt===88||lt===120)return NaN}else if(Bt===48){switch(dt.charCodeAt(1)){case 66:case 98:at=2,Rt=49;break;case 79:case 111:at=8,Rt=55;break;default:return+dt}for(Wt=dt.slice(2),ht=Wt.length,Ht=0;HtRt)return NaN;return parseInt(Wt,at)}}return+dt};if(Ee(Ge,!We(" 0o1")||!We("0b1")||We("+0x1"))){for(var Qe=function(dt){var Bt=arguments.length<1?0:dt,lt=this;return lt instanceof Qe&&(Te?ne(function(){nt.valueOf.call(lt)}):a(lt)!=Ge)?ee(new We(vt(Bt)),lt,Qe):vt(Bt)},Nt=De?ge(We):"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(","),At=0,ot;Nt.length>At;At++)y(We,ot=Nt[At])&&!y(Qe,ot)&&Pe(Qe,ot,Le(We,ot));Qe.prototype=nt,nt.constructor=Qe,ie(xe,Ge,Qe)}},"./node_modules/core-js/modules/es.object.assign.js":function(we,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(we,Ne,fe){var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/to-object.js"),Ee=fe("./node_modules/core-js/internals/object-keys.js"),ie=fe("./node_modules/core-js/internals/fails.js"),y=ie(function(){Ee(1)});De({target:"Object",stat:!0,forced:y},{keys:function(ee){return Ee(xe(ee))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/to-string-tag-support.js"),xe=fe("./node_modules/core-js/internals/redefine.js"),Ee=fe("./node_modules/core-js/internals/object-to-string.js");De||xe(Object.prototype,"toString",Ee,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/redefine.js"),xe=fe("./node_modules/core-js/internals/an-object.js"),Ee=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=Ee(ge.source),Pe=ge.flags,Ue=Ee(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(we,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"),Ee=fe("./node_modules/core-js/internals/internal-state.js"),ie=fe("./node_modules/core-js/internals/define-iterator.js"),y="String Iterator",a=Ee.set,ee=Ee.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(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/create-html.js"),Ee=fe("./node_modules/core-js/internals/string-html-forced.js");De({target:"String",proto:!0,forced:Ee("link")},{link:function(y){return xe(this,"a","href",y)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/descriptors.js"),Ee=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=Ee.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]),We=this instanceof ne?new E(Ge):Ge===void 0?E():E(Ge);return Ge===""&&(te[We]=!0),We};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,We=ge.call(Ge);if(ie(te,Ge))return"";var nt=Le?We.slice(7,-1):We.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(we,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(we,Ne,fe){"use strict";var De=fe("./node_modules/core-js/internals/export.js"),xe=fe("./node_modules/core-js/internals/global.js"),Ee=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"),We=fe("./node_modules/core-js/internals/create-property-descriptor.js"),nt=fe("./node_modules/core-js/internals/object-create.js"),Te=fe("./node_modules/core-js/internals/object-keys.js"),vt=fe("./node_modules/core-js/internals/object-get-own-property-names.js"),Qe=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"),At=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"),dt=fe("./node_modules/core-js/internals/create-non-enumerable-property.js"),Bt=fe("./node_modules/core-js/internals/redefine.js"),lt=fe("./node_modules/core-js/internals/shared.js"),at=fe("./node_modules/core-js/internals/shared-key.js"),Rt=fe("./node_modules/core-js/internals/hidden-keys.js"),Wt=fe("./node_modules/core-js/internals/uid.js"),ht=fe("./node_modules/core-js/internals/well-known-symbol.js"),Ht=fe("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Sn=fe("./node_modules/core-js/internals/define-well-known-symbol.js"),Tn=fe("./node_modules/core-js/internals/set-to-string-tag.js"),ln=fe("./node_modules/core-js/internals/internal-state.js"),zn=fe("./node_modules/core-js/internals/array-iteration.js").forEach,yt=at("hidden"),Hn="Symbol",Wn="prototype",Xe=ht("toPrimitive"),vn=ln.set,Fe=ln.getterFor(Hn),he=Object[Wn],de=xe.Symbol,Se=Ee("JSON","stringify"),qe=At.f,gt=ot.f,_e=Qe.f,Ye=bt.f,Pt=lt("symbols"),ft=lt("op-symbols"),st=lt("string-to-symbol-registry"),jt=lt("symbol-to-string-registry"),Qn=lt("wks"),Lt=xe.QObject,on=!Lt||!Lt[Wn]||!Lt[Wn].findChild,Qt=y&&ee(function(){return nt(gt({},"a",{get:function(){return gt(this,"a",{value:7}).a}})).a!=7})?function(cr,ir,dr){var Rr=qe(he,ir);Rr&&delete he[ir],gt(cr,ir,dr),Rr&&cr!==he&>(he,ir,Rr)}:gt,Cn=function(cr,ir){var dr=Pt[cr]=nt(de[Wn]);return vn(dr,{type:Hn,tag:cr,description:ir}),y||(dr.description=ir),dr},ut=function(ir,dr,Rr){ir===he&&ut(ft,dr,Rr),ge(ir);var Kr=Ue(dr);return ge(Rr),E(Pt,Kr)?(Rr.enumerable?(E(ir,yt)&&ir[yt][Kr]&&(ir[yt][Kr]=!1),Rr=nt(Rr,{enumerable:We(0,!1)})):(E(ir,yt)||gt(ir,yt,We(1,{})),ir[yt][Kr]=!0),Qt(ir,Kr,Rr)):gt(ir,Kr,Rr)},Xt=function(ir,dr){ge(ir);var Rr=Pe(dr),Kr=Te(Rr).concat(Fr(Rr));return zn(Kr,function(xa){(!y||bn.call(Rr,xa))&&ut(ir,xa,Rr[xa])}),ir},pn=function(ir,dr){return dr===void 0?nt(ir):Xt(nt(ir),dr)},bn=function(ir){var dr=Ue(ir),Rr=Ye.call(this,dr);return this===he&&E(Pt,dr)&&!E(ft,dr)?!1:Rr||!E(this,dr)||!E(Pt,dr)||E(this,yt)&&this[yt][dr]?Rr:!0},Jn=function(ir,dr){var Rr=Pe(ir),Kr=Ue(dr);if(!(Rr===he&&E(Pt,Kr)&&!E(ft,Kr))){var xa=qe(Rr,Kr);return xa&&E(Pt,Kr)&&!(E(Rr,yt)&&Rr[yt][Kr])&&(xa.enumerable=!0),xa}},Ar=function(ir){var dr=_e(Pe(ir)),Rr=[];return zn(dr,function(Kr){!E(Pt,Kr)&&!E(Rt,Kr)&&Rr.push(Kr)}),Rr},Fr=function(ir){var dr=ir===he,Rr=_e(dr?ft:Pe(ir)),Kr=[];return zn(Rr,function(xa){E(Pt,xa)&&(!dr||E(he,xa))&&Kr.push(Pt[xa])}),Kr};if(a||(de=function(){if(this instanceof de)throw TypeError("Symbol is not a constructor");var ir=!arguments.length||arguments[0]===void 0?void 0:Ge(arguments[0]),dr=Wt(ir),Rr=function(Kr){this===he&&Rr.call(ft,Kr),E(this,yt)&&E(this[yt],dr)&&(this[yt][dr]=!1),Qt(this,dr,We(1,Kr))};return y&&on&&Qt(he,dr,{configurable:!0,set:Rr}),Cn(dr,ir)},Bt(de[Wn],"toString",function(){return Fe(this).tag}),Bt(de,"withoutSetter",function(cr){return Cn(Wt(cr),cr)}),bt.f=bn,ot.f=ut,At.f=Jn,vt.f=Qe.f=Ar,Nt.f=Fr,Ht.f=function(cr){return Cn(ht(cr),cr)},y&&(gt(de[Wn],"description",{configurable:!0,get:function(){return Fe(this).description}}),ie||Bt(he,"propertyIsEnumerable",bn,{unsafe:!0}))),De({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:de}),zn(Te(Qn),function(cr){Sn(cr)}),De({target:Hn,stat:!0,forced:!a},{for:function(cr){var ir=Ge(cr);if(E(st,ir))return st[ir];var dr=de(ir);return st[ir]=dr,jt[dr]=ir,dr},keyFor:function(ir){if(!ae(ir))throw TypeError(ir+" is not a symbol");if(E(jt,ir))return jt[ir]},useSetter:function(){on=!0},useSimple:function(){on=!1}}),De({target:"Object",stat:!0,forced:!a,sham:!y},{create:pn,defineProperty:ut,defineProperties:Xt,getOwnPropertyDescriptor:Jn}),De({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:Ar,getOwnPropertySymbols:Fr}),De({target:"Object",stat:!0,forced:ee(function(){Nt.f(1)})},{getOwnPropertySymbols:function(ir){return Nt.f(Le(ir))}}),Se){var Er=!a||ee(function(){var cr=de();return Se([cr])!="[null]"||Se({a:cr})!="{}"||Se(Object(cr))!="{}"});De({target:"JSON",stat:!0,forced:Er},{stringify:function(ir,dr,Rr){for(var Kr=[ir],xa=1,lr;arguments.length>xa;)Kr.push(arguments[xa++]);if(lr=dr,!(!ne(dr)&&ir===void 0||ae(ir)))return te(dr)||(dr=function(ao,no){if(typeof lr=="function"&&(no=lr.call(this,ao,no)),!ae(no))return no}),Kr[1]=dr,Se.apply(null,Kr)}})}de[Wn][Xe]||dt(de[Wn],Xe,de[Wn].valueOf),Tn(de,Hn),Rt[yt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/dom-iterables.js"),Ee=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!==Ee)try{ie(ee,"forEach",Ee)}catch(E){ee.forEach=Ee}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(we,Ne,fe){var De=fe("./node_modules/core-js/internals/global.js"),xe=fe("./node_modules/core-js/internals/dom-iterables.js"),Ee=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=Ee.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 Ee)if(ae[ge]!==Ee[ge])try{ie(ae,ge,Ee[ge])}catch(Le){ae[ge]=Ee[ge]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(we){(function(Ne,fe){we.exports=fe()})(this,function(){"use strict";function Ne(Lt){var on=typeof Lt;return Lt!==null&&(on==="object"||on==="function")}function fe(Lt){return typeof Lt=="function"}var De=void 0;Array.isArray?De=Array.isArray:De=function(Lt){return Object.prototype.toString.call(Lt)==="[object Array]"};var xe=De,Ee=0,ie=void 0,y=void 0,a=function(on,Qt){Te[Ee]=on,Te[Ee+1]=Qt,Ee+=2,Ee===2&&(y?y(vt):Nt())};function ee(Lt){y=Lt}function E(Lt){a=Lt}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 Lt=0,on=new ae(vt),Qt=document.createTextNode("");return on.observe(Qt,{characterData:!0}),function(){Qt.data=Lt=++Lt%2}}function We(){var Lt=new MessageChannel;return Lt.port1.onmessage=vt,function(){return Lt.port2.postMessage(0)}}function nt(){var Lt=setTimeout;return function(){return Lt(vt,1)}}var Te=new Array(1e3);function vt(){for(var Lt=0;Lt>1,fe=-7,De=Ce?tt-1:0,xe=Ce?-1:1,Ee=Be[le+De];for(De+=xe,ze=Ee&(1<<-fe)-1,Ee>>=-fe,fe+=ve;fe>0;ze=ze*256+Be[le+De],De+=xe,fe-=8);for(je=ze&(1<<-fe)-1,ze>>=-fe,fe+=He;fe>0;je=je*256+Be[le+De],De+=xe,fe-=8);if(ze===0)ze=1-Ne;else{if(ze===we)return je?NaN:(Ee?-1:1)*(1/0);je=je+Math.pow(2,He),ze=ze-Ne}return(Ee?-1:1)*je*Math.pow(2,ze-He)},Dt.write=function(Be,le,Ce,He,tt,ze){var je,ve,we,Ne=ze*8-tt-1,fe=(1<>1,xe=tt===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ee=He?0:ze-1,ie=He?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,je=fe):(je=Math.floor(Math.log(le)/Math.LN2),le*(we=Math.pow(2,-je))<1&&(je--,we*=2),je+De>=1?le+=xe/we:le+=xe*Math.pow(2,1-De),le*we>=2&&(je++,we/=2),je+De>=fe?(ve=0,je=fe):je+De>=1?(ve=(le*we-1)*Math.pow(2,tt),je=je+De):(ve=le*Math.pow(2,De-1)*Math.pow(2,tt),je=0));tt>=8;Be[Ce+Ee]=ve&255,Ee+=ie,ve/=256,tt-=8);for(je=je<0;Be[Ce+Ee]=je&255,Ee+=ie,je/=256,Ne-=8);Be[Ce+Ee-ie]|=y*128}},65355:function(Yt,Dt,Be){"use strict";Be.r(Dt),Be.d(Dt,{AcroForm:function(){return wu},AcroFormAppearance:function(){return pa},AcroFormButton:function(){return jo},AcroFormCheckBox:function(){return Ki},AcroFormChoiceField:function(){return Sa},AcroFormComboBox:function(){return to},AcroFormEditBox:function(){return qa},AcroFormListBox:function(){return Jo},AcroFormPasswordField:function(){return Ho},AcroFormPushButton:function(){return ui},AcroFormRadioButton:function(){return No},AcroFormTextField:function(){return Bi},GState:function(){return Vg},ShadingPattern:function(){return ed},TilingPattern:function(){return td},default:function(){return fo},jsPDF:function(){return fo}});var le=Be(76190),Ce={},He=function(b,z,x,re,oe){var Ae=new Worker(Ce[z]||(Ce[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 Re=new Error(Oe[0]);Re.code=Oe[1],Re.stack=Oe[2],oe(Re,null)}else oe(null,be)},Ae.postMessage(x,re),Ae},tt=Uint8Array,ze=Uint16Array,je=Int32Array,ve=new tt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),we=new tt([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 tt([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 ze(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 ze(z);oe>Oe]=Re}else for(be=new ze(re),oe=0;oe>15-b[oe]);return be},ae=new tt(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 tt(32),E=0;E<32;++E)ge[E]=5;var Le=ne(ae,9,0),Pe=null,Ue=ne(ge,5,0),Ge=null,We=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},Te=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},Qe=function(b,z,x){return(z==null||z<0)&&(z=0),(x==null||x>b.length)&&(x=b.length),new tt(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},At=["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||At[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 tt(0);var Ie=!x,be=Ie||z.i!=2,Oe=z.i;Ie&&(x=new tt(oe*3));var Re=function(oa){var Ta=x.length;if(oa>Ta){var Ha=new tt(Math.max(Ta*2,oa));Ha.set(x),x=Ha}},Ve=z.f||0,ct=z.p||0,St=z.b||0,Ze=z.l,Gt=z.d,Mt=z.m,Vt=z.n,Ut=oe*8;do{if(!Ze){Ve=nt(b,ct,1);var Ln=nt(b,ct+1,3);if(ct+=3,Ln)if(Ln==1)Ze=Pe,Gt=Ge,Mt=9,Vt=5;else if(Ln==2){var Ir=nt(b,ct,31)+257,fr=nt(b,ct+10,15)+4,Rn=Ir+nt(b,ct+5,31)+1;ct+=14;for(var An=new tt(Rn),Xn=new tt(19),It=0;It>4;if(Bn<16)An[It++]=Bn;else{var gr=0,pr=0;for(Bn==16?(pr=3+nt(b,ct,3),ct+=2,gr=An[It-1]):Bn==17?(pr=3+nt(b,ct,7),ct+=3):Bn==18&&(pr=11+nt(b,ct,127),ct+=7);pr--;)An[It++]=gr}}var nr=An.subarray(0,Ir),wr=An.subarray(Ir);Mt=We(nr),Vt=We(wr),Ze=ne(nr,Mt,1),Gt=ne(wr,Vt,1)}else ot(1);else{var Bn=vt(ct)+4,sn=b[Bn-4]|b[Bn-3]<<8,or=Bn+sn;if(or>oe){Oe&&ot(0);break}be&&Re(St+sn),x.set(b.subarray(Bn,or),St),z.b=St+=sn,z.p=ct=or*8,z.f=Ve;continue}if(ct>Ut){Oe&&ot(0);break}}be&&Re(St+131072);for(var ga=(1<>4;if(ct+=gr&15,ct>Ut){Oe&&ot(0);break}if(gr||ot(2),an<256)x[St++]=an;else if(an==256){Ft=ct,Ze=null;break}else{var fn=an-254;if(an>264){var It=an-257,Un=ve[It];fn=nt(b,ct,(1<>4;Gn||ot(3),ct+=Gn&15;var wr=y[rr];if(rr>3){var Un=we[rr];wr+=Te(b,ct)&(1<Ut){Oe&&ot(0);break}be&&Re(St+131072);var mr=St+fn;if(St>8},Bt=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},lt=function(b,z){for(var x=[],re=0;reSt&&(St=Ae[re].s);var Ze=new ze(St+1),Gt=at(x[Ve-1],Ze,0);if(Gt>z){var re=0,Mt=0,Vt=Gt-z,Ut=1<z)Mt+=Ut-(1<>=Vt;Mt>0;){var Bn=Ae[re].s;Ze[Bn]=0&&Mt;--re){var sn=Ae[re].s;Ze[sn]==z&&(--Ze[sn],++Mt)}Gt=z}return{t:new tt(Ze),l:Gt}},at=function(b,z,x){return b.s==-1?Math.max(at(b.l,z,x+1),at(b.r,z,x+1)):z[b.s]=x},Rt=function(b){for(var z=b.length;z&&!b[--z];);for(var x=new ze(++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}},Wt=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[Jt-1]];--Jt);var xn=Re+5<<3,yn=Wt(oe,ae)+Wt(Ae,ge)+Ie,sr=Wt(oe,St)+Wt(Ae,Mt)+Ie+14+3*Jt+Wt(fr,Xn)+2*fr[16]+3*fr[17]+7*fr[18];if(Oe>=0&&xn<=yn&&xn<=sr)return ht(z,Ve,b.subarray(Oe,Oe+Re));var gr,pr,nr,wr;if(dt(z,Ve,1+(sr15&&(dt(z,Ve,an[Rn]>>5&127),Ve+=an[Rn]>>12)}}else gr=Le,pr=ae,nr=Ue,wr=ge;for(var Rn=0;Rn255){var fn=Un>>18&31;Bt(z,Ve,gr[fn+257]),Ve+=pr[fn+257],fn>7&&(dt(z,Ve,Un>>23&31),Ve+=ve[fn]);var Gn=Un&31;Bt(z,Ve,nr[Gn]),Ve+=wr[Gn],Gn>3&&(Bt(z,Ve,Un>>5&8191),Ve+=we[Gn])}else Bt(z,Ve,gr[Un]),Ve+=pr[Un]}return Bt(z,Ve,gr[256]),Ve+pr[256]},Sn=new je([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Tn=new tt(0),ln=function(b,z,x,re,oe,Ae){var Ie=Ae.z||b.length,be=new tt(re+Ie+5*(1+Math.ceil(Ie/7e3))+oe),Oe=be.subarray(re,be.length-oe),Re=Ae.l,Ve=(Ae.r||0)&7;if(z){Ve&&(Oe[0]=Ae.r>>3);for(var ct=Sn[z-1],St=ct>>13,Ze=ct&8191,Gt=(1<7e3||Xn>24576)&&(gr>423||!Re)){Ve=Ht(b,Oe,0,sn,or,Ir,Rn,Xn,Jt,An-Jt,Ve),Xn=fr=Rn=0,Jt=An;for(var pr=0;pr<286;++pr)or[pr]=0;for(var pr=0;pr<30;++pr)Ir[pr]=0}var nr=2,wr=0,ga=Ze,Yr=yn-sr&32767;if(gr>2&&xn==Bn(An-Yr))for(var Ft=Math.min(St,gr)-1,an=Math.min(32767,An),fn=Math.min(258,gr);Yr<=an&&--ga&&yn!=sr;){if(b[An+nr]==b[An+nr-Yr]){for(var Un=0;Unnr){if(nr=Un,wr=Yr,Un>Ft)break;for(var Gn=Math.min(Yr,Un-2),rr=0,pr=0;prrr&&(rr=Tr,sr=mr)}}}yn=sr,sr=Mt[yn],Yr+=yn-sr&32767}if(wr){sn[Xn++]=268435456|Ee[nr]<<18|a[wr];var oa=Ee[nr]&31,Ta=a[wr]&31;Rn+=ve[oa]+we[Ta],++or[257+oa],++Ir[Ta],It=An+nr,++fr}else sn[Xn++]=b[An],++or[b[An]]}}for(An=Math.max(An,It);An=Ie&&(Oe[Ve/8|0]=Re,Ha=Ie),Ve=ht(Oe,Ve+1,b.subarray(An,Ha))}Ae.i=Ie}return Qe(be,0,re+vt(Ve)+oe)},zn=null,yt=function(){var b=-1;return{p:function(z){for(var x=b,re=0;re>>8;b=x},d:function(){return~b}}},Hn=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}}},Wn=function(b,z,x,re,oe){if(!oe&&(oe={l:1},z.dictionary)){var Ae=z.dictionary.subarray(-32768),Ie=new tt(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)},Xe=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},vn=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},Cn=function(b,z){return Qt(b,z)+Qt(b,z+4)*4294967296},ut=function(b,z,x){for(;x;++z)b[z]=x,x>>>=8},Xt=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&&ut(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)}},pn=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},Jn=function(b){return 10+(b.filename?b.filename.length+1:0)},Ar=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=Hn();oe.p(z.dictionary),ut(b,2,oe.d())}},Fr=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 Er(b,z){return typeof b=="function"&&(z=b,b={}),this.ondata=z,b}var cr=null,ir=null;function dr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[qe],function(re){return ft(Rr(re.data[0],re.data[1]))},0,x)}function Rr(b,z){return Wn(b,z||{},0,0)}var Kr=null,xa=null;function lr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[Se],function(re){return ft(ao(re.data[0],st(re.data[1])))},1,x)}function ao(b,z){return bt(b,{i:2},z&&z.out,z&&z.dictionary)}var no=null,Xr=null;function rn(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[qe,gt,function(){return[di]}],function(re){return ft(di(re.data[0],re.data[1]))},2,x)}function di(b,z){z||(z={});var x=yt(),re=b.length;x.p(b);var oe=Wn(b,z,Jn(z),8),Ae=oe.length;return Xt(oe,z),ut(oe,Ae-8,x.d()),ut(oe,Ae-4,re),oe}var ha=null,Qi=null;function Gi(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[Se,_e,function(){return[La]}],function(re){return ft(La(re.data[0],re.data[1]))},3,x)}function La(b,z){var x=pn(b);return x+8>b.length&&ot(6,"invalid gzip data"),bt(b.subarray(x,-8),{i:2},z&&z.out||new tt(bn(b)),z&&z.dictionary)}var Wi=null,Zi=null;function ei(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[qe,Ye,function(){return[hn]}],function(re){return ft(hn(re.data[0],re.data[1]))},4,x)}function hn(b,z){z||(z={});var x=Hn();x.p(b);var re=Wn(b,z,z.dictionary?6:2,4);return Ar(re,z),ut(re,re.length-4,x.d()),re}var kn=null,mn=null;function Hr(b,z,x){return x||(x=z,z={}),typeof x!="function"&&ot(7),jt(b,z,[Se,Pt,function(){return[Aa]}],function(re){return ft(Aa(re.data[0],st(re.data[1])))},5,x)}function Aa(b,z){return bt(b.subarray(Fr(b,z&&z.dictionary),-4),{i:2},z&&z.out,z&&z.dictionary)}var jr=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?Gi(b,z,x):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?lr(b,z,x):Hr(b,z,x)}function _a(b,z){return b[0]==31&&b[1]==139&&b[2]==8?La(b,z):(b[0]&15)!=8||b[0]>>4>7||(b[0]<<8|b[1])%31?ao(b,z):Aa(b,z)}var ko=function(b,z,x,re){for(var oe in b){var Ae=b[oe],Ie=z+oe,be=re;Array.isArray(Ae)&&(be=Xe(re,Ae[1]),Ae=Ae[0]),Ae instanceof tt?x[Ie]=[Ae,be]:(x[Ie+="/"]=[new tt(0),be],ko(Ae,Ie,x,re))}},vi=typeof TextEncoder!="undefined"&&new TextEncoder,Nr=typeof TextDecoder!="undefined"&&new TextDecoder,Ya=0;try{Nr.decode(Tn,{stream:!0}),Ya=1}catch(b){}var Ei=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:Qe(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)}},oi=null,Io=null;function Po(b,z){if(z){for(var x=new tt(b.length),re=0;re>1)),Ie=0,be=function(Ve){Ae[Ie++]=Ve},re=0;reAe.length){var Oe=new tt(Ie+8+(oe-re<<1));Oe.set(Ae),Ae=Oe}var Re=b.charCodeAt(re);Re<128||z?be(Re):Re<2048?(be(192|Re>>6),be(128|Re&63)):Re>55295&&Re<57344?(Re=65536+(Re&1047552)|b.charCodeAt(++re)&1023,be(240|Re>>18),be(128|Re>>12&63),be(128|Re>>6&63),be(128|Re&63)):(be(224|Re>>12),be(128|Re>>6&63),be(128|Re&63))}return Qe(Ae,0,Ie)}function Vi(b,z){if(z){for(var x="",re=0;re65535&&ot(9),z+=re+4}return z},EA=function(b,z,x,re,oe,Ae,Ie,be){var Oe=re.length,Re=x.extra,Ve=be&&be.length,ct=Hi(Re);ut(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 St=new Date(x.mtime==null?Date.now():x.mtime),Ze=St.getFullYear()-1980;if((Ze<0||Ze>119)&&ot(10),ut(b,z,Ze<<25|St.getMonth()+1<<21|St.getDate()<<16|St.getHours()<<11|St.getMinutes()<<5|St.getSeconds()>>1),z+=4,Ae!=-1&&(ut(b,z,x.crc),ut(b,z+4,Ae<0?-Ae-2:Ae),ut(b,z+8,x.size)),ut(b,z+12,Oe),ut(b,z+14,ct),z+=16,Ie!=null&&(ut(b,z,Ve),ut(b,z+6,x.attrs),ut(b,z+10,Ie),z+=14),b.set(re,z),z+=Oe,ct)for(var Gt in Re){var Mt=Re[Gt],Vt=Mt.length;ut(b,z,+Gt),ut(b,z+2,Vt),b.set(Mt,z+4),z+=4+Vt}return Ve&&(b.set(be,z),z+=Ve),z},Bl=function(b,z,x,re,oe){ut(b,z,101010256),ut(b,z+8,x),ut(b,z+10,x),ut(b,z+12,re),ut(b,z+16,oe)},Ms=null,Or=null,qu=null,lu=null;function Nl(b,z,x){x||(x=z,z={}),typeof x!="function"&&ot(7);var re={};ko(b,"",re,z);var oe=Object.keys(re),Ae=oe.length,Ie=0,be=0,Oe=Ae,Re=new Array(Ae),Ve=[],ct=function(){for(var Vt=0;Vt65535&&yn(ot(11,0,1),null),!xn)yn(null,Bn);else if(Ir<16e4)try{yn(null,Rr(Bn,sn))}catch(sr){yn(sr,null)}else Ve.push(dr(Bn,sn,yn))},Mt=0;Mt65535&&ot(11);var Ut=Ve?Rr(Oe,Re):Oe,Ln=Ut.length,Bn=yt();Bn.p(Oe),re.push(Xe(Re,{size:Oe.length,crc:Bn.d(),c:Ut,f:ct,m:Gt,u:St!=Ie.length||Gt&&Ze.length!=Mt,o:oe,compression:Ve})),oe+=30+St+Vt+Ln,Ae+=76+2*(St+Vt)+(Mt||0)+Ln}for(var sn=new tt(Ae+22),or=oe,Ir=Ae-oe,fr=0;fr65558)return Ie(ot(13,0,1),null),oe;var Oe=on(b,be+8);if(Oe){var Re=Oe,Ve=Qt(b,be+16),ct=Ve==4294967295||Re==65535;if(ct){var St=Qt(b,be-12);ct=Qt(b,St)==101075792,ct&&(Re=Oe=Qt(b,St+32),Ve=Qt(b,St+48))}for(var Ze=z&&z.filter,Gt=function(Vt){var Ut=vA(b,Ve,ct),Ln=Ut[0],Bn=Ut[1],sn=Ut[2],or=Ut[3],Ir=Ut[4],fr=Ut[5],Rn=iA(b,fr);Ve=Ir;var An=function(It,Jt){It?(oe(),Ie(It,null)):(Jt&&(Ae[or]=Jt),--Oe||Ie(null,Ae))};if(!Ze||Ze({name:or,size:Bn,originalSize:sn,compression:Ln}))if(!Ln)An(null,Qe(b,Rn,Rn+Bn));else if(Ln==8){var Xn=b.subarray(Rn,Rn+Bn);if(sn<524288||Bn>.8*sn)try{An(null,ao(Xn,{out:new tt(sn)}))}catch(It){An(It,null)}else re.push(lr(Xn,{size:sn},An))}else An(ot(14,"unknown compression type "+Ln,1),null);else An(null,null)},Mt=0;Mt65558)&&ot(13);var oe=on(b,re+8);if(!oe)return{};var Ae=Qt(b,re+16),Ie=Ae==4294967295||oe==65535;if(Ie){var be=Qt(b,re-12);Ie=Qt(b,be)==101075792,Ie&&(oe=Qt(b,be+32),Ae=Qt(b,be+48))}for(var Oe=z&&z.filter,Re=0;Re{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=zc,x={}){ms(this,"buffer");ms(this,"byteLength");ms(this,"byteOffset");ms(this,"length");ms(this,"offset");ms(this,"lastWrittenByte");ms(this,"littleEndian");ms(this,"_data");ms(this,"_mark");ms(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===$u&&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 Ru=4,Gl=0,Wl=1,Ul=2;function Al(b){let z=b.length;for(;--z>=0;)b[z]=0}const Cu=0,fA=1,Bc=2,Ol=3,dn=258,Eu=29,BA=256,uu=BA+1+Eu,Vs=30,cu=19,Pu=2*uu+1,Ql=15,Ys=16,Xs=7,wc=256,ps=16,ec=17,ju=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]),ua=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]),kt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),In=512,yr=new Array((uu+2)*2);Al(yr);const Gr=new Array(Vs*2);Al(Gr);const fa=new Array(In);Al(fa);const Ma=new Array(dn-Ol+1);Al(Ma);const Pr=new Array(Eu);Al(Pr);const Mr=new Array(Vs);Al(Mr);function Ua(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 _i,To,xo;function Ko(b,z){this.dyn_tree=b,this.max_code=0,this.stat_desc=z}const zo=b=>b<256?fa[b]:fa[256+(b>>>7)],Nn=(b,z)=>{b.pending_buf[b.pending++]=z&255,b.pending_buf[b.pending++]=z>>>8&255},cn=(b,z,x)=>{b.bi_valid>Ys-x?(b.bi_buf|=z<>Ys-b.bi_valid,b.bi_valid+=x-Ys):(b.bi_buf|=z<{cn(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},Wr=b=>{b.bi_valid===16?(Nn(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)},ta=(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 Re,Ve,ct,St,Ze,Gt,Mt=0;for(St=0;St<=Ql;St++)b.bl_count[St]=0;for(x[b.heap[b.heap_max]*2+1]=0,Re=b.heap_max+1;ReOe&&(St=Oe,Mt++),x[Ve*2+1]=St,!(Ve>re)&&(b.bl_count[St]++,Ze=0,Ve>=be&&(Ze=Ie[Ve-be]),Gt=x[Ve*2],b.opt_len+=Gt*(St+Ze),Ae&&(b.static_len+=Gt*(oe[Ve*2+1]+Ze)));if(Mt!==0){do{for(St=Oe-1;b.bl_count[St]===0;)St--;b.bl_count[St]--,b.bl_count[St+1]+=2,b.bl_count[Oe]--,Mt-=2}while(Mt>0);for(St=Oe;St!==0;St--)for(Ve=b.bl_count[St];Ve!==0;)ct=b.heap[--Re],!(ct>re)&&(x[ct*2+1]!==St&&(b.opt_len+=(St-x[ct*2+1])*x[ct*2],x[ct*2+1]=St),Ve--)}},$n=(b,z,x)=>{const re=new Array(Ql+1);let oe=0,Ae,Ie;for(Ae=1;Ae<=Ql;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))}},Zr=()=>{let b,z,x,re,oe;const Ae=new Array(Ql+1);for(x=0,re=0;re>=7;re{let z;for(z=0;z{b.bi_valid>8?Nn(b,b.bi_buf):b.bi_valid>0&&(b.pending_buf[b.pending++]=b.bi_buf),b.bi_buf=0,b.bi_valid=0},po=(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?gn(b,oe,z):(Ie=Ma[oe],gn(b,Ie+BA+1,z),be=Da[Ie],be!==0&&(oe-=Pr[Ie],cn(b,oe,be)),re--,Ie=zo(re),gn(b,Ie,x),be=ua[Ie],be!==0&&(re-=Mr[Ie],cn(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,Re;for(b.heap_len=0,b.heap_max=Pu,Ie=0;Ie>1;Ie>=1;Ie--)vr(b,x,Ie);Re=Ae;do Ie=b.heap[1],b.heap[1]=b.heap[b.heap_len--],vr(b,x,1),be=b.heap[1],b.heap[--b.heap_max]=Ie,b.heap[--b.heap_max]=be,x[Re*2]=x[Ie*2]+x[be*2],b.depth[Re]=(b.depth[Ie]>=b.depth[be]?b.depth[Ie]:b.depth[be])+1,x[Ie*2+1]=x[be*2+1]=Re,b.heap[1]=Re++,vr(b,x,1);while(b.heap_len>=2);b.heap[--b.heap_max]=b.heap[1],ta(b,z),$n(x,Oe,b.bl_count)},gi=(b,z,x)=>{let re,oe=-1,Ae,Ie=z[0*2+1],be=0,Oe=7,Re=4;for(Ie===0&&(Oe=138,Re=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,Re=4;for(Ie===0&&(Oe=138,Re=3),re=0;re<=x;re++)if(Ae=Ie,Ie=z[(re+1)*2+1],!(++be{let z;for(gi(b,b.dyn_ltree,b.l_desc.max_code),gi(b,b.dyn_dtree,b.d_desc.max_code),Co(b,b.bl_desc),z=cu-1;z>=3&&b.bl_tree[kt[z]*2+1]===0;z--);return b.opt_len+=3*(z+1)+5+5+4,z},Ro=(b,z,x,re)=>{let oe;for(cn(b,z-257,5),cn(b,x-1,5),cn(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 Gl;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{oo||(Zr(),oo=!0),b.l_desc=new Ko(b.dyn_ltree,_i),b.d_desc=new Ko(b.dyn_dtree,To),b.bl_desc=new Ko(b.bl_tree,xo),b.bi_buf=0,b.bi_valid=0,wa(b)},ys=(b,z,x,re)=>{cn(b,(Cu<<1)+(re?1:0),3),ya(b),Nn(b,x),Nn(b,~x),x&&b.pending_buf.set(b.window.subarray(z,z+x),b.pending),b.pending+=x},Xi=b=>{cn(b,fA<<1,3),gn(b,wc,yr),Wr(b)},Ji=(b,z,x,re)=>{let oe,Ae,Ie=0;b.level>0?(b.strm.data_type===Ul&&(b.strm.data_type=kr(b)),Co(b,b.l_desc),Co(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?ys(b,z,x,re):b.strategy===Ru||Ae===oe?(cn(b,(fA<<1)+(re?1:0),3),co(b,yr,Gr)):(cn(b,(Bc<<1)+(re?1:0),3),Ro(b,b.l_desc.max_code+1,b.d_desc.max_code+1,Ie+1),co(b,b.dyn_ltree,b.dyn_dtree)),wa(b),re&&ya(b)},Zl=(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[(Ma[x]+BA+1)*2]++,b.dyn_dtree[zo(z)*2]++),b.sym_next===b.sym_end);var wA=ii,us=ys,yl=Ji,va=Zl,ti=Xi,Fi={_tr_init:wA,_tr_stored_block:us,_tr_flush_block:yl,_tr_tally:va,_tr_align:ti},vo=(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 hA=()=>{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},KA=new Uint32Array(hA());var ki=(b,z,x,re)=>{const oe=KA,Ae=re+x;b^=-1;for(let Ie=re;Ie>>8^oe[(b^z[Ie])&255];return b^-1},Js={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"},Vl={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:Sl,_tr_stored_block:ks,_tr_flush_block:bl,_tr_tally:mA,_tr_align:ds}=Fi,{Z_NO_FLUSH:vs,Z_PARTIAL_FLUSH:xu,Z_FULL_FLUSH:Gc,Z_FINISH:xA,Z_BLOCK:Yl,Z_OK:Ls,Z_STREAM_END:du,Z_STREAM_ERROR:Ss,Z_DATA_ERROR:tc,Z_BUF_ERROR:Xl,Z_DEFAULT_COMPRESSION:gu,Z_FILTERED:yc,Z_HUFFMAN_ONLY:Fu,Z_RLE:Wc,Z_FIXED:zA,Z_DEFAULT_STRATEGY:Sc,Z_UNKNOWN:nc,Z_DEFLATED:_r}=Vl,Ao=9,Sr=15,lo=8,AA=256+1+29,yA=30,Jl=19,Lu=2*AA+1,ql=15,Ka=3,lA=258,Go=lA+Ka+1,OA=32,gs=42,QA=57,Rs=69,$l=73,Cl=91,qs=103,zs=113,SA=666,zi=1,Iu=2,eu=3,ll=4,yg=3,Nu=(b,z)=>(b.msg=Js[z],z),wf=b=>b*2-(b>4?9:0),bc=b=>{let z=b.length;for(;--z>=0;)b[z]=0},Hd=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 rc=(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)=>{bl(b,b.block_start>=0?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,tu(b.strm)},qi=(b,z)=>{b.pending_buf[b.pending++]=z},Zc=(b,z)=>{b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=z&255},yf=(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=vo(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)},Sf=(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-Go?b.strstart-(b.w_size-Go):0,Re=b.window,Ve=b.w_mask,ct=b.prev,St=b.strstart+lA;let Ze=Re[re+Ie-1],Gt=Re[re+Ie];b.prev_length>=b.good_match&&(x>>=2),be>b.lookahead&&(be=b.lookahead);do if(oe=z,!(Re[oe+Ie]!==Gt||Re[oe+Ie-1]!==Ze||Re[oe]!==Re[re]||Re[++oe]!==Re[re+1])){re+=2,oe++;do;while(Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&Re[++re]===Re[++oe]&&reIe){if(b.match_start=z,Ie=Ae,Ae>=be)break;Ze=Re[re+Ie-1],Gt=Re[re+Ie]}}while((z=ct[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-Go)&&(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),Hd(b),re+=z),b.strm.avail_in===0)break;if(x=yf(b.strm,b.window,b.strstart+b.lookahead,re),b.lookahead+=x,b.lookahead+b.insert>=Ka)for(oe=b.strstart-b.insert,b.ins_h=b.window[oe],b.ins_h=rc(b,b.ins_h,b.window[oe+1]);b.insert&&(b.ins_h=rc(b,b.ins_h,b.window[oe+Ka-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,tu(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&&(yf(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&&(yf(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===xA)&&z!==vs&&b.strm.avail_in===0&&oe<=Ae)&&(re=oe>Ae?Ae:oe,Ie=z===xA&&b.strm.avail_in===0&&re===oe?1:0,ks(b,b.block_start,re,Ie),b.block_start+=re,tu(b.strm)),Ie?eu:zi)},Sg=(b,z)=>{let x,re;for(;;){if(b.lookahead=Ka&&(b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Ka-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-Go&&(b.match_length=Sf(b,x)),b.match_length>=Ka)if(re=mA(b,b.strstart-b.match_start,b.match_length-Ka),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=Ka){b.match_length--;do b.strstart++,b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Ka-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=rc(b,b.ins_h,b.window[b.strstart+1]);else re=mA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(re&&(kl(b,!1),b.strm.avail_out===0))return zi}return b.insert=b.strstart{let x,re,oe;for(;;){if(b.lookahead=Ka&&(b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Ka-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=Ka-1,x!==0&&b.prev_length4096)&&(b.match_length=Ka-1)),b.prev_length>=Ka&&b.match_length<=b.prev_length){oe=b.strstart+b.lookahead-Ka,re=mA(b,b.strstart-1-b.prev_match,b.prev_length-Ka),b.lookahead-=b.prev_length-1,b.prev_length-=2;do++b.strstart<=oe&&(b.ins_h=rc(b,b.ins_h,b.window[b.strstart+Ka-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=Ka-1,b.strstart++,re&&(kl(b,!1),b.strm.avail_out===0))return zi}else if(b.match_available){if(re=mA(b,0,b.window[b.strstart-1]),re&&kl(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return zi}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(re=mA(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<=lA){if(Vc(b),b.lookahead<=lA&&z===vs)return zi;if(b.lookahead===0)break}if(b.match_length=0,b.lookahead>=Ka&&b.strstart>0&&(oe=b.strstart-1,re=Ie[oe],re===Ie[++oe]&&re===Ie[++oe]&&re===Ie[++oe])){Ae=b.strstart+lA;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>=Ka?(x=mA(b,1,b.match_length-Ka),b.lookahead-=b.match_length,b.strstart+=b.match_length,b.match_length=0):(x=mA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++),x&&(kl(b,!1),b.strm.avail_out===0))return zi}return b.insert=0,z===xA?(kl(b,!0),b.strm.avail_out===0?eu:ll):b.sym_next&&(kl(b,!1),b.strm.avail_out===0)?zi:Iu},r0=(b,z)=>{let x;for(;;){if(b.lookahead===0&&(Vc(b),b.lookahead===0)){if(z===vs)return zi;break}if(b.match_length=0,x=mA(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++,x&&(kl(b,!1),b.strm.avail_out===0))return zi}return b.insert=0,z===xA?(kl(b,!0),b.strm.avail_out===0?eu:ll):b.sym_next&&(kl(b,!1),b.strm.avail_out===0)?zi:Iu};function kA(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 hd=[new kA(0,0,0,0,fd),new kA(4,4,8,4,Sg),new kA(4,5,16,8,Sg),new kA(4,6,32,32,Sg),new kA(4,4,16,16,Yc),new kA(8,16,32,32,Yc),new kA(8,16,128,128,Yc),new kA(8,32,128,256,Yc),new kA(32,128,258,1024,Yc),new kA(32,258,258,4096,Yc)],a0=b=>{b.window_size=2*b.w_size,bc(b.head),b.max_lazy_match=hd[b.level].max_lazy,b.good_match=hd[b.level].good_length,b.nice_match=hd[b.level].nice_length,b.max_chain_length=hd[b.level].max_chain,b.strstart=0,b.block_start=0,b.lookahead=0,b.insert=0,b.match_length=b.prev_length=Ka-1,b.match_available=0,b.ins_h=0};function Je(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_r,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(Lu*2),this.dyn_dtree=new Uint16Array((2*yA+1)*2),this.bl_tree=new Uint16Array((2*Jl+1)*2),bc(this.dyn_ltree),bc(this.dyn_dtree),bc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(ql+1),this.heap=new Uint16Array(2*AA+1),bc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*AA+1),bc(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!==gs&&z.status!==QA&&z.status!==Rs&&z.status!==$l&&z.status!==Cl&&z.status!==qs&&z.status!==zs&&z.status!==SA?1:0},Et=b=>{if(et(b))return Nu(b,Ss);b.total_in=b.total_out=0,b.data_type=nc;const z=b.state;return z.pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap===2?QA:z.wrap?gs:zs,b.adler=z.wrap===2?0:1,z.last_flush=-2,Sl(z),Ls},Tt=b=>{const z=Et(b);return z===Ls&&a0(b.state),z},qt=(b,z)=>et(b)||b.state.wrap!==2?Ss:(b.state.gzhead=z,Ls),$t=(b,z,x,re,oe,Ae)=>{if(!b)return Ss;let Ie=1;if(z===gu&&(z=6),re<0?(Ie=0,re=-re):re>15&&(Ie=2,re-=16),oe<1||oe>Ao||x!==_r||re<8||re>15||z<0||z>9||Ae<0||Ae>zA||re===8&&Ie!==1)return Nu(b,Ss);re===8&&(re=9);const be=new Je;return b.state=be,be.strm=b,be.status=gs,be.wrap=Ie,be.gzhead=null,be.w_bits=re,be.w_size=1<$t(b,z,_r,Sr,lo,Sc),Fn=(b,z)=>{if(et(b)||z>Yl||z<0)return b?Nu(b,Ss):Ss;const x=b.state;if(!b.output||b.avail_in!==0&&!b.input||x.status===SA&&z!==xA)return Nu(b,b.avail_out===0?Xl:Ss);const re=x.last_flush;if(x.last_flush=z,x.pending!==0){if(tu(b),b.avail_out===0)return x.last_flush=-1,Ls}else if(b.avail_in===0&&wf(z)<=wf(re)&&z!==xA)return Nu(b,Xl);if(x.status===SA&&b.avail_in!==0)return Nu(b,Xl);if(x.status===gs&&x.wrap===0&&(x.status=zs),x.status===gs){let oe=_r+(x.w_bits-8<<4)<<8,Ae=-1;if(x.strategy>=Fu||x.level<2?Ae=0:x.level<6?Ae=1:x.level===6?Ae=2:Ae=3,oe|=Ae<<6,x.strstart!==0&&(oe|=OA),oe+=31-oe%31,Zc(x,oe),x.strstart!==0&&(Zc(x,b.adler>>>16),Zc(x,b.adler&65535)),b.adler=1,x.status=zs,tu(b),x.pending!==0)return x.last_flush=-1,Ls}if(x.status===QA){if(b.adler=0,qi(x,31),qi(x,139),qi(x,8),x.gzhead)qi(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)),qi(x,x.gzhead.time&255),qi(x,x.gzhead.time>>8&255),qi(x,x.gzhead.time>>16&255),qi(x,x.gzhead.time>>24&255),qi(x,x.level===9?2:x.strategy>=Fu||x.level<2?4:0),qi(x,x.gzhead.os&255),x.gzhead.extra&&x.gzhead.extra.length&&(qi(x,x.gzhead.extra.length&255),qi(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=Rs;else if(qi(x,0),qi(x,0),qi(x,0),qi(x,0),qi(x,0),qi(x,x.level===9?2:x.strategy>=Fu||x.level<2?4:0),qi(x,yg),x.status=zs,tu(b),x.pending!==0)return x.last_flush=-1,Ls}if(x.status===Rs){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,tu(b),x.pending!==0)return x.last_flush=-1,Ls;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=$l}if(x.status===$l){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)),tu(b),x.pending!==0)return x.last_flush=-1,Ls;oe=0}x.gzindexoe&&(b.adler=ki(b.adler,x.pending_buf,x.pending-oe,oe)),x.gzindex=0}x.status=Cl}if(x.status===Cl){if(x.gzhead.comment){let oe=x.pending,Ae;do{if(x.pending===x.pending_buf_size){if(x.gzhead.hcrc&&x.pending>oe&&(b.adler=ki(b.adler,x.pending_buf,x.pending-oe,oe)),tu(b),x.pending!==0)return x.last_flush=-1,Ls;oe=0}x.gzindexoe&&(b.adler=ki(b.adler,x.pending_buf,x.pending-oe,oe))}x.status=qs}if(x.status===qs){if(x.gzhead.hcrc){if(x.pending+2>x.pending_buf_size&&(tu(b),x.pending!==0))return x.last_flush=-1,Ls;qi(x,b.adler&255),qi(x,b.adler>>8&255),b.adler=0}if(x.status=zs,tu(b),x.pending!==0)return x.last_flush=-1,Ls}if(b.avail_in!==0||x.lookahead!==0||z!==vs&&x.status!==SA){let oe=x.level===0?fd(x,z):x.strategy===Fu?r0(x,z):x.strategy===Wc?n0(x,z):hd[x.level].func(x,z);if((oe===eu||oe===ll)&&(x.status=SA),oe===zi||oe===eu)return b.avail_out===0&&(x.last_flush=-1),Ls;if(oe===Iu&&(z===xu?ds(x):z!==Yl&&(ks(x,0,0,!1),z===Gc&&(bc(x.head),x.lookahead===0&&(x.strstart=0,x.block_start=0,x.insert=0))),tu(b),b.avail_out===0))return x.last_flush=-1,Ls}return z!==xA?Ls:x.wrap<=0?du:(x.wrap===2?(qi(x,b.adler&255),qi(x,b.adler>>8&255),qi(x,b.adler>>16&255),qi(x,b.adler>>24&255),qi(x,b.total_in&255),qi(x,b.total_in>>8&255),qi(x,b.total_in>>16&255),qi(x,b.total_in>>24&255)):(Zc(x,b.adler>>>16),Zc(x,b.adler&65535)),tu(b),x.wrap>0&&(x.wrap=-x.wrap),x.pending!==0?Ls:du)},wn=b=>{if(et(b))return Ss;const z=b.state.status;return b.state=null,z===zs?Nu(b,tc):Ls},Kn=(b,z)=>{let x=z.length;if(et(b))return Ss;const re=b.state,oe=re.wrap;if(oe===2||oe===1&&re.status!==gs||re.lookahead)return Ss;if(oe===1&&(b.adler=vo(b.adler,z,x,0)),re.wrap=0,x>=re.w_size){oe===0&&(bc(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>=Ka;){let Oe=re.strstart,Re=re.lookahead-(Ka-1);do re.ins_h=rc(re,re.ins_h,re.window[Oe+Ka-1]),re.prev[Oe&re.w_mask]=re.head[re.ins_h],re.head[re.ins_h]=Oe,Oe++;while(--Re);re.strstart=Oe,re.lookahead=Ka-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=Ka-1,re.match_available=0,b.next_in=Ie,b.input=be,b.avail_in=Ae,re.wrap=oe,Ls};var er=Pn,Zn=$t,Cr=Tt,hr=Et,Br=qt,na=Fn,zr=wn,ea=Kn,Vr="pako deflate (from Nodeca project)",la={deflateInit:er,deflateInit2:Zn,deflateReset:Cr,deflateResetKeep:hr,deflateSetHeader:Br,deflate:na,deflateEnd:zr,deflateSetDictionary:ea,deflateInfo:Vr};const za=(b,z)=>Object.prototype.hasOwnProperty.call(b,z);var Xa=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)za(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;da[254]=da[254]=1;var Ea=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 ma=(b,z)=>{if(z<65534&&b.subarray&&Eo)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 ma(Ae,oe)},ba=(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+da[b[x]]>z?x:z},$a={string2buf:Ea,buf2string:sa,utf8border:ba};function Wo(){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 yo=Wo;const Ja=Object.prototype.toString,{Z_NO_FLUSH:Oo,Z_SYNC_FLUSH:qo,Z_FULL_FLUSH:$i,Z_FINISH:mi,Z_OK:fs,Z_STREAM_END:Is,Z_DEFAULT_COMPRESSION:Fo,Z_DEFAULT_STRATEGY:$s,Z_DEFLATED:Li}=Vl;function es(b){this.options=io.assign({level:Fo,method:Li,chunkSize:16384,windowBits:15,memLevel:8,strategy:$s},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 yo,this.strm.avail_out=0;let x=la.deflateInit2(this.strm,z.level,z.method,z.windowBits,z.memLevel,z.strategy);if(x!==fs)throw new Error(Js[x]);if(z.header&&la.deflateSetHeader(this.strm,z.header),z.dictionary){let re;if(typeof z.dictionary=="string"?re=$a.string2buf(z.dictionary):Ja.call(z.dictionary)==="[object ArrayBuffer]"?re=new Uint8Array(z.dictionary):re=z.dictionary,x=la.deflateSetDictionary(this.strm,re),x!==fs)throw new Error(Js[x]);this._dict_set=!0}}es.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?mi:Oo,typeof b=="string"?x.input=$a.string2buf(b):Ja.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===qo||Ae===$i)&&x.avail_out<=6){this.onData(x.output.subarray(0,x.next_out)),x.avail_out=0;continue}if(oe=la.deflate(x,Ae),oe===Is)return x.next_out>0&&this.onData(x.output.subarray(0,x.next_out)),oe=la.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===fs;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},es.prototype.onData=function(b){this.chunks.push(b)},es.prototype.onEnd=function(b){b===fs&&(this.result=io.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function rs(b,z){const x=new es(z);if(x.push(b,!0),x.err)throw x.msg||Js[x.err];return x.result}function ul(b,z){return z=z||{},z.raw=!0,rs(b,z)}function Ba(b,z){return z=z||{},z.gzip=!0,rs(b,z)}var ro=es,eo=rs,Ra=ul,Ii=Ba,ja=Vl,Bo={Deflate:ro,deflate:eo,deflateRaw:Ra,gzip:Ii,constants:ja};const ri=16209,si=16191;var GA=function(z,x){let re,oe,Ae,Ie,be,Oe,Re,Ve,ct,St,Ze,Gt,Mt,Vt,Ut,Ln,Bn,sn,or,Ir,fr,Rn,An,Xn;const It=z.state;re=z.next_in,An=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=It.dmax,Re=It.wsize,Ve=It.whave,ct=It.wnext,St=It.window,Ze=It.hold,Gt=It.bits,Mt=It.lencode,Vt=It.distcode,Ut=(1<>>24,Ze>>>=sn,Gt-=sn,sn=Bn>>>16&255,sn===0)Xn[Ae++]=Bn&65535;else if(sn&16){or=Bn&65535,sn&=15,sn&&(Gt>>=sn,Gt-=sn),Gt<15&&(Ze+=An[re++]<>>24,Ze>>>=sn,Gt-=sn,sn=Bn>>>16&255,sn&16){if(Ir=Bn&65535,sn&=15,GtOe){z.msg="invalid distance too far back",It.mode=ri;break e}if(Ze>>>=sn,Gt-=sn,sn=Ae-Ie,Ir>sn){if(sn=Ir-sn,sn>Ve&&It.sane){z.msg="invalid distance too far back",It.mode=ri;break e}if(fr=0,Rn=St,ct===0){if(fr+=Re-sn,sn2;)Xn[Ae++]=Rn[fr++],Xn[Ae++]=Rn[fr++],Xn[Ae++]=Rn[fr++],or-=3;or&&(Xn[Ae++]=Rn[fr++],or>1&&(Xn[Ae++]=Rn[fr++]))}else{fr=Ae-Ir;do Xn[Ae++]=Xn[fr++],Xn[Ae++]=Xn[fr++],Xn[Ae++]=Xn[fr++],or-=3;while(or>2);or&&(Xn[Ae++]=Xn[fr++],or>1&&(Xn[Ae++]=Xn[fr++]))}}else if(sn&64){z.msg="invalid distance code",It.mode=ri;break e}else{Bn=Vt[(Bn&65535)+(Ze&(1<>3,re-=or,Gt-=or<<3,Ze&=(1<{const Oe=be.bits;let Re=0,Ve=0,ct=0,St=0,Ze=0,Gt=0,Mt=0,Vt=0,Ut=0,Ln=0,Bn,sn,or,Ir,fr,Rn=null,An;const Xn=new Uint16Array(Gs+1),It=new Uint16Array(Gs+1);let Jt=null,xn,yn,sr;for(Re=0;Re<=Gs;Re++)Xn[Re]=0;for(Ve=0;Ve=1&&Xn[St]===0;St--);if(Ze>St&&(Ze=St),St===0)return oe[Ae++]=1<<24|64<<16|0,oe[Ae++]=1<<24|64<<16|0,be.bits=1,0;for(ct=1;ct0&&(b===El||St!==1))return-1;for(It[1]=0,Re=1;Renu||b===tl&&Ut>Ws)return 1;for(;;){xn=Re-Mt,Ie[Ve]+1=An?(yn=Jt[Ie[Ve]-An],sr=Rn[Ie[Ve]-An]):(yn=96,sr=0),Bn=1<>Mt)+sn]=xn<<24|yn<<16|sr|0;while(sn!==0);for(Bn=1<>=1;if(Bn!==0?(Ln&=Bn-1,Ln+=Bn):Ln=0,Ve++,--Xn[Re]===0){if(Re===St)break;Re=z[x+Ie[Ve]]}if(Re>Ze&&(Ln&Ir)!==or){for(Mt===0&&(Mt=Ze),fr+=ct,Gt=Re-Mt,Vt=1<nu||b===tl&&Ut>Ws)return 1;or=Ln&Ir,oe[or]=Ze<<24|Gt<<16|fr-Ae|0}}return Ln!==0&&(oe[fr+Ln]=Re-Mt<<24|64<<16|0),be.bits=Ze,0};const Zo=0,WA=1,TA=2,{Z_FINISH:cl,Z_BLOCK:nl,Z_TREES:rl,Z_OK:Tl,Z_STREAM_END:Hu,Z_NEED_DICT:Rl,Z_STREAM_ERROR:Ns,Z_DATA_ERROR:FA,Z_MEM_ERROR:eA,Z_BUF_ERROR:Cs,Z_DEFLATED:fu}=Vl,Du=16180,_u=16181,hu=16182,md=16183,_d=16184,Ai=16185,as=16186,LA=16187,Bs=16188,IA=16189,RA=16190,Ds=16191,mu=16192,pd=16193,vd=16194,Md=16195,bg=16196,Cg=16197,Xc=16198,pu=16199,Ec=16200,Eg=16201,Kd=16202,Pg=16203,zd=16204,Pc=16205,Gd=16206,bf=16207,xg=16208,Mi=16209,Wd=16210,Cf=16211,o0=852,Ef=592,Lg=15,Zd=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 ac=b=>{if(!b)return 1;const z=b.state;return!z||z.strm!==b||z.modeCf?1:0},Ig=b=>{if(ac(b))return Ns;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=Du,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(Ef),z.sane=1,z.back=-1,Tl},Vd=b=>{if(ac(b))return Ns;const z=b.state;return z.wsize=0,z.whave=0,z.wnext=0,Ig(b)},xf=(b,z)=>{let x;if(ac(b))return Ns;const re=b.state;return z<0?(x=0,z=-z):(x=(z>>4)+5,z<48&&(z&=15)),z&&(z<8||z>15)?Ns:(re.window!==null&&re.wbits!==z&&(re.window=null),re.wrap=x,re.wbits=z,Vd(b))},Bd=(b,z)=>{if(!b)return Ns;const x=new Pf;b.state=x,x.strm=b,x.window=null,x.mode=Du;const re=xf(b,z);return re!==Tl&&(b.state=null),re},Yd=b=>Bd(b,Lg);let NA=!0,Mu,Xd;const i0=b=>{if(NA){Mu=new Int32Array(512),Xd=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,Mu,0,b.work,{bits:9}),z=0;z<32;)b.lens[z++]=5;ss(TA,b.lens,0,32,Xd,0,b.work,{bits:5}),NA=!1}b.lencode=Mu,b.lenbits=9,b.distcode=Xd,b.distbits=5},Ti=(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,Re,Ve,ct,St,Ze,Gt,Mt,Vt=0,Ut,Ln,Bn,sn,or,Ir,fr,Rn;const An=new Uint8Array(4);let Xn,It;const Jt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ac(b)||!b.output||!b.input&&b.avail_in!==0)return Ns;x=b.state,x.mode===Ds&&(x.mode=mu),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Re=x.hold,Ve=x.bits,ct=be,St=Oe,Rn=Tl;e:for(;;)switch(x.mode){case Du:if(x.wrap===0){x.mode=mu;break}for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,x.check=ki(x.check,An,2,0),Re=0,Ve=0,x.mode=_u;break}if(x.head&&(x.head.done=!1),!(x.wrap&1)||(((Re&255)<<8)+(Re>>8))%31){b.msg="incorrect header check",x.mode=Mi;break}if((Re&15)!==fu){b.msg="unknown compression method",x.mode=Mi;break}if(Re>>>=4,Ve-=4,fr=(Re&15)+8,x.wbits===0&&(x.wbits=fr),fr>15||fr>x.wbits){b.msg="invalid window size",x.mode=Mi;break}x.dmax=1<>8&1),x.flags&512&&x.wrap&4&&(An[0]=Re&255,An[1]=Re>>>8&255,x.check=ki(x.check,An,2,0)),Re=0,Ve=0,x.mode=hu;case hu:for(;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,An[2]=Re>>>16&255,An[3]=Re>>>24&255,x.check=ki(x.check,An,4,0)),Re=0,Ve=0,x.mode=md;case md:for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>8),x.flags&512&&x.wrap&4&&(An[0]=Re&255,An[1]=Re>>>8&255,x.check=ki(x.check,An,2,0)),Re=0,Ve=0,x.mode=_d;case _d:if(x.flags&1024){for(;Ve<16;){if(be===0)break e;be--,Re+=re[Ae++]<>>8&255,x.check=ki(x.check,An,2,0)),Re=0,Ve=0}else x.head&&(x.head.extra=null);x.mode=Ai;case Ai:if(x.flags&1024&&(Ze=x.length,Ze>be&&(Ze=be),Ze&&(x.head&&(fr=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+Ze),fr)),x.flags&512&&x.wrap&4&&(x.check=ki(x.check,re,Ze,Ae)),be-=Ze,Ae+=Ze,x.length-=Ze),x.length))break e;x.length=0,x.mode=as;case as:if(x.flags&2048){if(be===0)break e;Ze=0;do fr=re[Ae+Ze++],x.head&&fr&&x.length<65536&&(x.head.name+=String.fromCharCode(fr));while(fr&&Ze>9&1,x.head.done=!0),b.adler=x.check=0,x.mode=Ds;break;case IA:for(;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ve&7,Ve-=Ve&7,x.mode=Gd;break}for(;Ve<3;){if(be===0)break e;be--,Re+=re[Ae++]<>>=1,Ve-=1,Re&3){case 0:x.mode=pd;break;case 1:if(i0(x),x.mode=pu,z===rl){Re>>>=2,Ve-=2;break e}break;case 2:x.mode=bg;break;case 3:b.msg="invalid block type",x.mode=Mi}Re>>>=2,Ve-=2;break;case pd:for(Re>>>=Ve&7,Ve-=Ve&7;Ve<32;){if(be===0)break e;be--,Re+=re[Ae++]<>>16^65535)){b.msg="invalid stored block lengths",x.mode=Mi;break}if(x.length=Re&65535,Re=0,Ve=0,x.mode=vd,z===rl)break e;case vd:x.mode=Md;case Md:if(Ze=x.length,Ze){if(Ze>be&&(Ze=be),Ze>Oe&&(Ze=Oe),Ze===0)break e;oe.set(re.subarray(Ae,Ae+Ze),Ie),be-=Ze,Ae+=Ze,Oe-=Ze,Ie+=Ze,x.length-=Ze;break}x.mode=Ds;break;case bg:for(;Ve<14;){if(be===0)break e;be--,Re+=re[Ae++]<>>=5,Ve-=5,x.ndist=(Re&31)+1,Re>>>=5,Ve-=5,x.ncode=(Re&15)+4,Re>>>=4,Ve-=4,x.nlen>286||x.ndist>30){b.msg="too many length or distance symbols",x.mode=Mi;break}x.have=0,x.mode=Cg;case Cg:for(;x.have>>=3,Ve-=3}for(;x.have<19;)x.lens[Jt[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,Xn={bits:x.lenbits},Rn=ss(Zo,x.lens,0,19,x.lencode,0,x.work,Xn),x.lenbits=Xn.bits,Rn){b.msg="invalid code lengths set",x.mode=Mi;break}x.have=0,x.mode=Xc;case Xc:for(;x.have>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=Ut,Ve-=Ut,x.lens[x.have++]=Bn;else{if(Bn===16){for(It=Ut+2;Ve>>=Ut,Ve-=Ut,x.have===0){b.msg="invalid bit length repeat",x.mode=Mi;break}fr=x.lens[x.have-1],Ze=3+(Re&3),Re>>>=2,Ve-=2}else if(Bn===17){for(It=Ut+3;Ve>>=Ut,Ve-=Ut,fr=0,Ze=3+(Re&7),Re>>>=3,Ve-=3}else{for(It=Ut+7;Ve>>=Ut,Ve-=Ut,fr=0,Ze=11+(Re&127),Re>>>=7,Ve-=7}if(x.have+Ze>x.nlen+x.ndist){b.msg="invalid bit length repeat",x.mode=Mi;break}for(;Ze--;)x.lens[x.have++]=fr}}if(x.mode===Mi)break;if(x.lens[256]===0){b.msg="invalid code -- missing end-of-block",x.mode=Mi;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=Mi;break}if(x.distbits=6,x.distcode=x.distdyn,Xn={bits:x.distbits},Rn=ss(TA,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,Xn),x.distbits=Xn.bits,Rn){b.msg="invalid distances set",x.mode=Mi;break}if(x.mode=pu,z===rl)break e;case pu:x.mode=Ec;case Ec:if(be>=6&&Oe>=258){b.next_out=Ie,b.avail_out=Oe,b.next_in=Ae,b.avail_in=be,x.hold=Re,x.bits=Ve,GA(b,St),Ie=b.next_out,oe=b.output,Oe=b.avail_out,Ae=b.next_in,re=b.input,be=b.avail_in,Re=x.hold,Ve=x.bits,x.mode===Ds&&(x.back=-1);break}for(x.back=0;Vt=x.lencode[Re&(1<>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>sn)],Ut=Vt>>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(sn+Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=sn,Ve-=sn,x.back+=sn}if(Re>>>=Ut,Ve-=Ut,x.back+=Ut,x.length=Bn,Ln===0){x.mode=Pc;break}if(Ln&32){x.back=-1,x.mode=Ds;break}if(Ln&64){b.msg="invalid literal/length code",x.mode=Mi;break}x.extra=Ln&15,x.mode=Eg;case Eg:if(x.extra){for(It=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[Re&(1<>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>sn)],Ut=Vt>>>24,Ln=Vt>>>16&255,Bn=Vt&65535,!(sn+Ut<=Ve);){if(be===0)break e;be--,Re+=re[Ae++]<>>=sn,Ve-=sn,x.back+=sn}if(Re>>>=Ut,Ve-=Ut,x.back+=Ut,Ln&64){b.msg="invalid distance code",x.mode=Mi;break}x.offset=Bn,x.extra=Ln&15,x.mode=Pg;case Pg:if(x.extra){for(It=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=Mi;break}x.mode=zd;case zd:if(Oe===0)break e;if(Ze=St-Oe,x.offset>Ze){if(Ze=x.offset-Ze,Ze>x.whave&&x.sane){b.msg="invalid distance too far back",x.mode=Mi;break}Ze>x.wnext?(Ze-=x.wnext,Gt=x.wsize-Ze):Gt=x.wnext-Ze,Ze>x.length&&(Ze=x.length),Mt=x.window}else Mt=oe,Gt=Ie-x.offset,Ze=x.length;Ze>Oe&&(Ze=Oe),Oe-=Ze,x.length-=Ze;do oe[Ie++]=Mt[Gt++];while(--Ze);x.length===0&&(x.mode=Ec);break;case Pc:if(Oe===0)break e;oe[Ie++]=x.length,Oe--,x.mode=Ec;break;case Gd:if(x.wrap){for(;Ve<32;){if(be===0)break e;be--,Re|=re[Ae++]<{if(ac(b))return Ns;let z=b.state;return z.window&&(z.window=null),b.state=null,Tl},oc=(b,z)=>{if(ac(b))return Ns;const x=b.state;return x.wrap&2?(x.head=z,z.done=!1,Tl):Ns},ic=(b,z)=>{const x=z.length;let re,oe,Ae;return ac(b)||(re=b.state,re.wrap!==0&&re.mode!==RA)?Ns:re.mode===RA&&(oe=1,oe=vo(oe,z,x,0),oe!==re.check)?FA:(Ae=Ti(b,z,x,x),Ae?(re.mode=Wd,eA):(re.havedict=1,Tl))};var Ff=Vd,Ng=xf,Dg=Ig,Ug=Yd,Og=Bd,th=As,nh=ru,rh=oc,ah=ic,s0="pako inflate (from Nodeca project)",xc={inflateReset:Ff,inflateReset2:Ng,inflateResetKeep:Dg,inflateInit:Ug,inflateInit2:Og,inflate:th,inflateEnd:nh,inflateGetHeader:rh,inflateSetDictionary:ah,inflateInfo:s0};function wm(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var ym=wm;const oh=Object.prototype.toString,{Z_NO_FLUSH:Lf,Z_FINISH:If,Z_OK:Qg,Z_STREAM_END:Nf,Z_NEED_DICT:kg,Z_STREAM_ERROR:ih,Z_DATA_ERROR:A0,Z_MEM_ERROR:sh}=Vl;function Tg(b){this.options=io.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 yo,this.strm.avail_out=0;let x=xc.inflateInit2(this.strm,z.windowBits);if(x!==Qg)throw new Error(Js[x]);if(this.header=new ym,xc.inflateGetHeader(this.strm,this.header),z.dictionary&&(typeof z.dictionary=="string"?z.dictionary=$a.string2buf(z.dictionary):oh.call(z.dictionary)==="[object ArrayBuffer]"&&(z.dictionary=new Uint8Array(z.dictionary)),z.raw&&(x=xc.inflateSetDictionary(this.strm,z.dictionary),x!==Qg)))throw new Error(Js[x])}Tg.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=xc.inflate(x,Ie),Ae===kg&&oe&&(Ae=xc.inflateSetDictionary(x,oe),Ae===Qg?Ae=xc.inflate(x,Ie):Ae===A0&&(Ae=kg));x.avail_in>0&&Ae===Nf&&x.state.wrap>0&&b[x.next_in]!==0;)xc.inflateReset(x),Ae=xc.inflate(x,Ie);switch(Ae){case ih:case A0:case kg: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=$a.utf8border(x.output,x.next_out),Re=x.next_out-Oe,Ve=$a.buf2string(x.output,Oe);x.next_out=Re,x.avail_out=re-Re,Re&&x.output.set(x.output.subarray(Oe,Oe+Re),0),this.onData(Ve)}else this.onData(x.output.length===x.next_out?x.output:x.output.subarray(0,x.next_out));if(!(Ae===Qg&&be===0)){if(Ae===Nf)return Ae=xc.inflateEnd(this.strm),this.onEnd(Ae),this.ended=!0,!0;if(x.avail_in===0)break}}return!0},Tg.prototype.onData=function(b){this.chunks.push(b)},Tg.prototype.onEnd=function(b){b===Qg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=io.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg};function Jd(b,z){const x=new Tg(z);if(x.push(b),x.err)throw x.msg||Js[x.err];return x.result}function Ah(b,z){return z=z||{},z.raw=!0,Jd(b,z)}var lh=Tg,Sm=Jd,bm=Ah,uh=Jd,qd=Vl,l0={Inflate:lh,inflate:Sm,inflateRaw:bm,ungzip:uh,constants:qd};const{Deflate:Df,deflate:Cm,deflateRaw:Em,gzip:Pm}=Bo,{Inflate:xm,inflate:ch,inflateRaw:u0,ungzip:dh}=l0;var gh=Df,c0=Cm,fh=Em,hh=Pm,d0=xm,Rg=ch,Uf=u0,mh=dh,ph=Vl,Ep={Deflate:gh,deflate:c0,deflateRaw:fh,gzip:hh,Inflate:d0,inflate:Rg,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 bA(b,z,x){for(let re=0;re>1)&255}else{for(;Ae>1)&255;for(;Ae>1)&255}}function Lc(b,z,x,re,oe){let Ae=0;if(x.length===0){for(;Ae=x||Ir>=re))for(let fr=0;fr>8&255}const yh=new Uint16Array([255]),_g=new Uint8Array(yh.buffer)[0]===255,Dm=new Uint8Array(0);function Sh(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 Re=Dm,Ve=0,ct,St;for(let Ze=0;Ze>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 Qf(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),Qf(x);const re=z.length+1+x.length;b.writeUint32(re),b.writeChars(bh),b.writeChars(z),b.writeByte(Ch),b.writeChars(x),writeCrc(b,re+4)}function Fh(b){for(b.mark();b.readByte()!==Ch;);const z=b.offset;b.reset();const x=Eh.decode(b.readBytes(z-b.offset-1));return b.skip(1),Ph(x),x}function Lh(b,z){return Eh.decode(b.readBytes(z))}const vu={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},kf={NONE:0,BACKGROUND:1,PREVIOUS:2},Kg={SOURCE:0,OVER:1};class Qm extends Dl{constructor(x,re={}){super(x);ms(this,"_checkCrc");ms(this,"_inflator");ms(this,"_png");ms(this,"_apng");ms(this,"_end");ms(this,"_hasPalette");ms(this,"_palette");ms(this,"_hasTransparency");ms(this,"_transparency");ms(this,"_compressionMethod");ms(this,"_filterMethod");ms(this,"_interlaceMethod");ms(this,"_colorType");ms(this,"_isAnimated");ms(this,"_numberOfFrames");ms(this,"_numberOfPlays");ms(this,"_frames");ms(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=vu.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 vu.GREYSCALE:oe=1;break;case vu.TRUECOLOUR:oe=3;break;case vu.INDEXED_COLOUR:oe=1;break;case vu.GREYSCALE_ALPHA:oe=2;break;case vu.TRUECOLOUR_ALPHA:oe=4;break;case vu.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,Re=(Ie*re.width+be)*this._png.channels;return{index:Oe,frameIndex:Re}};switch(re.blendOp){case Kg.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 Re=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let St=0;St0)return b;throw new TypeError(`${z} must be a positive integer`)}function Tf(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 Uu(b,z,x,re){for(let oe=0;oe>8&255),x.writeByte(Bn&255)}}return re}function ws(b,z,x,re){for(let oe=0;oe=200&&z.status<=299}function jf(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=Xo.saveAs||((typeof window=="undefined"?"undefined":(0,le.Z)(window))!=="object"||window!==Xo?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(b,z,x){var re=Xo.URL||Xo.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?S0(oe.href)?y0(b,z,x):jf(oe,oe.target="_blank"):jf(oe)):(oe.href=re.createObjectURL(b),setTimeout(function(){re.revokeObjectURL(oe.href)},4e4),setTimeout(function(){jf(oe)},0))}:"msSaveOrOpenBlob"in navigator?function(b,z,x){if(z=z||b.name||"download",typeof b=="string")if(S0(b))y0(b,z,x);else{var re=document.createElement("a");re.href=b,re.target="_blank",setTimeout(function(){jf(re)})}else navigator.msSaveOrOpenBlob(function(oe,Ae){return Ae===void 0?Ae={autoBom:!1}:(0,le.Z)(Ae)!=="object"&&(js.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 y0(b,z,x);var oe=b.type==="application/octet-stream",Ae=/constructor/i.test(Xo.HTMLElement)||Xo.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=Xo.URL||Xo.webkitURL,Re=Oe.createObjectURL(b);re?re.location=Re:location.href=Re,re=null,setTimeout(function(){Oe.revokeObjectURL(Re)},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),Re=this.b.toString(16);return be.length==1&&(be="0"+be),Oe.length==1&&(Oe="0"+Oe),Re.length==1&&(Re="0"+Re),"#"+be+Oe+Re}}var zg=Xo.atob.bind(Xo),b0=Xo.btoa.bind(Xo);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=dl(x,re=Pl(re,oe,Ae,x,z[15],22,1236535329),oe,Ae,z[1],5,-165796510),Ae=dl(Ae,x,re,oe,z[6],9,-1069501632),oe=dl(oe,Ae,x,re,z[11],14,643717713),re=dl(re,oe,Ae,x,z[0],20,-373897302),x=dl(x,re,oe,Ae,z[5],5,-701558691),Ae=dl(Ae,x,re,oe,z[10],9,38016083),oe=dl(oe,Ae,x,re,z[15],14,-660478335),re=dl(re,oe,Ae,x,z[4],20,-405537848),x=dl(x,re,oe,Ae,z[9],5,568446438),Ae=dl(Ae,x,re,oe,z[14],9,-1019803690),oe=dl(oe,Ae,x,re,z[3],14,-187363961),re=dl(re,oe,Ae,x,z[8],20,1163531501),x=dl(x,re,oe,Ae,z[13],5,-1444681467),Ae=dl(Ae,x,re,oe,z[2],9,-51403784),oe=dl(oe,Ae,x,re,z[7],14,1735328473),x=xl(x,re=dl(re,oe,Ae,x,z[12],20,-1926607734),oe,Ae,z[5],4,-378558),Ae=xl(Ae,x,re,oe,z[8],11,-2022574463),oe=xl(oe,Ae,x,re,z[11],16,1839030562),re=xl(re,oe,Ae,x,z[14],23,-35309556),x=xl(x,re,oe,Ae,z[1],4,-1530992060),Ae=xl(Ae,x,re,oe,z[4],11,1272893353),oe=xl(oe,Ae,x,re,z[7],16,-155497632),re=xl(re,oe,Ae,x,z[10],23,-1094730640),x=xl(x,re,oe,Ae,z[13],4,681279174),Ae=xl(Ae,x,re,oe,z[0],11,-358537222),oe=xl(oe,Ae,x,re,z[3],16,-722521979),re=xl(re,oe,Ae,x,z[6],23,76029189),x=xl(x,re,oe,Ae,z[9],4,-640364487),Ae=xl(Ae,x,re,oe,z[12],11,-421815835),oe=xl(oe,Ae,x,re,z[15],16,530742520),x=Fl(x,re=xl(re,oe,Ae,x,z[2],23,-995338651),oe,Ae,z[0],6,-198630844),Ae=Fl(Ae,x,re,oe,z[7],10,1126891415),oe=Fl(oe,Ae,x,re,z[14],15,-1416354905),re=Fl(re,oe,Ae,x,z[5],21,-57434055),x=Fl(x,re,oe,Ae,z[12],6,1700485571),Ae=Fl(Ae,x,re,oe,z[3],10,-1894986606),oe=Fl(oe,Ae,x,re,z[10],15,-1051523),re=Fl(re,oe,Ae,x,z[1],21,-2054922799),x=Fl(x,re,oe,Ae,z[8],6,1873313359),Ae=Fl(Ae,x,re,oe,z[15],10,-30611744),oe=Fl(oe,Ae,x,re,z[6],15,-1560198380),re=Fl(re,oe,Ae,x,z[13],21,1309151649),x=Fl(x,re,oe,Ae,z[4],6,-145523070),Ae=Fl(Ae,x,re,oe,z[11],10,-1120210379),oe=Fl(oe,Ae,x,re,z[2],15,718787259),re=Fl(re,oe,Ae,x,z[9],21,-343485551),b[0]=sc(x,b[0]),b[1]=sc(re,b[1]),b[2]=sc(oe,b[2]),b[3]=sc(Ae,b[3])}function Wg(b,z,x,re,oe,Ae){return z=sc(sc(z,b),sc(re,Ae)),sc(z<>>32-oe,x)}function Pl(b,z,x,re,oe,Ae,Ie){return Wg(z&x|~z&re,b,z,oe,Ae,Ie)}function dl(b,z,x,re,oe,Ae,Ie){return Wg(z&re|x&~re,b,z,oe,Ae,Ie)}function xl(b,z,x,re,oe,Ae,Ie){return Wg(z^x^re,b,z,oe,Ae,Ie)}function Fl(b,z,x,re,oe,Ae,Ie){return Wg(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,Hf(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 Hf(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 Bu="0123456789abcdef".split("");function Uh(b){for(var z="",x=0;x<4;x++)z+=Bu[b>>8*x+4&15]+Bu[b>>8*x&15];return z}function _f(b){return String.fromCharCode(255&b,(65280&b)>>8,(16711680&b)>>16,(4278190080&b)>>24)}function C0(b){return Dh(b).map(_f).join("")}var Rm=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 Re=0;for(Oe=0;Oe<256;Oe++){var Ve=be[Oe];Re=(Re+Ve+Ie.charCodeAt(Oe))%256,be[Oe]=be[Re],be[Re]=Ve}x=b,re=be}else be=re;var ct=z.length,St=0,Ze=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=C0(Ae+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(re)).substr(0,5),this.U=$c(this.encryptionKey,this.padding)}function Ku(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){Xo.console&&js.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 E0(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,E0.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,E0.call(this,re,oe)}function fo(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,Re="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),Re=b.defaultPathOperation||"S"),Ie=b.filters||(Ae===!0?["FlateEncode"]:Ie),re=re||"mm",x=(""+(x||"P")).toLowerCase();var ct=b.putOnlyUsedFonts||!1,St={},Ze={internal:{},__private__:{}};Ze.__private__.PubSub=Oh;var Gt="1.3",Mt=Ze.__private__.getPdfVersion=function(){return Gt};Ze.__private__.setPdfVersion=function(ke){Gt=ke};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]};Ze.__private__.getPageFormats=function(){return Vt};var Ut=Ze.__private__.getPageFormat=function(ke){return Vt[ke]};oe=oe||"a4";var Ln="compat",Bn="advanced",sn=Ln;function or(){this.saveGraphicsState(),un(new Yo(ai,0,0,-ai,0,Af()*ai).toString()+" cm"),this.setFontSize(this.getFontSize()/ai),Re="n",sn=Bn}function Ir(){this.restoreGraphicsState(),Re="S",sn=Ln}var fr=Ze.__private__.combineFontStyleAndFontWeight=function(ke,mt){if(ke=="bold"&&mt=="normal"||ke=="bold"&&mt==400||ke=="normal"&&mt=="italic"||ke=="bold"&&mt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return mt&&(ke=mt==400||mt==="normal"?ke==="italic"?"italic":"normal":mt!=700&&mt!=="bold"||ke!=="normal"?(mt==700?"bold":mt)+""+ke:"bold"),ke};Ze.advancedAPI=function(ke){var mt=sn===Ln;return mt&&or.call(this),typeof ke!="function"||(ke(this),mt&&Ir.call(this)),this},Ze.compatAPI=function(ke){var mt=sn===Bn;return mt&&Ir.call(this),typeof ke!="function"||(ke(this),mt&&or.call(this)),this},Ze.isAdvancedAPI=function(){return sn===Bn};var Rn,An=function(ke){if(sn!==Bn)throw new Error(ke+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Xn=Ze.roundToPrecision=Ze.__private__.roundToPrecision=function(ke,mt){var nn=z||mt;if(isNaN(ke)||isNaN(nn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return ke.toFixed(nn).replace(/0+$/,"")};Rn=Ze.hpf=Ze.__private__.hpf=typeof Oe=="number"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(ke,Oe)}:Oe==="smart"?function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(ke,ke>-1&&ke<1?16:5)}:function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.hpf");return Xn(ke,16)};var It=Ze.f2=Ze.__private__.f2=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f2");return Xn(ke,2)},Jt=Ze.__private__.f3=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.f3");return Xn(ke,3)},xn=Ze.scale=Ze.__private__.scale=function(ke){if(isNaN(ke))throw new Error("Invalid argument passed to jsPDF.scale");return sn===Ln?ke*ai:sn===Bn?ke:void 0},yn=function(ke){return xn(function(mt){return sn===Ln?Af()-mt:sn===Bn?mt:void 0}(ke))};Ze.__private__.setPrecision=Ze.setPrecision=function(ke){typeof parseInt(ke,10)=="number"&&(z=parseInt(ke,10))};var sr,gr="00000000000000000000000000000000",pr=Ze.__private__.getFileId=function(){return gr},nr=Ze.__private__.setFileId=function(ke){return gr=ke!==void 0&&/^[a-fA-F0-9]{32}$/.test(ke)?ke.toUpperCase():gr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Ve!==null&&(VA=new eg(Ve.userPermissions,Ve.userPassword,Ve.ownerPassword,gr)),gr};Ze.setFileId=function(ke){return nr(ke),this},Ze.getFileId=function(){return pr()};var wr=Ze.__private__.convertDateToPDFDate=function(ke){var mt=ke.getTimezoneOffset(),nn=mt<0?"+":"-",En=Math.floor(Math.abs(mt/60)),Yn=Math.abs(mt%60),Ur=[nn,fn(En),"'",fn(Yn),"'"].join("");return["D:",ke.getFullYear(),fn(ke.getMonth()+1),fn(ke.getDate()),fn(ke.getHours()),fn(ke.getMinutes()),fn(ke.getSeconds()),Ur].join("")},ga=Ze.__private__.convertPDFDateToDate=function(ke){var mt=parseInt(ke.substr(2,4),10),nn=parseInt(ke.substr(6,2),10)-1,En=parseInt(ke.substr(8,2),10),Yn=parseInt(ke.substr(10,2),10),Ur=parseInt(ke.substr(12,2),10),qr=parseInt(ke.substr(14,2),10);return new Date(mt,nn,En,Yn,Ur,qr,0)},Yr=Ze.__private__.setCreationDate=function(ke){var mt;if(ke===void 0&&(ke=new Date),ke instanceof Date)mt=wr(ke);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(ke))throw new Error("Invalid argument passed to jsPDF.setCreationDate");mt=ke}return sr=mt},Ft=Ze.__private__.getCreationDate=function(ke){var mt=sr;return ke==="jsDate"&&(mt=ga(sr)),mt};Ze.setCreationDate=function(ke){return Yr(ke),this},Ze.getCreationDate=function(ke){return Ft(ke)};var an,fn=Ze.__private__.padd2=function(ke){return("0"+parseInt(ke)).slice(-2)},Un=Ze.__private__.padd2Hex=function(ke){return("00"+(ke=ke.toString())).substr(ke.length)},Gn=0,rr=[],mr=[],ur=0,Tr=[],oa=[],Ta=!1,Ha=mr;Ze.__private__.setCustomOutputDestination=function(ke){Ta=!0,Ha=ke};var xr=function(ke){Ta||(Ha=ke)};Ze.__private__.resetCustomOutputDestination=function(){Ta=!1,Ha=mr};var un=Ze.__private__.out=function(ke){return ke=ke.toString(),ur+=ke.length+1,Ha.push(ke),Ha},ts=Ze.__private__.write=function(ke){return un(arguments.length===1?ke.toString():Array.prototype.join.call(arguments," "))},Di=Ze.__private__.getArrayBuffer=function(ke){for(var mt=ke.length,nn=new ArrayBuffer(mt),En=new Uint8Array(nn);mt--;)En[mt]=ke.charCodeAt(mt);return nn},_o=[["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]];Ze.__private__.getStandardFonts=function(){return _o};var ca=b.fontSize||16;Ze.__private__.setFontSize=Ze.setFontSize=function(ke){return ca=sn===Bn?ke/ai:ke,this};var Lo,Za=Ze.__private__.getFontSize=Ze.getFontSize=function(){return sn===Ln?ca:ca*ai},Ui=b.R2L||!1;Ze.__private__.setR2L=Ze.setR2L=function(ke){return Ui=ke,this},Ze.__private__.getR2L=Ze.getR2L=function(){return Ui};var Qo,Ps=Ze.__private__.setZoomMode=function(ke){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(ke))Lo=ke;else if(isNaN(ke)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(ke)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+ke+'" is not recognized.');Lo=ke}else Lo=parseInt(ke,10)};Ze.__private__.getZoomMode=function(){return Lo};var wi,yi=Ze.__private__.setPageMode=function(ke){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(ke)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+ke+'" is not recognized.');Qo=ke};Ze.__private__.getPageMode=function(){return Qo};var Zs=Ze.__private__.setLayoutMode=function(ke){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(ke)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+ke+'" is not recognized.');wi=ke};Ze.__private__.getLayoutMode=function(){return wi},Ze.__private__.setDisplayMode=Ze.setDisplayMode=function(ke,mt,nn){return Ps(ke),Zs(mt),yi(nn),this};var Oi={title:"",subject:"",author:"",keywords:"",creator:""};Ze.__private__.getDocumentProperty=function(ke){if(Object.keys(Oi).indexOf(ke)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Oi[ke]},Ze.__private__.getDocumentProperties=function(){return Oi},Ze.__private__.setDocumentProperties=Ze.setProperties=Ze.setDocumentProperties=function(ke){for(var mt in Oi)Oi.hasOwnProperty(mt)&&ke[mt]&&(Oi[mt]=ke[mt]);return this},Ze.__private__.setDocumentProperty=function(ke,mt){if(Object.keys(Oi).indexOf(ke)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Oi[ke]=mt};var Do,ai,Uo,cA,xs,So={},Si={},nA=[],Vo={},os={},bi={},ZA={},gl=null,rA=0,fi=[],Us=new Oh(Ze),Yg=b.hotfixes||[],iu={},Pd={},sd=[],Yo=function ke(mt,nn,En,Yn,Ur,qr){if(!(this instanceof ke))return new ke(mt,nn,En,Yn,Ur,qr);isNaN(mt)&&(mt=1),isNaN(nn)&&(nn=0),isNaN(En)&&(En=0),isNaN(Yn)&&(Yn=1),isNaN(Ur)&&(Ur=0),isNaN(qr)&&(qr=0),this._matrix=[mt,nn,En,Yn,Ur,qr]};Object.defineProperty(Yo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Yo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Yo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Yo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Yo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Yo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),Object.defineProperty(Yo.prototype,"a",{get:function(){return this._matrix[0]},set:function(ke){this._matrix[0]=ke}}),Object.defineProperty(Yo.prototype,"b",{get:function(){return this._matrix[1]},set:function(ke){this._matrix[1]=ke}}),Object.defineProperty(Yo.prototype,"c",{get:function(){return this._matrix[2]},set:function(ke){this._matrix[2]=ke}}),Object.defineProperty(Yo.prototype,"d",{get:function(){return this._matrix[3]},set:function(ke){this._matrix[3]=ke}}),Object.defineProperty(Yo.prototype,"e",{get:function(){return this._matrix[4]},set:function(ke){this._matrix[4]=ke}}),Object.defineProperty(Yo.prototype,"f",{get:function(){return this._matrix[5]},set:function(ke){this._matrix[5]=ke}}),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(ke){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Rn).join(ke)},Yo.prototype.multiply=function(ke){var mt=ke.sx*this.sx+ke.shy*this.shx,nn=ke.sx*this.shy+ke.shy*this.sy,En=ke.shx*this.sx+ke.sy*this.shx,Yn=ke.shx*this.shy+ke.sy*this.sy,Ur=ke.tx*this.sx+ke.ty*this.shx+this.tx,qr=ke.tx*this.shy+ke.ty*this.sy+this.ty;return new Yo(mt,nn,En,Yn,Ur,qr)},Yo.prototype.decompose=function(){var ke=this.sx,mt=this.shy,nn=this.shx,En=this.sy,Yn=this.tx,Ur=this.ty,qr=Math.sqrt(ke*ke+mt*mt),uo=(ke/=qr)*nn+(mt/=qr)*En;nn-=ke*uo,En-=mt*uo;var wo=Math.sqrt(nn*nn+En*En);return uo/=wo,ke*(En/=wo)>16&255,En=wo>>8&255,Yn=255&wo}if(En===void 0||Ur===void 0&&nn===En&&En===Yn)mt=typeof nn=="string"?nn+" "+qr[0]:ke.precision===2?It(nn/255)+" "+qr[0]:Jt(nn/255)+" "+qr[0];else if(Ur===void 0||(0,le.Z)(Ur)==="object"){if(Ur&&!isNaN(Ur.a)&&Ur.a===0)return["1.","1.","1.",qr[1]].join(" ");mt=typeof nn=="string"?[nn,En,Yn,qr[1]].join(" "):ke.precision===2?[It(nn/255),It(En/255),It(Yn/255),qr[1]].join(" "):[Jt(nn/255),Jt(En/255),Jt(Yn/255),qr[1]].join(" ")}else mt=typeof nn=="string"?[nn,En,Yn,Ur,qr[2]].join(" "):ke.precision===2?[It(nn),It(En),It(Yn),It(Ur),qr[2]].join(" "):[Jt(nn),Jt(En),Jt(Yn),Jt(Ur),qr[2]].join(" ");return mt},Rc=Ze.__private__.getFilters=function(){return Ie},dc=Ze.__private__.putStream=function(ke){var mt=(ke=ke||{}).data||"",nn=ke.filters||Rc(),En=ke.alreadyAppliedFilters||[],Yn=ke.addLength1||!1,Ur=mt.length,qr=ke.objectId,uo=function(fl){return fl};if(Ve!==null&&qr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Ve!==null&&(uo=VA.encryptor(qr,0));var wo={};nn===!0&&(nn=["FlateEncode"]);var ci=ke.additionalKeyValues||[],pi=(wo=fo.API.processDataByFilters!==void 0?fo.API.processDataByFilters(mt,nn):{data:mt,reverseChain:[]}).reverseChain+(Array.isArray(En)?En.join(" "):En.toString());if(wo.data.length!==0&&(ci.push({key:"Length",value:wo.data.length}),Yn===!0&&ci.push({key:"Length1",value:Ur})),pi.length!=0)if(pi.split("/").length-1==1)ci.push({key:"Filter",value:pi});else{ci.push({key:"Filter",value:"["+pi+"]"});for(var Fs=0;Fs>"),wo.data.length!==0&&(un("stream"),un(uo(wo.data)),un("endstream"))},Jg=Ze.__private__.putPage=function(ke){var mt=ke.number,nn=ke.data,En=ke.objId,Yn=ke.contentsObjId;Hl(En,!0),un("<>"),un("endobj");var Ur=nn.join(` `);return sn===Bn&&(Ur+=` Q`),Hl(Yn,!0),dc({data:Ur,filters:Rc(),objectId:Yn}),un("endobj"),En},ld=Ze.__private__.putPages=function(){var ke,mt,nn=[];for(ke=1;ke<=rA;ke++)fi[ke].objId=Il(),fi[ke].contentsObjId=Il();for(ke=1;ke<=rA;ke++)nn.push(Jg({number:ke,data:oa[ke],objId:fi[ke].objId,contentsObjId:fi[ke].contentsObjId,mediaBox:fi[ke].mediaBox,cropBox:fi[ke].cropBox,bleedBox:fi[ke].bleedBox,trimBox:fi[ke].trimBox,artBox:fi[ke].artBox,userUnit:fi[ke].userUnit,rootDictionaryObjId:ag,resourceDictionaryObjId:kc}));Hl(ag,!0),un("<>"),un("endobj"),Us.publish("postPutPages")},qg=function(ke){Us.publish("putFont",{font:ke,out:un,newObject:jA,putStream:dc}),ke.isAlreadyPutted!==!0&&(ke.objectNumber=jA(),un("<<"),un("/Type /Font"),un("/BaseFont /"+Ku(ke.postScriptName)),un("/Subtype /Type1"),typeof ke.encoding=="string"&&un("/Encoding /"+ke.encoding),un("/FirstChar 32"),un("/LastChar 255"),un(">>"),un("endobj"))},Kf=function(ke){ke.objectNumber=jA();var mt=[];mt.push({key:"Type",value:"/XObject"}),mt.push({key:"Subtype",value:"/Form"}),mt.push({key:"BBox",value:"["+[Rn(ke.x),Rn(ke.y),Rn(ke.x+ke.width),Rn(ke.y+ke.height)].join(" ")+"]"}),mt.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"});var nn=ke.pages[1].join(` `);dc({data:nn,additionalKeyValues:mt,objectId:ke.objectNumber}),un("endobj")},zf=function(ke,mt){mt||(mt=21);var nn=jA(),En=function(qr,uo){var wo,ci=[],pi=1/(uo-1);for(wo=0;wo<1;wo+=pi)ci.push(wo);if(ci.push(1),qr[0].offset!=0){var Fs={offset:0,color:qr[0].color};qr.unshift(Fs)}if(qr[qr.length-1].offset!=1){var UA={offset:1,color:qr[qr.length-1].color};qr.push(UA)}for(var il="",dA=0,fl=0;flqr[dA+1].offset;)dA++;var sl=qr[dA].offset,_l=(wo-sl)/(qr[dA+1].offset-sl),fc=qr[dA].color,Qu=qr[dA+1].color;il+=Un(Math.round((1-_l)*fc[0]+_l*Qu[0]).toString(16))+Un(Math.round((1-_l)*fc[1]+_l*Qu[1]).toString(16))+Un(Math.round((1-_l)*fc[2]+_l*Qu[2]).toString(16))}return il.trim()}(ke.colors,mt),Yn=[];Yn.push({key:"FunctionType",value:"0"}),Yn.push({key:"Domain",value:"[0.0 1.0]"}),Yn.push({key:"Size",value:"["+mt+"]"}),Yn.push({key:"BitsPerSample",value:"8"}),Yn.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Yn.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),dc({data:En,additionalKeyValues:Yn,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:nn}),un("endobj"),ke.objectNumber=jA(),un("<< /ShadingType "+ke.type),un("/ColorSpace /DeviceRGB");var Ur="/Coords ["+Rn(parseFloat(ke.coords[0]))+" "+Rn(parseFloat(ke.coords[1]))+" ";ke.type===2?Ur+=Rn(parseFloat(ke.coords[2]))+" "+Rn(parseFloat(ke.coords[3])):Ur+=Rn(parseFloat(ke.coords[2]))+" "+Rn(parseFloat(ke.coords[3]))+" "+Rn(parseFloat(ke.coords[4]))+" "+Rn(parseFloat(ke.coords[5])),un(Ur+="]"),ke.matrix&&un("/Matrix ["+ke.matrix.toString()+"]"),un("/Function "+nn+" 0 R"),un("/Extend [true true]"),un(">>"),un("endobj")},Gf=function(ke,mt){var nn=Il(),En=jA();mt.push({resourcesOid:nn,objectOid:En}),ke.objectNumber=En;var Yn=[];Yn.push({key:"Type",value:"/Pattern"}),Yn.push({key:"PatternType",value:"1"}),Yn.push({key:"PaintType",value:"1"}),Yn.push({key:"TilingType",value:"1"}),Yn.push({key:"BBox",value:"["+ke.boundingBox.map(Rn).join(" ")+"]"}),Yn.push({key:"XStep",value:Rn(ke.xStep)}),Yn.push({key:"YStep",value:Rn(ke.yStep)}),Yn.push({key:"Resources",value:nn+" 0 R"}),ke.matrix&&Yn.push({key:"Matrix",value:"["+ke.matrix.toString()+"]"}),dc({data:ke.stream,additionalKeyValues:Yn,objectId:ke.objectNumber}),un("endobj")},Gm=function(ke){for(var mt in ke.objectNumber=jA(),un("<<"),ke)switch(mt){case"opacity":un("/ca "+It(ke[mt]));break;case"stroke-opacity":un("/CA "+It(ke[mt]))}un(">>"),un("endobj")},x0=function(ke){Hl(ke.resourcesOid,!0),un("<<"),un("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var mt in un("/Font <<"),So)So.hasOwnProperty(mt)&&(ct===!1||ct===!0&&St.hasOwnProperty(mt))&&un("/"+mt+" "+So[mt].objectNumber+" 0 R");un(">>")}(),function(){if(Object.keys(Vo).length>0){for(var mt in un("/Shading <<"),Vo)Vo.hasOwnProperty(mt)&&Vo[mt]instanceof ed&&Vo[mt].objectNumber>=0&&un("/"+mt+" "+Vo[mt].objectNumber+" 0 R");Us.publish("putShadingPatternDict"),un(">>")}}(),function(mt){if(Object.keys(Vo).length>0){for(var nn in un("/Pattern <<"),Vo)Vo.hasOwnProperty(nn)&&Vo[nn]instanceof Ze.TilingPattern&&Vo[nn].objectNumber>=0&&Vo[nn].objectNumber>")}}(ke.objectOid),function(){if(Object.keys(bi).length>0){var mt;for(mt in un("/ExtGState <<"),bi)bi.hasOwnProperty(mt)&&bi[mt].objectNumber>=0&&un("/"+mt+" "+bi[mt].objectNumber+" 0 R");Us.publish("putGStateDict"),un(">>")}}(),function(){for(var mt in un("/XObject <<"),iu)iu.hasOwnProperty(mt)&&iu[mt].objectNumber>=0&&un("/"+mt+" "+iu[mt].objectNumber+" 0 R");Us.publish("putXobjectDict"),un(">>")}(),un(">>"),un("endobj")},Th=function(ke){Si[ke.fontName]=Si[ke.fontName]||{},Si[ke.fontName][ke.fontStyle]=ke.id},Rh=function(ke,mt,nn,En,Yn){var Ur={id:"F"+(Object.keys(So).length+1).toString(10),postScriptName:ke,fontName:mt,fontStyle:nn,encoding:En,isStandardFont:Yn||!1,metadata:{}};return Us.publish("addFont",{font:Ur,instance:this}),So[Ur.id]=Ur,Th(Ur),Ur.id},gc=Ze.__private__.pdfEscape=Ze.pdfEscape=function(ke,mt){return function(nn,En){var Yn,Ur,qr,uo,wo,ci,pi,Fs,UA;if(qr=(En=En||{}).sourceEncoding||"Unicode",wo=En.outputEncoding,(En.autoencode||wo)&&So[Do].metadata&&So[Do].metadata[qr]&&So[Do].metadata[qr].encoding&&(uo=So[Do].metadata[qr].encoding,!wo&&So[Do].encoding&&(wo=So[Do].encoding),!wo&&uo.codePages&&(wo=uo.codePages[0]),typeof wo=="string"&&(wo=uo[wo]),wo)){for(pi=!1,ci=[],Yn=0,Ur=nn.length;Yn>8&&(pi=!0);nn=ci.join("")}for(Yn=nn.length;pi===void 0&&Yn!==0;)nn.charCodeAt(Yn-1)>>8&&(pi=!0),Yn--;if(!pi)return nn;for(ci=En.noBOM?[]:[254,255],Yn=0,Ur=nn.length;Yn>8)>>8)throw new Error("Character at position "+Yn+" of string '"+nn+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ci.push(UA),ci.push(Fs-(UA<<8))}return String.fromCharCode.apply(void 0,ci)}(ke,mt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},F0=Ze.__private__.beginPage=function(ke){oa[++rA]=[],fi[rA]={objId:0,contentsObjId:0,userUnit:Number(be),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(ke[0]),topRightY:Number(ke[1])}},Hh(rA),xr(oa[an])},jh=function(ke,mt){var nn,En,Yn;switch(x=mt||x,typeof ke=="string"&&(nn=Ut(ke.toLowerCase()),Array.isArray(nn)&&(En=nn[0],Yn=nn[1])),Array.isArray(ke)&&(En=ke[0]*ai,Yn=ke[1]*ai),isNaN(En)&&(En=oe[0],Yn=oe[1]),(En>14400||Yn>14400)&&(js.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),En=Math.min(14400,En),Yn=Math.min(14400,Yn)),oe=[En,Yn],x.substr(0,1)){case"l":Yn>En&&(oe=[Yn,En]);break;case"p":En>Yn&&(oe=[Yn,En])}F0(oe),ep(U0),un(Zf),Q0!==0&&un(Q0+" J"),k0!==0&&un(k0+" j"),Us.publish("addPage",{pageNumber:rA})},L0=function(ke){ke>0&&ke<=rA&&(oa.splice(ke,1),fi.splice(ke,1),rA--,an>rA&&(an=rA),this.setPage(an))},Hh=function(ke){ke>0&&ke<=rA&&(an=ke)},_h=Ze.__private__.getNumberOfPages=Ze.getNumberOfPages=function(){return oa.length-1},Mh=function(ke,mt,nn){var En,Yn=void 0;return nn=nn||{},ke=ke!==void 0?ke:So[Do].fontName,mt=mt!==void 0?mt:So[Do].fontStyle,En=ke.toLowerCase(),Si[En]!==void 0&&Si[En][mt]!==void 0?Yn=Si[En][mt]:Si[ke]!==void 0&&Si[ke][mt]!==void 0?Yn=Si[ke][mt]:nn.disableWarning===!1&&js.warn("Unable to look up font label for font '"+ke+"', '"+mt+"'. Refer to getFontList() for available fonts."),Yn||nn.noFallback||(Yn=Si.times[mt])==null&&(Yn=Si.times.normal),Yn},Wf=Ze.__private__.putInfo=function(){var ke=jA(),mt=function(En){return En};for(var nn in Ve!==null&&(mt=VA.encryptor(ke,0)),un("<<"),un("/Producer ("+gc(mt("jsPDF "+fo.version))+")"),Oi)Oi.hasOwnProperty(nn)&&Oi[nn]&&un("/"+nn.substr(0,1).toUpperCase()+nn.substr(1)+" ("+gc(mt(Oi[nn]))+")");un("/CreationDate ("+gc(mt(sr))+")"),un(">>"),un("endobj")},Wm=Ze.__private__.putCatalog=function(ke){var mt=(ke=ke||{}).rootDictionaryObjId||ag;switch(jA(),un("<<"),un("/Type /Catalog"),un("/Pages "+mt+" 0 R"),Lo||(Lo="fullwidth"),Lo){case"fullwidth":un("/OpenAction [3 0 R /FitH null]");break;case"fullheight":un("/OpenAction [3 0 R /FitV null]");break;case"fullpage":un("/OpenAction [3 0 R /Fit]");break;case"original":un("/OpenAction [3 0 R /XYZ null null 1]");break;default:var nn=""+Lo;nn.substr(nn.length-1)==="%"&&(Lo=parseInt(Lo)/100),typeof Lo=="number"&&un("/OpenAction [3 0 R /XYZ null null "+It(Lo)+"]")}switch(wi||(wi="continuous"),wi){case"continuous":un("/PageLayout /OneColumn");break;case"single":un("/PageLayout /SinglePage");break;case"two":case"twoleft":un("/PageLayout /TwoColumnLeft");break;case"tworight":un("/PageLayout /TwoColumnRight")}Qo&&un("/PageMode /"+Qo),Us.publish("putCatalog"),un(">>"),un("endobj")},ol=Ze.__private__.putTrailer=function(){un("trailer"),un("<<"),un("/Size "+(Gn+1)),un("/Root "+Gn+" 0 R"),un("/Info "+(Gn-1)+" 0 R"),Ve!==null&&un("/Encrypt "+VA.oid+" 0 R"),un("/ID [ <"+gr+"> <"+gr+"> ]"),un(">>")},Kh=Ze.__private__.putHeader=function(){un("%PDF-"+Gt),un("%\xBA\xDF\xAC\xE0")},zh=Ze.__private__.putXRef=function(){var ke="0000000000";un("xref"),un("0 "+(Gn+1)),un("0000000000 65535 f ");for(var mt=1;mt<=Gn;mt++)typeof rr[mt]=="function"?un((ke+rr[mt]()).slice(-10)+" 00000 n "):rr[mt]!==void 0?un((ke+rr[mt]).slice(-10)+" 00000 n "):un("0000000000 00000 n ")},Ld=Ze.__private__.buildDocument=function(){var ke;Gn=0,ur=0,mr=[],rr=[],Tr=[],ag=Il(),kc=Il(),xr(mr),Us.publish("buildDocument"),Kh(),ld(),function(){Us.publish("putAdditionalObjects");for(var nn=0;nn"),un("/O <"+VA.toHexString(VA.O)+">"),un("/P "+VA.P),un(">>"),un("endobj")),Wf(),Wm();var mt=ur;return zh(),ol(),un("startxref"),un(""+mt),un("%%EOF"),xr(oa[an]),mr.join(` `)},$g=Ze.__private__.getBlob=function(ke){return new Blob([Di(ke)],{type:"application/pdf"})},jc=Ze.output=Ze.__private__.output=(cc=function(ke,mt){switch(typeof(mt=mt||{})=="string"?mt={filename:mt}:mt.filename=mt.filename||"generated.pdf",ke){case void 0:return Ld();case"save":Ze.save(mt.filename);break;case"arraybuffer":return Di(Ld());case"blob":return $g(Ld());case"bloburi":case"bloburl":if(Xo.URL!==void 0&&typeof Xo.URL.createObjectURL=="function")return Xo.URL&&Xo.URL.createObjectURL($g(Ld()))||void 0;js.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var nn="",En=Ld();try{nn=b0(En)}catch(il){nn=b0(unescape(encodeURIComponent(En)))}return"data:application/pdf;filename="+mt.filename+";base64,"+nn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Xo)==="[object Window]"){var Yn="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ur=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';mt.pdfObjectUrl&&(Yn=mt.pdfObjectUrl,Ur="");var qr='